Re: [KERNEL 2.6.26-rc4] bugreport : pata_pcmcia with SandiskExtreme III 8GB

From: Komuro
Date: Wed Jun 18 2008 - 08:29:12 EST



Hi,

Here is the log.

My card is single function device.

it is correct that GetNextTuple fails for pcmcia0.1.
since pcmcia0.1 does not exist.

I think the reason of this problem is
memory-leak or something.


pcmcia: registering new device pcmcia0.0
pata_pcmcia 0.0: XXX ENTER
pata_pcmcia 0.0: XXX resource loop, pass=0
pata_pcmcia 0.0: XXX resource loop, pass=0
scsi2 : pata_pcmcia
ata3: PATA max PIO0 cmd 0xd100 ctl 0xd10e irq 4
ata3.00: CFA: , Ver.1.0, max PIO2
ata3.00: 32000 sectors, multi 0: LBA
ata3.00: configured for PIO0
ata3.00: configured for PIO0
ata3: EH complete
isa bounce pool size: 16 pages
scsi 2:0:0:0: Direct-Access ATA Ver. PQ: 0 ANSI: 5
sd 2:0:0:0: [sdb] 32000 512-byte hardware sectors (16 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] 32000 512-byte hardware sectors (16 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
pata_pcmcia 0.0: XXX LEAVE 0
pcmcia: registering new device pcmcia0.1
pata_pcmcia 0.1: XXX ENTER
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 2 0:16 0:0
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 1 1f0:8 3f6:1
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 1 170:8 376:1
pata_pcmcia 0.1: XXX pass=0, doing GetFirstTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 2 0:16 376:0
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 1 1f0:8 3f6:1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 1 170:8 376:1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
0.1: GetNextTuple: No more items
pata_pcmcia 0.1: XXX LEAVE -12
pata_pcmcia: probe of 0.1 failed with error -12
modprobe used greatest stack depth: 1676 bytes left
pata_pcmcia 0.1: XXX ENTER
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 2 0:16 376:0
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 1 1f0:8 3f6:1
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 1 170:8 376:1
pata_pcmcia 0.1: XXX pass=0, doing GetFirstTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 2 0:16 376:0
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 1 1f0:8 3f6:1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 1 170:8 376:1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
0.1: GetNextTuple: No more items
pata_pcmcia 0.1: XXX LEAVE -12
pata_pcmcia: probe of 0.1 failed with error -12
pata_pcmcia 0.1: XXX ENTER
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 2 0:16 376:0
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 1 1f0:8 3f6:1
pata_pcmcia 0.1: XXX resource loop, pass=0
pata_pcmcia 0.1: XXX IO request failed 1 170:8 376:1
pata_pcmcia 0.1: XXX pass=0, doing GetFirstTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 2 0:16 376:0
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 1 1f0:8 3f6:1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
pata_pcmcia 0.1: XXX resource loop, pass=1
pata_pcmcia 0.1: XXX IO request failed 1 170:8 376:1
pata_pcmcia 0.1: XXX pass=1, doing GetNextTuple
0.1: GetNextTuple: No more items
pata_pcmcia 0.1: XXX LEAVE -12
pata_pcmcia: probe of 0.1 failed with error -12

Best Regards
Komuro

> Okay. The exit is from CS_CHECK macro on GetNextTuple, missed that
> macro. It means it failed to request IO resource somewhere. Can you
> please try the attached patch? It will show us where it failed.
>
> This part of code hasn't changed at all in pata_pcmcia && I don't really
> understand the tuple business. We need pcmcia people to pitch in.
>
> Thanks.
>
> --
> tejun
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/