Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
USB hard drive setup
Results 1 to 7 of 7

Thread: USB hard drive setup

  1. #1
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    USB hard drive setup

    I've got the USB external hard-drive that I asked about here: http://www.linuxjunior.org/cgi-bin/Y...94&start=0

    I understand that it should be emulated as a scsi hard drive. I have scsi emulation compiled in the kernel (my IDE CD-ROM already shows up as a scsi drive, so I know it works). The USB ATAPI controller shows up in the USB device list.

    Code:
    cat /proc/bus/usb/devices
    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
    B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 0.00
    S: Product=USB OHCI Root Hub
    S: SerialNumber=e0816000
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS=  2 Ivl=255ms
    T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
    D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=067b ProdID=2307 Rev= 1.00
    S: Manufacturer=Prolific Technology Inc.
    S: Product=ATAPI-4 Bridge Controller
    S: SerialNumber=0
    C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
    E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    E: Ad=83(I) Atr=03(Int.) MxPS=  7 Ivl= 1ms
    The problem is that it won't show up as a scsi drive.

    Code:
    cat /proc/scsi/scsi
    
    Attached devices:
    Host: scsi0 Channel: 00 Id: 00 Lun: 00
     Vendor:     Model: 50X CD-ROM    Rev: 4.2B
     Type:  CD-ROM              ANSI SCSI revision: 02
    That's just my CD-ROM. Now what do I need to do for it to show up as a scsi drive? ???

  2. #2

    Re: USB hard drive setup

    dumb question of the day!
    is the usb-storage module loaded?

  3. #3
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re: USB hard drive setup

    dumb question of the day!
    is the usb-storage module loaded?
    Yeahhh ?!!


  4. #4

    Re: USB hard drive setup

    did you chekc out these instructions?

    http://www.linux-usb.org/USB-guide/x498.html

  5. #5
    Junior Member
    Join Date
    Oct 2001
    Posts
    64

    Re: USB hard drive setup

    Now for my stupid question

    Do you have SCSI hard disk support in this kernel as well as SCSI emulation?

    I know that I need both for my USB removable mass stotage device.

    Just an idea, I know you are bound to have but I forgot once & spent ages wondering why it wouldn't work. Yeah I know I am dumb :

    Regards

    Eddy

  6. #6
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re: USB hard drive setup

    This is the SCSI part of my kernel (2.4.17) .config:
    Code:
    #
    # SCSI support
    #
    CONFIG_SCSI=m
    CONFIG_BLK_DEV_SD=m
    CONFIG_SD_EXTRA_DEVS=40
    CONFIG_CHR_DEV_ST=m
    CONFIG_CHR_DEV_OSST=m
    CONFIG_BLK_DEV_SR=m
    CONFIG_BLK_DEV_SR_VENDOR=y
    CONFIG_SR_EXTRA_DEVS=2
    CONFIG_CHR_DEV_SG=m
    CONFIG_SCSI_DEBUG_QUEUES=y
    CONFIG_SCSI_MULTI_LUN=y
    CONFIG_SCSI_CONSTANTS=y
    # CONFIG_SCSI_LOGGING is not set
    This is the USB part:
    Code:
    #
    # USB support
    #
    CONFIG_USB=m
    CONFIG_USB_DEBUG=y
    CONFIG_USB_DEVICEFS=y
    # CONFIG_USB_BANDWIDTH is not set
    # CONFIG_USB_LONG_TIMEOUT is not set
    CONFIG_USB_UHCI=m
    # CONFIG_USB_UHCI_ALT is not set
    CONFIG_USB_OHCI=m
    # CONFIG_USB_AUDIO is not set
    # CONFIG_USB_BLUETOOTH is not set
    CONFIG_USB_STORAGE=m
    CONFIG_USB_STORAGE_DEBUG=y
    # CONFIG_USB_STORAGE_DATAFAB is not set
    # CONFIG_USB_STORAGE_FREECOM is not set
    # CONFIG_USB_STORAGE_ISD200 is not set
    # CONFIG_USB_STORAGE_DPCM is not set
    # CONFIG_USB_STORAGE_HP8200e is not set
    # CONFIG_USB_STORAGE_SDDR09 is not set
    # CONFIG_USB_STORAGE_JUMPSHOT is not set
    # CONFIG_USB_ACM is not set
    # CONFIG_USB_PRINTER is not set
    # CONFIG_USB_HID is not set
    # CONFIG_USB_HIDDEV is not set
    # CONFIG_USB_KBD is not set
    # CONFIG_USB_MOUSE is not set
    # CONFIG_USB_WACOM is not set
    # CONFIG_USB_DC2XX is not set
    # CONFIG_USB_MDC800 is not set
    # CONFIG_USB_SCANNER is not set
    # CONFIG_USB_MICROTEK is not set
    # CONFIG_USB_HPUSBSCSI is not set
    # CONFIG_USB_PEGASUS is not set
    # CONFIG_USB_KAWETH is not set
    # CONFIG_USB_CATC is not set
    # CONFIG_USB_CDCETHER is not set
    # CONFIG_USB_USBNET is not set
    # CONFIG_USB_USS720 is not set

  7. #7

    Re: USB hard drive setup

    Any progress on this Cloverm?

Similar Threads

  1. Hard drive
    By capsule in forum Windows - General Topics
    Replies: 1
    Last Post: 06-21-2005, 06:37 PM
  2. Hard Drive
    By Waka-Gashira in forum Windows - General Topics
    Replies: 13
    Last Post: 01-08-2005, 08:56 AM
  3. hard drive for the bin?
    By popcorn in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 03-25-2002, 02:20 PM
  4. USB hard drive
    By cloverm in forum Linux - General Topics
    Replies: 6
    Last Post: 02-15-2002, 08:26 PM
  5. hard drive craziness
    By ericb in forum Linux - Hardware, Networking & Security
    Replies: 11
    Last Post: 12-13-2001, 02:43 AM

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
  •