Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304935 - x11-base/xorg-server 1.7.* on sparc using sunffb locks up at load time
Summary: x11-base/xorg-server 1.7.* on sparc using sunffb locks up at load time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-13 19:43 UTC by Brian Beardall
Modified: 2010-09-18 16:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg log (Xorg.0.log,4.99 KB, text/plain)
2010-02-13 19:43 UTC, Brian Beardall
Details
emerge update before breakage (emerge.log,8.99 KB, text/plain)
2010-02-13 19:49 UTC, Brian Beardall
Details
package keywords (package.keywords,1.02 KB, text/plain)
2010-02-13 19:51 UTC, Brian Beardall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beardall 2010-02-13 19:43:17 UTC
So I had xorg-server 1.7.4 working at one point and it just suddenly stopped working after a bunch of updates. One of the updates was xorg-server-1.7.4.901 but downgrading didn't fix the lock up. I've tested xorg-server-1.6.5-r1 and that version still works. Some help in debugging where X is getting stuck or what is broke in my software setup would be appreciated.
Comment 1 Brian Beardall 2010-02-13 19:43:48 UTC
Created attachment 219489 [details]
Xorg log
Comment 2 Brian Beardall 2010-02-13 19:49:30 UTC
Created attachment 219495 [details]
emerge update before breakage

The is the last update I did before X stopped working.
Comment 3 Brian Beardall 2010-02-13 19:51:35 UTC
Created attachment 219497 [details]
package keywords

The system is mostly keyworded stable except for having xorg-server keyworded as unstable and Firefox.
Comment 4 Brian Beardall 2010-02-13 19:52:32 UTC
Portage 2.2_rc62 (default/linux/sparc/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r5 sparc64)
=================================================================
System uname: Linux-2.6.32-gentoo-r5-sparc64-sun4u-with-gentoo-1.12.13
Timestamp of tree: Sat, 13 Feb 2010 00:00:02 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gcc64 gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session sparc spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 	suncg6 sunffb sunleo tdfx voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Brian Beardall 2010-02-13 20:35:38 UTC
It appears from strace that X is receiving a bus error.

ioctl(7, 0x5602, 0xffecb22a)            = 0
ioctl(7, 0x4b3a, 0x1)                   = 0
ioctl(7, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, 0x4b44, 0x1dbe88)              = 0
ioctl(7, 0x4b45, 0)                     = 0
ioctl(7, TCSBRK, {B0 -opost -isig -icanon -echo ...}) = 0
stat64("/sys/bus/pci/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/bus/pci/devices", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC|0x4) = 8
fcntl64(8, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(8, /* 9 entries */, 32768)     = 200
getdents(8, /* 0 entries */, 32768)     = 0
close(8)                                = 0
open("/sys/bus/pci/devices/0000:00:05.0/config", O_RDONLY) = 8
pread(8, Bus error
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2010-02-21 09:14:51 UTC
Sorry, this is way out of my league. Please file a bug upstream and paste the url here. I'll CC myself on the upstream bug and will backport patches if needed.

Thanks
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2010-04-24 17:14:00 UTC
FYI looks like this only happens on kernel 2.6.32, 2.6.33 works fine...
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2010-04-24 17:19:16 UTC
We'll take this...
Comment 9 Brian Beardall 2010-04-24 22:49:40 UTC
Yes 2.6.33 works just fine for the video init.
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2010-04-25 18:06:08 UTC
(In reply to comment #9)
> Yes 2.6.33 works just fine for the video init.
> 

Thanks for the report Brian :)
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2010-09-18 16:09:19 UTC
We have 2.6.34 stable now