4-stable bug: comconsole and boot -a option

2004-02-10 Thread Dmitry Morozovsky
Dear colleagues, I found very strange bug. Actually, bug was introduced at running system with vinum root, when I did not succeed in mounting explicit root via `boot -a' prompt. I did a bit of research, and found that there is certainly a bug when comconsole is enabled: ad0: 7339MB QUANTUM

Re: [call for helpers!] Tuning for the Beaver Challenge

2004-02-10 Thread soralx
Beaver Challenge 2004 is coming!. Details in http://osuosl.org/benchmarks/bc/ We are preparing the tuning guide. Definitely we need suggestions and comments. does the sysctl 'machdep.cpu_idle_hlt' still have any effect? see:

how to fool gcc?

2004-02-10 Thread Dag-Erling Smørgrav
I'm having trouble with some uncommitted OpenPAM patches that I'd like to get into the tree. The problem actually doesn't occur with a normal build, but it prevents me from building a debugging version of libpam. Part of the patch declares openpam_log(3) as printf-like so gcc can check format

Re: how to fool gcc?

2004-02-10 Thread Harish Mohanan
try compiling without optimisation i.e. without the -O flag to gcc. Harish Dag-Erling Smørgrav wrote: I'm having trouble with some uncommitted OpenPAM patches that I'd like to get into the tree. The problem actually doesn't occur with a normal build, but it prevents me from building a

Re: how to fool gcc?

2004-02-10 Thread Dag-Erling Smørgrav
Harish Mohanan [EMAIL PROTECTED] writes: try compiling without optimisation i.e. without the -O flag to gcc. That is not an option. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list

Re: Odd ACL question

2004-02-10 Thread Harti Brandt
On Mon, 9 Feb 2004, Tim Kientzle wrote: TKHarti Brandt wrote: TK On Sun, 8 Feb 2004, Tim Kientzle wrote: TK TK TKIn this case, I'm considering: TK TK * If the username exists, use that. TK TK * If the username does not exist and the UID is not already in TK TK use, issue a warning and

Re: how to fool gcc?

2004-02-10 Thread Zajcev Evgeny
[EMAIL PROTECTED] (Dag-Erling Smrgrav) writes: I'm having trouble with some uncommitted OpenPAM patches that I'd like to get into the tree. The problem actually doesn't occur with a normal build, but it prevents me from building a debugging version of libpam. Part of the patch declares

Re: how to fool gcc?

2004-02-10 Thread Zajcev Evgeny
Zajcev Evgeny [EMAIL PROTECTED] writes: Maybe just have copy of `s' inside while statement? Something like: #define RETURNS(s) do { \ if ((s) == NULL) \ openpam_log(PAM_LOG_DEBUG, returning NULL); \ else \ openpam_log(PAM_LOG_DEBUG,

Re: how to fool gcc?

2004-02-10 Thread Vclav Haisman
Fill a GCC PR? I am not expert in these but is it OK that it evaluates the parameter three times? Vaclav Haisman - Original Message - From: Dag-Erling Smrgrav [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 10:09 AM Subject: how to fool gcc? I'm having trouble

Re: how to fool gcc?

2004-02-10 Thread Don Lewis
On 10 Feb, Dag-Erling Smørgrav wrote: If you don't minde a bit of bloat, maybe changing this: openpam_log(PAM_LOG_DEBUG, returning '%s', (s)); \ to this: openpam_log(PAM_LOG_DEBUG, returning '%s', (s) != NULL ? (s) : ); might quiet the warning.

Armoring Apache HTTP Server with SSL

2004-02-10 Thread Open Source Dev Update
All DevX newsletters are now sent from the domain internet.com. Please use this domain name (not the entire from address, which varies) when configuring e-mail or spam filter rules, if you use them. DEVX OPEN SOURCE/LINUX UPDATE Open Source Development News, Articles, and Information from DevX

Re: Subversion/CVS experiment summary

2004-02-10 Thread Michael Reifenberger
Hi, first, this seems to be a good analysis of SVN and a good starting point for thinking about moving away from CVS. On Mon, 9 Feb 2004, Craig Boston wrote: ... Comments on importing: It's SLOOW. It took 43.9 hours just for src/sys, and this is a relatively speedy system! It starts

FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5)

