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-users

Re: [Xen-users] DomU boot problem in Xen 3.2 (Important)

To: weiming <zephyr.zhao@xxxxxxxxx>
Subject: Re: [Xen-users] DomU boot problem in Xen 3.2 (Important)
From: Dushmant Mohapatra <d_mpatra@xxxxxxxxx>
Date: Thu, 6 Mar 2008 23:01:14 -0800 (PST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Mar 2008 23:01:52 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=P1U6vXnbuPQ19CRSALUNWJiB+Sblf6AVykyFTzP2cIdJsBjLmUofFHCnmrcaCQ/qS9hEb/DLmNjRch+kjT24UnMBUmwlu5LNB7vctBanQmgRaj9L0H1OhvpxUD9JaGkt/lWtpVnSB/R2tIZWpdyQyKnkljuuK23thb6ZA4qPBr0=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Well my domU boot problem is solved . I just had to change the line <extra = fastboot> to  <extra = "xencons=tty">.

Thanks for all your help.

But I have some doubts and if some one can provide me answers I will really appreciate that.

I am attaching the 'dmesg' output of domainU at the end of this mail. So some of my questions will be based on that.

1. So what happened on adding "xencons=tty". I read xen documentation and this should be the default behavior. But if I compare the boot time messages from my earlier domU installation attempts and current : earlier I got the output message "Xen virtual console succesfully installed as svc0". Now it has become "Xen virtual console succesfully installed as tty1". I had tried earlier adding console=xvc0 to the extra line. but that did not work.

2. Other than that I keep on seeing some error messages in the domU boottime :
    "No mptable found"
    "ACPI: Interpreter disabled."
    "pnp: PnP ACPI: disabled"
    "PNP: No PS/2 controller found. Probing ports directly."
    "i8042.c: No controller found."
    "XENBUS: Device with no driver: device/console/0"
    "EDD information not available."
    "register_blkdev: cannot get major 8 for sd"

Can any one explain some of these and if there is any way to get rid of them?

In the Xen Faq for the last line ("register_blkdev: cannot get major 8 for sd") they say to disbale CONFIG_SCSI.
But I use the same kernel for dom0 and domU and I have SCSI drives. So I do not think that will be good solution.

Also another thing is I do not see any of these messages during dom0 boot (although I use the same kernel in both the cases). Is there any explanation for that.

3. Another issue I am facing is that, my dom0  does not shutdown properly. On  shutting down it goes till  SystemHalting and Poweroff and then remains there. Real shut down does not happen. I have tried playing with  some ACPI  config options during the  kernel compilation . But that does not help.  Any one knows any solution for this. Do I need to  provide some kind of boot parameter like "ACPI  f" in my grub file.

4.  Finally my domU after booting does not have network access. I have brutils installed. But I do not see any xenbr0 in my dom0. (probably peth0 works as a bridge.). Though  I have not looked into detail  for this problem.  But if any one can provide any pointers to this issue, that  will be a real help.



Thanks
Dushmanta

<<<<<<<<<<<<<<<<<<<<<<<<<<<<dmesg output>>>>>>

-bash-3.2# dmesg
Bootdata ok (command line is root=/dev/sda1 xencons=tty)
Linux version 2.6.18.8-xen (root@dmcomp) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #5 SMP Thu Mar 6 22:50:09 EST 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010800000 (usable)
On node 0 totalpages: 66660
  DMA zone: 4040 pages, LIFO batch:0
  DMA32 zone: 62620 pages, LIFO batch:15
No mptable found.
Built 1 zonelists.  Total pages: 66660
Kernel command line: root=/dev/sda1 xencons=tty
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Xen reported: 1729.518 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB disabled
Memory: 241916k/270336k available (2752k kernel code, 19880k reserved, 1007k data, 176k init)
Calibrating delay using timer specific routine.. 3461.03 BogoMIPS (lpj=17305197)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
SMP alternatives: switching to UP code
Freeing SMP alternatives: 32k freed
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 9508k freed
PM: Adding info for No Bus:platform
NET: Registered protocol family 16
PM: Adding info for No Bus:xen
PM: Adding info for No Bus:xen-backend
PM: Adding info for xen:vbd-2049
PM: Adding info for xen:vbd-2050
PM: Adding info for xen:vif-0
PM: Adding info for xen:console-0
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
pnp: the driver 'system' has been registered
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1204870347.465:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
JFS: nTxBlock = 2048, nTxLock = 16384
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PM: Adding info for platform:vesafb.0
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
pnp: the driver 'ide' has been registered
pnp: the driver 'i8042 kbd' has been registered
pnp: the driver 'i8042 aux' has been registered
pnp: the driver 'i8042 kbd' has been unregistered
pnp: the driver 'i8042 aux' has been unregistered
PNP: No PS/2 controller found. Probing ports directly.
PM: Adding info for platform:i8042
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
xen-vbd: registered block device major 8
blkfront: sda1: barriers enabled
blkfront: sda2: barriers enabled
XENBUS: Device with no driver: device/console/0
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
Freeing unused kernel memory: 176k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
register_blkdev: cannot get major 8 for sd
libata version 2.00 loaded.
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@xxxxxxxxxx
Adaptec aacraid driver (1.1-5[2409]-mh2)
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
EXT3 FS on sda1, internal journal
Adding 65528k swap on /dev/sda2.  Priority:-1 extents:1 across:65528k

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>














----- Original Message ----
From: weiming <zephyr.zhao@xxxxxxxxx>
To: Dushmant Mohapatra <d_mpatra@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, March 5, 2008 11:09:26 AM
Subject: Re: [Xen-users] DomU boot problem in Xen 3.2 (Important)

1.  I can' remember exactly. Basically, I do
make prep-kernels KERNELS="linux-2.6-xen"
cd <build-linux-2.6.18-xen-...>
make menuconfig
make all

In menuconfig, I just disable some unnecessary device drivers etc. No special tweaking.

2.
I use both xenU (more lightweight) and xen (works for both dom0 and domU). Both are ok.

3. I use separate partitions.

4. attached

Hope it helps!
Good Luck

Weiming

On Wed, Mar 5, 2008 at 10:34 AM, Dushmant Mohapatra <d_mpatra@xxxxxxxxx> wrote:
Hi,

Thanks for the reply. So could you pls provide me with a few details so that I can compare the steps:

1. What command did you use to compile the dom0 kernel? did u do the "make world and make install" or did you do
some configuration changes. If you did some  configuration changes can you list some  of the more important ones?

2. What kernel do you use to boot a domU? is it the same dom0  kernel or you prepared a separate one?

3. What file system and swap image do you use?  Any pointers  to the steps you followed for creating this?

4. Finally could you send me a copy of your xend config and domU config files for comparison?

Thanks
Dushmanta

 

----- Original Message ----
From: weiming <zephyr.zhao@xxxxxxxxx>
To: Dushmant Mohapatra <d_mpatra@xxxxxxxxx>
Sent: Wednesday, March 5, 2008 1:00:20 AM
Subject: Re: [Xen-users] DomU boot problem in Xen 3.2 (Important)

I installed on FC8  x86_64. Xen is built from source. No problem to boot domu.
try to set "extra=1" to see if it goes well.

On Wed, Mar 5, 2008 at 12:46 AM, Dushmant Mohapatra <d_mpatra@xxxxxxxxx> wrote:
Hello,

I am facing some problem in booting up a DomU in Xen 3.2 (Installed on top of a FC8-64bit).

I installed FC8 without virtualization and on top of that installed Xen 3.2 (compiled from source). I used "make world" and "make install" for my compilation.

After this my Dom0 boots up fine. But when I try to boot a domU using the same (dom 0)kernel (with the file system and swap image being Fedora 64 images obtained from Jailtime.org), the boot process continues for some time and then stops. I am including below the entire boot messages obtained on the console.
(The same file system and swap image worked properly with a Xen 3.1 Dom0 kernel).


So can any one tell me whats going wrong? Is some thing wrong with my compiled kernel? Did I miss some configuration due to "make world"?

Please reply. If some other information is needed I can provide that. But this is a bit urgent and I will really appreciate any help.

If any one was able to install a domU properly on a FC8 + Xen 3.2 configuration (without any external tools like virt-manager/virt-install) please let me know the procedure.

Regards
Dushmanta

<<<<<<<<<<<<<<
[root@dmcomp xen-domU]# xm create -c fedora.fc8.64.xen3.cfg
Using config file "./fedora.fc8.64.xen3.cfg".
Started domain fedora.fc8.64
                            Bootdata ok (command line is root=/dev/sda1 fastboot)
Linux version 2.6.18.8-xen (root@dmcomp) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Feb 22 20:24:57 EST 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 66660
Kernel command line: root=/dev/sda1 fastboot
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Xen reported: 1729.515 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB disabled
Memory: 242932k/270336k available (2015k kernel code, 19184k reserved, 882k data, 176k init)
Calibrating delay using timer specific routine.. 3460.36 BogoMIPS (lpj=17301823)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
SMP alternatives: switching to UP code
Freeing SMP alternatives: 24k freed
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 9684k freed
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1204694388.919:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
xen-vbd: registered block device major 8
blkfront: sda1: barriers enabled
blkfront: sda2: barriers enabled
XENBUS: Device with no driver: device/console/0
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
Freeing unused kernel memory: 176k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
register_blkdev: cannot get major 8 for sd
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@xxxxxxxxxx
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.

>>>>>>>>>>>>>>>>>

The config file I am using for booting domU is:

kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = "/boot/initrd-2.6.18.8-xen.img"
memory = 256
name = "fedora.fc8.64"
vif = [ '' ]
#dhcp= "dhcp"
#disk = ['file:/xen/fedora/fedora.fc8.64.img,sda1,w', 'file:/xen/fedora/fedora.swap,sda2,w']
disk = ['file:/home/dmpatra/Xen_Downloads/xen-domU/fedora.fc8.64.img,sda1,w', 'file:/home/dmpatra/Xen_Downloads/xen-domU/fedora.swap,sda2,w']
root = "/dev/sda1"
extra = "fastboot"


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

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




Looking for last minute shopping deals? Find them fast with Yahoo! Search.




Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>