Panic on page fault during /bin/mv

Mario Sergio Fujikawa Ferreira lioux-list at uol.com.br
Sun Nov 18 17:28:29 PST 2007


Hi,

	I got a panic on a Toshiba laptop Satellite A135-S4527
(Intel Pentium dual-core processor T2080) running 7-STABLE as of
November, 8th.

FreeBSD nexxus.fedaykin.here 7.0-BETA2 FreeBSD 7.0-BETA2 #5: Thu Nov  8 23:44:48 BRST 2007     lioux at nexxus:/usr/obj/usr/src/sys/LIOUX  i386

        The panic happened on a page fault during a routine mv(1)
operation on a UFS2 filesystem. No zfs on this system. Swap is
untouched.

        Further information is attached. Let me know if there is
anything I can do to help.

	Files can also be downloaded:

- My kernel configuration
http://people.FreeBSD.org/~lioux/panic/KERNCONF
- kgdb(1) backtrace
http://people.FreeBSD.org/~lioux/panic/crash.1.log
- My system's dmesg
http://people.FreeBSD.org/~lioux/panic/dmesg.boot
- My system's pciconf(8)
http://people.FreeBSD.org/~lioux/panic/pciconf.txt
- My system's uname(1)
http://people.FreeBSD.org/~lioux/panic/uname.txt
- Crash dump /var/crash/info file
http://people.FreeBSD.org/~lioux/panic/info.1
- archivers/lzma compressed core dump
http://people.FreeBSD.org/~lioux/panic/vmcore.1.lzma
- archivers/lzma compressed kernel with debug symbols
http://people.FreeBSD.org/~lioux/panic/kernel.debug.lzma

	Regards,

ps: To uncompress the lzma compressed files, proceed as following

# cd /usr/ports/archivers/lzma
# make install clean
# lzma d vmcore.1.lzma vmcore.1
# lzma d kernel.debug.lzma kernel.debug

so that you can access vmcore.1 and kernel.debug

---------------

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x88
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc069922c
stack pointer           = 0x28:0xe699fa8c
frame pointer           = 0x28:0xe699fb44
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         = 80409 (mv)
trap number             = 12

