Port of Niels Provos's file descriptor allocation code

2003-11-27 Thread Tim Robbins
I've ported Niels Provos's file descriptor allocation code to FreeBSD in case anyone wants to try it out run some benchmarks. If the performance boost turns out to be worth the added complexity, I might clean it up a bit and commit it. See

Re: 40% slowdown with dynamic /bin/sh

2003-11-27 Thread Bruce Evans
On Wed, 26 Nov 2003, Garance A Drosihn wrote: At 12:23 AM -0500 11/26/03, Michael Edenfield wrote: Just to provide some real-world numbers, here's what I got out of a buildworld: I have reformatted the numbers that Michael reported, into the following table: Static /bin/sh:

Re: 40% slowdown with dynamic /bin/sh

2003-11-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bruce Evans [EMAIL PROTECTED] writes: : What are people doing to make buildworld so slow? using gcc 3 :-) Warner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To

failed to set signal flags properly for ast()

2003-11-27 Thread Kris Kennaway
I'm still getting these on bento (SMP machine) after upgrading to -current. Kris pgp0.pgp Description: PGP signature

Re: Panic with ugen

2003-11-27 Thread Daan Vreeken [PA4DAN]
On Thursday 27 November 2003 01:08, Jay Cornwall wrote: It looks like this: panic() destroy_dev() ugen_destroy_devnodes() ugen_set_config() Yes, that's the one, and I think I can see why. The existing code fixed devfs problems for normal ugen_set_config calls, but doesn't account

5.1-CURRENT: buildworld fails

2003-11-27 Thread rihad
For a few past days, after doing make update, buildworld always fails when building pam. Couldn't find it on this list! TIA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: 5.1-CURRENT: buildworld fails

2003-11-27 Thread Kris Kennaway
On Thu, Nov 27, 2003 at 11:59:16AM +0400, rihad wrote: For a few past days, after doing make update, buildworld always fails when building pam. Couldn't find it on this list! TIA Sorry, my telepathy helmet needs a new potato, so you'll have to help me out here. Kris pgp0.pgp

Re: recent current panic

2003-11-27 Thread Yuriy Tsibizov
i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 [1] 507 listening on lo0 # telnet localhost Trying ::1... Wed Nov 26 14:51:23 MSK 2003 Debugger+0x55: xchgl %ebx,in_Debugger.0 db tr Debugger(c0898daf,0,c087197f,d629d8dc,100) at Debugger+0x55

Re: recent current panic

2003-11-27 Thread Tim Robbins
On Wed, Nov 26, 2003 at 03:00:35PM +0300, ?? ? ?? wrote: i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 [1] 507 listening on lo0 This is a known bug; silby@ is working to fix lo and the rest of the affected network drivers. See PR kern/59576. Here's the

Re: 5.1-CURRENT: buildworld fails

2003-11-27 Thread Sebastian Böck
rihad wrote: For a few past days, after doing make update, buildworld always fails when building pam. Couldn't find it on this list! TIA Have you set -02 or similar in your /etc/make.conf? My buildworld also fails if i set any optimizations. Just a guess Sebastian

Re: 5.1-CURRENT: buildworld fails

2003-11-27 Thread rihad
Sebastian Böck wrote: rihad wrote: For a few past days, after doing make update, buildworld always fails when building pam. Couldn't find it on this list! TIA Have you set -02 or similar in your /etc/make.conf? My buildworld also fails if i set any optimizations. Just a guess

panic: softdep_deallocate_dependencies: dangling deps

2003-11-27 Thread Christian Brueffer
Hi, got the following panic on an smp system tonight. Dump available for further debugging. FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #22: Thu Nov 20 20:05:47 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORIEN i386 GNU gdb 5.3 (FreeBSD) Copyright 2002 Free

Re: please test pcm patch

2003-11-27 Thread Khairil Yusof
On Thu, 2003-11-27 at 02:54, Mathew Kanner wrote: Please test a pcm patch that releases the channel lock around calls to uio move. This is a more complete patch than the previous one as it also does the _read routine. I will ask the RE to commit this if I hear a couple of it works. I

Re: 5.1-CURRENT: buildworld fails

