LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-18-2019, 07:15 PM   #1
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Rep: Reputation: Disabled
New kernel, no complete shutdown


Hi,

I have compiled a new, slimmed down kernel 4.9.144 on my Debian testing box on a Compaq laptop.
Everything seems to work fine so far except when the system shuts down, it does everything fine but does not turn the laptop off at the end of the process.
I have to do that manually.

The only error message I get on dmesg is:

Code:
[    0.255328] PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xb197, dseg 0x400
[    0.255408] PNPBIOS fault.. attempting recovery.
[    0.255479] PnPBIOS: Warning! Your PnP BIOS caused a fatal error. Attempting to continue
[    0.255571] PnPBIOS: You may need to reboot with the "pnpbios=off" option to operate stably
[    0.255664] PnPBIOS: Check with your vendor for an updated BIOS
[    0.255738] PnPBIOS: dev_node_info: unexpected status 0x24
[    0.255809] PnPBIOS: Unable to get node info.  Aborting.
which I don't know if it's related.

If someone wishes to take a look at the kernel config file, it can be found at:

pastebin.com/i1KJu07c

Thanks.
 
Old 02-18-2019, 08:52 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Until you find a fix for the shutdown issue you can run this as root rather than a hard shutdown.

Code:
sudo shutdown -h now
I'm not sure if the output from dmesg is related or not either and I wouldn't set "pnpbios=off" in the BIOS w/o knowing what exactly that will do.

Here's an article that explains setting the "pnpbios=off".
https://askubuntu.com/questions/8015...eters-for-boot

HTH
 
Old 02-19-2019, 11:54 PM   #3
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Original Poster
Rep: Reputation: Disabled
Hello Ztcoracat,

thanks for the suggestion.
Unfortunately, even with
Code:
sudo shutdown -h now
At the end of the shutdown process it simply hangs and says system halted but the machine does not shut off.
Last message is:

Code:
reboot: system halted

Last edited by black-clover; 02-20-2019 at 12:01 AM.
 
Old 02-20-2019, 03:47 AM   #4
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
I hate to guess, but I would guess it is the bios that actually shuts down the hardware. The operating system just passes that message to the bios, and if you have an issue as above "pnpbios" thingy, that could be the cause of it.

perhaps your kernel is misconfigured and does not pass the message correctly. I don't know exactly what pnpbios is, but it sounds like plug'n'play bios, without that explaining it.

I have experienced the issue you describe before, but without that specific error. And it is frustrating yes. I think in my case it was due to some acpi issues. But that might perhaps be up the same lane as your issue.

I don't want to say you should pass "pnpbios=off" to your kernel at boot without knowing what that is and means. I would first reconfigure the kernel and look into any "pnpbios" entries there and what it does exactly. Perhaps you added it to the Kernel built in? Perhaps it should not be?
 
1 members found this post helpful.
Old 02-20-2019, 06:01 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
According to this, pnpbios is obsolete. Acpi is supposed to replace it.

There's a kernel option called PNPACPI which might be relevant. You could check what it does in your build menu.
 
1 members found this post helpful.
Old 02-20-2019, 03:27 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I have to agree with zeebra in regard to the kernel.

If the new kernel that you compiled wasn't done correctly or the proper modules added it could be misconfigured.

This is a good guide for compiling and installing the Linux kernel.
http://www.berkes.ca/guides/linux_kernel.html
 
Old 02-21-2019, 05:35 PM   #7
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Original Poster
Rep: Reputation: Disabled
I went through the kernel options I had disabled and off course among them was the power control driver.
Changed that and recompiled and now the machine shuts off just fine.

Thanks everyone for the feedback.
 
Old 02-21-2019, 09:16 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by black-clover View Post
I went through the kernel options I had disabled and off course among them was the power control driver.
Changed that and recompiled and now the machine shuts off just fine.

Thanks everyone for the feedback.
You're Welcome-
Glad to hear your machine shuts down now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the default powerstate (e.g. S3,S4,S5) for the command 'shutdown -hP' or 'shutdown -hH' or 'shutdown -h' badbetty Slackware 6 11-12-2017 12:18 AM
child script doesn't return to complete parent script once complete. zQUEz Linux - Server 3 08-29-2012 08:59 AM
complete system freeze during shutdown pusrob Debian 1 04-01-2010 12:55 PM
Complete shutdown probs with 2.6.18 kernel on FC5 farpoint Fedora 0 02-06-2007 02:05 PM
A new kernel is out! A new kernel is out! A new kernel is out! Aussie Linux - General 9 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration