Panic on boot on Quadri 700Mhz Intel ...

2003-06-24 Thread r2d2r4
Hi, I boot on Freebsd 4.8 Release or 5.1 Release, I have panic with 4.8 : int=000d err= efl=00030006 eip=06a6 eax=000cd095 ebx=02900116 ecx=0004 edx=0080 esi=323b edi=3228 ebp=03e6 esp=03cc cs=c980 dx=c980 es=9c80fs=9c80 gs=9c80 ss=9a3e

Page Coloring Defines in vm_page.h

2003-06-24 Thread Bruce M Simpson
Hi all, Something occurred to me whilst I was re-reading the 'Design Elements' article over the weekend; our page coloring algorithm, as it stands, might not be optimal for non-Intel CPUs. Spiel: - Dillon's VM article talks about L1 cache reference, rather than L2. This is a fair

Re: Ftpd (option -h not working)

2003-06-24 Thread Yar Tikhiy
On Sat, Jun 21, 2003 at 08:27:39PM +0200, Socketd wrote: When FreeBSD 4.8 was released I reported this bug, but now in 5.1 releaed it is still there. Since http://www.freebsd.org/send-pr.html is down I'll try reporting the bug here (again). Please use the send-pr(1) utility to submit your

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread David Schultz
On Tue, Jun 24, 2003, Bruce M Simpson wrote: Hi all, Something occurred to me whilst I was re-reading the 'Design Elements' article over the weekend; our page coloring algorithm, as it stands, might not be optimal for non-Intel CPUs. Spiel: - Dillon's VM article talks about L1 cache

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread Bruce M Simpson
On Tue, Jun 24, 2003 at 06:17:48AM -0700, David Schultz wrote: The coloring is based on the size and associativity of the cache, not its speed relative to the processor's. Yes. My comments were originally aimed at the fact the article seemed to imply we were coloring for L1 rather than L2,

Re: Panic on boot on Quadri 700Mhz Intel ...

2003-06-24 Thread Jeremy Messenger
On 24 Jun 2003 10:14:55 -, [EMAIL PROTECTED] wrote: Hi, I boot on Freebsd 4.8 Release or 5.1 Release, I have panic with 4.8 : int=000d err= efl=00030006 eip=06a6 eax=000cd095 ebx=02900116 ecx=0004 edx=0080 esi=323b edi=3228 ebp=03e6 esp=03cc

Re: Mounting

2003-06-24 Thread Jan Grant
On Mon, 23 Jun 2003, Socketd wrote: Hi again Would it be possible to have this configuration and not having the system fail (because of lacking rights or something): /tmp and /var/tmp noexec (I know /tmp has to be execuable to make world) nosymfollow. I've not found anything that this

Re: Mounting

2003-06-24 Thread Socketd
On Tue, 24 Jun 2003 16:31:33 +0100 (BST) Jan Grant [EMAIL PROTECTED] wrote: /tmp and /var/tmp noexec (I know /tmp has to be execuable to make world) nosymfollow. I've not found anything that this breaks (except a gazillion symlink race exploits). Great! Thanks :-) br socketd

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread Matthew Dillon
: - The page queue structures are sized according to these :defines at boot-time. : : - If someone could fill me in on how the primes are arrived at that :would be very helpful. : :Comments/discussion/correction welcomed, it would be good to get some :feedback on this before I start

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread Bruce M Simpson
On Tue, Jun 24, 2003 at 02:38:13PM +0100, Bruce M Simpson wrote: The names of the definitions as they stand are perhaps slightly misleading in this respect. PQ_L2_SIZE might be better renamed PQ_SETSIZE and defined in terms of PQ_CACHESIZE/PQ_NSETS. [snip] Bikeshed, but it would still be nice

How to delete unix socket entries

2003-06-24 Thread Varshavchick Alexander
Hi people, I had a wrong-behaved server application which opened a unix socket to respond to incoming connections, so that after the socket was opened, the application core dumped each time it was launched. As a result, 'netstat -f unix' now shows a lot of not-needed active entries. Is there any

Re: How to delete unix socket entries

2003-06-24 Thread Paul Robinson
On Tue, Jun 24, 2003 at 08:59:49PM +0400, Varshavchick Alexander wrote: I had a wrong-behaved server application which opened a unix socket to respond to incoming connections, so that after the socket was opened, the application core dumped each time it was launched. As a result, 'netstat -f

Re: How to delete unix socket entries

2003-06-24 Thread Varshavchick Alexander
On Tue, 24 Jun 2003, Paul Robinson wrote: On Tue, Jun 24, 2003 at 08:59:49PM +0400, Varshavchick Alexander wrote: I had a wrong-behaved server application which opened a unix socket to respond to incoming connections, so that after the socket was opened, the application core dumped each

Re: How to delete unix socket entries

2003-06-24 Thread leafy
On Tue, Jun 24, 2003 at 09:23:01PM +0400, Varshavchick Alexander wrote: Surely, but sockstat shows only the correct number of entries, I mean that it doesn't show anything that is due to be killed. Yet netstat shows a whole lot (about 2000!) of entries like these: How can I get rid of these

Re: How to delete unix socket entries

2003-06-24 Thread Paul Robinson
On Tue, Jun 24, 2003 at 09:23:01PM +0400, Varshavchick Alexander wrote: Surely, but sockstat shows only the correct number of entries, I mean that it doesn't show anything that is due to be killed. Yet netstat shows a whole lot (about 2000!) of entries like these: Oh dear. b6eccf80 stream

Re: How to delete unix socket entries

2003-06-24 Thread Varshavchick Alexander
On Tue, 24 Jun 2003, Paul Robinson wrote: b6eccf80 stream 17 00000 /var/run/daemon.sock b647a600 stream 17 00000 /var/run/daemon.sock b6a3c080 stream 17 00000

Re: How to delete unix socket entries

2003-06-24 Thread Varshavchick Alexander
On Wed, 25 Jun 2003, leafy wrote: you might want to tweak these: net.inet.tcp.keepidle: 720 net.inet.tcp.keepintvl: 75000 so that to-be-killed connections won't stay up so long. But they are unix stream sockets, not tcp sockets... Alexander Varshavchick, Metrocom Joint Stock

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread Tim Kientzle
Matthew Dillon wrote: For example, prime number 3 an array size 8 will scan the array in the following order N = (N + PRIME) (ARRAY_SIZE_MASK). N = (N + 3) 7: 0 3 6 1 4 7 2 5 ... 0 As you can see, all the array entries are covered before the sequence repeats. Only

Re: How to delete unix socket entries

2003-06-24 Thread David Malone
On Tue, Jun 24, 2003 at 08:59:49PM +0400, Varshavchick Alexander wrote: I had a wrong-behaved server application which opened a unix socket to respond to incoming connections, so that after the socket was opened, the application core dumped each time it was launched. As a result, 'netstat -f

Optimizing mutex alignment viz cache line access

2003-06-24 Thread Bruce M Simpson
Hi, There's an idea for optimizing cache line access through object alignment tricks in the attached mail. Feedback would be valu[able|ed]. BMS ---BeginMessage--- On Tue, Jun 24, 2003 at 09:25:43AM -0700, Matthew Dillon wrote: [..] the optimized values are going to be so small (probably

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread Matthew Dillon
: :Matthew Dillon wrote: : For example, prime number 3 an array size 8 will scan the array in : the following order N = (N + PRIME) (ARRAY_SIZE_MASK). : N = (N + 3) 7: : : 0 3 6 1 4 7 2 5 ... 0 : : As you can see, all the array entries are covered before the sequence :

Re: Page Coloring Defines in vm_page.h

2003-06-24 Thread Simon Barner
Hi, :U Actually, Matt, the property you've stated is much more :common than you seem to believe. If you generate a sequence :N = ( N + Stride ) % ArraySize :then you will visit every element of (0 ... ArraySize-1) as long as I was just answering a question. Most people

pkg_create broken by design?

2003-06-24 Thread Julian Elischer
I'm trying to make a package.. according to the man page for pkg_create: -s srcdir srcdir will override the value of @cwd during package creation. -p prefix Set prefix as the initial directory ``base'' to start from in selecting files

Re: pkg_create broken by design?

2003-06-24 Thread Kris Kennaway
On Tue, Jun 24, 2003 at 05:21:14PM -0700, Julian Elischer wrote: I'm trying to make a package.. according to the man page for pkg_create: Look into the ports collections for thousands of examples of how to create packages. Kris pgp0.pgp Description: PGP signature

Re: pkg_create broken by design?

2003-06-24 Thread Julian Elischer
On Tue, 24 Jun 2003, Kris Kennaway wrote: On Tue, Jun 24, 2003 at 05:21:14PM -0700, Julian Elischer wrote: I'm trying to make a package.. according to the man page for pkg_create: Look into the ports collections for thousands of examples of how to create packages. From what I see

Re: Drawing graphics on terminal

2003-06-24 Thread Nicolas Souchu
On Mon, Jun 16, 2003 at 03:10:24PM -0400, Eric Jacobs wrote: On Mon, 16 Jun 2003 20:15:06 +0200 Nakal [EMAIL PROTECTED] wrote: Hi, recently, I found vidcontrol and played a bit with it. I have been looking for documents about how to output pixels (graphics) on the terminal. See

Re: Drawing graphics on terminal

2003-06-24 Thread Nicolas Souchu
On Mon, Jun 16, 2003 at 10:34:31PM +0200, Nakal wrote: On Monday 16 June 2003 21:10, Eric Jacobs wrote: See /usr/share/examples/libvgl Yupp. That looks good. Thank you! Have you heard about KGI? http://www.freebsd.org/~nsouch/ggiport.html -- Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL