FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-19-2008, 08:07 PM
Vincent Lefevre
 
Default Bug#356090: kernel: Can't access PCMCIA card adapter

Same problem on my PowerBook G4, with both a 2-GB SD card and a 1-GB SD
card. The 1-GB card reads fine on my Zaurus (2.4.18 Linux kernel). For
instance, with the 2-GB card:

Sep 19 20:37:01 ay kernel: [70398.753418] pccard: PCMCIA card inserted into slot 0
Sep 19 20:37:01 ay kernel: [70398.757405] cs: memory probe 0x80000000-0x9fffffff: excluding 0x80000000-0x807fffff 0x84000000-0x8bffffff
Sep 19 20:37:01 ay kernel: [70398.785390] cs: memory probe 0xf3000000-0xf3ffffff: clean.
Sep 19 20:37:01 ay kernel: [70398.801517] pcmcia: registering new device pcmcia0.0
Sep 19 20:37:03 ay kernel: [70400.175783] Probing IDE interface ide3...
Sep 19 20:37:03 ay kernel: [70400.237675] hdg: Memory Card Adapter, CFA DISK drive
Sep 19 20:37:03 ay kernel: [70400.305525] ide3 at 0x000-0x007,0x00e on irq 58
Sep 19 20:37:03 ay kernel: [70400.309592] hdg: max request size: 128KiB
Sep 19 20:37:03 ay kernel: [70400.313402] hdg: 3932160 sectors (2013 MB) w/1KiB Cache, CHS=3900/16/63
Sep 19 20:37:03 ay kernel: [70400.317526] hdg: hdg1
Sep 19 20:37:03 ay kernel: [70400.338005] ide-cs: hdg: Vpp = 0.0
Sep 19 20:37:04 ay kernel: [70401.150287] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:04 ay kernel: [70401.153380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:04 ay kernel: [70401.153380] ide: failed opcode was: unknown
Sep 19 20:37:04 ay kernel: [70401.153562] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:04 ay kernel: [70401.157380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:04 ay kernel: [70401.157380] ide: failed opcode was: unknown
Sep 19 20:37:04 ay kernel: [70401.157609] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:04 ay kernel: [70401.161380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:04 ay kernel: [70401.161380] ide: failed opcode was: unknown
Sep 19 20:37:04 ay kernel: [70401.161564] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:04 ay kernel: [70401.165380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:04 ay kernel: [70401.165380] ide: failed opcode was: unknown
Sep 19 20:37:04 ay kernel: [70401.193394] ide3: reset: success
Sep 19 20:37:05 ay kernel: [70401.209380] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:05 ay kernel: [70401.209380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:05 ay kernel: [70401.209380] ide: failed opcode was: unknown
Sep 19 20:37:05 ay kernel: [70401.209553] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:05 ay kernel: [70401.213380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:05 ay kernel: [70401.213380] ide: failed opcode was: unknown
Sep 19 20:37:05 ay kernel: [70401.217404] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:05 ay kernel: [70401.221380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:05 ay kernel: [70401.221380] ide: failed opcode was: unknown
Sep 19 20:37:05 ay kernel: [70401.221557] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:05 ay kernel: [70401.225380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:05 ay kernel: [70401.225380] ide: failed opcode was: unknown
Sep 19 20:37:05 ay kernel: [70401.237397] ide3: reset: success
Sep 19 20:37:05 ay kernel: [70401.241380] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:05 ay kernel: [70401.241380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:05 ay kernel: [70401.241380] ide: failed opcode was: unknown
Sep 19 20:37:05 ay kernel: [70401.241380] end_request: I/O error, dev hdg, sector 3932032
Sep 19 20:37:05 ay kernel: [70401.241380] Buffer I/O error on device hdg, logical block 491504
Sep 19 20:37:05 ay kernel: [70401.241743] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 19 20:37:05 ay kernel: [70401.245380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032
Sep 19 20:37:05 ay kernel: [70401.245380] ide: failed opcode was: unknown
[...]

--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-19-2008, 08:34 PM
Vincent Lefevre
 
Default Bug#356090: kernel: Can't access PCMCIA card adapter

BTW, I had no problem with the same PCMCIA adapter + 1-GB SD card with
Linux kernel 2.6.6 in July 2004.

--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-21-2008, 02:11 PM
Bastian Blank
 
Default Bug#356090: kernel: Can't access PCMCIA card adapter

On Fri, Sep 19, 2008 at 10:07:36PM +0200, Vincent Lefevre wrote:
> Same problem on my PowerBook G4, with both a 2-GB SD card and a 1-GB SD
> card. The 1-GB card reads fine on my Zaurus (2.4.18 Linux kernel). For
> instance, with the 2-GB card:

Are you sure that this cards are okay?

> Sep 19 20:37:03 ay kernel: [70400.313402] hdg: 3932160 sectors (2013 MB) w/1KiB Cache, CHS=3900/16/63
[...]
> Sep 19 20:37:04 ay kernel: [70401.150287] hdg: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
> Sep 19 20:37:04 ay kernel: [70401.153380] hdg: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=3932032, sector=3932032

It fails to find a sector which is within the reported size.

Bastian

--
Those who hate and fight must stop themselves -- otherwise it is not stopped.
-- Spock, "Day of the Dove", stardate unknown



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-21-2008, 05:31 PM
Vincent Lefevre
 
Default Bug#356090: kernel: Can't access PCMCIA card adapter

On 2008-09-21 16:11:45 +0200, Bastian Blank wrote:
> On Fri, Sep 19, 2008 at 10:07:36PM +0200, Vincent Lefevre wrote:
> > Same problem on my PowerBook G4, with both a 2-GB SD card and a 1-GB SD
> > card. The 1-GB card reads fine on my Zaurus (2.4.18 Linux kernel). For
> > instance, with the 2-GB card:
>
> Are you sure that this cards are okay?

Well, there's no problem with the camera. And there's no problem when
I read the 1-GB card on my Zaurus. (I haven't tried the 2-GB card on
my Zaurus since there's a known bug in the driver for SD cards > 1 GB,
and some users had to reflash.)

I've tried with another 1-GB card, a microSD this time (with a microSD
to SD adapter between the PCMCIA adapter and the memory card), and I get
the following errors:

Sep 21 19:18:11 ay kernel: [43576.625314] pccard: PCMCIA card inserted into slot 0
Sep 21 19:18:11 ay kernel: [43576.629566] pcmcia: registering new device pcmcia0.0
Sep 21 19:18:11 ay kernel: [43576.673130] Probing IDE interface ide3...
Sep 21 19:18:11 ay kernel: [43576.741579] hdg: Memory Card Adapter, CFA DISK drive
Sep 21 19:18:11 ay kernel: [43576.893428] ide3 at 0x000-0x007,0x00e on irq 58
Sep 21 19:18:11 ay kernel: [43576.897498] hdg: max request size: 128KiB
Sep 21 19:18:11 ay kernel: [43576.901343] hdg: 1984000 sectors (1015 MB) w/1KiB Cache, CHS=1968/16/63
Sep 21 19:18:11 ay kernel: [43576.905536] ide-cs: hdg: Vpp = 0.0
Sep 21 19:18:13 ay kernel: [43578.447478] printk: 1 messages suppressed.
Sep 21 19:18:13 ay kernel: [43578.449303] Buffer I/O error on device hdg, logical block 0
Sep 21 19:18:13 ay kernel: [43578.453313] Buffer I/O error on device hdg, logical block 1
Sep 21 19:18:13 ay kernel: [43578.457305] Buffer I/O error on device hdg, logical block 2
Sep 21 19:18:13 ay kernel: [43578.461302] Buffer I/O error on device hdg, logical block 3
Sep 21 19:18:13 ay kernel: [43578.465300] Buffer I/O error on device hdg, logical block 0

However, if I try the same microSD card with a USB adapter, on the same
machine, I have no problems:

Sep 21 19:19:36 ay kernel: [43587.545322] usb 2-1: new full speed USB device using ohci_hcd and address 2
Sep 21 19:19:36 ay kernel: [43587.605288] usb 2-1: configuration #1 chosen from 1 choice
Sep 21 19:19:36 ay kernel: [43587.611354] usb 2-1: New USB device found, idVendor=0781, idProduct=b7b1
Sep 21 19:19:36 ay kernel: [43587.613317] usb 2-1: New USB device strings: Mfr=3, Product=4, SerialNumber=5
Sep 21 19:19:36 ay kernel: [43587.617303] usb 2-1: Product: MobileMate Micro
Sep 21 19:19:36 ay kernel: [43587.621304] usb 2-1: Manufacturer: SanDisk
Sep 21 19:19:36 ay kernel: [43587.625299] usb 2-1: SerialNumber: 000000098043
Sep 21 19:19:37 ay kernel: [43588.122107] SCSI subsystem initialized
Sep 21 19:19:37 ay kernel: [43588.209046] Initializing USB Mass Storage driver...
Sep 21 19:19:37 ay kernel: [43588.215909] scsi0 : SCSI emulation for USB Mass Storage devices
Sep 21 19:19:37 ay kernel: [43588.219211] usbcore: registered new interface driver usb-storage
Sep 21 19:19:37 ay kernel: [43588.221317] USB Mass Storage support registered.
Sep 21 19:19:37 ay kernel: [43588.227249] usb-storage: device found at 2
Sep 21 19:19:37 ay kernel: [43588.227270] usb-storage: waiting for device to settle before scanning
Sep 21 19:19:42 ay kernel: [43588.753289] usb-storage: device scan complete
Sep 21 19:19:42 ay kernel: [43588.756648] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 9407 PQ: 0 ANSI: 0
Sep 21 19:19:42 ay kernel: [43589.141885] Driver 'sd' needs updating - please use bus_type methods
Sep 21 19:19:42 ay kernel: [43589.167567] sd 0:0:0:0: [sda] 1984000 512-byte hardware sectors (1016 MB)
Sep 21 19:19:42 ay kernel: [43589.179581] sd 0:0:0:0: [sda] Write Protect is off
Sep 21 19:19:42 ay kernel: [43589.181307] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
Sep 21 19:19:42 ay kernel: [43589.181319] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sep 21 19:19:42 ay kernel: [43589.208571] sd 0:0:0:0: [sda] 1984000 512-byte hardware sectors (1016 MB)
Sep 21 19:19:43 ay kernel: [43589.213289] sd 0:0:0:0: [sda] Write Protect is off
Sep 21 19:19:43 ay kernel: [43589.213306] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
Sep 21 19:19:43 ay kernel: [43589.213319] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sep 21 19:19:43 ay kernel: [43589.217313] sda: sda1
Sep 21 19:19:43 ay kernel: [43589.222203] sd 0:0:0:0: [sda] Attached SCSI removable disk

I could mount it without any problem:

/dev/sda1 on /mnt/mem type vfat (rw,noexec,nosuid,nodev,noatime,user=lefevre)

--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-21-2008, 05:43 PM
Vincent Lefevre
 
Default Bug#356090: kernel: Can't access PCMCIA card adapter

There's something wrong with one of the drivers:

On 2008-09-21 19:31:45 +0200, Vincent Lefevre wrote:
> I've tried with another 1-GB card, a microSD this time (with a microSD
> to SD adapter between the PCMCIA adapter and the memory card), and I get
> the following errors:
[...]
> Sep 21 19:18:11 ay kernel: [43576.901343] hdg: 1984000 sectors (1015 MB) w/1KiB Cache, CHS=1968/16/63
[...]
> However, if I try the same microSD card with a USB adapter, on the same
> machine, I have no problems:
[...]
> Sep 21 19:19:42 ay kernel: [43589.167567] sd 0:0:0:0: [sda] 1984000 512-byte hardware sectors (1016 MB)
[...]

Same number of sectors, but not the same number of MB's!
Or perhaps they're rounding the value 1015.808 inconsistently.

--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org