Professional Web Applications Themes

5.3: scbus & da in kernel config, umass as module: but no /dev/da* ? - FreeBSD

Hi, I'm running FreeBSD 5.3. I have following in my kernel config: device scbus device da device uhci device usb hoping that this provides enough 'basic' usb support for my usb-memory-stick. Indeed, I can load the umass module. If I'm not wrong, I must do following to access the usb-memory-stick: mount -t msdos /dev/da0 /mnt but there's no /dev/da* device. So what should I do instead? Thanks, Rob. __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www./r/hs...

  1. #1

    Default 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?


    Hi,

    I'm running FreeBSD 5.3.
    I have following in my kernel config:

    device scbus
    device da
    device uhci
    device usb

    hoping that this provides enough 'basic' usb support
    for my usb-memory-stick. Indeed, I can load the
    umass module.

    If I'm not wrong, I must do following to access the
    usb-memory-stick:
    mount -t msdos /dev/da0 /mnt

    but there's no /dev/da* device.

    So what should I do instead?

    Thanks,
    Rob.




    __________________________________
    Do you Yahoo!?
    Make Yahoo! your home page
    http://www./r/hs
    Rob Guest

  2. #2

    Default Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

    On Thu, 10 Mar 2005 22:41:58 -0800 (PST)
    Rob <com> wrote:
     

    Hello,

    I have a camera that is detected as an 'umass' storage device, and it
    appears as '/dev/da0' (strangely I can use it as a common storage
    device). This is my configuration:

    kernel options:

    device scbus
    device da
    device pass
    device uhci
    device ohci
    device usb
    device umass
    device ehci

    '/etc/rc.conf' options:

    usbd_enable="YES"

    To test it you can:

    1) Check the devices in '/dev/daX'.
    2) # camcontrol devlist
    3) Check the boot messages (umass and da) and the messages printed when
    you plug the device.

    To mount it you have to select a slice (if it has data stored in):

    mount -t msdosfs /dev/da0s1 /mnt

    Hope that helps.

    Best Regards,
    Ale
    Alejandro Guest

  3. #3

    Default Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

    Alejandro Pulver wrote: 
    >
    > Hello,
    >
    > I have a camera that is detected as an 'umass'
    > storage device, and it appears as '/dev/da0'
    > (strangely I can use it as a common storage
    > device). This is my configuration:
    >
    > kernel options:
    >
    > device scbus
    > device da
    > device pass
    > device uhci
    > device ohci
    > device usb
    > device umass
    > device ehci
    >
    > '/etc/rc.conf' options:
    >
    > usbd_enable="YES"
    >
    > To test it you can:
    >
    > 1) Check the devices in '/dev/daX'.
    > 2) # camcontrol devlist
    > 3) Check the boot messages (umass and da) and
    > the messages printed when you plug the device.
    >
    > To mount it you have to select a slice (if it has
    > data stored in):
    >
    > mount -t msdosfs /dev/da0s1 /mnt[/ref]

    I do not have the cam device in the kernel config.
    Do I have to? I also don't have umass in the
    kernel config either, but I load that as a module
    later; is that OK?

    Problem is that I do not have any /dev/da* devices,
    with or without my memory stick in the usb port.

    I load umass module into the kernel, and then plug
    the memory stick into the usb port. The console
    gets then:

    umass0: EXATEL , Inc. I-BEAD Multi Player, rev
    1.10/0.01, addr 2
    umass0: Get Max Lun not supported (STALLED)
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <EXATEL i-BEAD100 0001> Removable Direct Access
    SCSI-4 device
    da0: 1.000MB/s transfers
    da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)
    umass0: BBB reset failed, STALLED
    umass0: BBB bulk-in clear stall failed, STALLED
    umass0: BBB bulk-out clear stall failed, STALLED
    [...last three lines repeated every minute or so...]


    What does the "STALLED" mean here?
    Is that critical? The "usbdevs -v" reports now:

    Controller /dev/usb0:
    addr 1: full speed, self powered, config 1, UHCI
    root hub(0x0000), Intel(0x0000), rev 1.00
    port 1 powered
    port 2 addr 2: full speed, self powered, config 1,
    i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f),
    rev 0.01

    But I have no /dev/da0 :

    # ls /dev/da*
    ls: No match.

    So, the memory stick is detected at the USB port,
    but I don't have the /dev/da* devices to mount the
    memory stick (although devices da and scbus are in
    my kernel config!).
    When I remove the memory stick, I get following in
    the console:

    umass0: at uhub0 port 2 (addr 2) disconnected
    (da0:umass-sim0:0:0:0): lost device
    (da0:umass-sim0:0:0:0): removing device entry
    Opened disk da0 -> 5
    umass0: detached


    What am I doing wrong?

    Thanks,
    Rob.

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.
    Rob Guest

  4. #4

    Default Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

    > Alejandro Pulver wrote: 
    >>
    >> Hello,
    >>
    >> I have a camera that is detected as an 'umass'
    >> storage device, and it appears as '/dev/da0'
    >> (strangely I can use it as a common storage
    >> device). This is my configuration:
    >>
    >> kernel options:
    >>
    >> device scbus
    >> device da
    >> device pass
    >> device uhci
    >> device ohci
    >> device usb
    >> device umass
    >> device ehci
    >>
    >> '/etc/rc.conf' options:
    >>
    >> usbd_enable="YES"
    >>
    >> To test it you can:
    >>
    >> 1) Check the devices in '/dev/daX'.
    >> 2) # camcontrol devlist
    >> 3) Check the boot messages (umass and da) and
    >> the messages printed when you plug the device.
    >>
    >> To mount it you have to select a slice (if it has
    >> data stored in):
    >>
    >> mount -t msdosfs /dev/da0s1 /mnt[/ref]
    >
    > I do not have the cam device in the kernel config.
    > Do I have to? I also don't have umass in the
    > kernel config either, but I load that as a module
    > later; is that OK?
    >
    > Problem is that I do not have any /dev/da* devices,
    > with or without my memory stick in the usb port.
    >
    > I load umass module into the kernel, and then plug
    > the memory stick into the usb port. The console
    > gets then:
    >
    > umass0: EXATEL , Inc. I-BEAD Multi Player, rev
    > 1.10/0.01, addr 2
    > umass0: Get Max Lun not supported (STALLED)
    > da0 at umass-sim0 bus 0 target 0 lun 0
    > da0: <EXATEL i-BEAD100 0001> Removable Direct Access
    > SCSI-4 device
    > da0: 1.000MB/s transfers
    > da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)
    > umass0: BBB reset failed, STALLED
    > umass0: BBB bulk-in clear stall failed, STALLED
    > umass0: BBB bulk-out clear stall failed, STALLED
    > [...last three lines repeated every minute or so...]
    >
    >
    > What does the "STALLED" mean here?
    > Is that critical? The "usbdevs -v" reports now:
    >
    > Controller /dev/usb0:
    > addr 1: full speed, self powered, config 1, UHCI
    > root hub(0x0000), Intel(0x0000), rev 1.00
    > port 1 powered
    > port 2 addr 2: full speed, self powered, config 1,
    > i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f),
    > rev 0.01
    >
    > But I have no /dev/da0 :
    >
    > # ls /dev/da*
    > ls: No match.
    >
    > So, the memory stick is detected at the USB port,
    > but I don't have the /dev/da* devices to mount the
    > memory stick (although devices da and scbus are in
    > my kernel config!).
    > When I remove the memory stick, I get following in
    > the console:
    >
    > umass0: at uhub0 port 2 (addr 2) disconnected
    > (da0:umass-sim0:0:0:0): lost device
    > (da0:umass-sim0:0:0:0): removing device entry
    > Opened disk da0 -> 5
    > umass0: detached
    >
    >
    > What am I doing wrong?
    >
    > Thanks,
    > Rob.
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam protection around
    > http://mail.
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "org"[/ref]

    I don't know about FreeBSD but in linux i used "fdisk -l" (lowercase L) to
    list the partitions on a device. This helped identify for a start what the
    device was and also what partition I needed to mount. Also in linux for
    some reason my USB memory stick appeared as a SCSI device alongside my
    SATA hard disk and my firewire connected iPod. All a bit odd really :/


    Matt Guest

  5. #5

    Default Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ?

    On Sat, 12 Mar 2005 00:00:23 -0800 (PST)
    Rob <com> wrote:
     
    > >
    > > Hello,
    > >
    > > I have a camera that is detected as an 'umass'
    > > storage device, and it appears as '/dev/da0'
    > > (strangely I can use it as a common storage
    > > device). This is my configuration:
    > >
    > > kernel options:
    > >
    > > device scbus
    > > device da
    > > device pass
    > > device uhci
    > > device ohci
    > > device usb
    > > device umass
    > > device ehci
    > >
    > > '/etc/rc.conf' options:
    > >
    > > usbd_enable="YES"
    > >
    > > To test it you can:
    > >
    > > 1) Check the devices in '/dev/daX'.
    > > 2) # camcontrol devlist
    > > 3) Check the boot messages (umass and da) and
    > > the messages printed when you plug the device.
    > >
    > > To mount it you have to select a slice (if it has
    > > data stored in):
    > >
    > > mount -t msdosfs /dev/da0s1 /mnt[/ref]
    >
    > I do not have the cam device in the kernel config.
    > Do I have to? I also don't have umass in the
    > kernel config either, but I load that as a module
    > later; is that OK?
    >
    > Problem is that I do not have any /dev/da* devices,
    > with or without my memory stick in the usb port.
    >
    > I load umass module into the kernel, and then plug
    > the memory stick into the usb port. The console
    > gets then:
    >
    > umass0: EXATEL , Inc. I-BEAD Multi Player, rev
    > 1.10/0.01, addr 2
    > umass0: Get Max Lun not supported (STALLED)
    > da0 at umass-sim0 bus 0 target 0 lun 0
    > da0: <EXATEL i-BEAD100 0001> Removable Direct Access
    > SCSI-4 device
    > da0: 1.000MB/s transfers
    > da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)
    > umass0: BBB reset failed, STALLED
    > umass0: BBB bulk-in clear stall failed, STALLED
    > umass0: BBB bulk-out clear stall failed, STALLED
    > [...last three lines repeated every minute or so...]
    >
    >
    > What does the "STALLED" mean here?
    > Is that critical? The "usbdevs -v" reports now:
    >
    > Controller /dev/usb0:
    > addr 1: full speed, self powered, config 1, UHCI
    > root hub(0x0000), Intel(0x0000), rev 1.00
    > port 1 powered
    > port 2 addr 2: full speed, self powered, config 1,
    > i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f),
    > rev 0.01
    >
    > But I have no /dev/da0 :
    >
    > # ls /dev/da*
    > ls: No match.
    >
    > So, the memory stick is detected at the USB port,
    > but I don't have the /dev/da* devices to mount the
    > memory stick (although devices da and scbus are in
    > my kernel config!).
    > When I remove the memory stick, I get following in
    > the console:
    >
    > umass0: at uhub0 port 2 (addr 2) disconnected
    > (da0:umass-sim0:0:0:0): lost device
    > (da0:umass-sim0:0:0:0): removing device entry
    > Opened disk da0 -> 5
    > umass0: detached
    >
    >
    > What am I doing wrong?
    >
    > Thanks,
    > Rob.
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam protection around
    > http://mail.
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "org"[/ref]

    Hello,

    I think your configuration is fine.

    I guess the problem is with the driver or maybe it needs some extra
    configuration.

    Your device is detected:

    umass0: EXATEL , Inc. I-BEAD Multi Player, rev
    1.10/0.01, addr 2
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <EXATEL i-BEAD100 0001> Removable Direct Access
    SCSI-4 device
    da0: 1.000MB/s transfers
    da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C)

    I think the source of the problem are these lines:

    umass0: Get Max Lun not supported (STALLED)
    umass0: BBB reset failed, STALLED
    umass0: BBB bulk-in clear stall failed, STALLED
    umass0: BBB bulk-out clear stall failed, STALLED
    [...last three lines repeated every minute or so...]

    I do not know how to solve this, but perhaps someone will answer you in
    the 'org' list.

    Do not forget to provide the following information:

    1) messages reported when booting/plugging/unplugging/
    2) # camcontrol devlist
    3) # usbdevfs -v
    4) error messages (STALLED)
    5) FreeBSD version and kernel options related to USB

    Best Regards,
    Ale
    Alejandro Guest

Similar Threads

  1. Kernel .config pr
    By Tim Shapcott in forum PERL Modules
    Replies: 0
    Last Post: February 3rd, 06:07 PM
  2. Replies: 6
    Last Post: October 31st, 02:34 PM
  3. RH9.0 - kernel source directory and kernel config ?
    By Marcio in forum Linux Setup, Configuration & Administration
    Replies: 7
    Last Post: October 12th, 08:49 AM
  4. Replies: 2
    Last Post: July 11th, 04:20 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