|
Prev: Xorg eats my CPU
Next: ca0106
From: Steven Flintham on 10 Jan 2006 18:40 Hi, I'm running Debian 3.1 and have been using a couple of 512MB SD cards in my USB card reader without any problems. I'm running the standard 2.4 kernel and have the following in /etc/fstab: /dev/sdc1 /media/mmc vfat rw,user,noauto 0 0 When I do: mount /media/mmc the SD card mounts fine, and dmesg shows: SCSI device sdc: 1002496 512-byte hdwr sectors (513 MB) sdc: Write Protect is off /dev/scsi/host2/bus0/target0/lun2: p1 I've recently bought a 2GB SD card, which seems to work fine (at least as far as my Treo 600 is concerned). However, when I put it in the card reader and try to mount it, the process hangs (the system is fine, it's just that process which seems unkillable - I'm writing this with the system in this state) and dmesg shows: SCSI device sdc: 2031616 1024-byte hdwr sectors (2080 MB) sdc: Write Protect is off /dev/scsi/host2/bus0/target0/lun2:<6>usb.c: USB disconnect on device 00:07.2-2address 2 hub.c: new USB device 00:07.2-2, assigned address 3 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 3 I've tried running: mkdosfs /dev/sdc1 which works fine with a 512MB card but produces a similar process hang with the 2GB card. I tried using the 2.6.8 kernel but when I installed it and rebooted, my system seemed to encounter a kernel panic - I have to admit I haven't investigated this in any great detail. I don't have any other operating systems installed so I can't tell if my card reader is somehow incompatible with 2GB cards, but I tried booting off an old version of Knoppix (3.6 2004-08-16) which I had lying around. Under that I can't seem to manage to mount even my 512MB card, so that wasn't much help. Any advice would be appreciated. Thanks, and apologies if I somehow managed to miss any advice on this when I searched the debian-user archives. Steve -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Ron Johnson on 11 Jan 2006 10:50 On Tue, 2006-01-10 at 23:22 +0000, Steven Flintham wrote: > Hi, > > I'm running Debian 3.1 and have been using a couple of 512MB SD cards in > my USB card reader without any problems. I'm running the standard 2.4 > kernel and have the following in /etc/fstab: > > /dev/sdc1 /media/mmc vfat rw,user,noauto 0 0 > > When I do: > > mount /media/mmc > > the SD card mounts fine, and dmesg shows: > > SCSI device sdc: 1002496 512-byte hdwr sectors (513 MB) > sdc: Write Protect is off > /dev/scsi/host2/bus0/target0/lun2: p1 > > I've recently bought a 2GB SD card, which seems to work fine (at least > as far as my Treo 600 is concerned). However, when I put it in the card > reader and try to mount it, the process hangs (the system is fine, it's > just that process which seems unkillable - I'm writing this with the > system in this state) and dmesg shows: > > SCSI device sdc: 2031616 1024-byte hdwr sectors (2080 MB) > sdc: Write Protect is off > /dev/scsi/host2/bus0/target0/lun2:<6>usb.c: USB disconnect on device > 00:07.2-2address 2 > hub.c: new USB device 00:07.2-2, assigned address 3 > WARNING: USB Mass Storage data integrity not assured > USB Mass Storage device found at 3 > > I've tried running: > > mkdosfs /dev/sdc1 > > which works fine with a 512MB card but produces a similar process hang > with the 2GB card. > > I tried using the 2.6.8 kernel but when I installed it and rebooted, my > system seemed to encounter a kernel panic - I have to admit I haven't > investigated this in any great detail. > > I don't have any other operating systems installed so I can't tell if my > card reader is somehow incompatible with 2GB cards, but I tried booting > off an old version of Knoppix (3.6 2004-08-16) which I had lying around. > Under that I can't seem to manage to mount even my 512MB card, so that > wasn't much help. > > Any advice would be appreciated. Thanks, and apologies if I somehow > managed to miss any advice on this when I searched the debian-user > archives. The maximum size of a FAT16 FS is 2GB. Maybe there's an "off by 1" error? Have you tried formatting it FAT32, or re-partitioning sdc1 1.95GB? -- ----------------------------------------------------------------- Ron Johnson, Jr. Jefferson, LA USA "Democracy becomes a government of bullies, tempered by editors." Ralph Waldo Emerson -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Darryl Clarke on 11 Jan 2006 13:50 On 1/10/06, Steven Flintham <saf(a)lemma.co.uk> wrote: > Hi, > > I'm running Debian 3.1 and have been using a couple of 512MB SD cards in > my USB card reader without any problems. I'm running the standard 2.4 > kernel and have the following in /etc/fstab: > > /dev/sdc1 /media/mmc vfat rw,user,noauto 0 0 [snip] > SCSI device sdc: 2031616 1024-byte hdwr sectors (2080 MB) According to this your SD exceeds 2GB by a few MB in size. Try formatting with Fat32. [big snip] HTH. -- ~ Darryl ~ smartssa(a)gmail.com http://smartssa.com / http://darrylclarke.com
From: Steven Flintham on 15 Jan 2006 13:40 On Wed, Jan 11, 2006 at 09:41:21AM -0600, Ron Johnson wrote: > On Tue, 2006-01-10 at 23:22 +0000, Steven Flintham wrote: > > SCSI device sdc: 2031616 1024-byte hdwr sectors (2080 MB) > > sdc: Write Protect is off > > /dev/scsi/host2/bus0/target0/lun2:<6>usb.c: USB disconnect on device > > 00:07.2-2address 2 > > hub.c: new USB device 00:07.2-2, assigned address 3 > > WARNING: USB Mass Storage data integrity not assured > > USB Mass Storage device found at 3 > The maximum size of a FAT16 FS is 2GB. Maybe there's an "off by 1" > error? > > Have you tried formatting it FAT32, or re-partitioning sdc1 1.95GB? Thanks, and also to the other poster who suggested this. Unfortunately I don't seem to be able to repartition, when do I: # fdisk /dev/sdc it seems to hang and dmesg shows the following: SCSI device sdc: 2031616 1024-byte hdwr sectors (2080 MB) sdc: Write Protect is off /dev/scsi/host2/bus0/target0/lun2:<6>usb.c: USB disconnect on device 00:07.2-2address 2 hub.c: new USB device 00:07.2-2, assigned address 3 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 3 scsi: device set offline - not ready or command retry failed after bus reset: host 2 channel 0 id 0 lun 2 I/O error: dev 08:20, sector 0 I/O error: dev 08:20, sector 0 unable to read partition table Similar problems occur if I try to make a filesystem using something other than mkdosfs. Am I doing something obviously wrong? It could be the card reader is fundamentally incompatible with the card for some reason, I may see if I can arrange to try it on a Windows box as a diagnostic measure. Thanks. Steve -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
|
Pages: 1 Prev: Xorg eats my CPU Next: ca0106 |