amd64/88884: Reproducable panic running OO/linux on 6.0/AMD64

Fernando Schapachnik fernando at schapachnik.com.ar
Sat Nov 12 05:00:35 PST 2005


>Number:         88884
>Category:       amd64
>Synopsis:       Reproducable panic running OO/linux on 6.0/AMD64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 13:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Fernando P. Schapachnik
>Release:        FreeBSD 6.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD funes.schapachnik.com.ar 6.0-STABLE FreeBSD 6.0-STABLE #17: Sat Nov 5 12:35:42 ART 2005 root at funes.schapachnik.com.ar:/usr/obj/usr/src/sys/FUNES2 amd64

Kernel:

--- GENERIC	Fri Nov  4 21:52:47 2005
+++ FUNES2	Thu Sep 22 22:59:15 2005
@@ -16,11 +16,11 @@
 # If you are in doubt as to the purpose or necessity of a line, check first
 # in NOTES.
 #
-# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.7 2005/10/28 19:21:27 jhb Exp $
+# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.2 2005/07/29 15:40:58 mux Exp $
 
 machine		amd64
 cpu		HAMMER
-ident		GENERIC
+ident		FUNES2
 
 # To statically compile in device wiring instead of /boot/device.hints
 #hints		"GENERIC.hints"		# Default places to look for devices.
@@ -29,7 +29,7 @@
 
 #options 	SCHED_ULE		# ULE scheduler
 options 	SCHED_4BSD		# 4BSD scheduler
-options 	PREEMPTION		# Enable kernel thread preemption
+#options 	PREEMPTION		# Enable kernel thread preemption
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
 options 	FFS			# Berkeley Fast Filesystem
@@ -49,7 +49,7 @@
 options 	COMPAT_43		# Needed by COMPAT_LINUX32
 options 	COMPAT_IA32		# Compatible with i386 binaries
 options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
 options 	COMPAT_LINUX32		# Compatible with i386 linux binaries 
 options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
 options 	KTRACE			# ktrace(1) support
@@ -64,14 +64,27 @@
 					# output.  Adds ~215k to driver.
 options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
 
-# Bus support.
+# Bus support.  Do not remove isa, even if you have no isa slots
 device		acpi
+device		isa
 device		pci
 
 # Floppy drives
@@ -117,7 +130,6 @@
 device		arcmsr		# Areca SATA II RAID
 device		ciss		# Compaq Smart RAID 5*
 device		dpt		# DPT Smartcache III, IV - See NOTES for options
-device		hptmv		# Highpoint RocketRAID 182x
 device		iir		# Intel Integrated RAID
 device		ips		# IBM (Adaptec) ServeRAID
 device		mly		# Mylex AcceleRAID/eXtremeRAID
@@ -221,6 +233,8 @@
 
 # Pseudo devices.
 device		loop		# Network loopback
+device		mem		# Memory and kernel memory devices
+device		io		# I/O device
 device		random		# Entropy device
 device		ether		# Ethernet support
 device		sl		# Kernel SLIP

>Description:
	Running OpenOffice 1.1.4 for Linux causes a panic. Seems to be related with 32-bit code.

Here is a backtrace:

Unread portion of the kernel message buffer:
panic: kmem_malloc(1447485440): kmem_map too small: 5197824 total allocated
Uptime: 6m1s
Dumping 991 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 991MB (253648 pages) 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:172
172	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0x0000000000000004 in ?? ()
#2  0xffffffff803b3f37 in boot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:399
#3  0xffffffff803b45b6 in panic (fmt=0xffffff002ac8dbe0 "\200F÷*")
    at /usr/src/sys/kern/kern_shutdown.c:555
#4  0xffffffff80550642 in kmem_malloc (map=0xffffff003c270160, 
    size=1447485440, flags=258) at /usr/src/sys/vm/vm_kern.c:299
#5  0xffffffff805492c3 in uma_large_malloc (size=1447485440, wait=258)
    at /usr/src/sys/vm/uma_core.c:2711
#6  0xffffffff803a7eab in malloc (size=0, mtp=0xffffffff8079af80, 
    flags=258) at /usr/src/sys/kern/kern_malloc.c:327
#7  0xffffffff8041d3c3 in vfs_read_dirent (ap=0xffffffffa6c5f8a0, dp=0x0, 
    off=0) at /usr/src/sys/kern/vfs_subr.c:3877
#8  0xffffffff80356c54 in devfs_readdir (ap=0xffffffffa6c5f8a0)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:828
#9  0xffffffff805c688d in VOP_READDIR_APV (vop=0x0, a=0x0)
    at vnode_if.c:1427
#10 0xffffffff805bb64f in getdents_common (td=0xffffff002ac8dbe0, 
    args=0xffffffffa6c5fba0, is64bit=1) at vnode_if.h:746
#11 0xffffffff805b40ba in ia32_syscall (frame=
      {tf_rdi = 3, tf_rsi = 6, tf_rdx = 4096, tf_rcx = 135168056, tf_r8 = 0, tf_r9 = 0, tf_rax = 220, tf_rbx = 3, tf_rbp = 4294956648, tf_r10 = 0, tf_r1
1 = 0, tf_r12 = 0, tf_r13 = 0, tf_r14 = 0, tf_r15 = 0, tf_trapno = 12, tf_addr = 135172152, tf_flags = 0, tf_err = 2, tf_rip = 672771129, tf_cs = 27, tf_rflags = 582, tf_rsp = 4294956572, tf_ss = 35})
    at /usr/src/sys/amd64/ia32/ia32_syscall.c:186
#12 0xffffffff8056ee3d in Xint0x80_syscall () at ia32_exception.S:64
#13 0x000000002819ac39 in ?? ()
Previous frame inner to this frame (corrupt stack?)

	
>How-To-Repeat:

	Run OpenOffice 1.1.4 for Linux.
	
>Fix:

	Don't know.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list