Andreas Madritsch
2008-Nov-04 13:28 UTC
[Xen-users] DomU does not start because the loopback interface could not be setup.
DomU does not start because the loopback interface could not be setup. Could someone help me please. Following you will find the DomU''s configuration and console output. memory = 512 name = "iscsi" localtime = 1 vif = [ ''mac=00:16:3e:f5:e9:2b, bridge=xenbr0'' ] kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/my-initrd-xen" root = "/dev/hda" disk = [ ''phy:/dev/iscsi,hda,w'' ] idpcam1:/home/amadrits # xm create iscsi -c Using config file "/etc/xen/vm/iscsi". Started domain iscsi Linux version 2.6.18.8-0.10-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Jul 7 23:46:38 CEST 2008 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000020800000 (usable) 0MB HIGHMEM available. 520MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 30000000 (gap: 20800000:df800000) Xen reported: 2211.326 MHz processor. Built 1 zonelists. Total pages: 133120 Kernel command line: root=/dev/hda Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Software IO TLB disabled vmalloc area: e1000000-fb7fe000, maxmem 33ffe000 Memory: 507392k/532480k available (2252k kernel code, 16500k reserved, 1057k data, 196k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 5530.25 BogoMIPS (lpj=11060510) Security Framework v1.0.0 initialized Mount-cache hash table entries: 512 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) Compat vDSO mapped to fbffd000. Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 16k freed checking if image is initramfs... it is Freeing initrd memory: 6480k freed Brought up 1 CPUs migration_cost=0 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. Setting mem allocation to 524288 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered audit: initializing netlink socket (disabled) audit(1225807455.927: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) rtc: IRQ 8 is not free. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 64000K 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 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 1 Using IPI No-Shortcut mode Time: xen clocksource has been installed. netfront: device eth0 has flipping receive path. XENBUS: Device with no driver: device/vbd/768 Freeing unused kernel memory: 196k freed Boot logging started on /dev/tty1(/dev/console) at Tue Nov 4 14:04:19 2008 Creating device nodes with udev netfront: Initialising virtual ethernet driver. kobject_add failed for vif with -EEXIST, don''t try to register things with the same name in the same directory. [<c020daca>] kobject_add+0x11a/0x1a0 [<c020dc71>] kobject_register+0x21/0x50 [<c0275b4d>] bus_add_driver+0x7d/0x140 [<c028852b>] xenbus_register_driver_common+0x2b/0x40 [<c0288580>] xenbus_register_frontend+0x20/0x40 [<c013b7db>] sys_init_module+0x15b/0x1c40 [<c0104f73>] syscall_call+0x7/0xb Loading xennet Loading xenblk Registering block device major 3 blkfront: hda: barriers enabled hda: unknown partition table ata_id[570]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' Loading jbd Loading mbcache Loading ext3 Waiting for device /dev/hda to appear: ok fsck 1.39 (29-May-2006) [/bin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/hda /dev/hda: recovering journal /dev/hda: Superblock last mount time is in the future. FIXED. /dev/hda has gone 49710 days without being checked, check forced. /dev/hda: 57272/524288 files (0.1% non-contiguous), 410679/1048576 blocks fsck succeeded. Mounting root device read-write. Mounting root /dev/hda kjournald starting. Commit interval 5 seconds EXT3 FS on hda, internal journal EXT3-fs: mounted filesystem with ordered data mode. INIT: version 2.86 booting System Boot Control: Running /etc/init.d/boot Mounting procfs at /proc done Mounting sysfs at /sys done Mounting debugfs at /sys/kernel/debug done Initializing /dev done Mounting devpts at /dev/pts done Boot logging started on /dev/tty1(/dev/console (deleted)) at Tue Nov 4 15:04:54 2008 Starting udevd ata_id[664]: main: HDIO_GET_IDENTITY failed for ''/dev/.tmp-3-0'' done Activating swap-devices in /etc/fstab... done EXT3 FS on hda, internal journal Loading required kernel modules done done Activating device mapper... device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com done Starting MD Raid done Waiting for udev to settle... Scanning for LVM volume groups... Reading all physical volumes. This may take a while... No volume groups found No volume groups found Activating LVM volume groups... No volume groups found done Checking file systems... fsck 1.39 (29-May-2006) done done Mounting local file systems... proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) loop: loaded (max 8 devices) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) nothing was mounted done Creating /var/log/boot.msg done Setting current sysctl status from /etc/sysctl.conf net.ipv4.icmp_echo_ignore_broadcasts = 1 net.ipv4.conf.all.rp_filter = 1 done Enabling syn flood protection done Disabling IP forwarding done done Setting up hostname ''idvmam1'' done Setting up loopback interface lo BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: 00000000 *pde = ma 00000000 pa fffff000 Oops: 0000 [#1] SMP last sysfs file: /class/net/lo/address Modules linked in: loop dm_mod ext3 mbcache jbd xenblk CPU: 0 EIP: 0061:[<00000000>] Not tainted VLI EFLAGS: 00010286 (2.6.18.8-0.10-xen #1) EIP is at _stext+0x3fefe000/0x60 eax: e1025760 ebx: e1025760 ecx: c0464700 edx: 00000001 esi: 00000000 edi: c0464700 ebp: 00000001 esp: c1799e20 ds: 007b es: 007b ss: 0069 Process ip (pid: 1169, ti=c1798000 task=c086d6b0 task.ti=c1798000) Stack: c012c3b5 c03fd0d8 c0464700 00000001 00000001 c012c795 c0464700 c092508c c0925080 c02fc835 00000001 c0169c3c 00000001 00000001 c03f0a90 c0464737 c02fcf17 00000000 00000000 00000000 00000000 00000000 c0dac6c0 00000041 Call Trace: [<c012c3b5>] notifier_call_chain+0x25/0x30 [<c012c795>] blocking_notifier_call_chain+0x25/0x40 [<c02fc835>] inet_insert_ifa+0xa5/0x130 [<c0169c3c>] kmem_cache_zalloc+0x8c/0xb0 [<c02fcf17>] inetdev_event+0x2e7/0x300 [<c02c064c>] rtmsg_ifinfo+0xac/0xe0 [<c012c3b5>] notifier_call_chain+0x25/0x30 [<c02b906a>] dev_open+0x6a/0x70 [<c02b7445>] dev_change_flags+0x55/0x120 [<c02fda02>] devinet_ioctl+0x502/0x700 [<c02b8bbb>] dev_ifsioc+0xeb/0x360 [<c02121e4>] copy_to_user+0x34/0x70 [<c02aca85>] sock_ioctl+0x115/0x220 [<c02ac970>] sock_ioctl+0x0/0x220 [<c018064b>] do_ioctl+0x2b/0x90 [<c018070c>] vfs_ioctl+0x5c/0x2b0 [<c01809d2>] sys_ioctl+0x72/0x90 [<c0104f73>] syscall_call+0x7/0xb Code: Bad EIP value. EIP: [<00000000>] _stext+0x3fefe000/0x60 SS:ESP 0069:c1799e20 /sbin/ifup: line 1060: 1169 Segmentation fault ip link set up dev $INTERFACE ${LLADDR:+address $LLADDR} $LINK_OPTIONS Cannot enable interface lo. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users