Find the answer to your Linux question:
Results 1 to 2 of 2
hi, I'm having problems recognising my usbkey drive on an embedded board with a customised 2.4.31 Kernel. The same pen works ok on my desktop running 2.621 fc6. My cpu ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    2

    # hub.c: Cannot enable port 1 of hub 1, disabling port.


    hi,

    I'm having problems recognising my usbkey drive on an embedded board with a customised 2.4.31 Kernel. The same pen works ok on my desktop running 2.621 fc6.

    My cpu (mip32sel) has a usb host controller. When it boots up I get ..

    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub

    usb_hcd_arc_probe : ehci_hcd
    USB Base Address: b1200100<6>usb.c: new USB bus registered, assigned bus numbe1
    hub.c: USB hub found
    hub.c: 1 port detected
    Initializing USB Mass Storage driver...
    usb.c: registered new driver usb-storage



    When I plug in my pen I see ..

    # hub.c: Cannot enable port 1 of hub 1, disabling port.
    hub.c: Maybe the USB cable is bad?


    Is it anything to do with the error 'kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 '.All my drivers are linked into kernel (no modules) so why is my modprobe being used at all ?

    My .config bits are ..


    CONFIG_ADM8668_USB=y
    CONFIG_USB=y
    CONFIG_USB_EHCI_HCD=y
    CONFIG_USB=y
    CONFIG_USB_DEBUG=y
    CONFIG_USB_DEVICEFS=y
    CONFIG_USB_EHCI_HCD=y
    CONFIG_USB_STORAGE=y

    CONFIG_SCSI=y


    I see /proc/bus/usb (and it's empty)
    I can go ..
    mount -t usbfs /tmp/usbkey /proc/bus/usb

    which appears to work, but no error is returned.


    Does anybody have any ideas?

    Thanks,
    John

  2. #2
    Just Joined!
    Join Date
    Jul 2007
    Posts
    2
    I've remembered, that I turned off pci in the .config file, since the board I'm using doesn't have any pci based peripherals ( afai understood). I remember reading somewhere that the USB EHCI is connected to the pci bus.

    It'll be a few days before I can try this.

Posting Permissions

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