Re: panic: kernel trap doesn't have ucred

2001-12-12 Thread Bruce Evans

On Tue, 11 Dec 2001, Georg-W Koltermann wrote:

 I get a panic kernel trap doesn't have ucred when I try to install
 Linux ORACLE 8.1.7.

Looks like the trap handling for invalid segment registers on return to
user mode is broken.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: panic: kernel trap doesn't have ucred

2001-12-12 Thread John Baldwin


On 12-Dec-01 Bruce Evans wrote:
 On Tue, 11 Dec 2001, Georg-W Koltermann wrote:
 
 I get a panic kernel trap doesn't have ucred when I try to install
 Linux ORACLE 8.1.7.
 
 Looks like the trap handling for invalid segment registers on return to
 user mode is broken.

That would panic in that case, yes.  For now that KASSERT() can just be
commented out until I figure out how to make that a more proper assert.

 Bruce

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



panic: kernel trap doesn't have ucred

2001-12-11 Thread Georg-W Koltermann

Hi,

I get a panic kernel trap doesn't have ucred when I try to install
Linux ORACLE 8.1.7.

The ORACLE installation program is a JAVA application and only seems
to work with the included JRE (the IBM 1.1.8 JRE according to the
LICENSE file).

The JRE is using native Linux threads, and I know I the FreeBSD
linuxulator doesn't completely support Linux threads.  It shouldn't
panic, however.

-current was CVSuped on 12/6 at 6 p.m. CET.

Any clues from the stack trace below?  Anything else I should provide?

--
Regards,
Georg.

hunter# gdb -k /usr/obj/usr/src/sys/HUNTER/kernel.debug vmcore.5
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...
IdlePTD 4333568
initial pcb at 330560
panicstr: kernel trap doesn't have ucred
panic messages:
---
panic: kernel trap doesn't have ucred
panic: kernel trap doesn't have ucred
Uptime: 9h57m30s
dumping to dev ad0s2b, offset 2000128
dump ata0: resetting devices .. done
1023 1022 1021 1020 (--snip--)

---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:492
492 if (!dodump)
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:492
#1  0xc019b6e3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:335
#2  0xc019bb1d in panic (fmt=0xc02dfec0 kernel trap doesn't have ucred)
at /usr/src/sys/kern/kern_shutdown.c:634
#3  0xc0296660 in trap (frame={tf_fs = 24, tf_es = -1070792688, tf_ds = 16, 
  tf_edi = 0, tf_esi = 256, tf_ebp = -570946320, tf_isp = -570946352, 
  tf_ebx = 514, tf_edx = -1070159328, tf_ecx = 0, tf_eax = 18, 
  tf_trapno = 3, tf_err = 0, tf_eip = -1071077920, tf_cs = 8, 
  tf_eflags = 70, tf_esp = -1070736513, tf_ss = -1070870117})
at /usr/src/sys/i386/i386/trap.c:412
#4  0xc028a5e0 in Debugger (msg=0xc02bd19b panic) at machine/cpufunc.h:63
#5  0xc019bb08 in panic (fmt=0xc02dfec0 kernel trap doesn't have ucred)
at /usr/src/sys/kern/kern_shutdown.c:621
#6  0xc0296660 in trap (frame={tf_fs = -1072168945, tf_es = -1088487377, 
  tf_ds = -1071120337, tf_edi = -1088422624, tf_esi = 3, 
  tf_ebp = -1088422712, tf_isp = -570946200, tf_ebx = 17, tf_edx = 16, 
  tf_ecx = -1088422668, tf_eax = 3, tf_trapno = 9, tf_err = 28, 
  tf_eip = -1071071377, tf_cs = 8, tf_eflags = 65666, tf_esp = 673044849, 
  tf_ss = 31}) at /usr/src/sys/i386/i386/trap.c:412
#7  0xc028bf6f in doreti_iret ()
#8  0x281dd9d4 in ?? ()
#9  0x281dc55a in ?? ()
#10 0x2807feca in ?? ()
(kgdb) 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message