Hi, Group,
I am new to xen. I followed the instructions in Xen 3.0 users manual and
created a file based disk. After I ran "xm create -c dev-db1.conf" I got a
few screens of bootstraping messages followed by system panic. I have no
clue what happened. A few things I tried is:
1. completely disable selinux
2. modified the /etc/fstab in the virtual disk
3. tried a few different kernel images
4. tried to disable ramdisk.
5. disable vif
Below is the farthest I went. I'd appreciate any help! BTW, I use Fedora
6 and the rpm versions of xen installation.
Thanks!
Alfred
================== xen configuration ====================
kernel = "/boot/vmlinuz-2.6.20-1.2948.fc6xen"
ramdisk = "/boot/initrd-2.6.20-1.2948.fc6xen.img"
builder='linux'
memory = 256
name = "dev-db1"
vcpus = 1
vif = [ 'ip=192.168.2.100, bridge=xenbr0' ]
disk = [ 'file:/tmp/dev-db1-disk,hda1,w' ]
dhcp="off"
netmask="255.255.255.0"
gateway="192.168.2.1"
hostname= "dev-db1"
root = "/dev/hda1 ro"
extra = "4"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
================== xm output ====================
Linux version 2.6.20-1.2948.fc6xen
(brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20070105 (Red
Hat 4.1.1-51)) #1 SMP Fri Apr 27 19:43:17 EDT 2007
Command line: root=/dev/hda1 ro 4
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
end_pfn_map = 67584
Zone PFN ranges:
DMA 0 -> 67584
DMA32 67584 -> 67584
Normal 67584 -> 67584
early_node_map[1] active PFN ranges
0: 0 -> 67584
No mptable found.
PERCPU: Allocating 26368 bytes of per cpu data
Built 1 zonelists. Total pages: 65360
Kernel command line: root=/dev/hda1 ro 4
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 8192 bytes)
Xen reported: 1999.997 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Software IO TLB disabled
Memory: 247972k/270336k available (2367k kernel code, 13864k reserved, 1441k
data, 196k init)
Calibrating delay using timer specific routine.. 5001.93 BogoMIPS
(lpj=10003867)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 1
(SMP-)alternatives turned off
Brought up 1 CPUs
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
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.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 6, 262144 bytes)
TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 3911k freed
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1179985293.953:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
ksign: Installing public key data
Loading keyring
- Added public key 214E108B717C14AC
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.20-1.2948.fc6xen
(brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20070105 (Red
Hat 4.1.1-51)) #1 SMP Fri Apr 27 19:43:17 EDT 2007
Command line: root=/dev/hda1 ro 4
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
end_pfn_map = 67584
Zone PFN ranges:
DMA 0 -> 67584
DMA32 67584 -> 67584
Normal 67584 -> 67584
early_node_map[1] active PFN ranges
0: 0 -> 67584
No mptable found.
PERCPU: Allocating 26368 bytes of per cpu data
Built 1 zonelists. Total pages: 65360
Kernel command line: root=/dev/hda1 ro 4
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 8192 bytes)
Xen reported: 1999.997 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Software IO TLB disabled
Memory: 247972k/270336k available (2367k kernel code, 13864k reserved, 1441k
data, 196k init)
Calibrating delay using timer specific routine.. 5001.93 BogoMIPS
(lpj=10003867)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 1
(SMP-)alternatives turned off
Brought up 1 CPUs
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
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.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 6, 262144 bytes)
TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 3911k freed
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1179985293.953:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
ksign: Installing public key data
Loading keyring
- Added public key 214E108B717C14AC
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core 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
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
XENBUS: Device with no driver: device/vbd/769
XENBUS: Device with no driver: device/vif/0
Write protecting the kernel read-only data: 998k
Red Hat nash version 5.1.19.0.3 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
firmware_class: attempt to set timeout to 10
Creating block device nodes.
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading ohci-hcd.ko module
Loading ehci-hcd.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading raid1.ko module
md: raid1 personality registered for level 1
Loading xor.ko module
raid5: automatically using best checksumming function: generic_sse
generic_sse: 11948.000 MB/sec
raid5: using function: generic_sse (11948.000 MB/sec)
Loading raid456.ko module
raid6: int64x1 1649 MB/s
raid6: int64x2 2209 MB/s
raid6: int64x4 1828 MB/s
raid6: int64x8 1916 MB/s
raid6: sse2x1 2875 MB/s
raid6: sse2x2 3802 MB/s
raid6: sse2x4 3873 MB/s
raid6: using algorithm sse2x4 (3873 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading sata_nv.ko module
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Creating root device.
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
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory Switching to new
root and running init. unmounting old /dev unmounting old /proc unmounting
old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|