Hi ..

if i try to run /etc/rc of my jail with the following:

/usr/sbin/jail /extra/panic  panic 192.168.10.7 /bin/sh /etc/rc

i get an panic on: 

FreeBSD du.1st.dudi.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jun  9
19:02:27 CEST 2000
[EMAIL PROTECTED]:/usr/src2/sys/compile/1st.dummynet  i386

snap of gdb -k :

(23:24:16):root:1st.debug# gdb -k
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".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.3
(kgdb) core-file /var/crash/vmcore.3
IdlePTD 3153920
initial pcb at 284fc0
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01705b5
stack pointer           = 0x10:0xca35dee8
frame pointer           = 0x10:0xca35def4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 33996 (inetd)
interrupt mask          = none
panic: from debugger
panic: from debugger
Uptime: 14m45s

dumping to dev #ad/0x20011, offset 262144
dump ata1: resetting devices .. done
128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111
110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90
89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40
39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15
14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=260) at ../../kern/kern_shutdown.c:303
303                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:303
#1  0xc01522c9 in panic (fmt=0xc0236bd4 "from debugger")
    at ../../kern/kern_shutdown.c:553
#2  0xc0128f7d in db_panic (addr=-1072233035, have_addr=0, count=-1, 
    modif=0xca35dd54 "") at ../../ddb/db_command.c:433
#3  0xc0128f1b in db_command (last_cmdp=0xc0266b5c, cmd_table=0xc02669bc, 
    aux_cmd_tablep=0xc0280f48) at ../../ddb/db_command.c:333
#4  0xc0128fe2 in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc012b247 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#6  0xc020e0da in kdb_trap (type=12, code=0, regs=0xca35dea8)
    at ../../i386/i386/db_interface.c:158
#7  0xc021a634 in trap_fatal (frame=0xca35dea8, eva=4)
    at ../../i386/i386/trap.c:922
#8  0xc021a2fd in trap_pfault (frame=0xca35dea8, usermode=0, eva=4)
    at ../../i386/i386/trap.c:820
#9  0xc0219eaf in trap (frame={tf_fs = -1072431088, tf_es = 16, 
      tf_ds = -912982000, tf_edi = 2, tf_esi = 0, tf_ebp = -902439180, 
      tf_isp = -902439212, tf_ebx = 0, tf_edx = -902439128, tf_ecx = 0, 
      tf_eax = -912942112, tf_trapno = 12, tf_err = 0, tf_eip =
-1072233035, 
      tf_cs = 8, tf_eflags = 66050, tf_esp = 0, tf_ss = -902439040})
    at ../../i386/i386/trap.c:426
#10 0xc01705b5 in socreate (dom=28, aso=0xca35df20, type=2, proto=0, 
    p=0xc9959be0) at ../../kern/uipc_socket.c:138
---Type <return> to continue, or q <return> to quit---
#11 0xc0173c79 in socket (p=0xc9959be0, uap=0xca35df80)
    at ../../kern/uipc_syscalls.c:119
#12 0xc021a931 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = -1077939036, tf_esi = -1077938908, tf_ebp = -1077939004, 
      tf_isp = -902438956, tf_ebx = 269511812, tf_edx = -1077938908, 
      tf_ecx = 269503024, tf_eax = 97, tf_trapno = 12, tf_err = 2, 
      tf_eip = 269225128, tf_cs = 31, tf_eflags = 663, tf_esp =
-1077939080, 
      tf_ss = 47}) at ../../i386/i386/trap.c:1126
#13 0xc020ea15 in Xint0x80_syscall ()
#14 0x100b0f1a in ?? ()
#15 0x8049cab in ?? ()
#16 0x8049aa1 in ?? ()
(kgdb) 


Hope this helps .. if i can be of any assistance let me know.

Grtx,

Bart



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

Reply via email to