Skip to contentSkip to conversation

2.5.21: "ata_task_file: unknown command 50"

DISCUSSION Miles Lane 5 participants 7 messages Jun 9, 2002 – Jun 10, 2002

lore
Share & tools
lore

Miles Lane

author
#0 lore raw
Quoted 1 line · Gert

kernel 2.5.21 hangs with repeating the message "ata_task_file: unknown command 50" forever.

I am getting this hang as well.

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 03)00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)

# ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives #
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDESCSI=y

#
# PCI host chip set support
#
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_AMD74XX=y
CONFIG_ATAPI=y
CONFIG_IDEDMA_AUTO=y

idetool says:

keep settings: Invalid argument
'Model' 'QUANTUM FIREBALLP LM30'
'Firmware' 'A35.0700'
'Serial No.' '18600683'
'Geometry' '16383/16/63'
'Cache' '1900Kb (Dual Port Cache)'
'Status' 'Active/Idle'
'DMA Mode' 'Enabled'
'IO Mode' '32-bit'
'IRQ Unmask' 'Enabled'
'Multisector' 'No'
'On Reset' 'Keep settings'
keep settings: Invalid argument
multi: Invalid argument

This chunk of a 2.5.15 log should give a good idea of the configuration:

md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
[events: 000000f4]
[events: 000000f4]

md: autorun ...
md: considering hda12 ...
md:  adding hda12 ...
md:  adding hda11 ...
md: created md0
md: bind<hda11,1>
md0: WARNING: hda12 appears to be on the same physical disk as hda11. True
     protection against single-disk failure might be compromised.
md: bind<hda12,2>
md: running: <hda12><hda11>
md: hda12's event counter: 000000f4
md: hda11's event counter: 000000f4
md0: max total readahead window set to 512k
md0: 2 data-disks, max readahead per data-disk: 256k
raid0: looking at hda11
raid0:   comparing hda11(1028032) with hda11(1028032)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hda12
raid0:   comparing hda12(1028032) with hda11(1028032)
raid0:   EQUAL
raid0: FINAL 1 zones
raid0: zone 0
raid0: checking hda11 ... contained as device 0

(1028032) is smallest!.
raid0: checking hda12 ... contained as device 1
raid0: zone->nb_dev: 2, size: 2056064
raid0: current zone offset: 1028032
raid0: done.
raid0 : md_size is 2056064 blocks.
raid0 : conf->smallest->size is 2056064 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md0 RAID superblock on device
md: hda12 [events: 000000f5]<6>(write) hda12's sb offset: 1028032
md: hda11 [events: 000000f5]<6>(write) hda11's sb offset: 1028032
md: ... autorun DONE.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery. kjournald starting. Commit interval 5 seconds
EXT3-fs: ide0(3,6): orphan cleanup on readonly fs
EXT3-fs: ide0(3,6): 18 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode. EXT3 FS 2.4-0.9.16, 02 Dec 2001 on ide0(3,6), internal journal kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.16, 02 Dec 2001 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.16, 02 Dec 2001 on md(9,0), internal journal
EXT3-fs: mounted filesystem with ordered data mode.

#1 lore raw
Quoted 1 line

kernel 2.5.21 hangs with repeating the message "ata_task_file: unknown command 50" forever.

more information of my system from 2.5.20 boot log:

