Bug 9904 (asus80w)
Summary: | ASUS DVD-E616A - drive side 80-wire cable detection failed | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Joseph Terner (jtsn) |
Component: | IDE | Assignee: | Alan (alan) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | jtsn, Manfred.Knick |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Joseph Terner
2008-02-06 12:40:05 UTC
I can confirm that this is also happening here with my Western Digital WD1200JB. The motherboard an ASUS Striker Extreme, which has an NVIDIA (nForce?) IDE controller so the bug doesn't appear to be hardware-specific. This is a new machine so I haven't tried any earlier kernel versions. Joseph, please send output of 'hdparm --Istdout /dev/hdd' command. James, you are using different host driver so most likely this is not the same bug - please open a new bugzilla entry and post dmesg command output. Thanks. # hdparm --Istdout /dev/hdd /dev/hdd: 85c0 0000 0000 0000 0000 0000 0000 0000 0000 0000 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 0000 0000 0000 312e 3038 2020 2020 4153 5553 2020 2020 4456 442d 4536 3136 4120 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 0000 0000 0b00 0000 0200 0200 0006 0000 0000 0000 0000 0000 0000 0000 0000 0000 0007 0003 0078 0078 00e3 0078 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 043f 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 (In reply to comment #2) > James, you are using different host driver so most likely this is not the > same > bug - please open a new bugzilla entry and post dmesg command output. Just another example - maybe it helps: ASUS M2N-SLI Deluxe with NVidia nForce 570 SLI MCP Primary Master: Plextor PX-130A - fails to detect 80-wire Primary Slave: Plextor PX-760A + succeeds Mine turned out to be because I'd put the cable the wrong way round. Yep stupid me. It didn't matter for 40-pin, didn't know it mattered for 80-pin. (In reply to comment #4) > ASUS M2N-SLI Deluxe with NVidia nForce 570 SLI MCP > > Primary Master: Plextor PX-130A - fails to detect 80-wire > Primary Slave: Plextor PX-760A + succeeds Sorry- forgot to mention: $ uname -a Linux mammut 2.6.24-gentoo-r3 #2 SMP Mon Mar 3 11:34:50 CET 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux $ dmesg : Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx NFORCE-MCP55: IDE controller (0x10de:0x036e rev 0xa1) at PCI slot 0000:00:04.0 NFORCE-MCP55: not 100% native mode: will probe irqs later NFORCE-MCP55: BIOS didn't set cable bits correctly. Enabling workaround. NFORCE-MCP55: 0000:00:04.0 (rev a1) UDMA133 controller ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA NFORCE-MCP55: IDE port disabled Probing IDE interface ide0... hdb: PLEXTOR DVDR PX-760A, ATAPI CD/DVD-ROM drive hda: PLEXTOR DVD-ROM PX-130A, ATAPI CD/DVD-ROM drive hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hda: drive side 80-wire cable detection failed, limiting max speed to UDMA33 hda: UDMA/33 mode selected hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hdb: UDMA/66 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdparm --Istdout /dev/hda ? (In reply to comment #7) > hdparm --Istdout /dev/hda ? More information at: http://bugzilla.kernel.org/show_bug.cgi?id=9048#c22 (In reply to comment #7) > hdparm --Istdout /dev/hda ? hdparm --Istdout /dev/hd[a,b] /dev/hda: 85c0 0000 0000 0000 0000 0000 0000 0000 0000 0000 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 3453 0080 0000 312e 3033 2020 2020 504c 4558 544f 5220 4456 442d 524f 4d20 5058 2d31 3330 4120 2020 2020 2020 2020 2020 2020 2020 2020 0000 0000 0f00 0000 0200 0200 0006 0000 0000 0000 0000 0000 0000 0000 0000 0000 0007 0003 0078 0078 0078 0078 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0218 4000 4000 0218 0000 4000 043f 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 /dev/hdb: 85c0 0000 0000 0000 0000 0000 0000 0000 0000 0000 2020 2020 2020 2020 2020 2020 2020 3234 3530 3937 0000 0000 0000 312e 3037 2020 2020 504c 4558 544f 5220 4456 4452 2020 2050 582d 3736 3041 2020 2020 2020 2020 2020 2020 2020 2020 2020 0000 0000 0f00 0000 0400 0200 0006 0000 0000 0000 0000 0000 0000 0000 0000 0000 0007 0003 0078 0078 0078 0078 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0078 0000 0000 0000 0000 0000 0000 0000 101f 0000 0000 0000 0000 6b00 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 With libata the problem also occurs: scsi3 : pata_ali scsi4 : pata_ali ata4: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14 ata5: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15 ata4.00: ATA-7: HDT722525DLAT80, V44OA70A, max UDMA/133 ata4.00: 488397168 sectors, multi 16: LBA48 ata4.01: ATA-5: ST340016A, 3.10, max UDMA/100 ata4.01: 78165360 sectors, multi 16: LBA ata4.00: configured for UDMA/133 ata4.01: configured for UDMA/100 ata5.00: ATAPI: MATSHITADVD-RAM SW-9576S, AY0J, max UDMA/66 ata5.01: ATAPI: ASUS DVD-E616A, 1.08, max UDMA/100 ata5.01: limited to UDMA/33 due to 40-wire cable ata5.00: configured for UDMA/66 ata5.01: configured for UDMA/33 /dev/sr1: ATAPI CD-ROM, with removable media Model Number: ASUS DVD-E616A Serial Number: Firmware Revision: 1.08 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(cannot be disabled) DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=227ns IORDY flow control=120ns A rework of cable detection that should fix this is already in the 2.6.25-mm devel tree In fact the -mm patch fixes the problem: 2.6.25-rc5-mm1: ata4.00: ATAPI: ASUS DVD-E616A, 1.08, max UDMA/100 ata4.00: configured for UDMA/100 2.6.24.3: ata4.00: ATAPI: ASUS DVD-E616A, 1.08, max UDMA/100 ata4.00: limited to UDMA/33 due to 40-wire cable ata4.00: configured for UDMA/33 When can I expect the fix in the mainline kernel? Should be in .25, any oddments definitely .26 Just a hint to keep you informed about PATA_xxx : http://bugzilla.kernel.org/show_bug.cgi?id=10179#c9 Kind regards Manfred |