Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 23:03:24 +0300
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        freebsd-stable@freebsd.org
Subject:   Re: [HEADS UP] change in devfs path matching logic
Message-ID:  <20130824230324.12371xhs3clidbi8@webmail.raad.tartu.ee>
In-Reply-To: <52176C7B.4070701@FreeBSD.org>
References:  <51F28A33.7040209@FreeBSD.org> <52176C7B.4070701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

On Fri, 23 Aug 2013 Andriy Gapon <avg@FreeBSD.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130824230324.12371xhs3clidbi8>