Two things:
1. Check dmesg just after you attempt loading
I already hope you have tried loading it on the ubuntu machine.
Usually this happens if u have a 64-bit or i686 installation on one and an i386 installation on the other.
regards
Sandeep
On Thu, Oct 9, 2008 at 8:38 PM, grey271
<grey271@xxxxxxxxxxxxxx> wrote:
Hi,
the slitaz kernel doesn't contain the driver for my built-in LAN controller
(the Attansic L1). So this is what I tried:
- download atl1 standalone driver for kernel 2.6.24
- compile on ubuntu 8.04 32-bit version (kernel 2.6.24-21-generic)
- make -n install to see where the driver should go
result: install -D -m 644 atl1.ko /lib/modules/2.6.24-21-
generic/kernel/drivers/net/atl1/atl1.ko
- gzip atl1.ko
- boot slitaz from CD
- mount ubuntu, cp atl1.ko.gz .
- install -m 644 atl1.ko.gz /lib/modules/2.6.24.2-
slitaz/kernel/drivers/net/atl1.ko.gz
- depmod -a
- modprobe atl1
result: FATAL: Error inserting atl1 (/lib/modules/2.6.24.2-
slitaz/kernel/drivers/net/atl1.ko.gz): Invalid module format
Actually the above was the second plan. The first was to copy the sources and
compile them on slitaz, but that didn't work b/c make and gcc don't exist on
slitaz. Which is fair enough given slitaz's space constraint.
Questions:
- was it a good plan badly executed, or was it just a bad plan ?
- where did I go wrong ?
- how can I install the atl1.ko kernel module in slitaz ?
Any help is appreciated,
Grey
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/