From owner-freebsd-stable@FreeBSD.ORG Thu Nov 11 10:55:05 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42FAF16A4CE for ; Thu, 11 Nov 2004 10:55:05 +0000 (GMT) Received: from 82-168-140-74-bbxl.xdsl.tiscali.nl (82-168-140-74-bbxl.xdsl.tiscali.nl [82.168.140.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 707D543D2D for ; Thu, 11 Nov 2004 10:55:04 +0000 (GMT) (envelope-from rene@82-168-140-74-bbxl.xdsl.tiscali.nl) Received: from 82-168-140-74-bbxl.xdsl.tiscali.nl (localhost [127.0.0.1]) iABAuG8D010037 for ; Thu, 11 Nov 2004 11:56:17 +0100 (CET) (envelope-from rene@82-168-140-74-bbxl.xdsl.tiscali.nl) Received: (from rene@localhost)iABAuGEt010036 for freebsd-stable@freebsd.org; Thu, 11 Nov 2004 11:56:16 +0100 (CET) (envelope-from rene) Date: Thu, 11 Nov 2004 11:56:16 +0100 From: Rene Ladan To: freebsd-stable@freebsd.org Message-ID: <20041111105616.GA8575@82-168-140-74-bbxl.xdsl.tiscali.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: panic after "kldunload fdc" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 10:55:05 -0000 --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--