Subject: Problems with Linux Image
To: None <port-xen@NetBSD.org>
From: Andre Filipe de Assuncao e Brito (decko) <decko@decko.org>
List: port-xen
Date: 01/18/2007 11:15:48
Hi guys!!!

I've updated Xen to 3.0.3, and it working great. Now he knows how to
manage Linux devices under a NetBSD dom0. The NetBSD domU is working
great, but the Linux not... It boots, but after that, show a message
and don't go on. I'm putting the output from Linux kernel message and
the configuration of virtual machine.
Note: I've to use apic to boot NetBSD, because it can't detect my SCSI
controller if I use noapic option on grub boot message.

kernel="/vm/medusa/vmlinuz-2.6.18-3-xen-686"
ramdisk = "/vm/medusa/initrd.img-2.6.18-3-xen-686"
memory = 128
name = "medusa"
vcpus=1
vif = [ 'bridge=bridge0' ]
disk = [ 'phy:/dev/vnd0e,hda1,w', 'file:/vm/medusa/swap.img,hdb1,w' ]
#disk = [ 'file:/vm/medusa/hd.img,0x301,w',
'file:/vm/medusa/swap.img,0x401,w' ]
#serial='pty'
root="/dev/hda1 ro"

--------------------------------------------------------------------------

bash-3.1# xm create medusa -c
Using config file "/usr/pkg/etc/xen/medusa".
Started domain medusa
Linux version 2.6.18-3-xen-686 (Debian 2.6.18-8) (waldi@debian.org)
(gcc version 4.1.2 20061115 (prerelease) (Debian
4.1.1-20)) #1 SMP Sun Dec 10 23:40:10 UTC 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 34816
Kernel command line:  root=/dev/hda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 3200.112 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-fb7fe000, maxmem 33ffe000
Memory: 114328k/139264k available (1558k kernel code, 16580k reserved,
566k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay using timer specific routine.. 8009.13 BogoMIPS
(lpj=16018278)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 12328k freed
Grant table initialized
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: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1169044094.440:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
Registering block device major 3
netfront: device eth0 has flipping receive path.
XENBUS: Timeout connecting to device: device/vbd/769 (state 3)
Freeing unused kernel memory: 148k freed
4gb seg fixup, process init (pid 1), cs:ip 73:b7e23b0e
4gb seg fixup, process init (pid 1), cs:ip 73:b7e9ada9
4gb seg fixup, process init (pid 1), cs:ip 73:b7e2731c
4gb seg fixup, process init (pid 1), cs:ip 73:b7e2732a
4gb seg fixup, process init (pid 1), cs:ip 73:b7e2731c
4gb seg fixup, process init (pid 1), cs:ip 73:b7e2732a
4gb seg fixup, process init (pid 1), cs:ip 73:b7dfa280
4gb seg fixup, process init (pid 1), cs:ip 73:b7de1784
4gb seg fixup, process init (pid 1), cs:ip 73:b7de179b
4gb seg fixup, process init (pid 1), cs:ip 73:b7de1784
Loading, please wait...
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
FATAL: Error inserting fan
(/lib/modules/2.6.18-3-xen-686/kernel/drivers/acpi/fan.ko): No such device
FATAL: Error inserting thermal
(/lib/modules/2.6.18-3-xen-686/kernel/drivers/acpi/thermal.ko): No
such device
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
dm-devel@redhat.com
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Done.
Begin: Waiting for root file system... ...
printk: 208091 messages suppressed.
4gb seg fixup, process init (pid 1), cs:ip 73:b7deba68
printk: 1823 messages suppressed.
4gb seg fixup, process init (pid 1), cs:ip 73:b7deba68
printk: 1823 messages suppressed.
4gb seg fixup, process init (pid 1), cs:ip 73:b7deba68


Thanks!!!