Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60275 - No device node created when Disgo pro is plugged into the usb port
Summary: No device node created when Disgo pro is plugged into the usb port
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL: http://bugzilla.redhat.com/bugzilla/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 14:51 UTC by Colin Tinker
Modified: 2004-08-13 22:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Tinker 2004-08-13 14:51:15 UTC
usb 2-2.5: new full speed USB device using address 7
scsi17 : SCSI emulation for USB Mass Storage devices
  Vendor: disgo     Model:                   Rev: 4.20
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi17, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi17, channel 0, id 0, lun 0,  type 0
USB Mass Storage device found at 7

The url above is gives details of the error I am seeing

Reproducible: Always
Steps to Reproduce:
1.plug the usb stick into a usb port
2.cat /dev/sdx*
3.

Actual Results:  
No device node i.e. sda1 or sdb1 is created 

Expected Results:  
create the device node 

System is running kernel 2.6.7-r14 with udev-030 
 
cat /proc/partitions 
major minor  #blocks  name 
 
   3     0   60051600 hda 
   3     1      96358 hda1 
   3     2    2000092 hda2 
   3     3   57954487 hda3 
   8     0      62592 sda 
   8     1      62512 sda1 
 
lsusb 
Bus 002 Device 007: ID 08ec:0011 M-Systems Flash Disk Pioneers 
 
lsusb -v 
 
Bus 002 Device 007: ID 08ec:0011 M-Systems Flash Disk Pioneers 
Device Descriptor: 
  bLength                18 
  bDescriptorType         1 
  bcdUSB               2.00 
  bDeviceClass            0 Interface 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64 
  idVendor           0x08ec M-Systems Flash Disk Pioneers 
  idProduct          0x0011 
  bcdDevice            2.00 
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1 
  Configuration Descriptor: 
    bLength                 9 
    bDescriptorType         2 
    wTotalLength           32 
    bNumInterfaces          1 
    bConfigurationValue     1 
    iConfiguration          0 
    bmAttributes         0x80 
    MaxPower              178mA 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        0 
      bAlternateSetting       0 
      bNumEndpoints           2 
      bInterfaceClass         8 Mass Storage 
      bInterfaceSubClass      6 SCSI 
      bInterfaceProtocol     80 Bulk (Zip) 
      iInterface              0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x81  EP 1 IN 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               none 
        wMaxPacketSize         64 
        bInterval               0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x02  EP 2 OUT 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               none 
        wMaxPacketSize         64 
        bInterval               0 
  Language IDs: (length=4) 
     0409 English(US) 
 
 
If I type mount -t vfat /dev/sdx /mnt/usb then type mount -t 
vfat /dev/sdx1 /mnt/usb it will mount fine as the partitions have been 
scannned.  Of course trying to moubnt /dev/sdx errors. 
 
I want to use this with pam_usb but until it is recognised correctly I can't.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-08-13 16:15:35 UTC
How about just creating a rule with the NAME{all_partitions} type rule
in it?  That function was added to udev just because of this issue.

See the manpage for more information.
Comment 2 Colin Tinker 2004-08-13 16:37:45 UTC
I am going round in circles with this one can you supply and example?  Sorry if I am being a bit stupid on this one but udev is new to me.

Thanks

Colin
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-08-13 22:47:12 UTC
Please read the udev man pages, and the udev HOWTO for more information
about creating a rule for your device that tells udev to create all
partition entries for your device.