Re: freebsd port onto IBM/Lenovo T 40

2006-06-30 Thread Julian Elischer
Anish Mistry wrote: On Friday 30 June 2006 04:49, Kamal R. Prasad wrote: Hello, [...] http://shapeshifter.se/articles/upek_touchchip_freebsd/ I'm impressed ___ freebsd-hackers@freebsd.org mailing list

Re: contiguous memory allocation problem

2006-07-02 Thread Julian Elischer
Ian Dowse wrote: In message [EMAIL PROTECTED], Hans Petter Selasky writes: But there is one problem, that has been overlooked, and that is High speed isochronous transfers, which are not supported by the existing USB system. I don't think that the EHCI specification was designed for

Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-10 Thread Julian Elischer
[EMAIL PROTECTED] wrote: Joseph Koshy wrote: I would write my kernel module in C++, just like IOKit of OpenDarwin. Thus, all conflicts against C++ in current FreeBSD kernel source must be swept out firstly. While the idea of using C++ in the kernel made me very nervous, I have seen some

tim's talk starting now.

2006-07-12 Thread Julian Elischer
rtsp://jello.ironport.com:80/bafug-live.sdp ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: fork inside ip_input

2006-07-14 Thread Julian Elischer
Mykola Stryebkov wrote: Hi all. Have a strange question: is it possible to create new process (using fork or fork1) from inside of ip_input()? In kernel sources i found example of using fork1 in init_main.c but looking into ip_input.c i do not understand where i can get pointers to a thread

Re: [RFT]: InFlight Mode Patch

2006-07-17 Thread Julian Elischer
Benjamin Close wrote: Hi Folks, After receiving no feedback on -current, figured I'd send this to -hackers... probably should of in the first place. Please CC any comments as I'm not on the hackers list. I initially thought this was a patch for the tcp_inflight packet window

Re: i386 registers during a syscall

2006-07-23 Thread Julian Elischer
Divacky Roman wrote: hi, I need to get content of %esi register as it was during a syscall. Should I get this info from td-td_pcb-pcb_esi or td-td_frame-tf_esi? Is it so that trapframe is content of registers when entering a kernel and pcb is when leaving a kernel ? pcb is when the

Re: i386 registers during a syscall

2006-07-24 Thread Julian Elischer
Divacky Roman wrote: On Sun, Jul 23, 2006 at 11:18:56PM +0200, Attilio Rao wrote: 2006/7/23, Divacky Roman [EMAIL PROTECTED]: hi, I need to get content of %esi register as it was during a syscall. Should I get this info from td-td_pcb-pcb_esi or td-td_frame-tf_esi? Is it so that

Re: [emulation] WINE vs. FreeBSD

2006-07-24 Thread Julian Elischer
Gerald Pfeifer wrote: On Mon, 24 Jul 2006, Daniel Eischen wrote: See my response to this in a previous reply to this thread. libthr and libpthread use LDT's for TLS. WINE is stomping on them because it doesn't properly create LDTs. This is not a problem with either of the thread

Re: sys/dev/em/if_em.c

2006-07-26 Thread Julian Elischer
Murat Balaban wrote: Hello hackers, I have a special-purpose setting where I have a ng_hub like kernel module (ng_lb) which I've been coding. The box I'm using has two em(4) adapters, and I've hooked em0's lower with my ng_lb's link0, and em1's lower with ng_lb's link1. Situation looks like

Re: [PATCH] adding two new options to 'cp'

2006-07-26 Thread Julian Elischer
Eric Anderson wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. -a is 'archive' mode, which is just a quick form of -PpR. -l is 'link' mode, where regular files get

Re: WINE vs. FreeBSD

2006-07-27 Thread Julian Elischer
Tijl Coosemans wrote: On Thursday 27 July 2006 17:21, John Baldwin wrote: On Monday 24 July 2006 21:58, Tijl Coosemans wrote: However, Wine/Windows uses %fs for TLS and it appears that the FreeBSD kernel doesn't preserve it. It always ends up pointing to GUDATA_SEL. The kernel

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Julian Elischer
Mike Meyer wrote: I'm as neutral as I'd be about *any* other addition. I don't have a specific reason to dislike it. But I don't have a specific reason to like it, either. The last time I wanted a hardlinked copy of a directory tree was long enough ago that most (if not all) of the alternative

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Julian Elischer
Eric Anderson wrote: On 08/01/06 12:40, Rick C. Petty wrote: On Tue, Aug 01, 2006 at 12:27:54PM -0500, Eric Anderson wrote: Wouldn't this be incorrect for files that are really full of zeros? It would turn them in to sparse files when they shouldn't be, correct? Is that what happens with

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Julian Elischer
Eric Anderson wrote: On 08/01/06 12:11, Rick C. Petty wrote: On Tue, Aug 01, 2006 at 05:26:11PM +1000, Peter Jeremy wrote: On Mon, 2006-Jul-31 22:42:49 +0200, Ivan Voras wrote: I agree with this, and while you're in there, can you add -s to copy sparse files (via the usual if the buffer

Re: [PATCH] adding two new options to 'cp'

2006-08-02 Thread Julian Elischer
Oliver Fromme wrote: Bakul Shah wrote: Peter Jeremy wrote: As a general comment (not addressed to Tim): There _is_ a downside to sparsifying files. If you take a sparse file and start filling in the holes, the net result will be very badly fragmented and hence have very poor

Re: [PATCH] add header pppoe: in ng_pppoe.c printfs

2006-08-04 Thread Julian Elischer
Gleb Smirnoff wrote: On Thu, Aug 03, 2006 at 03:35:04PM +0100, Joao Barros wrote: J I recently switched ISPs which in turn led me from a cablemodem to an J ADSL modem. J After setting PPPoE up I started noticing this messages in the daily J run outputs that that nice guy Charlie root sends me

Re: nanosecond delay in kernel module

2006-08-15 Thread Julian Elischer
[EMAIL PROTECTED] wrote: Hi, what is the official way to delay in a kernel module for about 10 nanoseconds (1/1,000,000,000th second). I found DELAY(9), but it uses microseconds (1/1,000,000th second). at this time there is none. maybe you can write one? You probably need to find some

Re: PCI express support?

2006-08-21 Thread Julian Elischer
David Gilbert wrote: I got a PCI express version of the Intel gigabit adaptor to try. Heh. Comes with a big-ass heatsink on the card. I found that a bit amusing. But it doesn't probe up. Is this because PCI Express is not supported (1x in this case --- the little slot), or because I need to

Re: RFMEM and mmap()

2006-08-23 Thread Julian Elischer
Divacky Roman wrote: hi I wonder what happens when proc A, create proc B using fork1(td, RFMEM, 0, p2); and either A or B mmap()s something. is the mmaped memory shared among the procs? what if it brk()s something? the virtual memory space is totally shared. this is how linuxthreads

Re: [PATCH] adding two new options to 'cp'

2006-08-24 Thread Julian Elischer
Eric Anderson wrote: On 08/20/06 04:21, Mike Silbersack wrote: On Wed, 26 Jul 2006, Eric Anderson wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. ...

Re: The nature of kernel of the FreeBSD

2006-09-06 Thread Julian Elischer
Eder wrote: A doubt, Kernel of the FreeBSD is monolithic, correct !!! The MacOS is derived from kernel of the FreeBSD, correct !!! no, wrong. The MacOS kernel is related distantly to the FreeBSD kernel. It has been derived from MACH 3 and MACH 2.5 which themselves had SOME components

Re: can't get to work SMBUS or simmilar method for getting thermal sensor data

2006-10-25 Thread Julian Elischer
Andris wrote: I'm having Asus A7V880 motherboard (AthlonXp, KT880, VT8237) and can't get to work any thermal viewing and control program. I've tried mbmon, healtd, consolehm etc. Some don't work at all (NO HW SENSOR AVAILABLE or simmilar message) or showing constant temperature 255C. I'v

Re: Process arguments

2006-10-29 Thread Julian Elischer
Dave Clausen wrote: Hello list, I'm a n00b to the FreeBSD kernel and I'm trying to log all commands run on the command line from within the kernel for security purposes by loading a kernel module which redefines execve(). I've successfully created the KLD and have it working, but am having

Anyone have a picoBSD image?

2006-11-05 Thread Julian Elischer
I need a picobsd floppy image, (anything that can get me to a shell that will allow me to dd if=/dev/zero of=/dev/ad0 bs=1M ) for a machine that I need to wipe the disk on (it has a floppy and drive (windows) I need to wipe). of course if you have a better way to zap several disks on an old

Re: bpf kernel module

2006-11-14 Thread Julian Elischer
Vlad GURDIGA wrote: Booting a kernel with no bpf support, and with ng_bpf_load=YES in my loader.conf [which, I found on the questions list that is not what I need], the pflogd fails to start with this error: ng_bpf is a netgraph node that uses bpf.. not what you need [...] Is there any way

