New Mailinglist: freebsd-wip-status@

2008-06-09 Thread Max Laier
, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-hackers@freebsd.org

Re: kmem_alloc_wait and memory pools questions

2008-06-27 Thread Max Laier
(9). Whether or not this is what you are looking for - I don't know. I wonder if this applies to FreeBSD too so I am investigating it a little. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http

Re: Sysinstall is still inadequate after all of these years

2008-07-02 Thread Max Laier
http://www.pcbsd.org/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: General questions about virtual memory

2008-07-30 Thread Max Laier
if there are other resources (people, mailing lists, books, web pages, etc.) that you want to recommend instead of taking some time to help teach me. google, wikipedia, the FreeBSD articles, ... all there at your fingertips. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier

Re: General questions about virtual memory

2008-07-30 Thread Max Laier
this. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd

Re: Fwd: Q: case studies about scalable, enterprise-class firewall w/ IPFilter

2008-08-05 Thread Max Laier
, but all your other feature requests get a check mark. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News

Re: High syscall rate

2008-08-17 Thread Max Laier
, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-hackers@freebsd.org mailing list

Re: Acquiring a mtx after an sx lock

2008-08-18 Thread Max Laier
^ | rw_lock okok no ok-2okno-3 rm_lock okok no ok ok-2 no -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier

MFC of r180753: ABI problems?

2008-08-21 Thread Max Laier
, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News Index: dev/pci/pci_pci.c

cosum: Checkout verification PoC

2008-09-22 Thread Max Laier
, the script is ready to checksum cvs and svn checkouts. If you obtain your checkout from some local git/hg/svk/... mirror you must modify the find excludes accordingly. Let me know what you think. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier

Re: What file on FreeBSD acts like autoexec.bat?

2008-09-28 Thread Max Laier
, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-hackers@freebsd.org mailing list http

Re: svn rev. number

2008-10-01 Thread Max Laier
/bin or /usr/local/bin 2) there is a .svn directory in your SRCDIR If that's the case, newvers.sh will add the output of it to uname: FreeBSD fbsd8 8.0-CURRENT FreeBSD 8.0-CURRENT #4 r180876:183019M:... -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier

Re: tracing pf code

2008-10-14 Thread Max Laier
: http://homepage.mac.com/quension/pf/flow.png Is this the information you are looking for? -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign

Re: conf/128030: [request] Isn't it time to enable IPsec in GENERIC?

2008-10-18 Thread Max Laier
go to the project page? It's a good junior kernel hacker project, I believe. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign

du -A / -B options [Re: zfs quota question]

