Re: FreeBSD hacker 101

2008-01-24 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 william wong wrote: Hi, Are there any docments or pointers to get me started hacking around my 6.3asap? Building toochains, submitting patches etc or i just follow most of the conventions in the Linux kernel development community? I think

Re: gettimeofday() in hping

2008-01-24 Thread Stefan Lambrev
Greets, binto wrote: Greetings, Steven Hartland wrote: - Original Message - From: Ivan Voras [EMAIL PROTECTED] The other thing that bothers me is, that under freebsd is quite easy to get: [send_ip] sendto: No buffer space available It happens almost always on my laptop

Re: gettimeofday() in hping

2008-01-24 Thread Stefan Lambrev
Greets, Kris Kennaway wrote: Ivan Voras wrote: On 23/01/2008, Stefan Lambrev [EMAIL PROTECTED] wrote: Greets, Now I have final results with Linux and FreeBSD on the same hardware CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core Lan: [EMAIL PROTECTED]:3:0:0: class=0x02

Re: Dell XPS 1530 - Network card issue - Marvell 88E8040

2008-01-24 Thread Pyun YongHyeon
On Thu, Jan 24, 2008 at 10:27:31AM +0100, Chris Stromblad wrote: Hi, This is the output from lspci -v: 'lspci -nvv' is preferred as I have to check device ids. 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)

Re: Dell XPS 1530 - Network card issue - Marvell 88E8040

2008-01-24 Thread Chris Stromblad
Hi, This is the output from lspci -v: 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12) Subsystem: Dell Unknown device 022e Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at f9ffc000 (64-bit,

Re: zfs plugins

2008-01-24 Thread Dag-Erling Smørgrav
Zaphod Beeblebrox [EMAIL PROTECTED] writes: Has any thought been given to the growing number of zfs plugins on solaris? In particular, they have an encryption plugin that functions similar to zfs compression, but it seems useful to consider their plugins... I believe pjd@ is already working on

Re: Dell XPS 1530 - Network card issue - Marvell 88E8040

2008-01-24 Thread Chris Stromblad
Sorry, here is the correct output, now also run as root! Again I've included the Wireless, because perhaps someone else would like to have a look at the data to understand why it's not detected. To my understanding there should be support as I seem to recall that Intel even put out the drivers

Re: FreeBSD hacker 101

2008-01-24 Thread Dag-Erling Smørgrav
william wong [EMAIL PROTECTED] writes: Are there any docments or pointers to get me started hacking around my 6.3 asap? Building toochains, submitting patches etc or i just follow most of the conventions in the Linux kernel development community? The toolchain is already in place, no need

Re: gettimeofday() in hping

2008-01-24 Thread Stefan Lambrev
Hi Kris, Kris Kennaway wrote: Stefan Lambrev wrote: Hi Kris, Kris Kennaway wrote: Stefan Lambrev wrote: Kris Kennaway wrote: Stefan Lambrev wrote: You should use hwpmc to verify where the application is really spending time, since gettimeofday doesn't seem to account for it all. pmc:

Re: gettimeofday() in hping

2008-01-24 Thread Kris Kennaway
Stefan Lambrev wrote: You also need changes to the userland libpmc and pmcstat. They should also be in that (or related) p4 changeset though. Those are the files that I fetched from p4 /usr/src/lib/libpmc/libpmc.c - rev2 /usr/src/sys/amd64/include/pmc_mdep.h rev2

Re: Dell XPS 1530 - Network card issue - Marvell 88E8040

2008-01-24 Thread Pyun YongHyeon
On Thu, Jan 24, 2008 at 11:02:05AM +0100, Chris Stromblad wrote: Sorry, here is the correct output, now also run as root! Again I've included the Wireless, because perhaps someone else would like to have a look at the data to understand why it's not detected. To my understanding there

Re: Hardware support for AMD Geode CS5536 audio?

2008-01-24 Thread Wilko Bulte
Quoting Bruce R. Montague, who wrote on Wed, Jan 23, 2008 at 10:06:51PM -0800 .. Hi, re: I'm hoping someone will be able to help me out with the audio is the Geode CS5536. Those AMD Geode systems with the CS5536 look almost cheap enough to afford one for each hand. I'll look

SMP in machine/params.h

2008-01-24 Thread Pietro Cerutti
Hello, I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro SMP in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU is defined to 1. Any idea why? uname -a FreeBSD gahrtop.localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #23: Tue Jan 22 00:15:05 CET 2008 [EMAIL

Re: FreeBSD hacker 101

2008-01-24 Thread william wong
Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in FreeBSD 8. I just want to gear up myself and see what I can do. I have got 6.3 installed and tweaking some of the kernel modification and compilation process so

Re: SMP in machine/params.h

2008-01-24 Thread Pietro Cerutti
Attilio Rao wrote: 2008/1/24, Pietro Cerutti [EMAIL PROTECTED]: Hello, I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro SMP in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU is defined to 1. Any idea why? uname -a FreeBSD gahrtop.localhost

Re: SMP in machine/params.h

2008-01-24 Thread Pietro Cerutti
Pietro Cerutti wrote: Attilio Rao wrote: Did you define SMP in your config file? Yes. How could I have kern.smp.active: 1 otherwise? grep SMP /sys/i386/conf/MSI1034 # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel And I would like to

Re: FreeBSD hacker 101

2008-01-24 Thread Dag-Erling Smørgrav
william wong [EMAIL PROTECTED] writes: Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in FreeBSD 8. I just want to gear up myself and see what I can do. I have got 6.3 installed and tweaking some of the kernel

Re: gettimeofday() in hping

2008-01-24 Thread Stefan Lambrev
Greetings, Kris Kennaway wrote: Stefan Lambrev wrote: It is the socket buffer that is filling up. Either the application is not increasing it to large enough size or the default maximum is too low (Linux may set a larger default). Try increasing kern.ipc.maxsockbuf and confirming with the

Re: SMP in machine/params.h

2008-01-24 Thread Pietro Cerutti
Some more interesting findings in this field lead me to another related question: what is the relation between kern.smp.cpus, kern.smp.active and kern.smp.maxcpus? To my understanding, it should be: If the machine has more than one CPU, and SMP and apic are enabled in the config file, then

Re: Dell XPS 1530 - Network card issue - Marvell 88E8040

2008-01-24 Thread Chris Stromblad
On Thu, 2008-01-24 at 19:58 +0900, Pyun YongHyeon wrote: On Thu, Jan 24, 2008 at 11:02:05AM +0100, Chris Stromblad wrote: Sorry, here is the correct output, now also run as root! Again I've included the Wireless, because perhaps someone else would like to have a look at the data to

Re: FreeBSD hacker 101

2008-01-24 Thread william wong
2008/1/24, Dag-Erling Smørgrav [EMAIL PROTECTED]: william wong [EMAIL PROTECTED] writes: Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in FreeBSD 8. I just want to gear up myself and see what I can do. I

Re: FreeBSD hacker 101

2008-01-24 Thread Wesley Shields
On Thu, Jan 24, 2008 at 11:11:05PM +0800, william wong wrote: 2008/1/24, Dag-Erling Sm?rgrav [EMAIL PROTECTED]: william wong [EMAIL PROTECTED] writes: Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in

Re: FreeBSD hacker 101

2008-01-24 Thread Dag-Erling Smørgrav
william wong [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: william wong [EMAIL PROTECTED] writes: It seems that Juniper favors the even number FreeBSD's. Only because 5 was a dog. They probably stuck with 4 for a while, then switched to 6 once they had

Re: FreeBSD hacker 101

2008-01-24 Thread Joel Dahl
william wong skrev: Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in FreeBSD 8. Take a look at http://wiki.freebsd.org/Networking if working on the networking code in FreeBSD interests you. -- Joel

Re: ATAPI dvdreader always fails on a particular DVD movie title

2008-01-24 Thread Yuri
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]: Do they play? If they do, it's not libdvdcss's fault. CAPOTE (US region) doesn't play with mplayer either. It begins, shows logo of United Artists and Sony Classics and just hangs. Mplayer's counter also stops running. So I guess this really is

Re: ATAPI dvdreader always fails on a particular DVD movie title

2008-01-24 Thread Rick C. Petty
On Thu, Jan 24, 2008 at 11:32:20AM -0800, Yuri wrote: CAPOTE (US region) doesn't play with mplayer either. It begins, shows logo of United Artists and Sony Classics and just hangs. Mplayer's counter also stops running. I've seen this a lot on some recent DVDs.. All I do is quit mplayer and

Re: SMP in machine/params.h

2008-01-24 Thread John Baldwin
On Thursday 24 January 2008 07:38:39 am Pietro Cerutti wrote: Hello, I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro SMP in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU is defined to 1. Any idea why? It is defined in opt_global.h for a kernel

sysctl text definitions.

2008-01-24 Thread Alfred Perlstein
Hey guys, something that I've always wanted to do was actually somehow export those handy description strings from the kernel SYSCTL macros in the least obtrusive method possible. The only thing I could come up with that didn't require compiling the files twice was to basically do some tricks

Re: FreeBSD hacker 101

2008-01-24 Thread KAYVEN RIESE
I thought freeBSD 7 was still current bleeding edge? On Thu, 24 Jan 2008, Dag-Erling Smørgrav wrote: william wong [EMAIL PROTECTED] writes: Thanks for enlightening me on different aspects. Actually I found there are many exciting network stack projects/overhaul happening in FreeBSD 8. I just

Re: FreeBSD hacker 101

2008-01-24 Thread KAYVEN RIESE
Aren't the ports collection something that makes freeBSD stand out very differently than linux? also, no rpm, and the pkg_add utility. updating operating system with cvsup? buildworld? all these things are different starkly, or are they not? On Thu, 24 Jan 2008, Xin LI wrote: -BEGIN

Re: FreeBSD hacker 101

2008-01-24 Thread Garrett Cooper
On Jan 24, 2008, at 3:28 PM, KAYVEN RIESE wrote: I thought freeBSD 7 was still current bleeding edge? Soon it will be the 'most current STABLE' branch; 8-CURRENT is absolute bleeding edge. -Garrett PS Please bottom post :). ___

Re: FreeBSD hacker 101

2008-01-24 Thread Mike Meyer
On Thu, 24 Jan 2008 15:25:16 -0800 (PST) KAYVEN RIESE [EMAIL PROTECTED] wrote: Aren't the ports collection something that makes freeBSD stand out very differently than linux? also, no rpm, and the pkg_add utility. updating operating system with cvsup? buildworld? all these things are

Re: SMP in machine/params.h

2008-01-24 Thread Pietro Cerutti
John Baldwin wrote: On Thursday 24 January 2008 07:38:39 am Pietro Cerutti wrote: Hello, I'm running a Core2Duo on CURRENT, SMP kernel, but somehow the macro SMP in machine/param.h 1.81 2006/01/09 line 68 is not defined, thus MAXCPU is defined to 1. Any idea why? It is defined in

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Joerg Sonnenberger
On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? man 4 ndis Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Brooks Davis
On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? NDISwrapper taked Windows XP binary driver and runs it on Linux. http://ndiswrapper.sourceforge.net/joomla/ They add the converter between Linux kernel API and the

Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Yuri
I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? NDISwrapper taked Windows XP binary driver and runs it on Linux. http://ndiswrapper.sourceforge.net/joomla/ They add the converter between Linux kernel API and the subset of Windows kernel API sufficient to run binary

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Rick C. Petty
On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? http://www.freebsd.org/cgi/man.cgi?query=ndisapropos=0sektion=0manpath=FreeBSD+6.3-RELEASEformat=html -- Rick C. Petty ___

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Julian Elischer
Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? NDISwrapper taked Windows XP binary driver and runs it on Linux. http://ndiswrapper.sourceforge.net/joomla/ They add the converter between Linux kernel API and the subset of Windows kernel API sufficient to run

Re: gettimeofday() in hping

2008-01-24 Thread binto
Hi, Sorry if a little bit insist curious. what is result from: sysctl -a kern.ipc.maxsockbuf sysctl -a net.inet.tcp.recvspace sysctl -a net.inet.tcp.sendspace ?? binto Greetings, Kris Kennaway wrote: Stefan Lambrev wrote: It is the socket buffer that is filling up. Either the

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Garrett Cooper
On Jan 24, 2008, at 5:29 PM, Julian Elischer wrote: Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? NDISwrapper taked Windows XP binary driver and runs it on Linux. http://ndiswrapper.sourceforge.net/joomla/ They add the converter between Linux kernel API

Re: FreeBSD hacker 101

2008-01-24 Thread william wong
That brings me to another ponder: why juniper and cisco are using FreeBSD and not Linux even Linux performs better in an UP environment? 2008/1/25, Dag-Erling Smørgrav [EMAIL PROTECTED]: william wong [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: william wong [EMAIL

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Bachilo Dmitry
В сообщении от Friday 25 January 2008 11:25:33 Garrett Cooper написал(а): On Jan 24, 2008, at 5:29 PM, Julian Elischer wrote: Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? NDISwrapper taked Windows XP binary driver and runs it on Linux.

Re: sysctl text definitions.

2008-01-24 Thread Peter Jeremy
On Thu, Jan 24, 2008 at 02:19:36PM -0800, Alfred Perlstein wrote: Hey guys, something that I've always wanted to do was actually somehow export those handy description strings from the kernel SYSCTL macros in the least obtrusive method possible. Likewise. The only thing I could come up with that

Re: FreeBSD hacker 101

2008-01-24 Thread Bert JW Regeer
On Jan 24, 2008, at 22:58 , william wong wrote: That brings me to another ponder: why juniper and cisco are using FreeBSD and not Linux even Linux performs better in an UP environment? 2008/1/25, Dag-Erling Smørgrav [EMAIL PROTECTED]: william wong [EMAIL PROTECTED] writes: Dag-Erling