2009-05-27 09:56:36     Device node creation problem

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-27 09:56:36     Device node creation problem

Hari Prasad (INDIA)

Message: 74650   




When I plug my USB, sometimes device node gets created while sometimes its not created. Following is a log showing such a non-creation scenario:


root: /> usb 1-1: new high speed USB device using musb_hdrc and address 4


usb 1-1: configuration #1 chosen from 1 choice


scsi2 : SCSI emulation for USB Mass Storage devices


scsi 2:0:0:0: Direct-Access     Memorex  TD Classic 003B  PMAP PQ: 0 ANSI: 0 CCS


sd 2:0:0:0: [sda] 4016128 512-byte hardware sectors: (2.05 GB/1.91 GiB)


sd 2:0:0:0: [sda] Write Protect is off


sd 2:0:0:0: [sda] Assuming drive cache: write through


sd 2:0:0:0: [sda] 4016128 512-byte hardware sectors: (2.05 GB/1.91 GiB)


sd 2:0:0:0: [sda] Write Protect is off


sd 2:0:0:0: [sda] Assuming drive cache: write through


sda:<7>usb-storage: queuecommand called




sd 2:0:0:0: [sda] Attached SCSI removable disk




root: />


root: /> ls /dev/


bfin-otp            ram6                tty27               tty51


console             ram7                tty28               tty52


cpu_dma_latency     ram8                tty29               tty53


fb0                 ram9                tty3                tty54


full                random              tty30               tty55


kmsg                rtc0                tty31               tty56


log                 tty                 tty32               tty57


mem                 tty0                tty33               tty58


mtdblock0           tty1                tty34               tty59


mtdblock1           tty10               tty35               tty6


network_latency     tty11               tty36               tty60


network_throughput  tty12               tty37               tty61


null                tty13               tty38               tty62


ptmx                tty14               tty39               tty63


pts                 tty15               tty4                tty7


ram0                tty16               tty40               tty8


ram1                tty17               tty41               tty9


ram10               tty18               tty42               ttyBF0


ram11               tty19               tty43               urandom


ram12               tty2                tty44               usbdev1.1


ram13               tty20               tty45               usbdev1.1_ep00


ram14               tty21               tty46               usbdev1.1_ep81


ram15               tty22               tty47               vcs


ram2                tty23               tty48               vcsa


ram3                tty24               tty49               watchdog


ram4                tty25               tty5                zero


ram5                tty26               tty50


While the USB connect output shows the entry  sda1, there is no such entry in /dev. What could be the problem?




2009-05-27 14:30:32     Re: Device node creation problem

Mike Frysinger (UNITED STATES)

Message: 74658   


try running `mdev -s`