mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ryan Ordway <ryan.ordway@oregonstate.edu>
To: <linux-kernel@vger.kernel.org>
Subject: [BUG] mixing 8250/16550 and AT91 serial ports causes oops
Date: Sun, 06 May 2007 12:30:21 -0700	[thread overview]
Message-ID: <C2637ADD.CD26%ryan.ordway@oregonstate.edu> (raw)
In-Reply-To: <20070506190039.GA24881@martell.zuzino.mipt.ru>


I tracked down my oops. It looks to be a problem with mixing 8250/16550
serial ports and the AT91 ports on the Atmel AT91SAM9260-EK board. Here is
the oops:





Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000     
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in: 
CPU: 0             
PC is at init_dev+0x28/0x4e8
LR is at tty_open+0x120/0x304
pc : [<c00f8a18>]    lr : [<c00fbce4>]    Not tainted
sp : c12e1e08  ip : c12e1e50  fp : c12e1e4c
r10: 00000002  r9 : 00000000  r8 : c12e0000
r7 : 00000001  r6 : c1237c00  r5 : c0299c38  r4 : c12fb8a0
r3 : 00000000  r2 : c12e1e54  r1 : 00000000  r0 : c1237c00
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 5317F     
Table: 20004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc12e0258)
Stack: (0xc12e1e08 to 0xc12e2000)
1e00:                   c12e1e54 c025fce8 c12e1e50 c1237c00 00000000
c12e0000
1e20: c12e1e4c c12fb8a0 c0299c38 00500001 00000001 c12e0000 00000000
00000002
1e40: c12e1e7c c12e1e50 c00fbce4 c00f8a00 00000000 c3d78a40 00000000
c0299c38
1e60: c3d78a40 c12fb8a0 c1257bc8 00000000 c12e1ea4 c12e1e80 c0080d7c
c00fbbd4
1e80: c12e1ea4 00000000 c12fb8a0 c3d78a40 c0080c2c c12d3220 c12e1ecc
c12e1ea8
1ea0: c007c758 c0080c3c c12fb8a0 c12e1ef8 c03a4000 00000000 ffffff9c
00000000
1ec0: c12e1eec c12e1ed0 c007c8f4 c007c674 00000000 ffffff9c 00000000
00000002
1ee0: c12e1f5c c12e1ef0 c007c950 c007c8d0 c12e1ef8 c00ef830 c1257bc8
c12d3220
1f00: c0065970 00000002 c12e0000 00000101 00000001 00000000 c12e1f34
c12e1f28
1f20: c01d74f0 c00ef830 c12e1f5c c12e1f38 c007c658 c01d74f0 00000002
00000003
1f40: 00000000 c12fb8a0 00000002 00000000 c12e1f84 c12e1f60 c007c9ac
c007c91c
1f60: c0029be8 c0269f98 c001f87c c12e0000 00000000 00000000 c12e1f94
c12e1f88
1f80: c007ca28 c007c968 c12e1fac c12e1f98 c002205c c007ca14 c0269f98
c0269f98
1fa0: c12e1ff4 c12e1fb0 c000886c c002203c 00000000 00000000 c00086fc
c00406bc
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
1fe0: 00000000 00000000 00000000 c12e1ff8 c00406bc c000870c 00220008
00020015
Backtrace:
[<c00f89f0>] (init_dev+0x0/0x4e8) from [<c00fbce4>] (tty_open+0x120/0x304)
[<c00fbbc4>] (tty_open+0x0/0x304) from [<c0080d7c>]
(chrdev_open+0x150/0x1a0)
[<c0080c2c>] (chrdev_open+0x0/0x1a0) from [<c007c758>]
(__dentry_open+0xf4/0x1e4)
 r7 = C12D3220  r6 = C0080C2C  r5 = C3D78A40  r4 = C12FB8A0
[<c007c664>] (__dentry_open+0x0/0x1e4) from [<c007c8f4>]
(nameidata_to_filp+0x34/0x4c)
[<c007c8c0>] (nameidata_to_filp+0x0/0x4c) from [<c007c950>]
(do_filp_open+0x44/0x4c)
 r4 = 00000002     
[<c007c90c>] (do_filp_open+0x0/0x4c) from [<c007c9ac>]
(do_sys_open+0x54/0x98)
 r5 = 00000000  r4 = 00000002
[<c007c958>] (do_sys_open+0x0/0x98) from [<c007ca28>] (sys_open+0x24/0x28)
 r8 = 00000000  r7 = 00000000  r6 = C12E0000  r5 = C001F87C
 r4 = C0269F98     
[<c007ca04>] (sys_open+0x0/0x28) from [<c002205c>] (init_post+0x30/0xe8)
[<c002202c>] (init_post+0x0/0xe8) from [<c000886c>] (init+0x170/0x1b8)
 r4 = C0269F98     