2003-11-27 Thread Kris Kennaway
On Thu, Nov 27, 2003 at 01:02:18PM +0400, rihad wrote: CFLAGS= -O2 -pipe I'll try to build it without -O2, thanks. *sigh*, I see we need more figlet in the documentation. # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings above -O (-O2,

Re: requesting vinum help

2003-11-27 Thread Terry Lambert
Poul-Henning Kamp wrote: With Greg being a core@ member, and well known for his ability to talk an acturan megadonkey into taking a stroll after first having talked its legs off about procedural issues, Doing something about vinum is permanently on the we should really... list and everybody

Re: panic on 5.2 BETA: blockable sleep lock

2003-11-27 Thread Stefan Ehmann
On Wed, 2003-11-26 at 08:33, Don Lewis wrote: The problem is that selrecord() wants to lock a MTX_DEF mutex, which can cause a context switch if the mutex is already locked by another thread. This is contrary to what bktr_poll() wants to accomplish by calling critical_enter(). Strange enough

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-27 Thread Stefan Ehmann
On Wed, 2003-11-26 at 19:37, Matthias Andree wrote: Hi, when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on flushing 4 dirty blocks. I had three UFS1 softdep file systems mounted on one ATA drive, one ext2 file system on another ATA drive and one ext2 file system on a

boot process is too slow during installation

2003-11-27 Thread Zhang Shu
Hi, I am trying to install the current-FreeBSD to my Vaio PCG-Z1/P but found the installation boot process is extremely slow. It takes more than 10 minutes to finish loading the disk created from kern.flp and another 10 minutes for mfsroot.flp. Does anyone know what the problem is? The USB

FreeBSD 5.2-BETA: GEOM/CDROM Related Panic

2003-11-27 Thread Shanker Balan
Hello: I have been getting reproducable panics with most CDROM related actions including mounting CDROMs and playing audio CDs. IIRC, this has been happening since the statfs changes a week earlier. Can provide more information if required. Kernel has been compiled with device atapicam. I am

poor NFS performance in CURRENT

2003-11-27 Thread Antoine Jacoutot
Hi :) I upgraded two boxes to FreeBSD-5.2-BETA a week ago and I noticed that NFS performance is very slow compared to 4.x-RELEASE. Before, NFS transfers were between 10 and 12 MB/s and now I don't go past 7 MB/s. My exports/mount settings did not change and the hardware is obviously the same.

Re: FreeBSD 5.2-BETA: GEOM/CDROM Related Panic

2003-11-27 Thread Shanker Balan
Hello: Shanker Balan wrote, Can provide more information if required. Kernel has been compiled with device atapicam. I am rebuilding the kernel w/o atapicam ATM. Kernel w/o atapicam also panics at the same spot. [godzilla] ~# uname -a FreeBSD godzilla.exocore.com 5.2-BETA FreeBSD 5.2-BETA #0:

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-27 Thread Bruce Evans
On Thu, 27 Nov 2003, Stefan Ehmann wrote: On Wed, 2003-11-26 at 19:37, Matthias Andree wrote: Hi, when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on flushing 4 dirty blocks. I had three UFS1 softdep file systems mounted on one ATA drive, one ext2 file system on

Re: UFS lockups

2003-11-27 Thread Sawek ak
Sawek ak [EMAIL PROTECTED] writes: I observe UFS lockups under heavy I/O. To reproduce the problem run around 10 copies of cp -Rp /usr/some-random-dir. All cp's after some time are hanging on getblk. du's running concurrently are hanging in ufs state. The filesystems are UFS2. The Server is

Re: rtld + static linking

2003-11-27 Thread Terry Lambert
Mark Murray wrote: Terry Lambert writes: Since I have patches to make dlopen work with static binaries, and [ snip ] As to inevitable where are the patches?, please check the -current list archives, you will find at least one set there. I've looked without much success. Could you give a

Re: rtld + static linking

2003-11-27 Thread Terry Lambert
Marcel Moolenaar wrote: Ether way, you still need to deal with the linker changes necessary to export the symbol set for all statically linked objects, and to force the inclusion of all archive members when statically linking, if one of the linked libraries is libdl, if you wanted a full

Re: rtld + static linking

2003-11-27 Thread Mark Murray
Terry Lambert writes: I've looked without much success. Could you give a timeframe, a subject and/or something? Note that the part you snipped indicated that the patches were posted by a third party, and that my own patches had been offered, but were not posted in their entirety to the

HOME= for root during boot?

2003-11-27 Thread Aaron Wohl
During boot (stuff run from rc.local) the enviornment has HOME=/ After boot root logins have HOME=/root. Seems like a bug to me... left over from the days when HOME for root was /. In my case I was trying to run some mysql commands which did not work because there was no /.my.cnf. After boot

Re: atapicam broken by ata_lowlevel.c rev.1.23

2003-11-27 Thread David Bremner
At Thu, 27 Nov 2003 00:07:30 -0600, Dan Nelson wrote: In the last episode (Nov 27), Bruce Evans said: [Resending due to no response after 2 weeks.] Rev.1.23 of ata-lowlevel.c broke atapicam on my BP6 system as shown by the enclosed boot -v messages (the system just hangs, apparently

Re: Update to 5.2 beta from 5.1-current didn't work right

2003-11-27 Thread Derek Ragona
An update to my previous note: At the tail end of the cvsup, src had already been completed, the system had a drive problem. It kept cycling through these messages on the console: ad4: timeout sending command=ca ad4: error issuing DMA command initiate_write_filepage: already started In this

Re: please test pcm patch

2003-11-27 Thread Mark Dixon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 26 Nov 2003 19:32, Harald Schmalzbauer wrote: it works But I haven't had any problems before (besides some replay delay, thus asynch audio/video) Yes, same here. It works, but I wasn't having problems before: pcm0: Creative EMU10K1

Apples linking

2003-11-27 Thread David Rhodus
Terry Lambert wrote: FWIW, even though I support the idea of dynamically linking everything, the flipping of the switch there followed this same pattern. -- Terry Terry, what are some of the changes that Apple made to have everything dynamically linked in darwin ? Has anyone done timed runs

Re: Panic with ugen

2003-11-27 Thread Jay Cornwall
Martin wrote: panic() destroy_dev() ugen_destroy_devnodes() ugen_set_config() Could you try the attached patch, to see if it fixes the panic on the second run of your program? -- Cheers, Jay http://www.evilrealms.net/ - Systems Administrator Developer http://www.imperial.ac.uk/ - 3rd year CS

Re: Panic with ugen

2003-11-27 Thread Jay Cornwall
Daan Vreeken [PA4DAN] wrote: If you have time left, could you perhaps also have a look at kern/51186? I have filed it back in March and it's still open. (Fixes a memory corruption bug in ugen). I'm not a committer, I'm afraid, so it's probably best to get in touch with the code maintainer.

Re: recent current panic

2003-11-27 Thread Bjoern A. Zeeb
On Thu, 27 Nov 2003, Yuriy Tsibizov wrote: Hi, i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 [1] 507 listening on lo0 # telnet localhost Trying ::1... Wed Nov 26 14:51:23 MSK 2003 Debugger+0x55: xchgl %ebx,in_Debugger.0 [] It looks very similar to

Re: UFS lockups

2003-11-27 Thread Sawek ak
Sawek ak [EMAIL PROTECTED] writes: Sawek ak [EMAIL PROTECTED] writes: I observe UFS lockups under heavy I/O. To reproduce the problem run around 10 copies of cp -Rp /usr/some-random-dir. All cp's after some time are hanging on getblk. du's running concurrently are hanging in ufs state. The

Re: Apples linking

2003-11-27 Thread Robert Watson
On Thu, 27 Nov 2003, David Rhodus wrote: FWIW, even though I support the idea of dynamically linking everything, the flipping of the switch there followed this same pattern. Terry, what are some of the changes that Apple made to have everything dynamically linked in darwin ? Has anyone

Re: Panic with ugen

2003-11-27 Thread Daan Vreeken [PA4DAN]
On Thursday 27 November 2003 15:33, Jay Cornwall wrote: Daan Vreeken [PA4DAN] wrote: If you have time left, could you perhaps also have a look at kern/51186? I have filed it back in March and it's still open. (Fixes a memory corruption bug in ugen). I'm not a committer, I'm afraid, so

Bitrot -- loss of LFS

2003-11-27 Thread dyson
Answering Terry's comment about LFS: I had about 90% of the LFS development complete (rewritten to eliminate much of the unnecessary and inefficient copying.) At that time, Kirk had started softupdates, but I also KNEW and UNDERSTOOD the limitations of LFS. In essense, after CAREFULLY reading

Re: Update to 5.2 beta from 5.1-current didn't work right

2003-11-27 Thread Derek Ragona
After doing: make buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot mergemaster -p make installworld mergemaster reboot The system booted multiuser correctly and appears to be operating correctly. -Derek At 07:05 AM 11/27/2003, Derek Ragona wrote: An

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-27 Thread Enache Adrian
On Thu, Nov 27, 2003 a.d., Bruce Evans wrote: This is a known problem for nearly three months now (See PR 56675). It happens to me every time I shut down the system if i don't unmount my (read-only) ext2 file systems manually. I'm not sure if the problem is known for the read-only case.

Re: atapicam broken by ata_lowlevel.c rev.1.23

2003-11-27 Thread David Bremner
At Thu, 27 Nov 2003 08:54:53 -0400, Bremner David wrote: I have a 5.1-current system of Nov 10, also using rev 1.23 of ata-lowlevel.c. Without atapicam in the kernel, it boots ok. With atapicam in the kernel it hangs at the messages (written down from the screen) (probe2:ata1:0:0:0):

Re: Apples linking

2003-11-27 Thread E.B. Dreger
RW Date: Thu, 27 Nov 2003 11:24:23 -0500 (EST) RW From: Robert Watson [ CC list trimmed ] RW The one thing that turns me off to this scheme is that I'd RW like it if we could find a way to represent this using solely RW existing BSD/UNIX kernel primitives (mmap, et al) and RW userspace, rather

5.2-BETA lock up during ports extraction

2003-11-27 Thread Thomas T. Veldhouse
The subject says it all. Sorry, no DMESG output, as it has not yet been installed. My relavent hardware is: Pentium 4 - 3.06GHz w/800MHz FSB Hyperthreading 512MB Rambus Dell Dimension 8250 Tom Veldhouse ___ [EMAIL PROTECTED] mailing list

Re: 5.2-BETA lock up during ports extraction

2003-11-27 Thread Thomas T. Veldhouse
Actually, the memory is 512MB PC1066 RDRAM (Rambus). The FSB is 533MHz. Tom Veldhouse The subject says it all. Sorry, no DMESG output, as it has not yet been installed. My relavent hardware is: Pentium 4 - 3.06GHz w/800MHz FSB Hyperthreading 512MB Rambus Dell Dimension 8250 Tom

Frequent lockups with 5.2-BETA

2003-11-27 Thread Christian Laursen
Since upgrading from 5.1-RELEASE to 5.2-BETA, I've been experiencing hard lockups once or twice every day. I managed to get a trace by enabling the watchdog, which put me into the debugger. This is the trace: db trace Debugger(c06f85ec,1bc169d,0,c0754fc4,c0754bf8) at Debugger+0x54

C99's round() and roundf() math functions

2003-11-27 Thread Steve Kargl
Has anyone implemented the C99 math functions round() and roundf()? -- Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

please test sndstat lor patch

2003-11-27 Thread Mathew Kanner
Hello Gang, I wrote this to cleanup /dev/sndstat a little and fix a LOR. Then I couldn't remember if there is a LOR or not. Could someone please remind me? If we do, could someone please test this patch. Thanks, --Mat -- The beaver, which has come to represent

Re: Panic with ugen

2003-11-27 Thread Martin
On Thu, 2003-11-27 at 15:24, Jay Cornwall wrote: Could you try the attached patch, to see if it fixes the panic on the second run of your program? No success. Still same panic. Martin ___ [EMAIL PROTECTED] mailing list

Re: rtld + static linking

2003-11-27 Thread Marcel Moolenaar
On Thu, Nov 27, 2003 at 03:41:14AM -0800, Terry Lambert wrote: If you can get gcc and binutils to add the necessary support, then we can talk further. Until then it's academic. I think there are political reasons for not doing this. The number one reason would be that you could load

fork speed vs /bin/sh

2003-11-27 Thread Peter Wemm
I *know* I'm going to regret posting this, but if people care about the speed of their shell, then perhaps you want to look at this: [EMAIL PROTECTED]:46am]/tmp-149 cc -O -o vforkathon.dynamic vforkathon.c [EMAIL PROTECTED]:46am]/tmp-150 cc -O -static -o vforkathon.static vforkathon.c [EMAIL

Re: recent current panic

2003-11-27 Thread Sam Leffler
On Thursday 27 November 2003 06:38 am, Bjoern A. Zeeb wrote: On Thu, 27 Nov 2003, Yuriy Tsibizov wrote: Hi, i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 [1] 507 listening on lo0 # telnet localhost Trying ::1... Wed Nov 26 14:51:23 MSK 2003 Debugger+0x55:

Re: fork speed vs /bin/sh

2003-11-27 Thread Matthew Dillon
:What this shows is that vfork() is 3 times faster than fork() on static :binaries, and 9 times faster on dynamic binaries. If people are :worried about a 40% slowdown, then perhaps they'd like to investigate :a speedup that works no matter whether its static or dynamic? There is :a reason that

Turkeys and dynamic linking

2003-11-27 Thread walt
To all of you who celebrate Thanksgiving today, I wish you a happy one! And speaking of turkeys, does anyone know how Microsoft handles the performance issues associated with dynamic linking? Do they do anything special, or just ignore the whole thing?

Re: Turkeys and dynamic linking

2003-11-27 Thread Brandon S. Allbery KF8NH
On Thu, 2003-11-27 at 15:15, walt wrote: And speaking of turkeys, does anyone know how Microsoft handles the performance issues associated with dynamic linking? Do they do anything special, or just ignore the whole thing? My understanding is that they perform a special linking/postprocessing

Re: Turkeys and dynamic linking

2003-11-27 Thread Bill Moran
walt wrote: To all of you who celebrate Thanksgiving today, I wish you a happy one! And speaking of turkeys, does anyone know how Microsoft handles the performance issues associated with dynamic linking? Do they do anything special, or just ignore the whole thing? Don't they fix the performance

Re: lock order reversal

2003-11-27 Thread Gordon Tetlow
On Tue, Nov 25, 2003 at 07:05:36PM -0600, John wrote: i was just looking through my daily reports from my new 5.2 beta box and found this in dmesg. lock order reversal 1st 0xc08f7ce0 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1201 2nd 0xc1031100 system map (system map) @

Anybody using gp driver?

2003-11-27 Thread M. Warner Losh
I'm wondering if anybody is using, or even able to use, the gpib driver. It uses the old ISA shims, and is one of the drivers that no one has acked working in when I ask about the old isa shim drivers. So, I'm wondering if anybody is actually using the gp driver on a current machine (or even a

Re: Frequent lockups with 5.2-BETA

2003-11-27 Thread Jeff Roberson
On 27 Nov 2003, Christian Laursen wrote: Since upgrading from 5.1-RELEASE to 5.2-BETA, I've been experiencing hard lockups once or twice every day. I managed to get a trace by enabling the watchdog, which put me into the debugger. This is the trace: db trace

Fix for 5.2-BETA lockup problems

2003-11-27 Thread Andre Oppermann
Hello all, I've found what probably is going wrong in tcp_hostcache. The problem is me cutting corners (what goes around comes around...) in tcp_hc_insert when the bucket limit is reached. I made the #if 0 too big and the bucket was not removed from the tailqueue when we hit the bucket limit.

Re: Turkeys and dynamic linking

2003-11-27 Thread Kent Stewart
On Thursday 27 November 2003 12:31 pm, Bill Moran wrote: walt wrote: To all of you who celebrate Thanksgiving today, I wish you a happy one! And speaking of turkeys, does anyone know how Microsoft handles the performance issues associated with dynamic linking? Do they do anything

LOR w/5.2-BETA

2003-11-27 Thread Jesse Guardiani
I got this LOR today after upgrading my IBM Thinkpad A30p from 5.1-RELEASE to 5.2-BETA: lock order reversal 1st 0xc43d8ad4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323 2nd 0xc098cf60 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pag er.c:1838 3rd 0xc10368c4 vm

Re: requesting vinum help

2003-11-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Terry Lambert [EMAIL PROTECTED] writes: : There is no such thing as bit rot; there is only code that : is unmaintained by the people who change interfaces out from : under it. Actually, there is such a thing as code rot. Over time the fundamental

Re: 5.2-BETA: giving up on 4 buffers (ata)

2003-11-27 Thread Arjan van Leeuwen
On Thursday 27 November 2003 10:43, Stefan Ehmann wrote: On Wed, 2003-11-26 at 19:37, Matthias Andree wrote: Hi, when I rebooted my 5.2-BETA (kernel about 24 hours old), it gave up on flushing 4 dirty blocks. I had three UFS1 softdep file systems mounted on one ATA drive, one ext2

Re: please test pcm patch

2003-11-27 Thread Artur Poplawski
Mathew Kanner [EMAIL PROTECTED] wrote: Hello All, Please test a pcm patch that releases the channel lock around calls to uio move. This is a more complete patch than the previous one as it also does the _read routine. I will ask the RE to commit this if I hear a couple of it works.

Re: FreeBSD 5.2-BETA: GEOM/CDROM Related Panic

2003-11-27 Thread Pav Lucistnik
V t, 27. 11. 2003 v 11:37, Shanker Balan pe: Shanker Balan wrote, Can provide more information if required. Kernel has been compiled with device atapicam. I am rebuilding the kernel w/o atapicam ATM. Kernel w/o atapicam also panics at the same spot. #11 0xc0785d08 in calltrap () at

Re: LOR w/5.2-BETA

2003-11-27 Thread Artur Poplawski
On Thu, 27 Nov 2003 18:01:39 -0500 Jesse Guardiani [EMAIL PROTECTED] wrote: I got this LOR today after upgrading my IBM Thinkpad A30p from 5.1-RELEASE to 5.2-BETA: lock order reversal 1st 0xc43d8ad4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323 2nd 0xc098cf60 swap_pager

Re: LOR w/5.2-BETA

2003-11-27 Thread Kris Kennaway
On Fri, Nov 28, 2003 at 12:27:53AM +0100, Artur Poplawski wrote: lock order reversal 1st 0xc43d8ad4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323 2nd 0xc098cf60 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pag er.c:1838 3rd 0xc10368c4 vm object (vm object)

Re: panic on 5.2 BETA: blockable sleep lock

2003-11-27 Thread Don Lewis
On 27 Nov, Stefan Ehmann wrote: On Wed, 2003-11-26 at 08:33, Don Lewis wrote: The problem is that selrecord() wants to lock a MTX_DEF mutex, which can cause a context switch if the mutex is already locked by another thread. This is contrary to what bktr_poll() wants to accomplish by calling

lock order reversal is 5.2-BETA Nov 26

2003-11-27 Thread Mikhail Teterin
It did not crash or anything, but the following is printed on console now (addresses ommitted): lock order reversal 1st ... UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1201 2nd ... system map (system map) @ /usr/src/sys/vm/vm_map.c:2210 Stack backtrace:

Re: boot process is too slow during installation

2003-11-27 Thread Jun Kuriyama
At Thu, 27 Nov 2003 09:49:04 + (UTC), Zhang Shu wrote: I am trying to install the current-FreeBSD to my Vaio PCG-Z1/P but found the installation boot process is extremely slow. It takes more than 10 minutes to finish loading the disk created from kern.flp and another 10 minutes for

5.2-BETA dsp.c duplicate lock

2003-11-27 Thread Jesse Guardiani
I get this every time I `startx`. I didn't see it in the archive either: acquiring duplicate lock of same type: pcm channel 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:144 2nd pcm0:virtual:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:146 Stack backtrace:

Re: boot process is too slow during installation

2003-11-27 Thread Zhang Shu
Kuriyama-san, When I install netbsd with the same floppy drive, it turns to be pretty fast. So I guess this is a FreeBSD problem but do not know where it is... On Fri, 28 Nov 2003 10:03:40 +0900 Jun Kuriyama [EMAIL PROTECTED] wrote: At Thu, 27 Nov 2003 09:49:04 + (UTC), Zhang Shu wrote:

Re: Fix for 5.2-BETA lockup problems

2003-11-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Andre Oppermann [EMAIL PROTECTED] writes: : Please try the attached patch which should fix it. I've been having crashes all the time since the hostcache went into the tree. I've been running a few hours with this patch (in which time I should have had a

Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-27 Thread Jesse Guardiani
Jesse Guardiani wrote: This is interesting: [17:[EMAIL PROTECTED]:[~]# camcontrol devlist USB 2.0 Storage Device 0100 at scbus1 target 0 lun 0 (da0,pass0) [17:[EMAIL PROTECTED]:[~]# camcontrol inquiry 1:0:0 pass0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device

ath driver not working...

2003-11-27 Thread Mikhail Teterin
According the the man-page, this is not supposed to happen: ath0: Atheros 5212 mem 0xe020-0xe020 irq 9 at device 11.0 on pci2 ath0: cannot map register space The machine is Sony Vaio TR2/B. The WiFi works fine from Windows (much better than the Orinoco card in another laptop).

Re: lock order reversal is 5.2-BETA Nov 26

2003-11-27 Thread Mikhail Teterin
On Thu, Nov 27, 2003 at 07:16:05PM -0500, Mikhail Teterin wrote: It did not crash or anything, but the following is printed on console now (addresses ommitted): lock order reversal 1st ... UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1201 2nd ... system map (system

[patch] mtx_init() API violations

2003-11-27 Thread Don Lewis
It's a good thing that the value of MTX_DEF is 0 ;-) This isn't a critical fix, but it probably should be done soon after the code freeze is lifted to prevent the spread if infection via cut and paste programming. Index: dev/ata/ata-all.c

panic inserting CF card.

2003-11-27 Thread masta
I'm able to reproduce a panic on demand. I simply insert my IBM Microdrive CF card into the PCM/CIA slot of the laptop, which is a Dell CPi, and panic! I build a kernel.debug in the hope somebody can help me analyze the back-trace. Oh by the way, the sources from this backtrace are from

Re: lock order reversal is 5.2-BETA Nov 26

2003-11-27 Thread Kris Kennaway
On Thu, Nov 27, 2003 at 10:00:54PM -0500, Mikhail Teterin wrote: On Thu, Nov 27, 2003 at 07:16:05PM -0500, Mikhail Teterin wrote: It did not crash or anything, but the following is printed on console now (addresses ommitted): lock order reversal 1st ... UMA lock (UMA lock) @

Re: 5.2-BETA + netatalk = crash

2003-11-27 Thread Michael L. Squires
Sam Leffler On Wednesday 26 November 2003 06:51 am, Michael L. Squires wrote: On my dual CPU P6DGH the 11/22 cvsup of 5.2-BETA and netatalk crashes on boot. Stopping netatalk from starting stops the crash. I wasn't able to catch any crash information, but am currently

Re: panic inserting CF card.

2003-11-27 Thread Don Lewis
On 27 Nov, masta wrote: I'm able to reproduce a panic on demand. I simply insert my IBM Microdrive CF card into the PCM/CIA slot of the laptop, which is a Dell CPi, and panic! I build a kernel.debug in the hope somebody can help me analyze the back-trace. Oh by the way, the sources from

Re: 5.x DOS against NFS server

2003-11-27 Thread Michael L. Squires
Guy Van Sanden I just ran nmap host... Nessus has the same effect. When running nmap host (nmap 2.53 on a 4.9-STABLE box)) against a 5.2-BETA host on the host I see Nove 27 13:06:24 mikes sm-mta[483]: NOQUEUE: SYSERR(root): getrequests: accept: Software caused connection abort Nove 27

Re: Turkeys and dynamic linking

2003-11-27 Thread Michael Edenfield
* Kent Stewart [EMAIL PROTECTED] [031127 17:50]: On Thursday 27 November 2003 12:31 pm, Bill Moran wrote: walt wrote: To all of you who celebrate Thanksgiving today, I wish you a happy one! And speaking of turkeys, does anyone know how Microsoft handles the performance issues

Re: panic inserting CF card.

2003-11-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Don Lewis [EMAIL PROTECTED] writes: : Offhand I'd guess that adp-heads and/or adp-sectors is zero. If : you've got a core file, try backtracking from there with gdb, otherwise : sprinkle some printf's around. Either this calculation is new, or some :