LinuxQuestions.org
Visit Jeremy's Blog.
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 12-27-2004, 09:59 AM   #1
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
APM Broken


APM broke on my Latitude D400, Slack 10. It was working and happened about the time I installed a new kernel - 2.4.28 from 2.4.26. Now, I have to force a power-off with the button.

modprobe apm:
Code:
/lib/modules/2.4.28/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.28/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.28/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.28/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.28/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed
dmesg:
Code:
apm: BIOS not found.
Code:
bash-3.00# ls -al /dev|grep apm
crw-r--r--   1 root root    10, 134 1996-06-07 14:25 apm_bios
I'm running the same kernel on a C600 with no problems and, as I mentioned, APM worked on this one until yesterday. I'd like to avoid a 2.6 or ACPI change if possible.

Any thoughts? Thanks.
 
Old 12-27-2004, 11:32 AM   #2
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Looks like you're trying to load APM as a module, but it was not compiled as a module with the new Kernel. If APM is showing up in your dmesg then it is possible that it was compiled into the kernel directly. Did youy compile the kernel yourself, or did you install a pre-compiled 2.4.28? If you compiled on your own, then I would look back through your .config and make sure you compiled APM correctly. Your last setup had APM as a module, so I would probably recompile 2.4.28 with that option.

slight
 
Old 12-27-2004, 12:28 PM   #3
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Original Poster
Rep: Reputation: 49
I used the vanilla Slack 2.4.28 kernel, the same one that's on the working laptop. Here's the .config for it:

Code:
bash-3.00# grep APM /usr/src/linux-2.4.28/.config
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
 
Old 12-27-2004, 03:29 PM   #4
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Hmmm.....interesting. It sounds like slack is complaining that it can't load the APM module, yet you are getting an error message that APM can't locate BIOS. I'm stumped. I googled for 'apm: BIOS not found' and some hits with that same message came up, they might be helpful if you want to glance through them. My only thought is that someone submitted a patch for the APM module somewhere between the 2.4.26 and 2.4.28 kernels that broke compatibility with your specific BIOS. Any chance you flashed the BIOS before your kernel upgrade? Have you considered switching to APIC?

slight
 
Old 12-28-2004, 12:49 AM   #5
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Original Poster
Rep: Reputation: 49
I'm using the same BIOS. I also searched quite a bit before posting and found a lot of suggestions (many of them were on LQ, by the way), but no solutions.

Most of the fixes relate to loading the APM module or uncommenting the APM line in rc.M. Neither of those applies in this case.

Thanks for your thoughts on it. If you have any others, I'm happy to hear them.
 
Old 12-31-2004, 05:10 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Original Poster
Rep: Reputation: 49
A pity bump for anyone who missed this post in a busy forum and then I'll put the issue on the back burner for a while.

APM experts welcome.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apm -s...almost buldir Linux - Laptop and Netbook 0 11-28-2004 03:46 AM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
apm snu Linux - Hardware 0 12-06-2003 07:32 AM
Apm klfreese Linux - Newbie 0 08-23-2003 12:31 PM
Apm kcbnac Linux - Newbie 1 04-11-2003 11:06 PM

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

All times are GMT -5. The time now is 04:51 PM.

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