WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] latest pv_ops dom0 (2.6.29-rc7) works!!

On Thu, Mar 05, 2009 at 12:10:01PM -0800, Jeremy Fitzhardinge wrote:
> Pasi Kärkkäinen wrote:
> >First time ever (on my testing box) disk attached to ata_piix is now 
> >actually detected and seems to work.. at least partly!
> >  
> 
> Good!
> 
> >See:
> >http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-17-xen331-linux-2.6.29-rc7-crash.txt
> >
> >But now I get crash when init is started..
> >
> >Starting udev: BUG: unable to handle kernel paging request at c1106840
> >IP: [<c04045ef>] get_phys_to_machine+0x24/0x29
> >*pdpt = 000000005fa7a001 
> >Thread overran stack, or stack corrupted
> >  
> 
> Try again.  I don't know if I specifically fixed this one, but I noticed 
> that it wasn't reserving the 32-bit Xen pagetables, so it might have 
> tried to reallocate them for the swiotlb buffer...
> 

And now it boots all the way to login prompt!!

Congratulations!

http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-18-xen331-linux-2.6.29-rc7.txt

grub.conf:

title Xen pv_ops dom0-test (2.6.29-rc7-tip) / serial console
        root (hd0,0)
        kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all 
com1=19200,8n1 console=com1
        module /vmlinuz-2.6.29-rc7-tip ro root=/dev/vg00/lv01 console=hvc0 
earlyprintk=xen
        module /initrd-2.6.29-rc7-tip.img


Network seems to be OK, I can ssh into the box:

[root@dom0test ~]# uname -a
Linux dom0test.localdomain 2.6.29-rc7-tip #7 SMP Thu Mar 5 22:33:17 EET 2009
i686 i686 i386 GNU/Linux

[root@dom0test ~]# ethtool -i eth0
driver: tg3
version: 3.97
firmware-version: 5721-v3.29a, ASFIPMI v6.09
bus-info: 0000:04:00.0

[root@dom0test ~]# cat /proc/interrupts

           CPU0       CPU1       
  1:         36          0  xen-pirq-pirq      i8042
  3:          2          0  xen-pirq-pirq    
  6:          5          0  xen-pirq-pirq      floppy
  7:          0          0  xen-pirq-pirq      parport0
  8:         33          0  xen-pirq-pirq      rtc0
  9:          0          0  xen-pirq-pirq      acpi
 14:       3868          0  xen-pirq-pirq      ata_piix
 15:          0          0  xen-pirq-pirq      ata_piix
 16:          0          0  xen-pirq-pirq      uhci_hcd:usb5, pata_pdc2027x
 18:       1454          0  xen-pirq-pirq      uhci_hcd:usb4, eth0
 19:          1          0  xen-pirq-pirq      ahci, uhci_hcd:usb3, eth1
 23:          0          0  xen-pirq-pirq      ehci_hcd:usb1, uhci_hcd:usb2
 24:          0          0  xen-pirq-pirq      sata_promise
 48:      38110          0   xen-dyn-virq      timer0
 49:          2          0   xen-dyn-ipi       spinlock0
 50:       3280          0   xen-dyn-ipi       resched0
 51:          0          0   xen-dyn-ipi       callfunc0
 52:          0          0   xen-dyn-virq      debug0
 53:        118          0   xen-dyn-ipi       callfuncsingle0
 54:          0      34153   xen-dyn-virq      timer1
 55:          0          7   xen-dyn-ipi       spinlock1
 56:          0       4402   xen-dyn-ipi       resched1
 57:          0          0   xen-dyn-ipi       callfunc1
 58:          0          0   xen-dyn-virq      debug1
 59:          0        368   xen-dyn-ipi       callfuncsingle1
 60:          0          0   xen-dyn-event     xenbus
 61:         16          0   xen-dyn-virq      hvc_console
NMI:          0          0   Non-maskable interrupts
LOC:          0          0   Local timer interrupts
CNT:          0          0   Performance counter interrupts
RES:       3280       4402   Rescheduling interrupts
CAL:        118        368   Function call interrupts
TLB:          0          0   TLB shootdowns
TRM:          0          0   Thermal event interrupts
SPU:          0          0   Spurious interrupts
ERR:          0
MIS:          0

[root@dom0test ~]# lsmod
Module                  Size  Used by
bridge                 40160  0 
stp                     2032  1 bridge
bnep                   10852  2 
sco                     9036  2 
l2cap                  17616  3 bnep
bluetooth              44556  5 bnep,sco,l2cap
sunrpc                149716  1 
ipv6                  226944  26 
dm_multipath           13520  0 
uinput                  6612  0 
ppdev                   6376  0 
floppy                 47220  0 
i2c_i801                8228  0 
i2c_core               17668  1 i2c_i801
iTCO_wdt               10456  0 
pcspkr                  2248  0 
iTCO_vendor_support     2828  1 iTCO_wdt
pata_pdc2027x           6968  0 
tg3                    91468  0 
libphy                 16496  1 tg3
sata_promise           10024  0 
parport_pc             22096  0 
parport                27956  2 ppdev,parport_pc
ata_generic             4224  0 
pata_acpi               3508  0 


[root@dom0test ~]# mount | grep xen
none on /proc/xen type xenfs (rw)

[root@dom0test ~]# /etc/init.d/xend start
Starting xend daemon:                                      [FAILED]


I'll start playing with that stuff tomorrow, now I need to get some sleep :) 

-- Pasi

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