[<c00086fc>] (init+0x0/0x1b8) from [<c00406bc>] (do_exit+0x0/0x808)
 r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000
Code: e3130010 059030c8 e1a06000 e1a09001 (07935101)
Kernel panic - not syncing: Attempted to kill init!


-- 
Ryan Ordway                          E-mail:   rordway@oregonstate.edu
Unix Systems Administrator             rordway@library.oregonstate.edu
OSU Libraries, Corvallis, OR 97370        Office: Valley Library #4657



  reply	other threads:[~2007-05-06 19:50 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-05  8:49 2.6.21-mm1 Andrew Morton
2007-05-05 10:36 ` 2.6.21-mm1 Pekka Enberg
2007-05-05 17:18   ` 2.6.21-mm1 Gabriel C
2007-05-05 10:54 ` 2.6.21-mm1 Gabriel C
2007-05-05 12:14 ` [-mm patch] mutex.h bogus __must_check (was Re: 2.6.21-mm1) Frederik Deweerdt
2007-05-05 18:31   ` Andrew Morton
2007-05-05 15:48 ` 2.6.21-mm1 Maciej Rutecki
2007-05-05 18:48   ` 2.6.21-mm1 Andrew Morton
2007-05-05 21:48     ` 2.6.21-mm1 Michael Buesch
2007-05-05 22:25       ` 2.6.21-mm1 John W. Linville
2007-05-05 16:09 ` 2.6.21-mm1 Gabriel C
2007-05-05 16:44 ` [-mm patch] fix fs/nfs/nfsroot.c compile error Adrian Bunk
2007-05-05 17:20   ` Trond Myklebust
2007-05-05 17:27     ` Trond Myklebust
2007-05-05 17:00 ` [-mm patch] fix unionfs compilation Adrian Bunk
2007-05-05 18:57   ` Andrew Morton
2007-05-05 19:09     ` Adrian Bunk
2007-05-05 19:13     ` Josef Sipek
2007-05-05 19:22       ` Andrew Morton
2007-05-05 19:19     ` Pekka Enberg
2007-05-05 19:23       ` Josef Sipek
2007-05-05 20:31   ` Josef Sipek
2007-05-05 17:19 ` [-mm patch] drivers/battery/olpc_battery.c: fix compilation Adrian Bunk
2007-05-05 17:30 ` [-mm patch] the OLPC laptop is not available for $100 Adrian Bunk
2007-05-06 21:04   ` Anton Vorontsov
2007-05-05 18:10 ` 2.6.21-mm1 Valdis.Kletnieks
2007-05-05 20:29 ` acpi_handle is intel only Olaf Hering
2007-05-08  6:11   ` Zhang, Yanmin
2007-05-05 20:38 ` cpufreq_set_policy [arch/powerpc/platforms/cell/cbe_cpufreq.ko] undefined! Olaf Hering
2007-05-05 21:13 ` [-mm patch] do_revoke error handling (was Re: 2.6.21-mm1) Frederik Deweerdt
2007-05-05 21:23   ` Pekka J Enberg
2007-05-05 21:47     ` Frederik Deweerdt
2007-05-06  9:12       ` Pekka Enberg
2007-05-05 23:22 ` 2.6.21-mm1 Simon Arlott
     [not found]   ` <a8f16e2b0705052130g37307df1vb7bd8a178d3130a@mail.gmail.com>
2007-05-06  4:33     ` 2.6.21-mm1 Dan Kruchinin
2007-05-06 20:44       ` 2.6.21-mm1 Sam Ravnborg
2007-05-06 20:55         ` 2.6.21-mm1 Andrew Morton
2007-05-06 22:01           ` 2.6.21-mm1 Williams, Dan J
2007-05-06 15:00     ` Fwd: 2.6.21-mm1 Simon Arlott
2007-05-06 20:23   ` 2.6.21-mm1 Sam Ravnborg
2007-05-06  6:49 ` 2.6.21-mm1 Valdis.Kletnieks
2007-05-06 20:57   ` 2.6.21-mm1 Sam Ravnborg
2007-05-06 21:08     ` 2.6.21-mm1 Andrew Morton
2007-05-06 21:27       ` 2.6.21-mm1 Sam Ravnborg
2007-05-06  9:03 ` [-mm patch] get_unmapped_area: remove now unused ret variable (was Re: 2.6.21-mm1) Frederik Deweerdt
2007-05-06 21:45   ` Benjamin Herrenschmidt
2007-05-06 14:59 ` 2.6.21-mm1 Simon Arlott
2007-05-06 20:08   ` 2.6.21-mm1 Andrew Morton
2007-05-06 21:04     ` 2.6.21-mm1 Satyam Sharma
2007-05-06 21:13       ` 2.6.21-mm1 Satyam Sharma
2007-05-06 21:22       ` 2.6.21-mm1 Andrew Morton
2007-05-06 21:13     ` 2.6.21-mm1 Simon Arlott
2007-05-06 19:00 ` 2.6.21-mm1: DRM does kmalloc(0) sometimes? Alexey Dobriyan
2007-05-06 19:30   ` Ryan Ordway [this message]
2007-05-06 20:05     ` [BUG] mixing 8250/16550 and AT91 serial ports causes oops Russell King
2007-05-06 20:36 ` 2.6.21-mm1 Simon Arlott
2007-05-06 20:54   ` 2.6.21-mm1 Andrew Morton
2007-05-06 21:07     ` 2.6.21-mm1 Simon Arlott
2007-05-07 22:58     ` sleeping function called from invalid context at block/cfq-iosched.c (Was: Re: 2.6.21-mm1) Simon Arlott
2007-05-07 23:23       ` Andrew Morton
2007-05-07 23:30         ` Simon Arlott
2007-05-07 23:33           ` Andrew Morton
2007-05-08  4:31             ` Jeremy Fitzhardinge
2007-05-08  5:24               ` Andrew Morton
2007-05-08  5:31                 ` William Lee Irwin III
2007-05-08  5:37                   ` Andrew Morton
2007-05-08  6:03                     ` William Lee Irwin III
2007-05-08  8:59                   ` Andi Kleen
2007-05-08 10:46                     ` William Lee Irwin III
2007-05-08  5:38                 ` Jeremy Fitzhardinge
2007-05-08  6:18                   ` David Chinner
2007-05-08  8:28                     ` Jan Engelhardt
2007-05-07 10:35 ` [PATCH] drivers/macintosh: remove default y from Kconfig (was: " Borislav Petkov
2007-05-08  8:33   ` Jan Engelhardt
2007-05-08 20:16     ` Borislav Petkov
2007-05-07 10:47 ` [-mm patch] fix fs/nfs/nfsroot.c compile error David Howells
2007-05-07 10:56   ` Adrian Bunk
2007-05-07 13:12     ` Trond Myklebust
2007-05-07 15:49     ` David Howells
2007-05-07 11:04 ` 2.6.21-mm1 Cornelia Huck
2007-05-07 16:06 ` 2.6.21-mm1 J.A. Magallón
2007-05-08  9:46 ` 2.6.21-mm1 -- x86 verify_cpu.S compile failure Andy Whitcroft
2007-05-08 15:24   ` Andi Kleen
2007-05-09  8:49     ` Andy Whitcroft
2007-05-09 16:06     ` Andy Whitcroft
2007-05-10  8:33       ` Andy Whitcroft
2007-05-08 13:04 ` 2.6.21-mm1 Andy Whitcroft
2007-05-08 16:07   ` 2.6.21-mm1 Christoph Lameter
2007-05-08 17:22 ` kmem_cache_init failure (was Re: 2.6.21-mm1) Frederik Deweerdt
2007-05-08 19:35   ` Andrew Morton
2007-05-08 22:12   ` Andi Kleen
2007-05-08 23:47     ` Frederik Deweerdt
2007-05-09  7:40   ` Jan Beulich
2007-05-09  9:00     ` Andi Kleen
2007-05-09 12:26       ` Frederik Deweerdt
2007-05-09 18:04         ` Frederik Deweerdt
2007-05-08 22:48 ` 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot Kevin Winchester
2007-05-08 23:04   ` Christoph Lameter
2007-05-08 23:33     ` Kevin Winchester
2007-05-08 23:43       ` Christoph Lameter
2007-05-09  0:58         ` 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot - crypto? Kevin Winchester
2007-05-09  3:02           ` Herbert Xu
2007-05-10 11:10             ` Kevin Winchester
2007-05-14 17:38               ` Luca Tettamanti
2007-05-15  1:43                 ` Herbert Xu
2007-05-15 18:52                   ` Luca Tettamanti
2007-05-18  3:19                     ` Herbert Xu
2007-05-18 12:09                       ` Luca
2007-05-18 13:14                         ` Herbert Xu
2007-05-18 19:16                           ` Luca Tettamanti
2007-05-18 20:48                             ` Chuck Ebbert
2007-05-19  4:50                             ` Herbert Xu
2007-05-17 17:46                   ` Luca Tettamanti
2007-05-17 19:20                     ` Luca
2007-05-08 23:57       ` 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot Christoph Lameter
2007-05-08 23:08   ` Christoph Lameter
2007-06-14  8:25 ` mach64 breakage in 2.6.22 Olaf Hering
2007-06-14 17:36   ` Ville Syrjälä
2007-06-18 14:45     ` Olaf Hering
2007-06-21 17:25       ` Ville Syrjälä
2007-06-22 16:06         ` Olaf Hering

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=C2637ADD.CD26%ryan.ordway@oregonstate.edu \
    --to=ryan.ordway@oregonstate.edu \
    --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

all inboxes | Powered by JetHome®