libata pcmcia failure
Hi,
I tried Fedora 7t4 LiveCD on my ThinkPad T41 with a PCMCIA "Dazzle 4in1 Card Adapter", this adapter supports Sony Memorystick, MMC, SD and SmartMedia cards. The card had a 128MB Lexmark MemoryStick installed.
Under windows the adapter works fine, but under Linux I got a bunch of errors in syslog as shown below... I do not know if it works with the Linux legacy PCMCIA IDE driver.
If I need to retrieve additional information or test something, please let me know.
Linux localhost.localdomain 2.6.20-1.3104.fc7 #1 SMP Sat Apr 21 22:20:43 EDT 2007 i686 i686 i386 GNU/Linux
Socket 0:
product info: " ", "Memory Card Adapter", "", ""
manfid: 0x0045, 0x0401
function: 4 (fixed disk)
May 14 21:46:24 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 14 21:46:24 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 14 21:46:24 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 14 21:46:24 localhost kernel: pcmcia: registering new device pcmcia0.0 May 14 21:46:25 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 3 May 14 21:46:25 localhost kernel: scsi3 : pata_pcmcia May 14 21:46:25 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:25 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:55 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:46:55 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:46:56 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:56 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:26 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:47:26 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:47:26 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 14 21:47:26 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:26 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:56 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:47:56 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:47:57 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:57 localhost udevd-event[3946]: udev_rules_apply_format: unknown format variable '$modalias'
I installed the LiveCD to a spare HDD, and updated to the latest kernel available. The errors stayed the same, but they took much longer (it seems the timeouts changed).
Linux localhost.localdomain 2.6.21-1.3149.fc7 #1 SMP Fri May 11 12:12:11 EDT 2007 i686 i686 i386 GNU/Linux
May 16 23:10:42 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 16 23:10:42 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 16 23:10:42 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 16 23:10:42 localhost kernel: pcmcia: registering new device pcmcia0.0 May 16 23:10:42 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 3 May 16 23:10:42 localhost kernel: scsi2 : pata_pcmcia May 16 23:11:43 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 16 23:11:43 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 16 23:12:44 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 16 23:12:44 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 16 23:12:44 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 16 23:13:14 localhost kernel: ATA: abnormal status 0x82 on port 0x00014107 May 16 23:13:14 localhost kernel: ATA: abnormal status 0x82 on port 0x00014107 May 16 23:13:44 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 16 23:13:44 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
Quoted 40 lines · Robert de Rooy
Hi,
I tried Fedora 7t4 LiveCD on my ThinkPad T41 with a PCMCIA "Dazzle 4in1 Card Adapter", this adapter supports Sony Memorystick, MMC, SD and SmartMedia cards. The card had a 128MB Lexmark MemoryStick installed.
Under windows the adapter works fine, but under Linux I got a bunch of errors in syslog as shown below... I do not know if it works with the Linux legacy PCMCIA IDE driver.
If I need to retrieve additional information or test something, please let me know.
Linux localhost.localdomain 2.6.20-1.3104.fc7 #1 SMP Sat Apr 21 22:20:43 EDT 2007 i686 i686 i386 GNU/Linux
Socket 0:
product info: " ", "Memory Card Adapter", "", ""
manfid:0x0045,0x0401
function: 4 (fixed disk)May 14 21:46:24 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 14 21:46:24 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 14 21:46:24 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 14 21:46:24 localhost kernel: pcmcia: registering new device pcmcia0.0 May 14 21:46:25 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 3 May 14 21:46:25 localhost kernel: scsi3 : pata_pcmcia May 14 21:46:25 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:25 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:55 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:46:55 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:46:56 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:56 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:26 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:47:26 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:47:26 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 14 21:47:26 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:26 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:56 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:47:56 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:47:57 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:57 localhost udevd-event[3946]: udev_rules_apply_format: unknown format variable '$modalias'
libata and legacy ide pcmcia failure
I tried 2.6.22rc1-git5 with both the libata pcmcia and the legacy ide pcmcia support, both failed as can be seen below...
Linux localhost.localdomain 2.6.22-rc1-git5 #5 SMP Thu May 17 21:23:42 CEST 2007 i686 i686 i386 GNU/Linux
** libata **
May 17 21:55:06 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 17 21:55:06 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 17 21:55:06 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 17 21:55:06 localhost kernel: pcmcia: registering new device pcmcia0.0 May 17 21:55:07 localhost kernel: scsi2 : pata_pcmcia May 17 21:55:07 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 0 May 17 21:55:37 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 17 21:55:37 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 17 21:56:08 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 17 21:56:08 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 17 21:56:08 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 17 21:56:18 localhost kernel: ata3: SRST failed (errno=-16) May 17 21:56:28 localhost kernel: ata3: SRST failed (errno=-16) May 17 21:56:58 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 17 21:56:58 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 17 21:56:59 localhost udevd-event[2653]: udev_rules_apply_format: unknown format variable '$modalias'
** legacy ide **
May 17 15:29:25 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 17 15:29:25 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 17 15:29:25 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 17 15:29:25 localhost kernel: pcmcia: registering new device pcmcia0.0 May 17 15:29:26 localhost kernel: hde: Memory Card Adapter, CFA DISK drive May 17 15:29:26 localhost kernel: ide2 at 0x4100-0x4107,0x410e on irq 3 May 17 15:29:26 localhost kernel: hde: max request size: 128KiB May 17 15:29:26 localhost kernel: hde: 253696 sectors (129 MB) w/1KiB Cache, CHS=991/16/16 May 17 15:29:56 localhost kernel: hde:<4>hde: lost interrupt May 17 15:30:26 localhost kernel: hde: lost interrupt May 17 15:31:06 localhost last message repeated 2 times May 17 15:32:36 localhost last message repeated 3 times
Quoted 64 lines · Robert de Rooy
I installed the LiveCD to a spare HDD, and updated to the latest kernel available. The errors stayed the same, but they took much longer (it seems the timeouts changed).
Linux localhost.localdomain 2.6.21-1.3149.fc7 #1 SMP Fri May 11 12:12:11 EDT 2007 i686 i686 i386 GNU/Linux
May 16 23:10:42 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 16 23:10:42 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 16 23:10:42 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 16 23:10:42 localhost kernel: pcmcia: registering new device pcmcia0.0 May 16 23:10:42 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 3 May 16 23:10:42 localhost kernel: scsi2 : pata_pcmcia May 16 23:11:43 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 16 23:11:43 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 16 23:12:44 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 16 23:12:44 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 16 23:12:44 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 16 23:13:14 localhost kernel: ATA: abnormal status 0x82 on port 0x00014107 May 16 23:13:14 localhost kernel: ATA: abnormal status 0x82 on port 0x00014107 May 16 23:13:44 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 16 23:13:44 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)Quoted 40 lines · Robert de Rooy
Hi,
I tried Fedora 7t4 LiveCD on my ThinkPad T41 with a PCMCIA "Dazzle 4in1 Card Adapter", this adapter supports Sony Memorystick, MMC, SD and SmartMedia cards. The card had a 128MB Lexmark MemoryStick installed.
Under windows the adapter works fine, but under Linux I got a bunch of errors in syslog as shown below... I do not know if it works with the Linux legacy PCMCIA IDE driver.
If I need to retrieve additional information or test something, please let me know.
Linux localhost.localdomain 2.6.20-1.3104.fc7 #1 SMP Sat Apr 21 22:20:43 EDT 2007 i686 i686 i386 GNU/Linux
Socket 0:
product info: " ", "Memory Card Adapter", "", ""
manfid:0x0045,0x0401
function: 4 (fixed disk)May 14 21:46:24 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 14 21:46:24 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 14 21:46:24 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 14 21:46:24 localhost kernel: pcmcia: registering new device pcmcia0.0 May 14 21:46:25 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 3 May 14 21:46:25 localhost kernel: scsi3 : pata_pcmcia May 14 21:46:25 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:25 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:55 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:46:55 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:46:56 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:46:56 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:26 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:47:26 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:47:26 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 14 21:47:26 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:26 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:56 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 14 21:47:56 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 14 21:47:57 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 May 14 21:47:57 localhost udevd-event[3946]: udev_rules_apply_format: unknown format variable '$modalias'
Re: libata and legacy ide pcmcia failure
1. Please apply timing-debug.patch on 2.6.22rc1-git5 or later and report the log with timestamp as before. Let's see why the timeout has doubled.
2. Does the attached disable-dev_init_params.patch fix your problem?
Signature · 1 line
tejun
drivers/ata/libata-core.c +5 -1
@@ -1695,8 +1695,10 @@ int ata_dev_read_id(struct ata_device *d*/ tf.flags |=ATA_TFLAG_POLLING ; +ata_dev_printk (dev,KERN_INFO ,"issuing IDENTIFY\n" ); err_mask =ata_exec_internal (dev, &tf,NULL ,DMA_FROM_DEVICE , id,sizeof (id[0 ]) *ATA_ID_WORDS ); +ata_dev_printk (dev,KERN_INFO ,"IDENTIFY complete\n" );if (err_mask) {if (err_mask &AC_ERR_NODEV_HINT ) { DPRINTK("ata%u.%d: NODEV after polling detection\n",
@@ -1779,7 +1781,9 @@ int ata_dev_read_id(struct ata_device *d* Some drives were very specific about that exact sequence. */ if (ata_id_major_version (id) <4 || !ata_id_has_lba (id)) { +ata_dev_printk (dev,KERN_INFO ,"issuing DEV_INIT_PARAMS\n" ); err_mask =ata_dev_init_params (dev, id[3 ], id[6 ]); +ata_dev_printk (dev,KERN_INFO ,"DEV_INIT_PARAMS complete\n" );if (err_mask) { rc = -EIO ; reason ="INIT_DEV_PARAMS failed" ;
@@ -6369,7 +6373,7 @@ int ata_host_register(struct ata_host *h ehi->probe_mask = (1 <<ATA_MAX_DEVICES ) -1 ; ehi->action |=ATA_EH_SOFTRESET ; - ehi->flags |=ATA_EHI_NO_AUTOPSY |ATA_EHI_QUIET ; + ehi->flags |=ATA_EHI_NO_AUTOPSY /* | ATA_EHI_QUIET*/ ; ap->pflags &= ~ATA_PFLAG_INITIALIZING ; ap->pflags |=ATA_PFLAG_LOADING ;
drivers/ata/libata-eh.c +1 -0
@@ -1980,6 +1980,7 @@ static int ata_eh_recover(struct ata_por "reset failed, giving up\n"); goto out; } +ata_port_printk (ap,KERN_INFO ,"reset complete\n" );ata_eh_thaw_port (ap); }
drivers/ata/libata-core.c +2 -0
@@ -1769,6 +1769,7 @@ int ata_dev_read_id(struct ata_device *d goto retry; } +#if 0 if ((flags &ATA_READID_POSTRESET ) && class ==ATA_DEV_ATA ) {/* * The exact sequence expected by certain pre-ATA4 drives is:
@@ -1793,6 +1794,7 @@ int ata_dev_read_id(struct ata_device *d goto retry; } } +#endif *p_class = class;
Re: libata and legacy ide pcmcia failure
Thanks for looking into this!
I tried the patches on 2.6.22rc1-git5. The second patch unfortunately did not resolve the issue, although it seems to get a bit further. Here are the logs.
** 2.6.22rc1-git5 + timing-debug.patch
May 20 22:40:49 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 20 22:40:49 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 20 22:40:49 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 20 22:40:49 localhost kernel: pcmcia: registering new device pcmcia0.0 May 20 22:40:49 localhost kernel: scsi3 : pata_pcmcia May 20 22:40:49 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 0 May 20 22:40:49 localhost kernel: ata3: soft resetting port May 20 22:40:49 localhost kernel: ata3: reset complete May 20 22:40:49 localhost kernel: ata3.00: issuing IDENTIFY May 20 22:40:49 localhost kernel: ata3.00: IDENTIFY complete May 20 22:40:49 localhost kernel: ata3.00: issuing DEV_INIT_PARAMS May 20 22:41:19 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 20 22:41:19 localhost kernel: ata3.00: DEV_INIT_PARAMS complete May 20 22:41:19 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 20 22:41:20 localhost kernel: ata3: soft resetting port May 20 22:41:30 localhost kernel: ata3: SRST failed (errno=-16) May 20 22:41:30 localhost kernel: ata3: soft resetting port May 20 22:41:30 localhost kernel: ata3: reset complete May 20 22:41:30 localhost kernel: ATA: abnormal status 0xB5 on port 0x00014107 May 20 22:41:30 localhost kernel: ATA: abnormal status 0xB5 on port 0x00014107 May 20 22:41:30 localhost kernel: ata3.00: issuing IDENTIFY May 20 22:41:30 localhost kernel: ata3.00: IDENTIFY complete May 20 22:41:30 localhost kernel: ata3.00: issuing DEV_INIT_PARAMS May 20 22:42:00 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 20 22:42:00 localhost kernel: ata3.00: DEV_INIT_PARAMS complete May 20 22:42:00 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 20 22:42:00 localhost kernel: ata3.00: limiting speed to UDMA7:PIO5 May 20 22:42:01 localhost kernel: ata3: soft resetting port May 20 22:42:01 localhost kernel: ata3: reset complete May 20 22:42:01 localhost kernel: ata3.00: issuing IDENTIFY May 20 22:42:01 localhost kernel: ata3.00: IDENTIFY complete May 20 22:42:01 localhost kernel: ata3.00: issuing DEV_INIT_PARAMS May 20 22:42:31 localhost kernel: ata3.00: qc timeout (cmd 0x91) May 20 22:42:31 localhost kernel: ata3.00: DEV_INIT_PARAMS complete May 20 22:42:31 localhost kernel: ata3.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) May 20 22:42:31 localhost kernel: ata3: soft resetting port May 20 22:42:31 localhost kernel: ata3: reset complete May 20 22:42:31 localhost kernel: ata3: EH complete May 20 22:42:32 localhost udevd-event[2541]: udev_rules_apply_format: unknown format variable '$modalias'
** 2.6.22rc1-git5 + timing-debug.patch + disable-dev_init_params.patch
May 20 23:02:25 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 20 23:02:25 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 20 23:02:25 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 20 23:02:25 localhost kernel: pcmcia: registering new device pcmcia0.0 May 20 23:02:25 localhost kernel: scsi3 : pata_pcmcia May 20 23:02:25 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 0 May 20 23:02:25 localhost kernel: ata3: soft resetting port May 20 23:02:25 localhost kernel: ata3: reset complete May 20 23:02:25 localhost kernel: ata3.00: issuing IDENTIFY May 20 23:02:26 localhost kernel: ata3.00: IDENTIFY complete May 20 23:02:26 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 May 20 23:02:26 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode (err_mask=0x4) May 20 23:02:56 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs May 20 23:03:01 localhost kernel: ata3: soft resetting port May 20 23:03:11 localhost kernel: ata3: SRST failed (errno=-16) May 20 23:03:11 localhost kernel: ata3: soft resetting port May 20 23:03:11 localhost kernel: ata3: reset complete May 20 23:03:11 localhost kernel: ata3.00: issuing IDENTIFY May 20 23:03:11 localhost kernel: ata3.00: IDENTIFY complete May 20 23:03:41 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:03:41 localhost kernel: ata3.00: failed to set xfermode (err_mask=0x4) May 20 23:03:41 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs May 20 23:03:46 localhost kernel: ata3: soft resetting port May 20 23:03:46 localhost kernel: ata3: reset complete May 20 23:03:46 localhost kernel: ata3.00: issuing IDENTIFY May 20 23:03:46 localhost kernel: ata3.00: IDENTIFY complete May 20 23:04:16 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:04:16 localhost kernel: ata3.00: failed to set xfermode (err_mask=0x4) May 20 23:04:16 localhost kernel: ata3.00: disabled May 20 23:04:17 localhost kernel: ata3: EH complete May 20 23:04:17 localhost udevd-event[2524]: udev_rules_apply_format: unknown format variable '$modalias'
Quoted 6 lines · Tejun Heo
1. Please apply timing-debug.patch on 2.6.22rc1-git5 or later and report the log with timestamp as before. Let's see why the timeout has doubled.
2. Does the attached disable-dev_init_params.patch fix your problem?
Re: libata and legacy ide pcmcia failure
Quoted 7 lines · Robert de Rooy
Thanks for looking into this!
I tried the patches on 2.6.22rc1-git5. The second patch unfortunately did not resolve the issue, although it seems to get a bit further. Here are the logs.
** 2.6.22rc1-git5 + timing-debug.patch
Oh I see. The 2.6.22rc1-git5 has new reset sequencing which uses deadline table so it takes 10sec to fail to first reset try while 2.6.21 needs 30secs. That's where the 20sec difference per each try comes from, so newer version is better. Great.
Quoted 5 lines
** 2.6.22rc1-git5 + timing-debug.patch + disable-dev_init_params.patch
May 20 23:02:26 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode(err_mask=0x4)
Hmmm... It doesn't like SETXFERMASK either. Please try the attached patch.
Signature · 1 line
tejun
drivers/ata/libata-core.c +5 -1
@@ -1769,6 +1769,7 @@ int ata_dev_read_id(struct ata_device *d goto retry; } +#if 0 if ((flags &ATA_READID_POSTRESET ) && class ==ATA_DEV_ATA ) {/* * The exact sequence expected by certain pre-ATA4 drives is:
@@ -1793,6 +1794,7 @@ int ata_dev_read_id(struct ata_device *d goto retry; } } +#endif *p_class = class;
@@ -2778,7 +2780,9 @@ static int ata_dev_set_mode(struct ata_dif (dev->xfer_shift ==ATA_SHIFT_PIO ) dev->flags |=ATA_DFLAG_PIO ; - err_mask =ata_dev_set_xfermode (dev); + err_mask =0 ; +if (!(dev->xfer_shift ==ATA_SHIFT_PIO &&ata_id_is_cfa (dev->id))) + err_mask =ata_dev_set_xfermode (dev);/* Old CFA may refuse this command, which is just fine */ if (dev->xfer_shift ==ATA_SHIFT_PIO &&ata_id_is_cfa (dev->id)) err_mask &= ~AC_ERR_DEV ;
Re: libata and legacy ide pcmcia failure
Quoted 5 lines · Tejun Heo
Quoted 3 lines
May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode(err_mask=0x4)
Hmmm... It doesn't like SETXFERMASK either. Please try the attached patch.
The CF 1.1 command list is pretty short. Unfortunately the patch you've given below won't itself cure the problem as some of the newer CF cards do need SETXFERMASK issuing to do higher PIO modes.
The CFA people also didn't put the CFA version in the ident data. What might work sanely would be
if (supports_pio == only_pio0 && cfa)
Alan
Re: libata and legacy ide pcmcia failure
Quoted 9 lines · Alan Cox
Quoted 4 lines · Tejun Heo
Quoted 3 lines
May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode(err_mask=0x4)
Hmmm... It doesn't like SETXFERMASK either. Please try the attached patch.
The CF 1.1 command list is pretty short. Unfortunately the patch you've given below won't itself cure the problem as some of the newer CF cards do need SETXFERMASK issuing to do higher PIO modes.
Yeap, it's a debug patch. What I was thinking was adding a HORKAGE for the device - e.g. ATA_HORKAGE_NO_SETXFERMODE, but product ID "Memory Card Adapter" doesn't seem too specific.
Quoted 4 lines
The CFA people also didn't put the CFA version in the ident data. What might work sanely would be
if (supports_pio == only_pio0 && cfa)
OIC. I don't really know much about these CFA thingies. If the above should work for most devices, no objection from me.
Signature · 1 line
tejun
Re: libata and legacy ide pcmcia failure
In reply to Tejun HeoThis gets a little bit further again, but now I get lots of new errors....
** 2.6.22rc1-git5 + timing-debug.patch + disable-dev_init_param-and-setxfermode-for-CFA.patch
May 21 16:58:06 localhost kernel: pccard: PCMCIA card inserted into slot 0 May 21 16:58:06 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff May 21 16:58:06 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff May 21 16:58:06 localhost kernel: pcmcia: registering new device pcmcia0.0 May 21 16:58:06 localhost kernel: scsi3 : pata_pcmcia May 21 16:58:06 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 0 May 21 16:58:06 localhost kernel: ata3: soft resetting port May 21 16:58:16 localhost kernel: ata3: SRST failed (errno=-16) May 21 16:58:16 localhost kernel: ata3: soft resetting port May 21 16:58:17 localhost kernel: ata3: reset complete May 21 16:58:17 localhost kernel: ata3.00: issuing IDENTIFY May 21 16:58:17 localhost kernel: ata3.00: IDENTIFY complete May 21 16:58:17 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 May 21 16:58:17 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA May 21 16:58:17 localhost kernel: ata3.00: issuing IDENTIFY May 21 16:58:17 localhost kernel: ata3.00: IDENTIFY complete May 21 16:58:17 localhost kernel: ata3.00: configured for PIO0 May 21 16:58:17 localhost kernel: ata3: EH complete May 21 16:58:17 localhost kernel: scsi 3:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 May 21 16:58:17 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) May 21 16:58:17 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:58:17 localhost kernel: sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA May 21 16:58:17 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) May 21 16:58:17 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:58:17 localhost kernel: sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA May 21 16:58:47 localhost kernel: sdd:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen May 21 16:58:47 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in May 21 16:58:47 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) May 21 16:58:47 localhost kernel: ata3: soft resetting port May 21 16:58:57 localhost kernel: ata3: SRST failed (errno=-16) May 21 16:58:57 localhost kernel: ata3: soft resetting port May 21 16:58:57 localhost kernel: ata3: reset complete May 21 16:58:57 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 May 21 16:58:57 localhost kernel: ata3.00: issuing IDENTIFY May 21 16:58:57 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 May 21 16:58:57 localhost last message repeated 4 times May 21 16:58:57 localhost kernel: ata3.00: IDENTIFY complete May 21 16:58:57 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) May 21 16:58:57 localhost kernel: ata3.00: revalidation failed (errno=-5) May 21 16:58:57 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs May 21 16:59:02 localhost kernel: ata3: soft resetting port May 21 16:59:12 localhost kernel: ata3: SRST failed (errno=-16) May 21 16:59:12 localhost kernel: ata3: soft resetting port May 21 16:59:22 localhost kernel: ata3: SRST failed (errno=-16) May 21 16:59:22 localhost kernel: ata3: soft resetting port May 21 16:59:23 localhost kernel: ata3: reset complete May 21 16:59:23 localhost kernel: ATA: abnormal status 0x3B on port 0x00014107 May 21 16:59:23 localhost kernel: ATA: abnormal status 0x3B on port 0x00014107 May 21 16:59:23 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 May 21 16:59:23 localhost kernel: ata3.00: issuing IDENTIFY May 21 16:59:23 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 May 21 16:59:23 localhost last message repeated 4 times May 21 16:59:23 localhost kernel: ata3.00: IDENTIFY complete May 21 16:59:23 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) May 21 16:59:23 localhost kernel: ata3.00: revalidation failed (errno=-5) May 21 16:59:23 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs May 21 16:59:28 localhost kernel: ata3: soft resetting port May 21 16:59:28 localhost kernel: ata3: reset complete May 21 16:59:28 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 May 21 16:59:28 localhost kernel: ata3.00: issuing IDENTIFY May 21 16:59:28 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 May 21 16:59:28 localhost last message repeated 4 times May 21 16:59:28 localhost kernel: ata3.00: IDENTIFY complete May 21 16:59:28 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) May 21 16:59:28 localhost kernel: ata3.00: revalidation failed (errno=-5) May 21 16:59:28 localhost kernel: ata3.00: disabled May 21 16:59:28 localhost kernel: ata3: EH complete May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: Dev sdd: unable to read RDB block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:28 localhost kernel: end_request: I/O error, dev sdd, sector 0 May 21 16:59:28 localhost kernel: Buffer I/O error on device sdd, logical block 0 May 21 16:59:28 localhost kernel: unable to read partition table May 21 16:59:28 localhost kernel: sd 3:0:0:0: [sdd] Attached SCSI removable disk May 21 16:59:28 localhost kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0 May 21 16:59:28 localhost udevd-event[2504]: udev_rules_apply_format: unknown format variable '$modalias' May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:29 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:31 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:33 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:35 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:37 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:39 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed May 21 16:59:41 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through
and it continues like that until I pull the card.
Quoted 27 lines · Tejun Heo
Quoted 8 lines · Robert de Rooy
Thanks for looking into this!
I tried the patches on 2.6.22rc1-git5. The second patch unfortunately did not resolve the issue, although it seems to get a bit further. Here are the logs.
** 2.6.22rc1-git5 + timing-debug.patch
Oh I see. The 2.6.22rc1-git5 has new reset sequencing which uses deadline table so it takes 10sec to fail to first reset try while 2.6.21 needs 30secs. That's where the 20sec difference per each try comes from, so newer version is better. Great.
Quoted 6 lines
** 2.6.22rc1-git5 + timing-debug.patch + disable-dev_init_params.patch
May 20 23:02:26 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef) May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode(err_mask=0x4)
Hmmm... It doesn't like SETXFERMASK either. Please try the attached patch.
Re: libata and legacy ide pcmcia failure
Quoted 1 line · Robert de Rooy
This gets a little bit further again, but now I get lots of new errors....
Alright, this doesn't seem to be the CF reader's problem anymore. It seems the PCMCIA controller isn't passing interrupts properly. Does any other device work in the slot?
Signature · 1 line
tejun
Re: libata and legacy ide pcmcia failure
Hmm, good question. I do not have any other PCMCIA device to test.
The only other device I have is a Cardbus Wi-Fi adapter without Linux support (Marvell). If I insert that adapter lspci seems to list it properly, but without resorting to ndiswrapper I have no way of testing it. In any case, seeing how Cardbus is PCI based this is probably pointless to resolving this issue.
Would any other log data from the controller initialization or lspci help?
Quoted 10 lines · Tejun Heo
Quoted 2 lines · Robert de Rooy
This gets a little bit further again, but now I get lots of new errors....
Alright, this doesn't seem to be the CF reader's problem anymore. It seems the PCMCIA controller isn't passing interrupts properly. Does any other device work in the slot?
Re: libata and legacy ide pcmcia failure
Quoted 8 lines · Robert de Rooy
Hmm, good question. I do not have any other PCMCIA device to test. The only other device I have is a Cardbus Wi-Fi adapter without Linux support (Marvell). If I insert that adapter lspci seems to list it properly, but without resorting to ndiswrapper I have no way of testing it. In any case, seeing how Cardbus is PCI based this is probably pointless to resolving this issue.
Would any other log data from the controller initialization or lspci help?
Hmmm... I don't really know much about PCMCIA. cc'ing linux-pcmcia.
The original thread can be read from the following URL.
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Thanks.
Signature · 1 line
tejun
Re: libata and legacy ide pcmcia failure
I don't know if linux-pcmcia is members only, so this might not reach that list.
Here are some log files...
Quoted 14 lines · Tejun Heo
Quoted 9 lines · Robert de Rooy
Hmm, good question. I do not have any other PCMCIA device to test. The only other device I have is a Cardbus Wi-Fi adapter without Linux support (Marvell). If I insert that adapter lspci seems to list it properly, but without resorting to ndiswrapper I have no way of testing it. In any case, seeing how Cardbus is PCI based this is probably pointless to resolving this issue.
Would any other log data from the controller initialization or lspci help?
Hmmm... I don't really know much about PCMCIA. cc'ing linux-pcmcia.
Quoted 9 lines
The original thread can be read from the following URL.
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Thanks.
[root@localhost ~]# pccardctl info
PRODID_1=" "
PRODID_2="Memory Card Adapter"
PRODID_3=""
PRODID_4=""
MANFID=0045,0401
FUNCID=4
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
Linux version 2.6.22-rc1-git5 ([email protected]) (gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)) #5 SMP Thu May 17 21:23:42 CEST 2007 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d2000 - 00000000000d4000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007ff60000 (usable)
BIOS-e820: 000000007ff60000 - 000000007ff77000 (ACPI data)
BIOS-e820: 000000007ff77000 - 000000007ff79000 (ACPI NVS)
BIOS-e820: 000000007ff80000 - 0000000080000000 (reserved)
BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
1151MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 524128) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 524128
early_node_map[1] active PFN ranges
0: 0 -> 524128
On node 0 totalpages: 524128
DMA zone: 40 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4056 pages, LIFO batch:0
Normal zone: 2200 pages used for memmap
Normal zone: 223080 pages, LIFO batch:31
HighMem zone: 2878 pages used for memmap
HighMem zone: 291874 pages, LIFO batch:31
DMI present.
Using APIC driver default
ACPI: RSDP 000F6D70, 0024 (r2 IBM )
ACPI: XSDT 7FF6A6BD, 004C (r1 IBM TP-1R 3210 LTP 0)
ACPI: FACP 7FF6A800, 00F4 (r3 IBM TP-1R 3210 IBM 1)
ACPI Warning (tbfadt-0434): Optional field "Gpe1Block" has zero address or length: 000000000000102C/0 [20070126]
ACPI: DSDT 7FF6A9E7, C4E5 (r1 IBM TP-1R 3210 MSFT 100000E)
ACPI: FACS 7FF78000, 0040
ACPI: SSDT 7FF6A9B4, 0033 (r1 IBM TP-1R 3210 MSFT 100000E)
ACPI: ECDT 7FF76ECC, 0052 (r1 IBM TP-1R 3210 IBM 1)
ACPI: TCPA 7FF76F1E, 0032 (r1 IBM TP-1R 3210 PTL 1)
ACPI: BOOT 7FF76FD8, 0028 (r1 IBM TP-1R 3210 LTP 1)
ACPI: PM-Timer IO Port: 0x1008
Allocating PCI resources starting at 88000000 (gap: 80000000:7f800000)
Built 1 zonelists. Total pages: 519010
Kernel command line: ro root=LABEL=/ rhgb quiet
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (0241d000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c078b000 soft=c076b000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 599.504 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2066148k/2096512k available (2092k kernel code, 29176k reserved, 1110k data, 260k init, 1179008k highmem) virtual kernel memory layout:
fixmap : 0xffc56000 - 0xfffff000 (3748 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc0725000 - 0xc0766000 ( 260 kB)
.data : 0xc060b1f2 - 0xc0720d94 (1110 kB)
.text : 0xc0400000 - 0xc060b1f2 (2092 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1199.80 BogoMIPS (lpj=599903)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capabilityCapability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000 00000180 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f9bf 00000000 00000000 00002040 00000180 00000000 00000000 Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 0800)
CPU0: Intel(R) Pentium(R) M processor 1700MHz stepping 05
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
PM: Adding info for No Bus:platform
Time: 19:02:35 Date: 04/21/107
NET: Registered protocol family 16
PM: Adding info for No Bus:vtcon0
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd8d6, last bus=8
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
PM: Adding info for acpi:acpi_system:00
PM: Adding info for acpi:button_power:00
PM: Adding info for acpi:ACPI0007:00
PM: Adding info for acpi:device:00
PM: Adding info for acpi:PNP0C0F:00
PM: Adding info for acpi:PNP0C0F:01
PM: Adding info for acpi:PNP0C0F:02
PM: Adding info for acpi:PNP0C0F:03
PM: Adding info for acpi:PNP0C0F:04
PM: Adding info for acpi:PNP0C0F:05
PM: Adding info for acpi:PNP0C0F:06
PM: Adding info for acpi:PNP0C0F:07
PM: Adding info for acpi:PNP0C01:00
PM: Adding info for acpi:PNP0C0D:00
PM: Adding info for acpi:PNP0C0E:00
PM: Adding info for acpi:PNP0A03:00
PM: Adding info for acpi:device:01
PM: Adding info for acpi:PNP0C02:00
PM: Adding info for acpi:PNP0000:00
PM: Adding info for acpi:PNP0100:00
PM: Adding info for acpi:PNP0200:00
PM: Adding info for acpi:PNP0800:00
PM: Adding info for acpi:PNP0C04:00
PM: Adding info for acpi:PNP0B00:00
PM: Adding info for acpi:PNP0303:00
PM: Adding info for acpi:IBM0057:00
PM: Adding info for acpi:PNP0700:00
PM: Adding info for acpi:device:02
PM: Adding info for acpi:PNP0501:00
PM: Adding info for acpi:PNP0400:00
PM: Adding info for acpi:IBM0071:00
PM: Adding info for acpi:PNP0C09:00
PM: Adding info for acpi:power_resource:00
PM: Adding info for acpi:PNP0C0A:00
PM: Adding info for acpi:ACPI0003:00
PM: Adding info for acpi:IBM0068:00
PM: Adding info for acpi:device:03
PM: Adding info for acpi:video:00
PM: Adding info for acpi:device:04
PM: Adding info for acpi:device:05
PM: Adding info for acpi:device:06
PM: Adding info for acpi:device:07
PM: Adding info for acpi:device:08
PM: Adding info for acpi:device:09
PM: Adding info for acpi:device:0a
PM: Adding info for acpi:device:0b
PM: Adding info for acpi:device:0c
PM: Adding info for acpi:device:0d
PM: Adding info for acpi:device:0e
PM: Adding info for acpi:bay:00
PM: Adding info for acpi:device:0f
PM: Adding info for acpi:device:10
PM: Adding info for acpi:device:11
PM: Adding info for acpi:device:12
PM: Adding info for acpi:device:13
PM: Adding info for acpi:device:14
PM: Adding info for acpi:device:15
PM: Adding info for acpi:thermal:00
PM: Adding info for acpi:thermal:01
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PM: Adding info for No Bus:pci0000:00
PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 1180-11bf claimed by ICH4 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
PM: Adding info for pci:0000:00:00.0
PM: Adding info for pci:0000:00:01.0
PM: Adding info for pci:0000:00:1d.0
PM: Adding info for pci:0000:00:1d.1
PM: Adding info for pci:0000:00:1d.2
PM: Adding info for pci:0000:00:1d.7
PM: Adding info for pci:0000:00:1e.0
PM: Adding info for pci:0000:00:1f.0
PM: Adding info for pci:0000:00:1f.1
PM: Adding info for pci:0000:00:1f.3
PM: Adding info for pci:0000:00:1f.5
PM: Adding info for pci:0000:00:1f.6
PM: Adding info for pci:0000:01:00.0
PM: Adding info for pci:0000:02:00.0
PM: Adding info for pci:0000:02:00.1
PM: Adding info for pci:0000:02:01.0
PM: Adding info for pci:0000:02:02.0
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: Power Resource [PUBS] (on)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init PM: Adding info for No Bus:pnp0 ACPI: bus type pnp registered PM: Adding info for pnp:00:00 PM: Adding info for pnp:00:01 PM: Adding info for pnp:00:02 PM: Adding info for pnp:00:03 PM: Adding info for pnp:00:04 PM: Adding info for pnp:00:05 PM: Adding info for pnp:00:06 PM: Adding info for pnp:00:07 PM: Adding info for pnp:00:08 PM: Adding info for pnp:00:09 PM: Adding info for pnp:00:0a PM: Adding info for pnp:00:0b PM: Adding info for pnp:00:0c pnp: PnP ACPI: found 13 devices ACPI: ACPI bus type pnp unregistered usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default pnp: 00:00: iomem range 0x0-0x9ffff could not be reserved pnp: 00:00: iomem range 0xc0000-0xc3fff could not be reserved pnp: 00:00: iomem range 0xc4000-0xc7fff could not be reserved pnp: 00:00: iomem range 0xc8000-0xcbfff could not be reserved Time: tsc clocksource has been installed. PM: Adding info for No Bus:mem PM: Adding info for No Bus:kmem PM: Adding info for No Bus:null PM: Adding info for No Bus:port PM: Adding info for No Bus:zero PM: Adding info for No Bus:full PM: Adding info for No Bus:random PM: Adding info for No Bus:urandom PM: Adding info for No Bus:kmsg PM: Adding info for No Bus:oldmem PCI: Bridge: 0000:00:01.0
IO window: 3000-3fff
MEM window: c0100000-c01fffff
PREFETCH window: e0000000-e7ffffff
PCI: Bus 3, cardbus bridge: 0000:02:00.0
IO window: 00004000-000040ff
IO window: 00004400-000044ff
PREFETCH window: e8000000-ebffffff
MEM window: c4000000-c7ffffff
PCI: Bus 7, cardbus bridge: 0000:02:00.1
IO window: 00004800-000048ff
IO window: 00004c00-00004cff
PREFETCH window: ec000000-efffffff
MEM window: c8000000-cbffffff
PCI: Bridge: 0000:00:1e.0
IO window: 4000-8fff
MEM window: c0200000-cfffffff
PREFETCH window: e8000000-efffffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:00.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 9, 3145728 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs...<6>Switched to high resolution mode on CPU 0
it is
Freeing initrd memory: 3466k freed
Simple Boot Flag at 0x35 set to 0x1
IBM machine detected. Enabling interrupts during APM calls.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
PM: Adding info for platform:pcspkr
PM: Adding info for No Bus:snapshot
audit: initializing netlink socket (disabled)
audit(1179774155.177:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:01:00.0pci_hotplug: PCI Hot Plug PCI Core version: 0.5
PM: Adding info for platform:vesafb.0
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
ACPI: Processor [CPU] (supports 8 throttling states)
Marking TSC unstable due to: possible TSC halt in C2.
ACPI: Thermal Zone [THM0] (46 C)
PM: Adding info for No Bus:pnp1
isapnp: Scanning for PnP cards...
Time: acpi_pm clocksource has been installed.
isapnp: No Plug & Play device found
PM: Adding info for No Bus:tty
PM: Adding info for No Bus:console
PM: Adding info for No Bus:ptmx
PM: Adding info for No Bus:tty0
PM: Adding info for No Bus:vcs
PM: Adding info for No Bus:vcsa
PM: Adding info for No Bus:tty1
PM: Adding info for No Bus:tty2
PM: Adding info for No Bus:tty3
PM: Adding info for No Bus:tty4
PM: Adding info for No Bus:tty5
PM: Adding info for No Bus:tty6
PM: Adding info for No Bus:tty7
PM: Adding info for No Bus:tty8
PM: Adding info for No Bus:tty9
PM: Adding info for No Bus:tty10
PM: Adding info for No Bus:tty11
PM: Adding info for No Bus:tty12
PM: Adding info for No Bus:tty13
PM: Adding info for No Bus:tty14
PM: Adding info for No Bus:tty15
PM: Adding info for No Bus:tty16
PM: Adding info for No Bus:tty17
PM: Adding info for No Bus:tty18
PM: Adding info for No Bus:tty19
PM: Adding info for No Bus:tty20
PM: Adding info for No Bus:tty21
PM: Adding info for No Bus:tty22
PM: Adding info for No Bus:tty23
PM: Adding info for No Bus:tty24
PM: Adding info for No Bus:tty25
PM: Adding info for No Bus:tty26
PM: Adding info for No Bus:tty27
PM: Adding info for No Bus:tty28
PM: Adding info for No Bus:tty29
PM: Adding info for No Bus:tty30
PM: Adding info for No Bus:tty31
PM: Adding info for No Bus:tty32
PM: Adding info for No Bus:tty33
PM: Adding info for No Bus:tty34
PM: Adding info for No Bus:tty35
PM: Adding info for No Bus:tty36
PM: Adding info for No Bus:tty37
PM: Adding info for No Bus:tty38
PM: Adding info for No Bus:tty39
PM: Adding info for No Bus:tty40
PM: Adding info for No Bus:tty41
PM: Adding info for No Bus:tty42
PM: Adding info for No Bus:tty43
PM: Adding info for No Bus:tty44
PM: Adding info for No Bus:tty45
PM: Adding info for No Bus:tty46
PM: Adding info for No Bus:tty47
PM: Adding info for No Bus:tty48
PM: Adding info for No Bus:tty49
PM: Adding info for No Bus:tty50
PM: Adding info for No Bus:tty51
PM: Adding info for No Bus:tty52
PM: Adding info for No Bus:tty53
PM: Adding info for No Bus:tty54
PM: Adding info for No Bus:tty55
PM: Adding info for No Bus:tty56
PM: Adding info for No Bus:tty57
PM: Adding info for No Bus:tty58
PM: Adding info for No Bus:tty59
PM: Adding info for No Bus:tty60
PM: Adding info for No Bus:tty61
PM: Adding info for No Bus:tty62
PM: Adding info for No Bus:tty63
PM: Adding info for No Bus:rtc
Real Time Clock Driver v1.12ac
PM: Adding info for No Bus:hpet
PM: Adding info for No Bus:nvram
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected an Intel 855PM Chipset.
PM: Adding info for No Bus:agpgart
agpgart: AGP aperture is 256M @ 0xd0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
PM: Adding info for platform:serial8250
PM: Adding info for No Bus:ttyS0
PM: Adding info for No Bus:ttyS1
PM: Adding info for No Bus:ttyS2
PM: Adding info for No Bus:ttyS3
pnp: Device 00:0a activated.
PM: Removing info for No Bus:ttyS0
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
PM: Adding info for No Bus:ttyS0
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
PM: Adding info for No Bus:isa
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
PM: Adding info for No Bus:lo
input: Macintosh mouse button emulation as /class/input/input0
Yenta: CardBus bridge found at 0000:02:00.0 [1014:0552]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.0, mfunc 0x01d21b22, devctl 0x64
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x8fff
cs: IO port probe 0x4000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff
pcmcia: parent PCI bridge Memory window: 0xe8000000 - 0xefffffff
PM: Adding info for No Bus:pcmcia_socket0
Yenta: CardBus bridge found at 0000:02:00.1 [1014:0552]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.1, mfunc 0x01d21b22, devctl 0x64
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x8fff
cs: IO port probe 0x4000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff
pcmcia: parent PCI bridge Memory window: 0xe8000000 - 0xefffffff
PM: Adding info for No Bus:pcmcia_socket1
usbcore: registered new interface driver libusual
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
PM: Adding info for platform:i8042
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
PM: Adding info for serio:serio0
PM: Adding info for serio:serio1
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input1
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Magic number: 7:548:41drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 260k freed
Write protecting the kernel text: 2096k
Write protecting the kernel read-only data: 850k
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.0 to 64uhci_hcd 0000:00:1d.0: UHCI Host Controlleruhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 11, io base 0x00001800
PM: Adding info for usb:usb1
PM: Adding info for No Bus:usbdev1.1_ep00
usb usb1: configuration #1 chosen from 1 choice
PM: Adding info for usb:1-0:1.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PM: Adding info for No Bus:usbdev1.1_ep81
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.1 to 64uhci_hcd 0000:00:1d.1: UHCI Host Controlleruhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 11, io base 0x00001820
PM: Adding info for usb:usb2
PM: Adding info for No Bus:usbdev2.1_ep00
usb usb2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-0:1.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PM: Adding info for No Bus:usbdev2.1_ep81
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.2 to 64uhci_hcd 0000:00:1d.2: UHCI Host Controlleruhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.2: irq 11, io base 0x00001840
PM: Adding info for usb:usb3
PM: Adding info for No Bus:usbdev3.1_ep00
usb usb3: configuration #1 chosen from 1 choice
PM: Adding info for usb:3-0:1.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PM: Adding info for No Bus:usbdev3.1_ep81ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.7 to 64ehci_hcd 0000:00:1d.7: EHCI Host Controllerehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4 ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 11, io mem 0xc0000000ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
PM: Adding info for usb:usb4
PM: Adding info for No Bus:usbdev4.1_ep00
usb usb4: configuration #1 chosen from 1 choice
PM: Adding info for usb:4-0:1.0
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2c6ab1, caps: 0x884793/0x0
serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input2
PM: Adding info for serio:serio2
PM: Adding info for No Bus:usbdev4.1_ep81
SCSI subsystem initialized
libata version 2.20 loaded.ata_piix 0000:00:1f.1: version 2.11
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi0 : ata_piix
PM: Adding info for No Bus:host0
scsi1 : ata_piix
PM: Adding info for No Bus:host1
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x00011860 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x00011868 irq 15
ata1: soft resetting port
ata1: reset complete
ata1.00: issuing IDENTIFY
ata1.00: IDENTIFY complete
ata1.00: ata_hpa_resize 1: sectors = 117210240, hpa_sectors = 117210240 ata1.00: ATA-6: HTS726060M9AT00, MH4OA6DA, max UDMA/100
ata1.00: 117210240 sectors, multi 16: LBA
ata1.00: issuing IDENTIFY
ata1.00: IDENTIFY complete
ata1.00: ata_hpa_resize 1: sectors = 117210240, hpa_sectors = 117210240 ata1.00: configured for UDMA/100
ata1: EH complete
ata2: soft resetting port
ata2: reset complete
ata2.00: issuing IDENTIFY
ata2.00: IDENTIFY complete
ata2.00: ata_hpa_resize 1: sectors = 156301488, hpa_sectors = 156301488 ata2.00: ATA-6: HTS548080M9AT00, MG4OA5HA, max UDMA/100
ata2.00: 156301488 sectors, multi 16: LBA
ata2.00: issuing IDENTIFY
ata2.00: IDENTIFY complete
ata2.00: ata_hpa_resize 1: sectors = 156301488, hpa_sectors = 156301488 ata2.00: configured for UDMA/100
ata2: EH complete
PM: Adding info for No Bus:target0:0:0
scsi 0:0:0:0: Direct-Access ATA HTS726060M9AT00 MH4O PQ: 0 ANSI: 5
PM: Adding info for scsi:0:0:0:0
sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda:<6>usb 2-2: new full speed USB device using uhci_hcd and address 3
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.3_ep00
usb 2-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-2:1.0
PM: Adding info for No Bus:usbdev2.3_ep82
PM: Adding info for No Bus:usbdev2.3_ep01
libusual: modprobe for usb-storage succeeded, but module is not present
sda1
sd 0:0:0:0: [sda] Attached SCSI disk
PM: Adding info for No Bus:target1:0:0
scsi 1:0:0:0: Direct-Access ATA HTS548080M9AT00 MG4O PQ: 0 ANSI: 5
PM: Adding info for scsi:1:0:0:0
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1 sdb2
sd 1:0:0:0: [sdb] Attached SCSI disk
PM: Adding info for No Bus:device-mapper
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: [email protected] kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode. SELinux: Disabled at runtime. SELinux: Unregistering netfilter hooks
audit(1179774162.345:2): selinux=0 auid=4294967295
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /class/input/input3
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
Floppy drive(s): fd0 is 1.44M
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7:<6>FDC 0 is a National Semiconductor PC87306
clean.
cs: IO port probe 0xa00-0xaff:<7>PM: Adding info for platform:floppy.0
clean.
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.iTCO_vendor_support: vendor-support=0
ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PM: Adding info for No Bus:i2c-0iTCO_wdt: Intel TCO WatchDog Timer Driver v1.01 (21-Jan-2007)
PM: Adding info for platform:iTCO_wdtiTCO_wdt: Found a ICH4-M TCO device (Version=1, TCOBASE=0x1060)
PM: Adding info for No Bus:watchdogiTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)intel_rng: FWH not detected
PM: Adding info for No Bus:timer
PM: Adding info for No Bus:seq
PM: Adding info for No Bus:sequencer
PM: Adding info for No Bus:sequencer2
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.6 to 64
PM: Adding info for No Bus:pcmC1D0p
PM: Adding info for No Bus:pcmC1D0c
PM: Adding info for No Bus:dsp1
PM: Adding info for No Bus:audio1
PM: Adding info for ac97:1-1:Si3036,8
PM: Adding info for No Bus:controlC1
PM: Adding info for No Bus:mixer1
NET: Registered protocol family 23
pnp: Device 00:0c activated.
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
PM: Adding info for No Bus:irda0
IrDA: Registered device irda0
nsc-ircc, Found dongle: HP HSDL-1100/HSDL-2100
PM: Adding info for platform:nsc-ircc.0
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
e1000: 0000:02:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:11:25:2b:ab:92
PM: Adding info for No Bus:eth0
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connectionparport_pc 00:0b: reported by Plug and Play ACPI
parport0: PC-style at 0x3bc, irq 7 [PCSPP,TRISTATE]
PM: Adding info for platform:parport_pc.956
PM: Removing info for platform:parport_pc.956
PM: Adding info for platform:parport_pc.888
PM: Removing info for platform:parport_pc.888
PM: Adding info for platform:parport_pc.632
PM: Removing info for platform:parport_pc.632
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.5 to 64
AC'97 0 analog subsections not readyintel8x0_measure_ac97_clock: measured 50315 usecs
intel8x0: clocking to 48000
PM: Adding info for No Bus:pcmC0D4p
PM: Adding info for No Bus:pcmC0D3c
PM: Adding info for No Bus:pcmC0D2c
PM: Adding info for No Bus:pcmC0D1c
PM: Adding info for No Bus:adsp
PM: Adding info for No Bus:pcmC0D0p
PM: Adding info for No Bus:pcmC0D0c
PM: Adding info for No Bus:dsp
PM: Adding info for No Bus:audio
PM: Adding info for ac97:0-0:AD1981B
PM: Adding info for No Bus:controlC0
PM: Adding info for No Bus:mixer
loop: module loaded
lp0: using parport0 (interrupt-driven).
lp0: console ready
sonypi: Sony Programmable I/O Controller Driver v1.26.
PM: Adding info for No Bus:vcs8
PM: Adding info for No Bus:vcsa8
PM: Removing info for No Bus:vcs8
PM: Removing info for No Bus:vcsa8
PM: Adding info for No Bus:vcs8
PM: Adding info for No Bus:vcsa8
PM: Removing info for No Bus:vcs8
PM: Removing info for No Bus:vcsa8
PM: Adding info for No Bus:vcs8
PM: Adding info for No Bus:vcsa8
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 [drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.27.0 20060524 on minor 0
Clocksource tsc unstable (delta = -175488522 ns)
ACPI: AC Adapter [AC] (off-line)
ACPI: Battery Slot [BAT0] (battery present)
PM: Adding info for platform:dock.0
ACPI: ACPI Dock Station Driver
ACPI: \_SB_.PCI0.IDE0.SCND.MSTR: found ejectable bay
ACPI: \_SB_.PCI0.IDE0.SCND.MSTR: Adding notify handler
PM: Adding info for platform:bay.0
ACPI: Bay [\_SB_.PCI0.IDE0.SCND.MSTR] Added
input: Power Button (FF) as /class/input/input4
ACPI: Power Button (FF) [PWRF]
input: Lid Switch as /class/input/input5
ACPI: Lid Switch [LID]
input: Sleep Button (CM) as /class/input/input6
ACPI: Sleep Button (CM) [SLPB]
ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
device-mapper: multipath: version 1.0.5 loaded
EXT3 FS on dm-0, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2031608k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 across:2031608k
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:microcode
PM: Adding info for platform:microcode
PM: Adding info for No Bus:microcode
PM: Removing info for No Bus:microcode
IA-32 Microcode Update Driver: v1.14a <[email protected]>
PM: Removing info for No Bus:microcode
PM: Removing info for platform:microcodeip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.nf_conntrack version 0.5.0 (8192 buckets, 65536 max)
Bluetooth: Core ver 2.11
PM: Adding info for platform:bluetooth
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
usb 2-2: USB disconnect, address 3
PM: Removing info for No Bus:usbdev2.3_ep82
PM: Removing info for No Bus:usbdev2.3_ep01
PM: Removing info for usb:2-2:1.0
PM: Removing info for No Bus:usbdev2.3_ep00
PM: Removing info for usb:2-2
usb 2-2: new full speed USB device using uhci_hcd and address 4
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.4_ep00
usb 2-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-2:1.0
PM: Adding info for No Bus:usbdev2.4_ep82
PM: Adding info for No Bus:usbdev2.4_ep01
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
PM: Adding info for No Bus:host2
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
usb-storage: device scan complete
PM: Adding info for No Bus:target2:0:0
scsi 2:0:0:0: Direct-Access IBM Memory Key 3.52 PQ: 0 ANSI: 0 CCS
PM: Adding info for No Bus:target2:0:1
PM: Removing info for No Bus:target2:0:1
PM: Adding info for No Bus:target2:0:2
PM: Removing info for No Bus:target2:0:2
PM: Adding info for No Bus:target2:0:3
PM: Removing info for No Bus:target2:0:3
PM: Adding info for No Bus:target2:0:4
PM: Removing info for No Bus:target2:0:4
PM: Adding info for No Bus:target2:0:5
PM: Removing info for No Bus:target2:0:5
PM: Adding info for No Bus:target2:0:6
PM: Removing info for No Bus:target2:0:6
PM: Adding info for No Bus:target2:0:7
PM: Removing info for No Bus:target2:0:7
PM: Adding info for scsi:2:0:0:0
sd 2:0:0:0: [sdc] 499712 512-byte hardware sectors (256 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 45 00 00 08
sd 2:0:0:0: [sdc] Assuming drive cache: write through
sd 2:0:0:0: [sdc] 499712 512-byte hardware sectors (256 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 45 00 00 08
sd 2:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 2:0:0:0: [sdc] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Adding info for No Bus:vcs2
PM: Adding info for No Bus:vcsa2
PM: Removing info for No Bus:vcs2
PM: Removing info for No Bus:vcsa2
PM: Adding info for No Bus:vcs2
PM: Adding info for No Bus:vcsa2
PM: Adding info for No Bus:vcs3
PM: Adding info for No Bus:vcsa3
PM: Removing info for No Bus:vcs3
PM: Removing info for No Bus:vcsa3
PM: Adding info for No Bus:vcs3
PM: Adding info for No Bus:vcsa3
PM: Adding info for No Bus:vcs4
PM: Adding info for No Bus:vcsa4
PM: Removing info for No Bus:vcs4
PM: Removing info for No Bus:vcsa4
PM: Adding info for No Bus:vcs4
PM: Adding info for No Bus:vcsa4
PM: Adding info for No Bus:vcs6
PM: Adding info for No Bus:vcsa6
PM: Removing info for No Bus:vcs6
PM: Removing info for No Bus:vcsa6
PM: Adding info for No Bus:vcs6
PM: Adding info for No Bus:vcsa6
PM: Adding info for No Bus:vcs5
PM: Adding info for No Bus:vcsa5
PM: Removing info for No Bus:vcs5
PM: Removing info for No Bus:vcsa5
PM: Adding info for No Bus:vcs5
PM: Adding info for No Bus:vcsa5
PM: Adding info for No Bus:vcs7
PM: Adding info for No Bus:vcsa7
PM: Removing info for No Bus:vcs7
PM: Removing info for No Bus:vcsa7
PM: Adding info for No Bus:vcs7
PM: Adding info for No Bus:vcsa7
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
[drm] writeback test succeeded in 2 usecs
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
Subsystem: IBM Thinkpad T41
Flags: bus master, fast devsel, latency 0
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [e4] Vendor Specific Information
Capabilities: [a0] AGP version 2.0
00: 86 80 40 33 06 01 90 20 03 00 00 06 00 00 00 00
10: 08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 29 05
30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 02 00 00 00 00 00 00 00 00 00 00 00 27 00 00
60: 10 20 30 40 00 00 00 00 00 00 00 00 00 00 00 00
70: 04 04 00 00 00 00 00 00 00 00 02 2d 71 32 40 30
80: 71 00 80 05 00 00 00 00 00 10 01 00 00 00 00 00
90: 10 11 11 01 30 11 11 00 41 19 00 00 00 1a 7d 00
a0: 02 00 20 00 17 02 00 1f 01 03 00 00 00 00 00 00
b0: 80 00 00 00 00 00 00 00 00 00 f0 37 20 10 00 00
c0: 44 40 50 11 00 80 05 06 00 00 00 00 00 00 00 00
d0: 02 28 00 0e 0b 00 00 30 00 00 31 b5 00 00 02 00
e0: 00 00 00 00 09 a0 04 41 00 00 00 00 00 00 00 00
f0: 00 00 01 00 74 f8 20 80 38 0f 21 00 04 00 00 00
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 96 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 00003000-00003fff Memory behind bridge: c0100000-c01fffff Prefetchable memory behind bridge: e0000000-e7ffffff
00: 86 80 41 33 07 01 a0 00 03 00 04 06 00 60 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 40 30 30 a0 22 20: 10 c0 10 c0 00 e0 f0 e7 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: d4 95 ff 1f 41 f4 09 00 cc 08 94 8c 55 fe 03 00 60: 01 00 00 00 52 48 80 00 b2 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1800 [size=32]
00: 86 80 c2 24 05 00 80 02 01 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]
00: 86 80 c4 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 21 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1840 [size=32]
00: 86 80 c7 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 03 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at c0000000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00: 86 80 cd 24 06 01 90 02 01 20 03 0c 00 00 00 00
10: 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 2e 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 04 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 58 c2 c9 00 00 00 00 0a 00 80 20 00 00 00 00
60: 20 20 1f 00 00 00 00 00 01 00 00 00 00 00 08 c0
70: 00 00 c7 0f 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 20 00 3f 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 78 bf 1f 00 88 83 00 00 60 0f 00 00 06 00 00 00
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=08, sec-latency=168
I/O behind bridge: 00004000-00008fff
Memory behind bridge: c0200000-cfffffff
Prefetchable memory behind bridge: e8000000-efffffff
00: 86 80 48 24 07 01 80 80 81 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 02 08 a8 40 80 80 22
20: 20 c0 f0 cf 00 e8 f0 ef 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00
40: 02 28 20 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 02 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 10 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 01 00 02 00 00 00 c0 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 2c 4a
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
Flags: bus master, medium devsel, latency 0
00: 86 80 cc 24 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 01 10 00 00 10 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 81 11 00 00 10 00 00 00
60: 0b 0b 0b 0b 92 00 00 00 80 80 80 0b 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: ff fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 24 02 00 00 00 00 00 00 0d 00 00 00 00 00 08 00
b0: 00 00 00 00 00 00 00 00 00 00 02 0a 00 00 00 00
c0: 10 00 00 00 e0 15 00 00 00 00 00 00 0f 00 00 00
d0: 07 28 00 00 02 0f 00 00 04 00 00 00 00 00 00 00
e0: 10 02 00 ff 01 16 0f 3c 33 22 11 00 00 00 67 45
f0: 00 00 00 00 00 00 00 00 60 0f 03 00 00 00 80 00
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: IBM Thinkpad R50e model 1634 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 1860 [size=16] Memory at 88000000 (32-bit, non-prefetchable) [size=1K]
00: 86 80 ca 24 07 00 80 02 01 8a 01 01 00 00 00 00 10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 20: 61 18 00 00 00 00 00 88 00 00 00 00 14 10 2d 05 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00 40: 07 a3 07 a3 00 00 00 00 05 00 01 01 00 00 00 00 50: 00 00 00 00 50 54 00 00 00 00 00 00 00 00 00 00 60: 08 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
Subsystem: IBM Thinkpad R50e model 1634
Flags: medium devsel, IRQ 11
I/O ports at 1880 [size=32]
00: 86 80 c3 24 01 00 80 02 01 00 05 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 02 00 00
40: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Subsystem: IBM Thinkpad T41 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 1c00 [size=256] I/O ports at 18c0 [size=64] Memory at c0000c00 (32-bit, non-prefetchable) [size=512] Memory at c0000800 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2
00: 86 80 c5 24 07 00 90 02 01 00 01 04 00 00 00 00 10: 01 1c 00 00 c1 18 00 00 00 0c 00 c0 00 08 00 c0 20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 37 05 30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 02 00 00 40: 09 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 01 00 c2 c9 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
Subsystem: IBM Unknown device 0525
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 2400 [size=256]
I/O ports at 2000 [size=128]
Capabilities: [50] Power Management version 2
00: 86 80 c6 24 05 00 90 02 01 00 03 07 00 00 00 00
10: 01 24 00 00 01 20 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 25 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 c2 c9 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 [Mobility FireGL 9000] (rev 02) (prog-if 00 [VGA])
Subsystem: IBM Unknown device 0531 Flags: bus master, stepping, fast Back2Back, 66MHz, medium devsel, latency 66, IRQ 11 Memory at e0000000 (32-bit, prefetchable) [size=128M] I/O ports at 3000 [size=256] Memory at c0100000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at c0120000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2
00: 02 10 66 4c 87 03 b0 02 02 00 00 03 08 42 00 00 10: 08 00 00 e0 01 30 00 00 00 00 10 c0 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 31 05 30: 00 00 00 00 58 00 00 00 00 00 00 00 0b 01 08 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 31 05 50: 01 00 02 06 00 00 00 00 02 50 20 00 17 02 00 2f 60: 01 03 00 1f 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
Subsystem: IBM Unknown device 0552 Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at b0000000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: e8000000-ebfff000 (prefetchable) Memory window 1: c4000000-c7fff000 I/O window 0: 00004000-000040ff I/O window 1: 00004400-000044ff 16-bit legacy interface ports at 0001
00: 4c 10 46 ac 07 00 10 02 01 00 07 06 20 a8 82 00 10: 00 00 00 b0 a0 00 00 02 02 03 06 b0 00 00 00 e8 20: 00 f0 ff eb 00 00 00 c4 00 f0 ff c7 00 40 00 00 30: fc 40 00 00 00 44 00 00 fc 44 00 00 0b 01 c0 05 40: 14 10 52 05 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 71 d0 40 08 00 00 0a 04 00 00 0f 00 22 1b d2 01 90: c0 02 64 41 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 00 12 fe 00 00 c0 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
Subsystem: IBM Unknown device 0552 Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at b1000000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=07, subordinate=07, sec-latency=176 Memory window 0: ec000000-effff000 (prefetchable) Memory window 1: c8000000-cbfff000 I/O window 0: 00004800-000048ff I/O window 1: 00004c00-00004cff 16-bit legacy interface ports at 0001
00: 4c 10 46 ac 07 00 10 02 01 00 07 06 20 a8 82 00 10: 00 00 00 b1 a0 00 00 02 02 07 07 b0 00 00 00 ec 20: 00 f0 ff ef 00 00 00 c8 00 f0 ff cb 00 48 00 00 30: fc 48 00 00 00 4c 00 00 fc 4c 00 00 0b 02 c0 05 40: 14 10 52 05 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 71 d0 40 08 00 00 0a 04 00 00 0f 00 22 1b d2 01 90: c0 02 64 41 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 00 12 fe 00 00 c0 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
Subsystem: IBM PRO/1000 MT Mobile Connection Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11 Memory at c0240000 (32-bit, non-prefetchable) [size=128K] Memory at c0200000 (32-bit, non-prefetchable) [size=64K] I/O ports at 8000 [size=64] [virtual] Expansion ROM at c0220000 [disabled] [size=64K] Capabilities: [dc] Power Management version 2
00: 86 80 1e 10 17 01 30 02 03 00 00 02 08 40 00 00 10: 00 00 24 c0 00 00 20 c0 01 80 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 22 00 00 00 14 10 49 05 30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 ff 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 c8
e0: 00 20 00 14 07 00 02 00 00 00 40 04 00 00 00 00
f0: 05 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00
02:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Unknown device 17ab:8331
Flags: bus master, medium devsel, latency 80, IRQ 11
Memory at c0210000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
00: 8c 16 14 10 16 01 90 02 01 00 00 02 08 50 00 00
10: 00 00 21 c0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 ab 17 31 83
30: 00 00 00 00 44 00 00 00 00 00 00 00 0b 01 0a 1c
40: 00 00 00 00 01 00 02 00 00 40 00 c6 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Re: libata and legacy ide pcmcia failure
In reply to Tejun HeoQuoted 10 lines · Tejun Heo
Quoted 8 lines · Robert de Rooy
Hmm, good question. I do not have any other PCMCIA device to test. The only other device I have is a Cardbus Wi-Fi adapter without Linux support (Marvell). If I insert that adapter lspci seems to list it properly, but without resorting to ndiswrapper I have no way of testing it. In any case, seeing how Cardbus is PCI based this is probably pointless to resolving this issue.
Would any other log data from the controller initialization or lspci help?
Quoted 7 lines
Hmmm... I don't really know much about PCMCIA. cc'ing linux-pcmcia.
The original thread can be read from the following URL.
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling...
This isn't an ARM platform perchance, is it?
Jeff
Re: libata and legacy ide pcmcia failure
Quoted 17 lines · Jeff Garzik
Quoted 16 lines · Tejun Heo
Quoted 8 lines · Robert de Rooy
Hmm, good question. I do not have any other PCMCIA device to test. The only other device I have is a Cardbus Wi-Fi adapter without Linux support (Marvell). If I insert that adapter lspci seems to list it properly, but without resorting to ndiswrapper I have no way of testing it. In any case, seeing how Cardbus is PCI based this is probably pointless to resolving this issue.
Would any other log data from the controller initialization or lspci help?
Hmmm... I don't really know much about PCMCIA. cc'ing linux-pcmcia.
The original thread can be read from the following URL.
Quoted 10 lines
Quoted 1 line
It seems we're losing interrupts from the CFA device. Any ideas?
Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling...
This isn't an ARM platform perchance, is it?
Jeff
No, it is a ThinkPad T41 with Intel Pentium M.
I have posted full logs to the list, but the copy to linux-pcmcia got stuck in moderator approval due to exceeding a 40KB limit.
Re: libata and legacy ide pcmcia failure
In reply to Jeff GarzikQuoted 6 lines
Quoted 3 lines
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling...
Not that I know of. Not devices anyway - there are embedded boxes with no IRQ configuration for the CF slot but we've never supported those (indeed there are even people who bitbang ATA on GPIO pins...)
Re: libata and legacy ide pcmcia failure
Quoted 12 lines · Alan Cox
Quoted 6 lines
Quoted 4 lines
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling...
Not that I know of. Not devices anyway - there are embedded boxes with no IRQ configuration for the CF slot but we've never supported those (indeed there are even people who bitbang ATA on GPIO pins...)
So my understanding is, that although some issues with the libata pcmcia code where found, the latest issue is a pure pcmcia issue? Anything I can supply or test to further narrow down the problem?
I have already posted lspci -vxxx and full dmesg log to the linux-kernel list, but here are some select pieces of it....
Yenta: CardBus bridge found at 0000:02:00.0 [1014:0552]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.0, mfunc 0x01d21b22, devctl 0x64
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x8fff
cs: IO port probe 0x4000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff
pcmcia: parent PCI bridge Memory window: 0xe8000000 - 0xefffffff
PM: Adding info for No Bus:pcmcia_socket0
Yenta: CardBus bridge found at 0000:02:00.1 [1014:0552]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.1, mfunc 0x01d21b22, devctl 0x64
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x8fff
cs: IO port probe 0x4000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff
pcmcia: parent PCI bridge Memory window: 0xe8000000 - 0xefffffff
PM: Adding info for No Bus:pcmcia_socket1
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7 clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
Subsystem: IBM Unknown device 0552
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: e8000000-ebfff000 (prefetchable)
Memory window 1: c4000000-c7fff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 000100: 4c 10 46 ac 07 00 10 02 01 00 07 06 20 a8 82 00 10: 00 00 00 b0 a0 00 00 02 02 03 06 b0 00 00 00 e8 20: 00 f0 ff eb 00 00 00 c4 00 f0 ff c7 00 40 00 00 30: fc 40 00 00 00 44 00 00 fc 44 00 00 0b 01 c0 05 40: 14 10 52 05 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 71 d0 40 08 00 00 0a 04 00 00 0f 00 22 1b d2 01 90: c0 02 64 41 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 00 12 fe 00 00 c0 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
Subsystem: IBM Unknown device 0552
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at b1000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=07, subordinate=07, sec-latency=176
Memory window 0: ec000000-effff000 (prefetchable)
Memory window 1: c8000000-cbfff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 000100: 4c 10 46 ac 07 00 10 02 01 00 07 06 20 a8 82 00 10: 00 00 00 b1 a0 00 00 02 02 07 07 b0 00 00 00 ec 20: 00 f0 ff ef 00 00 00 c8 00 f0 ff cb 00 48 00 00 30: fc 48 00 00 00 4c 00 00 fc 4c 00 00 0b 02 c0 05 40: 14 10 52 05 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 71 d0 40 08 00 00 0a 04 00 00 0f 00 22 1b d2 01 90: c0 02 64 41 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 00 12 fe 00 00 c0 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Re: libata and legacy ide pcmcia failure
In reply to Alan CoxQuoted 12 lines · Alan Cox
Quoted 6 lines
Quoted 4 lines
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling...
Not that I know of. Not devices anyway - there are embedded boxes with no IRQ configuration for the CF slot but we've never supported those (indeed there are even people who bitbang ATA on GPIO pins...)
I was able to test the same PCMCIA adapter in a different ThinkPad, an X40.
The X40 also fails although it has a totally different Cardbus controller (TI on the T40 vs Ricoh on the X40)
Here is the log from the X40 running the same kernel as before (2.6.22rc1-git5 + timing-debug.patch + disable-dev_init_param-and-setxfermode-for-CFA.patch)
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
Jun 6 22:10:21 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 6 22:10:21 localhost kernel: cs: memory probe 0xf0000000-0xf7ffffff: excluding 0xf0000000-0xf7ffffff Jun 6 22:10:21 localhost kernel: cs: memory probe 0xd0200000-0xdfffffff: excluding 0xd0200000-0xd11fffff 0xd1a00000-0xd21fffff 0xd2a00000-0xd31fffff 0xd3a00000-0xd81fffff 0xd8a00000-0xd91fffff 0xd9a00000-0xda1fffff 0xdaa00000-0xdb1fffff 0xdba00000-0xdc1fffff 0xdca00000-0xdd1fffff 0xdda00000-0xde1fffff 0xdea00000-0xdf1fffff 0xdfa00000-0xe01fffff Jun 6 22:10:21 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 6 22:10:21 localhost kernel: scsi3 : pata_pcmcia Jun 6 22:10:21 localhost kernel: ata3: PATA max PIO0 cmd 0x00013100 ctl 0x0001310e bmdma 0x00000000 irq 0 Jun 6 22:10:21 localhost kernel: ata3: soft resetting port Jun 6 22:10:32 localhost kernel: ata3: SRST failed (errno=-16) Jun 6 22:10:32 localhost kernel: ata3: soft resetting port Jun 6 22:10:42 localhost kernel: ata3: SRST failed (errno=-16) Jun 6 22:10:42 localhost kernel: ata3: soft resetting port ata3: SRST failed (errno=-16) Jun 6 22:11:17 localhost kernel: ata3: SRST failed (errno=-16) Jun 6 22:11:17 localhost kernel: ata3: soft resetting port ata3: SRST failed (errno=-16) ata3: reset failed, giving up Jun 6 22:11:22 localhost kernel: ata3: SRST failed (errno=-16) Jun 6 22:11:22 localhost kernel: ata3: reset failed, giving up Jun 6 22:11:22 localhost kernel: ata3: EH complete Jun 6 22:11:22 localhost udevd-event[2459]: udev_rules_apply_format: unknown format variable '$modalias'
And here is the lspci data from the X40
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, fast devsel, latency 0
Memory at <unassigned> (32-bit, prefetchable)
Capabilities: [40] Vendor Specific Information
00: 86 80 80 35 06 01 90 20 02 00 00 06 00 00 80 00
10: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 5c 05
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
40: 09 00 05 81 00 00 00 00 00 00 c1 fe 02 28 00 0e
50: 00 01 34 00 10 00 00 00 00 10 11 11 00 30 11 11
60: 0a 79 00 02 00 00 08 00 00 00 00 00 00 00 00 00
70: 02 09 00 00 56 60 00 02 01 00 80 00 00 00 00 00
80: 02 00 00 66 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 02 00 20 00 17 02 00 1f 01 00 00 00 00 00 00 00
b0: 00 00 f0 eb 00 00 00 00 00 00 00 00 20 10 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 02 00 06 01 00 00
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, fast devsel, latency 0
00: 86 80 84 35 06 00 80 00 02 00 80 08 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 5d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 04 08 18 28 00 00 00 00 00 00 00 00 00 00 00 00
50: 11 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 42 00 2a 00 00 00 00 00 00 c0 10 00 00 00 00
70: 75 99 00 20 01 00 00 00 74 e9 1f 00 00 00 00 00
80: 69 00 af 00 bc 01 00 00 10 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 b9 19 12 04 b7 0a 00 00
a0: ff 52 05 30 00 00 00 00 98 87 00 00 a1 b4 20 00
b0: 00 00 00 00 00 00 00 00 84 59 00 00 66 02 9d 04
c0: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, fast devsel, latency 0
00: 86 80 85 35 06 00 80 00 02 00 80 08 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 5e 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 04 04 00 00 00 00 11 11 3c 51 65 0b 50 64 0b 51
50: 65 0b 00 00 00 00 00 00 01 08 39 2d 35 33 03 0b
60: 00 00 00 00 00 00 00 00 04 04 00 00 31 3e 00 00
70: 00 00 00 00 04 04 41 27 e7 c7 0f 46 27 12 84 02
80: ff 1f 00 00 ef 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 80 13 1f 00 00 00 00
b0: 00 00 00 00 80 02 00 00 00 00 00 00 00 00 00 00
c0: 07 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 21 02 00 00 00 00 08 c3 00 ff 25 00 00 00
e0: 2a 00 27 00 da 00 a7 00 00 00 00 00 00 04 00 00
f0: 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) (prog-if 00 [VGA])
Subsystem: IBM Unknown device 0557
Flags: fast devsel, IRQ 11
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Memory at d0000000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 1800 [size=8]
Capabilities: [d0] Power Management version 1
00: 86 80 82 35 03 00 90 00 02 00 00 03 00 00 80 00
10: 08 00 00 e0 00 00 00 d0 01 18 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 57 05
30: 00 00 00 00 d0 00 00 00 00 00 00 00 0b 01 00 00
40: 09 00 05 81 00 40 00 00 00 00 00 00 00 00 00 00
50: 00 01 34 00 10 00 00 00 00 00 02 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: ff 52 05 30 00 00 00 00 e8 88 00 00 29 c5 20 00
b0: 00 00 00 00 00 00 00 00 5c 5a 00 00 fa e4 9e 04
c0: 07 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 21 02 00 00 00 00 08 c3 00 ff 25 00 00 00
e0: 2a 00 27 00 da 00 a7 00 00 00 00 00 00 04 00 00
f0: 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 00
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: IBM Unknown device 0557
Flags: fast devsel
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Memory at d0080000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1
00: 86 80 82 35 03 00 90 00 02 00 80 03 00 00 80 00
10: 08 00 00 e8 00 00 08 d0 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 57 05
30: 00 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00
40: 09 00 05 81 00 40 00 00 00 00 00 00 00 00 00 00
50: 00 01 34 00 10 00 00 00 00 00 02 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: ff 52 05 30 00 00 00 00 4a 89 00 00 83 cc 20 00
b0: 00 00 00 00 00 00 00 00 90 5a 00 00 11 dc 9f 04
c0: 07 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 21 02 00 00 00 00 08 c3 00 ff 25 00 00 00
e0: 2a 00 27 00 da 00 a7 00 00 00 00 00 00 04 00 00
f0: 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 00
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 1820 [size=32]
00: 86 80 c2 24 05 00 80 02 01 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 21 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 1840 [size=32]
00: 86 80 c4 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 1860 [size=32]
00: 86 80 c7 24 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 61 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 03 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at d0100000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00: 86 80 cd 24 06 01 90 02 01 20 03 0c 00 00 00 00
10: 00 00 10 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 2e 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 04 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 58 c2 c9 00 80 00 00 0a 00 80 20 00 00 00 00
60: 20 20 1f 00 00 00 00 00 01 00 00 00 00 00 08 c0
70: 00 00 df 0f 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3f 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 78 bf 1f 00 88 83 00 00 60 0f 00 00 06 00 00 00
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=05, sec-latency=64
I/O behind bridge: 00003000-00007fff
Memory behind bridge: d0200000-dfffffff
Prefetchable memory behind bridge: f0000000-f7ffffff
00: 86 80 48 24 07 01 80 80 81 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 02 05 40 30 70 80 22
20: 20 d0 f0 df 00 f0 f0 f7 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00
40: 02 28 20 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 02 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 86 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 10 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 01 00 02 00 00 00 c0 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 4e 32
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
Flags: bus master, medium devsel, latency 0
00: 86 80 cc 24 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 01 10 00 00 10 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 81 11 00 00 10 00 00 00
60: 8b 8b 8b 8b 92 00 00 00 8b 8b 80 8b 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: ff fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 24 02 00 00 00 00 00 00 12 00 00 00 00 00 08 00
b0: 00 00 00 00 00 00 00 00 00 00 02 0a 00 00 00 00
c0: 10 00 00 00 e0 15 00 00 00 00 00 00 0f 00 00 00
d0: 87 69 20 00 02 0f 00 00 04 00 00 00 00 00 00 00
e0: 10 02 00 ff 01 16 07 3c 33 22 11 00 81 16 67 45
f0: 00 00 00 00 00 00 00 00 60 0f 03 00 00 00 80 00
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: IBM Thinkpad R50e model 1634
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 1810 [size=16]
Memory at 60000000 (32-bit, non-prefetchable) [size=1K]
00: 86 80 ca 24 07 00 80 02 01 8a 01 01 00 00 00 00
10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
20: 11 18 00 00 00 00 00 60 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00
40: 07 a3 07 a3 00 00 00 00 05 00 01 01 00 00 00 00
50: 00 00 00 00 50 54 00 00 00 00 00 00 00 00 00 00
60: 08 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
Subsystem: IBM Thinkpad R50e model 1634
Flags: medium devsel, IRQ 17
I/O ports at 1880 [size=32]
00: 86 80 c3 24 01 00 80 02 01 00 05 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 18 00 00 00 00 00 00 00 00 00 00 14 10 2d 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 02 00 00
40: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Subsystem: IBM Unknown device 0558
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at 1c00 [size=256]
I/O ports at 18c0 [size=64]
Memory at d0100c00 (32-bit, non-prefetchable) [size=512]
Memory at d0100800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00: 86 80 c5 24 07 00 90 02 01 00 01 04 00 00 00 00
10: 01 1c 00 00 c1 18 00 00 00 0c 10 d0 00 08 10 d0
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 58 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 02 00 00
40: 09 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 c2 c9 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
Subsystem: IBM Unknown device 055a
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at 2400 [size=256]
I/O ports at 2000 [size=128]
Capabilities: [50] Power Management version 2
00: 86 80 c6 24 05 00 90 02 01 00 03 07 00 00 00 00
10: 01 24 00 00 01 20 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 5a 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 c2 c9 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
Subsystem: IBM Unknown device 0555
Flags: bus master, medium devsel, latency 168, IRQ 16 Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=04, sec-latency=176 Memory window 0: f0000000-f3fff000 (prefetchable) Memory window 1: d4000000-d7fff000
I/O window 0: 00003000-000030ff
I/O window 1: 00003400-000034ff
16-bit legacy interface ports at 0001
00: 80 11 76 04 07 00 10 02 8d 00 07 06 00 a8 82 00
10: 00 00 00 b0 dc 00 00 02 02 03 04 b0 00 00 00 f0
20: 00 f0 ff f3 00 00 00 d4 00 f0 ff d7 00 30 00 00
30: fc 30 00 00 00 34 00 00 fc 34 00 00 0b 01 80 05
40: 14 10 55 05 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 80 04 00 03 00 00 64 04 63 04 01 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 8a 00 00 00 00 00 00 00 f0 00 00 00 00 00
b0: 00 00 00 00 00 00 00 36 00 38 00 00 00 00 00 00
c0: 14 10 55 05 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 0a fe
e0: 00 40 c0 24 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
02:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)
Subsystem: IBM Thinkpad X40
Flags: bus master, medium devsel, latency 64, IRQ 17
Memory at d0221000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
00: 80 11 22 08 06 01 10 02 13 00 05 08 00 40 80 00
10: 00 10 22 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 56 05
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 02 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 fe 00 40 00 48 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 56 05
b0: 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: a1 21 80 01 00 00 00 00 40 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 03 00 20 04 00 00 00 00
02:01.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet Controller
Subsystem: IBM Unknown device 055b
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 21
Memory at d0200000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 7000 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device
00: 86 80 77 10 17 01 30 02 00 00 00 02 08 40 00 00
10: 00 00 20 d0 00 00 00 00 01 70 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 5b 05
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 ff 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 e4 22 c8
e0: 00 20 00 14 07 00 02 00 00 00 40 00 00 00 00 00
f0: 05 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
Subsystem: Intel Corporation Unknown device 2711
Flags: bus master, medium devsel, latency 64, IRQ 22
Memory at d0220000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
00: 86 80 20 42 16 01 90 02 05 00 80 02 08 40 00 00
10: 00 00 22 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 11 27
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 03 18
40: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 c8
e0: 00 20 00 13 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Re: libata and legacy ide pcmcia failure
Quoted 14 lines · Robert de Rooy
Quoted 4 lines · Alan Cox
Quoted 4 lines
Quoted 4 lines
http://thread.gmane.org/gmane.linux.kernel/530099
It seems we're losing interrupts from the CFA device. Any ideas?
Quoted 9 lines
Quoted 3 lines
Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling...
Not that I know of. Not devices anyway - there are embedded boxes with no IRQ configuration for the CF slot but we've never supported those (indeed there are even people who bitbang ATA on GPIO pins...)
Quoted 7 lines
I was able to test the same PCMCIA adapter in a different ThinkPad, an X40. The X40 also fails although it has a totally different Cardbus controller (TI on the T40 vs Ricoh on the X40)
Here is the log from the X40 running the same kernel as before (2.6.22rc1-git5 + timing-debug.patch + disable-dev_init_param-and-setxfermode-for-CFA.patch)
Can you test the attached patch?
Signature · 1 line
tejun
drivers/ata/libata-core.c +2 -16
@@ -3042,7 +3042,6 @@ int ata_wait_ready(struct ata_port *ap, unsigned long deadline)static int ata_bus_post_reset (struct ata_port *ap,unsigned int devmask,unsigned long deadline) { -struct ata_ioports *ioaddr = &ap->ioaddr;unsigned int dev0 = devmask & (1 <<0 );unsigned int dev1 = devmask & (1 <<1 );int rc, ret =0 ;
@@ -3059,22 +3058,9 @@ static int ata_bus_post_reset(struct ata_port *ap, unsigned int devmask, } } -/* if device 1 was found in ata_devchk, wait for -* register access, then wait for BSY to clear -*/ -while (dev1) { -u8 nsect, lbal; - - ap->ops->dev_select (ap,1 ); - nsect =ioread8 (ioaddr->nsect_addr); - lbal =ioread8 (ioaddr->lbal_addr); -if ((nsect ==1 ) && (lbal ==1 )) -break ; -if (time_after (jiffies, deadline)) -return -EBUSY ; -msleep (50 );/* give drive a breather */ - } +/* wait for device 1 */ if (dev1) { + ap->ops->dev_select (ap,1 ); rc =ata_wait_ready (ap, deadline);if (rc) {if (rc != -ENODEV )
Re: libata and legacy ide pcmcia failure
Quoted 1 line · Tejun Heo
Can you test the attached patch
Here is what I get on the T41 (TI Cardbus controller) with 2.6.22-rc4 + timing-debug.patch + disable-dev_init_param-and-setxfermode-for-CFA.patch + libata-dont-test-slave-register-readiness-after-srst.patch
Jun 7 21:10:28 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 7 21:10:28 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 7 21:10:28 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff Jun 7 21:10:28 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 7 21:10:28 localhost kernel: scsi3 : pata_pcmcia Jun 7 21:10:28 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 0 Jun 7 21:10:28 localhost kernel: ata3: soft resetting port Jun 7 21:10:28 localhost kernel: ata3: reset complete Jun 7 21:10:28 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 7 21:10:28 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 7 21:10:28 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:29 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:10:29 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 7 21:10:29 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 7 21:10:29 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:29 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:10:29 localhost kernel: ata3.00: configured for PIO0 Jun 7 21:10:29 localhost kernel: ata3: EH complete Jun 7 21:10:29 localhost kernel: scsi 3:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 7 21:10:59 localhost kernel: sdd:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 7 21:10:59 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in Jun 7 21:10:59 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Jun 7 21:10:59 localhost kernel: ata3: soft resetting port Jun 7 21:10:59 localhost kernel: ata3: reset complete Jun 7 21:10:59 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 7 21:10:59 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 7 21:10:59 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 7 21:10:59 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:59 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 7 21:10:59 localhost last message repeated 4 times Jun 7 21:10:59 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:10:59 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) Jun 7 21:10:59 localhost kernel: ata3.00: revalidation failed (errno=-5) Jun 7 21:10:59 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Jun 7 21:11:04 localhost kernel: ata3: soft resetting port Jun 7 21:11:04 localhost kernel: ata3: reset complete Jun 7 21:11:04 localhost kernel: ATA: abnormal status 0xB8 on port 0x00014107 Jun 7 21:11:04 localhost kernel: ATA: abnormal status 0xB8 on port 0x00014107 Jun 7 21:11:04 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 7 21:11:04 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:11:04 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 7 21:11:04 localhost last message repeated 4 times Jun 7 21:11:04 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:11:04 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) Jun 7 21:11:04 localhost kernel: ata3.00: revalidation failed (errno=-5) Jun 7 21:11:04 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Jun 7 21:11:09 localhost kernel: ata3: soft resetting port Jun 7 21:11:09 localhost kernel: ata3: reset complete Jun 7 21:11:09 localhost kernel: ATA: abnormal status 0xB8 on port 0x00014107 Jun 7 21:11:09 localhost kernel: ATA: abnormal status 0xB8 on port 0x00014107 Jun 7 21:11:09 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 7 21:11:09 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:11:09 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 7 21:11:09 localhost last message repeated 4 times Jun 7 21:11:09 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:11:09 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) Jun 7 21:11:09 localhost kernel: ata3.00: revalidation failed (errno=-5) Jun 7 21:11:09 localhost kernel: ata3.00: disabled Jun 7 21:11:10 localhost kernel: ata3: EH complete Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: Dev sdd: unable to read RDB block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: end_request: I/O error, dev sdd, sector 0 Jun 7 21:11:10 localhost kernel: Buffer I/O error on device sdd, logical block 0 Jun 7 21:11:10 localhost kernel: unable to read partition table Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Attached SCSI removable disk Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0 Jun 7 21:11:10 localhost udevd-event[2477]: udev_rules_apply_format: unknown format variable '$modalias' Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:10 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:11 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:13 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:15 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:17 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:19 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:21 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:23 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:25 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] READ CAPACITY failed Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Sense not available. Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Asking for cache data failed Jun 7 21:11:27 localhost kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through Jun 7 21:11:31 localhost kernel: pccard: card ejected from slot 0 Jun 7 21:11:31 localhost kernel: sd 3:0:0:0: [sdd] Stopping disk Jun 7 21:11:31 localhost kernel: sd 3:0:0:0: [sdd] START_STOP FAILED Jun 7 21:11:31 localhost kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
Re: libata and legacy ide pcmcia failure
Hello,
Quoted 26 lines · Robert de Rooy
Jun 7 21:10:28 localhost kernel: ata3: soft resetting port Jun 7 21:10:28 localhost kernel: ata3: reset complete Jun 7 21:10:28 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 7 21:10:28 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 7 21:10:28 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:29 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:10:29 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 7 21:10:29 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 7 21:10:29 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:29 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:10:29 localhost kernel: ata3.00: configured for PIO0 Jun 7 21:10:29 localhost kernel: ata3: EH complete Jun 7 21:10:29 localhost kernel: scsi 3:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write cache:
Quoted 1 line
disabled, read cache: enabled, doesn't support DPO or FUA
So, that made it go through detection okay. That's a good news.
Quoted 6 lines
Jun 7 21:10:59 localhost kernel: sdd:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 7 21:10:59 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in Jun 7 21:10:59 localhost kernel: res40/00:00:00:00:00/00:00:00:00:00/00 Emask
0x4(timeout)
But, read for partition table failed miserably and took the device offline completely.
Whee... Cc'ing linux-ide and Mark Lord. The original thread is..
http://thread.gmane.org/gmane.linux.kernel/530099
Any ideas?
Signature · 1 line
tejun
Re: libata and legacy ide pcmcia failure
Quoted 30 lines · Tejun Heo
Quoted 19 lines
Jun 7 21:10:29 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 7 21:10:29 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 7 21:10:29 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:29 localhost kernel: ata3.00: IDENTIFY complete Jun 7 21:10:29 localhost kernel: ata3.00: configured for PIO0 Jun 7 21:10:29 localhost kernel: ata3: EH complete Jun 7 21:10:29 localhost kernel: scsi 3:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] 253696 512-byte hardware sectors (130 MB) Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write Protect is off Jun 7 21:10:29 localhost kernel: sd 3:0:0:0: [sdd] Write cache:Quoted 1 line
disabled, read cache: enabled, doesn't support DPO or FUA
So, that made it go through detection okay. That's a good news.
Quoted 6 lines
Jun 7 21:10:59 localhost kernel: sdd:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 7 21:10:59 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in Jun 7 21:10:59 localhost kernel: res40/00:00:00:00:00/00:00:00:00:00/00 Emask
0x4(timeout)
Quoted 8 lines
But, read for partition table failed miserably and took the device offline completely.
Whee... Cc'ing linux-ide and Mark Lord. The original thread is..
http://thread.gmane.org/gmane.linux.kernel/530099
Any ideas?
I still don't see much evidence that interrupts are actually functioning here. It would be good to see /proc/interrupts before/after libata tries to talk to it.
Let's assume for the moment that interrupts are b0rken.
The legacy IDE driver can talk to such devices completely without interrupts, if the IDE polling patch (below) is applied.
So, Robert: could you try again with the old IDE driver, except apply this patch to it first? This will give valuable info.
drivers/ide/ide-probe.c +27 -1
@@ -1014,6 +1014,27 @@* but anything else has led to problems on some machines. We re-enable * interrupts as much as we can safely do in most places. */ +struct timer_list polling_timer; +static void ide_polling (unsigned long data) +{ +ide_hwgroup_t *hwgroup = (void *)data; +ide_hwif_t *hwif; +int irq =0 ; + +if (hwgroup) { + hwif = hwgroup->hwif; +if (hwif) + irq = hwif->irq; + } + +ide_intr (irq, hwgroup); +init_timer (&polling_timer); + polling_timer.expires = jiffies +2 ; + polling_timer.function = &ide_polling; + polling_timer.data = (unsigned long ) hwgroup; +add_timer (&polling_timer); +} +static int init_irq (ide_hwif_t *hwif) {unsigned int index;
@@ -1110,9 +1131,12 @@if (hwif->io_ports[IDE_CONTROL_OFFSET ])/* clear nIEN */ hwif->OUTB (0x08 , hwif->io_ports[IDE_CONTROL_OFFSET ]); - +#if 0 if (request_irq (hwif->irq,&ide_intr,sa,hwif->name,hwgroup)) goto out_unlink; +#else +ide_polling ((unsigned long )hwgroup); +#endif }/*
@@ -1156,6 +1180,7 @@printk ("\n" );up (&ide_cfg_sem);return 0 ; +#if 0 out_unlink:spin_lock_irq (&ide_lock);if (hwif->next == hwif) {
@@ -1176,6 +1201,7 @@ BUG_ON(hwgroup->hwif == hwif); }spin_unlock_irq (&ide_lock); +#endif out_up:up (&ide_cfg_sem);return 1 ;
drivers/ide/ide.c +6 -0
@@ -569,6 +569,8 @@* This is raving bonkers. */ +extern struct timer_list polling_timer; +void ide_unregister (unsigned int index) {ide_drive_t *drive;
@@ -612,7 +614,11 @@ g = g->next; }while (g != hwgroup->hwif); if (irq_count == 1) +#if 0 free_irq (hwif->irq, hwgroup); +#else +del_timer (&polling_timer); +#endif spin_lock_irq (&ide_lock);/*
Re: libata and legacy ide pcmcia failure
Quoted 9 lines · Mark Lord
I still don't see much evidence that interrupts are actually functioning here. It would be good to see
/proc/interruptsbefore/after libata tries to talk to it.Let's assume for the moment that interrupts are b0rken.
The legacy IDE driver can talk to such devices completely without interrupts, if the IDE polling patch (below) is applied.So, Robert: could you try again with the old IDE driver, except apply this patch to it first? This will give valuable info.
I tried the patch, but a get a kernel panic on boot with it. I can try to get a screenshot of it tomorrow.
Re: libata and legacy ide pcmcia failure
Quoted 4 lines · Robert de Rooy
Quoted 3 lines · Mark Lord
I still don't see much evidence that interrupts are actually functioning here. It would be good to see
/proc/interruptsbefore/after libata tries to talk to it.
Quoted 8 lines
Quoted 6 lines
Let's assume for the moment that interrupts are b0rken.
The legacy IDE driver can talk to such devices completely without interrupts, if the IDE polling patch (below) is applied.So, Robert: could you try again with the old IDE driver, except apply this patch to it first? This will give valuable info.
I tried the patch, but a get a kernel panic on boot with it. I can try to get a screenshot of it tomorrow.
Oh crap. I did test it a couple of months ago, but my boot/root drive is libata not IDE -- so no panic on boot with it. After booting, it worked just fine talking to PC-CARD CF devices using the polling.
=ml
Re: libata and legacy ide pcmcia failure
Quoted 5 lines · Mark Lord
Oh crap. I did test it a couple of months ago, but my boot/root drive is libata not IDE -- so no panic on boot with it. After booting, it worked just fine talking to PC-CARD CF devices using the polling.
=ml
Ok, no problem. I recompiled the kernel with libata (but without the libata pcmcia support), and made legacy ide (only ide-core and ide-cs) modular. This allowed me to boot my PATA HDD with libata, and when I plugged in the PCMCIA card it picked it up automatically with the legacy ide drivers.
Jun 10 02:40:06 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 10 02:40:07 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 10 02:40:07 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff Jun 10 02:40:07 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 10 02:40:07 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 Jun 10 02:40:07 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Jun 10 02:40:07 localhost kernel: hda: Memory Card Adapter, CFA DISK drive Jun 10 02:40:08 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3 Jun 10 02:40:08 localhost kernel: ide-cs: hda: Vpp = 0.0 Jun 10 02:40:08 localhost udevd-event[2630]: udev_rules_apply_format: unknown format variable '$modalias'
At this point I noticed no /dev/hda* devices existed, so I created them manually with mknod. But regardless I was not able to actually mount a filesystem, getting an error from mount that the device did not exist.
When pulling the card I also got the following..
Jun 10 02:41:53 localhost kernel: pccard: card ejected from slot 0
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: ======================================================
Jun 10 02:41:53 localhost kernel: [ INFO: soft-safe -> soft-unsafe lock order detected ]
Jun 10 02:41:53 localhost kernel: 2.6.22-rc4 #5
Jun 10 02:41:53 localhost kernel: ------------------------------------------------------
Jun 10 02:41:53 localhost kernel: pccardd/355 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
Jun 10 02:41:53 localhost kernel: (resource_lock){--..}, at: [<c042dcb2>] __release_region+0x2f/0xdd
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: and this task is already holding:
Jun 10 02:41:53 localhost kernel: (ide_lock){.+..}, at: [<f8e0269d>] ide_unregister+0x11d/0x56e [ide_core]
Jun 10 02:41:53 localhost kernel: which would create a new lock dependency:
Jun 10 02:41:53 localhost kernel: (ide_lock){.+..} -> (resource_lock){--..}
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: but this new dependency connects a soft-irq-safe lock:
Jun 10 02:41:53 localhost kernel: (ide_lock){.+..}
Jun 10 02:41:53 localhost kernel: ... which became soft-irq-safe at:
Jun 10 02:41:53 localhost kernel: [<c0444171>] __lock_acquire+0x3ad/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c061711f>] _spin_lock_irqsave+0x34/0x44
Jun 10 02:41:53 localhost kernel: [<f8e04679>] ide_intr+0x17/0x1ac [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e07825>] ide_polling+0x22/0x64 [ide_core]
Jun 10 02:41:53 localhost kernel: [<c0430446>] run_timer_softirq+0x11a/0x182
Jun 10 02:41:53 localhost kernel: [<c042d286>] __do_softirq+0x6f/0xe9
Jun 10 02:41:53 localhost kernel: [<c0406f72>] do_softirq+0x61/0xc7
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: to a soft-irq-unsafe lock:
Jun 10 02:41:53 localhost kernel: (resource_lock){--..}
Jun 10 02:41:53 localhost kernel: ... which became soft-irq-unsafe at:
Jun 10 02:41:53 localhost kernel: ... [<c04441e4>] __lock_acquire+0x420/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616e5e>] _write_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c042dc60>] request_resource+0x13/0x36
Jun 10 02:41:53 localhost kernel: [<c05068bb>] vgacon_startup+0x196/0x349
Jun 10 02:41:53 localhost kernel: [<c075d3d5>] con_init+0x1a/0x217
Jun 10 02:41:53 localhost kernel: [<c075cee5>] console_init+0x19/0x27
Jun 10 02:41:53 localhost kernel: [<c07428b5>] start_kernel+0x242/0x34c
Jun 10 02:41:53 localhost kernel: [<00000000>] 0x0
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: other info that might help us debug this:
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: 2 locks held by pccardd/355:
Jun 10 02:41:53 localhost kernel: #0: (&socket->skt_mutex){--..}, at: [<c0615d3b>] mutex_lock+0x21/0x24
Jun 10 02:41:53 localhost kernel: #1: (ide_lock){.+..}, at: [<f8e0269d>] ide_unregister+0x11d/0x56e [ide_core]
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: the soft-irq-safe lock's dependencies:
Jun 10 02:41:53 localhost kernel: -> (ide_lock){.+..} ops: 0 {
Jun 10 02:41:53 localhost kernel: initial-use at:
Jun 10 02:41:53 localhost kernel: [<c04441f9>] __lock_acquire+0x435/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c061711f>] _spin_lock_irqsave+0x34/0x44
Jun 10 02:41:53 localhost kernel: [<f8e04679>] ide_intr+0x17/0x1ac [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e07825>] ide_polling+0x22/0x64 [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e07a62>] init_irq+0x1fb/0x3bd [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e07d4e>] hwif_init+0x12a/0x302 [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e0808c>] probe_hwif_init_with_fixup+0x20/0x8c [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e02c11>] ide_register_hw_with_fixup+0x123/0x156 [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8cae0b8>] idecs_register+0x72/0x7a [ide_cs]
Jun 10 02:41:53 localhost kernel: [<f8cae464>] ide_probe+0x3a4/0x4c0 [ide_cs]
Jun 10 02:41:53 localhost kernel: [<c0566ac3>] pcmcia_device_probe+0xab/0xff
Jun 10 02:41:53 localhost kernel: [<c055ccdc>] driver_probe_device+0xe9/0x16a
Jun 10 02:41:53 localhost kernel: [<c055ce86>] __driver_attach+0x76/0xaf
Jun 10 02:41:53 localhost kernel: [<c055c1cc>] bus_for_each_dev+0x3a/0x5f
Jun 10 02:41:53 localhost kernel: [<c055cb27>] driver_attach+0x19/0x1b
Jun 10 02:41:53 localhost kernel: [<c055c4ea>] bus_add_driver+0x79/0x181
Jun 10 02:41:53 localhost kernel: [<c055d081>] driver_register+0x67/0x6c
Jun 10 02:41:53 localhost kernel: [<c0567565>] pcmcia_register_driver+0xf7/0x128
Jun 10 02:41:53 localhost kernel: [<f8a2f00d>] 0xf8a2f00d
Jun 10 02:41:53 localhost kernel: [<c044c2eb>] sys_init_module+0x1579/0x16ca
Jun 10 02:41:53 localhost kernel: [<c0404e26>] sysenter_past_esp+0x5f/0x99
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: in-softirq-W at:
Jun 10 02:41:53 localhost kernel: [<c0444171>] __lock_acquire+0x3ad/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c061711f>] _spin_lock_irqsave+0x34/0x44
Jun 10 02:41:53 localhost kernel: [<f8e04679>] ide_intr+0x17/0x1ac [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e07825>] ide_polling+0x22/0x64 [ide_core]
Jun 10 02:41:53 localhost kernel: [<c0430446>] run_timer_softirq+0x11a/0x182
Jun 10 02:41:53 localhost kernel: [<c042d286>] __do_softirq+0x6f/0xe9
Jun 10 02:41:53 localhost kernel: [<c0406f72>] do_softirq+0x61/0xc7
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: }
Jun 10 02:41:53 localhost kernel: ... key at: [<f8e13c10>] ide_lock+0x10/0xffff6afd [ide_core]
Jun 10 02:41:53 localhost kernel: -> (&n->list_lock){.+..} ops: 0 {
Jun 10 02:41:53 localhost kernel: initial-use at:
Jun 10 02:41:53 localhost kernel: [<c04441f9>] __lock_acquire+0x435/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616de9>] _spin_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c04788ee>] add_partial+0xe/0x27
Jun 10 02:41:53 localhost kernel: [<c04794ed>] __slab_free+0x5e/0x278
Jun 10 02:41:53 localhost kernel: [<c0479ec2>] kmem_cache_free+0x77/0x97
Jun 10 02:41:53 localhost kernel: [<c05119ac>] acpi_os_release_object+0x8/0xc
Jun 10 02:41:53 localhost kernel: [<c0527d9a>] acpi_ut_delete_object_desc+0x47/0x4d
Jun 10 02:41:53 localhost kernel: [<c05274c5>] acpi_ut_delete_internal_obj+0x141/0x148
Jun 10 02:41:53 localhost kernel: [<c0527519>] acpi_ut_update_ref_count+0x4d/0xa6
Jun 10 02:41:53 localhost kernel: [<c0527631>] acpi_ut_update_object_reference+0xbf/0x125
Jun 10 02:41:53 localhost kernel: [<c05276bc>] acpi_ut_remove_reference+0x25/0x28
Jun 10 02:41:53 localhost kernel: [<c051c4e9>] acpi_ex_create_method+0x99/0xa3
Jun 10 02:41:53 localhost kernel: [<c0515729>] acpi_ds_load1_end_op+0xfd/0x144
Jun 10 02:41:53 localhost kernel: [<c0522e32>] acpi_ps_parse_loop+0x587/0x719
Jun 10 02:41:53 localhost kernel: [<c0522292>] acpi_ps_parse_aml+0x68/0x246
Jun 10 02:41:53 localhost kernel: [<c0521c42>] acpi_ns_one_complete_parse+0xbe/0xd1
Jun 10 02:41:53 localhost kernel: [<c0521c67>] acpi_ns_parse_table+0x12/0x23
Jun 10 02:41:53 localhost kernel: [<c051fda2>] acpi_ns_load_table+0x3e/0x80
Jun 10 02:41:53 localhost kernel: [<c0524bbb>] acpi_load_tables+0xd3/0x17f
Jun 10 02:41:53 localhost kernel: [<c075aa59>] acpi_early_init+0x71/0x105
Jun 10 02:41:53 localhost kernel: [<c07429b2>] start_kernel+0x33f/0x34c
Jun 10 02:41:53 localhost kernel: [<00000000>] 0x0
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: in-softirq-W at:
Jun 10 02:41:53 localhost kernel: [<c0444171>] __lock_acquire+0x3ad/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616de9>] _spin_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c04788ee>] add_partial+0xe/0x27
Jun 10 02:41:53 localhost kernel: [<c04794ed>] __slab_free+0x5e/0x278
Jun 10 02:41:53 localhost kernel: [<c0479ec2>] kmem_cache_free+0x77/0x97
Jun 10 02:41:53 localhost kernel: [<c048c53a>] __d_free+0x23/0x26
Jun 10 02:41:53 localhost kernel: [<c048c5b5>] d_callback+0xb/0xd
Jun 10 02:41:53 localhost kernel: [<c043766f>] __rcu_process_callbacks+0xff/0x16f
Jun 10 02:41:53 localhost kernel: [<c04376fa>] rcu_process_callbacks+0x1b/0x35
Jun 10 02:41:53 localhost kernel: [<c042d386>] tasklet_action+0x53/0xa8
Jun 10 02:41:53 localhost kernel: [<c042d286>] __do_softirq+0x6f/0xe9
Jun 10 02:41:53 localhost kernel: [<c0406f72>] do_softirq+0x61/0xc7
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: }
Jun 10 02:41:53 localhost kernel: ... key at: [<c0a1f0e4>] __key.17793+0x0/0x8
Jun 10 02:41:53 localhost kernel: ... acquired at:
Jun 10 02:41:53 localhost kernel: [<c044475d>] __lock_acquire+0x999/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616de9>] _spin_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c04788ee>] add_partial+0xe/0x27
Jun 10 02:41:53 localhost kernel: [<c04794ed>] __slab_free+0x5e/0x278
Jun 10 02:41:53 localhost kernel: [<c0479ca6>] kfree+0x82/0xa2
Jun 10 02:41:53 localhost kernel: [<f8e08223>] drive_release_dev+0x67/0xae [ide_core]
Jun 10 02:41:53 localhost kernel: [<c055a228>] device_release+0x3c/0x7e
Jun 10 02:41:53 localhost kernel: [<c04ea5b3>] kobject_cleanup+0x45/0x5f
Jun 10 02:41:53 localhost kernel: [<c04ea5d8>] kobject_release+0xb/0xd
Jun 10 02:41:53 localhost kernel: [<c04eb1df>] kref_put+0x63/0x71
Jun 10 02:41:53 localhost kernel: [<c04ea56c>] kobject_put+0x14/0x16
Jun 10 02:41:53 localhost kernel: [<c055a37b>] put_device+0x11/0x13
Jun 10 02:41:53 localhost kernel: [<c055ab1f>] device_unregister+0x12/0x15
Jun 10 02:41:53 localhost kernel: [<f8e02623>] ide_unregister+0xa3/0x56e [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8cae01b>] ide_release+0x1b/0x2d [ide_cs]
Jun 10 02:41:53 localhost kernel: [<f8cae038>] ide_detach+0xb/0x19 [ide_cs]
Jun 10 02:41:53 localhost kernel: [<c056697d>] pcmcia_device_remove+0x53/0xb9
Jun 10 02:41:53 localhost kernel: [<c055caf2>] __device_release_driver+0x74/0x90
Jun 10 02:41:53 localhost kernel: [<c055cef4>] device_release_driver+0x35/0x4c
Jun 10 02:41:53 localhost kernel: [<c055c462>] bus_remove_device+0x73/0x82
Jun 10 02:41:53 localhost kernel: [<c055aa97>] device_del+0x218/0x28e
Jun 10 02:41:53 localhost kernel: [<c055ab18>] device_unregister+0xb/0x15
Jun 10 02:41:53 localhost kernel: [<c05665a1>] pcmcia_card_remove+0x5a/0x7d
Jun 10 02:41:53 localhost kernel: [<c0566f88>] ds_event+0x59/0x8b
Jun 10 02:41:53 localhost kernel: [<c0562c20>] send_event+0x3e/0x57
Jun 10 02:41:53 localhost kernel: [<c0562e0b>] socket_remove_drivers+0x12/0x14
Jun 10 02:41:53 localhost kernel: [<c0562e1c>] socket_shutdown+0xf/0xb5
Jun 10 02:41:53 localhost kernel: [<c0562ee8>] socket_remove+0x26/0x2b
Jun 10 02:41:53 localhost kernel: [<c05634b4>] pccardd+0x12a/0x1e6
Jun 10 02:41:53 localhost kernel: [<c0439600>] kthread+0x3b/0x63
Jun 10 02:41:53 localhost kernel: [<c0405b13>] kernel_thread_helper+0x7/0x10
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: the soft-irq-unsafe lock's dependencies:
Jun 10 02:41:53 localhost kernel: -> (resource_lock){--..} ops: 0 {
Jun 10 02:41:53 localhost kernel: initial-use at:
Jun 10 02:41:53 localhost kernel: [<c04441f9>] __lock_acquire+0x435/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616e5e>] _write_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c042dc60>] request_resource+0x13/0x36
Jun 10 02:41:53 localhost kernel: [<c05068bb>] vgacon_startup+0x196/0x349
Jun 10 02:41:53 localhost kernel: [<c075d3d5>] con_init+0x1a/0x217
Jun 10 02:41:53 localhost kernel: [<c075cee5>] console_init+0x19/0x27
Jun 10 02:41:53 localhost kernel: [<c07428b5>] start_kernel+0x242/0x34c
Jun 10 02:41:53 localhost kernel: [<00000000>] 0x0
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: softirq-on-W at:
Jun 10 02:41:53 localhost kernel: [<c04441e4>] __lock_acquire+0x420/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616e5e>] _write_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c042dc60>] request_resource+0x13/0x36
Jun 10 02:41:53 localhost kernel: [<c05068bb>] vgacon_startup+0x196/0x349
Jun 10 02:41:53 localhost kernel: [<c075d3d5>] con_init+0x1a/0x217
Jun 10 02:41:53 localhost kernel: [<c075cee5>] console_init+0x19/0x27
Jun 10 02:41:53 localhost kernel: [<c07428b5>] start_kernel+0x242/0x34c
Jun 10 02:41:53 localhost kernel: [<00000000>] 0x0
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: hardirq-on-W at:
Jun 10 02:41:53 localhost kernel: [<c04441c0>] __lock_acquire+0x3fc/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616e5e>] _write_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c042dc60>] request_resource+0x13/0x36
Jun 10 02:41:53 localhost kernel: [<c05068bb>] vgacon_startup+0x196/0x349
Jun 10 02:41:53 localhost kernel: [<c075d3d5>] con_init+0x1a/0x217
Jun 10 02:41:53 localhost kernel: [<c075cee5>] console_init+0x19/0x27
Jun 10 02:41:53 localhost kernel: [<c07428b5>] start_kernel+0x242/0x34c
Jun 10 02:41:53 localhost kernel: [<00000000>] 0x0
Jun 10 02:41:53 localhost kernel: [<ffffffff>] 0xffffffff
Jun 10 02:41:53 localhost kernel: }
Jun 10 02:41:53 localhost kernel: ... key at: [<c06fce14>] resource_lock+0x10/0x1c
Jun 10 02:41:53 localhost kernel:
Jun 10 02:41:53 localhost kernel: stack backtrace:
Jun 10 02:41:53 localhost kernel: [<c0405e6a>] show_trace_log_lvl+0x1a/0x2f
Jun 10 02:41:53 localhost kernel: [<c04068cf>] show_trace+0x12/0x14
Jun 10 02:41:53 localhost kernel: [<c0406928>] dump_stack+0x16/0x18
Jun 10 02:41:53 localhost kernel: [<c0443d30>] check_usage+0x258/0x262
Jun 10 02:41:53 localhost kernel: [<c04446c2>] __lock_acquire+0x8fe/0xb12
Jun 10 02:41:53 localhost kernel: [<c0444c97>] lock_acquire+0x56/0x6f
Jun 10 02:41:53 localhost kernel: [<c0616e5e>] _write_lock+0x2b/0x38
Jun 10 02:41:53 localhost kernel: [<c042dcb2>] __release_region+0x2f/0xdd
Jun 10 02:41:53 localhost kernel: [<f8e02521>] ide_hwif_release_regions+0x37/0x96 [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e026a4>] ide_unregister+0x124/0x56e [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8cae01b>] ide_release+0x1b/0x2d [ide_cs]
Jun 10 02:41:53 localhost kernel: [<f8cae038>] ide_detach+0xb/0x19 [ide_cs]
Jun 10 02:41:53 localhost kernel: [<c056697d>] pcmcia_device_remove+0x53/0xb9
Jun 10 02:41:53 localhost kernel: [<c055caf2>] __device_release_driver+0x74/0x90
Jun 10 02:41:53 localhost kernel: [<c055cef4>] device_release_driver+0x35/0x4c
Jun 10 02:41:53 localhost kernel: [<c055c462>] bus_remove_device+0x73/0x82
Jun 10 02:41:53 localhost kernel: [<c055aa97>] device_del+0x218/0x28e
Jun 10 02:41:53 localhost kernel: [<c055ab18>] device_unregister+0xb/0x15
Jun 10 02:41:53 localhost kernel: [<c05665a1>] pcmcia_card_remove+0x5a/0x7d
Jun 10 02:41:53 localhost kernel: [<c0566f88>] ds_event+0x59/0x8b
Jun 10 02:41:53 localhost kernel: [<c0562c20>] send_event+0x3e/0x57
Jun 10 02:41:53 localhost kernel: [<c0562e0b>] socket_remove_drivers+0x12/0x14
Jun 10 02:41:53 localhost kernel: [<c0562e1c>] socket_shutdown+0xf/0xb5
Jun 10 02:41:53 localhost kernel: [<c0562ee8>] socket_remove+0x26/0x2b
Jun 10 02:41:53 localhost kernel: [<c05634b4>] pccardd+0x12a/0x1e6
Jun 10 02:41:53 localhost kernel: [<c0439600>] kthread+0x3b/0x63
Jun 10 02:41:53 localhost kernel: [<c0405b13>] kernel_thread_helper+0x7/0x10
Jun 10 02:41:53 localhost kernel: =======================
Jun 10 02:41:53 localhost kernel: BUG: sleeping function called from invalid context at kernel/rwsem.c:20
Jun 10 02:41:53 localhost kernel: in_atomic():0, irqs_disabled():1
Jun 10 02:41:53 localhost kernel: INFO: lockdep is turned off.
Jun 10 02:41:53 localhost kernel: irq event stamp: 3798
Jun 10 02:41:53 localhost kernel: hardirqs last enabled at (3797): [<c06171ed>] _spin_unlock_irqrestore+0x36/0x3c
Jun 10 02:41:53 localhost kernel: hardirqs last disabled at (3798): [<c0617032>] _spin_lock_irq+0xf/0x3e
Jun 10 02:41:53 localhost kernel: softirqs last enabled at (3656): [<c042d2fa>] __do_softirq+0xe3/0xe9
Jun 10 02:41:53 localhost kernel: softirqs last disabled at (3647): [<c0406f72>] do_softirq+0x61/0xc7
Jun 10 02:41:53 localhost kernel: [<c0405e6a>] show_trace_log_lvl+0x1a/0x2f
Jun 10 02:41:53 localhost kernel: [<c04068cf>] show_trace+0x12/0x14
Jun 10 02:41:53 localhost kernel: [<c0406928>] dump_stack+0x16/0x18
Jun 10 02:41:53 localhost kernel: [<c0422152>] __might_sleep+0xce/0xd5
Jun 10 02:41:53 localhost kernel: [<c043ca58>] down_read+0x18/0x51
Jun 10 02:41:53 localhost kernel: [<c04f9066>] pci_get_subsys+0x69/0xe9
Jun 10 02:41:53 localhost kernel: [<c04f90ff>] pci_get_device+0x19/0x1b
Jun 10 02:41:53 localhost kernel: [<f8e0223a>] init_hwif_default+0x2d/0xf4 [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8e027c6>] ide_unregister+0x246/0x56e [ide_core]
Jun 10 02:41:53 localhost kernel: [<f8cae01b>] ide_release+0x1b/0x2d [ide_cs]
Jun 10 02:41:53 localhost kernel: [<f8cae038>] ide_detach+0xb/0x19 [ide_cs]
Jun 10 02:41:53 localhost kernel: [<c056697d>] pcmcia_device_remove+0x53/0xb9
Jun 10 02:41:53 localhost kernel: [<c055caf2>] __device_release_driver+0x74/0x90
Jun 10 02:41:53 localhost kernel: [<c055cef4>] device_release_driver+0x35/0x4c
Jun 10 02:41:53 localhost kernel: [<c055c462>] bus_remove_device+0x73/0x82
Jun 10 02:41:53 localhost kernel: [<c055aa97>] device_del+0x218/0x28e
Jun 10 02:41:53 localhost kernel: [<c055ab18>] device_unregister+0xb/0x15
Jun 10 02:41:53 localhost kernel: [<c05665a1>] pcmcia_card_remove+0x5a/0x7d
Jun 10 02:41:53 localhost kernel: [<c0566f88>] ds_event+0x59/0x8b
Jun 10 02:41:53 localhost kernel: [<c0562c20>] send_event+0x3e/0x57
Jun 10 02:41:53 localhost kernel: [<c0562e0b>] socket_remove_drivers+0x12/0x14
Jun 10 02:41:53 localhost kernel: [<c0562e1c>] socket_shutdown+0xf/0xb5
Jun 10 02:41:53 localhost kernel: [<c0562ee8>] socket_remove+0x26/0x2b
Jun 10 02:41:53 localhost kernel: [<c05634b4>] pccardd+0x12a/0x1e6
Jun 10 02:41:53 localhost kernel: [<c0439600>] kthread+0x3b/0x63
Jun 10 02:41:53 localhost kernel: [<c0405b13>] kernel_thread_helper+0x7/0x10
Jun 10 02:41:53 localhost kernel: =======================Re: libata and legacy ide pcmcia failure
Quoted 7 lines · Robert de Rooy
Quoted 3 lines · Mark Lord
Oh crap. I did test it a couple of months ago, but my boot/root drive is libata not IDE -- so no panic on boot with it. After booting, it worked just fine talking to PC-CARD CF devices using the polling.
Ok, no problem. I recompiled the kernel with libata (but without the libata pcmcia support), and made legacy ide (only ide-core and ide-cs) modular. This allowed me to boot my PATA HDD with libata, and when I plugged in the PCMCIA card it picked it up automatically with the legacy ide drivers.
Good stuff!
Quoted 11 lines
Jun 10 02:40:06 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 10 02:40:07 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 10 02:40:07 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff Jun 10 02:40:07 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 10 02:40:07 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 Jun 10 02:40:07 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Jun 10 02:40:07 localhost kernel: hda: Memory Card Adapter, CFA DISK drive Jun 10 02:40:08 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3 Jun 10 02:40:08 localhost kernel: ide-cs: hda: Vpp = 0.0 Jun 10 02:40:08 localhost udevd-event[2630]: udev_rules_apply_format: unknown format variable '$modalias'
Quoted 1 line
At this point I noticed no
/dev/hda*devices existed, so I created them manually with mknod. But regardless I was not able to actually mount a filesystem, getting an error from mount that the device did not exist.
Yeah, I don't see any "parition table" messages there, so it must've hung on the I/O somehow. Bummer, but it was worth trying, I suppose.
Quoted 2 lines
When pulling the card I also got the following..
..
Quoted 1 line
Jun 10 02:41:53 localhost kernel: [ INFO: soft-safe -> soft-unsafe lock order detected ]
..
That's probably some weird interaction with the simple polling patch, so I think we can disregard it, unless it pops up again someday on an unpatched kernel.
Well, at this point, I think the only way to make progress is for one of the IDE/libata gurus to actually get hold of the same card you have, meaning Alan Cox (best choice), or myself, or Bart. Or maybe Tejun.
Without that, this isn't likely to improve much.
Cheers
Re: libata and legacy ide pcmcia failure
Quoted 8 lines · Mark Lord
Well, at this point, I think the only way to make progress is for one of the IDE/libata gurus to actually get hold of the same card you have, meaning Alan Cox (best choice), or myself, or Bart. Or maybe Tejun.
Without that, this isn't likely to improve much.
Cheers
Yeah, I was figuring it was going to come to this.
I hardly ever use the adapter, as I have other means to read these memory cards.
So... Alan, want to receive a PCMCIA memory-card adapter? I will include a 16MB sony memorystick, so it actually works.
If so, send me your mailing address privately.
Re: libata and legacy ide pcmcia failure
Quoted 10 lines · Robert de Rooy
Quoted 8 lines · Mark Lord
Well, at this point, I think the only way to make progress is for one of the IDE/libata gurus to actually get hold of the same card you have, meaning Alan Cox (best choice), or myself, or Bart. Or maybe Tejun.
Without that, this isn't likely to improve much.
Cheers
Quoted 7 lines
Yeah, I was figuring it was going to come to this.
I hardly ever use the adapter, as I have other means to read these memory cards.So... Alan, want to receive a PCMCIA memory-card adapter? I will include a 16MB sony memorystick, so it actually works.
If so, send me your mailing address privately.
Before you do, it might help to build the ide-disk module and insert that as well?
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of:
Re: libata and legacy ide pcmcia failure
Quoted 13 lines · Russell King
Quoted 12 lines · Robert de Rooy
Quoted 7 lines · Mark Lord
Well, at this point, I think the only way to make progress is for one of the IDE/libata gurus to actually get hold of the same card you have, meaning Alan Cox (best choice), or myself, or Bart. Or maybe Tejun.
Without that, this isn't likely to improve much.
CheersYeah, I was figuring it was going to come to this.
I hardly ever use the adapter, as I have other means to read these memory cards.
Quoted 6 lines
Quoted 3 lines
So... Alan, want to receive a PCMCIA memory-card adapter? I will include a 16MB sony memorystick, so it actually works.
If so, send me your mailing address privately.Before you do, it might help to build the ide-disk module and insert that as well?
ARrrggghh!! Of course, that would explain the utter lack of disk partition check messages, now wouldn't it!
Thanks Russell !
Re: libata and legacy ide pcmcia failure
Quoted 10 lines · Mark Lord
Quoted 3 lines · Russell King
Before you do, it might help to build the ide-disk module and insert that as well?
ARrrggghh!! Of course, that would explain the utter lack of disk partition check messages, now wouldn't it!
Thanks Russell !
Doh! yes that would obviously help.
With this I can declare success!! I was able to read and write to the card without any problems, although I did not try to stress it.
Jun 12 00:19:42 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 12 00:19:42 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 12 00:19:42 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff Jun 12 00:19:42 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 12 00:19:42 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 Jun 12 00:19:42 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Jun 12 00:19:45 localhost kernel: hda: Memory Card Adapter, CFA DISK drive Jun 12 00:19:45 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3 Jun 12 00:19:45 localhost kernel: ide-cs: hda: Vpp = 0.0 Jun 12 00:19:45 localhost udevd-event[20730]: udev_rules_apply_format: unknown format variable '$modalias' Jun 12 00:19:45 localhost kernel: hda: max request size: 128KiB Jun 12 00:19:45 localhost kernel: hda: 253696 sectors (129 MB) w/1KiB Cache, CHS=991/16/16 Jun 12 00:19:45 localhost kernel: hda: hda1 Jun 12 00:19:48 localhost hald: mounted /dev/hda1 on behalf of uid 0
Re: libata and legacy ide pcmcia failure
Quoted 13 lines · Robert de Rooy
(after applying the ide-polling experimental patch)
With this I can declare success!! I was able to read and write to the card without any problems, although I did not try to stress it.
Jun 12 00:19:42 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 12 00:19:42 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 12 00:19:42 localhost kernel: cs: memory probe0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff
Quoted 15 lines
Jun 12 00:19:42 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 12 00:19:42 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 Jun 12 00:19:42 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Jun 12 00:19:45 localhost kernel: hda: Memory Card Adapter, CFA DISK drive Jun 12 00:19:45 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3 Jun 12 00:19:45 localhost kernel: ide-cs: hda: Vpp = 0.0 Jun 12 00:19:45 localhost udevd-event[20730]: udev_rules_apply_format: unknown format variable '$modalias' Jun 12 00:19:45 localhost kernel: hda: max request size: 128KiB Jun 12 00:19:45 localhost kernel: hda: 253696 sectors (129 MB) w/1KiB Cache, CHS=991/16/16 Jun 12 00:19:45 localhost kernel: hda: hda1 Jun 12 00:19:48 localhost hald: mounted /dev/hda1 on behalf of uid 0
Okay, Tejun / Bart / Alan:
This proves that the device does work correctly in most respects except for interrupt delivery. The status bits are working and it can be probed for, configured, and used.
So, next step might be to try and understand the interrupt mis-delivery
problem some more. I've lost the history of the original issue,
but we now know that everything except the actual interrupt seems good.
Cheers
Signature · 3 lines
Mark Lord Real-Time Remedies Inc. [email protected]
Re: libata and legacy ide pcmcia failure
Quoted 33 lines · Mark Lord
Quoted 23 lines · Robert de Rooy
(after applying the ide-polling experimental patch)
With this I can declare success!! I was able to read and write to the card without any problems, although I did not try to stress it.
Jun 12 00:19:42 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 12 00:19:42 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 12 00:19:42 localhost kernel: cs: memory probe0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff
Jun 12 00:19:42 localhost kernel: pcmcia: registering new device pcmcia0.0 Jun 12 00:19:42 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 Jun 12 00:19:42 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Jun 12 00:19:45 localhost kernel: hda: Memory Card Adapter, CFA DISK drive Jun 12 00:19:45 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3Quoted 8 lines
Jun 12 00:19:45 localhost kernel: ide-cs: hda: Vpp = 0.0 Jun 12 00:19:45 localhost udevd-event[20730]: udev_rules_apply_format: unknown format variable '$modalias' Jun 12 00:19:45 localhost kernel: hda: max request size: 128KiB Jun 12 00:19:45 localhost kernel: hda: 253696 sectors (129 MB) w/1KiB Cache, CHS=991/16/16 Jun 12 00:19:45 localhost kernel: hda: hda1 Jun 12 00:19:48 localhost hald: mounted /dev/hda1 on behalf of uid 0
Quoted 5 lines
Okay, Tejun / Bart / Alan:
This proves that the device does work correctly in most respects except for interrupt delivery. The status bits are working and it can be probed for, configured, and used.
libata can do most of this too by using ATA_FLAG_PIO_POLLING (doesn't cover nodata commands tho).
Signature · 1 line
tejun
Re: libata and legacy ide pcmcia failure
Quoted 5 lines
libata can do most of this too by using
ATA_FLAG_PIO_POLLING(doesn't cover nodata commands tho).
Hi Tejun,
Polling of nodata commands was fixed in:
http://marc.info/?l=linux-ide&m=116546272916399&w=2
--
albert
Re: libata and legacy ide pcmcia failure
Quoted 9 lines · Albert Lee
Quoted 4 lines
libata can do most of this too by using
ATA_FLAG_PIO_POLLING(doesn't cover nodata commands tho).Hi Tejun,
Polling of nodata commands was fixed in:
http://marc.info/?l=linux-ide&m=116546272916399&w=2
Right. Thanks for reminding me. :-)
Signature · 1 line
tejun
Re: libata and legacy ide pcmcia failure
Quoted 6 lines · Tejun Heo
Quoted 4 lines · Albert Lee
Quoted 4 lines
libata can do most of this too by using
ATA_FLAG_PIO_POLLING(doesn't cover nodata commands tho).
Quoted 9 lines
Quoted 5 lines
Hi Tejun,
Polling of nodata commands was fixed in:
http://marc.info/?l=linux-ide&m=116546272916399&w=2Right. Thanks for reminding me. :-)
I did another try with libata pcmcia support using 2.6.22-rc5 which already includes the nodata polling fix, in combination with disable-dev_init_param-and-setxfermode-for-CFA.patch and the timing-debug.patch
Jun 22 13:19:44 localhost kernel: pccard: PCMCIA card inserted into slot 1 Jun 22 13:19:44 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff Jun 22 13:19:44 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff Jun 22 13:19:44 localhost kernel: pcmcia: registering new device pcmcia1.0 Jun 22 13:19:44 localhost kernel: scsi2 : pata_pcmcia Jun 22 13:19:44 localhost kernel: ata3: PATA max PIO0 cmd 0x00014100 ctl 0x0001410e bmdma 0x00000000 irq 0 Jun 22 13:19:44 localhost kernel: ata3: soft resetting port Jun 22 13:19:44 localhost kernel: ata3: reset complete Jun 22 13:19:44 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:19:45 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:19:45 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 22 13:19:45 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 22 13:19:45 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:19:45 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:19:45 localhost kernel: ata3.00: configured for PIO0 Jun 22 13:19:45 localhost kernel: ata3: EH complete Jun 22 13:19:45 localhost kernel: scsi 2:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] 253696 512-byte hardware sectors (130 MB) Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] 253696 512-byte hardware sectors (130 MB) Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 22 13:20:15 localhost kernel: sdb:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 22 13:20:15 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in Jun 22 13:20:15 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Jun 22 13:20:15 localhost kernel: ata3: soft resetting port Jun 22 13:20:15 localhost kernel: ata3: reset complete Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:15 localhost last message repeated 4 times Jun 22 13:20:15 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:20:15 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) Jun 22 13:20:15 localhost kernel: ata3.00: revalidation failed (errno=-5) Jun 22 13:20:15 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Jun 22 13:20:20 localhost kernel: ata3: soft resetting port Jun 22 13:20:20 localhost kernel: ata3: reset complete Jun 22 13:20:20 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:20 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:20 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:20 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:20:20 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:20 localhost last message repeated 4 times Jun 22 13:20:20 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:20:20 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) Jun 22 13:20:20 localhost kernel: ata3.00: revalidation failed (errno=-5) Jun 22 13:20:20 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Jun 22 13:20:25 localhost kernel: ata3: soft resetting port Jun 22 13:20:25 localhost kernel: ata3: reset complete Jun 22 13:20:25 localhost kernel: ATA: abnormal status 0xB8 on port 0x00014107 Jun 22 13:20:25 localhost kernel: ATA: abnormal status 0xB8 on port 0x00014107 Jun 22 13:20:25 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:25 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:20:25 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:25 localhost last message repeated 4 times Jun 22 13:20:25 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:20:25 localhost kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x2) Jun 22 13:20:25 localhost kernel: ata3.00: revalidation failed (errno=-5) Jun 22 13:20:25 localhost kernel: ata3.00: disabled Jun 22 13:20:26 localhost kernel: ata3: EH complete Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: Dev sdb: unable to read RDB block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: end_request: I/O error, dev sdb, sector 0 Jun 22 13:20:26 localhost kernel: Buffer I/O error on device sdb, logical block 0 Jun 22 13:20:26 localhost kernel: unable to read partition table Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0 Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:26 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:27 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] READ CAPACITY failed Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Sense not available. Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Asking for cache data failed Jun 22 13:20:43 localhost kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Jun 22 13:20:48 localhost kernel: pccard: card ejected from slot 1 Jun 22 13:20:48 localhost kernel: sd 2:0:0:0: [sdb] Stopping disk Jun 22 13:20:48 localhost kernel: sd 2:0:0:0: [sdb] START_STOP FAILED Jun 22 13:20:48 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
Re: libata and legacy ide pcmcia failure
Quoted 2 lines · Robert de Rooy
I did another try with libata pcmcia support using 2.6.22-rc5 which already includes the nodata polling fix, in combination with disable-dev_init_param-and-setxfermode-for-CFA.patch and the timing-debug.patch
...
Quoted 17 lines
Jun 22 13:19:44 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:19:45 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:19:45 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 22 13:19:45 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 22 13:19:45 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:19:45 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:19:45 localhost kernel: ata3.00: configured for PIO0 Jun 22 13:19:45 localhost kernel: ata3: EH complete Jun 22 13:19:45 localhost kernel: scsi 2:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] 253696 512-byte hardware sectors (130 MB) Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] 253696 512-byte hardware sectors (130 MB) Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 22 13:20:15 localhost kernel: sdb:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 22 13:20:15 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in
Quoted 8 lines
Jun 22 13:20:15 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Jun 22 13:20:15 localhost kernel: ata3: soft resetting port Jun 22 13:20:15 localhost kernel: ata3: reset complete Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107
...
Mmm.. I don't know about the first failure there, but after that it gets into the "stuck DRQ" state which libata makes no attempt to handle at present.
Here is an additional patch, which hopefully will apply to your kernel to handle the stuck DRQ. You may need to hand tweak it, though, as I'm not entirely certain as to where to place the new call to ata_drain_fifo(). It's currently on an error recovery path which works for DMA, but your device is using PIO. It may still get hit as-is, but.. Give it a try.
drivers/ata/libata-sff.c renamed from drivers/ata/libata-sff.c.orig +0 -0
@@ -413,6 +413,24 @@
ap->ops->irq_on(ap); }
+static void ata_drain_fifo (struct ata_port *ap, struct ata_queued_cmd *qc) +{
+ u8 stat = ata_chk_status(ap);
+ /*
+ * Try to clear stuck DRQ if necessary.
+ */
+ if ((stat & ATA_DRQ) && (!qc || qc->dma_dir != DMA_TO_DEVICE)) {
+ unsigned int i, limit = 512;
+ printk("Draining up to %u words from data FIFO.\n", limit);
+ for (i = 0; i < limit ; ++i) {
+ ioread16(ap->ioaddr.data_addr);
+ if (!(ata_chk_status(ap) & ATA_DRQ))
+ break;
+ }
+ printk("Drained %u/%u words.\n", i, limit);
+ }
+}
+
/**
* ata_bmdma_drive_eh - Perform EH with given methods for BMDMA controller
* @ap: port to handle error for
@@ -469,7 +487,7 @@
} ata_altstatus(ap); - ata_chk_status(ap); + ata_drain_fifo(ap, qc); ap->ops->irq_clear(ap); spin_unlock_irqrestore(ap->lock, flags);
Re: libata and legacy ide pcmcia failure
Quoted 49 lines · Mark Lord
Quoted 5 lines · Robert de Rooy
I did another try with libata pcmcia support using 2.6.22-rc5 which already includes the nodata polling fix, in combination with disable-dev_init_param-and-setxfermode-for-CFA.patch and the timing-debug.patch
...
Quoted 37 lines
Jun 22 13:19:44 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:19:45 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:19:45 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 22 13:19:45 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 22 13:19:45 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:19:45 localhost kernel: ata3.00: IDENTIFY complete Jun 22 13:19:45 localhost kernel: ata3.00: configured for PIO0 Jun 22 13:19:45 localhost kernel: ata3: EH complete Jun 22 13:19:45 localhost kernel: scsi 2:0:0:0: Direct-Access ATA Memory Card Adap 2001 PQ: 0 ANSI: 5 Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] 253696 512-byte hardware sectors (130 MB) Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] 253696 512-byte hardware sectors (130 MB) Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 22 13:19:45 localhost kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Jun 22 13:20:15 localhost kernel: sdb:<3>ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 22 13:20:15 localhost kernel: ata3.00: cmd 20/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in Jun 22 13:20:15 localhost kernel: res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Jun 22 13:20:15 localhost kernel: ata3: soft resetting port Jun 22 13:20:15 localhost kernel: ata3: reset complete Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x80 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x58 on port 0x00014107 Jun 22 13:20:15 localhost kernel: ata3.00: issuing IDENTIFY Jun 22 13:20:15 localhost kernel: ATA: abnormal status 0x58 on portQuoted 1 line
0x00014107
Quoted 6 lines
...
Mmm.. I don't know about the first failure there, but after that it gets into the "stuck DRQ" state which libata makes no attempt to handle at present.
It seems the pata_pcmcia driver is using IRQ driven PIO. Maybe Robert could try the following pio_polling patch first.
--
albert
---
drivers/ata/pata_pcmcia.c renamed from drivers/ata/pata_pcmcia.c~ +1 -1
@@ -299,7 +299,7 @@ next_entry: ap->ops = &pcmcia_port_ops; ap->pio_mask =1 ;/* ISA so PIO 0 cycles */ - ap->flags |=ATA_FLAG_SLAVE_POSS ; + ap->flags |=ATA_FLAG_SLAVE_POSS |ATA_FLAG_PIO_POLLING ; ap->ioaddr.cmd_addr = io_addr; ap->ioaddr.altstatus_addr = ctl_addr; ap->ioaddr.ctl_addr = ctl_addr;
Re: libata and legacy ide pcmcia failure
Quoted 4 lines · Albert Lee
Quoted 2 lines · Mark Lord
...
Quoted 9 lines
Quoted 5 lines
Mmm.. I don't know about the first failure there, but after that it gets into the "stuck DRQ" state which libata makes no attempt to handle at present.
It seems the
pata_pcmciadriver is using IRQ driven PIO. Maybe Robert could try the followingpio_pollingpatch first.
I did not get the chance to try Marks patch, but the pio_polling patch from Albert works!!
Re: libata and legacy ide pcmcia failure
Quoted 14 lines · Robert de Rooy
Quoted 12 lines · Albert Lee
Quoted 7 lines · Mark Lord
...
Mmm.. I don't know about the first failure there, but after that it gets into the "stuck DRQ" state which libata makes no attempt to handle at present.
Quoted 9 lines
Quoted 3 lines
It seems the
pata_pcmciadriver is using IRQ driven PIO. Maybe Robert could try the followingpio_pollingpatch first.I did not get the chance to try Marks patch, but the
pio_pollingpatch from Albert works!!
The patch just workarounds the "lost irq" problem by polling; not real fix. We still need to find out why irq is lost per Mark's comment:
"This proves that the device does work correctly in most respects except for interrupt delivery. The status bits are working and it can be probed for, configured, and used."
"So, next step might be to try and understand the interrupt mis-delivery
problem some more. I've lost the history of the original issue,
but we now know that everything except the actual interrupt seems good."
I am not familiar with the PCMCIA interrupt delivery. It seems the "Dazzle 4in1 Card Adapter" works under windows but somehow lost irq under both IDE and libata. Maybe Alan/Bart or the PCMCIA developers know better...
--
albert