From owner-freebsd-stable@FreeBSD.ORG Sat Aug 24 20:08:40 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1BC9EF31 for ; Sat, 24 Aug 2013 20:08:40 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2FC420D1 for ; Sat, 24 Aug 2013 20:08:39 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id B996339877 for ; Sat, 24 Aug 2013 23:03:29 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A4jyuQOPWjdE for ; Sat, 24 Aug 2013 23:03:24 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id 42B5D39875; Sat, 24 Aug 2013 23:03:24 +0300 (EEST) Received: from 160.67.235.80.dyn.estpak.ee (160.67.235.80.dyn.estpak.ee [80.235.67.160]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Sat, 24 Aug 2013 23:03:24 +0300 Message-ID: <20130824230324.12371xhs3clidbi8@webmail.raad.tartu.ee> Date: Sat, 24 Aug 2013 23:03:24 +0300 From: Toomas Aas To: freebsd-stable@freebsd.org Subject: Re: [HEADS UP] change in devfs path matching logic References: <51F28A33.7040209@FreeBSD.org> <52176C7B.4070701@FreeBSD.org> In-Reply-To: <52176C7B.4070701@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 80.235.67.160 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 20:08:40 -0000 Hello! On Fri, 23 Aug 2013 Andriy Gapon wrote: > > This change is about to be MFC-ed. > > on 26/07/2013 17:39 Andriy Gapon said the following: >> >> I have just committed a significant change to devfs path matching logic >> http://svnweb.freebsd.org/changeset/base/253677 I just rebuilt my 8-STABLE i386 system to r254796 and now receive a =20 kernel panic on boot. If I remove my /etc/devfs.rules file, the panic =20 does not happen. Can anyone point out what is wrong with my =20 devfs.rules what the new path matching logic doesn't like? $ cat /etc/devfs.rules.old [localrules=3D10] add path "da*" mode 0660 group operator add path "usb/1.2.0" mode 0660 group uucp add path "usb/4.3.0" mode 0660 group operator The panic, as transcribed from screen: Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x0 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc06dde21 stack pointer =3D 0x28:0xe8690a48 frame pointer =3D 0x28:0xe8690a80 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, iopl =3D 0 current process =3D 577 (ln) trap number =3D 12 panic: page fault KDB: stack backtrace: #0 0xc0670ece at kdb_backtrace+0x50 #1 0xc06449fa at panic+0x132 #2 0xc07eb1d2 at trap_fatal+0x21e #3 0xc07eb4e0 at trap_pfault+0x1c2 #4 0xc07ec251 at trap+0x3c1 #5 0xc07d95fc at calltrap+0x6 #6 0xc05c7001 at devfs_rule_run+0x13d #7 0xc05c70c3 at devfs_ruleset_applyde+0x25 #8 0xc05c71b3 at devfs_rules_apply+0x73 #9 0xc05cad51 at devfs_symlink+0x124 #10 0xc080d084 at VOP_SYMLINK_APV+0x4a #11 0xc06d2985 at kern_symlinkat+0x38b #12 0xc06d29da at kern_symlink+0x2e #13 0xc06d2a05 at symlink+0x29 #14 0xc07eb7c7 at syscall+0x1a1 #15 0xc07d9661 at Xint0x80_syscall+0x21 Thanks in advance! --=20 Toomas Aas Tartu linnakantselei arvutiv=F5rgu peaspetsialist tel 736 1274 mob 513 6493