All of lore.kernel.org
 help / color / mirror / Atom feed
From: Reuben Farrelly <reuben-lkml@reub.net>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.12-mm2
Date: Mon, 27 Jun 2005 19:47:43 +1200	[thread overview]
Message-ID: <42BFAF1F.8050201@reub.net> (raw)
In-Reply-To: <20050627002429.40231fdf.akpm@osdl.org>

Hi,

On 27/06/2005 7:24 p.m., Andrew Morton wrote:
> Reuben Farrelly <reuben-lkml@reub.net> wrote:
>> ...
>>
>> Some bad stuff seems to be happening here (this is new to -mm2; -mm1 did not 
>> have this problem).
>>
>> It's 100% reproduceable, although seems to happen at slightly different places 
>> in the bootup, especially at the end.  Did I miss a patch for this?
>>
> 
> Why do you keep breaking my kernel?

Sadistic enjoyment ;-)

>> Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
>> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>   [<c0103ad0>] dump_stack+0x17/0x19
>>   [<c01cab4b>] spin_bug+0x5b/0x67
>>   [<c01cac9c>] _raw_spin_lock+0x78/0x7a
>>   [<c0314ad9>] _spin_lock+0x8/0xa
>>   [<c0313370>] schedule+0x6c0/0xd68
>>   [<c0100d31>] cpu_idle+0x64/0x66
>>   [<c01002c5>] rest_init+0x25/0x27
>>   [<c03fe8af>] start_kernel+0x154/0x167
>>   [<c010020f>] 0xc010020f
>> Kernel panic - not syncing: bad locking
> 
> That's odd - we lost a printk there:
> 
> 	printk("BUG: spinlock %s on CPU#%d, %s/%d, %p\n", msg,
> 		smp_processor_id(), current->comm, current->pid, lock);
> 
> which is a shame, because it would have told us stuff.  Do you have any
> traces which do have that message?

Uh. Likely got munged within hyperterm.

Here's a better one just created using QVT:

usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 3-1: new full speed USB device using uhci_hcd and address 2
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
usbcore: registered new driver hiddev
usb 4-1: new full speed USB device using uhci_hcd and address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 
proto 2 vid 0x03F0 pid 0x6204
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
input: PC Speaker
md: raid1 personality registered as nr 3
md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 3.38
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 24Kbytes
TCP established hash table entries: 32768 (order: 7, 786432 bytes)
TCP bind hash table entries: 32768 (order: 7, 655360 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered
GRE over IPv4 tunneling driver
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 212 bytes per conntrack
usb 3-1.1: new low speed USB device using uhci_hcd and address 3
BUG: spinlock recursion on CPU#0, swapper/0, c1407160
  [<c0103ad0>] dump_stack+0x17/0x19
  [<c01cab4b>] spin_bug+0x5b/0x67
  [<c01cac9c>] _raw_spin_lock+0x78/0x7a
  [<c0314ad9>] _spin_lock+0x8/0xa
  [<c0117399>] scheduler_tick+0xd0/0x37c
  [<c01256b3>] update_process_times+0x58/0xd7
  [<c0110f50>] smp_apic_timer_interrupt+0xde/0xe0
  [<c0103614>] apic_timer_interrupt+0x1c/0x24
  [<c0100d1e>] cpu_idle+0x51/0x66
  [<c01002c5>] rest_init+0x25/0x27
  [<c03fe8af>] start_kernel+0x154/0x167
  [<c010020f>] 0xc010020f
Kernel panic - not syncing: bad locking
  Badness in smp_call_function at arch/i386/kernel/smp.c:553
  [<c0103ad0>] dump_stack+0x17/0x19
  [<c010f980>] smp_call_function+0x137/0x13c
  [<c010fb49>] smp_send_stop+0x1e/0x27
  [<c011c2cf>] panic+0x4c/0x102
  [<c01cab57>] __spin_lock_debug+0x0/0xcd
  [<c01cac9c>] _raw_spin_lock+0x78/0x7a
  [<c0314ad9>] _spin_lock+0x8/0xa
  [<c0117399>] scheduler_tick+0xd0/0x37c
  [<c01256b3>] update_process_times+0x58/0xd7
  [<c0110f50>] smp_apic_timer_interrupt+0xde/0xe0
  [<c0103614>] apic_timer_interrupt+0x1c/0x24
  [<c0100d1e>] cpu_idle+0x51/0x66
  [<c01002c5>] rest_init+0x25/0x27
  [<c03fe8af>] start_kernel+0x154/0x167
  [<c010020f>] 0xc010020f

> Anyway, scary trace.  It look like some spinlock is thought to be in the
> wrong state in schedule().  Send the .config, please.

Now online at  http://www.reub.net/kernel/.config

Reuben


  reply	other threads:[~2005-06-27  7:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.h6rvsi4.j68fhk@ifi.uio.no>
2005-06-27  6:44 ` 2.6.12-mm2 Reuben Farrelly
2005-06-27  7:24   ` 2.6.12-mm2 Andrew Morton
2005-06-27  7:47     ` Reuben Farrelly [this message]
2005-06-27  8:22       ` 2.6.12-mm2 Andrew Morton
2005-06-27  9:37         ` 2.6.12-mm2 Ingo Molnar
2005-06-27 21:14           ` 2.6.12-mm2 Andrew Morton
2005-06-28  7:30             ` 2.6.12-mm2 Ingo Molnar
2005-06-27  9:48         ` [patch] spinlock-debug fix Ingo Molnar
2005-06-27 10:57           ` Reuben Farrelly
2005-06-26 11:03 2.6.12-mm2 Andrew Morton
2005-06-26 11:42 ` 2.6.12-mm2 Russell King
2005-06-26 23:17   ` 2.6.12-mm2 Grant Coady
2005-06-27  8:11     ` 2.6.12-mm2 Russell King
2005-06-26 12:04 ` 2.6.12-mm2 Michał Piotrowski
2005-06-26 14:18 ` 2.6.12-mm2 Adam Kropelin
2005-06-26 19:25   ` 2.6.12-mm2 Andrew Morton
2005-06-26 19:39     ` 2.6.12-mm2 Vojtech Pavlik
2005-06-27 13:13     ` 2.6.12-mm2 Vojtech Pavlik
2005-06-26 19:51 ` 2.6.12-mm2 Brice Goglin
2005-06-27  0:44 ` 2.6.12-mm2 J.A. Magallon
2005-06-27  0:56   ` 2.6.12-mm2 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=42BFAF1F.8050201@reub.net \
    --to=reuben-lkml@reub.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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.