Re: Van Jacobson's network stack restructure

2006-11-28 Thread Julian Elischer
Frank Deignan wrote: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-February/015365.html Who's calling? :-) using the everyone knows someone who is closer to the answer than they are theory, I suggest we forward it to Kirk to forward to Van or Mike.. :-) (CC'd to Kirk (I think I

Re: Tools for FreeBSD development

2006-12-02 Thread Julian Elischer
Vishal Patil wrote: I have recently moved over from Linux to FreeBSD and would like to know if there is something similar to UML (User Mode Linux) for doing kernel development for FreeBSD. Reading different mailing lists, wikis etc it seems that qemu seems to be the best option. Is this tool

Re: VPN Agregation

2006-12-14 Thread Julian Elischer
just Maxim wrote: Hello, I have 7 ADSL connections, and one server outside with a big bandwidht. I want to bond all 7 ADSL connection into one big channel. I think it can be done using 7 VPN connections to the ourside server, and after that to bond all this seve VPN connection into one big. How

Re: VPN Agregation

2006-12-20 Thread Julian Elischer
Robert Atkinson wrote: I used mpd at one point for a proof of concept to do this, it did work pretty well with 2 dsl modems, 756k being bonded into one 1400 link. It did have problems, but I think I got greedy by using openvpn to push compressed packets through it. Keep the vpn out of it :) It

Re: Interesting TCP issue

2007-01-02 Thread Julian Elischer
Steve Watt wrote: One of my users is having trouble receiving mail from Skype. So, after some sniffing, I discovered this: # tcpdump -vv -s 1500 -i dc0 -X net 213.244.128.0/18 tcpdump: lestening on dc0, link-type EN10MB (Ethernet), capture size 1500 bytes 13:18:13.607493 IP (tos 0x20, ttl 58,

Re: Interesting TCP issue

2007-01-02 Thread Julian Elischer
Steve Watt wrote: On Jan 2, 0:06, Steve Watt wrote: } Subject: Re: Interesting TCP issue } On Jan 1, 23:56, Julian Elischer wrote: } } Subject: Re: Interesting TCP issue } } Steve Watt wrote: } } One of my users is having trouble receiving mail from Skype. So, } } after some sniffing, I

Re: /bin/dd fails with big disks containing bad sectors

2007-01-04 Thread Julian Elischer
James Risner wrote: Hello, I filed this PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/107443) and it was suggested I bring the issue to this list. If you have a defective disk larger than 2 gb with many bad sectors and attempt to use dd under FreeBSD to duplicate the disk, the

Re: TCP Checksums in mbufs

2007-01-08 Thread Julian Elischer
Lee Brotherston wrote: Hi, I have a bit of code I have written that uses pfil to access network traffic as it passes between interfaces on a FreeBSD router. One of the functions it performs is some incredibly basic rewrites of certain packets (keeping the same length, so no issues about

Re: TCP Checksums in mbufs

2007-01-08 Thread Julian Elischer
Lowell Gilbert wrote: Actually, it is as easy as that. And it's exactly the way this kind of case is usually handled. almost.. you need to account for the fact that our computers are 2-s compliment machines and the checksum is a 1-s compliment checksum I think it's given in one of the

Re: Looking for help with schedgraph; phython/tkinter programming.

2007-01-11 Thread Julian Elischer
Jeff Roberson wrote: I'm looking for someone who might like to help implement new features in schedgraph. This is /usr/src/tools/sched/schedgraph.py. Schedgraph graphs scheduler and system load behavior, sort of like a graphical top. Some example output is here:

Re: pin/bind a pthread to a processor? (take 2)

2007-02-09 Thread Julian Elischer
Peter Holmes wrote: This is something I am interested in doing as well. I had corresponded with Julian Eischen Daniel Elischer about this. Dan Eischen and Julian Elischer :-) This was suggested by them but I haven't been able to figure it all out. Basically we could create

Re: nullfs and named pipes.

2007-02-15 Thread Julian Elischer
Josef Karthauser wrote: On Thu, Feb 15, 2007 at 02:57:50PM +0100, Jeremie Le Hen wrote: Note that all processes within a jail can only intefere with processes from another jail or host as if they were on different machines. This means they can communicate through PF_INET for instance but not

Re: harddrive no memory ---FreeBSD scenario

2007-03-08 Thread Julian Elischer
Markus Boelter wrote: Hi! Apart from wondering how you're getting the motherboard to get past POST without RAM, I'm wondering how you'd get the bootloader and [...] The guys at Linux/OpenBIOS did some Cache-as-RAM stuff. Maybe you can also put (burn) the kernel directly into the BIOS chip

Re: user-space locks

2007-03-09 Thread Julian Elischer
Kip Macy wrote: umtx [EMAIL PROTECTED]:man -k umtx umtx: nothing appropriate [EMAIL PROTECTED]: also if you use umtx I think you limit yourself to libthr. On 3/9/07, Peter Holmes [EMAIL PROTECTED] wrote: Does FreeBSD have anything similar to Futexes for Linux. Thanks, Peter

Re: sendto() giving EPERM outside a jail

2007-03-21 Thread Julian Elischer
Daniel O'Connor wrote: Hi, I am trying to port miniupnpd (http://miniupnp.tuxfamily.org/) and by in large it seems to work fine (evil idea as it is :) However it spews out a lot of.. miniupnpd[13010]: sendto(udp_notify): Operation not permitted According to my reading of the man page it is

Re: 32/64bit KSE issues?

2007-03-31 Thread Julian Elischer
David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone

Re: RFI: Ethernet driver ported from Linux

2007-04-19 Thread Julian Elischer
Alan Garfield wrote: On Thu, 2007-04-19 at 11:56 +0400, Yar Tikhiy wrote: Apart from using fake MAC addresses, I don't think so. I don't understand the concept of a fake MAC address, sorry. The classic Ethernet is a broadcast medium by design, so a very primitive NIC can just receive all

Re: msleep() on recursivly locked mutexes

