Re: FreeBSD-4.0 on SMP

2000-01-05 Thread Luoqi Chen
Hi, I have a 4-processor machine but I want to configure FreeBSD-4.0 to only use 1 of the processors for some tests. In addition I want the local APIC to be enabled. It seems currently that the APIC is only enabled when the kernel is compiled with the SMP option. However, when I

Re: [OFFTOPIC] alt. C compiler

2000-01-05 Thread Martin Cracauer
In [EMAIL PROTECTED], Gergely EGERVARY wrote: I have just upgraded my system to -current w/egcs 2.95.2 and I have several problems with it, especially when using optimizations (-O2 and such) When your code breaks when using -O2 or higher, don't do that, use just -O! Almost all examples

Re: undefined reference

2000-01-05 Thread Peter Wemm
Sascha Schumann wrote: Hi, I've written a new driver for ppbus (yes, I know that newppbus exists). I've added one line to conf/files, added "device pcf0" to my kernel configuration file, config'ured the kernel, and ran make depend all. The driver compiles cleanly,

Re: undefined reference

2000-01-05 Thread Sascha Schumann
On Wed, Jan 05, 2000 at 06:15:25PM +0800, Peter Wemm wrote: [..] There is another driver called 'pcf' - you'll have to use a different name. Thanks! I forgot to check i386/files/conf. Now, on to debugging. -- Regards, Sascha Schumann

Re: USB vs. parallel port

2000-01-05 Thread Peter Wemm
Nick Hibma wrote: By the way, at the moment it is better to have a UHCI controller on your motherboard. Allthough the OHCI controller is much smarter and more efficient, support for it is not as stable as the support for UHCI controllers. Sounds like UHCI = IDE, OHCI = SCSI ? (only 1/2

Re: Should -mieee-fp equal fpsetmask(0) to avoid SIGFPE on FreeBSD?

2000-01-05 Thread Thomas David Rivers
P.S. Actually, although Martin Cracauer's suggested replacement for the existing Mozilla code is certainly better than what Mozilla is using now, it may perhaps need to be slightly augmented with an additional check to see if the value of `d' is a NaN prior to per- forming the range

Re: Should -mieee-fp equal fpsetmask(0) to avoid SIGFPE on FreeBSD?

2000-01-05 Thread Martin Cracauer
In [EMAIL PROTECTED], Ronald F. Guilmette wrote: The alternative to this hack is a normal range check... ... static inline int cra_is_int(const double d, int *const i) { if (d = (double)INT_MAX d = (double)INT_MIN) { *i = (int)d; return 1; } else return 0; } The

Re: [OFFTOPIC] alt. C compiler

2000-01-05 Thread Oliver Fromme
Martin Cracauer [EMAIL PROTECTED] wrote in list.freebsd-hackers: You will not be able to use all features of FreeBSD, of course. Calling functions that take long long arguments doesn't work, these should be masked out when compiling struct ansi code. It may get painful quickly, as such

Re: [OFFTOPIC] alt. C compiler

2000-01-05 Thread Ronald F. Guilmette
In message [EMAIL PROTECTED], Martin Cracauer [EMAIL PROTECTED] wrote: Others already said that replacing the system compiler will be difficult. However, you should be able to use any FreeBSD include file that is supposed to be used by userlevel code with any ANSI C conforming compiler.

Re: [OFFTOPIC] alt. C compiler

2000-01-05 Thread Warner Losh
Warner Losh writes: : This is explained in more detail in section 7.1.1.4 of the August 3, : 1998 committee draft: Sorry to followup on my own message, but this is in section 7.1.2.4. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body

Re: CD-RW long filenames/rw filesystem.

2000-01-05 Thread Marius Bendiksen
it, is grab a bunch of stuff you want to backup/record and use mkisofs and Use mkhybrid instead of mkisofs. It allows long filenames. the CD-RW and then delete it later if you want to. Would it be possible, or even feasible, to implement something like this in FreeBSD? Probably, but is

syscons: SC_MOUSE_CHAR value rationale

2000-01-05 Thread Marcin Cieslak
Is there any _particular_ reason why this is #define'd to (0xd0) in /sys/dev/syscons/syscons.c? Nearly everyone who wants to set up their national locale needs to recompile the kernel, since some important characters are hidden under mouse cursor. I sure that at least these are affected:

Re: cdrecord Pioneer DVR-S201?

2000-01-05 Thread Kenneth D. Merry
On Thu, Jan 06, 2000 at 00:39:35 -0500, John W. DeBoskey wrote: Hi, The subject pretty much asks the question. I'm looking for anyone who has used or tried to use the new Pioneer DVR-S201 2nd Generation 4.7GB DVD-Writer on FreeBSD/cdrecord. I've looked at the current cdrecord

Re: AIO was Re: Kernel threads

2000-01-05 Thread John W. DeBoskey
With respect to AIO... we run a data server which multiplexes on the select() function, and uses AIO to do all it's I/O. This has been a very stable system. system : 4.0-19990827-SNAP start time : 1999/12/24 11:14:44 up time (days hh:mm:ss): 12 13:32:53

Re: AIO was Re: Kernel threads

2000-01-05 Thread Jordan K. Hubbard
This is very interesting data and I was just wondering about the actual state of functionality in our AIO code just the other day, oddly enough. Does anyone have a PR# for the mentioned patches? - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the