fxp driver performance expectations

2006-06-15 Thread Paul Marciano
Hello. I am running FreeBSD-5.4 on a 3GHz P4 with two Intel fxp NICs running IP forwarding with polling enabled. For larger packets (e.g. 700 bytes) I am getting 100Mbps throughput port to port. For min-size packets (64 bytes) I am only seeing around 60Mbps. Increasing HZ and the polling

Re: fxp driver performance expectations

2006-06-15 Thread Paul Marciano
--- Danial Thom [EMAIL PROTECTED] wrote: You couldn't do 100Mb/s with em on a 100Mb/s line with min packets, because there are gaps between packets so its impossible. Thanks for the detailed reply Danial. By 100Mbps I mean line-rate: 148809 packets/sec for 64-byte Ethernet frames + IPG and

Question regarding bus_dma_tag_create() .

2006-05-06 Thread Paul Marciano
Hi. The man page for bus_dma_map_create() says this about the nsegments parameter: Number of discontinuities (scatter/gather seg- ments) allowed in a DMA mapped region. If there is no restriction, BUS_SPACE_UNRESTRICTED may be specified. BUS_SPACE_UNRESTRICTED is #defined as (~0). Then, in

Does FreeBSD support sparse kernel crash dumps?

2006-04-07 Thread Paul Marciano
Hello. I read a while back about someone working on supporting sparse kernel crash dumps (dumping only the active kernel pages to the dump device as opposed to all physical memory - for machines where the phys mem is greater than the dump dev space.) Does anyone know the status of that project?

Re: Does FreeBSD support sparse kernel crash dumps?

2006-04-07 Thread Paul Marciano
--- Peter Wemm [EMAIL PROTECTED] wrote: On Friday 07 April 2006 12:47 pm, Paul Marciano wrote: Hello. I read a while back about someone working on supporting sparse kernel crash dumps (dumping only the active kernel pages to the dump device as opposed to all physical memory

Getting EBUSY upon unmount ATA disk...

2006-03-08 Thread Paul Marciano
(originally sent to freebsd-fs, but that looks like a developer list). I am running FreeBSD-5.4 with root on md0. I am seeing the following problem: # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md0 17370 15810 17299%/ devfs 1 1

Re: Getting EBUSY upon unmount ATA disk...

2006-03-08 Thread Paul Marciano
I said: # mount /dev/ad0s1a /flash # : /flash/foobar # umount /flash umount: unmount of /flash failed: Device busy Then I said: No processes are camping on the mount point. I didn't realize /bin/sh doesn't close the fd. Man, I feel so dumb. Paul.

Looking for a USB Compact Flash card reader.

2006-02-16 Thread Paul Marciano
Hi, On 5.4-RELEASE I'm having problems with my AVB card reader: I often get Synchronize Cache and CSW Tag errors. Does anyone have a solid recommendation for a USB Compact Flash card reader? Thanks, Paul. __ Do You Yahoo!? Tired of spam?

Is remote gdb debugging supported on FreeBSD-5.4?

2006-01-03 Thread Paul Marciano
I have a need to remotely debug an application on a remote FreeBSD-5.4 machine that is devoid of utilities and source code. I previously asked a question about gdbserver, but it looks like it's not available so I'll ask the more general question. I could login in to the remote machine, mount a

Re: How do I get gdbserver for FreeBSD 5.4?

2005-12-30 Thread Paul Marciano
--- Lowell Gilbert [EMAIL PROTECTED] gdbserver isn't currently ported for FreeBSD. If you really need it (as opposed to some other form of remote debugging), you could probably best get started by asking obrien for hints. Thanks for the info Lowell. What do you mean by some other form of

Re: How do I get gdbserver for FreeBSD 5.4?

2005-12-30 Thread Paul Marciano
--- Lowell Gilbert [EMAIL PROTECTED] wrote: Paul Marciano [EMAIL PROTECTED] writes: What I want to do is attach gdb from a development machine to a process running on an remote embedded target (stripped binaries, no source). I've only recently heard of gdbserver. I'm happy to use

How do I get gdbserver for FreeBSD 5.4?

2005-12-28 Thread Paul Marciano
Hello, I hope someone can help me. I am using FreeBSD 5.4-RELEASE and would like to use gdbserver, but I can't find it. The source tree has gdbserver in two places: /usr/src/contrib/gdb/gdb/gdbserver and /usr/src/gnu/usr.bin/binutils/gdbserver There's also a gdb6 in /usr/ports/devel. The

5.4-RELEASE reset with /boot.config -m

2005-12-06 Thread Paul Marciano
I wonder if someone can help me. I want to run my 5.4-RELEASE system with a serial console and muted cons. My /boot.config is: -h -m The system loads the kernel but during startup the PC resets. No messages, just a reset. If I use -h by itself it is fine. If I use -m by itself it similarly

Will USB serial ever be fixed?

2005-09-09 Thread Paul Marciano
I have a general question on the status of USB to serial support in FreeBSD (specifically the ucom and ftdi drivers). I need an extra serial port on my system and for reasons outside the scope of this email I can't just plug in a PCI card. I'm trying to use USB, but it seems that ucom is broken

Re: Will USB serial ever be fixed?

2005-09-09 Thread Paul Marciano
--- Frank Mayhar [EMAIL PROTECTED] wrote: Well, I've got a handful of such devices that appear to work just fine. Now, mine are based on the Prolific PL-2303* chips but you don't mention any specific hardware. All I know is that I'm using them for consoles (and am running getty on them)

Re: Will USB serial ever be fixed?

2005-09-09 Thread Paul Marciano
--- M. Warner Losh [EMAIL PROTECTED] wrote: You asked for honesty, and I'll give you some more: You are being a jerk and acting like you are entitled to having your particular problem fixed without pitching in and helping in some way. You're funny... but actually I was only asking for an