Re: [patch] rtprio/idprio should use basename(3) instead of acting on its own

2011-01-02 Thread Kostik Belousov
On Sun, Jan 02, 2011 at 02:18:55AM -0500, Eitan Adler wrote: > Index: rtprio.c > === > --- rtprio.c (revision 216884) > +++ rtprio.c (working copy) > @@ -41,6 +41,7 @@ > > #include > #include > +#include > #include > #includ

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-02 Thread Kostik Belousov
On Sun, Jan 02, 2011 at 02:41:10AM -0500, Eitan Adler wrote: > > Just set the second argument to strtol to something non-NULL and then check > > the value returned; that will help provide the error handling with > > simplicity that you desire :). > > How about this version? It also corrects a copy

Re: PANIC: thread_exit: Last thread exiting on its own.

2011-01-02 Thread Lev Serebryakov
Hello, Giovanni. You wrote 31 декабря 2010 г., 1:56:20: >>  I've  got  this  panic on reboot from geom_raid5. > Could you please provide some backtrace? Have you got a core? > Which revision of -STABLE are you running(or when last src update)? Ok, it is reproducable on reboot from single-user mo

jailing MySQL error

2011-01-02 Thread dsc fbsd.other
Hi. I'm using ezjail standard config file, with a modified fstab file (mount_nullfs ports to jail). Cat /usr/local/etc/ezjail/j009_mysql2 export jail_j009_mysql2_hostname="j009_mysql2" export jail_j009_mysql2_ip="xx.xx.xx.xx" export jail_j009_mysql2_rootdir="/ezjail/j009_mysql2" export jai

Re: PANIC: thread_exit: Last thread exiting on its own.

2011-01-02 Thread Garrett Cooper
On Jan 2, 2011, at 7:02 AM, Lev Serebryakov wrote: > Hello, Giovanni. > You wrote 31 декабря 2010 г., 1:56:20: > > >>> I've got this panic on reboot from geom_raid5. >> Could you please provide some backtrace? Have you got a core? >> Which revision of -STABLE are you running(or when last sr

Re: PCI IDE Controller Base Address Register setting

2011-01-02 Thread Darmawan Salihun
Hi, --- On Sat, 1/1/11, Darmawan Salihun wrote: > From: Darmawan Salihun > Subject: Re: PCI IDE Controller Base Address Register setting > To: "John Baldwin" > Cc: freebsd-hackers@freebsd.org > Date: Saturday, January 1, 2011, 2:58 PM ... > > Thanks, I tested this option and it worked. > > I

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-02 Thread Giorgos Keramidas
On Sun, 2 Jan 2011 12:18:45 +0200, Kostik Belousov wrote: > On Sun, Jan 02, 2011 at 02:41:10AM -0500, Eitan Adler wrote: >> > Just set the second argument to strtol to something non-NULL and then check >> > the value returned; that will help provide the error handling with >> > simplicity that you

Re: jailing MySQL error

2011-01-02 Thread J. Hellenthal
This is the fourth or fifth list Ive seen this very same message on. If anything I would have thought it had more to do with the relaase your running '-CURRENT' or '-STABLE' + 'JAILS' + 'PORTS'. But as it seems 'QUESTIONS' or 'PORTS' would have been a proper burial ground for this as it has more

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-02 Thread Eitan Adler
What about this patch? I incorporated your feedback so I am not going to reply inline. > The syntax of the prio commands is weird, there is an obvious corner > (or wrongly handled) case, where the command name starts with a digit. > Command name starting with dash is even harder. > I agree - and

Re: [patch] should crunchgen use basename(3) instead of homebrew code?

2011-01-02 Thread Eitan Adler
Hi, On Sun, Jan 2, 2011 at 11:50 PM, Jordan K. Hubbard wrote: > Wow.  A couple of questions. There was a reason my subject line was in the form of a question. When poking around various parts of the "crypt" I noticed that the code does something seemingly covered by an existing function so I dec

Re: [patch] should crunchgen use basename(3) instead of homebrew code?

2011-01-02 Thread Jordan K. Hubbard
Wow. A couple of questions. 1. Is it really worth messing with code as old as crunchgen(1) at all? Seriously. What's there isn't exactly "broken", and it seems like needlessly walking into a vampire's crypt without so much as a stake or clove of garlic on your person. Only something bad can