Re: Kernel Panic on -CURRENT w/ SMP

2003-01-06 Thread Frank Laszlo
I believe this panic was cause by the BIOS not recognizing the second CPU.. i rebooted a couple times and did a couple BIOS config settings. now it will load the kernel, but right before fsck (and right after SMP: AP CPU #1 Launched!) I get this: lock order reveral 1st 0xc165x950 process lock (

Re: mirrored root fs?

2003-01-06 Thread Soeren Schmidt
It seems Andrew P. Lentvorski, Jr. wrote: > On Tue, 7 Jan 2003, Soeren Schmidt wrote: > > > Not true, you can boot off a broken mirror on a non-RAID ATA controller, > > and then rebuild on the fly with atacontrol once the system is up > > Is this new (ie. since August 22, 2002)? I attempted to d

Kernel Panic on -CURRENT w/ SMP

2003-01-06 Thread Frank Laszlo
I recently rebuilt my kernel to HEAD and configured my kernel to support the Dual 200Mhz PPro's. upon restart, I recieved the kernel panic below. panic: CPU APIC ID out of range (0..15) cpuid = 0; lapic.id = Debugger("panic") Stopped at Debugger+0x55;xchgl%ebx,in_Deb

Re: Proper -current if_attach locking?

2003-01-06 Thread M. Warner Losh
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 in their attach routine. This, of

Re: pthread ^T problem on recent -CURRENT: death in libc_r mutex

2003-01-06 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Robert Watson <[EMAIL PROTECTED]> writes: : assuming it's something about poor signal handling in libc_r, actually. I've seen signal problems in devd after it forks a child. Before it forks a child ^C works, but after it does a system(3) to run a comman

Re: mirrored root fs?

2003-01-06 Thread Andrew P. Lentvorski, Jr.
On Tue, 7 Jan 2003, Soeren Schmidt wrote: > Not true, you can boot off a broken mirror on a non-RAID ATA controller, > and then rebuild on the fly with atacontrol once the system is up Is this new (ie. since August 22, 2002)? I attempted to do this back then and I couldn't actually get a rebuil

Re: mirrored root fs?

2003-01-06 Thread Soeren Schmidt
It seems Andrew P. Lentvorski, Jr. wrote: > Probably your best choice right now if you have a real RAID controller > on your motherboard. The BIOS takes care of most of the nasty booting > details. > If you don't have a real RAID controller on the motherboard, stop now. > Rebuilds don't wo

Re: HOWTO: Basic-block profiling on -current.

2003-01-06 Thread Hiten Pandya
Hello. This is just cool! I was wondering, did you receive my mail on this issue? It seems that I sent mail to you before too, but never got a reply. Thanks. - Hiten On Mon, Jan 06, 2003 at 02:28:52PM +0100, Poul-Henning Kamp wrote the words in effect of: > I have committed the bits needed

sparc64 tinderbox failure

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

Re: if_dc.c locking patch

2003-01-06 Thread M. Warner Losh
Wouldn't it be better if you didn't do the bogus locking in the attach routine? It would be better to not lock at all and not initialize the ISR until last. That's what I did with if_rl. Let's not work around the bogus locking, but insteal eliminate it. There's no way that the driver can interr

Re: Cordless Keyboard + Mouse

2003-01-06 Thread leafy
On Tue, Jan 07, 2003 at 12:40:46PM +1030, Daniel O'Connor wrote: > keyboard using 'kbdcontrol -k devname' I believe (I have never used a > USB keyboard) > > -- > Daniel O'Connor software and network engineer My past experience with the USB keyboard isn't rather pleasant. When typing too fast, it

Re: Cordless Keyboard + Mouse

2003-01-06 Thread Daniel O'Connor
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 this a USB setup? Mine's a normal > > non-USB setup. > > Si

Re: Cordless Keyboard + Mouse

2003-01-06 Thread Daren Desjardins
On Mon, 2003-01-06 at 20:11, Nate Williams wrote: > Single receiver, but two cords coming out of it. > > > dmesg shows that both the mouse and kb were detected, mouse as ums0 and > > kb as ukb0. XFree is set to use /dev/sysmouse, but dies with no core > > pointer if I dont use the corded mouse. >

font failure in X

2003-01-06 Thread Roine Thunberg
Hello... 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't see any logs telling me what's wrong. Seems like the fonts use the size 100 in

Re: mirrored root fs?

2003-01-06 Thread Greg 'groggy' Lehey
On Monday, 6 January 2003 at 10:27:21 -0800, Nate Lawson wrote: > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > blocks couldn't find the fs. Any idea how much work it would take to > enable booting a ccd root? Also, does vinum already support this? I've had this wor

Re: if_dc.c locking patch

2003-01-06 Thread Nate Lawson
On Mon, 6 Jan 2003, Maxime Henrion wrote: > Nate Lawson wrote: > > Attached is a diff that fixes a "could sleep" problem where > > ether_ifattach() does a malloc and dc(4) is holding a lock in its softc. > > It uses a cleaner exit strategy with only one call to DC_UNLOCK and no > > multiple retur

Re: Cordless Keyboard + Mouse

2003-01-06 Thread Nate Williams
> > > Has anyone been able to get the Logitech Cordless Elite Duo, or any > > > cordless kb/mouse combos to work? > > > > I've got the older Logitech 'Natural' wireless keyboard + wireless mouse > > working fine. I've had it for almost 3 years now, and aside from having > > to change batteries ev

Re: current/stable remote gdb interoperability

2003-01-06 Thread Nate Lawson
On Sun, 5 Jan 2003, ryan beasley wrote: > For what it's worth, I've taken Nate's suggestion and backed down to > 9600bps, and this problem hasn't occurred yet, so I'm assuming this is > the "fix". (The 4.7 machine has an ASUS P2B-D board, and the -CURRENT > box is a recent Dell Dim

Re: Cordless Keyboard + Mouse

2003-01-06 Thread Daren Desjardins
On Mon, 2003-01-06 at 19:58, Nate Williams wrote: > > Has anyone been able to get the Logitech Cordless Elite Duo, or any > > cordless kb/mouse combos to work? > > I've got the older Logitech 'Natural' wireless keyboard + wireless mouse > working fine. I've had it for almost 3 years now, and asid

Re: if_dc.c locking patch

2003-01-06 Thread Maxime Henrion
Nate Lawson wrote: > Attached is a diff that fixes a "could sleep" problem where > ether_ifattach() does a malloc and dc(4) is holding a lock in its softc. > It uses a cleaner exit strategy with only one call to DC_UNLOCK and no > multiple return statements as well as fixing one place where "erro

Re: Cordless Keyboard + Mouse

2003-01-06 Thread Nate Williams
> Has anyone been able to get the Logitech Cordless Elite Duo, or any > cordless kb/mouse combos to work? I've got the older Logitech 'Natural' wireless keyboard + wireless mouse working fine. I've had it for almost 3 years now, and aside from having to change batteries every 4-6 months it's been

if_dc.c locking patch

2003-01-06 Thread Nate Lawson
Attached is a diff that fixes a "could sleep" problem where ether_ifattach() does a malloc and dc(4) is holding a lock in its softc. It uses a cleaner exit strategy with only one call to DC_UNLOCK and no multiple return statements as well as fixing one place where "error" wasn't set. If people a

Re: Proper -current if_attach locking?

2003-01-06 Thread Nate Lawson
On Mon, 6 Jan 2003, Kyunghwan Kim wrote: > On Mon, Jan 06, 2003 at 10:58:25AM +0100, Harti Brandt wrote: > > On Fri, 3 Jan 2003, Nate Lawson wrote: > > NL>I was looking into some "could sleep messages" and found some bogus > > NL>locking in the attach routine of many drivers. Several init a mtx in

Re: mirrored root fs?

2003-01-06 Thread Andrew P. Lentvorski, Jr.
On Mon, 6 Jan 2003, Nate Lawson wrote: > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > blocks couldn't find the fs. Any idea how much work it would take to > enable booting a ccd root? Also, does vinum already support this? I gave this the old college try a while ag

Re: mirrored root fs?

2003-01-06 Thread Garance A Drosihn
At 11:54 AM -0800 1/6/03, Nate Lawson wrote: On Mon, 6 Jan 2003, David O'Brien wrote: On Mon, Jan 06, 2003 at 10:27:21AM -0800, Nate Lawson wrote: > > I'd like to have a mirrored root partition. I tried ccd(4) > > but the boot blocks couldn't find the fs. Any idea how much > > work it woul

Kernel panic on 4.7-STABLE to 5.0 RC2 upgrade.

2003-01-06 Thread wade
Hello, I recently attempted to upgrade on of my servers from 4.7 STABLE to 5.0 RC2 using the "Upgrade" facility of sysinstall. After choosing all the options I needed, the upgrade proceeded through its fsck and started unpacking off the CD. This is where things go sour. About 20% of the way th

Re: Cordless Keyboard + Mouse

2003-01-06 Thread Soeren Schmidt
It seems Daren Desjardins wrote: > Has anyone been able to get the Logitech Cordless Elite Duo, or any > cordless kb/mouse combos to work? > > I have the Cordless Elite Duo however the system only detects my > keyboard, and I have to use a corded mouse. I have been searching around > and yet to fi

Cordless Keyboard + Mouse

2003-01-06 Thread Daren Desjardins
Has anyone been able to get the Logitech Cordless Elite Duo, or any cordless kb/mouse combos to work? I have the Cordless Elite Duo however the system only detects my keyboard, and I have to use a corded mouse. I have been searching around and yet to find anything on getting the combos to work. D

i386 tinderbox failure

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

Re: mirrored root fs?

2003-01-06 Thread Nate Lawson
On Mon, 6 Jan 2003, David O'Brien wrote: > On Mon, Jan 06, 2003 at 10:27:21AM -0800, Nate Lawson wrote: > > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > > blocks couldn't find the fs. Any idea how much work it would take to > > enable booting a ccd root? Also, does v

Re: mirrored root fs?

2003-01-06 Thread marius
On Mon, Jan 06, 2003 at 08:36:20PM +0100, Soeren Schmidt wrote: > It seems [EMAIL PROTECTED] wrote: > > > > if `atacontrol rebuild` would work... Is there simple way, i.e. without > > > > copying the content of the array to a temporary location, to recover from > > > > disk-failures when doing raid

Re: mirrored root fs?

2003-01-06 Thread Soeren Schmidt
It seems [EMAIL PROTECTED] wrote: > > > if `atacontrol rebuild` would work... Is there simple way, i.e. without > > > copying the content of the array to a temporary location, to recover from > > > disk-failures when doing raid1 on non-raid controllers ? > > > > The problem is that if its the driv

Re: Added volume stepping to mixer

2003-01-06 Thread Daren Desjardins
Changes made, also added a couple lines of docs here and their and changed the int variables to more meaningful. Lemme know if their is anything else you need. Daren Desjardins On Mon, 2003-01-06 at 13:59, Juli Mallett wrote: > * De: Daren Desjardins <[EMAIL PROTECTED]> [ Data: 2003-01-06 ] >

Re: mirrored root fs?

2003-01-06 Thread David O'Brien
On Mon, Jan 06, 2003 at 10:27:21AM -0800, Nate Lawson wrote: > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > blocks couldn't find the fs. Any idea how much work it would take to > enable booting a ccd root? Also, does vinum already support this? I've moved ccdconfig

Re: mirrored root fs?

2003-01-06 Thread marius
On Mon, Jan 06, 2003 at 08:08:09PM +0100, Soeren Schmidt wrote: > It seems [EMAIL PROTECTED] wrote: > > On Mon, Jan 06, 2003 at 07:29:51PM +0100, Soeren Schmidt wrote: > > > It seems Nate Lawson wrote: > > > > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > > > > blocks c

Re: mirrored root fs?

2003-01-06 Thread Soeren Schmidt
It seems [EMAIL PROTECTED] wrote: > On Mon, Jan 06, 2003 at 07:29:51PM +0100, Soeren Schmidt wrote: > > It seems Nate Lawson wrote: > > > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > > > blocks couldn't find the fs. Any idea how much work it would take to > > > enable

Re: mirrored root fs?

2003-01-06 Thread marius
On Mon, Jan 06, 2003 at 07:29:51PM +0100, Soeren Schmidt wrote: > It seems Nate Lawson wrote: > > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > > blocks couldn't find the fs. Any idea how much work it would take to > > enable booting a ccd root? Also, does vinum alrea

Re: Added volume stepping to mixer

2003-01-06 Thread Juli Mallett
* De: Daren Desjardins <[EMAIL PROTECTED]> [ Data: 2003-01-06 ] [ Subjecte: Added volume stepping to mixer ] > Last week I modified the mixer to support volume stepping. Having a > keyboard with volume control on it, it has come in very handy to be able > to use the mixer to increase/decrea

Re: getpwnam_r missing

2003-01-06 Thread Andy Fawcett
On Monday 06 January 2003 20:55, Garrett Wollman wrote: > < said: > > #if defined(QT_THREAD_SUPPORT) && > > defined(_POSIX_THREAD_SAFE_FUNCTIONS) > > This conditional is erroneous, so you should definitely bug Troll > Tech. > > It should instead read: > > #if defined(QT_THREAD_SUPPORT) && _POSIX_T

getpwnam_r missing

2003-01-06 Thread Garrett Wollman
< said: > #if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) This conditional is erroneous, so you should definitely bug Troll Tech. It should instead read: #if defined(QT_THREAD_SUPPORT) && _POSIX_THREAD_SAFE_FUNCTIONS - 0 > 0 (We really should figure out how to implement

Re: mirrored root fs?

2003-01-06 Thread Nate Lawson
On Mon, 6 Jan 2003, Soeren Schmidt wrote: > It seems Nate Lawson wrote: > > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > > blocks couldn't find the fs. Any idea how much work it would take to > > enable booting a ccd root? Also, does vinum already support this? > >

Re: mirrored root fs?

2003-01-06 Thread phk
In message <[EMAIL PROTECTED]>, Nate Lawson wri tes: >I'd like to have a mirrored root partition. I tried ccd(4) but the boot >blocks couldn't find the fs. Any idea how much work it would take to >enable booting a ccd root? Also, does vinum already support this? The best way to do this is to ge

Re: mirrored root fs?

2003-01-06 Thread Soeren Schmidt
It seems Nate Lawson wrote: > I'd like to have a mirrored root partition. I tried ccd(4) but the boot > blocks couldn't find the fs. Any idea how much work it would take to > enable booting a ccd root? Also, does vinum already support this? If you use ATA drives you can use atacontrol to make t

mirrored root fs?

2003-01-06 Thread Nate Lawson
I'd like to have a mirrored root partition. I tried ccd(4) but the boot blocks couldn't find the fs. Any idea how much work it would take to enable booting a ccd root? Also, does vinum already support this? Thanks, Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-

Re: lock order reversal

2003-01-06 Thread Ulrich Spoerlein
On 2003/01/05-00:25:17 leafy wrote: >lock order reversal >Jan 5 00:19:15 leafy kernel: 1st 0xc26b05c0 process lock (process lock) >@/usr/src/sys/kern/kern_descrip.c:2099 Jan 5 00:19:15 leafy kernel: 2nd >0xc2667e34 filedesc structure (filedesc structure) @ >/usr/src/sys/kern/kern_descrip.c:2106

Added volume stepping to mixer

2003-01-06 Thread Daren Desjardins
Last week I modified the mixer to support volume stepping. Having a keyboard with volume control on it, it has come in very handy to be able to use the mixer to increase/decrease the volume. I submitted the changes to send-pr and have an open ticket. For those that are interested, Im including the

Re: HOWTO: Basic-block profiling on -current.

2003-01-06 Thread Bosko Milekic
On Mon, Jan 06, 2003 at 02:28:52PM +0100, Poul-Henning Kamp wrote: > > I have committed the bits needed to use GCC's basicblock profiling > on -current. > > Make sure to recompile the kernbb(8) program first. > > Here's an simple example how to profile a single file (vfs_bio.c): > > cd /

Re: alpha tinderbox failure

2003-01-06 Thread Tony Finch
Gerhard Sittig <[EMAIL PROTECTED]> wrote: > >Although the above case is special from what I learnt in another >message in this thread (I managed to delete it after seeing it so >I cannot quote it here). ISTR that the non zero exit status comes >from a tool with the following convention: 0 is "abs

Re: Panic when using Wine

2003-01-06 Thread Munehiro Matsuda
Hi all, Following up to my own e-mail, but... From: Munehiro Matsuda <[EMAIL PROTECTED]> Date: Sun, 05 Jan 2003 23:05:51 +0900 (JST) ::Hi all, :: ::I got following panic, while trying to run Wine (ver.2002.12.19). :: ::---8<--8<--8<--8<--8<--8<--8<--8<--8<--- ::Mou

Re: alpha tinderbox failure

2003-01-06 Thread Mike Barcroft
Mike Barcroft <[EMAIL PROTECTED]> writes: > @@ -1077,8 +1078,9 @@ > > if (buflen != sizeof(temp)) { > if (buflen != sizeof(temp) - sizeof(temp.ml_auxsingle)) { > - printf("mac_lomac_associate_vnode_extattr: bad size %d\n", > - buflen

Re: alpha tinderbox failure

2003-01-06 Thread Robert Watson
On Mon, 6 Jan 2003, Mike Barcroft wrote: > These new truncated lines only make problems harder to solve. > > Anyway, the problem is the 5th argument to vn_extattr_get() should be an > int *, but it's passing a size_t *. It looks like most consumers of > vn_extattr_get() would prefer a size_t *

Re: pam_ssh broken in recent (as of yesterday) -current?

2003-01-06 Thread Dag-Erling Smorgrav
Alexander Leidinger <[EMAIL PROTECTED]> writes: > Just tested with a world from yesterday: it doesn't segfault anymore, > but there's no ssh-agent running. Harrumph. Did you try reverting pam_ssh.c? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] w

Re: alpha tinderbox failure

2003-01-06 Thread Mike Barcroft
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > -- > >>> Kernel build for LINT started on Mon Jan 6 03:35:12 PST 2003 > -- > ===> vinum > "Makefile", line 4445: warning: duplic

getpwnam_r missing

2003-01-06 Thread Andy Fawcett
Hi, While trying to build the latest Qt (3.1.1) from original sources, it fails because it cannot find getpwnam_r, which we appear to be missing in -CURRENT at the moment, marked: /* * XXX missing getpwnam_r() and getpwuid_r(). */ Qt tries to use this conditionally, using: #if defined(QT_TH

Re: Proper -current if_attach locking?

2003-01-06 Thread Kyunghwan Kim
On Mon, Jan 06, 2003 at 10:58:25AM +0100, Harti Brandt wrote: > On Fri, 3 Jan 2003, Nate Lawson wrote: > NL>I was looking into some "could sleep messages" and found some bogus > NL>locking in the attach routine of many drivers. Several init a mtx in > NL>their softc and then lock/unlock it in thei

Re: alpha tinderbox failure

2003-01-06 Thread Tony Finch
On Sun, Jan 05, 2003 at 01:33:14AM -0800, David O'Brien wrote: > > Agreed. I'd love to hear from fanf what the changes are to unifdef that > causes this change in exit code. I accidentally cocked up the exit codes in my first major revision of unifdef. It so happens that a few days later markm r

HOWTO: Basic-block profiling on -current.

2003-01-06 Thread Poul-Henning Kamp
I have committed the bits needed to use GCC's basicblock profiling on -current. Make sure to recompile the kernbb(8) program first. Here's an simple example how to profile a single file (vfs_bio.c): cd /sys/i386/conf config YOURKERNEL cd ../compile/YOURKERNEL mak

alpha tinderbox failure

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

Re: pam_ssh broken in recent (as of yesterday) -current?

2003-01-06 Thread Alexander Leidinger
On Fri, 03 Jan 2003 03:19:28 +0100 Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote: > Alexander Leidinger <[EMAIL PROTECTED]> writes: > > Dag-Erling, any ideas? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/46628 > > Fixed a couple of minutes ago. Just tested with a world from yesterday: it

Re: specfs lock plumbing broken

2003-01-06 Thread Bruce Evans
On Sun, 5 Jan 2003, Nate Lawson wrote: > On Mon, 6 Jan 2003, Bruce Evans wrote: > > - spec_print() is of low quality: it doesn't print the device name or number. > > - devfs_print() would be reachable but doesn't exist, so vprint() prints > > even lower quality output for devfs since there nothi

Re: sshd login

2003-01-06 Thread Daniel C. Sobral
ryan beasley wrote: On Fri, Jan 03, 2003 at 02:54:57PM -0200, Daniel C. Sobral wrote: >Alas, that *did* work. My first attempt (replying to another message) >was done with wrong permissions. > >Question... it did not have this trouble before Dec 13, but Dec 30 it >had (no worlds in between). The

Re: Proper -current if_attach locking?

2003-01-06 Thread Harti Brandt
On Fri, 3 Jan 2003, Nate Lawson wrote: NL>I was looking into some "could sleep messages" and found some bogus NL>locking in the attach routine of many drivers. Several init a mtx in NL>their softc and then lock/unlock it in their attach routine. This, of NL>course, does nothing to provide exclus

Re: Unable to mount ext2fs partition

2003-01-06 Thread Bruce Evans
On Sun, 5 Jan 2003, Paul A. Mayer wrote: > Thanks for this info. It's way beyond my technical understanding (which > is truely minimal!), but I think I get the idea. What would this look > like as a series of commands? Or better yet, what's the "right" way to > share data between FreeBSD -curre

Re: Unable to mount ext2fs partition

2003-01-06 Thread Paul A. Mayer
Hi Rahul, The mount capability has to be included as a kernel option in a custom build kernel. I forget exactly what it's called (I'm writing in another OS on the system, so I can't check it right now), but I think it's something like this: option EXT2FS Have you included that in your kern