Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: utimensat



David Holland <dholland-current%netbsd.org@localhost> wrote:

>  > Don't know yet: I rebooted with the new kernel and init panic'ed. 
>  > I am now struggling to build.sh release, but get a few failures.> 
> That's ... not very promising :(

Right, I fixed a bad check on flags. Here is it:
http://ftp.espci.fr/shadow/manu/openat-2.patch

open(2) works again and the system boots to multiuser. 

I tried this test for openat(2):
http://ftp.espci.fr/shadow/manu/t_openat.c

And got this:

panic: kernel diagnostic assertion "(vp->v_iflag & VI_MARKER) == 0"
failed: file "/usr/src-20120321/sys/kern/vfs_vnode.c", line 889 
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c01330a4 cs 9 eflags 286 cr2 bbbbd320 ilevel 0
esp d81279cc curlwp 0xc12baa80 pid 168 lid 1 lowest kstack 0xd8125000
Stopped in pid 168.1 (t_openat) at      netbsd:breakpoint+0x4:  popl
%ebp
breakpoint(c04b2147,c05421c0,c04acf90,d81279f8,d8127a14,c0435a2f,c1ea263
4,c1ea26e4,d81279f4,c0452359) at netbsd:breakpoint+0x4
vpanic(c04acf90,d81279f8,d8127c3c,0,c04a83d8,c1ea26e4,d8127a0c,c0444853,
c04acf90,c04acfd1) at netbsd:vpanic+0x218
kern_assert(c04acf90,c04acfd1,c04e7c80,c04e7be4,379,d8127c34,d8127aec,c0
4366fc,c1bbab00,c04e6801) at netbsd:kern_assert+0x23
vref(c1bbab00,c04e6801,4,c1471800,4,c110a160,c12bac54,0,c0442f27,0) at
netbsd:vref+0x53
namei_tryemulroot(0,fffffffe,1,c1471800,d8127b44,c0456535,c1c223a0,c1c22
3a0,1,0) at netbsd:namei_tryemulroot+0x5ec
namei(d8127c34,c04469ad,d8127b9c,c04565b3,d8127b74,c0383c79,0,c1b9b0c0,0
,c1b9b0c0) at netbsd:namei+0x29
vn_open(d8127c34,1,0,c1471c00,c12c9e80,1,c1c223a0,c1bbab00,c1bbab00,c1c2
23a0) at netbsd:vn_open+0xa1
do_open(0,0,d8127cac,0,c1c223a0,c1bbab00,c1c223a0,c12baa80,d8127d48,c04f
ad50) at netbsd:do_open+0xc4
sys_openat(c12baa80,d8127cf4,d8127d1c,127d30,0,bbbbd320,bbbbd000,2,c0311
014,c12c7a20) at netbsd:sys_openat+0x72
syscall() at netbsd:syscall+0x83



-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index