LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2007, 05:07 PM   #1
sysslack_linux
LQ Newbie
 
Registered: Oct 2007
Location: Sweden
Distribution: I favor Slackware, CentOS and Debian
Posts: 25

Rep: Reputation: Disabled
Lightbulb can't reboot xen in slackware 12 after compiling glibc


#This is my menu.lst:

title Xen
root (hd0,1)
kernel /boot/xen-3.0-unstable.gz dom0_mem=262144
module /boot/vmlinuz-2.6.16.29-xen root=/dev/hda11
module /boot/xen.gz


#and I have copied xen.gz and xen-3.0-unstable.gz to /hda2/boot



#This message I got at reboot (xenproblem or slackware 12-problem?)

***************************************************************
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls glibc libraries. The emulation is **
** slow. To ensure full performance you should **
** install a 'xen-friendly' (nosegneg) version of **
** the library, or disable tls support by executing **
** the following as root: **
** mv /lib/tls /lib/tls.disabled **
** Offending process: init (pid=1) **
***************************************************************
#Followed sugggestions below from the link

http://www.pervasive.jku.at/About_Us...irtualization/




#edit glibc.Slackbuild

# old
# CFLAGS="-g $OPTIMIZ" \
# new
CFLAGS="-g $OPTIMIZ -mno-tls-direct-seg-refs" \

#compiled glibc
./glibc.SlackBuild
installpkg glibc-2.5-i486-4.tgz
reboot

#Still same message:

#Then I did like this:

mkinitrd ? 2.6.16.29-xen -m jbd:ext3 -s /boot/xen-tree -o /boot/xen.gz

#...got this message

NO /sbin/init found on rootdev
kernel panic

#Any suggestions would be deeply apprecitated!

Last edited by sysslack_linux; 10-01-2007 at 05:09 PM.
 
Old 10-03-2007, 04:18 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Does the directory /boot/xen-tree exist? Your initrd is apparently faulty.
If you recompile glibc then you'll probably need to re-compile your whole system in order for the binaries to run.
 
Old 10-05-2007, 05:10 PM   #3
sysslack_linux
LQ Newbie
 
Registered: Oct 2007
Location: Sweden
Distribution: I favor Slackware, CentOS and Debian
Posts: 25

Original Poster
Rep: Reputation: Disabled
thank you for your reply
maybe I should compile glibc back then just by installing the original pkgtool packet glibc-2.5-i486-4.tgz?
Yes the tree does exist.
I have solved part of the problem.

mkinitrd -c -k 2.6.16.29-xen -m jbd:ext3:ide-cd:ide-disk:ide-generic:libata:jfs -o /boot/xend.gz -s
/boot/xend-tree

Still get the same message, but it loads zen after a pause in 5 countdown seconds.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
Compiling Xen 3.0.2 codedv Linux - Software 0 04-28-2006 02:44 AM
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM
Compiling glibc Scerj Programming 1 06-27-2001 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration