FreeBSD 6.0 Release: XMMS causes kernel panic if HTT is enabled
Sidorkin Oleg
osidorkin at gmail.com
Mon Jan 2 05:05:02 PST 2006
Hello,
If HTT is disabled in BIOS configurator, XMMS works fine (It played about a
week continiously ). If HTT is enabled XMMS causes kernel panic after few
hours of playing. Any ideas?
StackTrace:
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x18
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc04c2497
stack pointer = 0x28:0xeb32e9dc
frame pointer = 0x28:0xeb32ea18
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 = 2990 (xmms)
trap number = 12
panic: page fault
cpuid = 1
Uptime: 1h50m30s
Dumping 2559 MB (2 chunks)
chunk 0: 1MB (159 pages)
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x1c
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc052c178
stack pointer = 0x28:0xe7ac1c8c
frame pointer = 0x28:0xe7ac1ccc
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 = 36 (swi4: clock sio)
trap number = 12
panic: page fault
cpuid = 1
... ok
chunk 1: 2559MB (655024 pages) 2543 2527 2511 2495 2479 2463 2447 2431 2415
2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239 2223 2207 2191 2175
2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999 1983 1967 1951 1935
1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695
1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455
1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215
1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959
943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655
639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351
335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15
#0 doadump () at pcpu.h:165
165 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:165
#1 0xc051d5d3 in boot (howto=260) at ../../../kern/kern_shutdown.c:399
#2 0xc051d984 in panic (fmt=0xc06b29f9 "%s")
at ../../../kern/kern_shutdown.c:555
#3 0xc0698b28 in trap_fatal (frame=0xeb32e99c, eva=0)
at ../../../i386/i386/trap.c:831
#4 0xc0698821 in trap_pfault (frame=0xeb32e99c, usermode=0, eva=24)
at ../../../i386/i386/trap.c:742
#5 0xc0698407 in trap (frame=
{tf_fs = -349044728, tf_es = -1066532824, tf_ds = -996474840, tf_edi =
0, tf_esi = -348984384, tf_ebp = -348984808, tf_isp = -348984888, tf_ebx = 0,
tf_edx = 18, tf_ecx = -348984752, tf_eax = 0, tf_trapno = 12, tf_err = 2,
tf_eip = -1068751721, tf_cs = 32, tf_eflags = 66054, tf_esp = -1002219520,
tf_ss = 4098}) at ../../../i386/i386/trap.c:432
#6 0xc0683e7a in calltrap () at ../../../i386/i386/exception.s:139
#7 0xc04c2497 in devfs_open (ap=0xeb32ea50)
at ../../../fs/devfs/devfs_vnops.c:703
#8 0xc06a3328 in VOP_OPEN_APV (vop=0x0, a=0x12) at vnode_if.c:372
#9 0xc0591a5c in vn_open_cred (ndp=0xeb32ebc0, flagp=0xeb32ecc0, cmode=0,
cred=0xc5421880, fdidx=18) at vnode_if.h:198
#10 0xc05915bf in vn_open (ndp=0xeb32ea50, flagp=0x0, cmode=0, fdidx=0)
at ../../../kern/vfs_vnops.c:91
#11 0xc0589068 in kern_open (td=0xc55e3600, path=0x0, pathseg=UIO_USERSPACE,
flags=1, mode=0) at ../../../kern/vfs_syscalls.c:979
#12 0xc0588f66 in open (td=0x0, uap=0xeb32ed04)
at ../../../kern/vfs_syscalls.c:945
#13 0xc0698f0f in syscall (frame=
{tf_fs = 137232443, tf_es = 59, tf_ds = -1090584517, tf_edi = 135516160,
tf_esi = 0, tf_ebp = -1077942680, tf_isp = -348983964, tf_ebx = 675767476,
tf_edx = 0, tf_ecx = 135935024, tf_eax = 5, tf_trapno = 22, tf_err = 2,
tf_eip = 676095987, tf_cs = 51, tf_eflags = 582, tf_esp = -1077942724, tf_ss
= 59}) at ../../../i386/i386/trap.c:976
#14 0xc0683ecf in Xint0x80_syscall () at ../../../i386/i386/exception.s:200
#15 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) up 7
#7 0xc04c2497 in devfs_open (ap=0xeb32ea50)
at ../../../fs/devfs/devfs_vnops.c:703
703 fp = ap->a_td->td_proc->p_fd->fd_ofiles[ap->a_fdidx];
(kgdb) p ap->a_fdidx
$1 = 18
(kgdb) p ap->a_td->td_proc->p_fd->fd_ofiles[18]
$2 = (struct file *) 0x0
(kgdb) p ap->a_td->td_proc->p_fd->fd_ofiles[17]
$3 = (struct file *) 0xc4c39d38
(kgdb)
dmesg output and kernel configuration file are attached.
--
Oleg S. Sidorkin
-------------- 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.429.2.3.2.1 2005/10/28 19:22:41 jhb Exp $
machine i386
cpu I686_CPU
ident P4KERNEL
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
options SCHED_4BSD # 4BSD scheduler
#options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
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 MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
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 AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options SMP
device apic # I/O APIC
# Bus support.
device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device atapicam
# RAID controllers interfaced to the SCSI subsystem
# RAID controllers
# 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 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
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
# Power management support (see NOTES for more options)
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
# 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 the sio and/or ppc drivers):
# PCI Ethernet NICs.
# 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 sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs. pccard NICs included.
# ISA devices that use the old ISA shims
# Wireless NIC cards
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
# 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 umass # Disks/Mass storage - Requires scbus and da
#device ucom
#device uvisor
# USB Ethernet, requires miibus
# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)
#my own
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DEVICE_POLLING
device sound
device snd_ich
More information about the freebsd-questions
mailing list