LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2009, 11:48 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
APM problem in Slackware


I have been using Slackware on my old Compaq Presario 350 MHz AMD k-6 for years but with the older 2.4.x kernels. I just tried to do a fresh install of Slackware 13 and now 12.2 and found the same problem-my computer freezes up when I do a modprobe apm. I'm thinking this may be a problem with 2.6.x kernels on my old pc.

I'm also thinking that since APM is so old that ACPI may be assumed now in the kernel build...maybe I just need to rebuild the kernel. Another problem is that I only have 700 MB in which to install a new kernel.

Can I fix this without rebuilding the kernel? If not, can I install a kernel without the kernel source and how?

EDIT:

I decided to do a fresh install of Slackware 13...the APM problem remains.

Last edited by linuxhippy; 10-12-2009 at 12:03 PM. Reason: Updated my computer
 
Old 10-12-2009, 12:49 PM   #2
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
try append="acpi=off" in lilo.conf, then modprobe apm
 
Old 10-12-2009, 03:21 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
I added that to my image section so /etc/lilo.conf looks like this:

image=/boot/vmlinuz
label=linux
root=/dev/hda1
append="acpi=off"
read-only

On reboot I looked at dmesg and found no entries about apm and this line about acpi:

Kernel command line: auto BOOT_IMAGE=Linux ro root=301 acpi=off

However, modprobe apm still freezes the pc and it won't turn off without my pressing in the power button for 3 secs.

Maybe I need to add an apm=on in lilo.conf?
 
Old 10-12-2009, 03:56 PM   #4
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
append="acpi=off apm=on apm=power-off" ?
 
Old 10-12-2009, 04:32 PM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
nope-I tried it and got errors in my dmesg. I typed in apm -s to try to get it to suspend and was told apm wasn't in the kernel and then modprobe apm froze my pc. I rebooted and then just tried to do a halt -p and I still had to manually power down. I googled this and found that apm=on can only be used when apm was built into the kernel and not just a module (modprobe apm would be for that).

I think I need to rebuild the kernel. I've re-built kernels several times my other pc with a lot more hard drive space than the 500 MB on my Slack 13 pc. Can I boot with just the resultant bzImage on my Slack pc and do a make modules_install to build the modules in /lib/modules?
 
Old 10-12-2009, 04:49 PM   #6
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Hey, I just realised I was looking at another thread of yours...good question, I'm wondering, as well, how to build a kernel on another machine.
I found some Slackbuilds that could be useful here.
/edit/ That appears to be available in the /pub/slackware/slackware-*/source/ directory on (probably) any mirror; that was just the first one I found.

Last edited by mudangel; 10-12-2009 at 04:53 PM.
 
  


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
Slackware 12 standby/restore on a T21 (ACPI-APM confusion) threecaster Linux - Laptop and Netbook 0 01-14-2009 08:08 PM
power consumption: acpi vs apm ---> apm is the winner by far for suspend mode bmpro Linux - Laptop and Netbook 2 10-01-2008 09:16 PM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
apm + slackware 9.1 jeempc Slackware 10 12-03-2003 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 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