Andreas Sommer
2009-Jun-23 07:52 UTC
[Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing
Hi, I downloaded Xen-3.5-unstable from http://xenbits.xensource.com/xen-unstable.hg two days ago and built it without problems (make tools, make dist, make install). Well, the /lib/modules/2.6.30-rc3-tip/kernel directory now only contains the subdirectories "arch" and "drivers" - so where are all the other modules??? Of course Xen does not start correctly. It hangs at "Waiting for root file system..." - having no "fs" modules it could be hard to read a file system ;) And by the way: Yes, I created a initrd image for the new kernel (I''m on Debian). I''ve also tried to build the Linux kernel under /usr/src/xen-unstable/linux-2.6-pvops.git completely. It then gives me MODPOST errors "ERROR: [xxx.ko] undefined!" for most of the AGP (or AGPGART?) modules. Having removed them, it builds but Xen cannot boot with that kernel. Any suggestions? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andreas Sommer
2009-Jun-23 08:53 UTC
Re: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing
I tried it again, and got the same make error when making the linux kernel myself. The last lines of the output are: ------------------------------------------------------------------ CC arch/x86/boot/version.o CC arch/x86/boot/video-vga.o CC arch/x86/boot/video-vesa.o CC arch/x86/boot/video-bios.o GZIP arch/x86/boot/compressed/vmlinux.bin.gz HOSTCC arch/x86/boot/tools/build MODPOST 1871 modules CPUSTR arch/x86/boot/cpustr.h CC arch/x86/boot/cpu.o LD arch/x86/boot/compressed/piggy.o LD arch/x86/boot/compressed/vmlinux OFFSETS arch/x86/boot/offsets.h OBJCOPY arch/x86/boot/vmlinux.bin AS arch/x86/boot/header.o LD arch/x86/boot/setup.elf OBJCOPY arch/x86/boot/setup.bin BUILD arch/x86/boot/bzImage Root device is (8, 1) Setup is 13676 bytes (padded to 13824 bytes). System is 1634 kB CRC 19f3d9ae Kernel: arch/x86/boot/bzImage is ready (#1) ERROR: "swiotlb_phys_to_bus" [drivers/gpu/drm/drm.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/sworks-agp.ko] undefined! ERROR: "swiotlb_bus_to_phys" [drivers/char/agp/intel-agp.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/intel-agp.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/efficeon-agp.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/ati-agp.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/amd64-agp.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/amd-k7-agp.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/ali-agp.ko] undefined! ERROR: "swiotlb_bus_to_phys" [drivers/char/agp/agpgart.ko] undefined! ERROR: "swiotlb_phys_to_bus" [drivers/char/agp/agpgart.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 ------------------------------------------------------------------ This is the configuration for the software IO TLB: ------------------------------------------------------------------ hostname-xen:/usr/src/xen-unstable/linux-2.6-pvops.git# find . | grep -i conf | xargs grep CONFIG_SWIO ./arch/x86/configs/x86_64_defconfig:CONFIG_SWIOTLB=y ./arch/ia64/configs/gensparse_defconfig:CONFIG_SWIOTLB=y ./arch/ia64/configs/bigsur_defconfig:CONFIG_SWIOTLB=y ./arch/ia64/configs/generic_defconfig:CONFIG_SWIOTLB=y ./arch/ia64/configs/tiger_defconfig:CONFIG_SWIOTLB=y ./arch/ia64/configs/sim_defconfig:CONFIG_SWIOTLB=y ./arch/ia64/configs/xen_domu_defconfig:CONFIG_SWIOTLB=y ------------------------------------------------------------------ What do I need to change? Andreas Sommer wrote:> Hi, > > I downloaded Xen-3.5-unstable from > http://xenbits.xensource.com/xen-unstable.hg two days ago and built it > without problems (make tools, make dist, make install). Well, the > /lib/modules/2.6.30-rc3-tip/kernel directory now only contains the > subdirectories "arch" and "drivers" - so where are all the other > modules??? > Of course Xen does not start correctly. It hangs at "Waiting for root > file system..." - having no "fs" modules it could be hard to read a > file system ;) And by the way: Yes, I created a initrd image for the > new kernel (I''m on Debian). > > I''ve also tried to build the Linux kernel under > /usr/src/xen-unstable/linux-2.6-pvops.git completely. It then gives me > MODPOST errors "ERROR: [xxx.ko] undefined!" for most of the AGP (or > AGPGART?) modules. Having removed them, it builds but Xen cannot boot > with that kernel. > > Any suggestions? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Jun-23 10:41 UTC
Re: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing
Build Xen &tools&stubdom and pvops kernel separately :- http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ Boris. --- On Tue, 6/23/09, Andreas Sommer <AndiDog@web.de> wrote: From: Andreas Sommer <AndiDog@web.de> Subject: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing To: xen-users@lists.xensource.com Date: Tuesday, June 23, 2009, 3:52 AM Hi, I downloaded Xen-3.5-unstable from http://xenbits.xensource.com/xen-unstable.hg two days ago and built it without problems (make tools, make dist, make install). Well, the /lib/modules/2.6.30-rc3-tip/kernel directory now only contains the subdirectories "arch" and "drivers" - so where are all the other modules??? Of course Xen does not start correctly. It hangs at "Waiting for root file system..." - having no "fs" modules it could be hard to read a file system ;) And by the way: Yes, I created a initrd image for the new kernel (I''m on Debian). I''ve also tried to build the Linux kernel under /usr/src/xen-unstable/linux-2.6-pvops.git completely. It then gives me MODPOST errors "ERROR: [xxx.ko] undefined!" for most of the AGP (or AGPGART?) modules. Having removed them, it builds but Xen cannot boot with that kernel. Any suggestions? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andreas Sommer
2009-Jun-23 15:23 UTC
Re: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing
Thanks, that worked. But I don''t understand the difference between 2.6.30-rc3-tip (I used the main branch, not the bleeding edge) and 2.6.29-xen-r4. As I want vTPM support and the "tpmbk" module source code is only in the 2.6.29-xen-r4 sources, I use 2.6.29-xen-r4 as dom0 kernel. What is the difference and how can I build a kernel that can be used for domU''s? Boris Derzhavets wrote:> Build Xen &tools&stubdom and pvops kernel separately :- > > http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ > > Boris. > > --- On *Tue, 6/23/09, Andreas Sommer /<AndiDog@web.de>/* wrote: > > > From: Andreas Sommer <AndiDog@web.de> > Subject: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All > modules missing > To: xen-users@lists.xensource.com > Date: Tuesday, June 23, 2009, 3:52 AM > > Hi, > > I downloaded Xen-3.5-unstable from > http://xenbits.xensource.com/xen-unstable.hg two days ago and > built it without problems (make tools, make dist, make install). > Well, the /lib/modules/2.6.30-rc3-tip/kernel directory now only > contains the subdirectories "arch" and "drivers" - so where are > all the other modules??? > Of course Xen does not start correctly. It hangs at "Waiting for > root file system..." - having no "fs" modules it could be hard to > read a file system ;) And by the way: Yes, I created a initrd > image for the new kernel (I''m on Debian). > > I''ve also tried to build the Linux kernel under > /usr/src/xen-unstable/linux-2.6-pvops.git completely. It then > gives me MODPOST errors "ERROR: [xxx.ko] undefined!" for most of > the AGP (or AGPGART?) modules. Having removed them, it builds but > Xen cannot boot with that kernel. > > Any suggestions? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > </mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andreas Sommer
2009-Jun-23 21:03 UTC
Re: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing
No, I just cloned the Xen-unstable repository (= Xen 3.5). Running "make" will automatically download the kernel 2.6.30-rc3-tip. If you look at the answer from Boris Derzhavets, his solution worked mostly (tutorial at http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/). At least you can run Xen, but I didn''t yet get an answer on how to build a domU kernel in order to run guests... I will have to rebuild them to build the vTPM modules that I want. Oh, and you should always CC the mailing list if you give replys ;) Cheers For@ll wrote:> Andreas Sommer pisze: >> Hi, >> >> I downloaded Xen-3.5-unstable from >> http://xenbits.xensource.com/xen-unstable.hg two days ago and built >> it without problems (make tools, make dist, make install). Well, the >> /lib/modules/2.6.30-rc3-tip/kernel directory now only contains the >> subdirectories "arch" and "drivers" - so where are all the other >> modules??? >> Of course Xen does not start correctly. It hangs at "Waiting for root >> file system..." - having no "fs" modules it could be hard to read a >> file system ;) And by the way: Yes, I created a initrd image for the >> new kernel (I''m on Debian). >> >> I''ve also tried to build the Linux kernel under >> /usr/src/xen-unstable/linux-2.6-pvops.git completely. It then gives >> me MODPOST errors "ERROR: [xxx.ko] undefined!" for most of the AGP >> (or AGPGART?) modules. Having removed them, it builds but Xen cannot >> boot with that kernel. >> >> Any suggestions? >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > Hi, > > I read your post and I see are you using xen 3.4-unstable on debian ( > lenny ?) and you have the same problem as I, I installed > xen-3.4-unstable and used xen kernel from debian lenny 2.6.26-2-xen > but when xen is booting I gived error... > > > [ 163.842586] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) > initialised: dm-devel@redhat.com > done > Begin: Waiting for root file system .... done > ^^^^^^^^^ this is a last info from boot, system is waiting waiting > waiting, and after one minute system output info: > > Gave up waiting for root device. Common problems: > ALERT! /dev/sda1 does not exist. Droping to a shell > > System go to the BusyBox. > > > I have a question for you, are you trying using kernel from debian > like me 2.6.26-2 with xen 3.4-unstable? > > For@ll >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andreas Sommer
2009-Jun-26 12:26 UTC
Re: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All modules missing
I tried the approach on http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ but all the Xen configuration settings shown on your screenshots just do not show up even though I followed all the steps to get the same version as on your screenshots (2.6.30-rc6). For example, Processor types and features > Paravirtualized guest support only shows me - VMI Guest support - KVM paravirtualized clock - KVM Guest support - Lguest guest support - Enable paravirtualization code - Paravirtualization layer for spinlocks Is there anything else to do after the git checkout and branch change to "xen-tip/next" ?? Boris Derzhavets wrote:> Build Xen &tools&stubdom and pvops kernel separately :- > > http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ > > Boris. > > --- On *Tue, 6/23/09, Andreas Sommer /<AndiDog@web.de>/* wrote: > > > From: Andreas Sommer <AndiDog@web.de> > Subject: [Xen-users] Latest Xen-unstable with 2.6.30-rc3-tip: All > modules missing > To: xen-users@lists.xensource.com > Date: Tuesday, June 23, 2009, 3:52 AM > > Hi, > > I downloaded Xen-3.5-unstable from > http://xenbits.xensource.com/xen-unstable.hg two days ago and > built it without problems (make tools, make dist, make install). > Well, the /lib/modules/2.6.30-rc3-tip/kernel directory now only > contains the subdirectories "arch" and "drivers" - so where are > all the other modules??? > Of course Xen does not start correctly. It hangs at "Waiting for > root file system..." - having no "fs" modules it could be hard to > read a file system ;) And by the way: Yes, I created a initrd > image for the new kernel (I''m on Debian). > > I''ve also tried to build the Linux kernel under > /usr/src/xen-unstable/linux-2.6-pvops.git completely. It then > gives me MODPOST errors "ERROR: [xxx.ko] undefined!" for most of > the AGP (or AGPGART?) modules. Having removed them, it builds but > Xen cannot boot with that kernel. > > Any suggestions? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > </mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users