deadlock on power reconnect
Hej,
(this is more a problem description than a question
and might be relevant mostly for pmud and pcmcia
maintainers)
I'm running debian stable using a 2.2.19 kernel using
the pcmcia-cs 3.1.22-0.2potato (should be most recent)
on a powerbook 2400c, pmud 0.7-3, and a PCMCIA
ne2000 clone (abocom fe1000) (10/100 mbit)
when disconnecting the power coord, the pb notices,
goes to powersave mode (pmud is fine, there), and
the ethernet is disabled (guess that is fine, according
to /etc/power/pwrctl). so far, no problem.
however, when just reconnecting the power cord, the
system hangs dead. (both X and console, w/o messages,
just plain deadlock).
doing
1 /etc/init.d/pcmcia stop
2 reconnect power
3 /etc/init.d/pcmcia start
works fine, then.
Possible solutions:
a) modify /etc/power/pwrctl to shutdown and re-init
pcmcia services when going in/from low-energy mode
(but only being a workaround)
b) upgrade to most recent kernel and pcmcia services
(well... I actually have a (mostly) working system)
I don't know if this has happened also to other people
having a pb2400 or pb3400 - if yes, it might be a good
idea(tm) to add the pcmcia stop/start commands to pwrctl.
bye
Philipp Kaeser / furball@space.ch
Reply to: