Skip to contentSkip to conversation

2.5.69 and ide-floppy errors

DISCUSSION Gregoire Favre 4 participants 9 messages May 11, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I got those in syslog:

May 11 14:19:18 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:19:18 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:19:18 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:19:18 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:19:18 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:19:18 localhost kernel: hdb: drive not ready for command
May 11 14:20:37 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:20:37 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:20:37 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:20:37 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:20:37 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:20:37 localhost kernel: hdb: drive not ready for command
May 11 14:22:05 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:22:05 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:22:05 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:22:05 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:22:05 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:22:05 localhost kernel: hdb: drive not ready for command

???
That with my ZIP 250 on a MSI Max2-BLR mother board... Otherwise, it seems to works pretty good ;-)

Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

#1 lore raw
Quoted 10 lines · Gregoire Favre
May 11 14:19:18 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:19:18 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:19:18 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:19:18 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:19:18 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:19:18 localhost kernel: hdb: drive not ready for command

???
That with my ZIP 250 on a MSI Max2-BLR mother board... Otherwise, it seems to works pretty good ;-)

ide_tcq_intr_timeout with a ZIP disk? Oh my.

CONFIG_BLK_DEV_IDE_TCQ ?

Signature · 1 line
function.linuxpower.ca
#2 lore raw
In reply to Gregoire Favre

Hi,

Don't compile TCQ support in.
What do you have on hda and hdb?
--
Bartlomiej

Quoted 28 lines · Gregoire Favre

Hello,

I got those in syslog:

May 11 14:19:18 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:19:18 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:19:18 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:19:18 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:19:18 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:19:18 localhost kernel: hdb: drive not ready for command
May 11 14:20:37 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:20:37 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:20:37 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:20:37 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:20:37 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:20:37 localhost kernel: hdb: drive not ready for command
May 11 14:22:05 localhost kernel: ide_tcq_intr_timeout: timeout waiting for completion interrupt
May 11 14:22:05 localhost kernel: hda: invalidating tag queue (0 commands)
May 11 14:22:05 localhost kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
May 11 14:22:05 localhost kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
May 11 14:22:05 localhost kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
May 11 14:22:05 localhost kernel: hdb: drive not ready for command

???
That with my ZIP 250 on a MSI Max2-BLR mother board... Otherwise, it seems to works pretty good ;-)

Grégoire

#3 lore raw
Quoted 5 lines · Bartlomiej Zolnierkiewicz

Hi,

Don't compile TCQ support in.
What do you have on hda and hdb?

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive
hdb: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
hda: tagged command queueing enabled, command queue depth 8
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=239340/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

I'll recompil without TCQ: thank you very much for the info!!!

Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

#4 lore raw
Quoted 25 lines · Gregoire Favre
Quoted 5 lines · Bartlomiej Zolnierkiewicz

Hi,

Don't compile TCQ support in.
What do you have on hda and hdb?

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive
hdb: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
hda: tagged command queueing enabled, command queue depth 8
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=239340/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Quoted 1 line

I'll recompil without TCQ: thank you very much for the info!!!

Thanks for report.

Jens, can you comment on this issue. TCQ shouldn't be enabled when there is other device on a channel?

--
Bartlomiej

Quoted 3 lines

Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

#5 lore raw
Quoted 28 lines · Bartlomiej Zolnierkiewicz
Quoted 25 lines · Gregoire Favre
Quoted 5 lines · Bartlomiej Zolnierkiewicz

Hi,

Don't compile TCQ support in.
What do you have on hda and hdb?

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

hda: IC35L120AVVA07-0, ATA DISK drive
hdb: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
hda: tagged command queueing enabled, command queue depth 8
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 241254720 sectors (123522 MB) w/1863KiB Cache, CHS=239340/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
hdc: ATAPI 16X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)

Quoted 6 lines
Quoted 1 line

I'll recompil without TCQ: thank you very much for the info!!!

Thanks for report.

Jens, can you comment on this issue. TCQ shouldn't be enabled when there is other device on a channel?

Correct, that needs a check. It should work, but is far from optimal both from the software and hardware point of view... So I'd much rather just keep TCQ enabled only on a single drive on a channel. That way I don't have to deal with the ide tcq stupidities.

Signature · 1 line
Jens Axboe
#6 lore raw
Quoted 4 lines · Jens Axboe

Correct, that needs a check. It should work, but is far from optimal both from the software and hardware point of view... So I'd much rather just keep TCQ enabled only on a single drive on a channel. That way I don't have to deal with the ide tcq stupidities.

Well, I don't know if it's better without TCQ:

May 11 15:12:39 localhost kernel: hdb: DMA interrupt recovery
May 11 15:12:39 localhost kernel: hdb: lost interrupt
May 11 15:14:02 localhost kernel: hdb: DMA interrupt recovery
May 11 15:14:02 localhost kernel: hdb: lost interrupt

Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]

#7 lore raw
Quoted 8 lines · Gregoire Favre
Quoted 4 lines · Jens Axboe

Correct, that needs a check. It should work, but is far from optimal both from the software and hardware point of view... So I'd much rather just keep TCQ enabled only on a single drive on a channel. That way I don't have to deal with the ide tcq stupidities.

Quoted 6 lines

Well, I don't know if it's better without TCQ:

May 11 15:12:39 localhost kernel: hdb: DMA interrupt recovery
May 11 15:12:39 localhost kernel: hdb: lost interrupt
May 11 15:14:02 localhost kernel: hdb: DMA interrupt recovery
May 11 15:14:02 localhost kernel: hdb: lost interrupt

It smells fishy. Does the zip usually work as slave with that drive as master? IOW, what is your typical working config (kernel)?

Signature · 1 line
Jens Axboe
#8 lore raw
Quoted 2 lines · Jens Axboe

It smells fishy. Does the zip usually work as slave with that drive as master? IOW, what is your typical working config (kernel)?

As DVD writting is broken in 2.5, I am usualy under 2.4, and before 2.4.21-rc1-ac3 I was using ide-scsi (ide-scsi wasn't working with 2.4.21-rc1-ac3), but yes, no problem sofar ;-)

Does IOW mean In Other Word?

I have put my config in http://ulima.unil.ch/greg/linux/ or directly:
http://ulima.unil.ch/greg/linux/2.4.21-rc1-ac3-config
http://ulima.unil.ch/greg/linux/2.5.69-config

Thank you very much,

Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]