From owner-freebsd-bugs Tue Nov 17 12:00:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03770 for freebsd-bugs-outgoing; Tue, 17 Nov 1998 12:00:04 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA03708 for ; Tue, 17 Nov 1998 11:59:57 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA00646; Tue, 17 Nov 1998 12:00:02 -0800 (PST) Date: Tue, 17 Nov 1998 12:00:02 -0800 (PST) Message-Id: <199811172000.MAA00646@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Cy Schubert Subject: Re: kern/5355: Fix for NULLFS problems Reply-To: Cy Schubert Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/5355; it has been noted by GNATS. From: Cy Schubert To: "Vladimir B. Grebenschikov" Cc: freebsd-gnats-submit@freebsd.org, cschuber@uumail.gov.bc.ca, bde@zeta.org.au Subject: Re: kern/5355: Fix for NULLFS problems Date: Tue, 17 Nov 1998 11:53:23 -0800 You may want to try Bruce Evans' patch discussed in the PR under 3.0. My patch has only been tested on -stable. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Open Systems Group Internet: Cy.Schubert@uumail.gov.bc.ca ITSD Cy.Schubert@gems8.gov.bc.ca Government of BC In message <3651B1DE.3D5F4E0C@plugcom.ru>, "Vladimir B. Grebenschikov" writes: > > It is not full workable fix :( > > # uname -a > FreeBSD ds.express.ru 3.0-980520-SNAP FreeBSD 3.0-980520-SNAP #5: Thu > Nov 5 23:22:39 MSK 1998 vova@ds.express.ru:/usr/src/sys/compile/DS > i386 > > # mount -t null /home/ntmdt /users/home/ntmdt > # cd /users/home/ntmdt > # ls -ldi . WWW.access.log > 844906 drwxr-xr-x 32 ntmdt ntmdt 3072 Nov 17 06:00 . > 846338 -rw-r--r-- 1 ntmdt ntmdt 116345 Nov 17 19:57 WWW.access.log > # tail -f WWW.access.log > // normal web log output here > // ... > // trying another user > # umount /home/ntmdt > # mount -t null /home/aqwamdt /users/home/aqwamdt > # cd /users/home/aqwamdt > # ls -ldi . WWW.access.log > 906380 drwxr-x--- 4 aqwamdt aqwamdt 512 Feb 7 1998 . > 906387 -rw-r----- 1 root aqwamdt 46672 Mar 30 1998 WWW.access.log > # tail -f WWW.access.log > > // on console imideatly appears: > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x40 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xf01779d9 > stack pointer = 0x10:0xf7021ce0 > frame pointer = 0x10:0xf7021dbc > 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 = 3648 (tail) > interrupt mask = > trap number = 12 > panic: page fault > > // 100% repeating > // when ... when nullfs will work ???? > > more: > > # md /users > # cat bin.?? | tar -xpzf - -C /users > # cp -p /usr/local/bin/perl /users/usr/local/bin > # mount -t null /usr/local/lib/perl5 /users/usr/local/lib/perl5 > # chroot /users > # perl > use strict; > ^D > # > # perl > use stict; > use Net::Ping; > ^D > ... PAGE fault in kernel ... current process: perl > > > -- > > Plug Communication ISP, Moscow > Vladimir B. Grebenschikov, vova@plugcom.ru, 2:5020/302@fidonet.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message