From: Jose Goncalves <jose.goncalves@inov.pt>
To: Frederik Deweerdt <deweerdt@free.fr>,
akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: Serial related oops
Date: Wed, 21 Feb 2007 14:55:19 +0000 [thread overview]
Message-ID: <45DC5D57.4020507@inov.pt> (raw)
In-Reply-To: <45DC537B.6020108@inov.pt>
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
Jose Goncalves wrote:
> New devolpments.
> I have upgraded to 2.6.16.41, applied a patch sent by Frederik that
> removed the changed made in http://lkml.org/lkml/2005/6/23/266 and
> activated some more kernel debug, i.e., CONFIG_KALLSYMS_ALL,
> CONFIG_DEBUG_KERNEL, CONFIG_DETECT_SOFTLOCKUP, CONFIG_DEBUG_SLAB,
> CONFIG_DEBUG_MUTEXES, CONFIG_FRAME_POINTER and CONFIG_FORCED_INLINING
> (thanks to vda for pointing me to the right doc.).
> At first it seemed to work fine, but after some days of continuous
> running I've got another kernel Oops!
> I attach the dmesg output and the assembly dump of serial8250_startup()
> and serial8250_shutdown().
>
And also the assembly dump of serial_in() were the NULL pointer
dereference happens.
José Gonçalves
[-- Attachment #2: objdump2.txt --]
[-- Type: text/plain, Size: 2135 bytes --]
vmlinux-2.6.16.41-mtm5-debug1: file format elf32-i386
Disassembly of section .text:
c01bfa70 <serial_in>:
c01bfa70: 55 push %ebp
c01bfa71: 89 e5 mov %esp,%ebp
c01bfa73: 53 push %ebx
c01bfa74: 8b 5d 08 mov 0x8(%ebp),%ebx
c01bfa77: 8b 55 0c mov 0xc(%ebp),%edx
c01bfa7a: 0f b6 4b 12 movzbl 0x12(%ebx),%ecx
c01bfa7e: 0f b6 43 13 movzbl 0x13(%ebx),%eax
c01bfa82: d3 e2 shl %cl,%edx
c01bfa84: 83 f8 02 cmp $0x2,%eax
c01bfa87: 74 1a je c01bfaa3 <serial_in+0x33>
c01bfa89: 7f 05 jg c01bfa90 <serial_in+0x20>
c01bfa8b: 48 dec %eax
c01bfa8c: 74 09 je c01bfa97 <serial_in+0x27>
c01bfa8e: eb 21 jmp c01bfab1 <serial_in+0x41>
c01bfa90: 83 f8 03 cmp $0x3,%eax
c01bfa93: 74 15 je c01bfaaa <serial_in+0x3a>
c01bfa95: eb 1a jmp c01bfab1 <serial_in+0x41>
c01bfa97: 8a 43 78 mov 0x78(%ebx),%al
c01bfa9a: 01 d0 add %edx,%eax
c01bfa9c: 8b 13 mov (%ebx),%edx
c01bfa9e: 48 dec %eax
c01bfa9f: ee out %al,(%dx)
c01bfaa0: 42 inc %edx
c01bfaa1: eb 10 jmp c01bfab3 <serial_in+0x43>
c01bfaa3: 03 53 04 add 0x4(%ebx),%edx
c01bfaa6: 8a 02 mov (%edx),%al
c01bfaa8: eb 0a jmp c01bfab4 <serial_in+0x44>
c01bfaaa: 03 53 04 add 0x4(%ebx),%edx
c01bfaad: 8b 02 mov (%edx),%eax
c01bfaaf: eb 06 jmp c01bfab7 <serial_in+0x47>
c01bfab1: 03 13 add (%ebx),%edx
c01bfab3: ec in (%dx),%al
c01bfab4: 0f b6 c0 movzbl %al,%eax
c01bfab7: 5b pop %ebx
c01bfab8: 5d pop %ebp
c01bfab9: c3 ret
Disassembly of section .init.text:
Disassembly of section .altinstr_replacement:
Disassembly of section .exit.text:
next prev parent reply other threads:[~2007-02-21 14:56 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 13:29 Serial related oops Frederik Deweerdt
2007-02-19 13:45 ` Russell King
2007-02-20 14:24 ` Frederik Deweerdt
2007-02-19 14:35 ` Russell King
2007-02-20 14:48 ` Frederik Deweerdt
2007-02-19 15:05 ` Russell King
2007-02-19 16:29 ` Jose Goncalves
2007-02-19 16:42 ` Russell King
2007-02-19 17:54 ` Jose Goncalves
2007-02-19 20:37 ` Michael K. Edwards
2007-02-19 20:51 ` Russell King
2007-02-19 21:24 ` Michael K. Edwards
2007-02-19 21:31 ` Russell King
2007-02-19 22:16 ` Michael K. Edwards
2007-02-19 23:20 ` Russell King
2007-02-20 0:04 ` Michael K. Edwards
2007-02-20 0:21 ` Russell King
2007-02-20 2:17 ` Michael K. Edwards
2007-02-24 2:46 ` Michael K. Edwards
2007-02-19 21:23 ` Russell King
2007-02-21 14:13 ` Jose Goncalves
2007-02-21 14:55 ` Jose Goncalves [this message]
2007-02-21 22:53 ` Frederik Deweerdt
2007-02-21 23:05 ` Russell King
2007-02-22 0:34 ` Michael K. Edwards
2007-02-22 8:54 ` Russell King
2007-02-22 15:07 ` Jose Goncalves
2007-02-22 16:56 ` Russell King
2007-02-22 17:24 ` jose.goncalves
2007-02-22 5:57 ` H. Peter Anvin
2007-02-22 7:39 ` Frederik Deweerdt
2007-02-22 8:52 ` Russell King
2007-02-22 15:02 ` Jose Goncalves
2007-02-22 17:03 ` Russell King
2007-02-22 17:21 ` jose.goncalves
2007-02-22 17:32 ` Paul Fulghum
2007-03-01 13:33 ` Jose Goncalves
2007-03-01 15:10 ` Russell King
2007-03-01 15:24 ` Jose Goncalves
[not found] <fa.0IigYYV566ZB0kBHCj88jOEJx1s@ifi.uio.no>
[not found] ` <fa.IE91N03KQO01UZbOdcF6HewOdYc@ifi.uio.no>
2007-02-20 2:48 ` Robert Hancock
2007-02-20 4:59 ` Michael K. Edwards
2007-02-20 5:18 ` Robert Hancock
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=45DC5D57.4020507@inov.pt \
--to=jose.goncalves@inov.pt \
--cc=akpm@linux-foundation.org \
--cc=deweerdt@free.fr \
--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 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.