From: Tilman Schmidt <tilman@imap.cc>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Subject: kgdb Bad IO access (was: 2.6.22-rc6-mm1)
Date: Fri, 06 Jul 2007 16:03:17 +0200 [thread overview]
Message-ID: <468E4BA5.8010601@imap.cc> (raw)
In-Reply-To: <20070628034321.38c9f12b.akpm@linux-foundation.org>
[-- Attachment #1: Type: text/plain, Size: 5603 bytes --]
Andrew Morton schrieb:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/
>
> - Added the kgdb tree, as git-kgdb.patch (Jason Wessel
> <jason.wessel@windriver.com>)
>
> This is a large patch which unifies all the various kgdb stubs lying
> around various architectures and extends kgdb support to other
> architectures. Supported architectures are at present arm, i386, ia64,
> mips, ppc32, ppc64, sh, and x86_64.
>
> Subject to review, we're aiming this at 2.6.24.
Built a kernel with this just for fun on a Pentium D 940 system running
a 32 bit install of SuSE 10.2. It complained thusly relatively early
during startup:
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
Bad IO access at port 10000 (outb(val,port))
WARNING: at lib/iomap.c:44 bad_io_access()
[dump_trace+99/475] dump_trace+0x63/0x1db
[show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f
[show_trace+18/20] show_trace+0x12/0x14
[dump_stack+22/24] dump_stack+0x16/0x18
[bad_io_access+84/86] bad_io_access+0x54/0x56
[iowrite8+52/54] iowrite8+0x34/0x36
[kgdb8250_uart_init+164/609] kgdb8250_uart_init+0xa4/0x261
[kgdb_init_io+172/200] kgdb_init_io+0xac/0xc8
[kgdb_late_entry+54/164] kgdb_late_entry+0x36/0xa4
[kernel_init+346/732] kernel_init+0x15a/0x2dc
[kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
=======================
Bad IO access at port 10000 (return inb(port))
WARNING: at lib/iomap.c:44 bad_io_access()
[dump_trace+99/475] dump_trace+0x63/0x1db
[show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f
[show_trace+18/20] show_trace+0x12/0x14
[dump_stack+22/24] dump_stack+0x16/0x18
[bad_io_access+84/86] bad_io_access+0x54/0x56
[ioread8+40/47] ioread8+0x28/0x2f
[kgdb8250_uart_init+334/609] kgdb8250_uart_init+0x14e/0x261
[kgdb_init_io+172/200] kgdb_init_io+0xac/0xc8
input: AT Translated Set 2 keyboard as /class/input/input1
[kgdb_late_entry+54/164] kgdb_late_entry+0x36/0xa4
[kernel_init+346/732] kernel_init+0x15a/0x2dc
[kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
=======================
Bad IO access at port 10000 (outb(val,port))
WARNING: at lib/iomap.c:44 bad_io_access()
[dump_trace+99/475] dump_trace+0x63/0x1db
[show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f
[show_trace+18/20] show_trace+0x12/0x14
[dump_stack+22/24] dump_stack+0x16/0x18
[bad_io_access+84/86] bad_io_access+0x54/0x56
[iowrite8+52/54] iowrite8+0x34/0x36
[kgdb8250_uart_init+164/609] kgdb8250_uart_init+0xa4/0x261
[kgdb8250_late_init+32/153] kgdb8250_late_init+0x20/0x99
[kgdb_late_entry+136/164] kgdb_late_entry+0x88/0xa4
[kernel_init+346/732] kernel_init+0x15a/0x2dc
[kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
=======================
Bad IO access at port 10000 (return inb(port))
WARNING: at lib/iomap.c:44 bad_io_access()
[dump_trace+99/475] dump_trace+0x63/0x1db
[show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f
[show_trace+18/20] show_trace+0x12/0x14
[dump_stack+22/24] dump_stack+0x16/0x18
[bad_io_access+84/86] bad_io_access+0x54/0x56
[ioread8+40/47] ioread8+0x28/0x2f
[kgdb8250_uart_init+334/609] kgdb8250_uart_init+0x14e/0x261
[kgdb8250_late_init+32/153] kgdb8250_late_init+0x20/0x99
[kgdb_late_entry+136/164] kgdb_late_entry+0x88/0xa4
[kernel_init+346/732] kernel_init+0x15a/0x2dc
[kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
=======================
KGDB failed to request the serial IRQ (0)
registered taskstats version 1
Freeing unused kernel memory: 236k freed
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
Apart from that, the kernel runs fine, though its subjectively a bit
sluggish compared to 2.6.22-rc6-mm1 without kgdb. Its uname -a is:
Linux xenon 2.6.22-rc6-mm1-test4 #10 SMP PREEMPT Thu Jul 5 23:41:32 CEST 2007 i686 i686 i386 GNU/Linux
I didn't even try to actually do anything with kgdb, though.
The .config delta is:
--- good.config-3 2007-07-05 22:35:30.000000000 +0200
+++ .config 2007-07-05 23:23:09.000000000 +0200
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.22-rc6-mm1
-# Thu Jul 5 22:05:32 2007
+# Thu Jul 5 23:23:09 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
@@ -35,7 +35,7 @@
#
# General setup
#
-CONFIG_LOCALVERSION="-test3"
+CONFIG_LOCALVERSION="-test4"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SWAP_PREFETCH=y
@@ -2529,8 +2529,24 @@
CONFIG_FAIL_MAKE_REQUEST=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y
-# CONFIG_WANT_EXTRA_DEBUG_INFORMATION is not set
-# CONFIG_KGDB is not set
+CONFIG_WANT_EXTRA_DEBUG_INFORMATION=y
+CONFIG_KGDB=y
+# CONFIG_KGDB_CONSOLE is not set
+# CONFIG_KGDB_ONLY_MODULES is not set
+CONFIG_KGDB_8250_NOMODULE=y
+# CONFIG_KGDBOE_NOMODULE is not set
+# CONFIG_KGDB_MPSC is not set
+# CONFIG_KGDB_CPM_UART is not set
+# CONFIG_KGDB_SIBYTE is not set
+# CONFIG_KGDB_TXX9 is not set
+# CONFIG_KGDB_SH_SCI is not set
+# CONFIG_KGDB_AMBA_PL011 is not set
+# CONFIG_KGDB_PXA_SERIAL is not set
+# CONFIG_KGDBOE is not set
+CONFIG_KGDB_8250=y
+CONFIG_KGDB_SIMPLE_SERIAL=y
+CONFIG_KGDB_BAUDRATE=115200
+CONFIG_KGDB_PORT_NUM=1
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACK_USAGE=y
HTH
T.
--
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-07-06 14:03 UTC|newest]
Thread overview: 112+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 10:43 2.6.22-rc6-mm1 Andrew Morton
2007-06-28 12:08 ` 2.6.22-rc6-mm1 Gabriel C
2007-06-28 17:54 ` 2.6.22-rc6-mm1 Andrew Morton
2007-06-28 13:37 ` [patch -mm] Make check_signature() depend on CONFIG_HAS_IOMEM Heiko Carstens
2007-06-28 18:06 ` Andrew Morton
2007-06-28 18:27 ` Geert Uytterhoeven
2007-06-28 18:38 ` Andrew Morton
2007-06-28 18:47 ` Geert Uytterhoeven
2007-06-28 20:29 ` Andrew Morton
2007-06-28 22:25 ` Alan Cox
2007-06-28 22:45 ` Jeff Dike
2007-06-28 23:01 ` Andrew Morton
2007-06-28 22:51 ` Roman Zippel
2007-06-28 23:12 ` Alan Cox
2007-06-29 0:06 ` Roman Zippel
2007-06-29 13:08 ` Geert Uytterhoeven
2007-06-28 13:39 ` [patch -mm] s390: struct bin_attribute changes Heiko Carstens
2007-06-28 16:04 ` Zhang, Rui
2007-06-28 21:08 ` Greg KH
2007-06-28 13:39 ` [patch -mm] s390: rename CPU_IDLE to S390_CPU_IDLE Heiko Carstens
2007-06-28 15:03 ` Ingo Molnar
2007-06-28 14:49 ` [PATCH 2.6.22-rc6-mm1] compile error when CONFIG_DM_NETLINK is not defined Dave Kleikamp
2007-06-28 15:34 ` Alasdair G Kergon
2007-06-28 19:29 ` 2.6.22-rc6-mm1: multiple definition of `check_reset' Adrian Bunk
2007-06-28 20:01 ` Andrew Morton
2007-06-28 20:09 ` 2.6.22-rc6-mm1: io_apic build error Randy Dunlap
2007-06-28 20:23 ` Andrew Morton
2007-06-28 21:47 ` John Keller
2007-06-28 20:40 ` 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present Adrian Bunk
2007-06-28 20:49 ` Jeremy Fitzhardinge
2007-07-01 15:37 ` Eric W. Biederman
2007-07-01 16:33 ` Jeremy Fitzhardinge
2007-07-01 20:23 ` Adrian Bunk
2007-07-01 20:31 ` Eric W. Biederman
2007-07-01 22:13 ` Jeremy Fitzhardinge
2007-06-28 20:40 ` 2.6.22-rc6-mm1 Intel DMAR crash on AMD x86_64 Zan Lynx
2007-06-28 23:50 ` Zach Carter
2007-06-29 12:32 ` 2.6.22-rc6-mm1 Mariusz Kozlowski
2007-06-29 12:54 ` 2.6.22-rc6-mm1 Sergei Shtylyov
2007-07-02 13:49 ` 2.6.22-rc6-mm1 Jason Wessel
2007-07-02 14:23 ` 2.6.22-rc6-mm1 Sergei Shtylyov
2007-07-02 14:45 ` 2.6.22-rc6-mm1 Jason Wessel
2007-07-02 23:21 ` 2.6.22-rc6-mm1 Paul Mackerras
2007-06-29 20:47 ` 2.6.22-rc6-mm1 Andrew Morton
2007-06-30 8:40 ` 2.6.22-rc6-mm1 Michal Marek
2007-06-29 14:17 ` 2.6.22-rc6-mm1 Roman Zippel
2007-06-29 20:58 ` 2.6.22-rc6-mm1 Andrew Morton
2007-07-01 1:48 ` 2.6.22-rc6-mm1 Roman Zippel
2007-06-29 14:50 ` 2.6.22-rc6-mm1 Valdis.Kletnieks
2007-06-29 21:01 ` 2.6.22-rc6-mm1 Andrew Morton
2007-06-30 4:17 ` 2.6.22-rc6-mm1 Valdis.Kletnieks
2007-06-30 5:15 ` 2.6.22-rc6-mm1 Andrew Morton
2007-06-30 16:22 ` 2.6.22-rc6-mm1 Jeremy Fitzhardinge
2007-06-30 21:10 ` 2.6.22-rc6-mm1 Sam Ravnborg
2007-06-30 21:39 ` 2.6.22-rc6-mm1 Andrew Morton
2007-07-01 1:53 ` 2.6.22-rc6-mm1 Roman Zippel
2007-07-03 20:36 ` 2.6.22-rc6-mm1 Andrew Morton
2007-07-01 5:31 ` 2.6.22-rc6-mm1 Satyam Sharma
2007-07-01 6:52 ` 2.6.22-rc6-mm1 Sam Ravnborg
2007-07-01 20:22 ` [-mm patch] fix include/asm-m68k/fb.h Adrian Bunk
2007-07-01 20:22 ` [-mm patch] fix duplicate CONFIG_DMAR Makefile line Adrian Bunk
2007-07-03 0:30 ` Keshavamurthy, Anil S
2007-07-01 20:23 ` [-mm patch] make cpuidle_replace_governor() static Adrian Bunk
2007-07-01 20:23 ` 2.6.22-rc6-mm1: TUNER_TEA5761 kconfig fixes Adrian Bunk
2007-07-01 21:29 ` Michael Krufky
2007-07-01 20:23 ` [-mm patch] unexport bprm_mm_init Adrian Bunk
2007-07-01 20:23 ` [-mm patch] unionfs: make functions static Adrian Bunk
2007-07-02 1:42 ` Josef Sipek
2007-07-02 2:21 ` Satyam Sharma
2007-07-02 2:27 ` Adrian Bunk
2007-07-02 20:38 ` Josef Sipek
2007-07-01 20:23 ` [-mm patch] kernel/power/main.c: make code static Adrian Bunk
2007-07-01 23:12 ` Rafael J. Wysocki
2007-07-01 20:23 ` [-mm patch] make struct dccp_li_cachep static Adrian Bunk
2007-07-01 20:23 ` [-mm patch] unexport mmap_min_addr Adrian Bunk
2007-07-01 22:38 ` James Morris
2007-07-01 20:23 ` [-mm patch] remove security/selinux/hooks.c:enabled_mmap_min_addr Adrian Bunk
2007-07-01 22:39 ` James Morris
2007-07-01 20:24 ` [-mm patch] unexport dvb_pll_configure Adrian Bunk
2007-07-01 21:29 ` Michael Krufky
2007-07-04 19:00 ` 2.6.22-rc6-mm1: Xen + Numa = compile error Adrian Bunk
2007-07-05 0:32 ` [PATCH] xen: can't support numa yet Jeremy Fitzhardinge
2007-07-05 23:22 ` [-mm patch] arch/i386/xen/events.c should #include <asm/xen/hypervisor.h> Adrian Bunk
2007-07-06 0:10 ` Jeremy Fitzhardinge
2007-07-05 23:22 ` [-mm patch] arch/i386/xen/mmu.c must #include <linux/sched.h> Adrian Bunk
2007-07-06 0:08 ` Jeremy Fitzhardinge
2007-07-05 23:22 ` [-mm patch] make arch/i386/xen/mmu.c:xen_pgd_pin() static Adrian Bunk
2007-07-06 0:09 ` Jeremy Fitzhardinge
2007-07-05 23:23 ` [-mm patch] kernel/sched.c: make 2 functions static Adrian Bunk
2007-07-06 14:03 ` Tilman Schmidt [this message]
2007-07-06 16:45 ` kgdb Bad IO access (was: 2.6.22-rc6-mm1) Andrew Morton
2007-07-06 17:33 ` kgdb Bad IO access Jason Wessel
2007-07-06 17:51 ` Jason Wessel
2007-07-06 18:15 ` preemption counter havoc on kgdb-taken faults (was: kgdb Bad IO access) Jan Kiszka
2007-07-06 18:24 ` preemption counter havoc on kgdb-taken faults Jason Wessel
2007-07-06 19:19 ` Jan Kiszka
2007-07-06 21:31 ` 2.6.22-rc6-mm1 Badari Pulavarty
2007-07-07 1:50 ` 2.6.22-rc6-mm1: SLUB_DEBUG=n compile error Adrian Bunk
2007-07-07 2:03 ` Christoph Lameter
2007-07-07 2:09 ` Adrian Bunk
2007-07-07 2:13 ` Christoph Lameter
2007-07-07 2:01 ` 2.6.22-rc6-mm1: UNION_FS=y + BLOCK=n = " Adrian Bunk
2007-07-08 11:58 ` Erez Zadok
2007-07-07 8:03 ` 2.6.22-rc6-mm1: git-kgdb breaks sh compilation Adrian Bunk
2007-07-08 5:10 ` Jason Wessel
2007-07-07 21:11 ` [-mm patch] XFS: fix powerpc compat compile error Adrian Bunk
2007-07-09 22:56 ` [-mm patch] fix SND_CS5530=y, ISA=n compilation Adrian Bunk
2007-07-10 9:35 ` Takashi Iwai
2007-07-14 0:58 ` 2.6.22-rc6-mm1 Nish Aravamudan
2007-07-22 21:48 ` Oops with touch and unknown uid [was Re: 2.6.22-rc6-mm1] J.A. Magallón
2007-07-22 23:41 ` Randy Dunlap
2007-07-23 6:12 ` Andrew Morton
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=468E4BA5.8010601@imap.cc \
--to=tilman@imap.cc \
--cc=akpm@linux-foundation.org \
--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