From: Ingo Molnar <mingo@elte.hu>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [bug] block subsystem related crash with latest -git
Date: Wed, 17 Oct 2007 19:28:57 +0200 [thread overview]
Message-ID: <20071017172857.GA32066@elte.hu> (raw)
In-Reply-To: <20071017170804.GG15552@kernel.dk>
* Jens Axboe <jens.axboe@oracle.com> wrote:
> [...] It's always safe to zero sg, since it's a valid entry - nothing
> to save in ->page. Ingo, does this work for you?
with that patch it not crashes on NULL dereference - see crashlog below.
Compiler bug perhaps?
Ingo
---------------->
[ 34.605614] EXT3-fs: INFO: recovery required on readonly filesystem.
[ 34.611842] EXT3-fs: write access will be enabled during recovery.
[ 34.635861] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000008
[ 34.644227] printing eip: 7840840e *pde = 00000000
[ 34.649081] Oops: 0002 [#1] DEBUG_PAGEALLOC
[ 34.653239]
[ 34.654713] Pid: 1, comm: swapper Not tainted (2.6.23 #3)
[ 34.660086] EIP: 0060:[<7840840e>] EFLAGS: 00010046 CPU: 0
[ 34.665548] EIP is at blk_rq_map_sg+0x8e/0x190
[ 34.669965] EAX: 00000000 EBX: 7c885180 ECX: 00000004 EDX: 033b6000
[ 34.676205] ESI: 00001000 EDI: 00000008 EBP: 00000000 ESP: 7b4219b8
[ 34.682444] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 34.687818] Process swapper (pid: 1, ti=7b420000 task=7b416000 task.ti=7b420000)
[ 34.695010] Stack: 7b521d38 00000008 7c884000 7b520000 00002000 033b6000 7c885080 00000001
[ 34.703329] 00000001 7c885880 01000002 7c886e00 7b521d1c 7c8857c4 7b520000 784c7ae5
[ 34.711649] 7b520000 784c75ea 7c8857c4 7b524ce4 7b521d1c 7c8857c4 784e4590 7b416000
[ 34.719968] Call Trace:
[ 34.722568] [<784c7ae5>] scsi_init_io+0x55/0xe0
[ 34.727161] [<784c75ea>] scsi_get_cmd_from_req+0x2a/0x40
[ 34.732534] [<784e4590>] sd_prep_fn+0x80/0x940
[ 34.737041] [<7813661b>] __lock_acquire+0x4ab/0xe20
[ 34.741981] [<78135c9c>] trace_hardirqs_on+0x9c/0xb0
[ 34.747007] [<78770e30>] _spin_unlock_irq+0x20/0x30
[ 34.751946] [<78404633>] elv_dispatch_sort+0x23/0xe0
[ 34.756973] [<784041a0>] elv_next_request+0xa0/0x130
[ 34.761999] [<784c8c24>] scsi_request_fn+0x1e4/0x370
[ 34.767025] [<78120f02>] del_timer+0x62/0x70
[ 34.771358] [<784072d5>] __generic_unplug_device+0x25/0x30
[ 34.776905] [<784075a5>] generic_unplug_device+0x15/0x30
[ 34.782278] [<78404e0c>] blk_backing_dev_unplug+0xc/0x10
[ 34.787650] [<78181e76>] sync_buffer+0x26/0x40
[ 34.792157] [<7876f6c2>] __wait_on_bit+0x42/0x70
[ 34.796836] [<78181e50>] sync_buffer+0x0/0x40
[ 34.801256] [<78181e50>] sync_buffer+0x0/0x40
[ 34.805676] [<7876f74a>] out_of_line_wait_on_bit+0x5a/0x70
[ 34.811223] [<7812adb0>] wake_bit_function+0x0/0x60
[ 34.816163] [<78181db4>] __wait_on_buffer+0x24/0x30
[ 34.821102] [<78207a27>] jread+0x1b7/0x250
[ 34.825262] [<78207bcd>] do_one_pass+0x10d/0x600
[ 34.829942] [<78135c9c>] trace_hardirqs_on+0x9c/0xb0
[ 34.834968] [<7820823b>] journal_recover+0x9b/0x1a0
[ 34.839908] [<7820b811>] journal_load+0x51/0xf0
[ 34.844501] [<781e6914>] ext3_fill_super+0xdd4/0x1850
[ 34.849613] [<78411cef>] snprintf+0x1f/0x30
[ 34.853860] [<7819ce70>] disk_name+0xb0/0xc0
[ 34.858193] [<78163809>] get_sb_bdev+0x109/0x130
[ 34.862873] [<7815f300>] __kmalloc_node+0x80/0x90
[ 34.867639] [<781e3a80>] ext3_get_sb+0x20/0x30
[ 34.872146] [<781e5b40>] ext3_fill_super+0x0/0x1850
[ 34.877085] [<78163315>] vfs_kern_mount+0xb5/0x130
[ 34.881938] [<781633ed>] do_kern_mount+0x3d/0xe0
[ 34.886618] [<78177c57>] do_mount+0x5e7/0x710
[ 34.891038] [<78770fe5>] _spin_unlock_irqrestore+0x55/0x70
[ 34.896584] [<78135c9c>] trace_hardirqs_on+0x9c/0xb0
[ 34.901610] [<78110935>] change_page_attr+0x3d5/0x400
[ 34.906724] [<7811099a>] kernel_map_pages+0x3a/0x90
[ 34.911663] [<7814972f>] get_page_from_freelist+0x1ff/0x3e0
[ 34.917296] [<7814a2cf>] __alloc_pages+0x5f/0x380
[ 34.922063] [<7814a61e>] __get_free_pages+0x2e/0x50
[ 34.927002] [<78176660>] copy_mount_options+0x40/0x140
[ 34.932202] [<78177df2>] sys_mount+0x72/0xb0
[ 34.936535] [<78a14d39>] mount_block_root+0x89/0x260
[ 34.941561] [<7816b4c7>] sys_mknod+0x27/0x30
[ 34.945894] [<78a14f56>] mount_root+0x46/0x60
[ 34.950314] [<78a1501c>] prepare_namespace+0xac/0x170
[ 34.955427] [<7816000f>] sys_access+0x1f/0x30
[ 34.959846] [<78a147ae>] kernel_init+0x15e/0x280
[ 34.964526] [<78a14650>] kernel_init+0x0/0x280
[ 34.969033] [<78103a97>] kernel_thread_helper+0x7/0x10
[ 34.974233] =======================
[ 34.977785] Code: 44 24 20 88 44 24 2b eb 54 8d 74 26 00 83 44 24 04 10 8b 7c 24 04 8b 07 a8 01 0f 85 fb 00 00 00 31 c0 b9 04 00 00 00 8b 7c 24 04 <f3> ab 8b 03 8b 54 24 04 89 02 89 72 0c 8b 43 08 89 42 04 83 44
[ 34.996590] EIP: [<7840840e>] blk_rq_map_sg+0x8e/0x190 SS:ESP 0068:7b4219b8
[ 35.003525] Kernel panic - not syncing: Attempted to kill init!
next prev parent reply other threads:[~2007-10-17 17:29 UTC|newest]
Thread overview: 151+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 15:46 [bug] block subsystem related crash with latest -git Ingo Molnar
2007-10-17 15:50 ` Ingo Molnar
2007-10-17 16:32 ` Jens Axboe
2007-10-17 16:50 ` Linus Torvalds
2007-10-17 16:59 ` Jens Axboe
2007-10-17 17:08 ` Jens Axboe
2007-10-17 17:21 ` Jens Axboe
2007-10-17 17:29 ` Jens Axboe
2007-10-17 17:34 ` Ingo Molnar
2007-10-17 17:36 ` Jens Axboe
2007-10-17 17:45 ` [bug] ata " Ingo Molnar
2007-10-17 17:53 ` Jens Axboe
2007-10-17 17:55 ` Jens Axboe
2007-10-17 17:58 ` Ingo Molnar
2007-10-17 18:37 ` Jens Axboe
2007-10-17 19:04 ` Ingo Molnar
2007-10-17 19:08 ` Jens Axboe
2007-10-17 19:14 ` Ingo Molnar
2007-10-17 19:17 ` Ingo Molnar
2007-10-17 19:25 ` Jens Axboe
2007-10-17 19:25 ` Jens Axboe
2007-10-17 19:09 ` Ingo Molnar
2007-10-17 19:28 ` Linus Torvalds
2007-10-17 19:35 ` Jens Axboe
2007-10-17 19:45 ` Linus Torvalds
2007-10-17 19:56 ` Jens Axboe
2007-10-17 20:06 ` Jens Axboe
2007-10-17 20:24 ` Linus Torvalds
2007-10-17 20:31 ` Jens Axboe
2007-10-17 21:11 ` Linus Torvalds
2007-10-17 23:00 ` FUJITA Tomonori
2007-10-18 1:07 ` Linus Torvalds
2007-10-18 1:14 ` Jeff Garzik
2007-10-18 1:19 ` David Miller
2007-10-18 1:36 ` Linus Torvalds
2007-10-18 1:49 ` David Miller
2007-10-18 3:44 ` Mark Lord
2007-10-18 4:01 ` Linus Torvalds
2007-10-18 4:05 ` Mark Lord
2007-10-18 4:14 ` Jeff Garzik
2007-10-18 4:18 ` Mark Lord
2007-10-18 4:31 ` Jeff Garzik
2007-10-18 4:41 ` Mark Lord
2007-10-18 4:53 ` Linus Torvalds
2007-10-18 7:05 ` Jens Axboe
2007-10-18 13:13 ` Mark Lord
2007-10-18 13:23 ` Jens Axboe
2007-10-18 13:32 ` Mark Lord
2007-10-18 13:34 ` Jens Axboe
2007-10-18 13:59 ` Mark Lord
2007-10-18 14:04 ` Jens Axboe
2007-10-18 4:45 ` Linus Torvalds
2007-10-18 4:54 ` Mark Lord
2007-10-18 5:09 ` Mark Lord
2007-10-18 4:20 ` Linus Torvalds
2007-10-18 5:25 ` Mark Lord
2007-10-18 5:34 ` Mark Lord
2007-10-18 5:45 ` Jeff Garzik
2007-10-18 7:09 ` Jens Axboe
2007-10-18 7:30 ` Jeff Garzik
2007-10-18 8:21 ` Jens Axboe
2007-10-18 11:55 ` David Miller
2007-10-18 11:57 ` Jens Axboe
2007-10-18 12:05 ` David Miller
2007-10-18 12:09 ` Jens Axboe
2007-10-18 12:15 ` Jens Axboe
2007-10-18 12:36 ` David Miller
2007-10-18 12:39 ` Jens Axboe
2007-10-18 12:58 ` Benny Halevy
2007-10-18 13:56 ` Jens Axboe
2007-10-18 14:05 ` Jens Axboe
2007-10-18 14:16 ` Benny Halevy
2007-10-18 14:38 ` Jens Axboe
2007-10-18 14:58 ` Olof Johansson
2007-10-18 15:25 ` Jens Axboe
2007-10-18 12:58 ` Jens Axboe
2007-10-18 13:32 ` Jens Axboe
2007-10-18 13:49 ` Benny Halevy
2007-10-18 13:55 ` Jens Axboe
2007-10-18 13:51 ` Mark Lord
2007-10-18 13:58 ` Jens Axboe
2007-10-18 14:03 ` Mark Lord
2007-10-18 14:10 ` Mark Lord
2007-10-18 14:13 ` Mark Lord
2007-10-18 14:14 ` Jens Axboe
2007-10-18 16:55 ` Linus Torvalds
2007-10-18 17:01 ` Jens Axboe
2007-10-18 17:10 ` Jens Axboe
2007-10-18 17:10 ` Arjan van de Ven
2007-10-18 17:14 ` Jens Axboe
2007-10-19 8:59 ` FUJITA Tomonori
2007-10-18 19:20 ` Jeff Garzik
2007-10-17 20:51 ` Ingo Molnar
2007-10-17 19:49 ` Jens Axboe
2007-10-17 20:05 ` Ingo Molnar
2007-10-17 20:10 ` Linus Torvalds
2007-10-18 7:07 ` Ingo Molnar
2007-10-18 7:10 ` Jens Axboe
2007-10-18 8:22 ` Jeff Garzik
2007-10-18 8:32 ` Jens Axboe
2007-10-18 8:38 ` Jeff Garzik
2007-10-18 8:51 ` Jeff Garzik
2007-10-18 9:01 ` Jeff Garzik
[not found] ` <bd58e4af0710180210tcc0d31ep9d05a0f2e9d6df29@mail.gmail.com>
2007-10-18 9:14 ` Jeff Garzik
2007-10-18 9:17 ` Jens Axboe
2007-10-18 9:32 ` Jeff Garzik
2007-10-18 9:41 ` Jens Axboe
2007-10-18 10:04 ` Jeff Garzik
2007-10-18 10:10 ` Jens Axboe
2007-10-18 10:13 ` Ingo Molnar
2007-10-18 10:16 ` Jens Axboe
2007-10-18 10:17 ` Jens Axboe
2007-10-18 10:49 ` Ingo Molnar
2007-10-18 10:50 ` Jeff Garzik
2007-10-18 10:56 ` Jens Axboe
2007-10-18 10:42 ` [PATCH] " Jeff Garzik
2007-10-18 10:54 ` Ingo Molnar
2007-10-18 11:02 ` Jeff Garzik
2007-10-18 11:40 ` Ingo Molnar
2007-10-18 14:52 ` Olof Johansson
2007-10-20 11:55 ` Torsten Kaiser
2007-10-18 11:03 ` Ingo Molnar
2007-10-18 11:05 ` Jens Axboe
2007-10-17 19:42 ` Linus Torvalds
2007-10-17 19:55 ` Jens Axboe
2007-10-17 18:08 ` Linus Torvalds
2007-10-17 18:13 ` Ingo Molnar
2007-10-17 17:56 ` [bug] block " Linus Torvalds
2007-10-17 18:02 ` Jens Axboe
2007-10-17 18:13 ` Linus Torvalds
2007-10-17 18:20 ` Jens Axboe
2007-10-17 18:58 ` Linus Torvalds
2007-10-17 19:03 ` Jens Axboe
2007-10-17 19:15 ` Linus Torvalds
2007-10-17 18:02 ` Ingo Molnar
2007-10-17 18:14 ` Linus Torvalds
2007-10-17 20:15 ` Luca Tettamanti
2007-10-17 17:30 ` Ingo Molnar
2007-10-17 17:31 ` Jens Axboe
2007-10-17 17:28 ` Ingo Molnar [this message]
2007-10-17 17:52 ` Linus Torvalds
2007-10-17 18:00 ` Jens Axboe
2007-10-17 18:18 ` Linus Torvalds
2007-10-17 18:22 ` Jens Axboe
2007-10-18 10:52 ` Benny Halevy
2007-10-18 10:55 ` Jens Axboe
2007-10-18 12:03 ` David Miller
2007-10-18 12:28 ` Jens Axboe
2007-10-17 18:22 ` Linus Torvalds
2007-10-17 18:40 ` Jens Axboe
2007-10-17 17:11 ` Ingo Molnar
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=20071017172857.GA32066@elte.hu \
--to=mingo@elte.hu \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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.