Bug 422049

Summary: kernel 2.6.25 fails to mount & read CF card using PCMCIA
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User tAfYx3p_c_ <forgotten_tAfYx3p_c_>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jim.pye
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User tAfYx3p_c_ 2008-09-02 07:41:47 UTC
The latest kernel in openSUSE 11.0, 2.6.25.16-4-default fails to mount and read CF card through PCMCIA adapter. This worked fine with openSUSE 10.3 and it does work fine with kernel 2.6.27-rc4 from factory (though it has other problems which I'll report separately).

dmesg output:
----------
pcmcia: registering new device pcmcia0.0
scsi2 : pata_pcmcia
ata3: PATA max PIO0 cmd 0x7100 ctl 0x710e irq 16
ata3.00: CFA: SanDisk SDCFH-2048, HDX 3.07, max PIO4
ata3.00: 4001760 sectors, multi 0: LBA
ata3.00: configured for PIO0
ata3.00: configured for PIO0
ata3: EH complete
scsi 2:0:0:0: Direct-Access     ATA      SanDisk SDCFH-20 HDX  PQ: 0 ANSI: 5
sd 2:0:0:0: [sdb] 4001760 512-byte hardware sectors (2049 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sdb] 4001760 512-byte hardware sectors (2049 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
pcmcia: registering new device pcmcia0.1
0.1: GetNextTuple: No more items
pata_pcmcia: probe of 0.1 failed with error -12
Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
0.1: GetNextTuple: No more items
0.1: GetNextTuple: No more items
pata_pcmcia: probe of 0.1 failed with error -12
0.1: GetNextTuple: No more items
0.1: GetNextTuple: No more items
pata_pcmcia: probe of 0.1 failed with error -12
0.1: GetNextTuple: No more items
pccard: card ejected from slot 0
ata3.00: disabled
sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
Buffer I/O error on device sdb, logical block 0
sd 2:0:0:0: [sdb] Stopping disk
sd 2:0:0:0: [sdb] START_STOP FAILED
sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
Comment 1 Jim Pye 2008-09-20 04:39:59 UTC
This is also happening on a Toshiba Tecra A9. 64 bit openSuSE 11.0

Kernel: Linux jimstecra 2.6.25.16-0.1-default #1 SMP 2008-08-20 16:34:25 +1200 x86_64 x86_64 x86_64 GNU/Linux

This message appears when first plugged in:

Sep 20 16:32:33 jimstecra kernel: pata_pcmcia: probe of 0.1 failed with error -12
Sep 20 16:32:33 jimstecra kernel: Uniform Multi-Platform E-IDE driver
Sep 20 16:32:33 jimstecra kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Sep 20 16:32:34 jimstecra kernel: 0.1: GetNextTuple: No more items
Sep 20 16:32:34 jimstecra kernel: 0.1: GetNextTuple: No more items
Sep 20 16:32:34 jimstecra kernel: pata_pcmcia: probe of 0.1 failed with error -12
Sep 20 16:32:34 jimstecra kernel: 0.1: GetNextTuple: No more items
Sep 20 16:32:34 jimstecra kernel: 0.1: GetNextTuple: No more items
Sep 20 16:32:34 jimstecra kernel: pata_pcmcia: probe of 0.1 failed with error -12
Sep 20 16:32:34 jimstecra kernel: 0.1: GetNextTuple: No more items

Then this message repeats while the card is inserted:

Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] READ CAPACITY failed
Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] Sense not available.
Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] Write Protect is off
Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] Mode Sense: 00 00 00 00
Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] Asking for cache data failed
Sep 20 16:35:46 jimstecra kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through


Jim
Comment 2 Greg Kroah-Hartman 2008-10-14 15:33:17 UTC
So the 11.1 beta release works properly here?
Comment 3 Greg Kroah-Hartman 2008-10-23 14:52:33 UTC
Closing due to lack of response.