Re: Loading modules during startup
--- Andrew Reid <reidac@bellatlantic.net> wrote:
> On Sunday 24 February 2008 09:13, L.V.Gandhi wrote:
> > I have put atl2 in /etc/modules and but after
> booting I see this in
> > messages. localhost:~# cat /var/log/messages |grep
> atl2
> > Feb 21 12:16:11 localhost kernel: atl2: disagrees
> about version of
> > symbol struct_module
> > Feb 24 18:48:22 localhost kernel: atl2: disagrees
> about version of
> > symbol struct_module
> > Feb 24 18:52:37 localhost kernel: atl2: disagrees
> about version of
> > symbol struct_module
> >
> > But when I load manually as
> > insmod
> /lib/modules/2.6.18/kernel/drivers/net/atl2/atl2.ko
> > I get everythink OK and I could use
> /etc/init.d/networking restart to
> > start internet connection.
> > I also checked for anyother modules in
> /lib/modules using find. result is
> > localhost:/lib/modules# find . -name atl2.*
> > ./2.6.18/kernel/drivers/net/atl2/atl2.ko
> > Any reason why it happens.
> > What should I do to boot module during boot?
>
> Is /lib/modules/2.6.18/... the correct path? The
> reason I ask
> is that a truly "stock" Debian "etch" should be
> using the path
> /lib/modules/2.6.18-6-<arch>/, and if you built the
> atl2 module
> against the kernel sources, that's probably where it
> put it.
>
> On my system which had a similar problem, I didn't
> have to put
> it in /etc/modules, it was correctly detected and
> loaded at
> boot-time. Have you tried that?
>
> As a hack-ish workround, if nothing else works,
> you could
> always stick a "modprobe atl2" in
> /etc/init.d/networking.
> This is slightly dangerous, it might get removed by
> subsequent
> package updates, but it would work.
>
> -- A.
> --
> Andrew Reid / reidac@bellatlantic.net
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Just add another alternative. You can upgrade your
kernel since debian has a binary package of atl2. You
can try 2.6.22, there is atl2-modules-2.6.22-3-686 package.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Reply to: