Re: Reproduceable freeze with quotas enabled

2005-11-04 Thread Attila Nagy
Hello, Robert Watson wrote: On Thu, 3 Nov 2005, Attila Nagy wrote: Hello, I have an "easily" (at least to me) reproduceable freeze with both 6-STABLE and 7-CURRENT on an amd64 SMP machine. What I do is simply copy a lot of directories, files and symlinks with different uids from another

Re: Kernel source hacking

2005-11-04 Thread Wesley Shields
On Fri, Nov 04, 2005 at 02:59:05PM +, Joao Barros wrote: > On 11/4/05, Robert Watson <[EMAIL PROTECTED]> wrote: > > > > On Thu, 3 Nov 2005, M. Warner Losh wrote: > > > > > : Also, is there a page with other tasks for kernel neophytes like me? I > > > : looked for some such page but I couldn't f

Re: Kernel source hacking

2005-11-04 Thread Joao Barros
On 11/4/05, Robert Watson <[EMAIL PROTECTED]> wrote: > > On Thu, 3 Nov 2005, M. Warner Losh wrote: > > > : Also, is there a page with other tasks for kernel neophytes like me? I > > : looked for some such page but I couldn't find any. > > > > phk used to have a /jkh/ page, or Junior Kernel Hacker p

misc questions about the device&driver arch

2005-11-04 Thread kylin
hello every one :) good day! i have list the 3 puzzle coming to me in my recent coding reading of freebsd 0 /// pci bridge dynamic resize / it seems that the device arch of freebsd is similar to what is revealed in window OS. i have read the pcie hotplug tps of windows longh

Re: panic in propagate_priority w/ postgresql under heavy load

2005-11-04 Thread Koen Martens
Robert Watson wrote: > > On Sun, 2 Oct 2005, Koen Martens wrote: > >> kernel trap 12 with interrupts disabled >> >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 1; apic id = 06 >> fault virtual address = 0x24 >> fault code = supervisor read, page not present >> instr

Re: allocating 14KB memory per packet compression/decompression results in vm_fault

2005-11-04 Thread Joseph Koshy
> - Am I not following the correct procedures to > allocate and deallocate memory in kernel space ?? > - Or is the problem elsewhere ?? You didn't say whether you've checked your code for buffer overruns. If the fault is happening in seemingly unrelated parts of the kernel with your module is e

FreeBSD 6.0 Released

2005-11-04 Thread Scott Long
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It is my great pleasure and privilege to announce the availability of FreeBSD 6.0-RELEASE. This release is the next step in delivering the high performance and enterprise features that have been under development in the FreeBSD 5.x series for that

Re: Kernel source hacking

2005-11-04 Thread Alexander Leidinger
Max Laier <[EMAIL PROTECTED]> wrote: On Friday 04 November 2005 10:47, Robert Watson wrote: On Thu, 3 Nov 2005, M. Warner Losh wrote: > : Also, is there a page with other tasks for kernel neophytes like me? I > : looked for some such page but I couldn't find any. > > phk used to have a /jkh/ pa

Re: Kernel source hacking

2005-11-04 Thread Max Laier
On Friday 04 November 2005 10:47, Robert Watson wrote: > On Thu, 3 Nov 2005, M. Warner Losh wrote: > > : Also, is there a page with other tasks for kernel neophytes like me? I > > : looked for some such page but I couldn't find any. > > > > phk used to have a /jkh/ page, or Junior Kernel Hacker pag

Re: allocating 14KB memory per packet compression/decompression results in vm_fault

2005-11-04 Thread Giorgos Keramidas
On 2005-11-03 22:56, kamal kc <[EMAIL PROTECTED]> wrote: >>> for my compression/decompression i use string tables and >>> temporary buffers which take about 14KB of memory per >>> packet. >> >> If you're allocating 14 KB of data just to send >> (approximately) 1.4 KB >> and then you throw away the

Re: Re: allocating 14KB memory per packet compression/decompression results in v

2005-11-04 Thread Sergey Babkin
>From: kamal kc <[EMAIL PROTECTED]> >since i am using the adaptive LZW >compression scheme it requires construction of string >table for compression/decompression. So an ip packet > of size 1500 bytes requires a table of size (4KB + > 4KB + 2KB =12KB). > >further still i copy the ip packet > dat

nss_ldap-243 & FreeBSD/amd64 ... anyone? (build/errors/info attached)

2005-11-04 Thread Nathan Vidican
Wasn't sure which list to post to entirely, so sorry if seems off-topic. I can't seem to get nss_ldap-243 to compile at all under FreeBSD-6.0RC1/amd64, nor under 5.3-RELEASE, nor 5.4-RELEASE... all produce similar errors, however my development machine happens to be FreeBSD 6.0RC1/amd64 at the

Re: allocating 14KB memory per packet compression/decompression results in vm_fault

2005-11-04 Thread João Carlos Mendes Luis
Peter Jeremy wrote: what would be the best possible way to allocate/deallocate 14KB memory per packet without causing vm_faults ?? The most efficient way would be to statically allocate the dictionary and string tables. The downside is that you then need to serialise the [de]compression. I

Re: panic in propagate_priority w/ postgresql under heavy load

2005-11-04 Thread Koen Martens
Robert Watson wrote: On Sun, 2 Oct 2005, Koen Martens wrote: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 06 fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x

Re: Reproduceable freeze with quotas enabled

2005-11-04 Thread Robert Watson
On Thu, 3 Nov 2005, Attila Nagy wrote: Hello, I have an "easily" (at least to me) reproduceable freeze with both 6-STABLE and 7-CURRENT on an amd64 SMP machine. What I do is simply copy a lot of directories, files and symlinks with different uids from another machine to this one, using rsy

Re: allocating 14KB memory per packet compression/decompression results in vm_fault

2005-11-04 Thread Peter Jeremy
[dropping -net] On Thu, 2005-Nov-03 22:56:30 -0800, kamal kc wrote: >as i said before the compression/decompression works >fine. but soon the kernel would panic with one >of the vm_fault: error message. What's the exact panic and traceback? Have you enabled the various sanity checks (WITNESS, DE

Re: Kernel source hacking

2005-11-04 Thread Robert Watson
On Thu, 3 Nov 2005, M. Warner Losh wrote: : Also, is there a page with other tasks for kernel neophytes like me? I : looked for some such page but I couldn't find any. phk used to have a /jkh/ page, or Junior Kernel Hacker page. Don't know if that's still that way or not. Now that we have

Re: Why INVARIANTS option and sanity checking?

2005-11-04 Thread Robert Watson
On Fri, 4 Nov 2005, nocool wrote: In my apprehension, these debugging options aim to help developers detect and locate program's error or exception. In view of efficiency and usability, will be turned off in release. That is to say, these option will not be used to resist intrusion. That is

Re: Kernel source hacking

2005-11-04 Thread Václav Haisman
M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Václav Haisman <[EMAIL PROTECTED]> writes: > : I have noticed that there are still places in kernel sources that use > : K&R style of function parameter definitions. > > You must be looking at old sources. Most of the kernel