Re: device rue causes kernel panic

2007-07-08 Thread Bert JW Regeer
On Jul 7, 2007, at 9:14 PM, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> "M. Warner Losh" <[EMAIL PROTECTED]> writes: : In message: <[EMAIL PROTECTED]> : Bert JW Regeer <[EMAIL PROTECTED]> writes: : : I have a USB 10/100 FastEthernet device, that is identified a

playing with tun

2007-07-08 Thread Simias
Hello hackers, I'm trying to make an ip tunnel using the tun(4) interface. I successfully open the tunnel, and after configuration it with ifconfig, I receive and send the ip packets without problem. However, I'd like to do this without ifconfig, so i can set the ip/netmask/broadcast/... by mysel

IT-CareFree: a way of using FreeBSD

2007-07-08 Thread Clarence Chu
Hi hackers, I'd canned some applications and is using Solaris as a bootserver to serve diskless, or un-bootable windoz:) please comment on http://www.compass.com.hk thanks for the bandwidth, and your precious time. Clarence CHU [EMAIL PROTECTED] __

Re: rewrite src/sys/i386/i386/in_cksum.c

2007-07-08 Thread zhouyi zhou
Sorry, previously send the preprocessed version of in_cksum.c: What really needs to be replaced is for example: 408 if (mlen >= 16) { 409 ADD(0); 410 ADDC(4); 411 ADDC(8); 412 ADDC(12); 4

rewrite src/sys/i386/i386/in_cksum.c

2007-07-08 Thread zhouyi zhou
Hey, Since FreeBSD update gcc from 3.4.x to 4.2.0, the FreeBSD gdb remote debugger in i386 platform will find the TCP/UPD checksum will not be computed right, when calling macro in_cksum which calls in_cksum_skip in src/sys/i386/i386/in_cksum.c in case of getting rid of -O flag supplied to gcc