Re: pcmcia startup order: was Re: /etc/network/interfaces

2001-04-23 Thread Stephen E. Hargrove
On Fri, 20 Apr 2001, The Nose Who Knows wrote:

> Eric Richardson wrote:
> > Is this a problem that needs to be looked at for the distribution? It
> > sure makes the out of box experience with Debian a little rough.
>
> I've recently started using two laptops (one belongs to work, one is
> mine) with Debian "testing"; I can confirm that the pcmcia start order
> is a problem on both.


i was able to correct the timing problem by moving the pcmcia startup in
/etc/rcS.d to S39pcmcia and networking to S60networking.  this seems to
give the pcmcia package enough time to complete prior to the network
script executes.  i originally had S40pcmcia, and that didn't work.
-- 
steve
*
linux : http://exitwound.org
mozart: http://mozart.sourceforge.net
buck  : http://www.BuckOwensFan.com
*





Re: pcmcia startup order: was Re: /etc/network/interfaces

2001-04-20 Thread Eric Richardson
The Nose Who Knows wrote:
> 
> Eric Richardson wrote:
> > More than one person is having problems with the startup sequence with
> > pcmcia. Is this a problem with the distribution? I searched open and
> > closed bugs for [EMAIL PROTECTED] and could not find anything reported
> > about this.
> >
> > Is this a problem that needs to be looked at for the distribution? It
> > sure makes the out of box experience with Debian a little rough.
> 
> I've recently started using two laptops (one belongs to work, one is
> mine) with Debian "testing"; I can confirm that the pcmcia start order
> is a problem on both.
> 
> I haven't been able to properly diagnose it, but the start-up messages
> show things happening in apparently the correct order: pcmcia services
> start successfully, interface configuration occurs, then networking is
> enabled.
> 
> However, on logging into the system, eth0 has become unconfigured again
> -- although the card itself is still happily running.  I inevitably have
> to do "ifdown eth0 ; ifup eth0"  after logging in, every time I boot.
> After doing this, it all works beautifully.

I took a look and it seems that
/etc/init.d/networking gets called before /etc/init.d/pcmcia. 
 
/etc/rcS.d.
S35mountall.sh
S39dns-clean
S40hostname.sh
S40networking
S40pump
 
In /etc/rc0.d
S35networking

In /etc/rc1.d
S20single

In /etc/rc2.d
S11pcmcia
S14ppp
S20inetd
S50netatalk

Netatalk fails for me but pump must keep working as eventually eth0
comes up
but usually after the boot is complete and I have GDM running. I'd like
to see this fixed. I can hack the startup file order but it seems that
most laptops use cardbus networking and the pcmcia should start before
networking.

I don't know if this is helpful. I also posted on debian-laptop but
nobody has responded. They said the package maintainer is Dave Hinds.

Eric



Re: pcmcia startup order: was Re: /etc/network/interfaces

2001-04-20 Thread Osamu Aoki
On Fri, Apr 20, 2001 at 04:42:30PM +1000, The Nose Who Knows wrote:
> Eric Richardson wrote:
> > More than one person is having problems with the startup sequence with
> > pcmcia. Is this a problem with the distribution? I searched open and
> > closed bugs for [EMAIL PROTECTED] and could not find anything reported
> > about this.

I had problem with Redhat 6.2 and Debian 2.2 for my Toshiba ultrathin PC
(Dynabook SS portage 33??).  In my case gpm and pcmcia was issue.

http://www.aokiconsulting.com/pc/dynabook_e.html

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  For my debian quick-reference, peek into:  +
+   http://www.aokiconsulting.com/quick/  +