1 |
On Sat, 2004-05-01 at 19:59, Collin Starkweather wrote: |
2 |
> This is a question about my laptop, but I figure the folks on the server |
3 |
> list might be more in tune with the issues so please bear with me. |
4 |
> |
5 |
> I recently ran into a problem where my ethernet controller on my laptop |
6 |
> died a grisly death. It kinda works for a few minutes after booting, |
7 |
> then triggers a kernel panic. For those who want more detail, see |
8 |
> today's post at |
9 |
> |
10 |
> http://www.collinstarkweather.com |
11 |
> |
12 |
> Problem is, it's built into the motherboard. If a kernel panic isn't |
13 |
> triggered immediately on boot, I |
14 |
> |
15 |
> rmmod 3c59x |
16 |
> |
17 |
> which keeps the problem from cropping up and use my 802.11g card for |
18 |
> networking. This has led me to some interesting questions I haven't |
19 |
> been able to figure out. |
20 |
> |
21 |
> 1) I could recompile my kernel without 3c59x, but is there a way |
22 |
> instead to simply keep the module from being loaded on boot? |
23 |
> |
24 |
> 2) My wireless card is set up as an interface named ath0. But no |
25 |
> matter what I do, net.eth0 wants to come up on boot. `rc-update show | |
26 |
> grep eth0` gives |
27 |
> |
28 |
> net.eth0 | |
29 |
> |
30 |
> Doesn't look like I can disable it with rc-update since it's not |
31 |
> explicitly associated with a runlevel to begin with. Other than |
32 |
> renaming /etc/init.d/net.eth0, which seems an awful kludge, is there a |
33 |
> way to keep it from coming up on boot? |
34 |
> |
35 |
> Thanks, |
36 |
> |
37 |
> -Collin |
38 |
|
39 |
Is hotplug installed (and started in default runlevel)? If you are not |
40 |
explicitly telling it to load the module (via |
41 |
/etc/modules.autoload.d/kernel-2.x) then its probably being loaded by |
42 |
hotplug. I am sure there is a way to tell hotplug to not load certain |
43 |
modules, but I'm not sure how to do this. Check out the hotplug docs. |
44 |
If your laptop is like mine, the NIC module is the only module hotplug |
45 |
loads. If that's the case, you can disable hotplug altogether. |
46 |
|
47 |
HTH |
48 |
-- |
49 |
Aaron Walker <ka0ttic@××××××.com> |
50 |
http://ka0ttic.dyndns.org/ |