I just finished a build of a new GNU/Linux boxen with openSUSE 11.2. I have a MSI Big Bang Xpower X58 motherboard which has two SATA controller chips, one is the standard Intel ICH10R chip for SATA 3.0 Gb/s and one is the Marvell 9128 chip for SATA 6.0 Gb/s. The BIOS recognizes the Western Digital Caviar Black 6.0 Gb/s drive on either SATA controller chips, /however/ I am unable to install (and boot) when the drive is connected to the Marvell controlled ports. As you can guess, I’d like to boot from the faster interface!
The BIOS allows me to select the Western Digital drive as a secondary boot device, so I know, at least at the BIOS level, it’s there. This is true whether I have the drive connected to the Intel or Marvell ports. (The DVD drive is the primary boot device.)
When trying to install openSUSE 11.2 from DVD, the installer says that it can’t find any hard drives on my system when I have the drive connected to the Marvell port. The installer finds the drive fine when it is connected to the Intel port.
I installed everything with the drive connected to the Intel port. I switched the drive to the Marvell port afterward and the system refuses to boot completely, stalling at some point where it starts to look for other filesystem partitions. This led me to conclude that perhaps the problem is with openSUSE and not hardware weirdness with the system having two separate SATA controllers?
On 08/02/2010 05:06 PM, linuxvinh wrote:
>
> Hi all,
>
> I just finished a build of a new GNU/Linux boxen with openSUSE 11.2. I
> have a MSI Big Bang Xpower X58 motherboard which has two SATA controller
> chips, one is the standard Intel ICH10R chip for SATA 3.0 Gb/s and one
> is the Marvell 9128 chip for SATA 6.0 Gb/s. The BIOS recognizes the
> Western Digital Caviar Black 6.0 Gb/s drive on either SATA controller
> chips, /however/ I am unable to install (and boot) when the drive is
> connected to the Marvell controlled ports. As you can guess, I’d like
> to boot from the faster interface!
>
> 1. The BIOS allows me to select the Western Digital drive as a
> secondary boot device, so I know, at least at the BIOS level, it’s
> there. This is true whether I have the drive connected to the Intel or
> Marvell ports. (The DVD drive is the primary boot device.)
>
> 2. When trying to install openSUSE 11.2 from DVD, the installer says
> that it can’t find any hard drives on my system when I have the drive
> connected to the Marvell port. The installer finds the drive fine when
> it is connected to the Intel port.
>
> 3. I installed everything with the drive connected to the Intel port.
> I switched the drive to the Marvell port afterward and the system
> refuses to boot completely, stalling at some point where it starts to
> look for other filesystem partitions. This led me to conclude that
> perhaps the problem is with openSUSE and not hardware weirdness with the
> system having two separate SATA controllers?
I doubt that it is an openSUSE problem. More likely to be a kernel or
configuration problem. If this is a new device, you might have more success with
11.3.
Put it back together in a way that it will boot, boot it, and run the command
‘/sbin/lspci -nnk’ and post the output.
Thanks for the quick response! I didn’t mean it as a general openSUSE problem; rather, it seems like a software issue as opposed to a hardware one. openSUSE 11.2 installed beautifully with no unexpected surprises when I had the drive connected to the Intel port. The motherboard is new, just released about a month or so ago, but I decided to stick to openSUSE 11.2 since I wanted something I knew as a base. I will try 11.3 once this problem is resolved.
I’ll post the lspci command results later tonight, after work…
Thanks ash25. I’m actually downloading the full openSUSE 11.3 DVD ISO now… since I’ll want it for later anyway. It’s going to be overnight though, as I only have up to 1.5 Mb/s. Hmmm… the live CD would be a quicker test!
First boot from the Live CD didn’t work so well (some error messages), so since I already have the drive attached to the Marvell port, here’s what happened:
GRUB starts as usual
I select the normal OS (not failsafe)
I get this error:
0.000000] failed to get NUMA memory information from SRAT table
doing fast boot
FATAL: Module ahci not found.
FATAL: Module ata_piix not found.
Creating device nodes with udev
Trying manual resume from /dev/disk/by-id/ata-...-part2
resume device /dev/disk/by-id/ata-...-part2 not found (ignoring)
Trying manual resume from /dev/disk/by-id/ata-...-part2
resume device /dev/disk/by-id/ata-...-part2 not found (ignoring)
Waiting for device /dev/disk/by-id/ata-...-part3 to appear: .........................
Could not find /dev/disk/by-id/ata-...-part3.
Want me to fall back to /dev/disk/by-id/ata-...-part3? (Y/n)
I have the Marvell chip set to IDE instead of AHCI mode, so I’m not sure what the module requirement is about.
I’m not familiar with the rest of the boot process to comment on the later messages… please enlighten! Thanks!
Booting from the Live CD has been a no go. I get to the menu, but selecting either openSUSE Live (KDE) or Installation results in a messed up graphics display and a seemingly locked keyboard. Check Installation Media worked. Memory test worked. Boot from Hard Drive… no go, see above…
Don’t know if this is even relevant but, I just purchased 1 3.0 SATA drive. My motherboard supports only 1.5. I tried it and it was recognized, seemed to work but, like the instructions I finally read when I had trouble, said to put a jumper on the drive to restrict it to 1.5 Otherwise, read / write errors and / or boot problems could occur.
I tried openSUSE 11.3 full DVD install… The DVD booted fine and similarly to my experience with 11.2, when the hard drive is connected to a Marvell SATA 6 Gb/s port, Installation says that there are no hard drives connected to my system. (BIOS knows it’s there.)
My problem isn’t a “show stopper”. I can get the system running pretty well with the hard drive connected to the Intel SATA 3 Gb/s port. However, encountering this problem does reveal that if I had gotten an SSD drive, capable to utilizing the 6 Gb/s bandwidth, I would not be able to install nor boot from the drive connected to the secondary SATA controller chip, the Marvell. Since SATA 6 Gb/s is relatively new, support for most motherboards that support it is through a hybrid, dual chip setup. It would be nice if someone can investigate this and discover how to get it to work. I’m willing to test.
so I see sata_ms.ko already in there. I do not see the Marvell device with either hwinfo or lspci. lspci -nn | grep SATA generates…
00:1f.2 IDE interface [0101]: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller [8086:3a20]
00:1f.5 IDE interface [0101]: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller [8086:3a26]
02:00.0 SATA controller [0106]: JMicron Technology Corp. JMB362/JMB363 AHCI Controller [197b:2363] (rev 03)
The Intel chip supports 6 SATA ports. The JMicron is for the 2 ESATA ports. No Marvell SATA.
Oh sorry, I did do the “modprobe sata_mv” as you suggested and noticed that it seems to be already loaded after a clean boot. Here’s what happened…
In my excitement, modprobe sata_mv
hwinfo and lspci -nn, didn’t see the Marvell chip
Realized that I should have done hwinfo and lspci -nn prior to modprobe’ing
Restarted the system
hwinfo and lspci -nn, saved the outputs
modprobe -l | grep sata, saw sata_mv already listed, is it already loaded?
modprobe sata_mv
hwinfo and lspci -nn, not much different in the outputs
In my limited modprobe experience, I recall that “modprobe module” will load the module but not permanently. Something else needs to be done to make the modprobe permanent. After reboots, manually done modprobes are lost? This allows testing of modules without getting stuck?
This looks to be the case. (sigh) The chip is a Marvell 88SE9128, which has a ? where sata_mv should be listed. Thanks for finding that! I guess I’ll see if I can find links to development progress on sata_mv…
>
> lspci -nnk
>
>
> Code:
> --------------------
> 00:00.0 Host bridge [0600]: Intel Corporation X58 I/O Hub to ESI Port
> [8086:3405
> ] (rev 13)
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> 00:01.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 1 [8086:3408] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:02.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 2 [8086:3409] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:03.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 3 [8086:340a] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:04.0 PCI bridge [0604]: Intel Corporation 5520/X58 I/O Hub PCI
> Express Root P ort 4 [8086:340b] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:05.0 PCI bridge [0604]: Intel Corporation 5520/X58 I/O Hub PCI
> Express Root P ort 5 [8086:340c] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:06.0 PCI bridge [0604]: Intel Corporation 5520/X58 I/O Hub PCI
> Express Root P ort 6 [8086:340d] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:07.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 7 [8086:340e] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:08.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 8 [8086:340f] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:09.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 9 [8086:3410] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:0a.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express R oot Port 10 [8086:3411] (rev 13)
> Kernel driver in use: pcieport-driver
> 00:14.0 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub System
> Management Re gisters [8086:342e] (rev 13)
> 00:14.1 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub GPIO and
> Scratch Pad Registers [8086:3422] (rev 13)
> 00:14.2 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub Control
> Status and R AS Registers [8086:3423] (rev 13)
> 00:14.3 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub Throttle
> Registers 8086:3438] (rev 13)
> 00:1a.0 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB UHCI Controller #4 [8086:3a37]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: uhci_hcd
> 00:1a.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB UHCI Controller #5 [8086:3a38]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: uhci_hcd
> 00:1a.2 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB UHCI Controller #6 [8086:3a39]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: uhci_hcd
> 00:1a.7 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB2 EHC I Controller #2 [8086:3a3c]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: ehci_hcd
> 00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD
> Audio C ontroller [8086:3a3e]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:4132]
> Kernel driver in use: HDA Intel
> 00:1c.0 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI
> Express Port 1 [8086:3a40]
> Kernel driver in use: pcieport-driver
> 00:1c.1 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI
> Express Port 2 [8086:3a42]
> Kernel driver in use: pcieport-driver
> 00:1c.2 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI
> Express Port 3 [8086:3a44]
> Kernel driver in use: pcieport-driver
> 00:1c.3 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI
> Express Port 4 [8086:3a46]
> Kernel driver in use: pcieport-driver
> 00:1d.0 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB UHCI Controller #1 [8086:3a34]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: uhci_hcd
> 00:1d.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB UHCI Controller #2 [8086:3a35]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: uhci_hcd
> 00:1d.2 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB UHCI Controller #3 [8086:3a36]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: uhci_hcd
> 00:1d.7 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family)
> USB2 EHC I Controller #1 [8086:3a3a]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: ehci_hcd
> 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge
> [8086:244e] (rev 9 0)
> 00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIR (ICH10R) LPC
> Interface Con troller [8086:3a16]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> 00:1f.2 IDE interface [0101]: Intel Corporation 82801JI (ICH10 Family) 4
> port SA TA IDE Controller [8086:3a20]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: ata_piix
> 00:1f.3 SMBus [0c05]: Intel Corporation 82801JI (ICH10 Family) SMBus
> Controller
> [8086:3a30]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: i801_smbus
> 00:1f.5 IDE interface [0101]: Intel Corporation 82801JI (ICH10 Family) 2
> port SA TA IDE Controller [8086:3a26]
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: ata_piix
> 02:00.0 SATA controller [0106]: JMicron Technology Corp. JMB362/JMB363
> AHCI Cont roller [197b:2363] (rev 03)
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: ahci
> 02:00.1 IDE interface [0101]: JMicron Technology Corp. JMB362/JMB363
> AHCI Contro ller [197b:2363] (rev 03)
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: pata_jmicron
> 03:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. Device
> [1106:3403] ( rev 01)
> Subsystem: Micro-Star International Co., Ltd. Device [1462:666d]
> Kernel driver in use: ohci1394
> 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8111/8168 B PCI Express Gigabit Ethernet controller [10ec:8168] (rev
> 03) Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: r8169
> 05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8111/8168 B PCI Express Gigabit Ethernet controller [10ec:8168] (rev
> 03) Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: r8169
> 0d:00.0 VGA compatible controller [0300]: nVidia Corporation Device
> [10de:0ca3] (rev a2)
> Subsystem: eVga.com. Corp. Device [3842:1246]
> Kernel driver in use: nvidia
> 0d:00.1 Audio device [0403]: nVidia Corporation Device [10de:0be4] (rev
> a1) Subsystem: eVga.com. Corp. Device [3842:1246]
> 0e:00.0 IDE interface [0101]: Device [1b4b:91a3] (rev 10)
> Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> 0f:00.0 USB Controller [0c03]: NEC Corporation Device [1033:0194] (rev
> 03) Subsystem: Micro-Star International Co., Ltd. Device [1462:7666]
> Kernel driver in use: xhci_hcd
> --------------------
>
I do notice you do not have the Marvell driver installed. 11.3 installed it
on my system;
03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6121 SATA II
Controller [11ab:6121] (rev b2)
Subsystem: Intel Corporation Device [8086:5442]
Kernel driver in use: pata_marvell
I also know when I boot I have seen a message that the Marvell driver must
be installed.