2008-11-01 Thread Max Laier
PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News Index: du.1 === --- du.1(revision

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Max Laier
.html -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News Index: du.1

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Max Laier
On Wednesday 05 November 2008 03:31:26 Giorgos Keramidas wrote: On Tue, 4 Nov 2008 23:42:49 +0100, Max Laier [EMAIL PROTECTED] wrote: Hi again, On Saturday 01 November 2008 21:14:42 I wrote: a thread on freebsd-stable@ [1] about problems with du(1) and compressed zfs filesystems got me

Re: VLAN offloads on FreeBSD 6.3 7.0

2008-11-16 Thread Max Laier
. Simply EVENTHANDLER_REGISTER a function in your driver to update the hw-table on config/unconfig events. I hope this helps. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL

Re: Intel 5100 WiFi

2008-11-16 Thread Max Laier
identify all firmware(9) modules in the tree that require a license ack, by grepping for FIRMWARE_LICENSE in the module Makefiles. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL

Re: copy, copyin, copyout

2008-11-25 Thread Max Laier
the kernel. copyinstr() handles page faults. -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News

Re: New C compiler and analyzer lang/cparser in ports

2008-11-27 Thread Max Laier
of this code staying under GPL2? I suppose there is no chance to get it dual-licensed under BSDL as well? In addition, how much work is it to build missing backends? It seems like there is no amd64 or sparc support at the moment? -- /\ Best regards, | [EMAIL PROTECTED] \ / Max

Re: keeping track of local modifications

2008-11-29 Thread Max Laier
on as a beginner C coder? Check http://www.freebsd.org/projects/ideas/ -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign

Re: keeping track of local modifications

2008-11-30 Thread Max Laier
a project you care about - no matter how difficult it might seem - and start reading code hacking. If you are truly passionate about your project you can learn quite a bit in short time./generic-advise -- /\ Best regards, | [EMAIL PROTECTED] \ / Max Laier

Re: keeping track of local modifications

2008-11-30 Thread Max Laier
, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-hackers

Re: ntpd

2008-12-15 Thread Max Laier
context, but it looks like you are looking for ntp_proto.c - convenient name, isn't it? ;) -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign

Re: how ipfw firewall is implemented in the kernel

2009-01-14 Thread Max Laier
there the call path goes on to the ipfw_check_* functions defined in netinet/ip_fw_pfil.c Finally ipfw_chk() in netinet/ip_fw2.c where the ruleset is processed and where you should add your required processing. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier

Re: write-only variables in src/sys/ - possible bugs

2009-02-02 Thread Max Laier
with switch/case-statements as gcc. saddr is read from in all but the default case. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Max Laier
, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-hackers@freebsd.org mailing list http

Re: pahole - Finding holes in kernel structs

2009-02-12 Thread Max Laier
a wasted effort. However, if you take a good look at the 2000 holes, identify an interesting subset and submit a patch to fix that subset ... that would be a worthwhile effort ... IMHO. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ

Re: pahole - Finding holes in kernel structs

2009-02-12 Thread Max Laier
On Thursday 12 February 2009 17:42:19 Sam Leffler wrote: Max Laier wrote: On Thursday 12 February 2009 15:08:22 Andrew Brampton wrote: So I ran the tool pahole over a 7.1 FreeBSD Kernel, and found that many of the struct had holes, and some of which could be rearranged to fill the gap

Re: Tyan S2895 7.1 amd64 4Gb RAM support?

2009-02-13 Thread Max Laier
in it :( Any more details on how it fails would help. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign | Against HTML Mail

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-08 Thread Max Laier
(still needs four more, but avoids ridiculously large UT_HOSTSIZE ;) -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign | Against HTML

Re: sosend() and mbuf

2009-08-03 Thread Max Laier
what I wrote further down. Just ignore it. IIRC, kernel threads don't have root. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign

Re: Was system rebooted by power fail or by kernel panic?

2009-08-07 Thread Max Laier
). Will FreeBSD report about panic somehow if it cannot create core dump? You can try textdumps: http://www.freebsd.org/cgi/man.cgi?query=textdumpmanpath=FreeBSD+8-current -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http

Re: Need help trying to to use the ntohl() call with in_addr

2009-08-14 Thread Max Laier
= 1; inet_aton(ip, ipaddr); myjail.ip4 = ipaddr; You don't have to switch byte order. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon

Re: memchr() strangeness

2009-09-04 Thread Max Laier
the package build run jailed. And then I created a jail and in fact I could reproduce this but only in the jail. LC_* set to a locale not available in the jail? Just a wild guess. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X

Re: sx locks and memory barriers

2009-09-29 Thread Max Laier
in annex C.) I might be reading this wrong, of course. -- /\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII Ribbon Campaign | Against HTML Mail and News

Re: Make process title - % complete

2009-10-20 Thread Max Laier
, go for it Ivan. Anyway, the feature looks nice! I'd like to have it... [1] I'm unsure how expensive it is compared to fork(1)-ing etc; I'd expect it's negligable but who knows... -- /\ Best regards, | mla...@freebsd.org \ / Max Laier

Re: bus_dmamap_load_uio() and user data

