I downloaded xen 3.0.2 tarball from xensource and installed it, but could not find the acenic net driver for my network card so cannot have network. I am wondering if there is a newer kernel that has this, or is it possible that it has been replaced by something else? [root@eduout3-host modules]# find . -name ''acenic*'' -ls 79429 72 -rw-r--r-- 1 root root 66897 Mar 15 10:07 ./2.6.12-18mdksmp/kernel/drivers/net/acenic.ko.gz [root@eduout3-host modules]# ls 2.6.12-18mdksmp/ 2.6.16-xen/ [root@eduout3-host modules]# Thanks, System Coordinator, Online Information System Student Affairs, University of California, Office of the President _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Aug-11 11:58 UTC
Re: [Xen-users] no acenic net driver in 2.6.16-xen kernel
On 8/10/06, John Shen <John.Shen@ucop.edu> wrote:> I downloaded xen 3.0.2 tarball from xensource and installed it, but could not find the acenic net driver for my network card so cannot have network.Did you think about creasting a kernel with a custom config? See README for this. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for getting back to me. I downloaded and unpacked both xen kernel source
and xen sparse source
linux-2.6.16-xen/ linux-2.6-xen-sparse/
after i turned on the acenic module with make menuconfig, i tried make, I got
tons of errors (mandriva 2006) like what follows:
[root@eduout7 linux-2.6.16-xen]# make
CHK include/linux/version.h
CHK include/linux/compile.h
CC init/version.o
In file included from include/asm/thread_info.h:14,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from init/version.c:10:
include/asm/mach-xen/asm/page.h:20:31: error: xen/interface/xen.h: No such file
or directory
the xen sparse does seem to contain this file, though the file with the same
name appears elsewhere in the source tree
[root@eduout7 src]# find . -name xen.h -ls
397423 0 lrwxrwxrwx 1 root root 64 May 30 13:56
./linux-2.6.16-xen/include/xen/interface/xen.h ->
../../../../linux-2.6-xen-sparse/../xen/include/public/././xen.h
397441 4 -rw-r--r-- 1 root root 25 May 30 11:36
./linux-2.6.16-xen/include/config/x86/xen.h
399775 4 -rw-r--r-- 1 root root 21 May 30 11:36
./linux-2.6.16-xen/include/config/xen.h
here is my gcc version, if it is relevant:
[root@eduout7 linux-2.6.16-xen]# gcc -v
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-languages=c,c++,ada,f95,objc,java --host=i586-mandriva-linux-gnu
--with-system-zlib --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo
--disable-libjava-multilib
Thread model: posix
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
System Coordinator, Online Information System
Student Affairs, University of California, Office of the President
________________________________
From: henning.sprang@gmail.com on behalf of Henning Sprang
Sent: Fri 8/11/2006 4:58 AM
To: John Shen
Cc: xen-users@lists.xensource.com
Subject: Re: [Xen-users] no acenic net driver in 2.6.16-xen kernel
On 8/10/06, John Shen <John.Shen@ucop.edu> wrote:> I downloaded xen 3.0.2 tarball from xensource and installed it, but could
not find the acenic net driver for my network card so cannot have network.
Did you think about creasting a kernel with a custom config? See
README for this.
Henning
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Henning Sprang
2006-Aug-11 13:32 UTC
Re: [Xen-users] no acenic net driver in 2.6.16-xen kernel
On 8/11/06, John Shen <John.Shen@ucop.edu> wrote:> Thanks for getting back to me. I downloaded and unpacked both xen kernel source and xen sparse sourceHm, I don''t understand what you are doing there. The xen sources are in one single package, and should be build from there. What do you need two packages for, and where do you get them from? please download the standard xen 3.0.2-2 source distribution file, and do as README says, then tell us about your process. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thanks, i started from scratch and followed README, until I got to make linux-2.6-xen-build it failed with the following: if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /usr/src/xen-3.0.2-2/dist/install -r 2.6.16-xen; fi WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_get_baud_rate WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_resume_port WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_register_driver WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_suspend_port WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_remove_one_port WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_update_timeout WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_unregister_driver WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_get_divisor WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_match_port WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_add_one_port WARNING: /usr/src/xen-3.0.2-2/dist/install/lib/modules/2.6.16-xen/kernel/drivers/serial/8250.ko needs unknown symbol uart_write_wakeup make[2]: *** [_modinst_post] Error 1 make[2]: Leaving directory `/usr/src/xen-3.0.2-2/linux-2.6.16-xen'' make[1]: *** [build] Error 2 make[1]: Leaving directory `/usr/src/xen-3.0.2-2'' make: *** [linux-2.6-xen-install] Error 2 System Coordinator, Online Information System Student Affairs, University of California, Office of the President ________________________________ From: henning.sprang@gmail.com on behalf of Henning Sprang Sent: Fri 8/11/2006 6:32 AM To: John Shen Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] no acenic net driver in 2.6.16-xen kernel On 8/11/06, John Shen <John.Shen@ucop.edu> wrote:> Thanks for getting back to me. I downloaded and unpacked both xen kernel source and xen sparse sourceHm, I don''t understand what you are doing there. The xen sources are in one single package, and should be build from there. What do you need two packages for, and where do you get them from? please download the standard xen 3.0.2-2 source distribution file, and do as README says, then tell us about your process. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users