public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	Rusty Russell <rusty@rustcorp.com.au>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kobject: delayed kobject release: help find buggy drivers
Date: Thu, 5 Sep 2013 14:13:56 -0400	[thread overview]
Message-ID: <20130905181356.GA7309@redhat.com> (raw)
In-Reply-To: <20130905173540.GK6617@n2100.arm.linux.org.uk>

On Thu, Sep 05, 2013 at 06:35:40PM +0100, Russell King - ARM Linux wrote:
 > On Thu, Sep 05, 2013 at 01:19:45AM -0400, Dave Jones wrote:
 > > Got it. (I think I was getting tracebacks from multiple cpus, hence
 > > the spewing). Adding a check for tainted() = infinite loop to
 > > show_backtrace() combined with boot_delay gave me a really long oops
 > > that I had to grab video to record.
 > 
 > How complete is this trace?  If accurate, I suspect that this is an oops
 > caused by the timer expiring, but the memory associated with the timer
 > has already been overwritten.  That would make it particularly hard to
 > debug.

There were some '?' symbols in the trace too which I omitted last night.
(offsets left out, because I'm hand-transcribing from video) 

<IRQ>
? call_timer_fn
? call_timer_fn
run_timer_softirq
__do_softirq
irq_exit
smp_apic_timer_interrupt
apic_timer_interrupt
<EOI>
? touch_nmi_watchdog
? touch_nmi_watchdog
vprintk_emit
? create_syslog_header
dev_vprintk_emit
? dump_trace
? trace_hardirqs_off_caller
? trace_hardirqs_off_caller
dev_print_emit
? trace_hardirqs_off_caller
__dev_printk
_dev_info
? trace_hardirqs_off
ahci_print_info
ahci_init_one
local_pci_probe
pci_device_probe
driver_probe_device
__driver_attach
? __device_attach
bus_for_each_dev
driver_attach
bus_add_driver
? ata_sff_init
driver_register
__pci_register_driver
ahci_pci_driver_init
do_one_initcall
? parse_args
kernel_init_freeable
? do_early_param
? rest_init
kernel_init
ret_from_fork
? rest_init

 > Maybe the patch below will allow Dave to boot to a prompt and capture
 > the full dmesg - I've only just cooked up this patch so it may need
 > a bit of work to get it to build.  Please ensure that kobject debugging
 > is enabled, so we can translate from kobject addresses to names.
 > 
 > Dave - thanks for your patience and effort in trying to track this down.
 > Hopefully the patch below will make it easier.

building now.

Thanks,

	Dave


  reply	other threads:[~2013-09-05 18:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130903185924.046EE660E91@gitolite.kernel.org>
2013-09-03 20:44 ` kobject: delayed kobject release: help find buggy drivers Dave Jones
2013-09-03 20:55   ` Greg KH
2013-09-04  5:23     ` Rusty Russell
2013-09-05  4:13       ` Dave Jones
2013-09-05  4:57         ` Greg KH
2013-09-05  5:00           ` Dave Jones
2013-09-05  5:19           ` Dave Jones
2013-09-05 15:34             ` Greg KH
2013-09-05 15:47               ` Dave Jones
2013-09-05 17:35             ` Russell King - ARM Linux
2013-09-05 18:13               ` Dave Jones [this message]
2013-09-05 19:29               ` Dave Jones
2013-09-05 21:11                 ` Dave Jones
2013-09-05 21:26                   ` Dave Jones
2013-09-05 21:44                     ` Russell King - ARM Linux
2013-09-06  1:11                       ` Dave Jones
2013-09-06  7:59                         ` Russell King - ARM Linux

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=20130905181356.GA7309@redhat.com \
    --to=davej@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=rusty@rustcorp.com.au \
    /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