From: Will Simoneau <simoneau@ele.uri.edu>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: new x86 setup code hangs on Dell Inspiron 5150
Date: Fri, 31 Aug 2007 11:05:44 -0400 [thread overview]
Message-ID: <20070831150326.GA6003@ele.uri.edu> (raw)
In-Reply-To: <46D7B817.3060304@zytor.com>
[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]
On 23:41 Thu 30 Aug , H. Peter Anvin wrote:
> H. Peter Anvin wrote:
>> Will Simoneau wrote:
>>> While trying to put together a new kernel for my laptop (Dell I5150, as
>>> in subject) I found that recent kernels just don't boot. Right after
>>> grub loads the kernel, before the "Uncompressing Linux" message is
>>> shown, it hangs. The BIOS appears to still be alive (ctrl-alt-del works,
>>> keyboard lock LEDs respond). It seems to be caused by the new x86 setup
>>> code.
>>>
>>> My kernel is Linus' git as of a1c582d0720f2eff61043e90711767decf37b917.
>>> I bisected and confirmed that 4fd06960f120e02e9abc802a09f9511c400042a5
>>> triggers a non-functioning boot.
>>>
>>> This system has Dell BIOS rev A38 and a P4 3.2 w/HT.
>>>
>>> What should I do next to debug this problem?
>> Can you put in some printf's in the code and see how far it gets?
>
> Specifically, the places to add printf's are to main() in main.c and
> go_to_protected_mode() in pm.c.
>
> -hpa
It dies in vesa_probe() right after calling int10 with ax=4f01 and
checking the return status, which was 0x004f (success). This happens on
the third iteration of the loop; the first two modes it finds are
framebuffer modes. This would be just after line 72 in video-vesa.c .
I have CONFIG_VIDEO_VESA=y and CONFIG_FB=y, but am not passing the
kernel options that would use vesafb as the console.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-08-31 15:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 1:56 new x86 setup code hangs on Dell Inspiron 5150 Will Simoneau
2007-08-31 5:45 ` H. Peter Anvin
2007-08-31 6:41 ` H. Peter Anvin
2007-08-31 15:05 ` Will Simoneau [this message]
2007-08-31 16:18 ` [PATCH] save registers around VESA BIOS calls Will Simoneau
2007-08-31 16:26 ` H. Peter Anvin
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=20070831150326.GA6003@ele.uri.edu \
--to=simoneau@ele.uri.edu \
--cc=hpa@zytor.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