lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47E4E4AE.6030308@gmail.com>
Date:	Sat, 22 Mar 2008 11:51:26 +0100
From:	Jiri Slaby <jirislaby@...il.com>
To:	Sudheer Divakaran <sudheerd@...oo.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: enabling serial port caused kernel crash in an old pc

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
?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