Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 260557

Summary: sys-apps/hal-0.5.11-r8 USE="laptop" / x11-base/xorg-1.5.3: X crashes on startup
Product: Gentoo Linux Reporter: Rajmund Klonowski <r.klonowski>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rajmund Klonowski 2009-02-27 21:44:12 UTC
After compiling HAL with USE="laptop", and using the xorg-1.5.3 (as from stabilisation request in #251832), after reboot the X won't start, instead cluttering the console with quite cryptic output (covering basically everything - beginning with tainted kernel (i use fglrx), and ending in kernel preemption model and such (SMP preemption is being used)), and then crashing computer.

Reproducible: Didn't try

Steps to Reproduce:
1. add USE="laptop" to /etc/make.conf
2. emerge -uDNva world
3. reboot

Actual Results:  
As in description

Expected Results:  
System working and X loading

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-rc9 i686)
=================================================================
System uname: Linux-2.6.27-rc9-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Thu, 26 Feb 2009 19:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/dev-zero"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X X509 a52 aac aalib abook acl acpi activefilter adns aim alsa amd aotuv apache2 ares asf async atm audiofile automount avahi avi background bash-completion beagle berkdb bigpatch binary-drivers bittorrent bl bluetooth bonjour bonobo bootsplash branding bzip2 cacheemu cairo calendar caps capslib carbone_theme cdparanoia cdr cdrom cg chm chroot cle266 clock-screen command-args cpudetection cpulimit cracklib crosscompile crypt css ctype cups curl curlwrappers dar32 dbus debugger dhcp djvu dmx dnd dpms dri dts dv dvbplayer dvd dvdr dvdread dx edl effects elf emacs emacs-w3 emboss emoticon encode esd ethereal evo evolution exif exiscan exiscan-acl exo expat extensions faillog fam fat fbcon fbsplash fdftk ffmpeg firefox flac flash flatfile flood fltk fmod follow-xff font-server fontconfig foomaticdb force-cgi-redirect fortran fpx freetext freetts ftp gadu gaim gatos gcc-libffi gcj gd gdbm gecko-sdk geoip gg ggi gif gimp gimpprint glibc-omitfp glitz glut gmail gmailtimestamps gmp gnome gnome-print gnomecanvas gnustep gphoto2 gpm grammar graphicsmagick gs gsnd gssapi gstreamer gtalk gtk gtk2 gtkhtml gtkspell guile gzip h323 hal hardened hfs hpn html httpd icc iconv icq icu id3 idn ieee1394 ifp imagemagick imap imlib immqt-bc inifile inkjar inline inntaggedhash ipalias ipcs ipfilter ipv6 irc isdnlog java javascript jboss jce jcs jfs jit jpeg jpeg2k jrtplib jumpplay justify kqemu lame lash lcd lcms ldap ldapsam libg++ libgda libwww live loop-aes mad maildir matroska memlimit menubar mhash midi mikmod mjpeg mmxext mng mod mono motif mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpd-mad mpe mpe-sdk mpeg mpeg2 mppe-mppc msn mudflap musepack mythtv nautilus ncurses netboot nfs nls no-old-linux noplugin nptl nptlonly nsplugin nvtv obex objc objc++ objc-gc offensive ogg openal opengl openmp openssh openssl pam pcre pdflib perl player png posix pppd python qt4 quicktime readline recode reflection reiser4 reiserfs remote rotor samba sblive sdl session setup-plugin sftplogging silc simplexml slang sndfile snmp soap sockets socks5 speex spell spl spreadsheet sse sse-filters sse2 ssl startup-notification stats stencil-buffer stlport svg svgz swat sysfs tcltk tcpd tcpmd5 tga theora thesaurus threads tiff tlen tokenizer toolbar transcode truetype truetype-fonts type1-fonts udev unicode unzip upnp usb v4l2 vcd vcdimager vhosts vim-with-x vlm vorbis webservices win32codecs wma wmf wordperfect wv wxgtk1 wxwindows x264 x86 xanim xfs xml xml2 xmlrpc xorg xpm xsl xulrunner xv xvid xvmc yaepg yahoo zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 22:25:25 UTC
Please let us add blocker bugs. I would say this bug has nothing to do with X.

Thanks
Comment 2 Rafał Mużyło 2009-02-27 23:02:28 UTC
Please, start with explaining what does "crashing computer" mean in this context:
- crashing/exiting xserver
- kernel panic
- something else ?
Comment 3 Rajmund Klonowski 2009-02-27 23:25:06 UTC
(In reply to comment #2)
> Please, start with explaining what does "crashing computer" mean in this
> context:
> - crashing/exiting xserver
> - kernel panic
> - something else ?
> 

Well, from the output (sadly, I have no idea how to paste it, since computer just hangs up), I could deduce, that X server crashed, even before letting me log in to shell, although for a few seconds, I was able to switch between TTY's (ALT+F1, F2 and so on), before computer hangs up and hard reset is required. Although I am not sure, the output might have said something about kernel panic. I'll try to look into logs, if I have any, maybe I'll be able to find the output I mentioned.

Remi: sorry, I didn't mean to be rude or something - I just thought those might be connected. 
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-28 11:28:44 UTC
(In reply to comment #3)
> Well, from the output (sadly, I have no idea how to paste it, since computer
> just hangs up)

So you get a nice static image on screen that you could easily copy manually?

Please attach the relevant /var/log/Xorg.?.log. dmesg output from right before the crash could be useful. Switching to the open source driver and retrying could be useful (fglrx brings its very own hamper of trouble to the picnic - avoid it if possible).

Then perhaps reopen this bug report. When you do, please explain why you mention sys-apps/hal USE=laptop in the Summary - does USE=-laptop work around the issue for you?
Comment 5 Rajmund Klonowski 2009-02-28 12:24:20 UTC
> So you get a nice static image on screen that you could easily copy manually?

No, I don't. The otput is several pages big (and it's text in the console, not an image), and I can see only a part of it. And as it hangs up my computer, I CANNOT just copy it. If you have any ideas how to do it, though, I'd be glad to give them a try. And no, turning on another computer and rewriting everything from the first one's screens is certainly not an option.

> Please attach the relevant /var/log/Xorg.?.log. dmesg output from right before
> the crash could be useful. Switching to the open source driver and retrying
> could be useful (fglrx brings its very own hamper of trouble to the picnic -
> avoid it if possible).

Will try to reproduce it. And switching to open-source driver is not an option for me, sadly. 

> does USE=-laptop work around
> the issue for you?

As in bugs description. Yes. My system normally is USE="-laptop", and only when I did recompile it with +laptop all this nonsense happened.