Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 07:47:28 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        freebsd-current@FreeBSD.ORG
Subject:   panic: getnewbuf inconsistent EMPTY queue in 3.0-RELEASE
Message-ID:  <98Dec4.074651est.40325@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
I've just upgraded a Dell OptiPlex GXi from 32MB to 96MB.  When I
increase MAXUSERS from 20 to 40 and SEMMNU from 350 to 1000, the
system panics `getnewbuf: inconsistent EMPTY queue, qindex=0'
immediately after the message `changing root device to wd0s1a'.
I don't have a crashdump because (as recommended) I use dumpon(8)
to specify the dumpdev, and the system doesn't get that far :-(.

The system configuration is shown below (as reported by a good kernel).
Can anyone offer any quick suggestions (I suspect increasing MAXUSERS
or SEMMNU has caused the kernel to run out of memory somewhere, but
I'm not sure where).

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.0-RELEASE #4: Fri Dec  4 06:45:33 EST 1998
root@:/usr/src/sys/compile/pc1762
Timecounter "i8254"  frequency 1193182 Hz  cost 2376 ns
CPU: Pentium/P54C (132.95-MHz 586-class CPU)
Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 100663296 (98304K bytes)
avail memory = 95449088 (93212K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
ahc0: <Adaptec 2940 SCSI adapter> rev 0x03 int a irq 11 on pci0.15.0
ahc0: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs
vga0: <S3 Trio graphics accelerator> rev 0x44 int a irq 9 on pci0.16.0
xl0: <3Com 3c905 Fast Etherlink XL 10/100BaseTX> rev 0x00 int a irq 11 on pci0.17.0
xl0: Ethernet address: 00:c0:4f:ca:7b:e7
xl0: autoneg complete, link status good (full-duplex, 100Mbps)
Probing for PnP devices:
CSN 1 Vendor ID: CSC6836 [0x3668630e] Serial 0xffffffff Comp ID: @@@0000 [0x00000000]
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 16384 on isa
ed0: address 00:00:c0:57:99:47, type WD8013EPC (16 bit) 
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa
wdc0: unit 0 (wd0): <WDC AC22100H>, LBA, DMA, 32-bit, multi-block-16
wd0: 2014MB (4124736 sectors), 1023 cyls, 64 heads, 63 S/T, 512 B/S
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.0
Intel Pentium F00F detected, installing workaround
ccd0-3: Concatenated disk drivers
Waiting 2 seconds for SCSI devices to settle
changing root device to wd0s1a
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST32151N 0590> Fixed Direct Access SCSI2 device 
da1: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da1: 2049MB (4197405 512 byte sectors: 64H 32S/T 2049C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST32430N 0510> Fixed Direct Access SCSI2 device 
da0: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da0: 2049MB (4197405 512 byte sectors: 64H 32S/T 2049C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST32550N 0019> Fixed Direct Access SCSI2 device 
da2: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da2: 2047MB (4194058 512 byte sectors: 64H 32S/T 2047C)
ffs_mountfs: superblock updated

System configuration file:
machine         "i386"
cpu             "I586_CPU"
ident           "pc1762"
maxusers        40
options         "MAXDSIZ=(256*1024*1024)"
options         "DFLDSIZ=(256*1024*1024)"
options         "MAXMEM=(96*1024)"
options         FAILSAFE                #Be conservative
config          kernel  root on wd0
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SYSVSHM
options         SHMMAX="(16*1024*1024)"
options         SYSVSEM
options         SEMUME=1
options         SEMMNU=1000
options         SYSVMSG
options         "MD5"
options         KTRACE          #kernel tracing
options         PERFMON
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         INET                    #InterNETworking
pseudo-device   ether
pseudo-device   loop
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                # Allow FFS root
options         SOFTUPDATES
options         NFS                     #Network Filesystem
options         FDESC                   #File descriptor filesystem
options         MFS                     #Memory filesystem
options         PROCFS                  #Process filesystem
pseudo-device   pty     256
pseudo-device   speaker
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   vn
pseudo-device   ccd     4
pseudo-device   bpfilter        4
controller      scbus0
device          da0             # SCSI disks
device          st0             # SCSI tapes
device          pass0           # SCSI passthru for CAM
controller      isa0
options         "AUTO_EOI_1"
device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr
controller      pci0
controller      pnp0
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
options         SC_DISABLE_REBOOT
device          npx0    at isa? port "IO_NPX" flags 0x0 irq 13 vector npxintr
controller      wdc0    at isa? port "IO_WD1" flags 0xb0ffb0ff bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 disable drive 1
controller      wdc1    at isa? disable port "IO_WD2" flags 0xb0ffb0ff bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 disable drive 1
options         "CMD640"
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 disable drive 1
device          lpt0    at isa? port? tty irq 7 vector lptintr
device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
device          apm0    at isa?                 # Advanced Power Management
device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? disable port "IO_COM2" tty irq 3 vector siointr
controller      ahc0
options         AHC_ALLOW_MEMIO         # Memory-mapped I/O
device xl0
options         NO_LKM
options         "CLK_USE_TSC_CALIBRATION"
options         PPS_SYNC

Peter
--
Peter Jeremy (VK2PJ)                    peter.jeremy@alcatel.com.au
Alcatel Australia Limited
41 Mandible St                          Phone: +61 2 9690 5019
ALEXANDRIA  NSW  2015                   Fax:   +61 2 9690 5247

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98Dec4.074651est.40325>