RE: mutexes and modules

2003-01-07 Thread Andrew Gallatin
John Baldwin writes: > > On 07-Jan-2003 Andrew Gallatin wrote: > > > > Are kernel modules pessimized in any way with respect to using > > mutexes as compared to statically compiled kernel code? > > > > I seem to remember some discussion a year or more ago indicating that > > they would

sparc64 tinderbox failure

2003-01-07 Thread Mike Barcroft
Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -- >>> Rebuilding the temporary build tree -- >>> stage 1: bootstrap tools -

Re: Cordless Keyboard + Mouse

2003-01-07 Thread Lars Eggert
Daniel O'Connor wrote: Hmm odd.. I don't see why vidcontrol wouldn't work.. Does it print any error messages? Do you use a serial console? vidcontrol fails to init the mouse then. Lars -- Lars Eggert <[EMAIL PROTECTED]> USC Information Sciences Institute smime.p7s Description: S/M

Re: panic with panic: kmem_malloc(4096): kmem_map too small...

2003-01-07 Thread David Schultz
Thus spake [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > >And to that fact I have a question: > >At the moment 8% of the disk is reserved. > >It being a 170Gb raid, that wastes a good 13,6Gb, which I find at lot. > >tunefs lets me bring that down to 5% = 8,5Gb without speed penalty. > >

Re: Cordless Keyboard + Mouse

2003-01-07 Thread Daniel O'Connor
On Wed, 2003-01-08 at 06:02, Daren Desjardins wrote: > I do use usbd, and it starts a moused service for the mouse at startup. > However vidcontrol does not enable the console mouse. I used 'moused -i > all -p /dev/usm0' and it prints out usb mouse etc, so it appears to be > detecting it. Hmm odd.

Re: font failure in X

2003-01-07 Thread Roine Thunberg
On 7 Jan 2003, Eric Anholt wrote: > On Tue, 2003-01-07 at 13:25, Alexander Leidinger wrote: > > On Tue, 7 Jan 2003 02:46:49 +0100 (MET) > > Roine Thunberg <[EMAIL PROTECTED]> wrote: > > > > > I recently installed 5.0-RC2 and X from ports and some programs too. > > > > > > Now I have trouble with h

RE: mutexes and modules

2003-01-07 Thread John Baldwin
On 07-Jan-2003 Andrew Gallatin wrote: > > Are kernel modules pessimized in any way with respect to using > mutexes as compared to statically compiled kernel code? > > I seem to remember some discussion a year or more ago indicating that > they would be, but I'm not seeing it in the code. In the

mutexes and modules

2003-01-07 Thread Andrew Gallatin
Are kernel modules pessimized in any way with respect to using mutexes as compared to statically compiled kernel code? I seem to remember some discussion a year or more ago indicating that they would be, but I'm not seeing it in the code. Thanks, Drew To Unsubscribe: send mail to [EMAIL PROTEC

Dual CPU (Intel 1.26ghz) -- Need Help Enabling

2003-01-07 Thread Nick H. -- Technical Support Engineer
Hey guys/gals, Ive run into a little snag here that Im needing some help with. Ive enabled SMP and APIC_IO in the kernel of a 4.7-RELEASE-p3 machine (cvsup'd yesterday and installed all) yet everything is still showing just one cpu. Im positive it's a dual machine cause when I built it I tossed

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andrew Gallatin <[EMAIL PROTECTED]> writes: : : M. Warner Losh writes: : > In message: <[EMAIL PROTECTED]> : > Andrew Gallatin <[EMAIL PROTECTED]> writes: : > : The IFNET_RLOCK() called in if_slowtimo() is a global lock for the : > : list

Re: Cordless Keyboard + Mouse

2003-01-07 Thread Daren Desjardins
On Mon, 2003-01-06 at 21:10, Daniel O'Connor wrote: > On Tue, 2003-01-07 at 12:16, Daren Desjardins wrote: > > > > ukbd0: Logitech USB Receiver, rev 1.10/13.10, addr 2, iclass 3/1 > > > > ums0: Logitech USB Receiver, rev 1.10/13.10, addr 2, iclass 3/1 > > > > > > Mine shows us as a ps/2 mouse. Is

i386 tinderbox failure

2003-01-07 Thread Dag-Erling Smorgrav
-- >>> Rebuilding the temporary build tree -- >>> stage 1: bootstrap tools -- >>> stage 2: cleaning up the object tree

Re: font failure in X

2003-01-07 Thread Eric Anholt
On Tue, 2003-01-07 at 13:25, Alexander Leidinger wrote: > On Tue, 7 Jan 2003 02:46:49 +0100 (MET) > Roine Thunberg <[EMAIL PROTECTED]> wrote: > > > I recently installed 5.0-RC2 and X from ports and some programs too. > > > > Now I have trouble with huge font sizes. Mainly in webbrowsers. But it's

Re: Proper -current if_attach locking?

2003-01-07 Thread Andrew Gallatin
M. Warner Losh writes: > In message: <[EMAIL PROTECTED]> > Andrew Gallatin <[EMAIL PROTECTED]> writes: > : The IFNET_RLOCK() called in if_slowtimo() is a global lock for the > : list of ifnet structs to ensure that no devices are removed or added > : while something may be using i

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andrew Gallatin <[EMAIL PROTECTED]> writes: : The IFNET_RLOCK() called in if_slowtimo() is a global lock for the : list of ifnet structs to ensure that no devices are removed or added : while something may be using it. There is one ifnet list in the syst

Sound playback problem with Maestro3.c (?)

2003-01-07 Thread Michael Ferguson
Hi all, I'm experiencing a small issue with the sound output on the Maestro3 in my Dell Inspiron 8000 laptop. Every few seconds, the sound is briefly "interrupted", and the last few ms of audio are looped for about a quarter of a second. I've noticed that this can happen independently on

sparc64 tinderbox failure

2003-01-07 Thread Mike Barcroft
Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -- >>> Rebuilding the temporary build tree -- >>> stage 1: bootstrap tools -

Re: mirrored root fs?

2003-01-07 Thread Soeren Schmidt
It seems [EMAIL PROTECTED] wrote: > | man atacontrol :) > > I did that but it sounded too easy :) It actually is :) > | However if you want to use RAID1+0 and you want to be able to > | boot from it you *need* a RAID capable controller BIOS, there is > | no way to make a stock BIOS boot fr