2004-02-10 Thread Juan Tumani
Hi, I have an Intel D845GE m/b w/ a P4 1.7 CPU and I have the box setup to dual boot to either 4.9 or 5.2. Both OS are right off the latest posted iso CD image, i.e., no updates, no kernel tweaks, everything vanilla right out of the box. I compiled flops.c on both 4.9 and 5.2 and the 5.2

select, sendto and ENOBUFS

2004-02-10 Thread Andrew
Hi, I have a problem with sendto returning an error and setting errno to ENOBUFS however I am calling select first to make sure the fd is writeable (see below for code). s is a raw socket and the data I'm sending is 1492 bytes. I haven't changed the low water mark for the socket. This looks like

Re: select, sendto and ENOBUFS

2004-02-10 Thread Andrew
On Tue, 10 Feb 2004, Andrew wrote: I have a problem with sendto returning an error and setting errno to ENOBUFS however I am calling select first to make sure the fd is writeable (see below for code). s is a raw socket and the data I'm I see something similar has actually been discussed

Re: Can we extend VolumeGroup after creation?

2004-02-10 Thread System Administrator
While the AIX specific answer is below, what does it have to do with OpenBSD? In AIX the answer is a qualified YES -- qualified in that ultimately there is a limit to the size of the volume group which varies based on some key parameters (namely PP size and concurrent capability). For proper

Re: how to fool gcc?

2004-02-10 Thread Andreas Hauser
des wrote @ Tue, 10 Feb 2004 10:09:03 +0100: Part of the patch declares openpam_log(3) as printf-like so gcc can check format strings etc. However, openpam_log(3) is also used in debugging macros such as this: #define RETURNS(s) do { \ if ((s) == NULL) \

Re: Re: [call for helpers!] Tuning for the Beaver Challenge

2004-02-10 Thread Dung Patrick
Thanks for comment. - don't use apm or acpi on 4.x There will be no benefit in terms of performance using acpi on 4.x. And apm is just unnecessary. Patrick -Original Message- From: [EMAIL PROTECTED] (Dag-Erling Smrgrav) To: Dung Patrick [EMAIL PROTECTED] Date: Mon, 09 Feb 2004 19:27:08

Re: ELF branding / magic numbers

2004-02-10 Thread Nathan Hawkins
On Thu, Feb 05, 2004 at 10:31:54AM +, Philip Reynolds wrote: Ruslan Ermilov [EMAIL PROTECTED] 35 lines of wisdom included: On Thu, Feb 05, 2004 at 08:39:45AM +, Philip Reynolds wrote: [...] Does the magic number not then support multiple ABI's per system architecture, or is

Re: how to fool gcc?

2004-02-10 Thread Tim Kientzle
Suggestions: 1) Convert RETURNS(s) into a function rather than a macro. 2) Use a ternary (someone else suggested this) 3) Remove the printf-like declaration (Yes, this is distasteful.) 4) Add an intermediate variable: do { const char *_t = (s) == NULL ? NULL : (s);

Re: Zombie processes not clearing (solution)

2004-02-10 Thread Steven Hartland
Ok looks like this has been spotted before and its a kernel issue described here: http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8selm=bausg0%2416c5%241%40FreeBSD.csie.NCTU.edu.twrnum=13 I've made a 5.1 and 5.2 patch available from:

Re: Re: [call for helpers!] Tuning for the Beaver Challenge

2004-02-10 Thread Dung Patrick
Is vm.max_proc_mmap autotune by maxusers? If maxusers=0, it determine proc_mmap from RAM size? Could you please explain the use of net.inet.tcp.tcbhashsize? Patrick -Original Message- From: Yaoping Ruan [EMAIL PROTECTED] To: Dung Patrick [EMAIL PROTECTED] Date: Mon, 09 Feb 2004 12:45:46

Re: how to fool gcc?

2004-02-10 Thread Dag-Erling Smørgrav
Tim Kientzle [EMAIL PROTECTED] writes: 1) Convert RETURNS(s) into a function rather than a macro. 2) Use a ternary (someone else suggested this) 3) Remove the printf-like declaration (Yes, this is distasteful.) 4) Add an intermediate variable: [...] Good luck, (let us know what works!) I

Re: select, sendto and ENOBUFS

