enabling serial port caused kernel crash in an old pc

Previous thread: enabling serial port caused kernel crash for an old pc by Sudheer Divakaran on Friday, March 21, 2008 - 10:10 pm. (1 message)

Next thread: [PATCH] PCI: Revert SMBus unhide on HP Compaq nx6110 by Jean Delvare on Saturday, March 22, 2008 - 1:30 am. (1 message)
From: Sudheer Divakaran
Date: Friday, March 21, 2008 - 11:47 pm

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


My questions are
1. Why is it crashing? Do I have to enable some other
feature  for
this to work properly?
2. How do I pin point the exact reason for failure?
Some pointers/links

Thanks
Sudheer

My .config file
---------------------
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24.3
# Fri Mar 21 00:11:13 2008
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_QUICKLIST=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not ...
From: Jiri Slaby
Date: Saturday, March 22, 2008 - 3:51 am

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
?
--

Previous thread: enabling serial port caused kernel crash for an old pc by Sudheer Divakaran on Friday, March 21, 2008 - 10:10 pm. (1 message)

Next thread: [PATCH] PCI: Revert SMBus unhide on HP Compaq nx6110 by Jean Delvare on Saturday, March 22, 2008 - 1:30 am. (1 message)