Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18562 - Problems with PCMCIA/NIC. 10base2 / /etc/pcmcia/network.opts / double-shutdown and network fs problems.
Summary: Problems with PCMCIA/NIC. 10base2 / /etc/pcmcia/network.opts / double-shutdo...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 68964
  Show dependency tree
 
Reported: 2003-03-31 17:44 UTC by lewiz
Modified: 2005-05-21 14:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lewiz 2003-03-31 17:44:37 UTC
1) Different types of media fail to work properly (at least for a 3c589D using 10base2).  This is related to (2).  My solution was to add ifport ${IFACE} 10base2 to /etc/init.d/net.eth0.  This then works.

2) The file /etc/pcmcia/network.opts appears to be unsourced.  This could potentially resolve the issue in (1), as it provides a mechanism for invoking ifport.  However, I believe it would be better to modify the existing /etc/init.d/net.ethn in some way so that ifport is invoked from there.

3) When using a PCMCIA NIC the system attempts to bring the if down twice.  First time as a regular if and second time as cardmgr brings the if down.  Since cardmgr invokes /etc/init.d/net.ethn from /etc/pcmcia/network it seems a good idead to have cardmgr handle the shutdown.  Either way, an error is thrown on the second attempt.  cardmgr successfully modprobe -r's the module, however.

4) The mounting of network filesystems does not seem to consider PCMCIA ifs.  For some reason network fss are mounted _before_ PCMCIA is loaded (could this just be to do with the order of init?)  This is certainly important for me, as hangs occur when trying to mount NFS fss when the if is down.

Reproducible: Always
Steps to Reproduce:
1. Configure a PCMCIA device from stage3.
2. emerge sys-apps/pcmcia-cs (do not include PCMCIA in kernel)
3. Occurs every bootup / shutdown



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 Mobile Pentium II
GENTOO_MIRRORS="http://mirrors.twobit.net/gentoo/ http://gentoo.oregonstate.edu/
"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm gtk imlib java jpeg kd
e gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib
png qt quicktime sdl spell svga truetype X xml2 xmms xv zlib gdbm berkdb slang r
eadline tcpd pam ssl perl python"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -pipe"
CXXFLAGS="-O3 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Henrik Brix Andersen 2004-10-21 09:32:16 UTC
2) is covered in bug #1990
Comment 2 Henrik Brix Andersen 2005-04-25 05:16:08 UTC
Reporter, please check if sys-apps/pcmcia-3.2.8 fixes this issue.
Comment 3 Henrik Brix Andersen 2005-05-21 14:19:11 UTC
Closing due to lack of feedback.