[lkml]   [1998]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: printk() problems? [2.0.34]
> I think you should try to comment out all printk() in interrupt handlers
> and see if the machine will continue to lockup.
> Andrea[s] Arcangeli

I put all the printk()'s in there because the machine was locking up.
Anyway, the printk() problem was actually a klogd problem (wasn't reading
the buffer as fast as it was filling) and I'm now starting to suspect my
Xircom card more than the software since it seems to process the last
interrupt perfectly fine, do an enable interrupts, then never recieve
another interrupt (while transmitting still works, tho). I'm about to
try and lock it up in Win95 before putting yet more debugging in.

Also, printk() does a cli() at the beginning and a restore_flags() at the end;
while it may not be SMP-safe, that sure seems interrupt-safe to me.

asmlinkage int printk(const char *fmt, ...)
va_list args;
int i;
char *msg, *p, *buf_end;
static char msg_level = -1;
long flags;

return i;

Am I missing something obvious here?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:43    [W:0.049 / U:5.160 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site