Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 1996 13:10:58 -0800 (PST)
From:      "Steven G. Kargl" <sgk@troutmask.apl.washington.edu>
To:        freebsd-stable@freebsd.org
Subject:   panic: getnewbuf
Message-ID:  <199601102110.NAA00230@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
New kernel from sources supped this morning (0900 pst). See config
file and hardware list below.


boot: -s
#fsck -y   (repair previous damage from testing)
#mount -a
#cd /usr/tmp
#/usr/local/bin/iozone 32

The system will hange without a panic.  The system will not
respond to keyboard input.  I can switch to a different vty to
try to login, but the system does not respond with passwd prompt.
Telneting from a remote host does not work.  iozone may or may not
write the 32 MB file.   Push reset button to reboot the system.


boot: -s -c
config> disable ep0
config> quit
#fsck -y   (repair previous damage from testing)
#mount -a
#cd /usr/tmp
#/usr/local/bin/iozone 32

See above description.

boot: -c
config> enable ep0
config> quit        (Boots to multi-user)

On vty 2

login: root
passwd:
%top 

On vty 1

login: root
passwd:
%cd /usr/tmp
%sleep 10; iozone 32

Switch to vty 2

This miraculously completes without a problem.  Switch to vty 1 
and try it again.

%sleep 10; iozone 32

Switch to vty 2.  System hangs.  Switch to vty 1.

panic:  getnewbuf: inconsistent EMPTY queue, qindex=2
Debugger("panic")
Stopped at _Debugger+0x2c: movb $0,_in_Debugger.110

db>trace
_Debugger(f0114b9b,f0114b90,f0125518,efbffd30,f1d5ac90) at _Debugger+0x2c
_panic(f0125518,2,0,80000000,0) at _panic+0x3f
_getnewbuf(0,0,1,0,6c) at _getnewbuf+0x47
_getblk(f08fb500,6c,2000,0,0) at _getblk+0x12d
_ffs_balloc(f08e1200,6c,200,f08f5880,efbffeb8) at _fss_balloc+0x731
_ffs_write(efbffee0,efbfd938,200,efbfff94,0) at _ffs_write+0x2d4
_vn_write(f08fc000,efbfff2c,f08f5880,efbfd938,f08fa9000) at _vn_write+0xb5
_write(f08fa900,efbfff94,efbfff8c,200,10000) at _write+0xa4
_syscall(10027,efbf0027,3,10000,efbfd988) at _syscall+0x186
Bad user frame pointer: 0xefbfd988

db>show all proc
pid   proc     addr  uid ppid pgrp  flag  stat wmesg wchan  cmd
184 f08fa900 f3544000 0   155  184 004006  2               iozone

db>show map
Task map 0xf017254c: pmap=0xf7f805c6, ref=1953392996, nentries=7561984,
version=1166869740

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x707371
fault code            = supervisor read, page not present
instruction pointer   = 0x8:0xf0165db4
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       = 184 (iozone)
interrupt mask        = bio
kernel: type 12 trap, code=0
Stopped at _vm_map_print+0x64:  movl 0xc(%ebx), %eax

-- 
Steven G. Kargl     | Phone: 206-685-4677 |
Applied Physics Lab | Fax:   206-543-6785 |
Univ. of Washington |---------------------|
1013 NE 40th St     | FreeBSD 2.x-stable  |
Seattle, WA 98105   |---------------------|

Hardware summary

Intel 80486DX2 66 MHz cpu
Cheap offshore motherboard (4 EISA and 3 ISA/VLB slots)
  OPTI chipset 82C691, 82C696; AMI BIOS
24MB of main memory (2 1x36 70 ns 72 pin SIMMS, 1 4x36 60 ns 72 pin SIMM)
256 KB of 20 ns L2 cache
Orchid Fahrenheit 1280+/VLB (S3 86C805-Q) video card with 2 MB DRAM
Adaptec 1742 controller
Maxtor MXT-540SL hard disk (internal 521 MB)
Quantum Lightning 730S hard disk (external 699 MB)
HP HP35480A DAT tape drive (external 4/8 GB)
3Com 3C509 EtherLink III Combo (using UTP port)
2 Serial (16550 UARTS); 1 Bi-directional parallel; 1 Game

Config file

machine		"i386"
cpu			"I486_CPU"
ident		TROUTMASK
maxusers	10

config		kernel	root on sd0

options		DDB
options		KTRACE
options		SCSIDEBUG
options		"COMPAT_43"
options		DODUMP
options		INET			#Internet communications protocols
options		FFS				#Fast filesystem
options		"MAXCONS=4"
options		"SCSI_DELAY=8"

options		UCONSOLE
options		XSERVER


controller	isa0
controller	eisa0
controller	ahb0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0


controller	scbus0 at ahb0					#base SCSI code
device		sd0 at scbus0 target 0 unit 0	#SCSI disk
device		sd1 at scbus0 target 1 unit 0   #SCSI disk 
device		st0 at scbus0 target 2			#SCSI tapes

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device		lpt0 at isa? port? tty irq 7 vector lptintr
device		sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device		ep0	at isa? port 0x300 net irq 10 vector epintr
device		pca0 at isa? port IO_TIMER1 tty

pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	sl	2			#Serial Line IP
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	pty	8			#Pseudo ttys
pseudo-device	speaker			#Play IBM BASIC-style noises out your speaker
pseudo-device	log				#Kernel syslog interface (/dev/klog)
pseudo-device	vn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601102110.NAA00230>