Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 18:57:45 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
Cc:        emulation@freebsd.org
Subject:   Re: 7-stable: linux_dist-gentoo-stage3 wonn't bootstrap
Message-ID:  <20081228175745.GA56640@freebsd.org>
In-Reply-To: <wpmyeg2yjg.fsf@heho.snv.jussieu.fr>
References:  <wp3ag9s5hy.fsf@heho.snv.jussieu.fr> <20081227220645.GA13295@freebsd.org> <wpmyeg2yjg.fsf@heho.snv.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > So :
> > >   - does someone have a patch with these at-functions
> > >     (or the svn command to create it)
> > 
> > that would not be easy.... but 8-current implements those
> 
> OK, but the maybe the linux_dist-gentoo-stage3 should be marked
> BROKEN on <8
  
maybe, can someone commit a fix to this?

> > >   - or can I even bluntly copy the linuxulator from head
> > >     to releng_7 ?
> > 
> > no... I doubt that would work.
> > 
> > 
> > try 8-current and stick with that if it works
> 
> OK, I upgraded this box to 8-current; now the bootstrap.sh
> 'hangs' when compiling gconv_simple.c (I can provide
> whole command line ) :
> 
>   top(1) shows :
> 
>    17547 root          1  76    0  4640K  4048K ppwait   0:05  0.00% gmake
>    23865 root          1  76    0  4596K  4176K ppwait   0:02  0.00% gmake
>    23899 root          1  76    0 18152K 16808K pipewr   0:01  0.00% cc1
>    15076 root          1  76    0  1672K   872K wait     0:00  0.00% sandbox
>    23898 root          1  76    0  2296K  1428K ppwait   0:00  0.00% i486-pc-linux
> 
>   and dmesg(1) says :
> 
>   t_delta 15.fcd4d7d810818e80 too short
> lock order reversal:
>  1st 0xffffff0024436ba8 pseudofs (pseudofs) @ /raid1/bsd/src-current/sys/kern/vfs_vnops.c:531
>  2nd 0xffffffff80729360 sysctl lock (sysctl lock) @ /raid1/bsd/src-current/sys/kern/kern_sysctl.c:1088
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> _witness_debugger() at _witness_debugger+0x65
> witness_checkorder() at witness_checkorder+0x859
> _sx_xlock() at _sx_xlock+0x55
> kernel_sysctl() at kernel_sysctl+0xbc
> linprocfs_docpuinfo() at linprocfs_docpuinfo+0x84
> pfs_read() at pfs_read+0x53c
> vn_read() at vn_read+0x267
> dofileread() at dofileread+0xa1
> kern_readv() at kern_readv+0x60
> read() at read+0x54
> ia32_syscall() at ia32_syscall+0x1ab
> Xint0x80_syscall() at Xint0x80_syscall+0x60
> --- syscall (3, Linux ELF32, read), rip = 0x2812ae7e, rsp = 0xffff9c24, rbp = 0xffff9c38 ---
> 
> 
> NB, linprocfs is mounted on /compat/linux/proc as well
> as /usr/local/gentoo-stage3/proc
> 
> Let me know if you need more info; I'll leave the box in this state
> for a while

does this patch fix the hang? 

www.vlakno.cz/~rdivacky/linprocfs.patch

roman



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