From: Thomas Hood <jdthood@mail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: PnP BIOS + 2.4.9-ac16 = no boot
Date: Fri, 28 Sep 2001 08:29:51 -0400 [thread overview]
Message-ID: <3BB46D3F.E588050E@mail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]
Stelian Pop wrote:
> When booting a 2.4.9-ac16 kernel on my Sony Vaio C1VE laptop
> the boot process hangs with something like:
> PnP: PNP BIOS installation structure at 0xc00f8120
> PnP: PNP BIOS version 1.0, entry ay f0000:b25f, dseg at 400
> general protection fault: 0000
> ...
> Code: Bad EIP value
>
> Adding nobiospnp to the kernel boot line solves the problem. The last
> -ac kernel I tried (2.4.9-ac10) does not need exhibit this problem.
Between 2.4.9-ac10 and 2.4.9-ac16 two small changes were made to
the PnP BIOS code. One of them must be the cause of your troubles.
> Since this machine's BIOS is crap anyway (almost entirely ACPI -
> APM suspend doesn't work etc), is it worth investigating this issue
> or should I blame the BIOS structures once again ?
Initial suspicion may fall on your BIOS. However, if the
PnP BIOS driver worked before then that means that we ought
to be able to work around any bugs in it.
Please try this patch to drivers/pnp/pnp_bios.c (attached) and get
back to me.
It would be helpful too if you could track down (using printks)
where the fault occurs.
--
Thomas
[-- Attachment #2: thood-pnpbiosvaio-patch-20010928-1 --]
[-- Type: text/plain, Size: 457 bytes --]
--- pnp_bios.c_ORIG Thu Sep 27 15:21:46 2001
+++ pnp_bios.c_vaiofix Fri Sep 28 08:24:39 2001
@@ -845,11 +845,11 @@
for(i=0;i<0xff;i++) {
dev = kmalloc(sizeof (struct pci_dev), GFP_KERNEL);
if (!dev)
break;
- if (pnp_bios_get_dev_node((u8 *)&num, (char )0 , node))
+ if (pnp_bios_get_dev_node((u8 *)&num, (char )1 , node))
continue;
devs++;
pnpbios_rawdata_2_pci_dev(node,dev);
dev->devfn=num;
next reply other threads:[~2001-09-28 12:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-28 12:29 Thomas Hood [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-02 23:29 PnP BIOS + 2.4.9-ac16 = no boot Thomas Hood
2001-10-03 14:06 ` Ion Badulescu
2001-10-02 23:17 Thomas Hood
2001-09-28 14:33 Thomas Hood
2001-09-28 14:51 ` Stelian Pop
2001-09-28 15:20 ` Thomas Hood
2001-09-28 15:28 ` Alan Cox
2001-09-28 13:47 Thomas Hood
2001-09-28 14:02 ` Stelian Pop
2001-09-28 14:41 ` Thomas Hood
2001-09-28 14:54 ` Stelian Pop
2001-09-28 14:58 ` Alan Cox
2001-09-28 14:58 ` Thomas Hood
2001-10-02 22:11 ` Ion Badulescu
2001-10-03 9:28 ` Stelian Pop
[not found] <3BB46DCD.91576F70@mail.com>
2001-09-28 13:12 ` Stelian Pop
2001-09-28 10:46 Stelian Pop
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=3BB46D3F.E588050E@mail.com \
--to=jdthood@mail.com \
--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