* [BUG?] pata_marvell doesn't see ide on asus-p5q-pro m/b.
@ 2008-09-04 8:59 Paweł Sikora
2008-09-04 9:56 ` Tejun Heo
2008-09-04 11:16 ` Alan Cox
0 siblings, 2 replies; 3+ messages in thread
From: Paweł Sikora @ 2008-09-04 8:59 UTC (permalink / raw)
To: linux-ide
Hi,
I have an asus-p5q pro m/b with two controllers:
first, intel ich10 with 6 sata ports and 2 connected drives:
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
AHCI Controller
Kernel driver in use: ahci
Kernel modules: ahci
second, marvell chip with 2 sata ports and 1 ide slot.
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
Controller (rev b2)
Kernel driver in use: ahci
Kernel modules: ide-pci-generic, pata_marvell, ahci, pata_acpi,
ata_generic
the ich10 part works fine and detects my disks,
but the marvell part doesn't see my dvd writer connected
to the ide slot. the marvell bios detects dvd correctlly,
so it looks like a bug in pata_marvell module.
here's fragment of dmesg:
[ 0.316653] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 0.317159] ata1.00: ATA-7: WDC WD1600YD-01NVB1, 10.02E01, max UDMA/133
[ 0.317191] ata1.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 1)
[ 0.463303] ata1.00: configured for UDMA/133
[ 0.369983] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 0.379975] ata2.00: ATA-7: WDC WD1600YD-01NVB1, 10.02E01, max UDMA/133
[ 0.379975] ata2.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 1)
[ 0.733285] ata2.00: configured for UDMA/133
[ 0.413314] ata3: SATA link down (SStatus 0 SControl 300)
[ 0.456644] ata4: SATA link down (SStatus 0 SControl 300)
[ 0.509975] ata5: SATA link down (SStatus 0 SControl 300)
[ 0.553304] ata6: SATA link down (SStatus 0 SControl 300)
[ 0.383308] scsi 0:0:0:0: Direct-Access ATA WDC WD1600YD-01N
10.0 PQ: 0 ANSI: 5
[ 0.383308] scsi 1:0:0:0: Direct-Access ATA WDC WD1600YD-01N
10.0 PQ: 0 ANSI: 5
[ 0.383308] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low)
-> IRQ 16
[ 0.383308] ahci 0000:03:00.0: controller can't do NCQ, turning off
CAP_NCQ
[ 0.383308] ahci 0000:03:00.0: MV_AHCI HACK: port_map 7 -> 3
[ 0.403330] ahci 0000:03:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps
0x3 impl IDE mode
[ 0.403367] ahci 0000:03:00.0: flags: 64bit stag led pmp slum part
[ 0.403401] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 0.403543] scsi6 : ahci
[ 0.403697] scsi7 : ahci
[ 0.403846] scsi8 : ahci
[ 0.403935] ata7: SATA max UDMA/133 abar m1024@0xfeaffc00 port
0xfeaffd00 irq 16
[ 0.403970] ata8: SATA max UDMA/133 abar m1024@0xfeaffc00 port
0xfeaffd80 irq 16
[ 0.404003] ata9: DUMMY
[ 0.519980] ata7: SATA link down (SStatus 0 SControl 300)
[ 0.563310] ata8: SATA link down (SStatus 0 SControl 300)
i'm using the 2.6.25.16 modularized kernel.
i can provide more info for debugging purposes if you want.
thanks in advance,
pawel.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG?] pata_marvell doesn't see ide on asus-p5q-pro m/b.
2008-09-04 8:59 [BUG?] pata_marvell doesn't see ide on asus-p5q-pro m/b Paweł Sikora
@ 2008-09-04 9:56 ` Tejun Heo
2008-09-04 11:16 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2008-09-04 9:56 UTC (permalink / raw)
To: Paweł Sikora; +Cc: linux-ide
Paweł Sikora wrote:
> Hi,
>
> I have an asus-p5q pro m/b with two controllers:
>
> first, intel ich10 with 6 sata ports and 2 connected drives:
>
> 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
> AHCI Controller
> Kernel driver in use: ahci
> Kernel modules: ahci
>
> second, marvell chip with 2 sata ports and 1 ide slot.
>
> 03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
> Controller (rev b2)
> Kernel driver in use: ahci
> Kernel modules: ide-pci-generic, pata_marvell, ahci, pata_acpi,
> ata_generic
>
> the ich10 part works fine and detects my disks,
> but the marvell part doesn't see my dvd writer connected
> to the ide slot. the marvell bios detects dvd correctlly,
> so it looks like a bug in pata_marvell module.
>
> here's fragment of dmesg:
>
> [ 0.316653] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 0.317159] ata1.00: ATA-7: WDC WD1600YD-01NVB1, 10.02E01, max UDMA/133
> [ 0.317191] ata1.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 1)
> [ 0.463303] ata1.00: configured for UDMA/133
> [ 0.369983] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 0.379975] ata2.00: ATA-7: WDC WD1600YD-01NVB1, 10.02E01, max UDMA/133
> [ 0.379975] ata2.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 1)
> [ 0.733285] ata2.00: configured for UDMA/133
> [ 0.413314] ata3: SATA link down (SStatus 0 SControl 300)
> [ 0.456644] ata4: SATA link down (SStatus 0 SControl 300)
> [ 0.509975] ata5: SATA link down (SStatus 0 SControl 300)
> [ 0.553304] ata6: SATA link down (SStatus 0 SControl 300)
> [ 0.383308] scsi 0:0:0:0: Direct-Access ATA WDC WD1600YD-01N
> 10.0 PQ: 0 ANSI: 5
> [ 0.383308] scsi 1:0:0:0: Direct-Access ATA WDC WD1600YD-01N
> 10.0 PQ: 0 ANSI: 5
> [ 0.383308] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low)
> -> IRQ 16
> [ 0.383308] ahci 0000:03:00.0: controller can't do NCQ, turning off
> CAP_NCQ
> [ 0.383308] ahci 0000:03:00.0: MV_AHCI HACK: port_map 7 -> 3
> [ 0.403330] ahci 0000:03:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps
> 0x3 impl IDE mode
> [ 0.403367] ahci 0000:03:00.0: flags: 64bit stag led pmp slum part
> [ 0.403401] PCI: Setting latency timer of device 0000:03:00.0 to 64
> [ 0.403543] scsi6 : ahci
> [ 0.403697] scsi7 : ahci
> [ 0.403846] scsi8 : ahci
> [ 0.403935] ata7: SATA max UDMA/133 abar m1024@0xfeaffc00 port
> 0xfeaffd00 irq 16
> [ 0.403970] ata8: SATA max UDMA/133 abar m1024@0xfeaffc00 port
> 0xfeaffd80 irq 16
> [ 0.404003] ata9: DUMMY
> [ 0.519980] ata7: SATA link down (SStatus 0 SControl 300)
> [ 0.563310] ata8: SATA link down (SStatus 0 SControl 300)
>
> i'm using the 2.6.25.16 modularized kernel.
> i can provide more info for debugging purposes if you want.
Does loading pata_marvell first fix the problem?
--
tejun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG?] pata_marvell doesn't see ide on asus-p5q-pro m/b.
2008-09-04 8:59 [BUG?] pata_marvell doesn't see ide on asus-p5q-pro m/b Paweł Sikora
2008-09-04 9:56 ` Tejun Heo
@ 2008-09-04 11:16 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2008-09-04 11:16 UTC (permalink / raw)
To: Paweł Sikora; +Cc: linux-ide
> to the ide slot. the marvell bios detects dvd correctlly,
> so it looks like a bug in pata_marvell module.
It's a bug in the AHCI driver which means it takes stuff the pata_marvell
module needs. I'm hoping this will finally get fixed
> i'm using the 2.6.25.16 modularized kernel.
> i can provide more info for debugging purposes if you want.
Remove the marvell pci ids from drivers/ata/ahci.c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-04 11:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 8:59 [BUG?] pata_marvell doesn't see ide on asus-p5q-pro m/b Paweł Sikora
2008-09-04 9:56 ` Tejun Heo
2008-09-04 11:16 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).