Re: Bug by design in getfsfile(3) / needed sanity check for mountpoints

2008-06-16 Thread Garrett Cooper
On Tue, Jun 10, 2008 at 2:27 AM, Garrett Cooper <[EMAIL PROTECTED]> wrote: > Ok it appears I wasn't intelligent enough to post this in the right > place last night. Comments please? > > Hi hackers, > > I have a question, pending a bug found in getfsfile(3) [1]. > > Is there any possib

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Andrey Chernov
On Tue, Jun 17, 2008 at 04:28:10AM +0400, Andrey Chernov wrote: > BSD grep is even not bothering to call setlocale(). I can't say is it can > be simple healed by adding that call, some test suite run is needed. Quick source inspection reveals that BSD grep operates with single bytes only (util.c

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Andrey Chernov
On Tue, Jun 17, 2008 at 04:22:25AM +0400, Andrey Chernov wrote: > On Mon, Jun 16, 2008 at 02:36:23PM +0200, Dag-Erling Sm??rgrav wrote: > > > > Please note that BSD grep is not localized (and can't be per design) > > > > and works only with standard C locale. It may not affect ports > > > > system

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Andrey Chernov
On Mon, Jun 16, 2008 at 02:36:23PM +0200, Dag-Erling Sm??rgrav wrote: > > > Please note that BSD grep is not localized (and can't be per design) > > > and works only with standard C locale. It may not affect ports > > > system processing but shurely affects real texts handling. > > That is very tro

Re: FreeBSD hotplugging (Hal) info

2008-06-16 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Leidinger wrote: > Quoting Chuck Robey <[EMAIL PROTECTED]> (from Mon, 16 Jun 2008 09:40:51 > -0400): > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Konrad Jankowski wrote: Replying to my own mail, I realize I've worded this

TD_ON_RUNQ()

2008-06-16 Thread Murty, Ravi
Hello Everybody, This is a basic question - I've noticed this code in the kernel and sched_4bsd.c which basically says assert that I am running on that I am not on the runq. For instance, in mi_switch() (kern_sync.c) there is an assert KASSERT(!TD_ON_RUNQ(td), ("mi_switch: called by old code")

Re: g++ associative containers

2008-06-16 Thread Alexander Kabaev
On Mon, 16 Jun 2008 16:58:10 +0300 "Vlad GALU" <[EMAIL PROTECTED]> wrote: > Hello list, I didn't have a clue where else to post this so I > figured this place was the right one. I also CCed Alex Kabaev, who did > the gcc 4 import. > I'd like to use a Patricia container in the new libstdc++. Th

Re: g++ associative containers

2008-06-16 Thread Alexander Kabaev
On Mon, 16 Jun 2008 20:13:01 +0300 "Vlad GALU" <[EMAIL PROTECTED]> wrote: > On 6/16/08, Alexander Kabaev <[EMAIL PROTECTED]> wrote: > > On Mon, 16 Jun 2008 16:58:10 +0300 > > "Vlad GALU" <[EMAIL PROTECTED]> wrote: > > > > > Hello list, I didn't have a clue where else to post this so I > > > f

Re: g++ associative containers

2008-06-16 Thread Vlad GALU
On 6/16/08, Alexander Kabaev <[EMAIL PROTECTED]> wrote: > On Mon, 16 Jun 2008 16:58:10 +0300 > "Vlad GALU" <[EMAIL PROTECTED]> wrote: > > > Hello list, I didn't have a clue where else to post this so I > > figured this place was the right one. I also CCed Alex Kabaev, who did > > the gcc 4 im

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Doug Barton
Dag-Erling Smørgrav wrote: Doug Barton <[EMAIL PROTECTED]> writes: Andrey Chernov <[EMAIL PROTECTED]> writes: Please note that BSD grep is not localized (and can't be per design) and works only with standard C locale. It may not affect ports system processing but shurely affects real texts hand

Re: FreeBSD hotplugging (Hal) info

2008-06-16 Thread Alexander Leidinger
Quoting Chuck Robey <[EMAIL PROTECTED]> (from Mon, 16 Jun 2008 09:40:51 -0400): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konrad Jankowski wrote: Replying to my own mail, I realize I've worded this badly ... what I meant is, does any part of FreeBSD's base make any use of Hal's (the h

g++ associative containers

2008-06-16 Thread Vlad GALU
Hello list, I didn't have a clue where else to post this so I figured this place was the right one. I also CCed Alex Kabaev, who did the gcc 4 import. I'd like to use a Patricia container in the new libstdc++. The issue is that /usr/include/c++/4.2/ext/pb_ds/assoc_container.hpp has two erroneou

Re: FreeBSD hotplugging (Hal) info

2008-06-16 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konrad Jankowski wrote: >> Replying to my own mail, I realize I've worded this badly ... what I meant >> is, >> does any part of FreeBSD's base make any use of Hal's (the hardware >> abstraction >> layer) API? If it does, and you could tell me where

Re: RELENG_7 pxeboot fails on SuperMicro 6012

2008-06-16 Thread Marco Walraven
On Fri, Jun 13, 2008 at 04:12:49AM -0700, Jeremy Chadwick wrote: > On Fri, Jun 13, 2008 at 12:30:00PM +0200, Marco Walraven wrote: > > I ran into the following problem trying to pxeboot RELENG_7 on a SuperMicro > > 6012 system. RELENG_6 just works fine and the same RELENG_7 release > > pxeboots f

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Dag-Erling Smørgrav
Doug Barton <[EMAIL PROTECTED]> writes: > Andrey Chernov <[EMAIL PROTECTED]> writes: > > Please note that BSD grep is not localized (and can't be per design) > > and works only with standard C locale. It may not affect ports > > system processing but shurely affects real texts handling. > That is v

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Joerg Sonnenberger
On Sun, Jun 15, 2008 at 09:11:36PM -0700, Garrett Cooper wrote: > Now all we need to do is write / import a BSD compatible less(1) into > FreeBSD =). less is dual licensed. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mail

KLM - Fatal trap 12 on kldunload mod - sc replace

2008-06-16 Thread Lukasz Jaroszewski
Hi, I am trying to master kernel, first thought was to do simple replace of system call(read), tho i have some issues which I cant figure. My read_hack is supposed to log keystrokes, and it does.. tho only login and password typed from console but without 1st char(typed root appears as oot.), next

Re: How to probe what application does in kernel (with sound device)?

2008-06-16 Thread Alexander Leidinger
Quoting Fraser Tweedale <[EMAIL PROTECTED]> (from Sat, 14 Jun 2008 09:55:32 +1000): ktrace(1) From man page: The ktrace utility enables kernel trace logging for the specified pro- cesses. Kernel trace data is logged to the file ktrace.out. The kernel operations that are trace

Re: FreeBSD 6.3 deadlock (interrupted pmap_remove_pages) with DDB output

2008-06-16 Thread Stef Walter
Stef Walter wrote: > I've been trying to track down a deadlock on some newish production > servers running FreeBSD 6.3-RELEASE-p2. The deadlock occurs on a > specific (although mundane) hardware configuration, and each of several > servers running this hardware deadlock about once per week. > > Al

Re: FreeBSD hotplugging (Hal) info

2008-06-16 Thread Konrad Jankowski
> Replying to my own mail, I realize I've worded this badly ... what I meant is, > does any part of FreeBSD's base make any use of Hal's (the hardware > abstraction > layer) API? If it does, and you could tell me where that is (because I can't Base definitely doesn't use it. All you can find in