1 |
Hi, I apologise if this is a very newbie question, but - I have an Alix |
2 |
board and custom kernel which doesn't seem to be autoloading kernel modules |
3 |
|
4 |
The Alix is running 2.6.29, uclibc 0.9.30.1, busybox 1.14.2, Udev 141, |
5 |
openrc 0.40. When I insert any hardware, eg trying now with a USB GPS |
6 |
then I get a bunch of general USB nodes created, but the pl2303 module |
7 |
(used with this device) is not auto loaded. If I modprobe this module |
8 |
then everything works as expected. |
9 |
|
10 |
On my desktop machine (2.6.29, and a more standard AMD64 build, but |
11 |
still with openrc), I see udev loading my modules correctly. |
12 |
|
13 |
Here is the log from udevadm status on the Alix: |
14 |
|
15 |
KERNEL[946736607.038720] add |
16 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1 (usb) |
17 |
UDEV [946736607.041839] add |
18 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1 (usb) |
19 |
KERNEL[946736607.042595] add |
20 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0 (usb) |
21 |
KERNEL[946736607.043576] add |
22 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.6_ep81 |
23 |
(usb_endpoint) |
24 |
KERNEL[946736607.044331] add |
25 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.6_ep02 |
26 |
(usb_endpoint) |
27 |
KERNEL[946736607.045158] add |
28 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.6_ep83 |
29 |
(usb_endpoint) |
30 |
KERNEL[946736607.045688] add |
31 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/usb_device/usbdev2.6 (usb_device) |
32 |
KERNEL[946736607.046425] add |
33 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/usb_endpoint/usbdev2.6_ep00 |
34 |
(usb_endpoint) |
35 |
UDEV [946736607.066290] add |
36 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/usb_device/usbdev2.6 (usb_device) |
37 |
UDEV [946736607.081372] add |
38 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/usb_endpoint/usbdev2.6_ep00 |
39 |
(usb_endpoint) |
40 |
UDEV [946736607.101506] add |
41 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0 (usb) |
42 |
UDEV [946736607.104493] add |
43 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.6_ep81 |
44 |
(usb_endpoint) |
45 |
UDEV [946736607.107785] add |
46 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.6_ep83 |
47 |
(usb_endpoint) |
48 |
UDEV [946736607.110207] add |
49 |
/devices/pci0000:00/0000:00:0f.4/usb2/2-1/2-1:1.0/usb_endpoint/usbdev2.6_ep02 |
50 |
(usb_endpoint) |
51 |
|
52 |
|
53 |
And now on the desktop machine (now my pl2303 is added automatically): |
54 |
|
55 |
KERNEL[1250157653.739660] add |
56 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb) |
57 |
UDEV [1250157653.740370] add |
58 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2 (usb) |
59 |
KERNEL[1250157653.742698] add |
60 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb) |
61 |
KERNEL[1250157653.742719] add |
62 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/usb_endpoint/usbdev6.5_ep81 |
63 |
(usb_endpoint) |
64 |
KERNEL[1250157653.742744] add |
65 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/usb_endpoint/usbdev6.5_ep02 |
66 |
(usb_endpoint) |
67 |
KERNEL[1250157653.742759] add |
68 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/usb_endpoint/usbdev6.5_ep83 |
69 |
(usb_endpoint) |
70 |
KERNEL[1250157653.742775] add |
71 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/usb_endpoint/usbdev6.5_ep00 |
72 |
(usb_endpoint) |
73 |
UDEV [1250157653.743187] add |
74 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/usb_endpoint/usbdev6.5_ep00 |
75 |
(usb_endpoint) |
76 |
KERNEL[1250157653.744917] add /module/pl2303 (module) |
77 |
KERNEL[1250157653.744991] add /bus/usb-serial/drivers/pl2303 (drivers) |
78 |
UDEV [1250157653.745260] add /module/pl2303 (module) |
79 |
UDEV [1250157653.745344] add /bus/usb-serial/drivers/pl2303 (drivers) |
80 |
KERNEL[1250157653.756463] add |
81 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/ttyUSB0 (usb-serial) |
82 |
KERNEL[1250157653.756662] add |
83 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/ttyUSB0/tty/ttyUSB0 (tty) |
84 |
KERNEL[1250157653.756714] add /bus/usb/drivers/pl2303 (drivers) |
85 |
UDEV [1250157653.756868] add |
86 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0 (usb) |
87 |
UDEV [1250157653.757187] add /bus/usb/drivers/pl2303 (drivers) |
88 |
UDEV [1250157653.757536] add |
89 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/usb_endpoint/usbdev6.5_ep81 |
90 |
(usb_endpoint) |
91 |
UDEV [1250157653.758064] add |
92 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/usb_endpoint/usbdev6.5_ep02 |
93 |
(usb_endpoint) |
94 |
UDEV [1250157653.758171] add |
95 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/usb_endpoint/usbdev6.5_ep83 |
96 |
(usb_endpoint) |
97 |
UDEV [1250157653.758514] add |
98 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/ttyUSB0 (usb-serial) |
99 |
UDEV [1250157653.768152] add |
100 |
/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/ttyUSB0/tty/ttyUSB0 (tty) |
101 |
|
102 |
|
103 |
I believe I have all the kernel options required for udev (can post |
104 |
.config if useful?), but this seems like a kernel config issue at my end? |
105 |
|
106 |
Can anyone please give me some advice on debugging this further? Am I |
107 |
missing something in the kernel? (CONFIG_KMOD is implicit in all recent |
108 |
kernels anyway). Is this something I'm missing in my udev setup, or |
109 |
some problem with my busybox config (it seems to be ok modprobing module |
110 |
aliases?) |
111 |
|
112 |
I notice that rebooting with the device connected doesn't change |
113 |
anything (but I don't think I have any coldplug options set in openrc, |
114 |
not sure if these even exist anymore?). I have a fairly minimal set of |
115 |
packages installed on the Alix - is it possible that I am missing some |
116 |
dependency that allows udev to do it's magic? There are no errors here, |
117 |
so I'm assuming a kernel problem rather than a udev problem? |
118 |
|
119 |
Thanks for any help |
120 |
|
121 |
|
122 |
Ed W |