Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 11:56:16 +0100
From:      Rene Ladan <r.c.ladan@student.tue.nl>
To:        freebsd-stable@freebsd.org
Subject:   panic after "kldunload fdc"
Message-ID:  <20041111105616.GA8575@82-168-140-74-bbxl.xdsl.tiscali.nl>

next in thread | raw e-mail | index | archive | help

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I'm running
FreeBSD 5.3-STABLE #0: Tue Nov  9 04:08:35 CET 2004     root@:/usr/obj/usr/=
src/sys/RENE
which was cvsupped at Monday, 16:00 UTC

and got this panic after doing=20
# kldload fdc
# kldload msdosfs_iconv
# kldunload msdosfs_iconv
# kldunload fdc
(all handwritten) :

kernel trap 12: page fault while in kernel mode
fault virtual address =3D 0xdeadc0de
fault code =3D supervisor read, page not present
ip =3D 0x8:0xc04fc8a8
sp =3D 0x10:0xca4aeafc
fp =3D 0x10:0xca4aeafc
cs =3D base 0x0, limit 0xffff, 0x1b, DPL 0, pres 1, def32 1, gran 1
eflags =3D interrupt enabled, resume, iopl =3D 0
curproc =3D 22038 (fdc1)
@ 322645184 =3D strlen+8: cmpb $0, 0(%edx)

trace
strlen+8 (3735929054, 3393907688, 0, 3237834112, 3393907504)
kvprintf+1657 (3227482785, 3226128960, 3393907688, 10, 3393907760)
vsnprintf+60 (3227795008, 256, 3227482785, 3393907756, 256)
panic+97 (3227482785, 3735929054, 3227487812, 239, 0)
_mtx_lock_flags+105 (3256915884, 0, 3227487812, 239 ,0)
msleep+1266 (3256915772, 3256915884, 76, 3252604499, 1000)
_end @ 3252596686 (3256915712, 3227482736, 3252594400, 3242784056, 33939080=
20)
_end @ 3252594424 (3256915712, 3393908040, 3227475519, 803, 3239611520)
fork_exit+198 (3252594400, 3256915712, 3393908040)
fork_trampoline+8 ()
eip =3D 0
esp =3D 3393908092
ebp =3D 0

acpi is disabled, fdc1 instead of fdc0 was attached (which makes no
sense as I only have one floppy drive, but fdc0 returned "cannot
allocate io port", probably because acpi is off)

I have a debug kernel, but no crashdump, panic at DDB gives
 panic: from debugger
 Uptime: ....
but hangs hard after that point

I have this config:

--- kernel config ---

ident	RENE
makeoptions	DEBUG=3D-g

machine	i386
cpu	I686_CPU
options	CPU_FASTER_5X86_FPU
options	CLK_USE_I8254_CALIBRATION	# dmesg says we have this chip

device	apic

options	SCHED_4BSD

options	KDB
options	KDB_TRACE
options	DDB
options	DDB_NUMSYM
#options	GDB # remote GDB support
options	WITNESS
options	WITNESS_SKIPSPIN
options	WITNESS_KDB
options	INVARIANTS
options	INVARIANT_SUPPORT

options	PREEMPTION
options	ADAPTIVE_GIANT

options	INET		#InterNETworking, mandatory
options	INET6		#IPv6 communications protocols
#options	IPSEC
#options	IPSEC_ESP

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	COMPAT_FREEBSD4	#Compatible with FreeBSD4
options	COMPAT_43	#Compatible with BSD 4.3 [KEEP THIS!]

options	KTRACE

options	PQ_CACHESIZE=3D32	#32kB L2 Cache

options	_KPOSIX_PRIORITY_SCHEDULING	#Posix P1003_1B real-time extensions

device	isa
device	pci

# ATA and ATAPI devices
device	ata
device	atadisk		# ATA disk drives
device	atapicd		# ATAPI CDROM drives

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

device	psm		# PS/2 mouse
# syscons is the default console driver, resembling an SCO console
device	sc
options	SC_TWOBUTTON_MOUSE

device	vga		# VGA video card driver
options	FB_INSTALL_CDEV

device	npx		 # Floating point support - do not disable.

options	DEVICE_POLLING	# improve fxp0 performance
options	HZ=3D1000		# for DEVICE_POLLING, interrrupt rate

device	loop		# Network loopback
device	ether		# Ethernet support
device	pty		# Pseudo-ttys (telnet,xterm etc)
device	bpf		# needed for DHCP
options	XBONEHACK	# same address pairs over multiple gif intf
options	PPP_BSDCOMP
options	PPP_DEFLATE
options	PPP_FILTER

device	splash		#screensaver/splash screen

device	pmtimer

--- /etc/rc.conf ---
apm_enable=3D"NO"
hostname=3D"82-168-140-74-bbxl.xdsl.tiscali.nl"
ifconfig_fxp0=3D"DHCP"
linux_enable=3D"YES"
moused_enable=3D"YES"
moused_flags=3D""
moused_type=3D"auto"
#saver=3D"blank" # njl broke my acpi at 2004-11-08 ?
dumpdev=3D"/dev/ad0s1b"

#devel/fam
rpcbind_enable=3D"YES"
inetd_enable=3D"YES"

--- /boot/loader.conf ---
mem_load=3D"YES"
io_load=3D"YES"
random_load=3D"YES"
#intpm_load=3D"YES"
speaker_load=3D"YES"
snd_cs4281_load=3D"YES"
#cd9660_iconv_load=3D"YES"
#fdc_load=3D"YES"
#msdosfs_iconv_load=3D"YES"
if_fxp_load=3D"YES"
vesa_load=3D"YES"
debug.mpsafevm=3D1

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBk0VPvz70qa4zXcwRAnYFAJ9+Jpr6fE91CtGE4qginH4Ih2DpjACgoU2Y
uEiId67vyE4NqBqOt9KybEk=
=GJ6+
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--



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