Or you can add it to AUTOMODS in /etc/rc.conf, either editing the original line, or doing:
AUTOMODS="$AUTOMODS via-velocity" right after it. Personally, I like keeping as much localization in rc.conf as possible. Makes cloning a box much faster. Darrick Hartman (lists) wrote: > Clara, > > You cannot make the module on ubuntu and expect it to work in Astlinux. > Astlinux has it's own development environment and uses cross-compiling > against uclibc, not glibc. > > If you read Chris's comments, the via-velocity module is already > included in Astlinux. All you need to do is edit the rc.modules file > and include via-velocity. > > Please read the development information on http://www.astlinux.org for > more specific information about the development environment. > > Darrick > > Clara Chan wrote: > >> Thanks for your help. Unfortunately, initializing the modprobe command >> results in >> >> "via-velocity: disagrees about version of symbol struct_module >> FATAL: Error inserting via_velocity >> (/lib/modules/2.6.16.12/kernel/drivers/net/via-velocity.ko): Invalid module >> format" >> >> One of the problems, is that the Astlinux image does not have make, so I am >> making the via-velocity on the development machine (Ubuntu 8.04 image), then >> transporting the files across. I have only moved across via-velocity.ko, >> perhaps there are other files that I should move across. >> >> I have tried "wget"ting Make to "make" via-velocity on the board, but it >> then came up with "incorrect tarball" when I tried to unzip it (sorry don't >> actually remember the error!). The tgz file unzipped on the development >> machine perfectly however. >> >> Anyways, I'm now going to try using Chris's method to build an image with >> ubuntu. >> >> Cheers, >> Clara >> >> -----Original Message----- >> From: [EMAIL PROTECTED] on behalf of Ioan Indreias >> Sent: Thu 8/21/2008 7:51 PM >> To: AstLinux Users Mailing List >> Subject: Re: [Astlinux-users] new to astlinux >> >> Hi Clara, >> >> Have you tried to use via-velocity driver existing already into astlinux? >> #cat /etc/astlinux-release >> 0.4.8 >> # find / -name via-velocity\* >> /lib/modules/2.6.16.12/kernel/drivers/net/via-velocity.ko >> >> In order to verify that it will work with your hardware you should try >> # modprobe via-velocity >> >> By default Astlinux load the network drivers located in /etc/rc.modules and >> if you add there a new line with "via-velocity" it should ran OK (ofcourse >> you should pay attention to made this configuration permanent, in order to >> survive to reboots events). >> >> I hope I do not gave wrong hints :) >> >> Ioan. >> >> >> >>> Clara Chan wrote: >>> >>>> Hi, all >>>> >>>> >>>> >>>> I am new to Astlinux and trying to install the second Ethernet port on >>>> my EPIA SN 18000G board. >>>> >>>> >>>> >>>> Just installing the Via image on this motherboard and realise that eth1 >>>> (via-velocity) Gigabit Ethernet was not being recognised. >>>> >>>> >>>> >>>> Trying to install the driver for this with Astlinux (with the linux >>>> version of the driver) and unable to use the makefile, as /usr/src is >>>> not inherent in the file system. >>>> > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
