Motherboard with two SATA controller chips

Your marvel controller is 6121 whereas linuxvinh’s is 9128… As I can see from the kernel SATA wiki page, 6121 is supported in the ahci kernel module and hence does not require the sata_mv module…

Upon boot, I see this:

Marvell 88SE91XX BIOS revision 1.0.0.1013

I did some searches and found that a developer on BSD had added AHCI support for the Marvell 9128 chip, so just out of curiosity, I did a comparison between IDE and AHCI BIOS settings…

/sbin/lspci | grep SATA

In IDE mode:

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE
Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE
Controller
02:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 AHCI Controller
(rev 03)

In AHCI mode:

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE
Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE
Controller
02:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 AHCI Controller
(rev 03)
0e:00.0 SATA controller: Device 1b4b:9123 (rev 10)

So, at least in AHCI mode, the controller shows up, though not known. I tried adding the grub option “insmod=sata_mv”. No difference.

The Marvell website lists the 9128 as supported for GNU/Linux… but there doesn’t seem to be further info on their site.

Hi
So can you mount a disk manually attached to the Marvell controller?

Google on the device ID now you have it. “Device 1b4b:9123” should give
some more info.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 5 days 23:38, 3 users, load average: 0.03, 0.05, 0.04
GPU GeForce 8600 GTS Silent - Driver Version: 256.44

ash25 wrote:

>
> upscope;2203243 Wrote:
>> 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.
>
> Your marvel controller is 6121 whereas linuxvinh’s is 9128… As I can
> see from the kernel SATA wiki page, 6121 is supported in the ahci kernel
> module and hence does not require the sata_mv module…
>
Thanks for the info. I was under the impression all Marvell controllers
needed a special driver. Now I’m clear.

I didn’t have to do anything manual… I connected the drive to the Marvell port, had the BIOS set to AHCI and booted. The system came up!

The controller is still unknown, listed as a Device only.

/sbin/lspci | grep SATA

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
02:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 AHCI Controller (rev 03)
0e:00.0 SATA controller: Device 1b4b:9123 (rev 10)

So, my question is, with the device un-named, are the filesystems safe to write to? Is this just a case of an entry needing to be put into some table or am I running a risk?

The reason I ask is because I have an Acer Aspire 1410 netbook that would not work with AHCI on at all. Each boot resulted in a different disk error. Using IDE mode made it stable.

Hi
Have no idea… If you do /sbin/modinfo ahci there is a parameter to
set to enable marvell.

What happens if you unload the module and reload it with the option
marvell_enable=1


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 6 days 13:34, 2 users, load average: 0.04, 0.10, 0.03
GPU GeForce 8600 GTS Silent - Driver Version: 256.44

/sbin/modinfo ahci returns:

ERROR: modinfo: could not find module ahci

/sbin/modinfo sata_mv returns:

filename:       /lib/modules/2.6.31.12-0.2-desktop/kernel/drivers/ata/sata_mv.ko
alias:          platform:sata_mv                                                
version:        1.28                                                            
license:        GPL                                                             
description:    SCSI low-level driver for Marvell SATA controllers              
author:         Brett Russ                                                      
srcversion:     5A9E7E7BF5BCC065568A3EC                                         
alias:          pci:v00001103d00002310sv*sd*bc*sc*i*
alias:          pci:v00001103d00002300sv*sd*bc*sc*i*
alias:          pci:v000011ABd00007042sv*sd*bc*sc*i*
alias:          pci:v00009005d00000243sv*sd*bc*sc*i*
alias:          pci:v00009005d00000241sv*sd*bc*sc*i*
alias:          pci:v000011ABd00006081sv*sd*bc*sc*i*
alias:          pci:v000011ABd00006080sv*sd*bc*sc*i*
alias:          pci:v000011ABd00006042sv*sd*bc*sc*i*
alias:          pci:v000011ABd00006041sv*sd*bc*sc*i*
alias:          pci:v000011ABd00006040sv*sd*bc*sc*i*
alias:          pci:v00001103d00001742sv*sd*bc*sc*i*
alias:          pci:v00001103d00001740sv*sd*bc*sc*i*
alias:          pci:v00001103d00001720sv*sd*bc*sc*i*
alias:          pci:v000011ABd00005081sv*sd*bc*sc*i*
alias:          pci:v000011ABd00005080sv*sd*bc*sc*i*
alias:          pci:v000011ABd00005041sv*sd*bc*sc*i*
alias:          pci:v000011ABd00005040sv*sd*bc*sc*i*
depends:
vermagic:       2.6.31.12-0.2-desktop SMP preempt mod_unload modversions 686
parm:           msi:Enable use of PCI MSI (0=off, 1=on) (int)
parm:           irq_coalescing_io_count:IRQ coalescing I/O count threshold (0..255) (int)
parm:           irq_coalescing_usecs:IRQ coalescing time threshold in usecs (int)

/sbin/modprobe -r ahci
/sbin/modprobe ahci marvell_enable=1

Didn’t seem to change things.

/sbin/lspci

0e:00.0 SATA controller: Device 1b4b:9123 (rev 10)

/sbin/hwinfo

52: PCI e00.0: 0106 SATA controller (AHCI 1.0)                                  
  Model: "SATA controller"