Cross building udev cannot creat device node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I cross build Udev and run on arm and found cannot creat device node.

Linux version 3.0.35  (gcc version 4.6.2 20110630 (prerelease)
(Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #161
SMP PREEMPT Fri May 30 18:21:18 CST 2014

udev 182

/sbin # [ 7350.371305] mmc1: new high speed SDHC card at address 1234
[7350.154204] [7540] builtin_kmod[ 7350.380433] mmcblk1: mmc1:1234
SA04G 3.63 GiB
_validate: validate module index
[7350.157103] [7540] event_queu[ 7350.389884]  mmcblk1: p1
e_insert: seq 733 queued, 'add' 'mmc'
[7350.161978] [7550] worker_new: seq 733 running
[7350.162079] [7550] udev_device_new_from_syspath: device 0x450a8 has
devpath '/devices/platform/sdhci-esdhc-imx.0/mmc_host/mmc1/mmc1:1234'
[7350.162486] [7540] udev_monitor_send_device: passed 229 bytes to
netlink monitor 0x43360
[7350.162632] [7540] event_queue_insert: seq 734 queued, 'add' 'bdi'
[7350.163103] [7554] worker_new: seq 734 running
[7350.163277] [7554] udev_device_new_from_syspath: device 0x43360 has
devpath '/devices/virtual/bdi/179:24'
[7350.163669] [7550] udev_device_read_db: no db file to read
/run/udev/data/+mmc:mmc1:1234: No such file or directory
[7350.163734] [7550] udev_rules_apply_to_event: RUN
'/etc/dev.d/default/gs_hotplug.dev %k %n %M %m'
/etc/udev/rules.d/50-udev.rules:48
[7350.164178] [7540] udev_monitor_send_device: passed 151 bytes to
netlink monitor 0x43360
[7350.164645] [7554] udev_device_read_db: no db file to read
/run/udev/data/+bdi:179:24: No such file or directory
[7350.164710] [7554] udev_rules_apply_to_event: RUN
'/etc/dev.d/default/gs_hotplug.dev %k %n %M %m'
/etc/udev/rules.d/50-udev.rules:48
[7350.164987] [8725] udev_event_spawn: starting
'/etc/dev.d/default/gs_hotplug.dev mmc1:1234 1234 0 0'
[7350.166045] [8726] udev_event_spawn: starting
'/etc/dev.d/default/gs_hotplug.dev 179:24 24 0 0'
[7350.172073] [7540] event_queue_insert: seq 735 queued, 'add' 'block'
[7350.173630] [7540] event_queue_insert: seq 736 queued, 'add' 'block'
[7350.175565] [7554] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
179:24 24 0 0'(out) '179:24 24 0 0'
[7350.176439] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmc1:1234 1234 0 0'(out) 'mmc1:1234 1234 0 0'
[7350.223230] [7554] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
179:24 24 0 0'(err) 'sh: hid_mouse: unknown operand'
[7350.223278] [7554] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
179:24 24 0 0'(err) 'sh: hid_keyboard: unknown operand'
[7350.223361] [7554] spawn_wait: '/etc/dev.d/default/gs_hotplug.dev
179:24 24 0 0' [8726] exit with return code 0
[7350.223572] [7554] udev_monitor_send_device: passed -1 bytes to
netlink monitor 0x45220
[7350.223620] [7554] worker_new: seq 734 processed with 0
[7350.223750] [7540] event_queue_delete: seq 734 done with 0
[7350.225500] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmc1:1234 1234 0 0'(err) 'sh: hid_mouse: unknown operand'
[7350.225532] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmc1:1234 1234 0 0'(err) 'sh: hid_keyboard: unknown operand'
[7350.225606] [7550] spawn_wait: '/etc/dev.d/default/gs_hotplug.dev
mmc1:1234 1234 0 0' [8725] exit with return code 0
[7350.225852] [7550] udev_monitor_send_device: passed -1 bytes to
netlink monitor 0x44ca8
[7350.225890] [7550] worker_new: seq 733 processed with 0
[7350.225940] [7540] event_queue_delete: seq 733 done with 0
[7350.226030] [7540] udev_monitor_send_device: passed 252 bytes to
netlink monitor 0x43360
[7350.226137] [7550] worker_new: seq 735 running
[7350.226263] [7550] udev_device_new_from_syspath: device 0x450a8 has
devpath '/devices/platform/sdhci-esdhc-imx.0/mmc_host/mmc1/mmc1:1234/block/mmcblk1'
[7350.226888] [7550] udev_device_read_db: no db file to read
/run/udev/data/b179:24: No such file or directory
[7350.226948] [7550] udev_rules_apply_to_event: RUN
'/etc/dev.d/default/gs_hotplug.dev %k %n %M %m'
/etc/udev/rules.d/50-udev.rules:48
[7350.226988] [7550] udev_node_add: handling device node
'/dev/mmcblk1', devnum=b179:24, mode=0600, uid=0, gid=0
[7350.227038] [7550] node_fixup: can not stat() node '/dev/mmcblk1'
(No such file or directory)
[7350.229375] [7550] udev_device_update_db: created empty file
'/run/udev/data/b179:24' for
'/devices/platform/sdhci-esdhc-imx.0/mmc_host/mmc1/mmc1:1234/block/mmcblk1'
[7350.230143] [8761] udev_event_spawn: starting
'/etc/dev.d/default/gs_hotplug.dev mmcblk1 1 179 24'
[7350.234969] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1 1 179 24'(out) 'mmcblk1 1 179 24'
[7350.276693] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1 1 179 24'(err) '/dev/mmcblk1: error opening volume'
[7350.278910] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1 1 179 24'(err) 'sh: vfat: unknown operand'
[7350.284648] [7550] spawn_wait: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1 1 179 24' [8761] exit with return code 0
[7350.284733] [7550] udev_monitor_send_device: passed -1 bytes to
netlink monitor 0x44ca8
[7350.284776] [7550] worker_new: seq 735 processed with 0
[7350.284854] [7540] event_queue_delete: seq 735 done with 0
[7350.284945] [7540] udev_monitor_send_device: passed 269 bytes to
netlink monitor 0x43360
[7350.285044] [7550] worker_new: seq 736 running
[7350.285187] [7550] udev_device_new_from_syspath: device 0x43410 has
devpath '/devices/platform/sdhci-esdhc-imx.0/mmc_host/mmc1/mmc1:1234/block/mmcblk1/mmcblk1p1'
[7350.286144] [7550] udev_device_read_db: no db file to read
/run/udev/data/b179:25: No such file or directory
[7350.286207] [7550] udev_rules_apply_to_event: RUN
'/etc/dev.d/default/gs_hotplug.dev %k %n %M %m'
/etc/udev/rules.d/50-udev.rules:48
[7350.286246] [7550] udev_node_add: handling device node
'/dev/mmcblk1p1', devnum=b179:25, mode=0600, uid=0, gid=0
[7350.286295] [7550] node_fixup: can not stat() node '/dev/mmcblk1p1'
(No such file or directory)
[7350.288551] [7550] udev_device_update_db: created empty file
'/run/udev/data/b179:25' for
'/devices/platform/sdhci-esdhc-imx.0/mmc_host/mmc1/mmc1:1234/block/mmcblk1/mmcblk1p1'
[7350.620473] [8780] udev_event_spawn: starting
'/etc/dev.d/default/gs_hotplug.dev mmcblk1p1 1 179 25'
[7350.625424] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1p1 1 179 25'(out) 'mmcblk1p1 1 179 25'
[7350.664754] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1p1 1 179 25'(err) '/dev/mmcblk1p1: error opening volume'
[7350.666344] [7550] spawn_read: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1p1 1 179 25'(err) 'sh: vfat: unknown operand'
[7350.671612] [7550] spawn_wait: '/etc/dev.d/default/gs_hotplug.dev
mmcblk1p1 1 179 25' [8780] exit with return code 0
[7350.671697] [7550] udev_monitor_send_device: passed -1 bytes to
netlink monitor 0x44ca8
[7350.671742] [7550] worker_new: seq 736 processed with 0
[7350.719399] [7540] event_queue_delete: seq 736 done with 0
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux