Installation of atl1 kernel module

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


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/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/