Re: Serial consoles and remote GDB

2004-09-08 Thread Lanny Baron
I use tip com1 to go out serial to serial of other server's redirected console. Just check /etc/remote and make sure you have a line as follows: sio0|com1:dv=/dev/cuaa0:br#9600:pa=none: But if you do serious console redirection, get a decent Terminal Server to which you ssh to the Termin

Re: Serial consoles and remote GDB

2004-09-08 Thread Greg 'groggy' Lehey
On Monday, 30 August 2004 at 14:11:49 -0400, Rob Deker wrote: > > Stephan Uphoff wrote: > >> Are you sure that your serial line is configured with the right >> baud rate? > > This may seem a stupid question, but how do I set the baudrate on > the port and in gdb? The default bit rate is 9600 bps.

autofs available for FreeBSD 4, 5 and 6.

2004-09-08 Thread Alfred Perlstein
Autofs has been integrated into FreeBSD 6. There is also a standalone tarball that will compile and run on FreeBSD 5 as well as FreeBSD 4. The most recent one is available here: http://people.freebsd.org/~alfred/sources/autofs/ If you want to get an idea on how to use it, see the libautofs.3 ma

Re: debugging kld panic

2004-09-08 Thread Greg 'groggy' Lehey
On Wednesday, 8 September 2004 at 11:01:33 -0700, Jerry Toung wrote: > Good morning Greg, > I am trying to debug a kld that I wrote that keeps causing panics. I already > did a search on the mailing list, and the only useful info I got was an email > you replied to in 1999, "Re: debugging a panic

Re: pthread_mutex_trylock and glib-2

2004-09-08 Thread Brian Fundakowski Feldman
On Tue, Sep 07, 2004 at 06:27:14PM -0700, Pascal Hofstee wrote: > On Mon, 6 Sep 2004 15:12:08 -0700, Pascal Hofstee <[EMAIL PROTECTED]> wrote: > > After a few hours of digging through both the glib-2 as well as the > > beep-media-player sources i finally managed to figure out why > > beep-media-pla

Re: TCP RTO

2004-09-08 Thread David Malone
On Wed, Sep 08, 2004 at 05:43:36PM +0100, Soo-Hyun Choi wrote: > These variables are used to calculate the TCP RTO. But why do they > have the two different version of variables? There are two different variables because they store different things. One measures the average of the round trip time

Re: Shiva LanRover/4E for serial console connection?

2004-09-08 Thread Aaron Glenn
I take it you've read the Handbook regarding serial console access? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html http://www.freebsd.org/doc/en_US.ISO8859-1/articles/console-server/freebsd.html On Wed, 8 Sep 2004 09:52:38 -0500, Bob Willcox <[EMAIL PROTECTED]

Re: [PATCH] Fix USB panics

2004-09-08 Thread Peter Pentchev
On Wed, Sep 08, 2004 at 11:37:07AM -0600, M. Warner Losh wrote: > Peter, > > thanks again for the excellent anaylsis of the problem. I introduced > this when I cleaned up the load a driver will now cause usb to attach > a device case. You are correct as far as I can tell and can test. > Here's t

Re: [PATCH] Fix USB panics

2004-09-08 Thread M. Warner Losh
Peter, thanks again for the excellent anaylsis of the problem. I introduced this when I cleaned up the load a driver will now cause usb to attach a device case. You are correct as far as I can tell and can test. Here's the patch that I've come up with. Does it work for you? Warner ? P ? PP Ind

Re: [PATCH] Fix USB panics

2004-09-08 Thread Peter Pentchev
On Wed, Sep 08, 2004 at 11:17:06AM -0600, M. Warner Losh wrote: > [[ redirected to hackers only ]] Thanks for looking over this so quickly! > In message: <[EMAIL PROTECTED]> > Peter Pentchev <[EMAIL PROTECTED]> writes: [snip] > : So here's a How to Panic a RELENG_5 Kernel In Five Easy

Re: [PATCH] Fix USB panics

2004-09-08 Thread M. Warner Losh
[[ redirected to hackers only ]] In message: <[EMAIL PROTECTED]> Peter Pentchev <[EMAIL PROTECTED]> writes: : A couple of days ago I started experimenting with a new USB device, : which has no FreeBSD driver, and within the first minute of playing with : it, my kernel panicked - someth

TCP RTO

2004-09-08 Thread Soo-Hyun Choi
Hi, I'm not sure if this list is appropriate to ask about the FreeBSD kernel source or not. If not, could somebody direct me in an appropriate list? My curiosity is if we see the tcp.cc code inside, there are two different version of srtt (smoothed rtt) and rttvar (smoothed mean deviation estimat

[PATCH] Fix USB panics

2004-09-08 Thread Peter Pentchev
Hi, A couple of days ago I started experimenting with a new USB device, which has no FreeBSD driver, and within the first minute of playing with it, my kernel panicked - something that I hadn't seen for about a month, even with 5.x :) So here's a How to Panic a RELENG_5 Kernel In Five Easy Steps

Shiva LanRover/4E for serial console connection?

2004-09-08 Thread Bob Willcox
[I apologize for this somewhat off-topic post, but it seemed that someone on this list may have already done this.] I just acquired a Shiva LanRover/4E terminal server and was wanting to use it to connect to several of my FreeBSD systems serial ports for console access to them. I was able to get t

Re: Large FreeBSD Users / Impressive Metrics

2004-09-08 Thread Gary Jennejohn
"Murray Stokely" writes: > > I'm working on updating our advocacy material used on the website, in > > the Handbook, and now in a set of generic slides that can be used or > > adapted for presentations. > > > > If you have ideas about cool new functionality that we should do a > > better job of t

kernel profiling with kernbb and gcov

2004-09-08 Thread Mark W. Krentel
I'm trying to do kernel profiling with kernbb(8) and gcov(1), but I can't get the kernel compile to accept the -ftest-coverage and -fprofile-arcs options. (1) Is it --test-coverage or -ftest-coverage, or does it matter? kernbb(8) says the former, gcov(1) says the latter. (2) How do I add these op

Problem with DVD writer and ehci on 4.10-STABLE

2004-09-08 Thread James Collier
I'm trying to get a USB2 DVD writer working with growisofs under 4.10-STABLE (updated yesterday 6-Sep-04), but am having problems - the burn (on a DVD+R) always fails with an I/O Error anywhere between 10M and 1.5Gbytes. I can read from the unit, and short burns seem OK. There seems to be som