Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] xen boot errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
calubro
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2005
Posts: 112
Location: vienna

PostPosted: Mon May 07, 2007 6:48 pm    Post subject: [solved] xen boot errors Reply with quote

aloa again,

at my gentoo gouest i get the follwoing errors at boot:

Code:
  ***************************************************************
  ***************************************************************
  ** 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)                           **
  ***************************************************************
  ***************************************************************

Continuing...

8250: Unknown symbol uart_get_baud_rate
8250: Unknown symbol uart_resume_port
8250: Unknown symbol uart_register_driver
8250: Unknown symbol uart_suspend_port
8250: Unknown symbol uart_remove_one_port
8250: Unknown symbol uart_update_timeout
8250: Unknown symbol uart_unregister_driver
8250: Unknown symbol uart_get_divisor
8250: Unknown symbol uart_match_port
8250: Unknown symbol uart_add_one_port
8250: Unknown symbol uart_write_wakeup
modprobe: FATAL: Error inserting 8250 (/lib/modules/2.6.16.28-xen/kernel/drivers/serial/8250.ko): Unknown symbol in module, or unknown parameter (see dmesg)


1. the warning,
like said, i did mv /lib/tls /lib/tls.disabled. and i also added "nptl -nptlonly" to the use flags like said at: https://forums.gentoo.org/viewtopic-t-344571-highlight-xm.html
then i did a emerge update --deep --newuse world
but i still get the warning at the boot.

2. 8250: Unknown symbol uart_* and modprobe: FATAL: Error
what can i do to fix this?


the system is booting and works like it should ... i think ... :roll:

thx, greets cal
_________________
«calubro is the sound of the future.»


Last edited by calubro on Sat May 12, 2007 12:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
TheAl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2004
Posts: 134

PostPosted: Wed May 09, 2007 1:05 pm    Post subject: Re: xen boot errors Reply with quote

calubro wrote:
aloa again,


1. the warning,
like said, i did mv /lib/tls /lib/tls.disabled. and i also added "nptl -nptlonly" to the use flags like said at: https://forums.gentoo.org/viewtopic-t-344571-highlight-xm.html
then i did a emerge update --deep --newuse world
but i still get the warning at the boot.
l


Take a look here : http://gentoo-wiki.com/Xen

Quote:
Edit your /etc/make.conf and add '-mno-tls-direct-seg-refs' to your CFLAGS. This is similar to the Xen instructions to "mv /usr/lib/tls /usr/lib/tls.disabled", but instead removes the trapped (slow) opcodes for every binary, not just glibc. If using the -Os flag (with any <gcc-4), change it to -O2, as the compiler is known to produce broken code otherwise.
Note: The '-mno-tls-direct-seg-refs' flag does not make sense on any 64bit system. For such systems you can skip the recompilation of the whole world and just recompile glibc


So just change your CFLAGS and you should be ok.

calubro wrote:
2. 8250: Unknown symbol uart_* and modprobe: FATAL: Error
what can i do to fix this?


Again, follow the wiki and make sure :
* you compiled serial support in or module
* you didnt activate "Disable serial" in xen kernel configuration part.
Back to top
View user's profile Send private message
calubro
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2005
Posts: 112
Location: vienna

PostPosted: Sat May 12, 2007 12:57 pm    Post subject: Reply with quote

thx, solved my problems :)
_________________
«calubro is the sound of the future.»
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Jun 08, 2010 7:50 am    Post subject: Reply with quote

I there! I had the same problem for the dom0 kernel and I found this thread.
I get the following errors at the end of the compilation of the xen-sources-2.6.32-r1:
Code:
  LD      vmlinux
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 186 modules
  OBJCOPY arch/x86/boot/vmlinux-stripped
  GZIP    arch/x86/boot/vmlinuz
ERROR: "uart_write_wakeup" [drivers/serial/8250.ko] undefined!
ERROR: "uart_add_one_port" [drivers/serial/8250.ko] undefined!
ERROR: "uart_match_port" [drivers/serial/8250.ko] undefined!
ERROR: "uart_get_divisor" [drivers/serial/8250.ko] undefined!
ERROR: "uart_unregister_driver" [drivers/serial/8250.ko] undefined!
ERROR: "uart_update_timeout" [drivers/serial/8250.ko] undefined!
ERROR: "uart_remove_one_port" [drivers/serial/8250.ko] undefined!
ERROR: "uart_suspend_port" [drivers/serial/8250.ko] undefined!
ERROR: "uart_register_driver" [drivers/serial/8250.ko] undefined!
ERROR: "uart_resume_port" [drivers/serial/8250.ko] undefined!
ERROR: "uart_get_baud_rate" [drivers/serial/8250.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
Kernel: arch/x86/boot/vmlinuz is ready  (#2)


It seems the image has been created but the errors above don't like me.

What's the problem?
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
calubro
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2005
Posts: 112
Location: vienna

PostPosted: Tue Jun 08, 2010 8:07 am    Post subject: Reply with quote

long time ago ;) ...

i'm not sure but i think changing useflags and editing kernel compile options as written above did the trick. this are the useflags of a working xen-domU:

Code:

CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

_________________
«calubro is the sound of the future.»
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Jun 08, 2010 8:17 am    Post subject: Reply with quote

Hi, thank you for the reply.
That CFLAGS are for portage, not for the kernel.
Anyway, I have this problem in the dom0 kernel! It never happened to me.
I think it's a bug.

TheAl said:
Quote:
Again, follow the wiki and make sure :
* you compiled serial support in or module
* you didnt activate "Disable serial" in xen kernel configuration part.

Serial support is compiled and "Disable serial" is enabled actually, but it is enabled in a previous version too, and it doesn't complain.

Actually, deactivating the "Disable serial" all goes fine.
O_O

I don't really know if it was necessary to me.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
calubro
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2005
Posts: 112
Location: vienna

PostPosted: Tue Jun 08, 2010 2:09 pm    Post subject: Reply with quote

i wrote useflag and thought cflag ;(

i don't know much about dom0 setup because i always used gentoo as domU and Fedora dom0 ...
_________________
«calubro is the sound of the future.»
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Jun 08, 2010 2:12 pm    Post subject: Reply with quote

Don't worry about it. In any case I solved the problem. Thank you! ;)
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum