Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2003 00:59:52 +0200 (EET)
From:      Vladimir Kushnir <vkushnir@alfacom.net>
To:        current@FreeBSD.ORG
Subject:   Panic bwrite: buffer is not busy on fresh -CURRENT
Message-ID:  <20030301005234.Q659@kushnir1.kiev.ua>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Under KDE session, while CVS updating.
Uname output:
FreeBSD kushnir1.kiev.ua 5.0-CURRENT FreeBSD 5.0-CURRENT #11:
Fri Feb 28 08:42:45 EET 2003
root@kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR  i386

/ - UFS1; /usr,/var - UFS2, softupdates enabled.
Dmesg output, kernel config file and gdb trace are attached.

Regards,
Vladimir
[-- Attachment #2 --]
Copyright (c) 1992-2003 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 5.0-CURRENT #11: Fri Feb 28 08:42:45 EET 2003
    root@kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0497000.
Preloaded elf module "/boot/kernel/if_tun.ko" at 0xc04970b4.
Preloaded elf module "/boot/kernel/snd_ds1.ko" at 0xc0497160.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc049720c.
Preloaded elf module "/boot/kernel/random.ko" at 0xc04972b8.
Preloaded elf module "/boot/kernel/fdc.ko" at 0xc0497364.
Preloaded elf module "/boot/kernel/lpt.ko" at 0xc049740c.
Preloaded elf module "/boot/kernel/ppi.ko" at 0xc04974b4.
Preloaded elf module "/boot/kernel/pps.ko" at 0xc049755c.
Preloaded elf module "/boot/kernel/plip.ko" at 0xc0497604.
Preloaded elf module "/boot/kernel/mga.ko" at 0xc04976b0.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0497758.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451025431 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (451.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 201261056 (191 MB)
avail memory = 190349312 (181 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AWARD  AWRDACPI> on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00fdf10
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <Matrox G550 (AGP)> mem 0xe5000000-0xe57fffff,0xe4000000-0xe4003fff,0xe8000000-0xe9ffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 64MB
info: [drm] Initialized mga 3.0.2 20010321 on minor 0
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f at device 2.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 2.2 (no driver attached)
intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 2.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped 4000 
pci0: <multimedia> at device 14.0 (no driver attached)
atapci1: <CMD 649 UDMA100 controller> port 0xe400-0xe40f,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 irq 9 at device 15.0 on pci0
ata2: at 0xd400 on atapci1
ata3: at 0xdc00 on atapci1
pcm0: <Yamaha DS-1E (YMF724F)> mem 0xeb000000-0xeb007fff irq 10 at device 16.0 on pci0
pcm0: <SigmaTel STAC9704 ac97 codec>
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pps0: <Pulse per second Timing Interface> on ppbus0
plip0: <PLIP network interface> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
orm0: <Option ROM> at iomem 0xc0000-0xc8fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 39093MB <FUJITSU MPG3409AT E> [79428/16/63] at ata2-master UDMA100
acd0: CD-RW <_NEC CD-RW NR-9100A> at ata0-master UDMA33
acd1: CDROM <ATAPI 44X CDROM> at ata1-master UDMA33
MBREXT Slice 5 on ad0s3:
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:15711507
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:15711570 l:851445
MBREXT Slice 6 on ad0s3:
[0] f:00 typ:130 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:851382
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
Mounting root from ufs:/dev/ad0s2a
cd1 at ata1 bus 0 target 0 lun 0
cd1: <ATAPI 44X CDROM 3.10> Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted
cd0 at ata0 bus 0 target 0 lun 0
cd0: <_NEC CD-RW NR-9100A 2.12> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [270253 x 2048 byte records]

[-- Attachment #3 --]
kushnir1# gdb -k /usr/obj/usr/src/sys/KUSHNIR/kernel.debug /usr/crash/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
....
panic: bwrite: buffer is not busy???
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x20
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0194106
stack pointer	        = 0x10:0xcad27a90
frame pointer	        = 0x10:0xcad27ab4
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		= 14 (swi1: net)
trap number		= 12
panic: page fault

syncing disks, buffers remaining... panic: bwrite: buffer is not busy???
Uptime: 14h56m24s
Dumping 191 MB
ata2: resetting devices ..
done
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239		dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc019e5c2 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc019e823 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc01e2b72 in bwrite (bp=0xc5c06b38) at /usr/src/sys/kern/vfs_bio.c:853
#4  0xc01e45e9 in vfs_bio_awrite (bp=0xc5c06b38)
    at /usr/src/sys/kern/vfs_bio.c:1781
#5  0xc01ebfff in vop_stdfsync (ap=0xcad27888)
    at /usr/src/sys/kern/vfs_default.c:755
#6  0xc0167590 in spec_fsync (ap=0xcad27888)
    at /usr/src/sys/fs/specfs/spec_vnops.c:422
#7  0xc0166a68 in spec_vnoperate (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:123
#8  0xc026cd21 in ffs_sync (mp=0xc1f70000, waitfor=2, cred=0xc0d38e80, 
    td=0xc0315360) at vnode_if.h:612
#9  0xc01f94cb in sync (td=0xc0315360, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:138
#10 0xc019e1ac in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:280
#11 0xc019e823 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#12 0xc02cc742 in trap_fatal (frame=0xcad27a50, eva=0)
    at /usr/src/sys/i386/i386/trap.c:843
#13 0xc02cc422 in trap_pfault (frame=0xcad27a50, usermode=0, eva=32)
    at /usr/src/sys/i386/i386/trap.c:757
#14 0xc02cbf10 in trap (frame=
      {tf_fs = -1033764840, tf_es = 16, tf_ds = 16, tf_edi = -1059808208, tf_esi---Type <return> to continue, or q <return> to quit---
 = 0, tf_ebp = -892175692, tf_isp = -892175748, tf_ebx = -1070450964, tf_edx = -1059808208, tf_ecx = -1037471508, tf_eax = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1072086778, tf_cs = 8, tf_eflags = 66050, tf_esp = 16, tf_ss = -1071488976}) at /usr/src/sys/i386/i386/trap.c:444
#15 0xc02bc1c8 in calltrap () at {standard input}:96
#16 0xc021fd79 in tcp_input (m=0xc0d49c30, off0=20)
    at /usr/src/sys/netinet/tcp_input.c:2324
#17 0xc0218c56 in ip_input (m=0xc0d56100)
    at /usr/src/sys/netinet/ip_input.c:947
#18 0xc0218d42 in ipintr () at /usr/src/sys/netinet/ip_input.c:965
#19 0xc020c25f in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:97
#20 0xc018a471 in ithread_loop (arg=0xc0d47100)
    at /usr/src/sys/kern/kern_intr.c:536
#21 0xc0189373 in fork_exit (callout=0xc018a2a0 <ithread_loop>, arg=0x0, 
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:871
(kgdb) q


[-- Attachment #4 --]
#
# KUSHNIR - my customized kernel configuration
#

machine		i386
cpu		I686_CPU
ident		KUSHNIR
maxusers	0

options		CPU_ENABLE_SSE
options		PQ_CACHESIZE=512

#To statically compile in device wiring instead of /boot/device.hints
#hints		"KUSHNIR.hints"		#Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options		UFS_EXTATTR
options		UFS_EXTATTR_AUTOSTART
#options 	MD_ROOT			#MD is a potential root device
#options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	KTRACE			#ktrace(1) support
options		SCHED_4BSD
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
#options		P1003_1B_SEMAPHORES
#options		HZ=1000
# Debugging for use in -current
options 	DDB			#Enable the kernel debugger
options		DDB_UNATTENDED
#options 	INVARIANTS		#Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

device		isa
options		AUTO_EOI_1
#device		eisa
device		pci

# Floppy drives
#device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
# IDE-SCSI emulation
device		scbus
device		pass
device		cd
device		atapicam

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
device		psm		# PS/2 mouse

device		vga		# VGA video card driver
options		FB_INSTALL_CDEV

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc
options		SC_HISTORY_SIZE=400
options		SC_MOUSE_CHAR=0x3
options		SC_PIXEL_MODE

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# SMB bus
device		smbus
device		intpm
device		smb

# I2C Bus
device		iicbus
device		iicbb
device		ic
device		iic
device		iicsmb

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
options		PPC_PROBE_CHIPSET
#device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# Pseudo devices - the number indicates how many units to allocate.
#device		random		# Entropy device
device		pty
device		loop		# Network loopback
device		ether		# Ethernet support
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
#device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
#device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
#device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
#device		urio		# Diamond Rio 500 MP3 player
#device		uscanner	# Scanners
#
help

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