Re: Kernel explosion in -stable

2000-08-16 Thread Poul-Henning Kamp


I'm quasi-offline at the moment, so I'm not able to do much about
it and knowing myself I'll be sandbagged for a couple of weeks after
my vacation so your best bet is to try to narrow this one further
down yourself in the meantime.

The comment above pcb_rehash() seems to have some strong guidance,
and a double-check to see if I have messed up on the expected 
behaviour might be in order (look for "prison").

--
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


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



Re: Kernel explosion in -stable

2000-08-16 Thread Visigoth

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 15 Aug 2000, Alfred Perlstein wrote:
> Please get a crashdump and traceback:

I had tried yesterday, but didn't realize I didn't have dumpon set
on that machine DUH! Ok, here is a kernel traceback...  I would be
happy to test/help develop any patches, seeing as how that machine is
going to sit there broken until I fix it.. ;)

Thanks for the help


Damieon Stark
Sr. Unix Systems Administrator
[EMAIL PROTECTED]

PGP Public Key: www.telemere.net/~visigoth/visigoth.asc


|
M$ -Where do you want to go today?  |
Linux -Where do you want to go tomorrow?|   FreeBSD - The POWER to serve
Freebsd -Are you guys coming or what?   |   http://www.freebsd.org
|
|
- 

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1i

iQA/AwUBOZqihTnmC/+RTnGeEQLzYwCgtr9xpqlhroZPBl1tYW3plQr4D5cAoKIn
HBptXXaq5Jybj8/syjsk51pE
=G8JD
-END PGP SIGNATURE-


jail# gdb -k kernel.debug /var/crash/vmcore.0 
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 3555328
initial pcb at 2deb80
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc01af381
stack pointer   = 0x10:0xd5739dd4
frame pointer   = 0x10:0xd5739dd8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 1954 (id)
interrupt mask  = 
trap number = 12
panic: page fault

syncing disks... 3 1 
done
Uptime: 16h18m21s

dumping to dev #da/0x20001, offset 16
dump 511 


Kernel explosion in -stable

2000-08-15 Thread Visigoth

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Ok, first off I'm going to say that I know how weird the
configuration that I am working with is, but hear me out, it is actually a
useful config for what I am doing (if anyone knows any better ways to do
this sort of thing, tell me ;)


I have a dual homed 4.1-STABLE box being used as a shell server
with NFS mounted mail spools and home dir's and NIS authentication all
from a backside network.  The problem is I don't want
our (few) shell users to be able to even ping the NFS backnetwork so I am
attempting to implement jail(8), but still need nis



if I set the NON-jail-env (NJE) as an NIS server on the backnetwork, and
and ypbind to localhost in the jail-env (JE) or in the NJE if I log into
the JE as a local user and su to root I can successfully id users from the
NIS databases (yea!) , if, as a normal user I try to id anybody, or if I
try to log in to the JE as a user from the NIS database, the kernel dies
with:

Fatal trap 12:  page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc01af381
stack pointer   = 0x10:0xd5732dd4
frame pointer   = 0x10:0xd5732dd8
code segment= base 0x0, limit 0xfff, type 0xb1, DPL 0
= pres 1, def32 1, gran1
processor eflags= interupt enable, resume, DOPL 0
current process = 12

panic   = page fault

I would include a dump but there it doesn't make one...  I attached a
dmesg if that helps but I doubt it.  I would like to at least fix this,
even if it means my functionality doesn't work, I just thought a huge
kernel fault like this should be taken care of.  I would look into it, but
I am only a junior wizard ;)

I would be happy to do a bunch of the work if anyone is willing to point
me in the right direction ;)



Damieon Stark
Sr. Unix Systems Administrator
[EMAIL PROTECTED]

PGP Public Key: www.telemere.net/~visigoth/visigoth.asc


|
M$ -Where do you want to go today?  |
Linux -Where do you want to go tomorrow?|   FreeBSD - The POWER to serve
Freebsd -Are you guys coming or what?   |   http://www.freebsd.org
|
|
- 

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1i

iQA/AwUBOZnBEDnmC/+RTnGeEQKxOgCg+aU1cppRwWe9qHK9Qo9c9FF0gksAoNmJ
SGcq+YhAXtFPtCdmcjs0i0ce
=xqIA
-END PGP SIGNATURE-


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.1-STABLE #0: Tue Aug 15 13:58:29 CDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/JAIL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (550.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
Features=0x387fbff

real memory  = 536862720 (524280K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 519426048 (507252K bytes)
Preloaded elf kernel "kernel" at 0xc0352000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc035209c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
isab0:  at device 2.0 on pci0
isa0:  on isab0
pci0:  at 2.1
pci0:  at 2.2 irq 0
chip0:  port 0x850-0x85f at device 2.3 on 
pci0
pci0:  at 4.0
fxp0:  port 0xe8c0-0xe8ff mem 
0xfe70-0xfe7f,0xfe901000-0xfe901fff irq 14 at device 6.0 on pci0
fxp0: Ethernet address 00:d0:b7:2c:38:e5
dpt0:  port 0xe8a0-0xe8bf irq 11 at device 8.0 on 
pci0
dpt0: DPT PM3334UW FW Rev. 07M0, 1 channel, 64 CCBs
fxp1:  port 0xe840-0xe87f mem 
0xfe60-0xfe6f,0xfe90-0xfe900fff irq 10 at device 10.0 on pci0
fxp1: Ethernet address 00:d0:b7:2c:24:f6
pcib3:  at device 18.0 on pci0
pcib4:  at device 19.0 on pci0
pcib5:  at device 20.0 on pci0
pcib1:  on motherboard
pci1:  on pcib1
ahc0:  port 0xfc00-0xfcff mem 
0xfeb02000-0xfeb02fff irq 5 at device 4.0 on pci1
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1:  port 0xf800-0xf8ff mem 
0xfeb01000-0xfeb