Jun  3 20:53:32 viper kernel: ATA/ATAPI device driver v7.0.0
Jun  3 20:53:32 viper kernel: ATA: PCI bus speed 33.3MHz
Jun  3 20:53:32 viper kernel: ATA: Intel Corp. 82371AB PIIX4 IDE, PCI slot 00:07.1
Jun  3 20:53:32 viper kernel: ATA: chipset rev.: 1
Jun  3 20:53:32 viper kernel: ATA: non-legacy mode: IRQ probe delayed
Jun  3 20:53:32 viper kernel: PIIX: Intel Corp. 82371AB PIIX4 IDE UDMA33 controller on pci00:07.1
Jun  3 20:53:32 viper kernel:     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
Jun  3 20:53:32 viper kernel:     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Jun  3 20:53:32 viper kernel: hda: Maxtor 90845D4, DISK drive
Jun  3 20:53:32 viper kernel: hdb: LITEON DVD-ROM LTD122, ATAPI CD/DVD-ROM drive
Jun  3 20:53:32 viper kernel: hdc: PHILIPS PCA460RW, ATAPI CD/DVD-ROM drive
Jun  3 20:53:32 viper kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jun  3 20:53:32 viper kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jun  3 20:53:32 viper kernel:  hda: 16514064 sectors w/512KiB Cache, CHS=16383/16/63, UDMA(33)
Jun  3 20:53:32 viper kernel:  hda: [PTBL] [1027/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 >
Jun  3 20:53:32 viper kernel: hdb: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Jun  3 20:53:32 viper kernel: Uniform CD-ROM driver Revision: 3.12
Jun  3 20:53:32 viper kernel: SCSI subsystem driver Revision: 1.00
Jun  3 20:53:32 viper kernel: scsi0 : SCSI host adapter emulation for ATAPI devices
Jun  3 20:53:32 viper kernel:   Vendor: PHILIPS   Model: PCA460RW          Rev: 1.0g
Jun  3 20:53:32 viper kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
Jun  3 20:53:32 viper kernel: ppa: Version 2.07 (for Linux 2.4.x)
Jun  3 20:53:32 viper kernel: ppa: Found device at ID 6, Attempting to use EPP 16 bit
Jun  3 20:53:32 viper kernel: ppa: Communication established with ID 6 using EPP 16 bit
Jun  3 20:53:32 viper kernel: scsi1 : Iomega VPI0 (ppa) interface
Jun  3 20:53:32 viper kernel:   Vendor: IOMEGA    Model: ZIP 100           Rev: D.13
Jun  3 20:53:32 viper kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jun  3 20:53:32 viper kernel: Attached scsi removable disk sda at scsi1, channel 0, id 6, lun 0
Jun  3 20:53:32 viper kernel: sda : READ CAPACITY failed.
Jun  3 20:53:32 viper kernel: sda : status=1, message=00, host=0, driver=08 
Jun  3 20:53:32 viper kernel: Current sd00:00: sense key Not Ready
Jun  3 20:53:32 viper kernel: Additional sense indicates Medium not present
Jun  3 20:53:32 viper kernel: sda : block size assumed to be 512 bytes, disk size 1GB.  
Jun  3 20:53:32 viper kernel:  sda:end_request: I/O error, dev 08:00, sector 0
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 0
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 1
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 2
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 3
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 4
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 5
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 6
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 7
Jun  3 20:53:32 viper kernel: end_request: I/O error, dev 08:00, sector 0
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 0
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 1
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 2
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 3
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 4
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 5
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 6
Jun  3 20:53:32 viper kernel: Buffer I/O error on device sd(8,0), logical block 7
Jun  3 20:53:32 viper kernel:  unable to read partition table
Jun  3 20:53:32 viper kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Jun  3 20:53:32 viper kernel: sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/form2 cdda tray
#2 lore raw
In reply to Miles Lane
Quoted 3 lines · Miles Lane
Quoted 1 line · Gert

kernel 2.5.21 hangs with repeating the message "ata_task_file:

unknown command 50" forever.

IDE 86 should fix it.

#3 lore raw
Quoted 7 lines · Martin Dalecki
Quoted 3 lines · Miles Lane
Quoted 1 line · Gert

kernel 2.5.21 hangs with repeating the message "ata_task_file:

unknown command 50" forever.

IDE 86 should fix it.

What is command 50?

Thanks,
Zwane

Signature · 1 line
http://function.linuxpower.ca
#4 lore raw
Quoted 10 lines · Zwane Mwaikambo
Quoted 7 lines · Martin Dalecki
Quoted 3 lines · Miles Lane
Quoted 1 line · Gert

kernel 2.5.21 hangs with repeating the message "ata_task_file:

unknown command 50" forever.

Quoted 7 lines
Quoted 1 line

IDE 86 should fix it.

What is command 50?

Thanks,
Zwane

hdregs.h will tell you.
But it really doesn't matter. The problem is that ide-scsi was using REQ_SEPCIAL where it should be using REQ_PC in first palce.

#5 lore raw
In reply to Zwane Mwaikambo

Hi,

Quoted 1 line · Zwane Mwaikambo

What is command 50?

According to Andre Hedrick, it's Low Level Format.

Regards,
Thunder

Signature · 4 lines
German attitude becoming        |	Thunder from the hill at ngforever
rightaway popular:		|
       "Get outa my way,  	|	free inhabitant not directly
    for I got a mobile phone!"	|	belonging anywhere
#6 lore raw
In reply to Miles Lane
Quoted 7 lines · Martin Dalecki
Quoted 3 lines · Miles Lane
Quoted 1 line · Gert

kernel 2.5.21 hangs with repeating the message "ata_task_file:

unknown command 50" forever.

IDE 86 should fix it.

Yes, this patch fixes it.