#8  0xc069922c in _sx_xunlock (sx=Cannot access memory at address 0x866
) at /usr/src/sys/kern/kern_sx.c:308
308             KASSERT(sx->sx_lock != SX_LOCK_DESTROYED,
Current language:  auto; currently c
(kgdb) list
303     void
304     _sx_xunlock(struct sx *sx, const char *file, int line)
305     {
306
307             MPASS(curthread != NULL);
308             KASSERT(sx->sx_lock != SX_LOCK_DESTROYED,
309                 ("sx_xunlock() of destroyed sx @ %s:%d", file, line));
310             _sx_assert(sx, SA_XLOCKED, file, line);
311             curthread->td_locks--;
312             WITNESS_UNLOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line);

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
-------------- next part --------------
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.473 2007/07/01 21:47:45 njl Exp $

#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
ident		LIOUX

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

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

#options 	SCHED_4BSD		# 4BSD scheduler
options		SCHED_ULE
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Transmission Control Protocol
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_GJOURNAL		# Enable gjournal-based UFS journaling
#options 	MD_ROOT			# MD is a potential root device
#options 	NFSCLIENT		# Network Filesystem Client
#options 	NFSSERVER		# Network Filesystem Server
#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
#options 	MSDOSFS			# MSDOS Filesystem
#options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
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 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
options 	STOP_NMI		# Stop CPUS using NMI instead of IPI
options 	AUDIT			# Security event auditing

###
## ADDON AREA - BEGIN
###
#
#options 	KDB			# Enable kernel debugger support.
#options 	DDB			# Support DDB.
#options 	GDB			# Support remote GDB.
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		DEBUG_LOCKS
#options		DEBUG_VFS_LOCKS
#options		SOCKBUF_DEBUG
options		DIAGNOSTIC
#options		BREAK_TO_DEBUGGER
#
#options		IPFILTER
#
options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		DUMMYNET
#
device		pf
device		pflog
device		pfsync
#options		ALTQ
#options		ALTQ_CBQ	# Class Bases Queuing (CBQ)
#options		ALTQ_RED	# Random Early Detection (RED)
#options		ALTQ_RIO	# RED In/Out
#options		ALTQ_HFSC	# Hierarchical Packet Scheduler (HFSC)
#options		ALTQ_PRIQ	# Priority Queuing (PRIQ)
#
options		COMPAT_LINUX
options		LINPROCFS
#
device		drm
#device		mgadrm
#
device		atapicam
#
#device		pcm
#device		snd
device		sound
#
options		DEVICE_POLLING
options		HZ=1152
#
options		IPSTEALTH
#
options         ZERO_COPY_SOCKETS
#
options		UFS_EXTATTR
options		UFS_EXTATTR_AUTOSTART
#
options		DIRECTIO
##
options		CPU_FASTER_5X86_FPU
#
#options		CPU_SUSP_HLT
#
options		CPU_UPGRADE_HW_CACHE
#
#options		AUTO_EOI_1
#
#options		VESA
#options		SC_PIXEL_MODE
#device		fb
#options		FB_INSTALL_CDEV		# install a CDEV entry in /dev
#
#options		MAC
#options		MAC_LOMAC
#
device		smbus
#device		iicbus
#device		iicbb
#device		iicsmb
device		smb
device		ichsmb
#
#device		bktr
#
####options		BKTR_GPIO_ACCESS
####options		BKTR_USE_PLL
#options		BKTR_USE_FREEBSD_SMBUS
#options		BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
#options		BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
#
options		P1003_1B_SEMAPHORES
#
#
device		hwpmc			# Driver (also a loadable module)
options		HWPMC_HOOKS		# Other necessary kernel hooks
#
# mdmfs 2.5Gb
#options		VM_KMEM_SIZE_MAX="1024*1024*1024"
#options		VM_KMEM_SIZE_SCALE="2"
#options		KVA_PAGES="512"
#
option		INCLUDE_CONFIG_FILE
#
#options		VFS_AIO
#
#options		USBVERBOSE
#
#
device		acpi
#device		acpi_dock
device		acpi_toshiba
device		acpi_video
#
#device         mmc
#device         mmcsd
#
###
## ADDON AREA - END
###

# Debugging for use in -current
#options 	KDB			# Enable kernel debugger support.
#options 	DDB			# Support DDB.
#options 	GDB			# Support remote GDB.
#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

# To make an SMP kernel, the next two lines are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

# CPU frequency control
device		cpufreq

# Bus support.
#device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
#device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
#device		atapifd		# ATAPI floppy drives
#device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
#device		ahc		# AHA2940 and onboard AIC7xxx devices
#options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
#					# output.  Adds ~128k to driver.
#device		ahd		# AHA39320/29320 and onboard AIC79xx devices
#options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
#device		amd		# AMD 53C974 (Tekram DC-390(T))
#device		hptiop		# Highpoint RocketRaid 3xxx series
#device		isp		# Qlogic family
#device 	ispfw		# Firmware for QLogic HBAs- normally a module
#device		mpt		# LSI-Logic MPT-Fusion
#device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
#device		trm		# Tekram DC395U/UW/F DC315U adapters

#device		adv		# Advansys SCSI adapters
#device		adw		# Advansys wide SCSI adapters
#device		aha		# Adaptec 154x SCSI adapters
#device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

#device		ncv		# NCR 53C500
#device		nsp		# Workbit Ninja SCSI-3
#device		stg		# TMC 18C30/18C50

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
#device		ch		# SCSI media changers
device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
#device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
#device		amr		# AMI MegaRAID
#device		arcmsr		# Areca SATA II RAID
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
#device		ciss		# Compaq Smart RAID 5*
#device		dpt		# DPT Smartcache III, IV - See NOTES for options
#device		hptmv		# Highpoint RocketRAID 182x
#device		rr232x		# Highpoint RocketRAID 232x
#device		iir		# Intel Integrated RAID
#device		ips		# IBM (Adaptec) ServeRAID
#device		mly		# Mylex AcceleRAID/eXtremeRAID
#device		twa		# 3ware 9000 series PATA/SATA RAID

# RAID controllers
#device		aac		# Adaptec FSA RAID
#device		aacp		# SCSI passthrough for aac (requires CAM)
#device		ida		# Compaq Smart RAID
#device		mfi		# LSI MegaRAID SAS
#device		mlx		# Mylex DAC960 family
#device		pst		# Promise Supertrak SX6000
#device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		kbdmux		# keyboard multiplexer

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

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

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

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

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

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device		puc

# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
#device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
#device		ixgb		# Intel PRO/10GbE Ethernet Card
#device		le		# AMD Am7900 LANCE and Am79C9xx PCnet
#device		txp		# 3Com 3cR990 (``Typhoon'')
#device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
#device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
#device		bfe		# Broadcom BCM440x 10/100 Ethernet
#device		bge		# Broadcom BCM570xx Gigabit Ethernet
#device		dc		# DEC/Intel 21143 and various workalikes
#device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		lge		# Level 1 LXT1001 gigabit Ethernet
#device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
#device		nfe		# nVidia nForce MCP on-board Ethernet
#device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
#device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'le')
device		re		# RealTek 8139C+/8169/8169S/8110S
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
#device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
#device		tl		# Texas Instruments ThunderLAN
#device		tx		# SMC EtherPower II (83c170 ``EPIC'')
#device		vge		# VIA VT612x gigabit Ethernet
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard NICs included.
#device		cs		# Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device		ex		# Intel EtherExpress Pro/10 and Pro/10+
#device		ep		# Etherlink III based cards
#device		fe		# Fujitsu MB8696x based cards
#device		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
#device		sn		# SMC's 9000 series of Ethernet chips
#device		xe		# Xircom pccard Ethernet

# Wireless NIC cards
device		wlan		# 802.11 support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
#device		wlan_amrr	# AMRR transmit rate control algorithm
#device		wlan_scan_ap	# 802.11 AP mode scanning
device		wlan_scan_sta	# 802.11 STA mode scanning
#device		an		# Aironet 4500/4800 802.11 wireless NICs.
device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# Atheros HAL (Hardware Access Layer)
device		ath_rate_sample	# SampleRate tx rate control for ath
#device		awi		# BayStack 660 and others
#device		ral		# Ralink Technology RT2500 wireless NICs.
#device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device		wl		# Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
#device		ppp		# Kernel PPP
#device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
#device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)
#device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
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		ural		# Ralink Technology RT2500USB wireless NICs
#device		rum		# Ralink Technology RT2501USB wireless NICs
#device		urio		# Diamond Rio 500 MP3 player
#device		uscanner	# Scanners
# USB Ethernet, requires miibus
#device		aue		# ADMtek USB Ethernet
#device		axe		# ASIX Electronics USB Ethernet
#device		cdce		# Generic USB over Ethernet
#device		cue		# CATC USB Ethernet
#device		kue		# Kawasaki LSI USB Ethernet
#device		rue		# RealTek RTL8150 USB Ethernet

# FireWire support
#device		firewire	# FireWire bus code
#device		sbp		# SCSI over FireWire (Requires scbus and da)
#device		fwe		# Ethernet over FireWire (non-standard!)
#device		fwip		# IP over FireWire (RFC 2734,3146)
#device		dcons		# Dumb console driver
#device		dcons_crom	# Configuration ROM for dcons
-------------- next part --------------
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-BETA2 #7: Thu Nov 15 14:02:59 BRST 2007
    lioux at nexxus:/usr/obj/usr/src/sys/LIOUX
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
WITNESS: spin lock scrlock not in order list
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU           T2080  @ 1.73GHz (1729.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6ec  Stepping = 12
  Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xc189<SSE3,MON,EST,TM2,xTPR,PDCM>
  AMD Features=0x100000<NX>
  Cores per package: 2
real memory  = 2137522176 (2038 MB)
avail memory = 2082197504 (1985 MB)
ACPI APIC Table: <INTEL  CALISTGA>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
WITNESS: spin lock intrcnt not in order list
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <TOSCPL TOSCPL00> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x19> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xdc100000-0xdc17ffff,0xc0000000-0xcfffffff,0xdc200000-0xdc23ffff irq 16 at device 2.0 on pci0
acpi_video0: <ACPI video extension> on vgapci0
agp0: <Intel 82945GM (945GM GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1: <VGA-compatible display> mem 0xdc180000-0xdc1fffff at device 2.1 on pci0
pcm0: <Intel 82801G High Definition Audio Controller> mem 0xdc440000-0xdc443fff irq 22 at device 27.0 on pci0
pcm0: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pci4: <ACPI PCI bus> on pcib2
ath0: <Atheros 5424/2424> mem 0xd8000000-0xd800ffff irq 17 at device 0.0 on pci4
ath0: [ITHREAD]
ath0: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:19:7e:7d:9b:de
ath0: mac 10.0 phy 6.1 radio 10.2
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci5: <ACPI PCI bus> on pcib3
re0: <RealTek 8101E PCIe 10/100baseTX> port 0x4000-0x40ff mem 0xda000000-0xda000fff irq 18 at device 0.0 on pci5
re0: Using 2 MSI messages
miibus0: <MII bus> on re0
rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: Ethernet address: 00:16:d4:fe:8c:b8
re0: [FILTER]
re0: [FILTER]
uhci0: <UHCI (generic) USB controller> port 0x1820-0x183f irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x1840-0x185f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0x1860-0x187f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x1880-0x189f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xdc444000-0xdc4443ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
usb4: handing over low speed device on port 3 to usb1
uhub4: port 3, device disappeared after reset
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib4
cbb0: <PCI-CardBus Bridge> at device 4.0 on pci6
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
pci6: <serial bus, FireWire> at device 4.1 (no driver attached)
pci6: <mass storage> at device 4.2 (no driver attached)
pci6: <base peripheral> at device 4.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7M SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18b0-0x18bf at device 31.2 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ichsmb0: <SMBus controller> port 0x18c0-0x18df irq 19 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
ichsmb0: [ITHREAD]
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Synaptics Touchpad, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xcf000-0xcffff,0xdc000-0xdffff pnpid ORM0000 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
ums0: <Microsoft Microsoft Wireless Optical Mouse\M-. 1.00, class 0/0, rev 2.00/0.07, addr 2> on uhub1
ums0: 5 buttons and Z dir and a TILT dir.
Timecounters tick every 0.868 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging disabled
ad0: 114473MB <TOSHIBA MK1237GSX DL130M> at ata0-master SATA150
acd0: DVDR <MATSHITADVD-RAM UJ-850S/1.90> at ata1-master UDMA33
pcm0: <HDA Codec: Realtek ALC861-VD>
pcm0: <HDA Driver Revision: 20071020_0048>
SMP: AP CPU #1 Launched!
hwpmc: TSC/1/0x20<REA> P6/2/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
GEOM_LABEL: Label for provider ad0s1 is ntfs/TOSHIBA SYSTEM VOLUME.
GEOM_LABEL: Label for provider ad0s5 is msdosfs/SWAP.
GEOM_LABEL: Label for provider ad0s6 is ntfs/Temp.
Trying to mount root from ufs:/dev/ad0s4a
IP Filter: v4.1.28 initialized.  Default = pass all, Logging = enabled
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-850S 1.90> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Expensive timeout(9) function: 0xc0799ef0(0xc518e800) 0.004457270 s
Expensive timeout(9) function: 0xc05e2df0(0xc0b378c0) 0.007864127 s
-------------- next part --------------
hostb0 at pci0:0:0:0:	class=0x060000 card=0xff001179 chip=0x27a08086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '955XM/945GM/PM/GMS/940GML Express Processor to DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0 at pci0:0:2:0:	class=0x030000 card=0xff021179 chip=0x27a28086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 945GM/GU Express Integrated Graphics Controller'
    class      = display
    subclass   = VGA
vgapci1 at pci0:0:2:1:	class=0x038000 card=0xff021179 chip=0x27a68086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 945GM/GU Express Integrated Graphics Controller'
    class      = display
pcm0 at pci0:0:27:0:	class=0x040300 card=0xff011179 chip=0x27d88086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) High Definition Audio'
    class      = multimedia
pcib1 at pci0:0:28:0:	class=0x060400 card=0xff001179 chip=0x27d08086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCIe Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2 at pci0:0:28:1:	class=0x060400 card=0xff001179 chip=0x27d28086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCIe Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib3 at pci0:0:28:2:	class=0x060400 card=0xff001179 chip=0x27d48086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCIe Root Port'
    class      = bridge
    subclass   = PCI-PCI
uhci0 at pci0:0:29:0:	class=0x0c0300 card=0xff001179 chip=0x27c88086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci1 at pci0:0:29:1:	class=0x0c0300 card=0xff001179 chip=0x27c98086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci2 at pci0:0:29:2:	class=0x0c0300 card=0xff001179 chip=0x27ca8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci3 at pci0:0:29:3:	class=0x0c0300 card=0xff001179 chip=0x27cb8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
ehci0 at pci0:0:29:7:	class=0x0c0320 card=0xff001179 chip=0x27cc8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib4 at pci0:0:30:0:	class=0x060401 card=0xff001179 chip=0x24488086 rev=0xe2 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0 at pci0:0:31:0:	class=0x060100 card=0xff001179 chip=0x27b98086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM (ICH7-M) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0 at pci0:0:31:2:	class=0x010180 card=0xff001179 chip=0x27c48086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller'
    class      = mass storage
    subclass   = ATA
ichsmb0 at pci0:0:31:3:	class=0x0c0500 card=0xff001179 chip=0x27da8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
ath0 at pci0:4:0:0:	class=0x020000 card=0x04251468 chip=0x001c168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5006 family 802.11abg Wireless NIC'
    class      = network
    subclass   = ethernet
re0 at pci0:5:0:0:	class=0x020000 card=0xff001179 chip=0x813610ec rev=0x01 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RTL8139/810x Family Fast Ethernet NIC'
    class      = network
    subclass   = ethernet
cbb0 at pci0:6:4:0:	class=0x060700 card=0xff001179 chip=0x8039104c rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 Cardbus Controller'
    class      = bridge
    subclass   = PCI-CardBus
none0 at pci0:6:4:1:	class=0x0c0010 card=0xff001179 chip=0x803a104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = '??? OHCI Compliant IEEE 1394 Host controller'
    class      = serial bus
    subclass   = FireWire
none1 at pci0:6:4:2:	class=0x018000 card=0xff001179 chip=0x803b104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 Integrated Flash Media Controller'
    class      = mass storage
none2 at pci0:6:4:3:	class=0x080501 card=0xff001179 chip=0x803c104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 SDA Standard Compliant SD Host Controller'
    class      = base peripheral
-------------- next part --------------
FreeBSD nexxus.fedaykin.here 7.0-BETA2 FreeBSD 7.0-BETA2 #7: Thu Nov 15 14:02:59 BRST 2007     lioux at nexxus:/usr/obj/usr/src/sys/LIOUX  i386
-------------- next part --------------
Script started on Fri Nov  9 10:53:54 2007
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0x88
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc069922c
stack pointer	        = 0x28:0xe699fa8c
frame pointer	        = 0x28:0xe699fb44
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		= 80409 (mv)
trap number		= 12
panic: page fault
cpuid = 1
Uptime: 1h29m53s
Physical memory: 1001 MB
Dumping 173 MB: 158 (CTRL-C to abort)  142 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  126 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  110 94 (CTRL-C to abort)  78 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  62 (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  46 30 14

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:241
241		dumptid = curthread->td_tid;
(kgdb) list *0xc069922c
0xc069922c is in _sx_xunlock (/usr/src/sys/kern/kern_sx.c:308).
303	void
304	_sx_xunlock(struct sx *sx, const char *file, int line)
305	{
306	
307		MPASS(curthread != NULL);
308		KASSERT(sx->sx_lock != SX_LOCK_DESTROYED,
309		    ("sx_xunlock() of destroyed sx @ %s:%d", file, line));
310		_sx_assert(sx, SA_XLOCKED, file, line);
311		curthread->td_locks--;
312		WITNESS_UNLOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line);
(kgdb) backtrace
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:241
#1  0xc0acf5e0 in buf.14794 ()
#2  0xc068e42f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#3  0xc068e86b in panic (fmt=Could not find the frame base for "panic".
) at /usr/src/sys/kern/kern_shutdown.c:563
#4  0xc09b7b33 in trap_fatal (frame=0xe699fa4c, eva=136)
    at /usr/src/sys/i386/i386/trap.c:872
#5  0xc09b76d5 in trap_pfault (frame=0xe699fa4c, usermode=0, eva=136)
    at /usr/src/sys/i386/i386/trap.c:785
#6  0xc09b7004 in trap (frame=0xe699fa4c) at /usr/src/sys/i386/i386/trap.c:463
#7  0xc099572b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#8  0xc069922c in _sx_xunlock (sx=Cannot access memory at address 0x866
) at /usr/src/sys/kern/kern_sx.c:308
Previous frame inner to this frame (corrupt stack?)
(kgdb) up
#1  0xc0acf5e0 in buf.14794 ()
(kgdb) list
308		KASSERT(sx->sx_lock != SX_LOCK_DESTROYED,
309		    ("sx_xunlock() of destroyed sx @ %s:%d", file, line));
310		_sx_assert(sx, SA_XLOCKED, file, line);
311		curthread->td_locks--;
312		WITNESS_UNLOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line);
313		LOCK_LOG_LOCK("XUNLOCK", &sx->lock_object, 0, sx->sx_recurse, file,
314		    line);
315		if (!sx_recursed(sx))
316			lock_profile_release_lock(&sx->lock_object);
317		__sx_xunlock(sx, curthread, file, line);
(kgdb) up
#2  0xc068e42f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
409			doadump();
(kgdb) list
404	
405		/* XXX This doesn't disable interrupts any more.  Reconsider? */
406		splhigh();
407	
408		if ((howto & (RB_HALT|RB_DUMP)) == RB_DUMP && !cold && !dumping) 
409			doadump();
410	
411		/* Now that we're going to really halt the system... */
412		EVENTHANDLER_INVOKE(shutdown_final, howto);
413	
(kgdb) up
#3  0xc068e86b in panic (fmt=Could not find the frame base for "panic".
) at /usr/src/sys/kern/kern_shutdown.c:563
563		boot(bootopt);
(kgdb) list
558		/*thread_lock(td); */
559		td->td_flags |= TDF_INPANIC;
560		/* thread_unlock(td); */
561		if (!sync_on_panic)
562			bootopt |= RB_NOSYNC;
563		boot(bootopt);
564	}
565	
566	/*
567	 * Support for poweroff delay.
(kgdb) up
#4  0xc09b7b33 in trap_fatal (frame=0xe699fa4c, eva=136)
    at /usr/src/sys/i386/i386/trap.c:872
872			panic("%s", trap_msg[type]);
(kgdb) list
867			frame->tf_err = code;		/* restore error code */
868		}
869	#endif
870		printf("trap number		= %d\n", type);
871		if (type <= MAX_TRAP_MSG)
872			panic("%s", trap_msg[type]);
873		else
874			panic("unknown/reserved trap");
875	}
876	
(kgdb) up
#5  0xc09b76d5 in trap_pfault (frame=0xe699fa4c, usermode=0, eva=136)
    at /usr/src/sys/i386/i386/trap.c:785
785			trap_fatal(frame, eva);
(kgdb) list
780			if (td->td_intr_nesting_level == 0 &&
781			    PCPU_GET(curpcb)->pcb_onfault != NULL) {
782				frame->tf_eip = (int)PCPU_GET(curpcb)->pcb_onfault;
783				return (0);
784			}
785			trap_fatal(frame, eva);
786			return (-1);
787		}
788	
789		return((rv == KERN_PROTECTION_FAILURE) ? SIGBUS : SIGSEGV);
(kgdb) up
#6  0xc09b7004 in trap (frame=0xe699fa4c) at /usr/src/sys/i386/i386/trap.c:463
463				(void) trap_pfault(frame, FALSE, eva);
(kgdb) list
458	
459			KASSERT(cold || td->td_ucred != NULL,
460			    ("kernel trap doesn't have ucred"));
461			switch (type) {
462			case T_PAGEFLT:			/* page fault */
463				(void) trap_pfault(frame, FALSE, eva);
464				goto out;
465	
466			case T_DNA:
467	#ifdef DEV_NPX
(kgdb) up
#7  0xc099572b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
139		call	trap
Current language:  auto; currently asm
(kgdb) list
134	alltraps_with_regs_pushed:
135		SET_KERNEL_SREGS
136		FAKE_MCOUNT(TF_EIP(%esp))
137	calltrap:
138		pushl	%esp
139		call	trap
140		add	$4, %esp
141		
142		/*
143		 * Return via doreti to handle ASTs.
(kgdb) up
#8  0xc069922c in _sx_xunlock (sx=Cannot access memory at address 0x866
) at /usr/src/sys/kern/kern_sx.c:308
308		KASSERT(sx->sx_lock != SX_LOCK_DESTROYED,
Current language:  auto; currently c
(kgdb) list
303	void
304	_sx_xunlock(struct sx *sx, const char *file, int line)
305	{
306	
307		MPASS(curthread != NULL);
308		KASSERT(sx->sx_lock != SX_LOCK_DESTROYED,
309		    ("sx_xunlock() of destroyed sx @ %s:%d", file, line));
310		_sx_assert(sx, SA_XLOCKED, file, line);
311		curthread->td_locks--;
312		WITNESS_UNLOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line);
(kgdb) exit
Undefined command: "exit".  Try "help".
(kgdb) quit

Script done on Fri Nov  9 10:54:41 2007
-------------- next part --------------
Dump header from device /dev/ad0s4b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 182251520B (173 MB)
  Blocksize: 512
  Dumptime: Fri Nov  9 10:31:03 2007
  Hostname: nexxus.fedaykin.here
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.0-BETA2 #5: Thu Nov  8 23:44:48 BRST 2007
    lioux at nexxus:/usr/obj/usr/src/sys/LIOUX
  Panic String: page fault
  Dump Parity: 1335410508
  Bounds: 1
  Dump Status: good


More information about the freebsd-current mailing list