[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC



Hi Russell,

> I'm now trying to disable all drivers shows up in the kobject_release 
> messages:
> 
> [    2.756392] kobject: 'ipmi_si' (ffff880007764a00): kobject_release, parent 
> ffff8800001b7648 (delayed)
> [    2.758091] kobject: 'ipmi_si' (ffff880007764800): kobject_release, parent 
> ffff880000221248 (delayed)
> [    2.759858] kobject: 'ipmi_si' (ffff880007764c00): kobject_release, parent 
> ffff880000189248 (delayed)
> [    2.929669] kobject: 'drm' (ffff880006db2848): kobject_release, parent 
> ffff880000189648 (delayed)
> [    2.932143] kobject: 'drm' (ffff880006daf000): kobject_release, parent     
>       (null) (delayed)
> [    2.941844] kobject: 'controlD64' (ffff880006db2020): kobject_release, 
> parent           (null) (delayed)
> [    2.958432] kobject: 'parport_pc.956' (ffff880006db2020): kobject_release, 
> parent           (null) (delayed)
> [    2.965698] kobject: 'parport_pc.888' (ffff880006dc5820): kobject_release, 
> parent           (null) (delayed)
> [    2.972583] kobject: 'parport_pc.632' (ffff880006dc5020): kobject_release, 
> parent           (null) (delayed)
> [    3.031704] kobject: 'physmap-flash' (ffff880006ddc800): kobject_release, 
> parent ffff880000189248 (delayed)
> [    3.055119] kobject: 'docg3' (ffff880006de3c00): kobject_release, parent 
> ffff880000189248 (delayed)
> [    3.496256] kobject: 'gpio-vbus' (ffff880006817400): kobject_release, 
> parent ffff880000189248 (delayed)
> [    3.619023] kobject: '(null)' (ffff88000777baf0): kobject_release, parent  
>          (null) (delayed)
> [    3.657587] kobject: 'proc-osm' (ffff88000684be00): kobject_release, 
> parent ffff880006849848 (delayed)
> [    3.662546] kobject: 'mc13xxx-rtc' (ffff880006851e00): kobject_release, 
> parent ffff880000189248 (delayed)
> [    3.669144] kobject: 'rtc-msm6242' (ffff880006851c00): kobject_release, 
> parent ffff880000189248 (delayed)
> [    3.677494] kobject: 'pcap-rtc' (ffff880006851a00): kobject_release, 
> parent ffff880000189248 (delayed)
> [    3.680280] kobject: 'rtc-rp5c01' (ffff880006855a00): kobject_release, 
> parent ffff880000189248 (delayed)
> [    3.750200] kobject: 'mc13783-adc' (ffff880007707000): kobject_release, 
> parent ffff880000189248 (delayed)
 
I find the above debug messages very helpful in locating the buggy
driver. How about enabling it whenever CONFIG_DEBUG_KOBJECT_RELEASE is
enabled? Something like

 #ifdef CONFIG_DEBUG_KOBJECT_RELEASE
-       pr_debug("kobject: '%s' (%p): %s, parent %p (delayed)\n",
+       printk(KERN_INFO "kobject: '%s' (%p): %s, parent %p (delayed)\n",
                 kobject_name(kobj), kobj, __func__, kobj->parent);

pr_debug() won't be displayed by default, and it depends on
CONFIG_DYNAMIC_DEBUG.

> with some manual bisects, I find a good config (attached) that can
> reliably boot the kernel up.
> 
> Based on that config, I tried adding parport_pc and see that it still
> boots fine.
> 
> Adding drm, however will bring back the oops. Will try a kernel based
> on the original kconfig with drm disabled only.

Thanks,
Fengguang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.