2010-01-10 Thread Max Laier
On Friday 08 January 2010 17:13:29 John Baldwin wrote: On Friday 08 January 2010 9:14:36 am Mark Tinguely wrote: You should use the pmap from the thread in the uio structure. Similar to this from the x86 bus_dma code: if (uio-uio_segflg == UIO_USERSPACE) {

Re: uiomove and mutex

2010-01-11 Thread Max Laier
On Monday 11 January 2010 20:22:39 H.Fazaeli wrote: dear gurus man mutex(9) states that: No mutexes should be held (except for Giant) across functions which access memory in userspace, such as copyin(9), copyout(9), uiomove(9), fuword(9), etc. No locks are needed when calling these

Re: Q:possibility PFIL+mbuf use for packet spawning

2010-01-15 Thread Max Laier
On Friday 15 January 2010 12:26:06 q q wrote: I'm using pfil as packet filter for packet modifications. Is it possible to spawn new packets to network from pfil using mbuf? You can call into ip_output with a new mbuf to send a new packet. See for example pf_send_tcp in contrib/pf/net/pf.c

Re: 2 bytes allocated problems

2010-02-24 Thread Max Laier
On Wednesday 24 February 2010 14:44:35 Andrey Zonov wrote: Hi, When I try allocated pointer to a pointer, and in it some pointers (important: size is 2 bytes), the pointers lose their boundaries. Why it can happen? Test program in attach. Your test program is broken: #define S1 ab

Re: 2 bytes allocated problems

2010-02-25 Thread Max Laier
On Thursday 25 February 2010 23:46:03 Dag-Erling Smørgrav wrote: Matthias Andree matthias.and...@gmx.de writes: Dag-Erling Smørgrav d...@des.no writes: char a[9] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i' }; char a[9] = abcdefghi; suffices. The compiler knows there isn't room

Re: proposed change to style(9): require yoda style if statements

2010-05-11 Thread Max Laier
On Tuesday 11 May 2010 21:36:11 Eitan Adler wrote: My proposal is simple: require that any if statement that compares a constant to a mutable variable be written as if (constant == variable) instead of if (variable == constant) this prevents an extremely common programming error if

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Max Laier
On Saturday 05 June 2010 01:58:35 Adam PAPAI wrote: Why FreeBSD is supreme with 1 and 2 thread. And why is it 2 and 3 times slower with 4-8-16-32 threads compared to Debian? The first two tests (1 thread and 2 thread) showed me that FreeBSD is supreme in I/O, but later tests showed me, that it

Re: arp(8) performance w/ many aliases assigned to an interface

2010-06-09 Thread Max Laier
Hello Nick, On Wednesday 09 June 2010 20:17:43 Nick Rogers wrote: Is there something that can be done to speedup the call to if_indextoname(), or would it be worthwhile for me to submit a patch that adds the ability to skip the interface lookup as an arp(8) option? how about the attached: #

Re: arp(8) performance w/ many aliases assigned to an interface

2010-06-09 Thread Max Laier
On Wednesday 09 June 2010 23:21:05 Max Laier wrote: Hello Nick, On Wednesday 09 June 2010 20:17:43 Nick Rogers wrote: Is there something that can be done to speedup the call to if_indextoname(), or would it be worthwhile for me to submit a patch that adds the ability to skip

Re: arp(8) performance w/ many aliases assigned to an interface

2010-06-09 Thread Max Laier
it was more the right timing, than the right list :-) Can this change make it into 8.1-RELEASE? It looks like it might be too late, I'll ask once the HEAD commit is done, but I wouldn't count on it. On Wed, Jun 9, 2010 at 5:30 PM, Max Laier m...@love2party.net wrote: On Wednesday 09 June 2010

Re: arp(8) performance w/ many aliases assigned to an interface

2010-06-10 Thread Max Laier
On Thursday 10 June 2010 10:05:24 Adrian Chadd wrote: On 10 June 2010 05:21, Max Laier m...@love2party.net wrote: Is there something that can be done to speedup the call to if_indextoname(), or would it be worthwhile for me to submit a patch that adds the ability to skip the interface

Re: arp(8) performance w/ many aliases assigned to an interface

2010-06-17 Thread Max Laier
Hello Nick, On Wednesday 09 June 2010 23:56:27 Nick Rogers wrote: Can this change make it into 8.1-RELEASE? just MFCed it to stable/8. It will, however, not make it to 8.1-Release. As it is not a bug fix, just a performance improvement, it is not considered a candidate for the release

Re: smp_rendezvous_cpus() vs sched_bind()

2010-11-25 Thread Max Laier
Am 22.11.2010 22:16, schrieb Andriy Gapon: If I need to call a function func on a specific CPU which one of the following I should use? 1. smp_rendezvous_cpus(1 cpuid, ..., func, ...); 2. sched_bind(cpuid); func(); sched_unbind(); Or does it depend on some additional factors? What are the

<    1   2