Re: system hangs after "cardctl eject"
Steven Scholz <[email protected]> Wed, 05 Feb 2003 18:03:37 +0100
| Newsgroups | gmane.linux.pcmcia.devel |
|---|---|
| Message-ID | <[email protected]> |
David Hinds schrieb:
> On Wed, Feb 05, 2003 at 04:38:13PM +0100, Steven Scholz wrote:
>
>>inserting and using a "Lucent Technologies WaveLAN/IEEE Adapter"
>>works fine on my system.
>>
>>But when I do a "cardctl eject" the system hangs after printing these lines
>>
>>~ # cardctl eject
>>cardmgr[43]: executing: './network check eth1'
>>cardmgr[43]: shutting down socket 0
>>cardmgr[43]: executing: './network stop eth1'
>>cardmgr[43]: + /sbin/ifconfig eth1 down
>
>
> Are you sure it is a complete hang? Do all applications stop running?
> Is there any chance that some important system service is relying on a
> running network?
Well, I have one application running that updates the current time on a display
via a serial port every second. That hangs.
I have a kernel driver for a status led. That is blinking along until I do
"cardctl eject", then it stops and blinks again after pulling out the card...
No response on serial console and no response on network.
So I would call it "a complete hang"!
~ # ps x
PID Uid VmSize Stat Command
1 root 752 S init
2 root SW [keventd]
3 root SWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
9 root SW [mtdblockd]
10 root SWN [jffs2_gcd_mtd0]
43 root 808 S /sbin/cardmgr -v -f
47 root 964 S -sh
48 root 652 S /sbin/inetd -i
56 root 644 S /opt/imc/display
335 root 808 R ps x
I can't imagine a process "relying on a running network". Anyway eth0 is still
the main interface.
> How about if you just do 'ifconfig eth1 down' yourself, rather than
> doing the 'cardctl eject'?
Does not help. Still the same.
But I just realized that "shutting down socket 0" is printed twice!?
Is that some indication?
> It might be worth reporting to the maintainer of the orinoco_cs
> driver. Of course, any such bug report should also include crucial
> information like, what brand and model of laptop this is, what
> distribution you're using, what kernel version, what version of the
> pcmcia-cs drivers, and the startup messages from the PCMCIA drivers.
> But you were about to provide that information anyway, right? ;)
Of course I was ! ;-)
Embedded PowerPC MPC855T with linux 2.4.20 and "Linux Kernel Card Services
3.1.22" using "m8xx_pcmcia: Version 0.05, 14-Apr-2002"...
So what do you think about the two "cardmgr[43]: shutting down socket 0"???
Steven
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com