Re: Tmpfs panic in -current

2012-06-25 Thread Konstantin Belousov
On Mon, Jun 25, 2012 at 10:03:28AM +0800, Kevin Lo wrote: I've observed a panic in recent -current several times but I only have a picture of the backtrace: http://people.freebsd.org/~kevlo/panic_tmpfs.jpg Does this look at all familiar to anyone? Can you look up the line corresponding to

sysctl filesystem ?

2012-06-25 Thread Arnaud Lacombe
Hi folks, I find myself in a situation where I need to directly explore the sysctl(8) tree from my program. The tricky part is this: from `src/sbin/sysctl.c': /* * These functions uses a presently undocumented interface to the kernel * to walk the tree and get the type so it can print the

Re: sysctl filesystem ?

2012-06-25 Thread Garrett Cooper
On Mon, Jun 25, 2012 at 5:03 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi folks, I find myself in a situation where I need to directly explore the sysctl(8) tree from my program. The tricky part is this: from `src/sbin/sysctl.c': /*  * These functions uses a presently undocumented

Re: sysctl filesystem ?

2012-06-25 Thread Adam Vande More
On Mon, Jun 25, 2012 at 7:03 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi folks, I find myself in a situation where I need to directly explore the sysctl(8) tree from my program. The tricky part is this: There is this: http://svnweb.freebsd.org/base/releng/4.7/sys/miscfs/kernfs/ --

Re: sysctl filesystem ?

2012-06-25 Thread Arnaud Lacombe
Hi, On Mon, Jun 25, 2012 at 8:30 PM, Adam Vande More amvandem...@gmail.com wrote: On Mon, Jun 25, 2012 at 7:03 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi folks, I find myself in a situation where I need to directly explore the sysctl(8) tree from my program. The tricky part is this:

Re: sysctl filesystem ?

2012-06-25 Thread Arnaud Lacombe
On Mon, Jun 25, 2012 at 8:13 PM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Jun 25, 2012 at 5:03 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi folks, I find myself in a situation where I need to directly explore the sysctl(8) tree from my program. The tricky part is this: from

Re: Tmpfs panic in -current

2012-06-25 Thread Marcelo Araujo
Hello Kevin, May you rebuild your kernel with some options that will make the dump of the crash easier to send to people? Try to follow these steps: 1) Configure KERNEL with the folowing options: options KDB options GDB options DDB 2) Configure rc.conf:

Re: sysctl filesystem ?

2012-06-25 Thread Boris Popov
On 26.06.2012 6:56, Arnaud Lacombe wrote: purpose. However, if I can avoid to re-design that wheel too, by getting access to scfs(4) code, I will. It is interesting, that the old drive with this code are still alive. Most likely, FS related part will need serious attention because of numerous

Re: Tmpfs panic in -current

2012-06-25 Thread Kevin Lo
Konstantin Belousov wrote: On Mon, Jun 25, 2012 at 10:03:28AM +0800, Kevin Lo wrote: I've observed a panic in recent -current several times but I only have a picture of the backtrace: http://people.freebsd.org/~kevlo/panic_tmpfs.jpg Does this look at all familiar to anyone? Can you

Re: sysctl filesystem ?

2012-06-25 Thread Arnaud Lacombe
Hi, On Mon, Jun 25, 2012 at 10:51 PM, Boris Popov b...@freebsd.org wrote: On 26.06.2012 6:56, Arnaud Lacombe wrote: purpose. However, if I can avoid to re-design that wheel too, by getting access to scfs(4) code, I will.  It is interesting, that the old drive with this code are still alive.