On Wednesday 23 May 2007 21:04, Jay C Vollmer wrote:
> On Wednesday 23 May 2007 12:59, Rikard Johnels wrote:
> > On Wednesday 23 May 2007 19:34, Jay C Vollmer wrote:
> > > Hi Everybody.
> > >
> > > I've just discovered that I'm unable to mount USB pendrives on
> > > my laptop.
> > >
> > > Upon examination, I also find that I have no /dev/sda1.  I assume that
> > > this is the reason why.  If so, can I just recreate it with mknod?
> > >
> > > Can anyone tell me what the parameters are for creating /dev/sda1 with
> > > mknod?
> > >
> > > --
> > > JAY VOLLMER        [EMAIL PROTECTED]
> > > TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK
> > > VERGING CRIMETHINK - IGNORE FULLWISE
> >
> > Does the syslog say it finds the drive, and assigns a /dev/ to it?
> > Seems to me it doesnt, or the system would have created it "on the
>
> fly"...
>
> > Can you please give us a copy of what /var/log/messages say when you
>
> plug the
>
> > pendrive into the computer?
>
> Here are the modules loaded:
>
> usb_storage            82368  0
> scsi_mod              136712  1 usb_storage
> usbcore               128004  4 usb_storage,uhci_hcd,ehci_hcd
> ide_core              130248  3 usb_storage,piix,ide_disk
>
> Here is the tail of /var/log/messages:
>
> May 23 14:00:03 azazel kernel: USB Mass Storage support registered.
> May 23 14:00:14 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 34
> May 23 14:00:17 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 43
> May 23 14:00:18 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 47
> May 23 14:00:19 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 48
> May 23 14:00:20 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 53
> May 23 14:00:23 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 63
> May 23 14:00:24 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 67
> May 23 14:00:26 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 73
> May 23 14:00:28 azazel kernel: usb 1-4: new high speed USB device using
> ehci_hcd and address 78
>
> > --
> >          /Rikard
> >
> > -------------------------------------------------------------------------
> >---- email   : [EMAIL PROTECTED]
> > web     : http://www.rikjoh.com
> > mob:        : +46 (0)763 19 76 25
> > ------------------------ Public PGP
>
> fingerprint ----------------------------
>
> > < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 >
>
> --
> JAY VOLLMER        [EMAIL PROTECTED]
> TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK
> VERGING CRIMETHINK - IGNORE FULLWISE

Seems to me that the system lacks a few daemons (cant say which at this point 
in time)
You dont seem to get the stick assigned to a device.
It registers something, but nothing specific is assigned.

This is an example from my own box as i insert a USB stick:

May 24 13:46:57 weasle kernel: usb 4-4: new high speed USB device using 
ehci_hcd and address 4
May 24 13:46:57 weasle kernel: usb 4-4: new device found, idVendor=1976, 
idProduct=6025
May 24 13:46:57 weasle kernel: usb 4-4: new device strings: Mfr=0, Product=0, 
SerialNumber=0
May 24 13:46:57 weasle kernel: usb 4-4: configuration #1 chosen from 1 choice
May 24 13:46:57 weasle kernel: SCSI subsystem initialized
May 24 13:46:57 weasle kernel: Initializing USB Mass Storage driver...
May 24 13:46:57 weasle kernel: scsi0 : SCSI emulation for USB Mass Storage 
devices
May 24 13:46:57 weasle kernel: usb-storage: device found at 4
May 24 13:46:57 weasle kernel: usb-storage: waiting for device to settle 
before scanning
May 24 13:46:57 weasle kernel: usbcore: registered new driver usb-storage
May 24 13:46:57 weasle kernel: USB Mass Storage support registered.
May 24 13:46:58 weasle kernel:   Vendor: USB 2.0   Model: Flash Disk        
Rev: 2.00
May 24 13:46:58 weasle kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
May 24 13:46:58 weasle kernel: usb-storage: device scan complete
May 24 13:46:58 weasle kernel: SCSI device sda: 2031616 512-byte hdwr sectors 
(1040 MB)
May 24 13:46:58 weasle kernel: sda: Write Protect is off
May 24 13:46:58 weasle kernel: sda: Mode Sense: 0b 00 00 08
May 24 13:46:58 weasle kernel: sda: assuming drive cache: write through
May 24 13:46:58 weasle kernel: SCSI device sda: 2031616 512-byte hdwr sectors 
(1040 MB)
May 24 13:46:58 weasle kernel: sda: Write Protect is off
May 24 13:46:58 weasle kernel: sda: Mode Sense: 0b 00 00 08
May 24 13:46:58 weasle kernel: sda: assuming drive cache: write through
May 24 13:46:58 weasle kernel:  sda: unknown partition table
May 24 13:46:58 weasle kernel: sd 0:0:0:0: Attached scsi removable disk sda
May 24 13:46:58 weasle kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
May 24 13:46:59 weasle hald: mounted /dev/sda on behalf of uid 1000


As you can see it tells you the stick was assigned /dev/sda, and that hald 
mounted the /dev/sda as per request (automunting it)
A simple mount shows:
/dev/sda on /media/disk type vfat (rw, nosuid, nodev, noatime, uid=1000, utf8, 
shortname=lower)

And i can access it under /medis/disk.

-- 
         /Rikard

-----------------------------------------------------------------------------
email   : [EMAIL PROTECTED]
web     : http://www.rikjoh.com
mob:    : +46 (0)763 19 76 25
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 >

Attachment: pgpz6KXXVNQwO.pgp
Description: PGP signature

Reply via email to