Skip to contentSkip to conversation

IDE breakage with cdrom in 2.5.18+

DISCUSSION Udo A. Steinberg 3 participants 3 messages May 29, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

Some code introduced in 2.5.18 seems to have broken something in the cdrom code. 2.5.19 still has the problem, whereas 2.5.17 seemed ok.

/dev/hde shows packet command errors upon bootup. Any ideas?

Regards,
-Udo.

ATA/ATAPI device driver v7.0.0
ATA: PCI bus speed 33.3MHz
ATA: Promise Technology, Inc. 20265, PCI slot 00:11.0
PCI: Found IRQ 10 for device 00:11.0
ATA: chipset rev.: 2
ATA: non-legacy mode: IRQ probe delayed
Promise Technology, Inc. 20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.

    ide0: BM-DMA at 0x8000-0x8007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x8008-0x800f, BIOS settings: hdc:pio, hdd:pio

ATA: VIA Technologies, Inc. Bus Master IDE, PCI slot 00:04.1
ATA: chipset rev.: 16
ATA: non-legacy mode: IRQ probe delayed
VP_IDE: VIA vt82c686a (rev 22) ATA UDMA66 controller on PCI 00:04.1

    ide2: BM-DMA at 0xd800-0xd807, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xd808-0xd80f, BIOS settings: hdg:pio, hdh:pio

hda: IBM-DTLA-307030, ATA DISK drive
hdb: IBM-DTLA-307030, ATA DISK drive
hde: PLEXTOR CD-R PX-W1210A, ATAPI CD/DVD-ROM drive
ide0 at 0x9400-0x9407,0x9002 on irq 10
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 60036480 sectors w/1916KiB Cache, CHS=59560/16/63, UDMA(100)
hda: hda1
hdb: 60036480 sectors w/1916KiB Cache, CHS=59560/16/63, UDMA(100)
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 >
hde: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA Uniform CD-ROM driver Revision: 3.12
hde: packet command error: status=0x51 { DriveReady SeekComplete Error }
hde: packet command error: error=0x54
ATAPI device hde:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00) The failed "Request Sense" packet command was:
"03 00 00 00 12 00 00 00 00 00 00 00 "

#1 lore raw
Quoted 12 lines · Udo A. Steinberg

/dev/hde shows packet command errors upon bootup. Any ideas?

hda: IBM-DTLA-307030, ATA DISK drive
hdb: IBM-DTLA-307030, ATA DISK drive
hde: PLEXTOR CD-R PX-W1210A, ATAPI CD/DVD-ROM drive ide0 at 0x9400-0x9407,0x9002 on irq 10
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 60036480 sectors w/1916KiB Cache, CHS=59560/16/63, UDMA(100)
hda: hda1
hdb: 60036480 sectors w/1916KiB Cache, CHS=59560/16/63, UDMA(100)
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 >
hde: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA

Quoted 8 lines

Uniform CD-ROM driver Revision: 3.12
hde: packet command error: status=0x51 { DriveReady SeekComplete Error }
hde: packet command error: error=0x54
ATAPI device hde:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00) The failed "Request Sense" packet command was:
"03 00 00 00 12 00 00 00 00 00 00 00 "

afaic looks "try to detect partitions" lookup that should not had been done on cdrom :-(

Signature · 2 lines
"j'aime warly qui est beau parce que je l'aime et qu'il est beau" (gc)
"apres le gps, le ps" (pixel)
#2 lore raw
In reply to Udo A. Steinberg
Quoted 25 lines · Thierry Vignaud
Quoted 12 lines · Udo A. Steinberg

/dev/hde shows packet command errors upon bootup. Any ideas?

hda: IBM-DTLA-307030, ATA DISK drive
hdb: IBM-DTLA-307030, ATA DISK drive
hde: PLEXTOR CD-R PX-W1210A, ATAPI CD/DVD-ROM drive ide0 at 0x9400-0x9407,0x9002 on irq 10
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 60036480 sectors w/1916KiB Cache, CHS=59560/16/63, UDMA(100)
hda: hda1
hdb: 60036480 sectors w/1916KiB Cache, CHS=59560/16/63, UDMA(100)
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 >

Quoted 8 lines

hde: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hde: packet command error: status=0x51 { DriveReady SeekComplete Error } hde: packet command error: error=0x54 ATAPI device hde:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Request Sense" packet command was:
"03 00 00 00 12 00 00 00 00 00 00 00 "

Quoted 3 lines

afaic looks "try to detect partitions" lookup that should not had been done on cdrom :-(

Just remove (or tweak) the ata_revalidate from the recently added attach method there and you should be fine perhaps. I will check this
tomorrow later. This doesn't happen with a modularized driver and therefore the chances are indeed very high that this is the culprit.

Signature · 3 lines
- phone: +49 214 8656 283
- job:   eVision-Ventures AG, LEV .de (MY OPINIONS ARE MY OWN!)
- langs: de_DE.ISO8859-1, en_US, pl_PL.ISO8859-2, last ressort: ru_RU.KOI8-R