From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 11:09:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06EBC16A4CE for ; Thu, 4 Mar 2004 11:09:57 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF88043D1F for ; Thu, 4 Mar 2004 11:09:56 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id E498C72DCB; Thu, 4 Mar 2004 11:09:56 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id E186672DB5; Thu, 4 Mar 2004 11:09:56 -0800 (PST) Date: Thu, 4 Mar 2004 11:09:56 -0800 (PST) From: Doug White To: Hywel Mallett In-Reply-To: <006801c4017c$171633c0$0300a8c0@hmallett.co.uk> Message-ID: <20040304110756.W21028@carver.gumbysoft.com> References: <006801c4017c$171633c0$0300a8c0@hmallett.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Panic: ffs_umount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 19:09:57 -0000 On Thu, 4 Mar 2004, Hywel Mallett wrote: > Hi all, > I got a panic while trying to umount a floppy > I'm not a developer, but I followed the instructions in the developers > handbook, so I've got a backtrace and a dmesg attached. Did you remove the floppy before unmounting it? That is a known panic trigger. > The last security log before the crash had the following line: > > fd0: hard error cmd=read fsbn 62 of 56-63 (ST0 44 ST1 > 20 ST2 20 cyl 1 hd 1 sec 9) Yeah, UFS is known to flip out in strange ways if the underlying storage goes away. > #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 > #1 0xc04c3b99 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372 > #2 0xc04c3f78 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 > #3 0xc0646db6 in trap_fatal (frame=0xd1f24c08, eva=0) at > /usr/src/sys/i386/i386/trap.c:821 > #4 0xc0646a52 in trap_pfault (frame=0xd1f24c08, usermode=0, eva=108) at > /usr/src/sys/i386/i386/trap.c:735 > #5 0xc06465ad in trap (frame= > {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1009713920, tf_esi > = -999817216, tf_ebp = -772649844, tf_isp = -772649932, tf_ebx = 0, tf_edx = > 4, tf_ecx = -1066665592, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip > = -1067565955, tf_cs = 8, tf_eflags = 66118, tf_esp = -1009713920, tf_ss = > 1}) at /usr/src/sys/i386/i386/trap.c:420 > #6 0xc06377b8 in calltrap () at {standard input}:94 > #7 0xc051e644 in dounmount (mp=0xc30fbc00, flags=-999817216, td=0xc3d0fd00) > at /usr/src/sys/kern/vfs_mount.c:1144 > #8 0xc051e3cb in unmount (td=0xc4645500, uap=0xd1f24d14) at > /usr/src/sys/kern/vfs_mount.c:1083 > #9 0xc0647140 in syscall (frame= > {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134523407, tf_esi = > 134536705, tf_ebp = -1077942936, tf_isp = -772649612, tf_ebx = -1077943024, > tf_edx = 25, tf_ecx = 0, tf_eax = 22, tf_trapno = 12, tf_err = 2, tf_eip = > 671874959, tf_cs = 31, tf_eflags = 518, tf_esp = -1077943124, tf_ss = 47}) > at /usr/src/sys/i386/i386/trap.c:1010 > #10 0xc063780d in Xint0x80_syscall () at {standard input}:136 > ---Can't read userspace from dump, or kernel process--- > > (kgdb) quit > > > server# dmesg > Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Wed Feb 25 01:05:40 GMT 2004 > hywel@server.hmallett.co.uk:/usr/obj/usr/src/sys/server > Preloaded elf kernel "/boot/kernel/kernel" at 0xc07b0000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07b01f4. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x652 Stepping = 2 > > Features=0x183f9ff PAT,PSE36,MMX,FXSR> > real memory = 335478784 (319 MB) > avail memory = 320430080 (305 MB) > Pentium Pro MTRR support enabled > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > pcibios: BIOS version 2.10 > Using $PIR table, 6 entries at 0xc00fdb90 > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 > acpi_cpu0: on acpi0 > pcib0: port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff > on acpi0 > pci0: on pcib0 > pcib0: slot 7 INTD is routed to irq 11 > pcib0: slot 10 INTA is routed to irq 10 > agp0: mem 0xe4000000-0xe43fffff > at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xf000-0xf00f at device 7.1 on > pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > uhci0: port 0xe000-0xe01f irq 11 > at device 7.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > pci0: at device 7.3 (no driver attached) > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe400-0xe47f mem > 0xe4401000-0xe440107f irq 10 at device 10.0 on pci0 > xl0: Ethernet address: 00:01:02:e3:3b:d0 > miibus0: on xl0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pci0: at device 12.0 (no driver attached) > fdc0: port > 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > orm0: