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

Bug 111044

Summary: have to eject and insert pcmcia prism54 card several times before it works
Product: Gentoo Linux Reporter: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Component: [OLD] Core systemAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My kernel config

Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-10-31 10:57:04 UTC
When I boot my laptop with my prism54 card inserted, it upload the firmware to 
the card, and it doesn't start.
I then have to remove and insert the card a few times before it sees it, and 
upload the firmware and start the card.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Celeron (Coppermine)
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X
11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.3.1/portage http://distfiles.gentoo.org"
LANG="en_DK.utf8"
LC_ALL="en_DK.utf8"
LINGUAS="da en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gurlinet.dk/gentoo-portage"
USE="x86 X alsa apache2 apm avi bitmap-fonts bzip2 cgi chroot cli crypt cups 
dlloader esd fam flac gd gif gnome gstreamer gtk gtk2 hardened idn imlib ipv6 
java jpeg libwww mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl 
nptlonly ogg oggvorbis opengl oss pam pcre pdflib pear perl pic png pnp python 
readline samba sdl session spell sqlite sse ssl svg tcpd threads tiff truetype 
truetype-fonts type1-fonts udev unicode userlocales vhosts vim vorbis wifi xml 
xml2 xmms xv zlib linguas_da linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

Here is what gets printed to dmesg after I remove the card after booting and 
inserting it again:

eth0: hot unplug detected
eth0: removing device
ACPI: PCI interrupt for device 0000:02:00.0 disabled
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [PILB] -> GSI 11 (level, low) -> 
IRQ 11
eth0: resetting device...
eth0: uploading firmware...
eth0: firmware version: 1.0.4.3
eth0: firmware upload complete
eth0: interface reset complete
eth0: prism54_set_txpower() auto power will be implemented later.
eth0: no IPv6 routers present
Comment 1 Henrik Brix Andersen 2005-10-31 11:44:08 UTC
Is you prism54 driver compiled as a module? or statically linked into the kernel?

What does the error message for the failed loading of the firmware say?

Please attach your kernel .config file.
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-10-31 12:40:07 UTC
It doesn't try to load the firmware until I have tried a few times.
It's like the system doesn't see the card before that.

The driver is compiled into the kernel (not as a module), and I'm using 
pcmciautils with coldplug. (btw. coldplug doesn't like when you don't have 
modules support enabled, but pcmciautils requires coldplug, so coldplug should 
be fixed so it doesn't complain if the modules isn't activated)

Here is my .config .
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-10-31 12:41:55 UTC
Created attachment 71816 [details]
My kernel config