[lkml]   [2008]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot
> > > So what's the reason for pushing for this insanely-early workaround in the
> > > first place, instead of letting user-space do something like
> > >
> > > cat my-dsdt-image > /proc/sys/acpi/DSDT
> > >
> > > or whatever at runtime?
> >
> > You have interpretted code runing (AML), and you want to replace it
> > with different code?
> >
> > Akin to changing from one kernel to different during runtime?
> Heh. That gave me an idea.
> Can we use kexec for this? Let's say you get as far in boot as the
> initrd and realize that you're running on one of these screwed up
> systems. Can you stick the new DSDT somewhere known (and safe) in
> memory, and kexec yourself back to the beginning of the kernel boot?
> When you boot up the second time, you have the new, shiny DSDT there
> which is, of course, used instead of the bogus BIOS one.
> It costs you some bootup time, but we're talking about working around
> really busted hardware here.

Hmmm. I guess we should turn off acpi mode, kexec, turn on acpi mode
with new dsdt.

Turning off acpi is not exactly easy, but specs describe how to do

So yes, this is hard but doable.

(cesky, pictures)

 \ /
  Last update: 2008-03-24 17:05    [W:0.137 / U:0.884 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site