Date: Tue, 27 May 1997 14:05:31 -0500 From: Karl Denninger <karl@Mcs.Net> To: Doug Rabson <dfr@nlsystems.com> Cc: Bob Bishop <rb@gid.co.uk>, Karl Denninger <karl@Mcs.Net>, current@FreeBSD.ORG Subject: Re: Boom! :-) Message-ID: <19970527140531.12098@Mercury.Mcs.Net> In-Reply-To: <Pine.BSF.3.95q.970527141015.349C-100000@herring.nlsystems.com>; from Doug Rabson on Tue, May 27, 1997 at 02:12:56PM %2B0100 References: <l03020910afb05a09eb52@[194.32.164.2]> <Pine.BSF.3.95q.970527141015.349C-100000@herring.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 27, 1997 at 02:12:56PM +0100, Doug Rabson wrote: > On Tue, 27 May 1997, Bob Bishop wrote: > > > At 0:24 +0100 27/5/97, Karl Denninger wrote: > > >On Mon, May 26, 1997 at 07:58:28PM +0100, Bob Bishop wrote: > > >>[...] > > >> If, as I suspect, 0x8:0xf01119b0 = _lockstatus + 0x8, this is a > > >> particularly bad case of kern/3581. > > >>[...] > > >Hmmm... Don't think so... this looks to be in lockinit... > > > > Sure does. Congratulations! Looks like you've found another semi-repeatable > > way to summon up the lock gremlins! :-) :-) :-{ > > > > Seriously folks, the size of this club (people who regularly fall down > > various lock-related holes) seems to be growing. I have a little time to > > spare at the moment but I'm not up to speed with this stuff, and I have to > > say it looks unpleasant. > > This is a workaround for the lockstatus panic. A better fix will probably > have to wait until Peter is finished with poll(2). > > Index: ufs_vnops.c > =================================================================== > RCS file: /home/ncvs/src/sys/ufs/ufs/ufs_vnops.c,v > retrieving revision 1.50 > diff -u -r1.50 ufs_vnops.c > --- ufs_vnops.c 1997/05/17 18:32:53 1.50 > +++ ufs_vnops.c 1997/05/27 13:11:19 > @@ -1788,6 +1788,9 @@ > } */ *ap; > { > > + if (ap->a_vp->v_flag & VXLOCK) > + return TRUE; > + > return (lockstatus(&VTOI(ap->a_vp)->i_lock)); > } > > > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 951 1891 > Fax: +44 181 381 1039 > That patch does NOT stop the panics: Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #1: Tue May 27 09:55:02 CDT 1997 karl@Codebase.mcs.net:/usr/src/sys/compile/MCS_STANDARD CPU: Pentium (90.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x521 Stepping=1 Features=0x5bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,<b10>> real memory = 67108864 (65536K bytes) Physical memory hole(s): avail memory = 62939136 (61464K bytes) eisa0: <ASU5101 (System Board)> Probing for devices on the EISA bus ahb0: <Adaptec 174x SCSI host adapter> at 0x1c00-0x1cff irq 11 on eisa0 slot 1 ahb0: waiting for scsi devices to settle scbus0 at ahb0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: <MICROP 4110-09TBCU0322L HT01> type 0 fixed SCSI 2 sd0: Direct-Access 1002MB (2053880 512 byte sectors) sd0: with 2428 cyls, 9 heads, and an average 93 sectors/track Probing for devices on PCI bus 0: chip0: <Intel 82434NX (Neptune) PCI cache memory controller> rev 0x11 on pci0.0.0 chip1: <Intel 82375EB PCI-EISA bridge> rev 0x03 on pci0.2.0 de0: <Digital 21140 Fast Ethernet> rev 0x12 int a irq 10 on pci0.6.0 de0: SMC 9332 21140 [10-100Mb/s] pass 1.2 de0: address 00:00:c0:82:ea:e3 de0: enabling 10baseT port Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 3 maddr 0xd0000 msize 16384 on isa ed0: address 00:00:c0:15:2c:76, type SMC8216T (16 bit) ed1 not found at 0x300 sio0 not found at 0x3f8 sio1 not found at 0x2f8 sio2: disabled, not probed. sio3: disabled, not probed. lpt0 not found lpt1 not found fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 aha0 not found at 0x330 aic0 not found at 0x340 npx0 on motherboard npx0: INT 16 interface ccd0-3: Concatenated disk drivers WARNING: / was not properly dismounted. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xf019c831 stack pointer = 0x10:0xf68c2f10 frame pointer = 0x10:0xf68c2f4c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4 (update) interrupt mask = trap number = 12 panic: page fault syncing disks... Fatal trap 12: page fault while in \M^?\^Code fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xf019c831 stack pointer = 0x10:0xf68c2da8 frame pointer = 0x10:0xf68c2de4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4 (update) interrupt mask = trap number = 12 panic: page fault Automatic reboot in 15 seconds - press a key on the console to abort f019b720 F ffs_vfsops.o f019b720 t ___set_vfs_set_sym__fs_vfsconf f019b7c0 t _ffs_mount f019bacc t _ffs_reload f019be68 T _ffs_mountfs f019c460 t _ffs_oldfscompat f019c4f4 T _ffs_unmount f019c640 T _ffs_flushfiles f019c6a4 T _ffs_statfs f019c7bc T _ffs_sync <<<< It moves to here. f019c9a0 T _ffs_vget f019cc74 T _ffs_fhtovp f019ccc0 T _ffs_vptofh f019cce4 t _ffs_init f019ccf4 t _ffs_sbupdate f019ce80 F ffs_vnops.o f019ce80 t ___set_vfs_opv_descs__sym_ffs_vnodeop_opv_desc f019ce84 t ___set_vfs_opv_descs__sym_ffs_specop_opv_desc f019ce88 t ___set_vfs_opv_descs__sym_ffs_fifoop_opv_desc f019ce8c t _sysctl___vfs_ffs f019ceb0 t ___set_sysctl__vfs_sym_sysctl___vfs_ffs f019ceb4 t ___set_sysctl__vfs_ffs_sym_sysctl___vfs_ffs f019ceb8 t _sysctl___vfs_ffs_doclusterread f019cee4 t ___set_sysctl__vfs_ffs_sym_sysctl___vfs_ffs_doclusterread f019cee8 t _sysctl___vfs_ffs_doclusterwrite f019cf14 t ___set_sysctl__vfs_ffs_sym_sysctl___vfs_ffs_doclusterwrite f019cf18 t _ffs_read f019d318 t _ffs_write f019d914 t _ffs_getpages f019de04 t _ffs_fsync f019dfd0 T _ffs_reclaim f019e020 F ufs_bmap.o The patch masked the symptom, but not the disease. -- -- Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity http://www.mcs.net/~karl | T1's from $600 monthly to FULL DS-3 Service | 99 Analog numbers, 77 ISDN, http://www.mcs.net/ Voice: [+1 312 803-MCS1 x219]| NOW Serving 56kbps DIGITAL on our analog lines! Fax: [+1 312 803-4929] | 2 FULL DS-3 Internet links; 400Mbps B/W Internal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970527140531.12098>