From: Michael Tokarev <mjt@tls.msk.ru>
To: castet.matthieu@free.fr
Cc: linux-kernel@vger.kernel.org
Subject: Re: PNP parallel&serial ports: module reload fails (2.6.11)?
Date: Fri, 03 Jun 2005 04:18:59 +0400 [thread overview]
Message-ID: <429FA1F3.9000001@tls.msk.ru> (raw)
In-Reply-To: <20050602222400.GA8083@mut38-1-82-67-62-65.fbx.proxad.net>
castet.matthieu@free.fr wrote:
> Reply-To: 429CECE3.1060904@tls.msk.ru
This looks like a Message-ID of my original email you're replied to.
Why you set up Reply-To header this way? :)
> Hi,
>
> try pnpacpi=off in your kernel options and it should work.
> An other solution is to comment pnpacpi_disable_resources in
> drivers/pnp/pnpacpi/core.c in order to avoid that the resource are
> disable.
Both ways solves this problem for me. Now I can insmod/rmmod
parport_pc as many times as I want:
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP]
pnp: Device 00:0b disabled.
pnp: Device 00:0b activated.
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP]
pnp: Device 00:0b disabled.
pnp: Device 00:0b activated.
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP]
....
BTW, how "stable" pnpacpi=off is? I mean, is it supposed to
work on more hardware than current default acpi-aware method?
> When booting, the parport resources are enable by your kernel, and when
> you load for the first time the module there nothing to activate.
>
> But when you rmmod the driver, you free the resource.
Well, I figured this much ;)
> And pnpacpi have some problem to activate resource with some strange acpi implementation...
I haven't seen any probs with acpi or bios or other things on
those boxen yet -- pretty good ones. It's HP ProLiant ML150
machine (not G2). There are other HP machines out here which
also shows the same problem - eg HP ProLiant ML310 G1.
> There was a problem in pnp layer implementation : the resource weren't
> given in the right order, Adam Belay send me a patch, but I don't know
> if it got in main-line ?
Which patch was that? I can try it here, but can't seem to be able
to find it...
> May be there also a bug in pnpacpi_encode_resources (with the pnp patch
> apply I didn't still work on some hardware...)
>
> You can try to send your dsdt, but I am quit busy for the moment.
> May be some Intel guy could look at the problem...
The DSDTs are at http://www.corpit.ru/mjt/hpml150.dsdt
and http://www.corpit.ru/mjt/hpml310.dsdt (that's a
(binary) copy from /proc/acpi/dsdt -- is there a way
to decode it into some text form?)
Thank you for your time. At least I now know I'm not
alone with this prob.. ;)
/mjt
next prev parent reply other threads:[~2005-06-03 0:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 22:24 Re:PNP parallel&serial ports: module reload fails (2.6.11)? castet.matthieu
2005-06-03 0:18 ` Michael Tokarev [this message]
2005-06-03 5:58 ` PNP " matthieu castet
2005-06-05 10:14 ` matthieu castet
2005-06-05 10:27 ` matthieu castet
2005-06-06 15:01 ` Michael Tokarev
2005-06-06 15:43 ` castet.matthieu
2005-06-06 21:18 ` Adam Belay
2005-06-06 22:43 ` Michael Tokarev
2005-06-08 9:52 ` Adam Belay
2005-06-08 20:29 ` Michael Tokarev
2005-06-08 23:52 ` Adam Belay
2005-06-09 21:07 ` Michael Tokarev
2005-06-09 21:16 ` Russell King
2005-06-10 16:01 ` Bjorn Helgaas
2005-06-10 16:20 ` Dmitry Torokhov
2005-06-10 16:26 ` Bjorn Helgaas
2005-06-10 16:30 ` Russell King
2005-06-14 19:40 ` Adam Belay
-- strict thread matches above, loose matches on Subject: below --
2005-05-31 23:01 Michael Tokarev
2005-06-01 5:04 ` Andrew Morton
2005-06-01 15:20 ` Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=429FA1F3.9000001@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=castet.matthieu@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox