emerald wrote:The in-kernel drivers support the marvell chip in legacy mode, so bios should be set to legacy mode. the sata ports will be handled by the ahci driver, so it's necessary to have this one too. I've built support for both, the ahci and marvell driver into the kernel and the pata and all 4 sata (2 esata) ports work as expected.
Hi, emerald:
I have a Marvell 88SE6141 SATA2 controller chip on my Asus P5WD2-E Premium board, and I couldn't use it under Linux ... I've tried a lot, for example, adding the device id into ahci.c (recent kernels support 6121 and 6145, but do not support 6141, which seems strange to me), but instead of just working, it reports Failed to IDENTIFY and give err_mask 0x80 or 0x04 to me during booting, and no HDD attached could be seen; I also tried to apply the mv_thor (mv61xx) driver to my kernels (2.6.28.9, ..., 2.6.33.2), and it fails to build, then I modified some of the content of the mv61xx driver's source, such as changing the renamed scsi structure and enum with 'blk_' prefix and so on, it compiles, it loads and report successfully initialized the Marvell 6141 chip, but when I add a HDD to one of the 6141's SATA ports, nothing happens, and dmesg shows a HotPlug error with intStatus = 0x80000000, it doesn't work if I reboot the machine with the HDD attached (I think it should not be 'HotPlug'), increasing the debugging level of the mv61xx shows nothing really useful ...
Would you please give me some advice on using the Marvell 6141 chip or could I supply more information?
Thanks!