2004-02-10 Thread Julian Elischer
On Tue, 10 Feb 2004, Andrew wrote: Hi, I have a problem with sendto returning an error and setting errno to ENOBUFS however I am calling select first to make sure the fd is writeable (see below for code). s is a raw socket and the data I'm sending is 1492 bytes. I haven't changed the low

New gcc organization in DFly

2004-02-10 Thread Matthew Dillon
DFly has incorporated a new organizational structure for gcc3 and binutils214 that FreeBSD might want to take a look at. Basically it works like this: * The vendor code in /usr/src/contrib is named after the major version release, so e.g. we have /usr/src/contrib/gcc-3.3

Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5)

2004-02-10 Thread Wes Peters
On Monday 09 February 2004 13:20, Juan Tumani wrote: I have an Intel D845GE m/b w/ a P4 1.7 CPU and I have the box setup to dual boot to either 4.9 or 5.2. Both OS are right off the latest posted iso CD image, i.e., no updates, no kernel tweaks, everything vanilla right out of the box. I

Re: Zombie processes not clearing (solution)

2004-02-10 Thread Don Lewis
On 10 Feb, Steven Hartland wrote: Ok looks like this has been spotted before and its a kernel issue described here: http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8selm=bausg0%2416c5%241%40FreeBSD.csie.NCTU.edu.twrnum=13 If the kernel patch mentioned above fixes the problem, I'll

Re: Odd ACL question

2004-02-10 Thread Matthew D. Fuller
On Tue, Feb 10, 2004 at 11:38:46AM +0100 I heard the voice of Harti Brandt, and lo! it spake thus: So if you restore a backup that is say, half a year old, you may well have files that belong to no known user, even if restoring to the same system. I suppose that mapping them to a well

Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5)

2004-02-10 Thread Dan Nelson
In the last episode (Feb 10), Wes Peters said: On Monday 09 February 2004 13:20, Juan Tumani wrote: I have an Intel D845GE m/b w/ a P4 1.7 CPU and I have the box setup to dual boot to either 4.9 or 5.2. Both OS are right off the latest posted iso CD image, i.e., no updates, no kernel

[PATCH] libusbhid(3)

2004-02-10 Thread Maksim Yevmenkin
Dear Hackers, does anyone objects to the attached libusbhid(3) patch? unpatched library gives me wrong HID page/usage values when i try to parse HID descriptor from Microsoft Bluetooth keyboard. please see attached patched.txt and unpatched.txt outputs. thanks, max

[PATCH] make BOOTP not panic working PXE configs

2004-02-10 Thread Brooks Davis
When using the PXE loader and a stock kernel you can specify the root path as with option root-path with a path like /usr/diskless/5.2-CURRENT. The server is then derived from the value of next-server (the siaddr entry in the dhcp packet). If you add options BOOTP to your kernel this

Re: 4.9 kernel panics on a poweredge 2650

2004-02-10 Thread Doug Ambrisko
Bogdan TARU writes: | | Hi Hackers, | | Ok, now some more infos about my problem: | | We have 3 identical webservers (as hw configuration), and the same | kernel and applications running on all three. They get mostly the same | traffic (dns round-robined). They all run 4.9-RELEASE. I

Re: Kernel Debugging

2004-02-10 Thread Greg 'groggy' Lehey
On Tuesday, 3 February 2004 at 11:55:42 -0800, Julian Elischer wrote: On Tue, 3 Feb 2004, Sridhar Chellappa wrote: How do we debug a freeBSD kernel ? Do we have something similar to KGDB that linux offers ? there is a whole chapter in the handbook about this.. Unfortunately, it's a little

TTCP/RFC1644 problem

2004-02-10 Thread Danny Braniss
hi, im running some experiments, and it seems to me that setting net.inet.tcp.rfc1644 has the reverse effect. with sysctl net.inet.tcp.rfc1644 = 0, the transaction uses only 6 packets and it's less than 1 sec, setting net.inet.tcp.rfc1644 to 1 uses 8 packets and takes more than 1 sec.

Re: TTCP/RFC1644 problem

2004-02-10 Thread Andre Oppermann
Danny Braniss wrote: hi, im running some experiments, and it seems to me that setting net.inet.tcp.rfc1644 has the reverse effect. with sysctl net.inet.tcp.rfc1644 = 0, the transaction uses only 6 packets and it's less than 1 sec, setting net.inet.tcp.rfc1644 to 1 uses 8 packets and takes