Re: psmintr: out of sync (was: Re: FreeBSD's aggressive keyboard probe/attach)

2001-08-16 Thread Kazutaka YOKOTA
>o If you are going to reset, disable and drain the input > queue before you do it; this will make the mouse lose > buffered data, making a partial send with a disable > in the middle not resume (e.g. it is no longer an > issue for you). Don't worry. I was going to d

Re: psmintr: out of sync (was: Re: FreeBSD's aggressive keyboard probe/attach)

2001-08-16 Thread Kazutaka YOKOTA
>> If disable/enable sequence, which is lot simpler and takes considrably >> less time, can correct the sync problem, I think it will be better. > >It looks to me as if the mouse is automatically enabled by >default after a reset? No, the mouse is disabled after reset. We need to explicitly enab

Re: psmintr: out of sync (was: Re: FreeBSD's aggressive keyboard probe/attach)

2001-08-16 Thread Terry Lambert
Kazutaka YOKOTA wrote: > >o You may want to implement a rate throttling mechanism; > > init will stop respawning a getty on a port, if it is > > exiting too rapidly, while inetd will rate limit the > > number of connection attempts a second, as well. I > > guess you p

Re: devfs deficiencies (was: devfs and Vinum (was: any -current && vinum problems?))

2001-08-16 Thread Greg Lehey
On Thursday, 16 August 2001 at 6:36:45 +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Greg Lehey writes: >> On Wednesday, 15 August 2001 at 19:17:47 +0200, Poul-Henning Kamp wrote: >>> In message <[EMAIL PROTECTED]>, Ju >>> lian Elischer writes: >>> the lack of subdirector

Re: Stack hogs revisited..

2001-08-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Ju lian Elischer writes: >who owns the midway driver? (gotta go look at that.. 2.3 k?) (what I a >midway?) >I'm wondering if people who ran that card ever noticed real strange >behaviour sometimes.. All it would take is a few interupt contexts on top >of that and

Re: devfs deficiencies (was: devfs and Vinum (was: any -current && vinum problems?))

2001-08-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Greg Lehey writes: ls -la /dev/fd >>> >>> What am I supposed to see there? I get three character devices, all >>> mounted on /dev directly. >> >> Uhm, have you forgotten how ls(1) works ? > >No. > >> Try this then: >> >> ls -lad /dev/fd /dev/fd/[012]

Re: Stack hogs revisited..

2001-08-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Ju lian Elischer writes: > >I put up a sorted list in order of severity >http://people.freebsd.org/~julian/stack-hogs >This one is from LINT and is more inclusive.. > >please check if your favourites are there and even if you are not a >committer, send me fixes. If

Re: Stack hogs revisited..

2001-08-16 Thread Kenjiro Cho
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Ju > lian Elischer writes: > > >who owns the midway driver? (gotta go look at that.. 2.3 k?) (what I a > >midway?) > >I'm wondering if people who ran that card ever noticed real strange > >behaviour sometimes.. All it would take is a f

Re: psmresume() (was: Re: FreeBSD's aggressive keyboard probe/attach)

2001-08-16 Thread Terry Lambert
Kazutaka YOKOTA wrote: > When the machine wakes up from the suspend mode by the APM (and ACPI?) > BIOS, it is considered the BIOS's responsibility to restore the > peripheral devices' state. And in fact most laptop machines are able > to restore their internal pointing devices correctly. The only

Re: FreeBSD's aggressive keyboard probe/attach

2001-08-16 Thread Terry Lambert
Chris Dillon wrote: [ ... Belkin OmniView firmware version ... ] > > Little square sticker with rounded corners on the bottom, about > > 1/2" by 1/4", with just the version, e.g. "1.9"... > > The 4-port OmniCube on my desk only has version 1.5, but that probably > doesn't matter (how would I upg

Re: psmresume() (was: Re: FreeBSD's aggressive keyboard probe/attach)

2001-08-16 Thread Kazutaka YOKOTA
>Kazutaka YOKOTA wrote: >> When the machine wakes up from the suspend mode by the APM (and ACPI?) >> BIOS, it is considered the BIOS's responsibility to restore the >> peripheral devices' state. And in fact most laptop machines are able >> to restore their internal pointing devices correctly. The

Re: perils of porting code..

2001-08-16 Thread Bruce Evans
On Wed, 15 Aug 2001, Julian Elischer wrote: > the midway driver.. has the folowing comment. > > 855: #ifdef NBURST > 856: /* be careful. kernel stack is only 8K */ > 857: u_int8_t buffer[BOUNDARY * 2 + 64 * (NBURSTS + > > well, that may have been true

Re: mutex Giant not owned

2001-08-16 Thread Bruce Evans
On Wed, 15 Aug 2001, David O'Brien wrote: > panic: mutex Giant not owned at ../../../kern/vfs_subr.c:2363 > ... > #7 0xfc3d6090 in panic ( > fmt=0xfc5a9096 "mutex %s not owned at %s:%d") > at ../../../kern/kern_shutdown.c:600 > #8 0xfc3ca404 in _mtx_assert (m=0x0

keyboard reset (was: Re: FreeBSD's aggressive keyboard probe/attach)

2001-08-16 Thread Kazutaka YOKOTA
I am entering a tricky part now :-) --- Keyboard reset Because there are so many complicated issues here, I will start with describing something I know about what BIOS and FreeBSD keyboard driver do. (Beware, this is a long message.) 1. What BIOS does During AT BIOS POST, things happe

Re: devfs deficiencies (was: devfs and Vinum (was: any -current &&vinum problems?))

2001-08-16 Thread Bruce Evans
On Thu, 16 Aug 2001, Greg Lehey wrote: > On Thursday, 16 August 2001 at 6:36:45 +0200, Poul-Henning Kamp wrote: > > In message <[EMAIL PROTECTED]>, Greg Lehey writes: > >> In view of the fact that this thread is about deficiencies in your > >> devfs, this is particularly uncalled for. One of th

RE: mutex Giant not owned

2001-08-16 Thread John Baldwin
On 16-Aug-01 David O'Brien wrote: ># uname -a > FreeBSD phuong.nuxi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Sun Jul 15 > 19:07:45 PDT 2001 > [EMAIL PROTECTED]:/files/Current/sys/alpha/compile/DS20 alpha Looks like a trapsignal() in trap() is being called w/o Giant. I'll look at it. Try t

Re: Kernel stack hogs list available

2001-08-16 Thread Robert Watson
On Wed, 15 Aug 2001, Julian Elischer wrote: > I ported the code to allow gcc to report functions that use too much > of our 3.4KB kernel stacks. Julian, This is way cool stuff. I assume these are done based on i386 stack frame layouts? Running on other platforms will result in different alig

-CURRENT buildworld broken; gdb/i386/kvm-fbsd.c

2001-08-16 Thread David Wolfskill
... cc -O -pipe -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/gdb/i386 -I/usr/src/gnu/usr.bin/binutils/gdb -I/usr/src/gnu/usr.bin/binutils/gdb/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/include -Dprint_insn_i386=print_insn_i386_att -I/usr/src/gnu/us

Re: Kernel stack hogs list available

2001-08-16 Thread Mark Peek
At 11:29 AM -0400 8/16/01, Robert Watson wrote: >This is way cool stuff. I assume these are done based on i386 stack frame >layouts? Running on other platforms will result in different alignment >(minor issue, as most of the time it will just be a few bytes here or >there), and some different co

Re: devfs deficiencies (was: devfs and Vinum (was: any -current &&vinum problems?))

2001-08-16 Thread Julian Elischer
On Thu, 16 Aug 2001, Poul-Henning Kamp wrote: > After 3 years I gave up on the hope that it would ever be fixed > well enough to become politically acceptable. > > After 6 years I removed it. > > A quick script run on the cvs tree paints this picture of number > of commits to src/sys/miscfs/d

sshd core on latest -CURRENT

2001-08-16 Thread Storms of Perfection
GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB.

Re: devfs deficiencies (was: devfs and Vinum (was: any -current && vinum problems?))

2001-08-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Ju lian Elischer writes: >> A quick script run on the cvs tree paints this picture of number >> of commits to src/sys/miscfs/devfs per year: >> >> julian phk other >> 199556 3 15 >> 1996

make buildworld with /usr/src read-only supported or not ?

2001-08-16 Thread Andrzej Tobola
As David suggested: > From: "David O'Brien" <[EMAIL PROTECTED]> > At this point I'd take this to [EMAIL PROTECTED] Is anybody nfs-mounting /usr/src RO from other machine and sucessfully "make buildworld" ? or it is not supported (but I remember that Matt and others seems do it that way). I ca

Re: make buildworld with /usr/src read-only supported or not ?

2001-08-16 Thread Matthew Jacob
On Thu, 16 Aug 2001, Andrzej Tobola wrote: > > As David suggested: > > > From: "David O'Brien" <[EMAIL PROTECTED]> > > At this point I'd take this to [EMAIL PROTECTED] > > Is anybody nfs-mounting /usr/src RO from other machine and sucessfully > "make buildworld" ? or it is not supported (but I

Re: devfs and Vinum (was: any -current && vinum problems?)

2001-08-16 Thread Michael Lucas
[cc's trimmed] John, Thanks for the suggestion, I appreciate it. I did as you suggested (diff below). It paniced again, but this time savecore said "dump time is unreasonable." The short panic message was: panicstr: bremfree: bp 0xcc2a1ae4 not locked Looks like the same thing to me, sorry.

Re: devfs and Vinum (was: any -current && vinum problems?)

2001-08-16 Thread John Baldwin
On 16-Aug-01 Michael Lucas wrote: > [cc's trimmed] > > John, > > Thanks for the suggestion, I appreciate it. I did as you suggested > (diff below). > > It paniced again, but this time savecore said "dump time is unreasonable." > > The short panic message was: > > panicstr: bremfree: bp 0xcc

Re: sshd core on latest -CURRENT

2001-08-16 Thread Kris Kennaway
On Thu, Aug 16, 2001 at 04:05:56PM -0400, Storms of Perfection wrote: > GNU gdb 4.18 > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type

Re: sshd core on latest -CURRENT

2001-08-16 Thread Storms of Perfection
At 05:32 PM 8/16/2001, Kris Kennaway wrote: >On Thu, Aug 16, 2001 at 04:05:56PM -0400, Storms of Perfection wrote: > > GNU gdb 4.18 > > Copyright 1998 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and > you are > > welcome to change it and/or

Re: devfs deficiencies (was: devfs and Vinum (was: any -current &&vinum problems?))

2001-08-16 Thread Julian Elischer
On Thu, 16 Aug 2001, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Ju > lian Elischer writes: > > >> A quick script run on the cvs tree paints this picture of number > >> of commits to src/sys/miscfs/devfs per year: > >> > >>julian phk other > >>

Re: devfs deficiencies (was: devfs and Vinum (was: any -current &&vinum problems?))

2001-08-16 Thread Julian Elischer
On Thu, 16 Aug 2001, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Ju > lian Elischer writes: > > >> A quick script run on the cvs tree paints this picture of number > >> of commits to src/sys/miscfs/devfs per year: > >> > >>julian phk other > >>

Re: devfs deficiencies (was: devfs and Vinum (was: any -current &&vinum problems?))

2001-08-16 Thread Boris Popov
On Thu, 16 Aug 2001, Poul-Henning Kamp wrote: > >Julian feels he has no avenue of recourse and gives up..-- > > if (!strcmp("DEVFS", "SLICE")) > return (ECONFUSED); > > Julian, you had four years, during which you didn't even manage to > make half of the commits made to the

Re: devfs deficiencies (was: devfs and Vinum (was: any -current &&vinum problems?))

2001-08-16 Thread Terry Lambert
Julian Elischer wrote: > > If it is to be counted as my only achivement on -core that I timed > > out SLICE and DEVFS, I'll still be proud of what I did there. > > Well you timed them out without askling the developer what he had in the > wings and that was more than impolite, it was stupid, beca

Re: devfs deficiencies (was: devfs and Vinum (was: any -current && vinum problems?))

2001-08-16 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Ju lian Elischer writes: >Well you timed them out without askling the developer what he had in the >wings and that was more than impolite, it was stupid, because most of the >shortcomings of devfs and SLICE had been solved and all I was waiting for >was the CAM sw