From mboxrd@z Thu Jan 1 00:00:00 1970 From: ccmail111 Subject: Re: boot Xen 4.0 Date: Mon, 17 May 2010 13:17:37 -0700 (PDT) Message-ID: <889395.2737.qm@web34201.mail.mud.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1629027551==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: yingbin wang Cc: deshantm@gmail.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1629027551== Content-Type: multipart/alternative; boundary="0-2126866717-1274127457=:2737" --0-2126866717-1274127457=:2737 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Yingbin, Thanks, I tried but no progress. I see during boot kernel stuck at: usb usb6: Manufacturer: Linux 2.6.31.13 uhci_hcd usb usb6: SerialNumber: 0000:00:1d.0 usb usb6: configuration #1 chosen from 1 choice hub 6-0:1.0: USB hub found hub 6-0:1.0: 2 ports detected xen: registering gsi 16 triggering 0 polarity 1 xen_allocate_pirq: returning irq 16 for gsi 16 xen: --> irq=3D16 xen_set_ioapic_routing: irq 16 gsi 16 vector 16 ioapic 0 pin 16 triggering = 1 polarity 1 (XEN) io_apic.c:2290:=20 (XEN) ioapic_guest_write: apic=3D0, pin=3D16, irq=3D16 (XEN) ioapic_guest_write: new_entry=3D0001a998 (XEN) ioapic_guest_write: old_entry=3D0000a998 pirq=3D16 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! uhci_hcd 0000:00:1d.1: PCI INT D -> GSI 16 (level, low) -> IRQ 16 uhci_hcd 0000:00:1d.1: setting latency timer to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7 uhci_hcd 0000:00:1d.1: irq 16, io base 0x00004040 usb usb7: New USB device found, idVendor=3D1d6b, idProduct=3D0001 usb usb7: New USB device strings: Mfr=3D3, Product=3D2, SerialNumber=3D1 usb usb7: Product: UHCI Host Controller usb usb7: Manufacturer: Linux 2.6.31.13 uhci_hcd usb usb7: SerialNumber: 0000:00:1d.1 usb usb7: configuration #1 chosen from 1 choice hub 7-0:1.0: USB hub found hub 7-0:1.0: 2 ports detected xen: registering gsi 16 triggering 0 polarity 1 xen_allocate_pirq: returning irq 16 for gsi 16 xen: --> irq=3D16 xen_set_ioapic_routing: irq 16 gsi 16 vector 16 ioapic 0 pin 16 triggering = 1 polarity 1 (XEN) io_apic.c:2290:=20 (XEN) ioapic_guest_write: apic=3D0, pin=3D16, irq=3D16 (XEN) ioapic_guest_write: new_entry=3D0001a998 (XEN) ioapic_guest_write: old_entry=3D0000a998 pirq=3D16 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! uhci_hcd 0000:00:1d.2: PCI INT D -> GSI 16 (level, low) -> IRQ 16 uhci_hcd 0000:00:1d.2: setting latency timer to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8 uhci_hcd 0000:00:1d.2: irq 16, io base 0x00004020 usb usb8: New USB device found, idVendor=3D1d6b, idProduct=3D0001 usb usb8: New USB device strings: Mfr=3D3, Product=3D2, Serial =A0=A0=A0 <<<< stuck here... grub conf is: title Xen 4.0 debug=A0 XenLinux 2.6 =A0=A0=A0=A0=A0=A0=A0 root (hd0,0) =A0=A0=A0=A0=A0=A0 kernel /xen-4.0.0.gz console=3Dcom1, com1=3D115200,8n1 n= oreboot loglvl=3Dall=A0 vv ga=3Dtext-80x50,keep iommu=3Doff apic=3Ddebug guest_loglvl=3Dall =A0=A0=A0=A0=A0=A0 module /vmlinuz-2.6.31.13=A0 ro root=3D/dev/ram0 console= =3Dhvc0=A0 earlyprintk=3Dxee n nomodeset initcall_debug debug loglevel=3D10 =A0=A0=A0=A0=A0=A0 module /initrd.img-2.6.31.13 Any suggestions ? CM --- On Sat, 5/15/10, yingbin wang wrote: From: yingbin wang Subject: Re: [Xen-devel] boot Xen 4.0 To: "ccmail111" Cc: "Pasi K=E4rkk=E4inen" , deshantm@gmail.com, xen-devel@lis= ts.xensource.com Date: Saturday, May 15, 2010, 12:34 PM I met=A0similar problems and solved it. if your grub.conf is OK, you can try to edit a option of=A0 your .config. CONFIG_SYSFS_DEPRECATED_V2=3Dy 2010/5/14 ccmail111 > > Thanks Pasi/Todd, > > I did: > # mkinitrd -v -f --builtin=3Dehci-hcd --builtin=3Dohci-hcd --builtin=3Duh= ci-hcd --builtin=3Dahci --builtin=3Daacraid --builtin=3Daacraid --builtin= =3Dsd_mod --builtin=3Dscsi_mod /boot/initrd.img-2.6.31.13 2.6.31.13 > > > Now > I see during boot: kernel panic: > > Mounting root filesystem. > mount: could not find filesystem '/dev/root' > setting up other filesystems > setting up new root fs > setuproot: moving /dev failed No such file or directory > setuproot: error mounting /proc: No such file or directory > setuproot: error mounting /sys: No such file or directory > switchroot: mount failed: No such file or directory > =A0 kernel panic - not syncing : Attempted to kill init ! > > > > > --- On Thu, 5/13/10, Pasi K=E4rkk=E4inen wrote: > > From: Pasi K=E4rkk=E4inen > Subject: Re: [Xen-devel] initrd Xen 4.0 > To: "ccmail111" > Cc: deshantm@gmail.com, xen-devel@lists.xensource.com > Date: Thursday, May 13, 2010, 4:27 PM > > On Thu, May 13, 2010 at 01:08:36PM -0700, ccmail111 wrote: > >=A0 =A0 The #5 of README is not clear in details. > >=A0 =A0 which directory to run depmod and mkinitrd from ? > > > > It doesn't matter. > > >=A0 =A0 I see: > > > >=A0 =A0 # depmod xen-4.0.0 > >=A0 =A0 WARNING: Couldn't find symtab and strtab in module xen-4.0.0 > > > > Wrong. You need to run depmod for the *kernel*, not for xen. > > So like this: > depmod -a 2.6.32.12 > > Or whatever is your kernel version. > > -- Pasi > > >=A0 =A0 # ls -l > >=A0 =A0 total 1356 > >=A0 =A0 -rw-r--r-- 1 root root 1380620 May 13 13:05 xen-4.0.0 > > > >=A0 =A0 Any suggestions ? > > > >=A0 =A0 --- On Wed, 5/12/10, Todd Deshane wrote: > > > >=A0 =A0 =A0 From: Todd Deshane > >=A0 =A0 =A0 Subject: Re: [Xen-devel] initrd Xen 4.0 > >=A0 =A0 =A0 To: "ccmail111" > >=A0 =A0 =A0 Cc: xen-devel@lists.xensource.com > >=A0 =A0 =A0 Date: Wednesday, May 12, 2010, 9:46 PM > > > >=A0 =A0 =A0 Hi, > > > >=A0 =A0 =A0 See inline. > > > >=A0 =A0 =A0 On Wed, May 12, 2010 at 12:25 PM, ccmail111 <[1]ccmail111@ya= hoo.com> > >=A0 =A0 =A0 wrote: > >=A0 =A0 =A0 > > >=A0 =A0 =A0 > Hi, > >=A0 =A0 =A0 > > >=A0 =A0 =A0 > I downloaded Xen 4.0 and did: > >=A0 =A0 =A0 > make install > >=A0 =A0 =A0 > I donot see initrd (ramdisk) being created at all. > >=A0 =A0 =A0 > > >=A0 =A0 =A0 > Any suggestions ? > >=A0 =A0 =A0 > > > > >=A0 =A0 =A0 Step 5 of the README > >=A0 =A0 =A0 =A0=A0=A0Depending on your config, you may need to use 'mkin= itrd' to create > >=A0 =A0 =A0 =A0=A0=A0an initial ram disk, just like a native system e.g. > >=A0 =A0 =A0 =A0 =A0 # depmod 2.6.18-xen > >=A0 =A0 =A0 =A0 =A0 # mkinitrd -v -f --with=3Daacraid --with=3Dsd_mod --= with=3Dscsi_mod > >=A0 =A0 =A0 initrd-2.6.18-xen.img 2.6.18-xen > >=A0 =A0 =A0 =A0=A0=A0Other systems may requires the use of 'mkinitramfs'= to create the > >=A0 =A0 =A0 =A0=A0=A0ram disk. > >=A0 =A0 =A0 =A0 =A0 # depmod 2.6.18-xen > >=A0 =A0 =A0 =A0 =A0 # mkinitramfs -o initrd-2.6.18-xen.img 2.6.18-xen > > > >=A0 =A0 =A0 You may need to change the kernel version based on what you = built. > >=A0 =A0 =A0 Also some distros use different commands to build initrd fil= es. > > > >=A0 =A0 =A0 I actually forgot about this step for a second too. > > > >=A0 =A0 =A0 Thanks, > >=A0 =A0 =A0 Todd > > > >=A0 =A0 =A0 -- > >=A0 =A0 =A0 Todd Deshane > >=A0 =A0 =A0 [2]http://todddeshane.net > >=A0 =A0 =A0 [3]http://runningxen.com > > > > References > > > >=A0 =A0 Visible links > >=A0 =A0 1. file:///mc/compose?to=3Dccmail111@yahoo.com > >=A0 =A0 2. http://todddeshane.net/ > >=A0 =A0 3. http://runningxen.com/ > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > =0A=0A=0A --0-2126866717-1274127457=:2737 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

