[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Xen 3.2 compilation


  • To: "Asim" <linkasim@xxxxxxxxx>
  • From: "Yuan, Cooper" <Cooper.Yuan@xxxxxxx>
  • Date: Mon, 28 Apr 2008 09:07:03 +0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 27 Apr 2008 18:14:44 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcinGM7yYQ7ed9jLTH6TMfWZ0pdbQgBszDhg
  • Thread-topic: [Xen-users] Xen 3.2 compilation

Rebuild pata_amd module using 2.6.18.8-xen SMP mod_unload Xen 686 REGPARM 
gcc-4.1 kernel source tree.

That means you can't copy it from a different kernel source.

-----Original Message-----
From: Asim [mailto:linkasim@xxxxxxxxx] 
Sent: 2008年4月26日 5:10
To: Yuan, Cooper
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.2 compilation

So this fixed problem re-appears while booting my domU as:

pata_amd: no version for "struct_module" found: kernel tainted.
pata_amd: version magic '2.6.20.15 SMP mod_unload 686 4KSTACKS '
should be '2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'
kjournald starting.  Commit interval 5 seconds


Is there a way i can get this pata_amd fixed in my 2.6.18.8-xen kernel.

-Asim

On Tue, Apr 22, 2008 at 1:20 AM, Asim <linkasim@xxxxxxxxx> wrote:
> Yeah, I couldnt find it there. I could find it in my current kernel
> build. I just copied over the ata dir in my /lib/modules/2.6.18.8-xen/
> and made the initrd
> and just booted in my xen server :)
>
> Thanks Yuan!
> -Asim
>
>
> On Tue, Apr 22, 2008 at 12:43 AM, Yuan, Cooper <Cooper.Yuan@xxxxxxx> wrote:
> > You should search it in /lib/modules/2.6.18.8-xen/
> >
> >
> > -----Original Message-----
> > From: Asim [mailto:linkasim@xxxxxxxxx]
> > Sent: 2008年4月22日 12:54
> > To: Yuan, Cooper
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-users] Xen 3.2 compilation
> >
> > I couldnt locate pata_amd in make menuconfig but I can definitely see
> > it loaded in my current kernel.
> >
> > $  lsmod | grep pata_amd
> > pata_amd               13381  0
> > libata                 99633  3 pata_amd,ata_generic,sata_nv
> >
> >
> > -Asim
> >
> > 2008/4/21 Yuan, Cooper <Cooper.Yuan@xxxxxxx>:
> > >
> > > Please "make menuconfig" to check pata_amd has been built.
> > >
> > >
> > > -----Original Message-----
> > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Asim
> > > Sent: 2008年4月22日 6:10
> > > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > > Subject: [Xen-users] Xen 3.2 compilation
> > >
> > > Hi,
> > >
> > > I compiled Xen 3.2 but making the initrd fails for booting it 
> > > appropriately:
> > >
> > > $ depmod 2.6.18.8-xen
> > > $ mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod
> > > initrd-2.6.18.8-xen.img 2.6.18.8-xen
> > > Creating initramfs
> > > Looking for deps of module ehci-hcd: usbcore
> > > Looking for deps of module usbcore
> > > Looking for deps of module ohci-hcd: usbcore
> > > Looking for deps of module uhci-hcd: usbcore
> > > Looking for deps of module ext3: jbd
> > > Looking for deps of module jbd
> > > Found root device sda2 for LABEL=/
> > > Looking for driver for device sda2
> > > Looking for deps of module scsi:t-0x00
> > > Looking for deps of module
> > > pci:v000010DEd00000054sv0000108Esd00005347bc01sc01i85: scsi_mod libata
> > > sata_nv scsi_mod libata sata_nv
> > > Looking for deps of module scsi_mod
> > > Looking for deps of module sd_mod: scsi_mod
> > > Looking for deps of module libata: scsi_mod
> > > Looking for deps of module sata_nv: scsi_mod libata
> > > Looking for driver for device LABEL=/
> > > Looking for driver for device LABEL=SWAP-sda3
> > > Looking for deps of module pata_amd
> > > No module pata_amd found for kernel 2.6.18.8-xen, aborting.
> > >
> > >
> > > To build xen here is what I have done:
> > >
> > > $ hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
> > > $ make world
> > > $ make world
> > > $ make install
> > > $ make dist
> > > $ ./install.sh
> > >
> > > Everything went through fine without errors. Please help!
> > >
> > >
> > > Regards,
> > > Asim
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > >
> > >
> > >
> >
> >
>


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.