1 |
i |
2 |
--- Holly Bostick <motub@××××××.nl>写道: |
3 |
|
4 |
> 寮 鍕囬『 schreef: |
5 |
> > --- Heinz Sporn <heinz.sporn@××××××××.com>鍐欓亾: |
6 |
> > |
7 |
> >> Am Freitag, den 07.10.2005, 14:05 +0800 schrieb |
8 |
> 瀵� 閸曞洭銆�: |
9 |
> >> |
10 |
> >>> hi yestoday to today i am spend two days to |
11 |
> install |
12 |
> >>> gentoo 2005.0 and see the hand man but when i am |
13 |
> install it i am |
14 |
> >>> see what modules were load with lsmod but i |
15 |
> can't see anyting is |
16 |
> >>> modules and i ues modprobe lsmod can't see |
17 |
> somemodules i don't |
18 |
> >>> know how to do that |
19 |
> >> |
20 |
> >> lsmod will not show modules that have been |
21 |
> compiled into the |
22 |
> >> kernel. Is it that you are looking for? |
23 |
> >> |
24 |
> >>> if i must rc-update add ....?or other i am uses |
25 |
> logitech USB |
26 |
> >>> mouse and uses well in debian starge but |
27 |
> >>> can't driverd in gentoo i am try to uses the |
28 |
> same driver with |
29 |
> >>> starge and ues "auto" but can't driverd |
30 |
> >>> mouse ether i am emerge fvwm and x.org |
31 |
> >> |
32 |
> >> I am not quite sure what exactly your problem is |
33 |
> - so sorry for |
34 |
> >> guessing: |
35 |
> >> |
36 |
> >> For any USB input device you'll just need kernel |
37 |
> support. Look into |
38 |
> >> /Drivers/USB Support. You'll propably want |
39 |
> support for EHCI, OHCI |
40 |
> >> and UHCI. |
41 |
> >> <snip> |
42 |
> > |
43 |
> > now i am went to gentoo and modprobe ehci-hcd nwo |
44 |
> can uses mouse and |
45 |
> > install discover rc-update add modules default |
46 |
> but always can't load |
47 |
> > any modules when system starting and lsmod can't |
48 |
> see any modules |
49 |
> |
50 |
> How did you compile your kernel? It would seem that |
51 |
> your problem is |
52 |
> related to the fact that some of your needed drivers |
53 |
> are compiled as |
54 |
> modules and some are not. |
55 |
> |
56 |
> As Heinz said, 'drivers' compiled statically into |
57 |
> the kernel will *not* |
58 |
> be visible via lsmod (only 'drivers' compiled as |
59 |
> loadable modules are |
60 |
> visible). |
61 |
> |
62 |
> I have many questions about your setup: |
63 |
> |
64 |
> 1) why do you have rc-update modules default (rather |
65 |
> than rc-update |
66 |
> modules boot)? I would suspect that the default |
67 |
> runlevel may be too late |
68 |
> in the boot process for the modules you're trying to |
69 |
> load,. |
70 |
> |
71 |
> 2) 'always can't load any modules when system |
72 |
> starting'-- how precisely |
73 |
> are you trying to load said modules? Are they in |
74 |
> fact modules (or |
75 |
> statically compiled)? What do you have in |
76 |
> /etc/modules.autoload.d/kernel-2.6 (I assume you're |
77 |
> using a 2.6-series |
78 |
> kernel)? At least ehci-hcd should be listed there in |
79 |
> order to load it |
80 |
> during boot (or you could just statically compile it |
81 |
> into the kernel, to |
82 |
> avoid this). |
83 |
> |
84 |
> 3) just because modules are not listed in lsmod, |
85 |
> does not mean they are |
86 |
> not loaded and working. As said previously, modules |
87 |
> that are statically |
88 |
> compiled into the kernel do not appear in lsmod, but |
89 |
> if the hardware |
90 |
> requiring said modules is detected during the |
91 |
> hardware detection phase |
92 |
> of the boot process, the module will be loaded to |
93 |
> support it. My USB |
94 |
> mouse works fine this way (ehci-hcd is compiled into |
95 |
> the kernel, when |
96 |
> the usb mouse is detected, the kernel module is |
97 |
> loaded), although I |
98 |
> cannot see the module in lsmod (because the module |
99 |
> is not loadable). |
100 |
> Other than the mouse, which we've solved (add |
101 |
> ehci-hcd to |
102 |
> /etc/modules.autoload.d/kernel-2.6), what other |
103 |
> kernel modules are not |
104 |
> working as you expect (*not* whether you see them in |
105 |
> lsmod or not, what |
106 |
> actually *does not work*)? |
107 |
> |
108 |
> Once you have determined what modules are not |
109 |
> loading, you can then |
110 |
> check your kernel config to see whether they are |
111 |
> loadable modules or |
112 |
> statically compiled, and if loadable, add them to |
113 |
> /etc/modules.autoload.d/kernel-2.6, which should |
114 |
> load them automatically |
115 |
> for you at boot. If statically compiled, but not |
116 |
> loading at boot, there |
117 |
> are two possibilities I can think of: |
118 |
> |
119 |
> 1) wrong module for the hardware; |
120 |
> |
121 |
> 2) you do not have 'Automatic kernel module loading' |
122 |
> set in your kernel |
123 |
> (Loadable Module Support => Automatic kernel module |
124 |
> loading= Y) |
125 |
> |
126 |
> HTH, |
127 |
> Holly |
128 |
> -- |
129 |
> gentoo-user@g.o mailing list |
130 |
> |
131 |
> |
132 |
I am compile kernel three times and uses "make |
133 |
defconfig make menuconfig make make modules_install" |
134 |
that i did't reduce any "M" OR "Y" but i |
135 |
am add some thing |
136 |
"requiring said modules is detected during the |
137 |
hardware detection phase" |
138 |
you said that but i uses usb mouse the modules is not |
139 |
load ? |
140 |
if i am uses "modprobe " the mouse is work well i |
141 |
think anyone harve compile driver in kernel |
142 |
some of them must is modules |
143 |
one time i think to know if i compile all of them in |
144 |
kernel , what is the condition ? |
145 |
i am try to compile all the driver in kernel that is |
146 |
very bad |
147 |
|
148 |
|
149 |
|
150 |
|
151 |
|
152 |
|
153 |
|
154 |
___________________________________________________________ |
155 |
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 |
156 |
http://cn.mail.yahoo.com |
157 |
|
158 |
-- |
159 |
gentoo-user@g.o mailing list |