Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* linux/alpha 2.1.102 dies in die_if_kernel
@ 1998-10-23 20:20 Stephen Williams
  0 siblings, 0 replies; only message in thread
From: Stephen Williams @ 1998-10-23 20:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: axp-list


I'm experiencing lockups on my PC164. I finally got it to happen
without an X display, so I was able to get some information, and
I see in the Oops trace the die_if_kernel message from traps.c
The following is the little bit of code that seems to be printing
that message:

	if (current->tss.flags & (1UL << 63)) {
		printk("die_if_kernel recursion detected.\n");
		sti();
		while (1);
	}

That while loop sure would do it. It looks like an Oops oopsed. The
call to die_if_kernel is from do_page_fault in arch/alpha/mm/fault.c.
I got the "Unable to handle paging request at virtual address XXX"
message from this code:

	printk(KERN_ALERT "Unable to handle kernel paging request at "
	       "virtual address %016lx\n", address);
	die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16);
	do_exit(SIGKILL);

I didn't write down the actual address, but I think it was an "8". Sure
sounds broken.

The trace looks like this all together:

	close_fp
	do_exit
	die_if_kernel
	do_page_fault
	entMM
	sys_ioctl
	strace

Yes, this program is being run under gdb. There is a chance that my
driver is at fault, although it generally works very well and I've been
running it in a variety of situations. I have no immediate reason to
doubt it, although it *does* support mmap. Still, I can't imagine why
the kernel would be page-faulting.

I will try to repeat this under more recent kernels, but note that 2.1.125
doesn't even compile for me. (egcs 1.1)
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-23 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-23 20:20 linux/alpha 2.1.102 dies in die_if_kernel Stephen Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox