Installation of atl1 kernel module |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: "Slitaz, list" <slitaz@xxxxxxxxxxxxxxxxxxx>
- Subject: Installation of atl1 kernel module
- From: grey271 <grey271@xxxxxxxxxxxxxx>
- Date: Thu, 9 Oct 2008 16:08:30 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=SXoCM42yeuaVG2Qof75S+dXW24ZuJU2fIMheuHrXV97gJ6AK5C9OG66Z/HT0TMoEDSsva02XZXQn9eXFAykqm+cnkK/DlQaC+5PA7zKUIr+ndtkDy9Z1Uwkj0Gf/8Va0Li79VN8WZGLc4OX92HDq0xx8/IF7XsRcAj3sZgW9rg4= ;
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/