From owner-freebsd-stable Wed Jan 3 01:07:11 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA23059 for stable-outgoing; Wed, 3 Jan 1996 01:07:11 -0800 (PST) Received: from westhill.cdrom.com (westhill.cdrom.com [192.216.223.138]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA23054 for ; Wed, 3 Jan 1996 01:07:08 -0800 (PST) From: gpalmer@westhill.cdrom.com Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by westhill.cdrom.com (8.6.12/8.6.12) with SMTP id BAA08928 for ; Wed, 3 Jan 1996 01:07:06 -0800 X-Authentication-Warning: westhill.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: freebsd-stable@freebsd.org Subject: Another 2.1 panic :-( Date: Wed, 03 Jan 1996 01:07:06 -0800 Message-ID: <8926.820660026@westhill.cdrom.com> Sender: owner-stable@freebsd.org Precedence: bulk Hi guys. Same machine, different panic: IdlePTD 1f3000 current pcb at 1ca3e0 panic: ufs_unlock NOT LOCKED #0 boot (howto=260) at ../../i386/i386/machdep.c:892 892 dumppcb.pcb_ptd = rcr3(); (kgdb) bt #0 boot (howto=260) at ../../i386/i386/machdep.c:892 #1 0xf0117e55 in panic (fmt=0xf010130c "from debugger") at ../../kern/subr_prf.c:124 #2 0xf0101329 in db_panic (dummy1=-266753289, dummy2=0, dummy3=-1, dummy4=0xefbffcb0 "") at ../../ddb/db_command.c:397 #3 0xf0101212 in db_command (last_cmdp=0xf01bbaf4, cmd_table=0xf01bb954) at ../../ddb/db_command.c:281 #4 0xf0101391 in db_command_loop () at ../../ddb/db_command.c:419 #5 0xf0103e7c in db_trap (type=3, code=0) at ../../ddb/db_trap.c:72 #6 0xf019a8ce in kdb_trap (type=3, code=0, regs=0xefbffda0) at ../../i386/i386/db_interface.c:120 #7 0xf01a2134 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -245918080, tf_esi = -245953024, tf_ebp = -272630300, tf_isp = -266753289, tf_ebx = 256, tf_edx = -266753335, tf_ecx = 2000, tf_eax = -1, tf_trapno = 3, tf_err = 0, tf_eip = -266753289, tf_cs = 8, tf_eflags = 582, tf_esp = -266753351, tf_ss = -267289077}) at ../../i386/i386/trap.c:387 #8 0xf019b19d in calltrap () #9 0xf019aaf7 in Debugger (msg=0xf0117e0b "panic") at ../../i386/i386/db_interface.c:257 #10 0xf0117e4f in panic (fmt=0xf0189004 "ufs_unlock NOT LOCKED") at ../../kern/subr_prf.c:122 #11 0xf01890a5 in ufs_unlock (ap=0xefbffe24) at ../../ufs/ufs/ufs_vnops.c:1621 #12 0xf012ef46 in vput (vp=0xf1570e00) at ./vnode_if.h:618 #13 0xf01316ce in lstat (p=0xf13fad00, uap=0xefbfff94, retval=0xefbfff8c) at ../../kern/vfs_syscalls.c:1271 #14 0xf01a2b1b in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 143630, tf_esi = 200960, tf_ebp = -272638884, tf_isp = -272629788, tf_ebx = 201028, tf_edx = 200956, tf_ecx = 201024, tf_eax = 190, tf_trapno = 582, tf_err = 582, tf_eip = 38693, tf_cs = 31, tf_eflags = 582, tf_esp = -272639004, tf_ss = 39}) at ../../i386/i386/trap.c:878 #15 0xf019b1eb in Xsyscall () #16 0x661e in ?? () #17 0x217e in ?? () #18 0x2115 in ?? () #19 0x10d3 in ?? () This is on a CDROM that was just mounted, and the command that seemed to do it was a `ls' of the directory the CDROM was mounted on. I just noticed that the twit which did this did: cd /cdrom ls mount /cdrom ls Still, it should not have happened... Again, core file available. Thanks Gary From owner-freebsd-stable Wed Jan 3 09:55:25 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA26282 for stable-outgoing; Wed, 3 Jan 1996 09:55:25 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA26275 for ; Wed, 3 Jan 1996 09:55:19 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id JAA28812; Wed, 3 Jan 1996 09:55:09 -0800 From: "Rodney W. Grimes" Message-Id: <199601031755.JAA28812@GndRsh.aac.dev.com> Subject: Re: Another 2.1 panic :-( To: gpalmer@westhill.cdrom.com Date: Wed, 3 Jan 1996 09:55:08 -0800 (PST) Cc: freebsd-stable@freebsd.org In-Reply-To: <8926.820660026@westhill.cdrom.com> from "gpalmer@westhill.cdrom.com" at Jan 3, 96 01:07:06 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-stable@freebsd.org Precedence: bulk > > > Hi guys. > > Same machine, different panic: > > IdlePTD 1f3000 > current pcb at 1ca3e0 > panic: ufs_unlock NOT LOCKED > #0 boot (howto=260) at ../../i386/i386/machdep.c:892 ... > > This is on a CDROM that was just mounted, and the command that seemed > to do it was a `ls' of the directory the CDROM was mounted on. I just > noticed that the twit which did this did: > > cd /cdrom > ls > mount /cdrom > ls > > > Still, it should not have happened... > > Again, core file available. It didn't panic my system but I saw a very similiar thing the other night, let me see if I can reproduce it: SkyRsh# umount /mnt SkyRsh# cd /mnt SkyRsh# ls SkyRsh# mount /dev/sd1a /mnt SkyRsh# ls disks tfs tmp SkyRsh# ls disks ls: disks: No such file or directory SkyRsh# cd disks disks: No such file or directory. SkyRsh# ls disks tfs tmp SkyRsh# ls -lag total 5 drwxr-xr-x 5 root wheel 512 Jan 1 17:23 . drwxr-xr-x 20 root wheel 512 Dec 23 16:50 .. drwxr-xr-x 13 root wheel 512 Dec 2 12:44 disks drwxr-xr-x 2 rgrimes rgrimes 512 Jul 27 12:12 tfs drwxrwxrwt 3 root wheel 512 Jan 1 17:23 tmp SkyRsh# cd /mnt SkyRsh# ls archie.jpeg disks tfs tmp SkyRsh# ls disks #9 brother kouwell novell adaptec di microsoft osf1 asus ecs miro SkyRsh# Seems that the mount code is allowing you to mount over a ``busy'' directory :-(. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-freebsd-stable Thu Jan 4 01:06:08 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA24098 for stable-outgoing; Thu, 4 Jan 1996 01:06:08 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA24089 Thu, 4 Jan 1996 01:06:01 -0800 (PST) Message-Id: <199601040906.BAA24089@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: stable, announce Subject: Heads up! EisaConf changes to -stable Date: Thu, 04 Jan 1996 01:05:58 -0800 From: "Justin T. Gibbs" Sender: owner-stable@FreeBSD.ORG Precedence: bulk I've just commited the eisaconf code from -current to -stable. The main reason for doing this was to allow me to bring the new aic7xxx driver into -stable easily as well as make any future syncing between the two trees in this area less difficult. There haven't been any bug reports logged against the eisaconf code since its been in 2.2 (except for the complaint about interrupt statistics), so I don't think it will cause any problems. Please let me know if it does. You will have to adjust your kernel config file once you sync to these changes. If you use the ahb driver (Adaptec 174X controllers), your config should look like this: controller eisa0 controller ahb0 If you use the ahc driver (Adaptec 2742/2842/2940/3940), your config should look like this: controller eisa0 # Only necessary for 2742/2842/and aic7770 controllers controller ahc0 # You need two ahc controller definitions for each # 3940 in your system, so for a single 3940, you # would have an aditional "controller ahc1" in # your file. If you use th bt driver (Buslogic 445, 5xx, 7xx, 9xx), your config should look like this: controller eisa0 # Only necessary for 7xx cards controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================