usb stick, can't mount

Gene Heskett gene.heskett at verizon.net
Thu May 10 20:48:59 UTC 2007


On Thursday 10 May 2007, David G. Miller wrote:
>Gene Heskett <gene.heskett at verizon.net> wrote:
>> Greetings all;
>>
>> I just mounted, as a vfat filesystem, a 64meg usb key/stick, wrote one
>> file to it on a debian/kubuntu 6.06 LTS system, unmounted it and and
>> brought it in here and plugged it into the FC6 box, on a usb1.1 hub also,
>> but I cannot mount it.
>>
>> usb_storage is loaded according to lsmod.  Here is the stanza from the log
>> when I plug it in:
>>
>> May 10 13:24:42 coyote kernel: scsi2 : SCSI emulation for USB Mass Storage
>> devices May 10 13:24:47 coyote kernel: scsi 2:0:0:0: Direct-Access    
>> Staples                   0.00 PQ: 0 ANSI: 2 May 10 13:24:47 coyote
>> kernel: scsi 2:0:0:0: Attached scsi generic sg4 type 0 May 10 13:29:03
>> coyote kernel: usb 2-2.1: USB disconnect, address 4 May 10 13:29:05 coyote
>> kernel: usb 2-2.2: new full speed USB device using ohci_hcd and address 5
>> May 10 13:29:05 coyote kernel: usb 2-2.2: not running at top speed;
>> connect to a high speed hub May 10 13:29:05 coyote kernel: usb 2-2.2:
>> configuration #1 chosen from 1 choice May 10 13:29:05 coyote kernel: scsi3
>> : SCSI emulation for USB Mass Storage devices May 10 13:29:10 coyote
>> kernel: scsi 3:0:0:0: Direct-Access     Staples                   0.00 PQ:
>> 0 ANSI: 2 May 10 13:29:10 coyote kernel: scsi 3:0:0:0: Attached scsi
>> generic sg4 type 0
>>
>> And of course sg4 is assumed to be the loader robot for the 5th robotic
>> scsi tape drive the last I knew.
>>
>> Shouldn't it be available as /dev/sda1?  It always has been before, quite
>> a few times.
>>
>> Kernel is 2.6.21.1-cfs-v10
>
>Works perfectly and auto-mounts here:
>
>...
>usb 1-2: new full speed USB device using ohci_hcd and address 2
>usb 1-2: configuration #1 chosen from 1 choice
>Initializing USB Mass Storage driver...
>scsi1 : SCSI emulation for USB Mass Storage devices
>usb-storage: device found at 2
>usbcore: registered new interface driver usb-storage
>usb-storage: waiting for device to settle before scanning
>USB Mass Storage support registered.
>scsi 1:0:0:0: Direct-Access     PNY      USB 2.0 FD       PMAP PQ: 0
>ANSI: 0 CCS
>SCSI device sdb: 2015232 512-byte hdwr sectors (1032 MB)
>sdb: Write Protect is off
>sdb: Mode Sense: 23 00 00 00
>sdb: assuming drive cache: write through
>SCSI device sdb: 2015232 512-byte hdwr sectors (1032 MB)
>sdb: Write Protect is off
>sdb: Mode Sense: 23 00 00 00
>sdb: assuming drive cache: write through
> sdb: sdb1
>sd 1:0:0:0: Attached scsi removable disk sdb
>sd 1:0:0:0: Attached scsi generic sg1 type 0
>usb-storage: device scan complete
>SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
>
>At which point I get a Nautilus pop-up window with the drive contents.
>Not sure if this is of any interest but:
>
>[dave at bend ~]#  lsmod | grep usb
>usb_storage            69665  0
>scsi_mod              138093  5
^^^^^^^^^ bingo, I'd forgotten that's needed when I clean house in my kernel 
config.  Mmm, can I plead alzheimers?

I'm about to build a 2.6.21.1cfs-v11 so I'll make sure that gets built.  
Thanks

>usb_storage,sg,aic7xxx,scsi_transport_spi,sd_mod
>
>This is all with:
>
>[dave at bend ~]# uname -a
>Linux bend.local.davenjudy.org 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19
>10:42:48 EDT 2007 i686 athlon i386 GNU/Linux
>
>(At some point I'll reboot and pick up 2948)
>
>Cheers,
>Dave
>
>
>--
>Politics, n. Strife of interests masquerading as a contest of principles.
>-- Ambrose Bierce



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
  Some bachelors want a meaningful overnight relationship.




More information about the users mailing list