cancel
Showing results for 
Search instead for 
Did you mean: 

can't shut down properly

chin hui
Occasional Advisor

can't shut down properly

Hi,
I've got a presario 2543AP. I've installed redhat linux 9 on it. The problem is that I couldn't shutdown properly. Everytime i try to shutdown, the system hangs on this line stating "stopping pcmcia". I would like to know a way to overcome this. Thank You
7 REPLIES
Steven E. Protter
Exalted Contributor

Re: can't shut down properly

Shutdown works out of soft links in /etc/rc#.d

replace the # with numbers 1-5 for the various run levels.

startup links start with S
stop scripts staart with K

do a ls -la for the one you think is pcmcia

The stop script is actually in /etc/init.d

While not shutting down the system run the shutdonw script.

if its pcmcia the run it like this.

/etc/init.d/pcmcia stop

Take a look at what the output if any is, give it some time.

The bottom line is of the Presario doesn't have any pcmcia devices(I think) you don't need to shut down the devices.

If you have no devices to of that type shut down, then go back to the startup and stop soft links and rename them. Change the Capital S or K to a lower calse s or k respectively, and your system should shut down.

If you have such devices then you probably have a malfunctioning device or driver and should consider removing the device from your system.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bruce Copeland
Trusted Contributor

Re: can't shut down properly

A lot of Compaq and HP notebooks (particularly those with Athlon processors) have problems starting and/or stopping pcmcia under Linux. If you're running RH 9 with the gnome/X gui, you can simply go to the menu option Server Settings/Services and uncheck the pcmcia checkbox in the Service Configuration window. It's a good idea to do this for all three runlevels (3, 4, and 5).

Bruce
chin hui
Occasional Advisor

Re: can't shut down properly

this model does come with a pcmcia card slot. i pass a -x argument to the pcmcia startup script and gathered that the system hangs when the script runs /usr/sbin/updfstab
I've disabled the service temporarily, hoping to find a solution to it.

I can't get my USB 2.0 slots to get going as well. Everything boots up fine but once i plug in a USB thumbdrive, the system would hang as well. I've tried that with other USB devices as well and the outcome is pretty much the same. Any solutions?
Steven E. Protter
Exalted Contributor

Re: can't shut down properly

Just because it has a pcmcia slot doesn't mean it needs to run the daemon.

Have you tried the advice I gave you about stopping the daemon? Even if you are using such a device, its an important diagnostic step toward learning what the real problem is.

As a new member, please read this link.
http://66.34.90.71/ITRCForumsEtiquette/

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
chin hui
Occasional Advisor

Re: can't shut down properly

hmm.. i thought i've said that i've passed a '-x' argument to the script in such that i can see the output of the script when i start/stop it? The problem is as i have said, the system hangs when the pcmcia script runs /usr/sbin/updfstab.
Stuart Browne
Honored Contributor

Re: can't shut down properly

Same for your USB? hrm, odd.

What storage devices do you have attached to your system (internal, externa, USB, 'other')?

What does your /etc/fstab have in it?

Can you run /usr/sbin/updfstab on it's own ?

You might be able to get away with commenting that line out of the PCMCIA startup/shutdown routine, assuming it's not actually doing anything.

There have been reports of USB detection issues with the RH9 version of the kudzu package (which updfstab is part of), so this might be the cause. You might want to look through bugzilla.redhat.com for the 8 listed 'reports'.
One long-haired git at your service...
chin hui
Occasional Advisor

Re: can't shut down properly

it's been some time since I posted this question. I think I should contribute back to this forum. After some searches and fiddling around, the problem seems to come from redhat's kernel itself. I've updated the kernel and rebuild it with ACPI. It'll work like a charm.