Results 1 to 7 of 7

Thread: HotPlug / My fstab problem??

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Location
    France / Finland
    Posts
    61

    HotPlug / My fstab problem??

    Hello,

    I am not able to get the hotplug working...
    I can see that I have an USB thing plugged but I cannot find a way to mount or access the data.

    I am wondering if it could not be an error in my fstab
    Code:
    # /etc/fstab: filesystem table.
    #
    # filesystem  mountpoint  type  options  dump  pass
    /dev/hda3  /  reiserfs  defaults  0  1
    /dev/hda6  none  swap  sw  0  0
    proc  /proc  proc  defaults  0  0
    none  /proc/bus/usb  usbdevfs  defaults 0 0
    /dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
    /dev/cdrom  /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
    
    # partitions found by Knoppix
    #/dev/hda3 /mnt/hda3 reiserfs noauto,users,exec 0 0
    /dev/hda1 /mnt/hda1 ntfs defaults,users,exec 0 0
    /dev/hda5 /mnt/hda5 vfat defaults,users,exec,umask=000 0 0
    Is it good the way of mounting the USB port? Where do I need to go to access the data of my USB device?

    Regards
    Ludo

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    If you haven't gotten this solved yet perhaps this will help. USB storage devices can be found at /dev/sda1 /dev/sda2 etc.

    usbview in a terminal should show you your USB hub and what's connected to it.

    cat /proc/bus/usb/devices

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Maybe it's me, but usbview hasn't been working for me for a few releases now. Even when I have usb devices plugged in and working, usbview doesn't work. In fact I get the following message:


    Code:
    Can not open the file /proc/bus/usb/devices
    
    Verify that you have USB compiled into your kernel, have the USB core modules loaded, and have the usbdevfs filesystem mounted
    Like I said, I get this message even when usb devices are plugged in and working fine so I'm reluctant to recommend usbview as a good way to check if usb devices are detected right now...unless someone else has an explanation as to what's going on.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Sounds like you don't have /proc in your fstab. proc is just a virtual filesystem that you can use to gain insight as to your system. It isn't actually necessary for USB to function. USBview is of course just a frontend for
    cat /proc/bus/usb/devices. It certainly does a nice job of decifering.

    Here's the line from my fstab:

    Code:
    proc  /proc  proc  defaults  0  0
    If you have /proc mounted USBview is very cool- it will show you when something gets plugged in or removed.

  5. #5
    Member registered user
    Join Date
    Jul 2003
    Location
    France / Finland
    Posts
    61
    Quote Originally Posted by rickenbacherus
    If you haven't gotten this solved yet perhaps this will help. USB storage devices can be found at /dev/sda1 /dev/sda2 etc.

    usbview in a terminal should show you your USB hub and what's connected to it.

    cat /proc/bus/usb/devices
    hiya,
    it did work for a time with the /dev/sda1 but now , it always says an error during the boot with my line in the fstab...

    tonight, I 'll take my fstab and tomorrow I'll put it here.. you might se the error in my line with the /dev/sda1 ...

    Thxs
    Ludo

  6. #6
    Member registered user
    Join Date
    Jul 2003
    Location
    France / Finland
    Posts
    61
    Here is my fstab:
    Code:
    # /etc/fstab: filesystem table.
    #
    # filesystem  mountpoint  type  options  dump  pass
    /dev/hda3  /  reiserfs  defaults  0  0
    
    /dev/hda1 /mnt/hda1 ntfs defaults,users,exec 0 0
    
    /dev/hda5 /mnt/hda5 vfat defaults,users,exec,umask=000,gid=disk 0 0
    /dev/hda6  none  swap  sw  0  0
    proc  /proc  proc  defaults  0  0
    none /proc/bus/usb usbdevfs defaults 0 0
    /dev/fd0  /floppy  vfat  defaults,users,noauto,showexec,umask=022  0  0
    /dev/cdrom  /cdrom  iso9660  defaults,users,noexec,noauto  0  0
    /dev/sda1 /mnt/usb vfat defaults 0 0
    and here are the errors that I get:
    mount: /dev/sda1 is not a valid block device
    modprobe: modprobe: can't locate module block-major 8
    Have you got an idea/solution for this ones??

    thxs
    Ludo

  7. #7
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    15
    I did this to get usb working after 7-26-03 hdinstall.

    mkdir /mnt/sda1 (only if sda1 doesn't exist)

    edited the /etc/fstab file by adding:

    /dev/sda1/ /mnt/sda1 vfat noauto,users,exec,unmask 0 0

    Do this if don't know to edit: sudo kwrite file:/etc/fstab

    Make Usb icon on desktop and click to view usb drive.

Similar Threads

  1. fstab/cdrom problem
    By Joe Soap in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-03-2005, 09:15 PM
  2. Problem when moving New Fstab to the Old Fstab to fix Suse
    By cheetahman in forum General Support
    Replies: 19
    Last Post: 03-21-2005, 11:58 AM
  3. Problem during creation of /etc/fstab
    By rohandhruva in forum General Support
    Replies: 0
    Last Post: 12-27-2004, 07:10 AM
  4. /etc/fstab problem on boot
    By paulh in forum General Support
    Replies: 1
    Last Post: 03-24-2004, 05:00 AM
  5. hotplug usb problem
    By docsneider in forum Hardware & Booting
    Replies: 5
    Last Post: 01-26-2004, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity picture

IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity

$100.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ picture

IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ

$20.00



IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU picture

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU

$450.00



IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU picture

IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU

$299.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99