Most recent kernel where this bug did not occur: Distribution: Ubuntu Fiesty, Gutsy Hardware Environment: KINGSTON DP-PCM2/5GB , Kingston 5G pcmcia HD is being recognized but not getting set up for access. [ 26.192474] ata3: PATA max PIO0 cmd 0x00012040 ctl 0x0001204e bmdma 0x00000000 irq 3 [ 26.192496] scsi5 : pata_pcmcia [ 26.236921] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [ 26.362176] ata3.00: ATA-0: KINGSTON DP-PCM2/5GB, V2.11 B, max PIO2 [ 26.362182] ata3.00: 9818550 sectors, multi 16: LBA [ 26.362311] ata3.00: failed to set xfermode (err_mask=0x1) [ 26.362314] ata3: failed to recover some devices, retrying in 5 secs
Please see https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/83471 for more details.
Interesting. I don't know why the device is claiming to be ATA because it clearly isn't. I'm not surprised it doesn't work given the way it seems to be behaving. There is some stuff in both 2.6.23 and more in 2.6.24-rc designed to handle messed up and pre-ATA devices like this.
For what it's worth, the problem persists with 2.6.24 on Ubuntu Hardy Alpha 6: ~$ uname -a Linux roadrunner 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux ~$ sudo tail /var/log/syslog Mar 20 23:48:03 roadrunner kernel: [ 217.926147] pccard: PCMCIA card inserted into slot 0 Mar 20 23:48:03 roadrunner kernel: [ 217.926165] cs: memory probe 0xdfd00000-0xdfdfffff: excluding 0xdfd00000-0xdfd0ffff 0xdfdf0000-0xdfdfffff Mar 20 23:48:03 roadrunner kernel: [ 217.938618] pcmcia: registering new device pcmcia0.0 Mar 20 23:48:03 roadrunner kernel: [ 145.532416] scsi2 : pata_pcmcia Mar 20 23:48:03 roadrunner kernel: [ 145.533206] ata3: PATA max PIO0 cmd 0xc100 ctl 0xc10e irq 3 Mar 20 23:48:03 roadrunner kernel: [ 218.306820] ata3.00: ATA-0: KINGSTON DP-PCM2/5GB, V2.11 B, max PIO2 Mar 20 23:48:03 roadrunner kernel: [ 218.306833] ata3.00: 9818550 sectors, multi 16: LBA Mar 20 23:48:03 roadrunner kernel: [ 218.307009] ata3.00: failed to set xfermode (err_mask=0x1) Mar 20 23:48:03 roadrunner kernel: [ 218.307018] ata3: failed to recover some devices, retrying in 5 secs Mar 20 23:48:08 roadrunner kernel: [ 219.116460] ata3.00: failed to set xfermode (err_mask=0x1) Mar 20 23:48:08 roadrunner kernel: [ 219.116474] ata3: failed to recover some devices, retrying in 5 secs Mar 20 23:48:14 roadrunner kernel: [ 219.334327] ata3.00: failed to set xfermode (err_mask=0x1) Mar 20 23:48:14 roadrunner kernel: [ 219.334340] ata3.00: disabled
Fun fun - added some more stuff to handle more imagintively broken boxes
Please retest with 2.6.27 when it comes out