Bug 120026

Summary: AsRock Dual SATA2 Motherboard SATAII controller doesn´t work
Product: [openSUSE] SUSE Linux 10.1 Reporter: Michael Stather <kontakt>
Component: KernelAssignee: Jens Axboe <axboe>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Windows driver package

Description Michael Stather 2005-10-03 22:48:46 UTC
This very popular board has an SATAII controller which could operate in "IDE"
mode (emulating an IDE controller even for installing Windows 98) and native
SATAII mode. None of these model work, I get a message that there´s no hard disk
attached. IMO at least the IDE mode should work. If you don´t have such a board
I can search for the specs of the SATAII controller. There´s also an SATA1
controller in the chipset which works fine.
Comment 1 Dr. Werner Fink 2005-10-04 09:53:35 UTC
Please provide more infoirmation: Which maniboard, which revision and which
STAT II chip is onboard of this mainboard.
Comment 2 Michael Stather 2005-10-04 22:25:06 UTC
Unfortunately I can´t activate it again to test lcpci output because of Bug
#120275 which I just filed. If it works again I´ll test it ASAP.
Comment 3 Michael Stather 2005-10-06 22:01:07 UTC
This is what I found out:

Northbridge ULi M1695
Southbridge ULiM1567

lspci returns:

00:00.0 Host bridge: ALi Corporation M1695 K8 Northbridge [PCI Express and
HyperTransport]
00:01.0 PCI bridge: ALi Corporation: Unknown device 524b
00:02.0 PCI bridge: ALi Corporation: Unknown device 524c
00:03.0 PCI bridge: ALi Corporation: Unknown device 524d
00:04.0 Host bridge: ALi Corporation M1689 K8 Northbridge [Super K8 Single Chip]
00:05.0 PCI bridge: ALi Corporation AGP8X Controller
00:06.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:07.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
00:07.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:08.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link
Controller Audio Device (rev 20)
00:11.0 Ethernet controller: ALi Corporation M5263 Ethernet Controller (rev 40)
00:12.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:12.1 IDE interface: ALi Corporation ULi 5289 SATA (rev 10)
00:13.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
03:00.0 Class 0106: Unknown device 197b:2360
04:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model
64/Model 64 Pro] (rev 15)
05:06.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture
(rev 12)

hwinfo --storage-ctrl returns:

21: PCI 12.0: 0101 IDE interface
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_5229
  Unique ID: CLZK.NM5sEUkmz_D
  SysFS ID: /devices/pci0000:00/0000:00:12.0
  SysFS BusID: 0000:00:12.0
  Hardware Class: storage
  Model: "ASRock In M5229 IDE"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x5229 "M5229 IDE"
  SubVendor: pci 0x1849 "ASRock Incorporation"
  SubDevice: pci 0x5229 
  Revision: 0xc7
  Driver: "ALI15x3_IDE"
  I/O Ports: 0xff00-0xff0f (rw)
  IRQ: 5 (7500 events)
  I/O Ports: 0x1f0-0x1f7 (rw)
  I/O Port: 0x3f6 (rw)
  IRQ: 14 (2809 events)
  Module Alias: "pci:v000010B9d00005229sv00001849sd00005229bc01sc01i8a"
  Driver Info #0:
    Driver Status: alim15x3 is active
    Driver Activation Cmd: "modprobe alim15x3"
  Driver Info #1:
    Driver Status: generic is active
    Driver Activation Cmd: "modprobe generic"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

22: PCI 12.1: 0101 IDE interface
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_5289
  Unique ID: 4g2A.5Brd_ouaO_5
  SysFS ID: /devices/pci0000:00/0000:00:12.1
  SysFS BusID: 0000:00:12.1
  Hardware Class: storage
  Model: "ASRock In ULi 5289 SATA"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x5289 "ULi 5289 SATA"
  SubVendor: pci 0x1849 "ASRock Incorporation"
  SubDevice: pci 0x5289 
  Revision: 0x10
  Driver: "sata_uli"
  I/O Ports: 0xec00-0xec07 (rw)
  I/O Ports: 0xe080-0xe083 (rw)
  I/O Ports: 0xe000-0xe007 (rw)
  I/O Ports: 0xdc00-0xdc03 (rw)
  I/O Ports: 0xd880-0xd88f (rw)
  IRQ: 5 (7500 events)
  Module Alias: "pci:v000010B9d00005289sv00001849sd00005289bc01sc01i8f"
  Driver Info #0:
    Driver Status: sata_uli is active
    Driver Activation Cmd: "modprobe sata_uli"
  Driver Info #1:
    Driver Status: generic is active
    Driver Activation Cmd: "modprobe generic"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

31: PCI 300.0: 0106 Mass storage controller
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_197b_2360
  Unique ID: svHJ.V2s8b2UDMO5
  Parent ID: 3hqH.aAY9Rzm9JRF
  SysFS ID: /devices/pci0000:00/0000:00:03.0/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: storage
  Model: "ASRock In Mass storage controller"
  Vendor: pci 0x197b 
  Device: pci 0x2360 
  SubVendor: pci 0x1849 "ASRock Incorporation"
  SubDevice: pci 0x0360 
  I/O Ports: 0xcc00-0xcc07 (rw)
  I/O Ports: 0xc880-0xc883 (rw)
  I/O Ports: 0xc800-0xc807 (rw)
  I/O Ports: 0xc480-0xc483 (rw)
  I/O Ports: 0xc400-0xc40f (rw)
  Memory Range: 0xfc8fe000-0xfc8fffff (rw,non-prefetchable)
  IRQ: 5 (7500 events)
  Module Alias: "pci:v0000197Bd00002360sv00001849sd00000360bc01sc06i01"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #13 (PCI bridge)

I attached the windows driver package which AsRock supplies. Looking at the
files it seemd to be a JMicron JMB360 chipset
Comment 4 Michael Stather 2005-10-06 22:01:32 UTC
Created attachment 51734 [details]
Windows driver package
Comment 5 Jens Axboe 2005-10-07 11:52:30 UTC
Sorry, there's no support for that one yet. Use the SATA-1 controller, since we
don't support NCQ on any devices yet on any controllers, there's no added
benefit to using a SATA-2 controller (it wont be faster in any way).
Comment 6 Michael Stather 2005-10-07 15:56:20 UTC
Will these be supported? I think linux should keep the pace with new hardware
development. Some days the MBs will only have SATAII.
Comment 7 Jens Axboe 2005-10-07 19:36:44 UTC
I can't say whether this specific controller will be supported (if popular it
most likely will), since it depends on availability of specifications for it. It
has nothing to do with SATA-1 vs SATA-2, that has no impact on the driver
really. It's like saying that UDMA-66 PATA would require a new driver over
UDMA-33 for the same chipset. SATA-2 brings some extra features (like NCQ) that
need driver support, but it's more of an extension.

Qualities of controllers vary, if you absolutely need a good SATA-II controller,
you should be looking at one based on the ahci specifications. It's by far the
best design out there and as a bonus is fully supported even for NCQ (though
that is still out tree).