lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <467BB7DB.4090004@gmail.com>
Date:	Fri, 22 Jun 2007 13:51:55 +0200
From:	Robert de Rooy <robert.de.rooy@...il.com>
To:	Tejun Heo <htejun@...il.com>
CC:	albertl@...l.com, Mark Lord <mlord@...ox.com>,
	Mark Lord <liml@....ca>, Jeff Garzik <jeff@...zik.org>,
	bzolnier@...il.com, linux-pcmcia@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	"linux-ide@...r.kernel.org" <linux-ide@...r.kernel.org>,
	Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: libata and legacy ide pcmcia failure

Tejun Heo wrote:
> Albert Lee wrote:
>   
>>> 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.  :-)
>
>   

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