On Sat, 26 Oct 2002, Conny Enström wrote:

> 
> ----- Original Message -----
> From: "Steven J. Yellin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, October 26, 2002 12:22 AM
> Subject: Re: shutdown order?
> 
> 
> > On Fri, 25 Oct 2002, Conny Enström wrote:
> >
> > > No it was a clean RH 7.1 install with upgrades.
> > > The 'serviceconfig' just show runlevel 3-5, and I want to edit runlevel
> 0.
> > > The problem is that when it try to shut down PCMCIA it hangs, even if I
> do
> > > it manually.
> > > I shutdown the network first and the pcmcia and it hangs.
> > > I'm tired to see the filecheck everytime I start the laptop.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Taylor, ForrestX" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, October 25, 2002 10:32 PM
> > > Subject: Re: shutdown order?
> > >
> > >
> > > > Conny Enström wrote:
> > > > > I think it was 'SysvEdit' or something like that.
> > > >
> > > > I could only see ksysv, ntsysv and something in linuxconf.  Are you
> > > > certain that you didn't download it from somewhere else?
> > > >
> > > >
> > > > Forrest
> > > > --
> >     Why not simply take Forrest's advice?  If you need more details:
> 
> I tried all the commands but I did not get any clever.
> 
> >
> > Method a) In /etc/rc.d/rc0.d files with names like K90network and
> > K96pcmcia indicate that network is stopped before pcmcia because
> > 90 is less than 96.  To make pcmcia shut down earlier, change "96"
> > to some number below 90.  For example, "mv K96pcmcia K88pcmcia".
> > Similarly in rc1.d and rc6.d.
> 
> I tried that before when I was running RH 7.1, I installed RH 8.0 to get rid
> of the problem
> but its still the same.
> The pcmcia was stopped correctly the first shut down after the new
> installation only.
> But the network must allways be stopped before pcmcia right?!

    I don't know.  The people who designed /etc/rc.d/init.d/pcmcia and
network seem to believe that.  But I thought you were claiming the default
order caused you problems, so you wanted to change it.

> Otherwise I just got to shut down pcmcia cause there is where the eth0 card
> is present.
> 
> >
> > Method b) In /etc/rc.d/init.d/pcmcia is a line
> >
> > # chkconfig: 2345 45 96
> >
> 
> Should I uncomment that line?
> 
    No.  And I made mistakes in what I told you.  So here is a simpler,
more accurate version of Method b (see the chkconfig man page):
    Edit the "# chkconfig: 2345 45 96" line to replace "96" with whatever
else you think will prevent your machine from hanging, then do "chkconfig
pcmcia reset".  This should change the <xx> in the names of the
K<xx>pcmcia files from 96 to their new values in levels 0, 1 and 6.

> > So first do "chkconfig pcmcia off", then edit that line to replace "96"
> > with whatever else you think will prevent your machine from hanging, then
> > do "chkconfig pcmcia on".  I haven't tried this, but I assume it will
> > recreate the K*pcmcia file with the number you specify, and will do it
> > for levels 0, 1, and 6 because "2345" means pcmcia is turned on, not off,
> > in the other levels: 2, 3, 4, and 5.
> >
> 
> I will se if its working, I'm pretty new to this.
> 
> >    By the way, if you upgrade to RH7.2 or higher you can turn on
> > journaling with "tune2fs -j ..." to make the file checking very fast.
> >
> I run RH 8.0 right now, but probably is the same.
> Thanks for all the help.
> 

-- 
Steven Yellin




_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to