Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215756 - Marvell PATA not working
Summary: Marvell PATA not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: All ISO (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 216230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-01 18:57 UTC by Michele Schiavo
Modified: 2008-07-06 17:44 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output (dmesg.txt,26.74 KB, text/plain)
2008-04-30 18:50 UTC, Michele Schiavo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Schiavo 2008-04-01 18:57:47 UTC
on my sr0 grub can't found menu.lst so no spash and no boot option.
on my sr1 livedvd can boot but live dvd is not to be able to detect sr1 as /

lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GTS (rev a1)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface (rev b2)
05:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)


sr0 is on sata controller, 
sr1 is on 03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface [11ab:6101] (rev b2)


 lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port [8086:29c1] (rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 02)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IR (ICH9R) LPC Interface Controller [8086:2916] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller [8086:2922] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8600 GTS [10de:0400] (rev a1)
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364] (rev 12)
03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface [11ab:6101] (rev b2)
05:03.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. IEEE 1394 Host Controller [1106:3044] (rev c0)


Here phpsysinfo
Unità PCI  	
-	Audio device: Intel Corporation 82801I
-	Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller
-	FireWire
-	Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
-	IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface
-	ISA bridge: Intel Corporation 82801IR
-	PCI bridge: Intel Corporation 82801 PCI Bridge
-	(3x) PCI bridge: Intel Corporation 82801I
-	PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port
-	SATA controller: Intel Corporation 82801IR/IO/IH
-	SMBus: Intel Corporation 82801I
-	(8x) USB Controller: Intel Corporation 82801I
-	VGA compatible controller: nVidia Corporation GeForce 8600 GTS
Unità IDE 	none
Unità SCSI 	
-	ATA ST3250410AS (Direct-Access)
-	ATA ST3500630AS (Direct-Access)
-	GENERIC USB Storage-CFC (Direct-Access)
-	GENERIC USB Storage-MSC (Direct-Access)
-	GENERIC USB Storage-SDC (Direct-Access)
-	GENERIC USB Storage-SMC (Direct-Access)
-	HL-DT-ST DVDRAM GSA-H66N (CD-ROM)
-	LITE-ON DVDRW LH-18A1H (CD-ROM)
Unità USB 	
-	Neodio Technologies Corp. 7-in-1 Card Reader
-	American Power Conversion Uninterruptible Power Supply
-	Logitech, Inc. LX710 Cordless Desktop Laser
-	Logitech, Inc. QuickCam Communicate STX
-	D-Link System DBT-122 Bluetooth



Reproducible: Always
Comment 1 Michele Schiavo 2008-04-01 20:46:21 UTC
With ICH9 configure as AHCI grub cannot found menu.lst
with HD as IDE, livecd can boot from SATA DVDRW
Comment 2 Michele Schiavo 2008-04-01 20:51:12 UTC
from live cd 

dmesg | grep ata 
 BIOS-e820: 00000000cff80000 - 00000000cff8e000 (ACPI data)
PERCPU: Allocating 35048 bytes of per cpu data
Memory: 4042124k/4980736k available (3526k kernel code, 151032k reserved, 1044k data, 244k init)
libata version 2.21 loaded.
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
scsi2 : ata_piix
scsi3 : ata_piix
ata1: SATA max UDMA/133 cmd 0x0000000000019000 ctl 0x0000000000018c02 bmdma 0x0000000000018480 irq 22
ata2: SATA max UDMA/133 cmd 0x0000000000018880 ctl 0x0000000000018802 bmdma 0x0000000000018488 irq 22
ata1.00: ATA-7: ST3250410AS, 3.AAC, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.01: ATAPI: LITE-ON DVDRW LH-20A1S, 9L02, max UDMA/100
ata1.00: configured for UDMA/133
ata1.01: configured for UDMA/100
ata2.00: ATA-7: ST3200820AS, 3.AAE, max UDMA/133
ata2.00: 390721968 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
scsi4 : ata_piix
scsi5 : ata_piix
ata3: SATA max UDMA/133 cmd 0x000000000001a000 ctl 0x0000000000019c02 bmdma 0x0000000000019480 irq 22
ata4: SATA max UDMA/133 cmd 0x0000000000019880 ctl 0x0000000000019802 bmdma 0x0000000000019488 irq 22


My first HD will be see as sdb on installer.
Comment 3 Michele Schiavo 2008-04-01 20:53:35 UTC
sda will be MMC/SD multicard reader

 dmesg | grep sd 
sd 1:0:0:0: [sda] Attached SCSI removable disk
sd 2:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 sdb2 sdb3 sdb4
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: [sdc] 390721968 512-byte hardware sectors (200050 MB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdc] 390721968 512-byte hardware sectors (200050 MB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1
sd 3:0:0:0: [sdc] Attached SCSI disk
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 3:0:0:0: Attached scsi generic sg4 type 0




lsusb
Bus 002 Device 002: ID 0dda:2026 Integrated Circuit Solution, Inc. USB2.0 Card Reader
Bus 002 Device 001: ID 0000:0000  
Bus 008 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 008 Device 001: ID 0000:0000  
Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 001 Device 005: ID 05ac:1301 Apple, Inc. iPod Shuffle 2.Gen
Bus 001 Device 001: ID 0000:0000  
Bus 005 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 003: ID 07d1:f101 D-Link System DBT-122 Bluetooth
Bus 004 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-04 00:28:14 UTC
Could you make it a bit clearer what it is that you actually expect to happen?  You've provided a ton of information, but I can't tell what you think is actually wrong here.
Comment 5 Michele Schiavo 2008-04-04 11:09:03 UTC
i thing this bug must be separated in 3 bugs

1) grub can't map correct hd0,0 for read menu.lst when HD is set like AHCI. When i set on motherboard as IDE, grub can map correctly and load menu.lst 
This happen only when i boot from cdrom sata attacher on ICH9R.

2) If i boot livecd( and livedvd) from cdrom attached on marvel PATA, grub can load correctly menu.lst but initrd can not found / ; initrd don't load module for marvel (i think) so initrd search only ICH9R and only try to search / on sr0 without search on sr1

3) Setting HD as IDE on motherboard, and boot livecd-livedvd from cdrom attached on ICH9R (sr0), everything goes good, but on installer the first HD will be show as sdb, because system will found a multicard reader USB and it will be show as sda. (there is also a little bug in the kernel, SCSI_MULTI_LUN not set, because the multicard reader is found only as sda and not sda,sdb,sdc,sdd)


I expect happen,

1) grub map correctly cdrom when odd is attached on ICH9R set as AHCI
2) kernel of livecd load also PATA_MARVEL and try to search root unionfs on it
3) kerel of livecd or udev set in better priority the unit, first the HD, after other storage.


I hope explain good.

Michele.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 19:55:08 UTC
*** Bug 216230 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 19:57:16 UTC
*** Bug 216228 has been marked as a duplicate of this bug. ***
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-04 19:58:33 UTC
*** Bug 216150 has been marked as a duplicate of this bug. ***
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-12 01:00:10 UTC
OK.  I'm changing the summary a bit here.

Your number 1 is also bug #216097, I think.  Number 2 is what this bug is about, and number 3 is now bug #217347.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-12 18:14:52 UTC
OK, I've updated the kernel to 2.6.24.4 for the 2008.0 Beta 2 release.  If you could test that when it comes out in the next couple days, that would be great.  Yeah.
Comment 11 Martin Gebert 2008-04-28 19:16:19 UTC
I've got the same problem here. Will test when the beta 2 is available.
Comment 12 Michele Schiavo 2008-04-30 18:50:18 UTC
Created attachment 151460 [details]
dmesg output
Comment 13 Michele Schiavo 2008-04-30 18:51:48 UTC
Nothing new with amd64 beta2.

Marvel pata module not found.

live dvd stop after load module, it can't found fs to mount in /newroot

no module found in /lib/module for Marvel PATA
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-30 19:23:04 UTC
What is the module name that you're expecting to find?  We built the Marvell IDE driver into the kernel.
Comment 15 Michele Schiavo 2008-05-01 07:43:49 UTC
from my working kernel

dmesg | grep marv
scsi6 : pata_marvell
Comment 16 Martin Gebert 2008-05-05 15:46:49 UTC
Works for me now with i686 beta2; the LiveCD boots and I can do an installation. But the system freezes when I try to mount a DVD from within the installed system; mounting apparently worked fine for the Livesystem.
Comment 17 Stephen Bosch 2008-06-17 02:36:49 UTC
The beta 2 minimal install CD does not detect the Marvell PATA controller and does not boot successfully. It complains that it cannot find a CD-ROM drive (this drive is attached to the IDE controller).

I have not tried the LiveCD yet.
Comment 18 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-06 17:44:12 UTC
This should be fixed in 2008.0, which is now released.