Re: dev_t semantics

2002-07-08 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : I am using dev-si_drv1 to store my softc (as are other drivers). What : guarantees do I have about multiple opens/closes not stepping on each : other's toes? How does -stable compare to -current in this regard?

Remember my ill-fated i386 smp pmap optimizations?

2002-07-08 Thread Peter Wemm
A few months ago, I had a bit of a disaster with some pmap optimizations. After committing, all hell broke loose. It was backed out completely. I finally found the problem (diff cleaned up to highlight the problem): pmap_mapdev() ... for (tmpva = va; size 0; ) { pte =

sparc64 tinderbox failure

2002-07-08 Thread Dag-Erling Smorgrav
Mon Jul 8 07:00:00 GMT 2002 cvs [update aborted]: /home/ncvs/CVSROOT: Interrupted system call To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: benign bug in src/sys/kern/kern_resource.c:limcopy() ?

2002-07-08 Thread David Malone
On Sun, Jul 07, 2002 at 03:28:51PM -0700, Mike Makonnen wrote: MALLOC(copy, struct plimit *, sizeof(struct plimit), M_SUBPROC, M_WAITOK); - bcopy(lim-pl_rlimit, copy-pl_rlimit, sizeof(struct plimit)); + bcopy(lim-pl_rlimit, copy-pl_rlimit, sizeof(struct rlimit));

Re: Remember my ill-fated i386 smp pmap optimizations?

2002-07-08 Thread Julian Elischer
On Mon, 8 Jul 2002, David Xu wrote: sorry for a bit OT, but why are pmap_mapdev and pmap_unmapdev still using old C language parameter style? I saw other functions in pmap using ANSI C style. because until recently it was not 'kosher' to change them, but thank god we have now got past

Re: sparc64 tinderbox failure

2002-07-08 Thread Doug Barton
Would it be possible to get better granularity on when things like this are sent to the list? Maybe some flag to set that says, Hey, I started an actual buildworld, so from here on out any errors get mailed to the list. Doug On Mon, 8 Jul 2002, Dag-Erling Smorgrav wrote: Mon Jul 8 07:00:00

Mousewheel problem after compiling X on CURRENT

2002-07-08 Thread Ted Lindgreen
After re-compiling XFree86-Server-4.2.0_3 on current, my mousewheel (Logitech usb wheel mouse, connected via sysmouse) produces only downward, or button-5, events on scrolling either up or down. The problem appears to be the compilation of line 1508 in

Re: cvs commit: src/share/mk bsd.sys.mk

2002-07-08 Thread Ruslan Ermilov
On Sun, Jul 07, 2002 at 11:47:52AM -0700, David E. O'Brien wrote: obrien 2002/07/07 11:47:52 PDT Modified files: share/mk bsd.sys.mk Log: Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us. Revision ChangesPath 1.10 +6 -0

Re: natd core dumping with bus error

2002-07-08 Thread Luigi Rizzo
Could you clarify the problem ? I believe the problem appears when you _do_ use punch_fw, otherwise the modified code is never called. cheers luigi On Thu, Jul 04, 2002 at 09:20:38AM -0500, Richard Seaman, Jr. wrote: On Tue, Jul 02, 2002 at 06:04:36PM -0700, Joel M. Baldwin

Re: natd core dumping with bus error

2002-07-08 Thread Joel M. Baldwin
I started out without punch_fw. natd was core dumping on me. I eventually figured out that if I added punch_fw in, natd no longer core dumped. I've left it in, things seem to work better anyway with it in. I've put a core dump file at http://outel.org/natd.core Here is my original

Re: current.freebsd.org

2002-07-08 Thread David W. Chapman Jr.
On Sun, Jul 07, 2002 at 11:28:30PM -0400, Chuck Robey wrote: is that machine dead? Is it still the source of current snaps? I need to re-install (having booting problems between old version of FreeBSD and new one, easiest fix is just to re-install) and I want to know where to go

Re: fsck hosed?

2002-07-08 Thread Georg-W. Koltermann
Yes, I see that as well. Another symptom is that fsck -p now always announces unexpected inconsistencies and drops back to singleuser when it indeed was able to fix the problems, i.e. it marks the filesystem clean and a manual fsck does not report anything unusual. My last cvsup was with

Re: natd core dumping with bus error

2002-07-08 Thread David Xu
you have turned on nat enable yes in ppp.conf, and but you havn't turned ip_foward on in sysctl, so core dumped. David Xu - Original Message - From: Richard Seaman, Jr. [EMAIL PROTECTED] To: Luigi Rizzo [EMAIL PROTECTED] Cc: Joel M. Baldwin [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

Re: natd core dumping with bus error

2002-07-08 Thread Richard Seaman, Jr.
On Mon, Jul 08, 2002 at 07:08:58AM -0700, David Xu wrote: you have turned on nat enable yes in ppp.conf, and but you havn't turned ip_foward on in sysctl, so core dumped. David Xu Well, I'm not running ppp, and never indicated I was. I'm running natd. # sysctl -a | grep forward

Re: cvs commit: src/sys/tools vnode_if.awk

2002-07-08 Thread Don Lewis
On 7 Jul, Jeff Roberson wrote: On Sat, 6 Jul 2002, Jeff Roberson wrote: Log: - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS environment variable to enable the lock verifiction code. If you have a crash test box I would appreciate it if you would enable this

panic for today: kernel trap 12 with interrupts disabled

2002-07-08 Thread David Wolfskill
CVSup started at 0347 hrs. Pacfic Daylight (7 hrs. west of GMT/UTC) from cvsup14.freebsd.org. Build/install/mergemaster was uneventful. Reboot after mergemaster proceeded as if nothing strange was about to happen, then (cut/pasted from serial console): ... SMP: enabled INTs: 2, 3, 4, 6, 7, 9,

Re: panic for today: free: address 0xc18d85dc(0xc18d8000) has notbeen allocated.

2002-07-08 Thread Julian Elischer
On Mon, 8 Jul 2002, David Wolfskill wrote: [his panic] from sources 8 hours ld, but cvsup didn;t bring anything relevant up.. my panic: Mounting root from ufs:/dev/ad0s4a panic: free: address 0xc18d85dc(0xc18d8000) has not been allocated. syncing disks... panic: bdwrite: buffer is not busy

Re: natd core dumping with bus error

2002-07-08 Thread Kenn Martin
--On Monday, July 08, 2002 9:18 AM -0500 Richard Seaman, Jr. [EMAIL PROTECTED] wrote: On Mon, Jul 08, 2002 at 07:08:58AM -0700, David Xu wrote: you have turned on nat enable yes in ppp.conf, and but you havn't turned ip_foward on in sysctl, so core dumped. David Xu Well, I'm not running

i386 tinderbox failure

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

Re: panic for today: free: address 0xc18d85dc(0xc18d8000) has notbeen allocated.

2002-07-08 Thread Julian Elischer
On Mon, 8 Jul 2002, Julian Elischer wrote: Ignore: Pilot error To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: natd core dumping with bus error

2002-07-08 Thread Richard Seaman, Jr.
On Mon, Jul 08, 2002 at 09:07:39AM -0700, Joel M. Baldwin wrote: I'll have to ditto that. no ppp, just natd, and sysctl stuff is set as listed below. Without the punch-fw directive in /etc/natd.conf, natd will core dump. I just verified that without the directive it core dumps. The

Re: natd core dumping with bus error

2002-07-08 Thread Luigi Rizzo
ok, there is a good PR on this one with a reasonable fix: http://www.freebsd.org/cgi/query-pr.cgi?pr=40331 I am going to commit this and a few other fixes tonight. cheers luigi On Mon, Jul 08, 2002 at 11:28:15AM -0500, Richard Seaman, Jr. wrote: On Mon, Jul 08, 2002

Re: ppp sig10's in current

2002-07-08 Thread Szilveszter Adam
Hello, You were not, by any chance, using the -nat option with ppp? If you were, and have a recent -CURRENT with the new ipfw code, then *that* will make ppp dump core with a sig10 just fine. (Same behaviour as with natd) -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send

Re: fsck hosed?

2002-07-08 Thread Szilveszter Adam
On Sun, Jul 07, 2002 at 09:41:14PM -0700, Peter Wemm wrote: It seems to be aborting the 'process all file systems' loop when it modifies a file system. eg: ... [[[ Uhh, what? What about the rest of the file systems? ]]] I saw this once yesterday night, (after getting an automagic reboot

Re: benign bug in src/sys/kern/kern_resource.c:limcopy() ?

2002-07-08 Thread Bruce Evans
On Mon, 8 Jul 2002, David Malone wrote: On Sun, Jul 07, 2002 at 03:28:51PM -0700, Mike Makonnen wrote: MALLOC(copy, struct plimit *, sizeof(struct plimit), M_SUBPROC, M_WAITOK); - bcopy(lim-pl_rlimit, copy-pl_rlimit, sizeof(struct plimit)); + bcopy(lim-pl_rlimit,

Re: natd core dumping with bus error

2002-07-08 Thread Szilveszter Adam
Hello, Yes, I've seen the same thing on a pre-KSE kernel. The error occurs in PunchFWHole in alias_db.c in libalias. Reverting the following commit seems to fix it (I haven't had a chance to investigate further): ... sys/netinet ip_fw.h Reverting only this file and

Re: KSE M-III status junior hacker project.

2002-07-08 Thread Josef Karthauser
On Sun, Jul 07, 2002 at 12:34:06PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Josef Karthauser [EMAIL PROTECTED] writes: : I've absolutely no idea what's causing it, but I'm still having random reboots : of current after some uptime with no dumps. I'll install a

Re: ppp sig10's in current

2002-07-08 Thread Bernd Walter
On Sun, Jul 07, 2002 at 08:43:45PM -0400, Andrew Lankford wrote: Just thought I'd throw in some more bad news :-). ppp in current core dumps on me. It starts up in ddial mode ok, does its job for a while, and then dies. I tried starting it again, and it just sat there instead of going

Re: i386 trap code

2002-07-08 Thread John Baldwin
On 07-Jul-2002 Jonathan Lemon wrote: On Sat, Jul 06, 2002 at 11:59:50PM -0700, David Xu wrote: Jonthan, I just use DOS program as an example, for any program, if it wants to go into VM86 mode, it is very easy, just calls i386_vm86() to initailize its VM86 pcb extension, setups some

Re: -CURRENT bootup panics (ACPI related?)

2002-07-08 Thread Mitsuru IWASAKI
Hi, I just got myself an IBM Thinkpad T30, most things work fine on -STABLE (trying to get specs from IBM for the rest), but -CURRENT won't boot with ACPI enabled. I'd be glad to track that down, but I have no clue where to start, nor do I have any more than a passing knowledge of ACPI.

Re: APIC on UP motherboard, Kernel trap

2002-07-08 Thread Mitsuru IWASAKI
Hi, I upgraded today (as of 30 min ago) to a current kernel from pre-KSE. When trying to boot with APIC set in BIOS i get: acpi0:ASUS A7V333 on motherboard Fatal trap 12: page fault while in kernel mode fault virtual address = 0x16 fault code= supervisor read, page

Re: Remember my ill-fated i386 smp pmap optimizations?

2002-07-08 Thread Peter Wemm
John Baldwin wrote: On 08-Jul-2002 Peter Wemm wrote: A few months ago, I had a bit of a disaster with some pmap optimizations. After committing, all hell broke loose. It was backed out completely. I finally found the problem (diff cleaned up to highlight the problem):

Re: fsck hosed?

2002-07-08 Thread Michael Nottebrock
Georg-W. Koltermann wrote: Yes, I see that as well. Another symptom is that fsck -p now always announces unexpected inconsistencies and drops back to singleuser when it indeed was able to fix the problems, i.e. it marks the filesystem clean and a manual fsck does not report anything unusual.

Re: fsck hosed?

2002-07-08 Thread Matthew Dillon
Similar things happen to me... Also when I do an 'fsck -y' fsck will fsck each partition until it hits one with problems. It fixes the problems, then exits (does not continue to the next partition). I wind up having to run fsck five or six times to get it to fsck all the

Re: struct stat and _POSIX_SOURCE

2002-07-08 Thread Bruce Evans
On Mon, 8 Jul 2002, Don Lewis wrote: Building OpenOffice is broken in -current because of a problem in sys/stat.h. If _POSIX_SOURCE is defined, sys/stat.h does not #include sys/time.h to get the definition of struct timespec, and it substitutes alternate structure members for the struct

Re: current.freebsd.org

2002-07-08 Thread David O'Brien
On Sun, Jul 07, 2002 at 09:32:55PM -0700, Peter Wemm wrote: Are the ftp paths equivalent? I seem to recall that current.freebsd.org is referenced in sysinstall. Will just a CNAME work? ENOCLUE. But does it matter? Either today or w/the CNAME sysinstall is referenced. The delay in waiting

Re: current.freebsd.org

2002-07-08 Thread David O'Brien
On Mon, Jul 08, 2002 at 01:48:04PM +0900, Makoto Matsushita wrote: snapshots.jp.FreeBSD.org is now becoming too busy ftp site, many connections are rejected because of max connection limit. I'm now seeking donors of network bandwidth and PCs (but I don't know I can find or not). Anyway,

Weird pipe behavior

2002-07-08 Thread Alexander Kabaev
While running the piped command below on a recent pre-KSE/MIII -CURRENT, I noticed that the pipe output is not getting buffered anymore, i.e command displays the name of each package immediately after it is processed. Both stable and earlier versions of -CURRENT used to buffer the pkg_version

Re: fsck hosed?

2002-07-08 Thread Doug Barton
I brought the fsck_y_enable stuff in, I'll try to take a look at it this week. Doug On Mon, 8 Jul 2002, Michael Nottebrock wrote: Georg-W. Koltermann wrote: Yes, I see that as well. Another symptom is that fsck -p now always announces unexpected inconsistencies and drops back to

qt30 build under -CURRENT fails in rtld

2002-07-08 Thread Kevin Day
Im not sure if this is a known problem, but I sent this to the maintainer of the qt30 port, who suggested I post this here. I couldn't find anything related in the archives about this problem. I'm attempting to build qt30 (for kde3) under -CURRENT (ports and kernel/userland from yesterday).

Re: Weird pipe behavior

2002-07-08 Thread Alexander Kabaev
This is because of the rewrite of pkg_version into C (from perl) and has nothing to do with pipes. Regards, -Jeremy Oops! I forgot about the big perl rewrite. Apologies for false alarm. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current

Re: cvs commit: src/share/mk bsd.sys.mk

2002-07-08 Thread Bruce Evans
On Mon, 8 Jul 2002, Ruslan Ermilov wrote: On Sun, Jul 07, 2002 at 11:47:52AM -0700, David E. O'Brien wrote: ... Log: Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us. ... I'm sure you know that it's now about the time for -DNO_WERRROR to build -CURRENT: ===

Re: KSE M-III status junior hacker project.

2002-07-08 Thread Anthony Jenkins
On Monday 2002-July-08 14:08, Josef Karthauser wrote: On a new kernel I appear to be getting dumps now (along with the crashes ;). Actually it's pretty stable, but there are random crashes occuring, usually I come back to the machine when I've not used it for a new hours and find it in

Re: fsck hosed?

2002-07-08 Thread Michael Nottebrock
Doug Barton wrote: I brought the fsck_y_enable stuff in, I'll try to take a look at it this week. Just to avoid misunderstandings: That all worked fine a few weeks ago... that was the second to last time I needed it (because I accidentally pulled the wrong plug). Regards, -- Michael

Re: i386 trap code

2002-07-08 Thread David Xu
--- John Baldwin [EMAIL PROTECTED] wrote: On 07-Jul-2002 Jonathan Lemon wrote: On Sat, Jul 06, 2002 at 11:59:50PM -0700, David Xu wrote: Jonthan, I just use DOS program as an example, for any program, if it wants to go into VM86 mode, it is very easy, just calls i386_vm86() to

Re: natd core dumping with bus error

2002-07-08 Thread David Xu
Here, if I enable nat yes in /etc/ppp/ppp.conf and forget to turn net.inet.ip.forwarding on, ppp will core dump in several minutes. David Xu --- Richard Seaman, Jr. [EMAIL PROTECTED] wrote: On Mon, Jul 08, 2002 at 07:08:58AM -0700, David Xu wrote: you have turned on nat enable yes in

Re: panic for today: kernel trap 12 with interrupts disabled

2002-07-08 Thread David Wolfskill
OK; implementing rev. 1.12 of src/sys/vm/vm_zeroidle.c allowed me to boot my (SMP) build machine login: freebeast(5.0-C)[1] uname -a FreeBSD freebeast.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Mon Jul 8 16:28:30 PDT 2002 [EMAIL PROTECTED]:/common/S4/obj/usr/src/sys/FREEBEAST

Re: KSE M-III status junior hacker project.

2002-07-08 Thread Don Lewis
On 8 Jul, Anthony Jenkins wrote: I've been looking at the pcm code and I can see where it locks, then allocates memory with the M_WAITOK flag thing. I'm wondering if there's a standard procedure for fixing these... would I just nail down the malloc to a non-sleepable one? Only if the

Re: Timeout and SMP race

2002-07-08 Thread David Xu
I want to set an flag bit CALLOUT_PROCESSING in callout.c_flags, before softclock() releases callout_lock and start requesting callout.c_func(), so callout_stop can find that callout is processing by softclock and wait, after softclock processed the callout, it resets the flag and wakeup

Re: KSE M-III status junior hacker project.

2002-07-08 Thread Lamont Granquist
On Sun, 7 Jul 2002, Josef Karthauser wrote: On Sat, Jul 06, 2002 at 04:57:08PM -0700, Julian Elischer wrote: Well with various hints from here and there I have fixed the ^Z/fg problem (at least it seems fixed to me and others that have tested) This basically leaves only one outstanding

Re: Timeout and SMP race

2002-07-08 Thread John Baldwin
On 08-Jul-2002 David Xu wrote: I want to set an flag bit CALLOUT_PROCESSING in callout.c_flags, before softclock() releases callout_lock and start requesting callout.c_func(), so callout_stop can find that callout is processing by softclock and wait, after softclock processed the callout, it

Re: i386 trap code

2002-07-08 Thread John Baldwin
On 08-Jul-2002 David Xu wrote: --- John Baldwin [EMAIL PROTECTED] wrote: On 07-Jul-2002 Jonathan Lemon wrote: On Sat, Jul 06, 2002 at 11:59:50PM -0700, David Xu wrote: Jonthan, I just use DOS program as an example, for any program, if it wants to go into VM86 mode, it is very

Re: panic for today: kernel trap 12 with interrupts disabled

2002-07-08 Thread David Wolfskill
Date: Mon, 8 Jul 2002 16:44:20 -0700 (PDT) From: David Wolfskill [EMAIL PROTECTED] OK; implementing rev. 1.12 of src/sys/vm/vm_zeroidle.c allowed me to boot my (SMP) build machine login: freebeast(5.0-C)[1] uname -a FreeBSD freebeast.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Mon Jul

Re: Timeout and SMP race

2002-07-08 Thread David Xu
I'll work out a patch to see if my idea works. David Xu --- John Baldwin [EMAIL PROTECTED] wrote: On 08-Jul-2002 David Xu wrote: I want to set an flag bit CALLOUT_PROCESSING in callout.c_flags, before softclock() releases callout_lock and start requesting callout.c_func(), so

gdb errors in world

2002-07-08 Thread Erik Greenwald
This may be a stupid question, but is gdbreplay currently broken? I just cvsup'd today (2002-07-08, 18:42 CST (GMT-6)) cc -O -pipe -D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils/gdbreplay -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../libbfd/i386

Re: gdb errors in world

2002-07-08 Thread Mike Barcroft
Erik Greenwald [EMAIL PROTECTED] writes: This may be a stupid question, but is gdbreplay currently broken? I just cvsup'd today (2002-07-08, 18:42 CST (GMT-6)) Yes (unless I missed the fix). Just use NO_WERROR=true for now. Best regards, Mike Barcroft To Unsubscribe: send mail to [EMAIL

stdlib.h wchar_t problem

2002-07-08 Thread Bernd Walter
The system g++ 3.1 complains that stdlib.h typedefs wchar_t: /usr/include/stdlib.h:57: redeclaration of C++ built-in type `wchar_t' -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send

B.R.I.T.N.E.Y S.P.E.A.R N.A.K.E.D . FVWFCGOFIT

2002-07-08 Thread Show
B.R.I.T.N.E.Y S.P.E.A.R N.A.K.E.D. http://web.rol.ro/newmedia You must be 18 years of age or older to take advantage of this offer. If you do not wish to receive any further e-mail's from us you can send a blank email to be removed from our list to [EMAIL PROTECTED]

Re: stdlib.h wchar_t problem

2002-07-08 Thread Terry Lambert
Bernd Walter wrote: The system g++ 3.1 complains that stdlib.h typedefs wchar_t: /usr/include/stdlib.h:57: redeclaration of C++ built-in type `wchar_t' I posted a patch for this already, based on Garrett Wollman's point about where theings are defined (actually, it requires a non-definition

Re: current.freebsd.org

2002-07-08 Thread Chuck Robey
On Mon, 8 Jul 2002, David O'Brien wrote: On Mon, Jul 08, 2002 at 12:32:21AM -0400, Chuck Robey wrote: Ohhhkay. The .jp site I found stopped making snaps on 6/21. Seeing as current only stabilized in the last day or so, I think first I'll write them and ask if it's going to start back up

Re: ppp sig10's in current

2002-07-08 Thread Andrew Lankford
You were not, by any chance, using the -nat option with ppp? A Sure was. Thanks. Andrew Lankford To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: gdb errors in world

2002-07-08 Thread David O'Brien
On Mon, Jul 08, 2002 at 08:37:37PM -0500, Erik Greenwald wrote: This may be a stupid question, but is gdbreplay currently broken? I just cvsup'd today (2002-07-08, 18:42 CST (GMT-6)) *shrug* I can't reproduce this. cc -O -pipe -D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils/gdbreplay