Hi Yingbin,

Thanks, I tried but no= progress.

I see during boot kernel stuck at:
usb usb6: Manufactu= rer: Linux 2.6.31.13 uhci_hcd
usb usb6: SerialNumber: 0000:00:1d.0
us= b usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found=
hub 6-0:1.0: 2 ports detected
xen: registering gsi 16 triggering 0 p= olarity 1
xen_allocate_pirq: returning irq 16 for gsi 16
xen: --> = irq=3D16
xen_set_ioapic_routing: irq 16 gsi 16 vector 16 ioapic 0 pin 16= triggering 1 polarity 1
(XEN) io_apic.c:2290:
(XEN) ioapic_guest_wr= ite: apic=3D0, pin=3D16, irq=3D16
(XEN) ioapic_guest_write: new_entry=3D= 0001a998
(XEN) ioapic_guest_write: old_entry=3D0000a998 pirq=3D16
(XE= N) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
uhc= i_hcd 0000:00:1d.1: PCI INT D -> GSI 16 (level, low) -> IRQ 16
uhc= i_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI H= ost Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned b= us number 7
uhci_hcd 0000:00:1d.1: irq 16, io base 0x00004040
usb usb= 7: New USB device found, idVendor=3D1d6b, idProduct=3D0001
usb usb7: New= USB device strings: Mfr=3D3, Product=3D2, SerialNumber=3D1
usb usb7: Pr= oduct: UHCI Host Controller
usb usb7: Manufacturer: Linux 2.6.31.13 uhci= _hcd
usb usb7: SerialNumber: 0000:00:1d.1
usb usb7: configuration #1 = chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports = detected
xen: registering gsi 16 triggering 0 polarity 1
xen_allocate= _pirq: returning irq 16 for gsi 16
xen: --> irq=3D16
xen_set_ioapi= c_routing: irq 16 gsi 16 vector 16 ioapic 0 pin 16 triggering 1 polarity 1<= br>(XEN) io_apic.c:2290:
(XEN) ioapic_guest_write: apic=3D0, pin=3D16, = irq=3D16
(XEN) ioapic_guest_write: new_entry=3D0001a998
(XEN) ioapic_= guest_write: old_entry=3D0000a998 pirq=3D16
(XEN) ioapic_guest_write: Attempt to mod= ify IO-APIC pin for in-use IRQ!
uhci_hcd 0000:00:1d.2: PCI INT D -> G= SI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.2: setting latency t= imer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:= 00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:= 1d.2: irq 16, io base 0x00004020
usb usb8: New USB device found, idVendo= r=3D1d6b, idProduct=3D0001
usb usb8: New USB device strings: Mfr=3D3, Pr= oduct=3D2, Serial
    <<<< stuck here...
