LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-22-2006, 08:05 AM   #1
Que_273
Member
 
Registered: Nov 2005
Location: South coast
Distribution: Debian /AMD64
Posts: 48

Rep: Reputation: 15
PNP/ACPI is reserving memory & causing problems


The box that was my families gateway to the internet had a disaster that was entirely my fault. I was trying to upgrade the kernel from 2.6.12-7 to 2.6.17-2. I was/am using the stock Debian ones (linux-image-2.6.17-2-k7). I have now rebuilt from scratch and have the following problem.
ACPI is enabled by default and the following line appears in dmesg

pnp: 00:01: ioport range 0xde00-0xde03 has been reserved

When it tries to load the tulip module for a network card these lines appear

PCI: Found IRQ 10 for device 0000:00:0c.0
PCI: Sharing IRQ 10 with 0000:00:08.0
PCI: Unable to reserve I/O region #1:100@de00 for device 0000:00:0c.0

I can see it is trying to use the same ioport region and therefore doesn't work (no ethX appears).

One solution to this is to boot with the acpi=off kernel option but that means I can't power down fully (it waits at the "Power down" prompt)

The system before I broke it booted automatically in the morning (with a BIOS alarm) and shut itself down with a cronjob AND the network card worked so I know it is possible to have both. I haven't moved any hardware except to use a different harddisk to debootstrap from.

I know the BIOS had a glitch while I was swapping harddisks and so was cleared (date/everything gone) so perhaps there is an option there I can re-tweak. I also updated the BIOS firmware some months ago.
Regarding that last point - if I boot with a 2.6.12 kernel (different harddisk) it claims the BIOS is pre 2001, disables it and the net-card works but no shutdown. With the new system, 2.6.17 kernel, ACPI is on by default.

I have tried different kernel options to do with acpi and got nothing other that the two scenarios already mentioned. Can I disable the pnp ioport reserve eg with pnp_reserve_io= option? If so, how?

If I use the pnpacpi=off option, the first dmesg line "ioport 0xde ... has been reserved" does not appear but the "Unable to reserve" one does.

cat /proc/ioports (acpi=off)
---snip---
de00-deff : 0000:00:0c.0
de00-deff : tulip
---snip---

cat /proc/ioports (with acpi and pnp)
---snip---
de00-deff : 0000:00:0c.0
de00-de03 : motherboard
de00-de03 : pnp
---snip---

The motherboard is a Gigabyte one with an AMD chipset (Irongate/Viper) (sorry can't find a model number) and the offending card is an ADMtek NC100 (uses ADMtek Comet driver/tulip)

Many thanks in advance.

Hugh
 
  


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
acpi is causing huge problems on laptop cjae Linux - Hardware 5 03-30-2006 04:05 AM
GTK causing memory corruption in glibc morph_ind Programming 0 09-08-2005 01:27 AM
GTK Themes Not Loading & Causing Problems MoghNX01 SUSE / openSUSE 3 02-12-2005 02:20 AM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 01:56 PM
Mandrake 801 & Soundblaster 16 ISA PnP harrkev Linux - Software 8 11-06-2001 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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