lkml.org 
[lkml]   [2006]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.17-rc4-mm3 - kernel panic
From
Date
On Fri, 2006-05-26 at 09:15 +0200, Pavel Machek wrote:
> On Čt 25-05-06 17:04:18, Kristen Accardi wrote:
> > On Fri, 2006-05-26 at 00:17 +0200, Pavel Machek wrote:
> > > On Pá 26-05-06 00:12:22, Pavel Machek wrote:
> > > > Hi!
> > > >
> > > > > > Does the panic go away with CONFIG_ACPI_DOCK=n?
> > > >
> > > > > Can either Pavel or Andreas please try this little debugging patch and
> > > > > send me the dmesg output? Please enable the CONFIG_DEBUG_KERNEL option
> > > > > in your .config as well so that I can get additional info.
> > > >
> > > > Yep, you were right... this debugging patch helps.
> > >
> > > ...and docking +/- works, but it does not look like PCI in docking
> > > station is properly connected:
> > >
> >
> > No, I would not expect PCI to work properly with the debug patch -
> > basically all I did was prevent the oops and confirm that this is the
> > issue, I did not actually solve the problem.
> >
> > I need some way to prevent acpiphp from loading before dock is completed
> > it's init.
> >
> > I guess I will think about this some more.
>
> Using different _init levels? Like putting dock at subsys_initcall()
> while acpiphp at late_initcall()?
> Pavel

Can you see if this works for you? Revert the first debug patch I sent
and apply this one instead (against -mm).

Thanks,
Kristen


---
drivers/acpi/dock.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

--- 2.6-mm.orig/drivers/acpi/dock.c
+++ 2.6-mm/drivers/acpi/dock.c
@@ -190,6 +190,9 @@ static int is_dock(acpi_handle handle)
*/
int is_dock_device(acpi_handle handle)
{
+ if (!dock_station)
+ return 0;
+
if (is_dock(handle) || find_dock_dependent_device(dock_station, handle))
return 1;

@@ -674,5 +677,5 @@ static void __exit dock_exit(void)
dock_remove();
}

-module_init(dock_init);
+postcore_initcall(dock_init);
module_exit(dock_exit);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-05-26 20:20    [W:0.133 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site