Job 317
2006-Nov-11 20:44 UTC
[Fedora-xen] 4gb seg fixup messages during boot; xen guest not booting
Hi list, I have seen this topic written about on a number of sites but none of the suggested fixed have worked for me. I have a FC5 box with 1GB RAM and the latest xen-3.0.3-1.fc5 package as well as kernel-xen0 and kernel-xenU-2.6.18-1.2239.fc5 installed. I followed the install instructions at http://www.fedoraproject.org/wiki/FedoraXenQuickstart to install Fedora Core 4 as a xen guest and have booted into the xen0 kernel. My guest has 256 MB RAM. Here''s the config: kernel="/boot/vmlinuz-2.6.18-1.2239.fc5xenU" memory = 256 name = "rawhide" vif = [ '''', ''bridge=xenbr0'' ] disk = [''file:/root/XEN/fedora.img,sda1,w''] root = "/dev/sda1" extra = "ro selinux=0 3" When I type "xm create -c rawhide" in a KDE Konsole window, my guest starts to boot but does not finish. I have tried adding "echo ''hwcap 0 nosegneg'' > /etc/ld.so.conf.d/libc6-xen.conf" as one web site suggested. No luck. I tried adding vnc=1 and vnclisten="127.0.0.1" to my xen guest config file but no luck. I am logged in as root when I run xm. Here is the screen printout when I boot my VM: [root@localhost ~]# xm create -c rawhide Using config file "/etc/xen/rawhide". Started domain rawhide Linux version 2.6.18-1.2239.fc5xenU (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 SMP Fri Nov 10 14:15:41 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010800000 (usable) 0MB HIGHMEM available. 264MB LOWMEM available. Using x86 segment limits to approximate NX protection Built 1 zonelists. Total pages: 67584 Kernel command line: root=/dev/sda1 ro selinux=0 3 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c06dd000 soft=c06bd000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 1196.467 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-fb3fe000, maxmem 33ffe000 Memory: 255292k/270336k available (1719k kernel code, 6540k reserved, 633k data, 144k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy. Probably due to long platform interrupts. Consider using "lpj=" boot option. 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: 8K CPU: L2 cache: 512K Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs xen_mem: Initialising balloon driver. NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 327680 bytes) TCP bind hash table entries: 8192 (order: 5, 163840 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(1163273992.613:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 481F17AAEB289250 - 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) rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Linux version 2.6.18-1.2239.fc5xenU (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 SMP Fri Nov 10 14:15:41 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010800000 (usable) 0MB HIGHMEM available. 264MB LOWMEM available. Using x86 segment limits to approximate NX protection Built 1 zonelists. Total pages: 67584 Kernel command line: root=/dev/sda1 ro selinux=0 3 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c06dd000 soft=c06bd000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 1196.467 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-fb3fe000, maxmem 33ffe000 Memory: 255292k/270336k available (1719k kernel code, 6540k reserved, 633k data, 144k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy. Probably due to long platform interrupts. Consider using "lpj=" boot option. 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: 8K CPU: L2 cache: 512K Checking ''hlt'' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs xen_mem: Initialising balloon driver. NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 327680 bytes) TCP bind hash table entries: 8192 (order: 5, 163840 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(1163273992.613:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 481F17AAEB289250 - 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) rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize 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 Registering block device major 8 ide-floppy driver 0.99.newide 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 TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/vif/1 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 144k freed Write protecting the kernel read-only data: 258k 4gb seg fixup, process init (pid 1), cs:ip 73:007a65e5 4gb seg fixup, process init (pid 1), cs:ip 73:0075184e 4gb seg fixup, process init (pid 1), cs:ip 73:007c199e 4gb seg fixup, process init (pid 1), cs:ip 73:00750554 4gb seg fixup, process init (pid 1), cs:ip 73:00750562 4gb seg fixup, process init (pid 1), cs:ip 73:007a6322 4gb seg fixup, process init (pid 1), cs:ip 73:0074ae9c 4gb seg fixup, process init (pid 1), cs:ip 73:007adeda 4gb seg fixup, process init (pid 1), cs:ip 73:0071527c 4gb seg fixup, process init (pid 1), cs:ip 73:00750554 modprobe: FATAL: Could not load /lib/modules/2.6.18-1.2239.fc5xenU/modules.dep: No such file or directory INIT: version 2.85 booting /etc/rc.d/rc.sysinit: line 78: /dev/tty1: Read-only file system /etc/rc.d/rc.sysinit: line 78: /dev/tty2: Read-only file system /etc/rc.d/rc.sysinit: line 78: /dev/tty3: Read-only file system /etc/rc.d/rc.sysinit: line 78: /dev/tty4: Read-only file system /etc/rc.d/rc.sysinit: line 78: /dev/tty5: Read-only file system /etc/rc.d/rc.sysinit: line 78: /dev/tty6: Read-only file system /etc/rc.d/rc.sysinit: line 82: /dev/tty7: Read-only file system /etc/rc.d/rc.sysinit: line 83: /dev/tty8: Read-only file system Welcome to Fedora Core Press ''I'' to enter interactive startup. Starting udev:[ OK ] Initializing hardware... storage network audio done[ OK ] Setting clock : Sat Nov 11 14:40:07 EST 2006 [ OK ] Setting hostname localhost: [ OK ] Checking filesystems Checking all file systems. [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1 /dev/sda1: clean, 26465/262656 files, 220368/524288 blocks [ OK ] Remounting root filesystem in read-write mode: [ OK ] Mounting local filesystems: [ OK ] Enabling local filesystem quotas: [ OK ] Enabling swap space: [ OK ] INIT: Entering runlevel: 3 Entering non-interactive startup Checking for new hardwaremodprobe: FATAL: Could not load /lib/modules/2.6.18-1.2239.fc5xenU/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.18-1.2239.fc5xenU/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.18-1.2239.fc5xenU/modules.dep: No such file or directory mmap /dev/mem: Bad address mmap /dev/mem: Bad address modprobe: FATAL: Could not load /lib/modules/2.6.18-1.2239.fc5xenU/modules.dep: No such file or directory [ OK ] Starting pcmcia: Starting PCMCIA services: FATAL: Could not load /lib/modules/2.6.18-1.2239.fc5xenU/modules.dep: No such file or directory [FAILED] Starting system logger: [ OK ] Starting kernel logger: [ OK ] Networking not configured - exiting Can''t open RFCOMM control socket: Address family not supported by protocol Starting automount: printk: 571702 messages suppressed. 4gb seg fixup, process S28autofs (pid 543), cs:ip 73:0074cf6e [ OK ] Starting cups: [ OK ] Starting sshd: [ OK ] Starting sendmail: [ OK ] Starting sm-client: [ OK ] Starting console mouse services: [ OK ] Starting crond: [ OK ] Starting anacron: [ OK ] Starting atd: [ OK ] Starting system message bus: [ OK ] Starting HAL daemon: [ OK ] printk: 446257 messages suppressed. 4gb seg fixup, process udevsend (pid 735), cs:ip 73:002eb5e5 printk: 574719 messages suppressed. 4gb seg fixup, process sendmail (pid 646), cs:ip 73:00382554 printk: 15 messages suppressed. Any suggestions? Thanks, Job
Adrian Chadd
2006-Nov-12 02:01 UTC
Re: [Fedora-xen] 4gb seg fixup messages during boot; xen guest not booting
On Sat, Nov 11, 2006, Job 317 wrote:> Hi list, > > I have seen this topic written about on a number of sites but none of > the suggested fixed have worked for me.You need to do one or more of this in the DomUs: * do the nosegneg stuff as you''ve siad; but it doesn''t work for me with Debian/Ubuntu guests for some reason (shrug, I haven''t looked into it that much) * Install Xen-friendly (ie, nosegneg) libc libraries * Make sure /lib/tls ain''t there. I''ve deleted /lib/tls and rebooted; its quietened down substantially. It''d be nice if the printk were disable''able somehow as it really does seem to stop things booting from time to time.. adrian
master@bradleyland.com
2006-Nov-12 05:06 UTC
Re: [Fedora-xen] 4gb seg fixup messages during boot; xen guest not booting
I''ve done all of that without success. Any other ideas? I''ve renamed /lib/tls to /lib/tls.disabled and echo ''hwcap 0 nosegneg'' > /etc/ld.so.conf.d/libc6-xen.conf Behavior is still the same, makes the console unusable. This is FC5 with all the latest updates.
Adrian Chadd
2006-Nov-12 05:17 UTC
Re: [Fedora-xen] 4gb seg fixup messages during boot; xen guest not booting
On Sat, Nov 11, 2006, master@bradleyland.com wrote:> I''ve done all of that without success. Any other ideas?Hm, are these programs all compiled statically? I get a few things complaining about seg fixups (mostly nash-hotplug from the ramdisk image) but the above fixed it for me. I moved it from /lib/tls to /tls.{12345etc} just in case. It shouldn''t pick up stuff in /lib/* but who knows.. I also have to redo it all from time to time whenever debian/ubuntu update the libc packages. It really would be nice if the printk was a run/boot time option, perhaps something quenchable via a boot parameter. Some of us want to run Xen with older, non-FC domU''s and this kind of stuff just breaks it. Adrian
master@bradleyland.com
2006-Nov-12 06:05 UTC
Re: [Fedora-xen] 4gb seg fixup messages during boot; xen guest not booting
Working now... The solution was to create a file: /etc/ld.so.conf.d/kernelcap-2.6.18-1.2200.fc5.conf and put "hwcap 0 nosegneg" in it. Nothing else worked. Been silent ever since. This was from a prior suggestion from Dan that I overlooked.
Adrian Chadd
2006-Nov-12 06:13 UTC
Re: [Fedora-xen] 4gb seg fixup messages during boot; xen guest not booting
On Sat, Nov 11, 2006, master@bradleyland.com wrote:> Working now... > > The solution was to create a file: > > /etc/ld.so.conf.d/kernelcap-2.6.18-1.2200.fc5.conf > > and put "hwcap 0 nosegneg" in it. > > Nothing else worked. Been silent ever since.Nice. Sorry, what was the domU platform again? Adrian