All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: switching linux kernels
@ 2000-09-26 18:24 Julia Elbert
  2000-09-26 19:19 ` printk() ? Zhaobin Zhu
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Elbert @ 2000-09-26 18:24 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Thanks Dan and Graham.
I am in the process of switching to 2.2.14. But, just for your knowledge, my
bug was fixed by turning off the Copy-Back Data Cache fixed my problem.
Now, back to my move to 2.2.14.
Thank you again,
Julia

		-----Original Message-----
		From:	Julia Elbert [mailto:jelbert@enerdyne.com]
		Sent:	Tuesday, September 26, 2000 9:59 AM
		To:	'Dan Malek'; 'linuxppc-embedded@lists.linuxppc.org'
		Subject:	RE: switching linux kernels


		Hi Dan,
		We don't need caching, can we turn it off?
		Thanks.

				-----Original Message-----
				From:	Dan Malek [mailto:dan@mvista.com]
				Sent:	Tuesday, September 26, 2000 8:55 AM
				To:	Julia Elbert
				Cc:
'linuxppc-embedded@lists.linuxppc.org'
				Subject:	Re: switching linux kernels


				Julia Elbert wrote:

				>                 I am switching to HardHat
2.2.13 from ppc
		2.2.13.

				> .....whatsoever, just the data is
corrupted some how.


				Depending upon the flavor of the day ppc
2.2.13, it could be
		a cache
				configuration difference.  The old 2.2.13
kernels often had
		the data
				cache in the write-through mode to avoid a
variety of bugs
		in both
				hardware and software.

				The HHLinux 2.2.13 (and all later kernels)
run with
		copy-back data
				cache and subsequent silicon errata fixes,
so there may be a
		cache
				coherency hole in the way your driver
manages it's space.


					-- Dan

				** Sent via the linuxppc-embedded mail list.
See
		http://lists.linuxppc.org/

		** Sent via the linuxppc-embedded mail list. See
http://lists.linuxppc.org/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* printk() ?
  2000-09-26 18:24 switching linux kernels Julia Elbert
@ 2000-09-26 19:19 ` Zhaobin Zhu
  2000-09-27 19:47   ` Tom Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Zhaobin Zhu @ 2000-09-26 19:19 UTC (permalink / raw)
  Cc: 'linuxppc-embedded@lists.linuxppc.org'


Hi,

Where does printk() in linux kernel send message to ?

In which file I can find it ?

Thanks,

-
Zhaobin


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: printk() ?
  2000-09-26 19:19 ` printk() ? Zhaobin Zhu
@ 2000-09-27 19:47   ` Tom Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Roberts @ 2000-09-27 19:47 UTC (permalink / raw)
  To: Zhaobin Zhu; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


Zhaobin Zhu wrote:
> Where does printk() in linux kernel send message to ?

It normally prints to the syslogd facility, which by default makes it come
out in the file /var/log/messages and also for important enough messages
comes out on the console. Note that if you write your own console driver,
you probably need to write _two_ drivers: the actual console driver used
by printk (the read routine seems to be unused), and a serial I/O driver
which will be opened by the kernel for the init process. Console drivers
themselves do not appear in the filesystem, but are registered via
register_console(). The serial I/O device needs to appear in the filesystem
for the kernel to open it for init, so should be a standard char device.


> In which file I can find it ?

kernel/printk.c


Tom Roberts	tjroberts@lucent.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* printk %%
@ 2008-02-12 20:41 Ferenc Wagner
  0 siblings, 0 replies; 4+ messages in thread
From: Ferenc Wagner @ 2008-02-12 20:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: wferi

Hi,

Looking at http://lxr.linux.no/linux/lib/vsprintf.c#L549 (where
vsnprintf in linux/lib/vsprintf.c parses the % format specifier)
suggests that the printk format string in
http://lxr.linux.no/linux/drivers/ide/setup-pci.c#L657 is correct:

    printk(KERN_INFO "%s: not 100%% native mode: "
            "will probe irqs later\n", d->name);

Still, in my kern.log the percent sign is doubled:

    ICH4: not 100%% native mode: will probe irqs later

Why?
-- 
Regards,
Feri.

(Please Cc: me, I'm not on the list.)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-12 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-26 18:24 switching linux kernels Julia Elbert
2000-09-26 19:19 ` printk() ? Zhaobin Zhu
2000-09-27 19:47   ` Tom Roberts
  -- strict thread matches above, loose matches on Subject: below --
2008-02-12 20:41 printk %% Ferenc Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.