2007-04-26 Thread Julian Elischer
Hans Petter Selasky wrote: Hi, In the new USB stack I have defined the following: u_int32_t mtx_drop_recurse(struct mtx *mtx) { u_int32_t recurse_level = mtx-mtx_recurse; u_int32_t recurse_curr = recurse_level; mtx_assert(mtx, MA_OWNED); while(recurse_curr--)

Re: msleep() on recursivly locked mutexes

2007-04-27 Thread Julian Elischer
Hans Petter Selasky wrote: On Thursday 26 April 2007 23:50, Attilio Rao wrote: 2007/4/26, Julian Elischer [EMAIL PROTECTED]: The reason that mutexes ever recurse in the first place is usually because one piece of code calls itself (or a related piece of code) in a blind manner.. in other words

Re: msleep() on recursivly locked mutexes

2007-04-27 Thread Julian Elischer
Hans Petter Selasky wrote: First of all: Where is FreeBSD's locking strategy document? It is just started.. man 9 locking. it needs a lot of work still. We should have a global strategy when we write device drivers, so that various modules can be connected together without races and

Re: msleep() on recursivly locked mutexes

2007-04-27 Thread Julian Elischer
Matthew Dillon wrote: The real culprit here is passing held mutexes to unrelated procedures in the first place because those procedures might have to block, in order so those procedures can release and reacquire the mutex. That's just bad coding in my view. The unrelated

Re: msleep() on recursivly locked mutexes

2007-04-27 Thread Julian Elischer
Julian Elischer wrote: I think trying to sleep with a recursed mutex should be an instant panic, even if the mutex IS marked as being allowed to sleep. I mean marked as being able to recurse. ___ freebsd-hackers@freebsd.org mailing list http

Re: msleep() on recursivly locked mutexes

2007-05-02 Thread Julian Elischer
Attilio Rao wrote: Julian Elischer wrote: Hans Petter Selasky wrote: First of all: Where is FreeBSD's locking strategy document? It is just started.. man 9 locking. it needs a lot of work still. I'm working with rwatson@ about a document that can nicely fit in locking(9), but we

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-10 Thread Julian Elischer
Ivan Voras wrote: David Naylor wrote: Dear Jordan Recently I stumbled across a document you wrote in 2001, entitled FreeBSD installation and package tools, past, present and future. I find FreeBSD appealing and I would like to contribute it its success, and as your article describes, the

Re: Multiple IP Jail's patch for FreeBSD 6.2

2007-05-14 Thread Julian Elischer
Bjoern A. Zeeb wrote: On Mon, 14 May 2007, Ed Schouten wrote: Hi, * Andre Oppermann [EMAIL PROTECTED] wrote: I'm working on a light variant of multi-IPv[46] per jail. It doesn't create an entirely new network instance per jail and probably is more suitable for low- to mid-end (virtual)

Re: Multiple IP Jail's patch for FreeBSD 6.2

2007-05-14 Thread Julian Elischer
Andre Oppermann wrote: Julian Elischer wrote: Bjoern A. Zeeb wrote: On Mon, 14 May 2007, Ed Schouten wrote: Hi, * Andre Oppermann [EMAIL PROTECTED] wrote: I'm working on a light variant of multi-IPv[46] per jail. It doesn't create an entirely new network instance per jail and probably

Re: kern.ngroups question

2007-06-05 Thread Julian Elischer
Reuben A. Popp wrote: Hello all, Can someone explain to me the rationale behind having ngroups_max set to 16 by default? NFS only supports this much by default (from memory). Samba (in the guise of Jeremy Allison) has asked us to follow Linux's lead and support an arbitrary number of

Re: in-kernel tcp server

2007-06-19 Thread Julian Elischer
Nicolas Cormier wrote: Hi, I'm trying to write a little tcp-server kernel module (like tftp). I didn't find a lot of documents about the kernel network programming, just one thread which talks about netgraph. In the freebsd includes I found /usr/include/sys/socketvar.h (so*). What's the easy

Re: in-kernel tcp server

2007-06-20 Thread Julian Elischer
Nicolas Cormier wrote: On 6/20/07, John Polstra [EMAIL PROTECTED] wrote: Using ng_ksocket is almost the same as using the so* functions, since the ksocket methods call the so* functions. But by using netgraph, you get a nice management interface, too. For my application, I found that going

Re: in-kernel tcp server

2007-06-20 Thread Julian Elischer
John Polstra wrote: Julian Elischer wrote: I would actually like to address the performance issues. is there any chance the oldest version (4.x based) might be released, or at least it would be nice to get the code snippet that attaches to eh ng_ksocket and reads and writes the stream.. I

Re: KSE was Re: open/close/ioctl api change?

2007-06-25 Thread Julian Elischer
Danny Braniss wrote: actually it's the struct thread *tp where my problems are, this code works fine under 6.2, and did work till some days ago under current. static int iscsi_open(struct cdev *dev, int flags, int otype, struct thread *td) { ... debug(3, td-td_proc=%p, td-td_proc);

Re: KSE was Re: open/close/ioctl api change?

2007-06-25 Thread Julian Elischer
Danny Braniss wrote: Danny Braniss wrote: actually it's the struct thread *tp where my problems are, this code works fine under 6.2, and did work till some days ago under current. static int iscsi_open(struct cdev *dev, int flags, int otype, struct thread *td) { ... debug(3,

Re: add closefrom() call

2007-07-06 Thread Julian Elischer
Ed Schouten wrote: * LI Xin [EMAIL PROTECTED] wrote: Here is my implementation for FreeBSD. Some difference between my and DragonFly's implementation: - closefrom(-1) would be no-op on DragonFly, my version would close all open files (From my understanding of OpenSolaris's userland

Re: add closefrom() call

2007-07-06 Thread Julian Elischer
Robert Watson wrote: On Fri, 6 Jul 2007, Julian Elischer wrote: Ed Schouten wrote: * LI Xin [EMAIL PROTECTED] wrote: Here is my implementation for FreeBSD. Some difference between my and DragonFly's implementation: - closefrom(-1) would be no-op on DragonFly, my version would close all

Re: add closefrom() call

2007-07-10 Thread Julian Elischer
Joerg Sonnenberger wrote: On Mon, Jul 09, 2007 at 11:46:14PM -0400, Ighighi wrote: Calling F_MAXFD everytime we close a file descriptor would be heavy having too much fd's. On the other hand, it wouldn't make much a difference to just start from getdtablesize() - 1. I fully agree. That is

Re: add closefrom() call

2007-07-11 Thread Julian Elischer
Matthew Dillon wrote: We added it basically because doing all the junk described in previous postings in this thread in userland is a ridiculously huge eyesore that doesn't scale and doesn't make sense when 5 minutes of programming nets you a shiny new system call which does it

Re: add closefrom() call

2007-07-15 Thread Julian Elischer
Ed Schouten wrote: * Julian Elischer [EMAIL PROTECTED] wrote: Ed Schouten wrote: Wouldn't it be better to just implement it through fcntl() and implement closefrom() in libc? that's a possibility but I personally thing the huge difference in efficiency makes it worth putting it in the kernel

Re: add closefrom() call

2007-07-16 Thread Julian Elischer
Peter Jeremy wrote: On 2007-Jul-15 16:51:38 -0700, Julian Elischer [EMAIL PROTECTED] wrote: void closefrom(int lowfd) { fcntl(lowfd, F_CLOSEM, NULL); } what on earth would that achieve? (as opposed to just a simple syscall) The only benefit I can think of is minimising the number

Re: tunefs.8 oddity

2007-07-20 Thread Julian Elischer
Stefan Esser wrote: Maxim Konovalov schrieb: On Fri, 20 Jul 2007, 23:21+0800, Xin LI wrote: Maxim Konovalov wrote: Hello, after spending a half an hour trying to help a friend of mine to turn soft updates on the root filesystem on I'd like to revert a part of rev. 1.21 just because it makes

Re: alias netmask bug?

2007-07-24 Thread Julian Elischer
Evren Yurtesen wrote: Jeremy Chadwick wrote: On Tue, Jul 24, 2007 at 03:34:54AM +0300, Evren Yurtesen wrote: I remember from earlier versions of FreeBSD that it had a restriction about alias IP netmasks (somewhere in 3.x,4.x days)... as explained here:

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-01 Thread Julian Elischer
Garrett Cooper wrote: M. Warner Losh wrote: In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : Hajimu UMEMOTO wrote: : On Mon, 30 Jul 2007 23:31:33 +0200 : Pietro Cerutti [EMAIL PROTECTED] said: : gahr My patch is really just a first draft that I wrote in order

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-01 Thread Julian Elischer
Julian Elischer wrote: Garrett Cooper wrote: M. Warner Losh wrote: In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : Hajimu UMEMOTO wrote: : On Mon, 30 Jul 2007 23:31:33 +0200 : Pietro Cerutti [EMAIL PROTECTED] said: : gahr My patch is really just a first

Re: Modifying bridged traffic

2007-08-16 Thread Julian Elischer
Eric Anderson wrote: What is the easiest way to play with modifying data in-transit within an ethernet bridge? For instance, say I have something like this: [BOX 1] [ BOX 2 ] [ BOX 3 ] And BOX 2 is a FreeBSD box with bridging enabled between two ethernet interfaces, how can I

Re: Hierarchical jails - any current work?

2007-09-19 Thread Julian Elischer
Pawel Jakub Dawidek wrote: On Tue, Sep 18, 2007 at 03:03:12PM -0600, James Gritton wrote: I've been doing some work on a hierarchical jail setup, but I've got this nagging feeling it's been done before. Does anyone know of such an existing project? If not, I'll put forward my own code.

Re: Hierarchical jails - any current work?

2007-09-19 Thread Julian Elischer
James Gritton wrote: Pawel Jakub Dawidek wrote: Something like this: http://garage.freebsd.pl/mljail.README I did it some time ago, and this is one of the feature for new jail implementation with is beeing designed Yes, that's just the thing I'm talking about, so it looks like I have

Re: Hierarchical jails - any current work?

2007-09-19 Thread Julian Elischer
James Gritton wrote: please please please familiarise yourself with the Vimage code that Marko Zec is working on. This is the stuff at http://imunes.tel.fer.hr/virtnet/, right? I take it that's the definitive place to go. I recall having looked at that before, and I guess I was thrown off

Re: kern.ngroups (non) setting ... new bounty ?

2007-09-26 Thread Julian Elischer
rsync.net wrote: It has been impossible to change kern.ngroups - at least for several years now. It was not fixed in either 5.x or 6.x : http://lists.freebsd.org/pipermail/freebsd-bugs/2007-January/022140.html It is seemingly a difficult problem:

Re: kern.ngroups (non) setting ... new bounty ?

2007-09-26 Thread Julian Elischer
rsync.net wrote: On Wed, 26 Sep 2007, Julian Elischer wrote: rsync.net wrote: It has been impossible to change kern.ngroups - at least for several years now. It was not fixed in either 5.x or 6.x : http://lists.freebsd.org/pipermail/freebsd-bugs/2007-January/022140.html It is seemingly

Re: kern.ngroups (non) setting ... new bounty ?

2007-09-26 Thread Julian Elischer
rsync.net wrote: of more than 16 groups, and that is currently impossible. We are happy to lend financial support to a solution ... however it sounds like $500 and free rsync.net storage space isn't going to be sufficient ? Is it unexpected that someone has run into this limit ? no. Others

Re: Critical Sections for userland.

2007-10-04 Thread Julian Elischer
Attilio Rao wrote: 2007/10/3, Alfred Perlstein [EMAIL PROTECTED]: * Daniel Eischen [EMAIL PROTECTED] [071002 19:46] wrote: On Tue, 2 Oct 2007, Alfred Perlstein wrote: Hi guys, we need critical sections for userland here. This is basically to avoid a process being switched out while holding

Re: FYI: 3Ware 9650 can cause data corruption

2007-10-05 Thread Julian Elischer
Peter B wrote: 3ware 9650 in RAID6 mode with firmware version 3.08.00.004 seems to cause data corruption when rebuilding a single disc with raid6. http://www.webmasternetwork.se/f4t23551.html (Swedish) I thought this was serious enough for people to know. If another mailinglist is more

Re: Inner workings of turnstiles and sleepqueues

2007-10-16 Thread Julian Elischer
Jason Evans wrote: Ed Schouten wrote: For some reason, I want to understand how the queueing of blocked threads in the kernel works when waiting for a lock, which is if I understand correctly done by the turnstiles and sleepqueues. I'm the proud owner of The Design and Implementation of the

Re: Inner workings of turnstiles and sleepqueues

2007-10-19 Thread Julian Elischer
Ed Schouten wrote: * John Baldwin [EMAIL PROTECTED] wrote: The best option right now is to read the code. There are some comments in both the headers and implementation. Would it be useful to write manpages for these interfaces, or do we assume that only godlike people can use them anyway? I

Re: Inner workings of turnstiles and sleepqueues

2007-10-19 Thread Julian Elischer
Ed Schouten wrote: * John Baldwin [EMAIL PROTECTED] wrote: The best option right now is to read the code. There are some comments in both the headers and implementation. Would it be useful to write manpages for these interfaces, or do we assume that only godlike people can use them anyway? I

Re: How to get a kthread ID?

2007-10-25 Thread Julian Elischer
Dag-Erling Smørgrav wrote: Sergey Matveychuk [EMAIL PROTECTED] writes: Is there a possibility to get a kthread ID inside a kthread? Just like pthread_self(3). curthread? well that's a thread pointer, but you are I guess correct because from there you can get to curthread-td_tid which is the

Re: questions on development(7)

2007-11-09 Thread Julian Elischer
OutbackDingo wrote: On Fri, 2007-11-09 at 14:43 +, Tom Evans wrote: On Fri, 2007-11-09 at 21:49 +0800, OutbackDingo wrote: well thats kinda hard to do with CVS, though other revision systems such as mercurial, bazaar, git and perforce, even subversion do it well, there is also a mercurial

Re: Would like some simple volunteer work

2007-11-16 Thread Julian Elischer
Alexander Leidinger wrote: Although the moon is smaller than the earth, it is farther away. George Bush? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Re: Would like some simple volunteer work

2007-11-16 Thread Julian Elischer
something simple, subscribe to [EMAIL PROTECTED] discuss your ideas. code *fame* :-) Julian Elischer Daglish, Western Australia. (no, not really.. I have a house there but I'm in the US at the moment) talk to [EMAIL PROTECTED] he's somewhere in Perth there.) Cheers

Re: a strange/stupid question

2007-11-23 Thread Julian Elischer
Aryeh Friedman wrote: On 11/24/07, Attilio Rao [EMAIL PROTECTED] wrote: 2007/11/24, Aryeh Friedman [EMAIL PROTECTED]: Where do I find the main() [and/or other entery point] for the kernel I tend to understand stuff better if I follow the flow of exec from the start It is highly MD. For

Re: Welcome to Hell / Mysterious networking troubles on FreeBSD

2007-11-23 Thread Julian Elischer
Joel V. wrote: Netstat -a doesn't show anything interesting, arp -a doesn't show any incomplete addresses He tried to build and install a new fresh kernel. Nothing. This is the most creepy networking problem I've heard of. Can YOU help? Any ideas where to start looking? tcpdump you need 5

Re: Welcome to Hell / Mysterious networking troubles on FreeBSD

2007-11-24 Thread Julian Elischer
Joel V. wrote: As a lot of people recommended using tcpdump, here it is. The only thing that stands out, are hundreds and thousands of lines like this: 13:45:49.991592 IP 82.165.252.222.36887 ns1.galandrex.ee.43077: UDP, length 9216 13:45:49.996482 IP 82.165.252.222.36887

Re: Welcome to Hell / Mysterious networking troubles on FreeBSD

2007-11-24 Thread Julian Elischer
Joel V. wrote: Hello. A big thanks to everyone who contacted me. FreeBSD really has the best community one could help for. Now, it has been confirmed by the backbone manager that we're dealing with a DDOS attack. However, the ISP seems to be as clueless as a headless sheep, and we haven't been

Re: Welcome to Hell / Mysterious networking troubles on FreeBSD

2007-11-24 Thread Julian Elischer
Jeff Mohler wrote: On Nov 24, 2007 2:08 PM, Julian Elischer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Joel V. wrote: Hello. A big thanks to everyone who contacted me. FreeBSD really has the best community one could help for. Now, it has been

MFC TO 6.X (6.3?) to fix aio_return() ?

2007-11-29 Thread Julian Elischer
This diff is a partial MFC (picking parts out of -current) that makes aio_return() return the error return of a completed AIO request. (as it does on othe OS's and in 7.x). The man page for 6.x and other OS's indicate that aio_return shoud return all the same results as a returning read()

Re: tcpdump(1) additions.

1999-06-29 Thread Julian Elischer
yes! they've been submitted to the tcpdump folks many times. On Tue, 29 Jun 1999, Bill Fumerola wrote: [bcc to committers, replys to hackers] Unless there is strong feelings against it, I'd like to commit the smb patches (as seen on www.samba.org) and ipsec/ike patches (recently mailed

Re: bug in latests NFS patches for -stable

1999-06-29 Thread Julian Elischer
Matt, If you agree with this patch to your patch I'll commit the NFS fixes to 3.x (I'll also add this change to the 4.0 version.) *** hold/nfs_serv.c Tue Jun 22 13:37:17 1999 --- nfs_serv.c Tue Jun 29 20:42:44 1999 *** *** 1580,1585 --- 1580,1586 if (error) {

fix for bug in latests NFS patches for -stable

1999-06-29 Thread Julian Elischer
New full 3.x relative patch at: ftp://ftp.whistle.com/pub/julian/nfs-3.diffs On Tue, 29 Jun 1999, David E. Cross wrote: There is a small by critical error in the latest patches which causes the server to never transmit a response packet back to the client in certain conditions on a nfs

Re: tcpdump(1) additions.

1999-06-30 Thread Julian Elischer
It would make sense except that the last time someone tried, some people complained that it made it too easy to sniff passwords etc. On Wed, 30 Jun 1999, Bob Bishop wrote: Hi, At 1:38 pm +1000 30/6/99, Peter Jeremy wrote: [...] Whilst we're at it, how about extending `-x' to print out

Re: reason for slow user-user memory copy

1999-07-01 Thread Julian Elischer
hmm Unfortunatly Linux is nt relevent to FreeBSD so we can't comment directly.. it is possible that the mmapped region is marked non-cachable, which migh tmake a difference. I have no idea where "memcpy_to_iovec" in Linux is copying to so it's hard to comment. julian On Thu, 1 Jul 1999,

Re: npx0 to set maxmem broken in -current?

1999-07-01 Thread Julian Elischer
a bit late you should check teh cvs rep for these files.. peter's already checked it in... :-) On Thu, 1 Jul 1999, Andrew Gallatin wrote: Peter Wemm writes: Peter, Thanks for the details. I wasn't sure if it was something that was supposed to work... I assume it still works

Re: Bursting at the seams (was: Heh heh, humorous lockup)

1999-07-08 Thread Julian Elischer
yeah I remembered how it all worked after I wrote that.. You'd think they'd eventually get the idea of letting the kernel have it's own 'cr3' and some TLBs eh? listenning intel? On 8 Jul 1999, Ville-Pertti Keinonen wrote: [EMAIL PROTECTED] (Julian Elischer) writes: we already use

Re: Rewriting pca(4) using finetimer(9) (was: Re: MPU401 now worksunder New Midi Driver Framework with a Fine Timer)

1999-07-08 Thread Julian Elischer
this is problematic. you cannot add a new element before the pending firing because you can't tell how far into the present trigger you are. On Thu, 8 Jul 1999, Doug Rabson wrote: On Thu, 8 Jul 1999, Seigo Tanimura wrote: On Wed, 7 Jul 1999 19:46:38 -0700 (PDT), Julian Elischer

Re: need a better solution as callback

1999-07-08 Thread Julian Elischer
Hi! I saw your posting on the HU list and was actually able to understand the Subject: line! (I guess it wasn't that difficult) It's fun to se the 'correct translation' so I could compare.. julian On Thu, 8 Jul 1999, Geza Fodor wrote: hi to all, i have a freebsd installed with

Re: (forw)

1999-07-12 Thread Julian Elischer
I would suggest that a version of this document be incorporated into our docs. It's not like it says anythign new, but it's a really good introduction to KLD modules and maybe it's be better to have those documents around to remind people how easy it is to hack a system once root is broken.

  1   2   3   4   5   6   7   8   9   10   >