Re: [RFC/PATCH] Make printk work for really early debugging

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

 



On Thursday 18 May 2006 17:41, Michael Ellerman wrote:
> On Thu, 2006-05-18 at 15:55 +0200, Andi Kleen wrote:
> > Michael Ellerman <[email protected]> writes:
> > 
> > > Currently printk is no use for early debugging because it refuses to actually
> > > print anything to the console unless cpu_online(smp_processor_id()) is true.
> > 
> > On x86-64 this is simply solved by setting the boot processor online very early.
> 
> Yeah, someone suggested that. Unfortunately it doesn't work, we actually
> want to call printk before we even know which cpu we're on :D

You mean smp_processor_id() returns a random value?

Then your patch is broken too because iirc it tested smp_processor_id()
before that other flag

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux