Professional Web Applications Themes

Q:how to mount external USB-HDD - Linux Setup, Configuration & Administration

Barnoid <barnoid.nospam.gmx.net> wrote: > /dev/s??, but the problem is that in /dev there are no SCSI devices Did you recompile your kernel with the SCSI emulation, SCSI Generic, SCSI disk, USB support and USB mass storage support? Or did you added the same as modules? Davide...

  1. #1

    Default Re: Q:how to mount external USB-HDD

    Barnoid <barnoid.nospam.gmx.net> wrote:
    > /dev/s??, but the problem is that in /dev there are no SCSI devices
    Did you recompile your kernel with the SCSI emulation, SCSI Generic,
    SCSI disk, USB support and USB mass storage support? Or did you
    added the same as modules?

    Davide
    davide@yahoo.com Guest

  2. #2

    Default Re: Q:how to mount external USB-HDD

    [email]davide[/email] wrote:
    >> /dev/s??, but the problem is that in /dev there are no SCSI devices
    >
    > Did you recompile your kernel with the SCSI emulation, SCSI Generic,
    > SCSI disk, USB support and USB mass storage support? Or did you
    > added the same as modules?
    I did recompile the kernel, following the instructions in
    [url]http://www.linux-usb.org/USB-guide/book1.html[/url], but still no scsi devices
    show up.

    The 'lsmod' output in my original post, however, was generated running the
    unaltered kernel of Mandrake 9.1:
    [rootlangnau root]$ cat /proc/version
    Linux version 2.4.21-0.13mdk (flepiedbi.mandrakesoft.com) (gcc version
    3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 Fri Mar 14 15:08:06 EST 2003

    If I don't recompile the kernel, can you tell me which modules should be
    loaded? Having a look at my lsmod-output in the original post, do you see
    modules that are missing?

    Thanks,
    Barnoid
    Barnoid Guest

  3. #3

    Default Re: Q:how to mount external USB-HDD

    Barnoid <barnoid.nospam.gmx.net> wrote:
    > If I don't recompile the kernel, can you tell me which modules should be
    > loaded?
    I always use monolitic kernel (why bother with modules when you load
    them at boot anyway???), but it looks to me that you should have
    everything in place. What does dmesg display in regard of SCSI?

    Davide
    davide@yahoo.com Guest

  4. #4

    Default Re: Q:how to mount external USB-HDD

    Barnoid (barnoid.nospam.gmx.net) wrote:
    : I did recompile the kernel, following the instructions in
    : [url]http://www.linux-usb.org/USB-guide/book1.html[/url], but still no scsi devices
    : show up.

    : The 'lsmod' output in my original post, however, was generated running the
    : unaltered kernel of Mandrake 9.1:
    : [rootlangnau root]$ cat /proc/version
    : Linux version 2.4.21-0.13mdk (flepiedbi.mandrakesoft.com) (gcc version
    : 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 Fri Mar 14 15:08:06 EST 2003

    : If I don't recompile the kernel, can you tell me which modules should be
    : loaded? Having a look at my lsmod-output in the original post, do you see
    : modules that are missing?

    : Thanks,
    : Barnoid

    The Mandrake 9.1 kernel worked with my camera. This is my "/var/log":

    kernel: hub.c: USB new device connect on bus1/2/4, assigned device number 5
    kernel: usb.c: USB device 5 (vend/prod 0x4b0/0x106) is not claimed by any active driver.
    /etc/hotplug/usb.agent: Setup usb-storage for USB product 4b0/106/100
    kernel: Initializing USB Mass Storage driver...
    kernel: usb.c: registered new driver usb-storage
    kernel: scsi2 : SCSI emulation for USB Mass Storage devices
    kernel: Vendor: NIKON Model: NIKON DSC E775 Rev: 1.00
    kernel: Type: Direct-Access ANSI SCSI revision: 02
    kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
    kernel: SCSI device sdb: 125440 512-byte hdwr sectors (64 MB)
    kernel: sdb: Write Protect is off
    kernel: /dev/scsi/host2/bus0/target0/lun0: p1
    kernel: USB Mass Storage support registered.
    kernel: usb.c: USB disconnect on device 5

    If you have an IDE CD/RW, I would suggest you to run the IDE device
    as SCSI device so that you can be sure all of the necessary SCSI
    module(s) are loaded. You should always run your IDE CD via SCSI
    emulation anyway. I am so used to use "cdrdao" to copy VCD so that
    both of my IDE CD and DVD/RW operate as SCSI devices. I will post
    the output of my "lsmod" when I plug in my camera since I don't have
    an external USB-HDD. It is my understanding that both USB devices
    operate somewhat similar.
    Alex Yung Guest

  5. #5

    Default Re: Q:how to mount external USB-HDD

    Thanks, Davide & Alex.

    I recompiled kernel with SCSI/USB/USB debug output.
    During startup, I now get the following error message:

    kernel: SCSI subsystem driver Revision: 1.00
    kernel: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
    last message repeated 3 times

    possibly because there's no SCSI hostadapter in my PC.

    Anyway, looking at /var/log/messages and plugging the USB HDD in produces
    the following message:

    kernel: hub.c: new USB device 00:1d.0-2, assigned address 5
    kernel: Manufacturer: ScanLogic USBIDE
    kernel: Product: ScanLogic USBIDE
    /sbin/hotplug: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/
    PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug SHLVL=1
    HOME=/ DEVICE=/proc/bus/usb/002/005 INTERFACE=8/5/80 PRODUCT=4ce/2/23
    TYPE=0/0/0 DEBUG=kernel _=/bin/env)
    /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
    /etc/hotplug/usb.agent: ... no modules for USB product 4ce/2/23

    so I guess the system does not know what to do with my device?
    how can I teach it that this is a USB-IDE device?

    Regards,
    Barnoid
    Barnoid Guest

Similar Threads

  1. Mount in user mode && USBD for external HDD
    By Bachelier Vincent in forum FreeBSD
    Replies: 2
    Last Post: February 22nd, 06:57 AM
  2. mount vcr
    By Not so quick in forum Photography
    Replies: 9
    Last Post: September 4th, 06:40 PM
  3. Replies: 1
    Last Post: August 21st, 01:21 AM
  4. mount: /usr ld.so.1 not found
    By Bridge in forum Sun Solaris
    Replies: 1
    Last Post: July 18th, 02:13 PM
  5. Mount it
    By Ken in forum AIX
    Replies: 1
    Last Post: July 14th, 09:33 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139