Hardware: * G4 PowerBook 1.25Ghz * Prism54 PCMCIA card in slot (using prism54 package driver or one stock in 2.6.6) System: * Gentoo 2004.2 * ~ppc pcmcia-cs * hotplug or ~ppc hotplug * 2.6.5-gentoo-r1 * stock 2.6.6 kernel When inserting or removing the prism card one of three things happen: kernel panic, kernel oops or huge dump in /var/log/messages stating that it could not clean up the error and the machine must be rebooted. If system is still operational after errors it becomes very unstable. If, for some random chance it works correctly, the prism card will only work for about 300seconds at a time. It appears the card is then reset and operation continues for another interval. This happens with any combination of hotplug and pcmcia. It seems to be an issues where PCMCIA is still doing operations on the card when hotplug is updating the firmware. Please pardon the lack of output for it usually brings my laptop down when an error occurs. I am happy to get any further details needed. Reproducible: Always Steps to Reproduce: 1. Start laptop without the prism54 card. 2. /etc/init.d/pcmcia start 3. /etc/init.d/hotplug start 4. insert prism54 card 5. watch as laptop dies Actual Results: One of these three things happens: 1. kernel panic 2. kernel oops 3. huge dump in /var/log/messages stating that it could not clean up the error and the machine must be rebooted. Expected Results: PCMCIA and hotplug to do operations without stepping on each others feet. No panic or error message. I am unable to get this information right now. Will insert later today.
I need the traces an emerge info and the kernel .config
Created attachment 32999 [details] .config for 2.6.6 stock kernel
emerge info: ------------ Portage 2.0.50-r8 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6) ================================================================= System uname: 2.6.6 ppc 0 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="" ARCH="ppc" AUTOCLEAN="yes" AUTO_SYMLINK="no" BASH_ENV="/etc/portage/bashrc" CC="gcc" CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CLASSPATH="/opt/ibm-jre-bin-1.4.1/lib/xml.jar:/opt/ibm-jre-bin-1.4.1/lib/security.jar:/opt/ibm-jre-bin-1.4.1/lib/server.jar:/opt/ibm-jre-bin-1.4.1/lib/graphics.jar:/opt/ibm-jre-bin-1.4.1/lib/core.jar:/opt/ibm-jre-bin-1.4.1/lib/charsets.jar:." CLEAN_DELAY="5" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe -fomit-frame-pointer" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" FEATURES="ccache" FETCHCOMMAND="/usr/bin/proz --no-getch ${URI} -P ${DISTDIR}" GDK_USE_XFT="1" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" G_BROKEN_FILENAMES="1" HOME="/root" HOSTNAME="gaia" INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" JAVA_HOME="/opt/ibm-jre-bin-1.4.1" JRE_HOME="/opt/ibm-jre-bin-1.4.1" KBUILD_OUTPUT_PREFIX="" LESS="-R" LESSOPEN="|lesspipe.sh %s" LINUX_PORTAGE_WRITABLE="no" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.3/man:/usr/X11R6/man:/usr/qt/3/doc/man" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/powerpc-unknown-linux-gnu/gcc-bin/3.3:/opt/ati/bin:/usr/X11R6/bin:/opt/ibm-jre-bin-1.4.1/bin:/usr/qt/3/bin" PKGDIR="/usr/portage/packages" PLATFORM="powerpc-unknown-linux-gnu" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="10158" PORTAGE_NICENESS="10" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/root" PYTHONDOCS="/usr/share/doc/python-docs-2.3.3/html" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="1" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" TERM="xterm" USE="4linux X aac aalib aavm accessibility accounting activefilter aim aliaschain alsa altivec async beep berkdb blas bluetooth bonobo bsh cddb cdf cdr chroot crypt cups curl devfs devfs26 dga diet directfb distcache divx4linux doc dvd dvdr escreen ethereal etwin evo fbcon fbdev fdftk ffmpeg fftw flac flood foomaticdb foreign-sysvinit fs fullrpc gb gdbm gif gimp glgd gmttria gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml imlib irmc jabber java jpeg junit lcd libwww lynxkeymap mad make-busybox-symlinks mitshm motif mozdomi mozilla moznoxft mpeg mpeg4 ncurses nls noaudio nocd nomac noreiserfs oav offensive oggvorbis opengl optional-tasks oro oss pam pcmcia perl png pnp ppc pthreads python qt quicktime readline regexp rhino samba sdl serial slang snmp speedo speex spell ssl stencil-buffer svg tcpd threads tiff transcode truetype trusted type1 usb vda vhosts video_cards_radeon videos vim-with-x wifi xerces xine xml xml2 xmms xosd xrandr xv xvid zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" VIDEO_CARDS="radeon" XARGS="xargs -r" XAUTHORITY="/home/tweiand/.Xauthority" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
Created attachment 33001 [details] /var/log/messages of laptop messing up.
Anything else I can provide to help?
I was just working on my laptop without the prism54 card inserted. On shutdown I was given an Oops (I think after hotplug was stopped).
Update: part of the issue was the bluetooth kernel modules. If I do not load them my machine is much more stable. But, I am still using hotplug (and not pcmcia). Steps to verify that this is just a kernel issue?
build with the faulty module, build w/out test enough time if you can reproduce with or w/out the problematic module, then report back and to the bugzilla at kernel.org
Well, this has turned out to be a cluster bomb of a bug. What I did to get my laptop stable is: -------------------------------------- * Switch to ReiserFS (Probably not relavent) * Only use hotplug (no more PCMCIA) * Install the latest CVS of the prism54 drivers (prism54.org) * uninstall all the bluetooth modules * use the 2.6.6 stock kernel from kernel.org Marking as resolved. Hopefully this documentation will help others in the future.
thanks for your time