Re: mirrored root fs?

2003-01-07 Thread eculp
Quoting Soeren Schmidt <[EMAIL PROTECTED]>: | man atacontrol :) I did that but it sounded too easy :) | | However if you want to use RAID1+0 and you want to be able to | boot from it you *need* a RAID capable controller BIOS, there is | no way to make a stock BIOS boot from a RAID0... |

Re: panic: blockable sleep lock (sleep mutex) Giant @ /usr/src/s

2003-01-07 Thread John Baldwin
On 06-Jan-2003 ryan beasley wrote: > On Sun, Jan 05, 2003 at 08:54:01PM -0600, ryan beasley wrote: >> I'm including a GDB capture including traceback and some locking >> information. Anyone have any ideas? Is there any other data I should >> grab and submit? > > I'm really sorry

Re: mirrored root fs?

2003-01-07 Thread Soeren Schmidt
It seems [EMAIL PROTECTED] wrote: > | Doing "stuff" to your root filesystems is always dangerous, so you > | have been warned :) > > Thanks, Søren. Indeed I have:-) I'll give it a try over the coming > weekend after backing up everything:). Will this patch be committed to > the tree, before

Re: mirrored root fs?

2003-01-07 Thread eculp
Quoting Soeren Schmidt <[EMAIL PROTECTED]>: | Doing "stuff" to your root filesystems is always dangerous, so you | have been warned :) | Thanks, Søren. Indeed I have:-) I'll give it a try over the coming weekend after backing up everything:). Will this patch be committed to the tree, be

Re: mirrored root fs?

2003-01-07 Thread Soeren Schmidt
It seems [EMAIL PROTECTED] wrote: > Søren, > > This is a real temptation. Let me be sure that I'm understanding > correctly. I have an old machine, but running today's current, with only > one disk, ad0. Could I do the following? > > o- Add ad2 > o- run atacontrol create RAID1 ad0 ad2 sou

Re: Proper -current if_attach locking?

2003-01-07 Thread Andrew Gallatin
M. Warner Losh writes: <..> > However in if_slowtimo we have: > > if_slowtimo(arg) > { > ... IFNET_RLOCK(); > ... if (ifp->if_watchdog) > (*ifp->if_watchdog)(ifp); > ... IFNET_RUNLOCK(); > } > > and dc_watchdog does a DC_LOCK/UNLOCK pair). This is a Lo

Re: mirrored root fs?

2003-01-07 Thread eculp
Quoting Soeren Schmidt <[EMAIL PROTECTED]>: | It seems Soeren Schmidt wrote: | > | > It should work on 4.7 forward, but its been a while since I played with | it. | > Another thing is that its a pain to make a mirror on an already running | > system (which is often wanted), so I plan to add

Re: Cordless Keyboard + Mouse

2003-01-07 Thread Philip Paeps
On 2003-01-06 15:22:21 (-0500), Daren Desjardins <[EMAIL PROTECTED]> wrote: > Has anyone been able to get the Logitech Cordless Elite Duo, or any cordless > kb/mouse combos to work? Yes. I have a Logitech Cordless Desktop and a Cordless TrackMan. Both work very happily. I use the PS/2 plugs tho

Re: panic with panic: kmem_malloc(4096): kmem_map too small...

2003-01-07 Thread Willem Jan Withagen
> File get quite fragmented (enough to lose a factor of 2 or so of the > disk's bandwidth) even when the disk is almost empty. Then they don't > get defragmented unless you copy them, etc. The Real Fragmentation > that occurs when a disk is nearly full loses a much larger factor of > the disk

Re: font failure in X

2003-01-07 Thread Alexander Leidinger
On Tue, 7 Jan 2003 02:46:49 +0100 (MET) Roine Thunberg <[EMAIL PROTECTED]> wrote: > I recently installed 5.0-RC2 and X from ports and some programs too. > > Now I have trouble with huge font sizes. Mainly in webbrowsers. But it's > only some kind of fonts. I just can't find the options and I can'

Re: panic with panic: kmem_malloc(4096): kmem_map too small...

2003-01-07 Thread Bruce Evans
On Tue, 7 Jan 2003 [EMAIL PROTECTED] wrote: > In message <01e701c2b62b$db07ddd0$471b3dd4@dual>, "Willem Jan Withagen" writes: > >I was able to copy the full 100+Gb. > >Next I'm going to try and fill the disk to the max as user, but i guess it'll not >trigger this bug. > > > >And to that fact I ha

Re: mirrored root fs?

2003-01-07 Thread Soeren Schmidt
It seems Soeren Schmidt wrote: > > It should work on 4.7 forward, but its been a while since I played with it. > Another thing is that its a pain to make a mirror on an already running > system (which is often wanted), so I plan to add an option to atacontrol > to tell where to get the master fro

Re: Added volume stepping to mixer

2003-01-07 Thread Dan Lukes
[EMAIL PROTECTED] wrote, On 01/06/03 18:53: Last week I modified the mixer to support volume stepping. Having a Sample usage: Increasing: [daren@wee mixer]$mixer -i 5:5 Increasing the mixer vol from 40:40 to 45:45. [daren@wee mixer]$ Decreasing: [daren@wee mixe

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
I was right (and I think you are too). We do have lock issues. dc_attach does approximately: DC_LOCK ether_attach() (which does a IFNET_WLOCK/UNLOCK pair) DC_UNLOCK (this sets the lock order to be DC_LOCK, IFNET_WLOCK). However in if_slowtimo we have: if_slowtimo(arg) { ... IFNET_RLOCK()

Re: Proper -current if_attach locking?

2003-01-07 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Terry Lambert <[EMAIL PROTECTED]> writes: : "M. Warner Losh" wrote: : > In message: <[EMAIL PROTECTED]> : > Nate Lawson <[EMAIL PROTECTED]> writes: : > : I was looking into some "could sleep messages" and found some bogus : > : locking in the

Re: panic with panic: kmem_malloc(4096): kmem_map too small...

2003-01-07 Thread phk
In message <01e701c2b62b$db07ddd0$471b3dd4@dual>, "Willem Jan Withagen" writes: >I was able to copy the full 100+Gb. >Next I'm going to try and fill the disk to the max as user, but i guess it'll not >trigger this bug. > >And to that fact I have a question: >At the moment 8% of the disk is res

Re: panic with panic: kmem_malloc(4096): kmem_map too small...

2003-01-07 Thread Willem Jan Withagen
I was able to copy the full 100+Gb. Next I'm going to try and fill the disk to the max as user, but i guess it'll not trigger this bug. And to that fact I have a question: At the moment 8% of the disk is reserved. It being a 170Gb raid, that wastes a good 13,6Gb, which I find at lot

i386 tinderbox failure

2003-01-07 Thread Dag-Erling Smorgrav
-- >>> Rebuilding the temporary build tree -- >>> stage 1: bootstrap tools -- >>> stage 2: cleaning up the object tree

Re: Proper -current if_attach locking?

2003-01-07 Thread Terry Lambert
"M. Warner Losh" wrote: > In message: <[EMAIL PROTECTED]> > Nate Lawson <[EMAIL PROTECTED]> writes: > : I was looking into some "could sleep messages" and found some bogus > : locking in the attach routine of many drivers. Several init a mtx in > : their softc and then lock/unlock it i