Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2000 11:37:23 -0700 (PDT)
From:      Scott Flatman <sf@aracnet.com>
To:        current@freebsd.org
Subject:   kernel panic: swapon
Message-ID:  <Pine.BSF.4.21.0005011134470.279-100000@mephistopheles>

next in thread | raw e-mail | index | archive | help
Cvsup'ed this morning and built world. All went swimmingly until
reboot. I got this kernel panic:

swapon: adding /dev/da0s2b as swap device
panic: blst_radix_free: freeing free block

The ordering of the swap partions does matter. If /dev/da0s2b is first
in /etc/fstab the panic occurs, if it's second no panic.


=== swapinfo ===
Device          1024-blocks     Used    Avail Capacity  Type
/dev/rda2s2b         256912        0   256912     0%    Interleaved
/dev/da0s2b          256912        0   256912     0%    Interleaved
Total                513824        0   513824     0%


=== /etc/fstab ===
# Device		Mountpoint	FStype	Option  	Dump Pass#
#/dev/da0s2b		none		swap	sw		0	0
/dev/da0s1a		/		ufs	rw		1	1
/dev/da0s4e		/usr		ufs	rw		2	2
/dev/da0s3e		/var		ufs	rw		2	2

/dev/da1s1a		/u1		ufs	rw		2	2

/dev/da2s2b		none		swap	sw		0	0
/dev/da2s1a		/u2		ufs	rw		2	2

/dev/cd0c		/cdrom		cd9660	ro,noauto	0	0
proc			/proc		procfs	rw		0	0

/dev/da0s2b		none		swap	sw		0	0

#mount -t mfs -o rw,-s131072 /dev/da0s2b /tmp
/dev/da0s2b		/tmp		mfs	rw,-s131072	0	0


=== dmesg ===
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #9: Mon May  1 10:30:11 PDT 2000
    sf@mephistopheles:/u2/src/sys/compile/MEPHISTOPHELES
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024690 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268419072 (262128K bytes)
avail memory = 257847296 (251804K bytes)
Preloaded elf kernel "kernel" at 0xc0318000.
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c09da (c00009da)
VESA: S3 Incorporated. Trio64V+
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Intel PIIX4 ATA controller> at 4.1
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq
9 at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision -1072247040
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
ed0: <NE2000 PCI Ethernet (VIA VT86C926)> port 0xd000-0xd01f irq 7 at
device 9.0 on pci0
ed0: address 00:00:06:00:0a:79, type NE2000 (16 bit) 
sym0: <875> port 0xb800-0xb8ff mem
0xe2800000-0xe2800fff,0xe3000000-0xe30000ff irq 14 at device 10.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb400-0xb4ff mem
0xe2000000-0xe20000ff irq 15 at device 11.0 on pci0
rl0: Ethernet address: 00:e0:29:61:2f:f6
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <S3 Trio graphics accelerator> at 12.0 irq 10
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown0: <PNP0c01> at iomem
0-0x9ffff,0x100000-0xfffffff,0xe8000-0xeffff,0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xca000-0xcbfff,0xfffe0000-0xffffffff
on isa0
unknown: <PNP0000> can't assign resources
unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown2: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown3: <PNP0c04> at port 0xf0 irq 13 on isa0
unknown4: <PNP0200> at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on
isa0
unknown5: <PNP0800> at port 0x61 on isa0
unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown: <PNP0c02> can't assign resources
esscontrol0: <ESS Control> at port 0x800-0x807 on isa0
sbc0: <ESS ES1869> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq
1,0 on isa0
pcm0: <ESS 18xx DSP> on sbc0
unknown7: <ESS ES1869 Plug and Play AudioDrive> at port 0x201 on isa0
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
cd0 at sym0 bus 0 target 3 lun 0
cd0: <SONY CD-ROM CDU-76S 1.1c> Removable CD-ROM SCSI-2 device 
cd0: 5.681MB/s transfers (5.681MHz, offset 15)
cd0: cd present [68537 x 2048 byte records]
da2 at sym0 bus 0 target 4 lun 0
da2: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da0 at sym0 bus 0 target 0 lun 0
da0: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da1 at sym0 bus 0 target 2 lun 0
da1: <IBM DORS-32160 WA0A> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)


==== kernel config ====
#
machine		i386
cpu		I686_CPU
ident		MEPHISTOPHELES	
maxusers	64	

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep
this!]
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device,NFS
required
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660
required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP
THIS!]
options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options		SHMMAX="(64*1024*1024)"
options 	SHMMNI=4096
options		SHMSEG=256

#
# see /usr/src/sys/ufs/ffs/README.softupdates
# and /usr/src/sys/contrib/softupdates/README
#
#  cd /usr/src/sys/ufs/ffs
#  ln -s ../../contrib/softupdates/*.[ch] .
#  add "options   SOFTUPDATES" to kernel config and compile kernel
#  on UNMOUNTED filesystem: tunefs -n enable /usr [tunefs -n disable]
#
options                SOFTUPDATES

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# SCSI Controllers
device		sym		# NCR/Symbios Logic (newer chipsets)

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# The following option probably won't work with the LCD displays.
options 	VGA_WIDTH90		# support 90 column modes

# To include support for VESA video modes
options 	VESA


# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?


# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
#device		sio0	at isa? port io_com1 flags 0x10 irq 4
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
### SMC 1211TX PCI NIC
device		rl		# RealTek 8129/8139
### NE2000 PCI NIC
device		ed

# SMB
# trying to get motherboard core voltage and fan speed
device		smbus		# Bus support, required for smb below.
# Intel PIIX4 Power Management Unit
device		intpm
device		smb


# For PnP/PCI sound cards
device		pcm
device		sbc


# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun	1	# Packet tunnel.
pseudo-device	pty	64	# Pseudo-ttys (telnet etc)




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?Pine.BSF.4.21.0005011134470.279-100000>