lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BE9A1B3.3020208@turmel.org>
Date:	Tue, 11 May 2010 14:28:03 -0400
From:	Phil Turmel <pturmel-kernel@...mel.org>
To:	Phil Reynolds <phil-linux@...sleyviaduct.com>
CC:	linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: Marvell eSATA - 88SE6121 on Asus M3A79-T Deluxe - not in AHCI

On 05/11/2010 01:21 PM, Phil Reynolds wrote:
> Quoting "Phil Turmel" <pturmel-kernel@...mel.org>:
> 
>> I have a similar chipset in my office server: 88SE6145.  If yours can run
>> in AHCI mode, you just need "ahci.marvell_enable=1" on your kernel
>> command
>> line, or "options ahci marvell_enable=1" in your modprobe.conf.  (I have
>> ahci built-in, and no initramfs, so I put the option in my grub.conf.)
> 
> Neither works for me unfortunately.
> 

Hmmm.  If you post your dmesg, lspci, and config, I'll be happy to compare
to my setup.  It might be something as simple as the Marvell driver loading
first and claiming the device.

The relevant part of my dmesg looks like this:

[    4.802703] ahci 0000:06:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    4.806351] ahci 0000:06:00.0: controller can't do NCQ, turning off CAP_NCQ
[    4.809921] ahci 0000:06:00.0: controller can't do PMP, turning off CAP_PMP
[    4.813334] ahci 0000:06:00.0: MV_AHCI HACK: port_map 1f -> f
[    4.816656] ahci 0000:06:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[    4.823333] ahci: SSS flag set, parallel bus scan disabled
[    4.826765] ahci 0000:06:00.0: AHCI 0001.0000 32 slots 5 ports 3 Gbps 0xf impl RAID mode
[    4.830240] ahci 0000:06:00.0: flags: 64bit stag slum part
[    4.833810] ahci 0000:06:00.0: setting latency timer to 64
[    4.834021] scsi4 : ahci
[    4.837755] scsi5 : ahci
[    4.841426] scsi6 : ahci
[    4.844997] scsi7 : ahci
[    4.848509] scsi8 : ahci
[    4.851956] ata5: SATA max UDMA/133 irq_stat 0x02400000, PHY RDY changed irq 17
[    4.855423] ata6: SATA max UDMA/133 irq_stat 0x02400000, PHY RDY changed irq 17
[    4.858814] ata7: SATA max UDMA/133 abar m1024@...bfffc00 port 0xfbfffe00 irq 17
[    4.862177] ata8: SATA max UDMA/133 abar m1024@...bfffc00 port 0xfbfffe80 irq 17
[    4.865472] ata9: DUMMY

The Marvell driver never gets a chance to claim my device, as it is disabled in
my kernel config.  If you are using modules, you might want to blacklist "sata_mv".

If you are using modules from an initramfs, you might need to update your
initramfs, too.

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