All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Sudheer Divakaran <sudheerd@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: enabling serial port caused kernel crash in an old pc
Date: Sat, 22 Mar 2008 11:51:26 +0100	[thread overview]
Message-ID: <47E4E4AE.6030308@gmail.com> (raw)
In-Reply-To: <211620.40633.qm@web54504.mail.re2.yahoo.com>

On 03/22/2008 07:47 AM, Sudheer Divakaran wrote:
> Hi,
> I have an old pc (Intel P2 400 MHz, 128MB), which has
> FC5 installed in
> it.  I was trying to compile & install the kernel
> 2.6.24.3. I have
> succeeded in bringing up the kernel without serial
> port support.  Since
> I'm still using serial mouse, I have added serial
> ports  support and
> recompiled the kernel. When I'm booting with this
> kernel (having serial
> port support), it is crashing (while booting itself).
> 
> Here is the crash dump (I have written it down), I
> might have missed
> some starting lines since it has scrolled up
> 
> sysfs_create_link
> pciserial_init_one
> pci_device_probe
> driver_probe_device
> klist_next
> __driver_attach
> bus_for_each_dev
> __driver_attach
> bus_add_driver
> bus_add_driver
> __pci_register_driver
> kernel_init
> kernel_init
> kernel_thread_helper
> ==============================
> 
> serial_pci_guess_board+0x49/0x170 SS:ESP 0068:c7c11ea4
> 
> Code: 03 07 00 00 74 0b b8 ed ff ff ff 5a 5b 5e 5f 5d
> c3 25 ff 00 00 00
>      83 f8 06 77 eb 0f b7 4e 24 31 d2 eb 08 83 c2 1c
> 83 fa 34 74 1c <3b>
>  8a 1c 29 2b c0 75 f0 0f b7 46 26 3b 82 20 29 2b c0 74
> c7 83

confused.
   1f:   31 d2                   xor    %edx,%edx
   21:   eb 08                   jmp    2b <p+0x2b>
   23:   83 c2 1c                add    $0x1c,%edx
   26:   83 fa 34                cmp    $0x34,%edx
   29:   74 1c                   je     47 <p+0x47>
   2b:   3b 8a 1c 29 2b c0       cmp    -0x3fd4d6e4(%edx),%ecx

What's the compiler used here? How can edx be ever 0x34 if the increment is 
0x1c? What's in edx when the crash occurs, could you see it in the oops? Are you 
sure you didn't mistype it? Maybe a shot from camera would be good...

I suppose c02b291b is softmodem_blacklist in System.map?

Could you send
drivers/serial/8250_pci.s
product of:
make drivers/serial/8250_pci.s
?

  reply	other threads:[~2008-03-22 10:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-22  6:47 enabling serial port caused kernel crash in an old pc Sudheer Divakaran
2008-03-22 10:51 ` Jiri Slaby [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-22  6:28 Sudheer Divakaran
2008-03-24  4:53 ` Rajat Jain

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=47E4E4AE.6030308@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sudheerd@yahoo.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.