<= br>
grub conf is:

title Xen 4.0 debug  XenLinux 2.6
 = ;       root (hd0,0)
   &nb= sp;   kernel /xen-4.0.0.gz console=3Dcom1, com1=3D115200,8n1 nore= boot loglvl=3Dall  vv
ga=3Dtext-80x50,keep iommu=3Doff apic=3Ddebug= guest_loglvl=3Dall
       module /vmlinuz= -2.6.31.13  ro root=3D/dev/ram0 console=3Dhvc0  earlyprintk=3Dxee
n nomodeset ini= tcall_debug debug loglevel=3D10
       mod= ule /initrd.img-2.6.31.13



Any suggestions ?

CM
--- On Sat, 5/15/10, yingbin wang <yingbin.wangyb@gmail.com> wrote:

From: yingbin wang <yingbi= n.wangyb@gmail.com>
Subject: Re: [Xen-devel] boot Xen 4.0
To: "ccm= ail111" <ccmail111@yahoo.com>
Cc: "Pasi K=E4rkk=E4inen" <pasik@= iki.fi>, deshantm@gmail.com, xen-devel@lists.xensource.com
Date: Satu= rday, May 15, 2010, 12:34 PM

I met sim= ilar problems and solved it.

if your grub.conf is OK, you can try to= edit a option of  your .config.
CONFIG_SYSFS_DEPRECATED_V2=3Dy
=
2010/5/14 ccmail111 <ccmail111@yahoo.com><= br>>
> Thanks Pasi/Todd,
>
> I did:
> # mkinitrd= -v -f --builtin=3Dehci-hcd --builtin=3Dohci-hcd --builtin=3Duhci-hcd --bui= ltin=3Dahci --builtin=3Daacraid --builtin=3Daacraid --builtin=3Dsd_mod --bu= iltin=3Dscsi_mod /boot/initrd.img-2.6.31.13 2.6.31.13
>
>
&g= t; Now
> I see during boot: kernel panic:
>
> Mounting ro= ot filesystem.
> mount: could not find filesystem '/dev/root'
>= setting up other filesystems
> setting up new root fs
> setupr= oot: moving /dev failed No such file or directory
> setuproot: error = mounting /proc: No such file or directory
> setuproot: error mounting= /sys: No such file or directory
> switchroot: mount failed: No such = file or directory
>   kernel panic - not syncing : Attempted to = kill init !
>
>
>
>
> --- On Thu, 5/13/10, Pa= si K=E4rkk=E4inen <pasik@iki.fi> wrote:
>
> From: Pasi K= =E4rkk=E4inen <pasik@iki.fi>
> Subject: Re: [Xen-devel] init= rd Xen 4.0
> To: "ccmail111" <ccmail111@yahoo.com= >
> Cc: deshantm@gmail.com, xen-devel@lists.xensource.com
> Date: Thursday, May 13,= 2010, 4:27 PM
>
> On Thu, May 13, 2010 at 01:08:36PM -0700, cc= mail111 wrote:
> >    The #5 of README is not clear in d= etails.
> >    which directory to run depmod and mkinitr= d from ?
> >
>
> It doesn't matter.
>
> >    = I see:
> >
> >    # depmod xen-4.0.0
> &g= t;    WARNING: Couldn't find symtab and strtab in module xen-4.0.= 0
> >
>
> Wrong. You need to run depmod for the *kerne= l*, not for xen.
>
> So like this:
> depmod -a 2.6.32.12<= br>>
> Or whatever is your kernel version.
>
> -- Pasi=
>
> >    # ls -l
> >    total = 1356
> >    -rw-r--r-- 1 root root 1380620 May 13 13:05 = xen-4.0.0
> >
> >    Any suggestions ?
> = >
> >    --- On Wed, 5/12/10, Todd Deshane <deshantm@gmail.com> wrote:
> >
> >  &nbs= p;   From: Todd Deshane <deshantm@gmail.com>> >      Subject: Re: [Xen-devel] initrd Xen 4.0
&= gt; >      To: "ccmail111" <ccmail111@yah= oo.com>
> >      Cc: xen-devel@lists.xensource.com
> >     = ; Date: Wednesday, May 12, 2010, 9:46 PM
> >
> >  &n= bsp;   Hi,
> >
> >      See inline.> >
> >      On Wed, May 12, 2010 at 12:25 = PM, ccmail111 <[1]ccmail111@yahoo.com>
> >&= nbsp;     wrote:
> >      >
> &g= t;      > Hi,
> >      >
> >  &= nbsp;   > I downloaded Xen 4.0 and did:
> >    &= nbsp; > make install
> >      > I donot see i= nitrd (ramdisk) being created at all.
> >      >=
> >      > Any suggestions ?
> > =     >
> >
> >      Step 5 of= the README
> >         Depending on= your config, you may need to use 'mkinitrd' to create
> >  &= nbsp;      an initial ram disk, just like a native syst= em e.g.
> >          # depmod 2.6.18-xen<= br>> >          # mkinitrd -v -f --with=3Daa= craid --with=3Dsd_mod --with=3Dscsi_mod
> >      in= itrd-2.6.18-xen.img 2.6.18-xen
> >         Other systems may requires the use of 'mkinitramfs' to c= reate the
> >         ram disk.
&= gt; >          # depmod 2.6.18-xen
> >=           # mkinitramfs -o initrd-2.6.18-xen.img 2= .6.18-xen
> >
> >      You may need to cha= nge the kernel version based on what you built.
> >    &= nbsp; Also some distros use different commands to build initrd files.
&g= t; >
> >      I actually forgot about this step = for a second too.
> >
> >      Thanks,
= > >      Todd
> >
> >    &= nbsp; --
> >      Todd Deshane
> >  &= nbsp;   [2]http:/= /todddeshane.net
> >      [3]http://runningxen.com=
> >
> > References
> >
> >   = ; Visible links
> >    1. file:///mc/compose?to=3Dccmail111@yahoo.com
> >    2. http://todddeshane.net/
> = >    3. h= ttp://runningxen.com/
>
> > ____________________________= ___________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > <= a href=3D"http://lists.xensource.com/xen-devel" target=3D"_blank">http://li= sts.xensource.com/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing = list
> Xen-devel@lists.xensource.com=
> http://lists.xensource.com/xen-devel
>

=0A=0A=0A=0A=0A=0A=0A=0A --0-2126866717-1274127457=:2737-- --===============1629027551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1629027551==--