Re: Little kbdmap.c diff

2004-11-08 Thread Matteo Riondato
Il Lun, 2004-11-08 alle 19:33, John Baldwin ha scritto: > On Monday 08 November 2004 04:01 am, Matteo Riondato wrote: > > > > With this patch, kbdmap will print user choice on stderr instead of > > stdout. > Curious as to why printing to stderr helps? Because redirecting stdout is not an option

Re: Where is the source to the system calls?

2004-11-08 Thread Andrey Simonenko
On Mon, Nov 08, 2004 at 10:57:07AM -0800, Dan Strick wrote: > > Perhaps I did not make it clear that I was looking for the definitions > of the subroutines in libc that converted C-language function calls, > such as open(), into assembler language system calls. For example, in > version 7 pdp11 u

Re[2]: Loadable Scheduler in Freebsd

2004-11-08 Thread Igor Shmukler
> If the schedulers were aware of the "selected" scheduler (or perhaps > the previous scheduler), they could do the thread removal and insertions > themselves I suppose. I doubt you would want to do that. ___ [EMAIL PROTECTED] mailing list http://lists.

Re: Loadable Scheduler in Freebsd

2004-11-08 Thread Daniel Eischen
On Mon, 8 Nov 2004, Julian Elischer wrote: > > > Devesh Shah wrote: > > > Thanks to all of you who have responded to my initial question. I > > would be interested in looking at such implementation if possible. I > > see there are about 18 other kernel files that call common scheduler > > inter

Re: Loadable Scheduler in Freebsd

2004-11-08 Thread Julian Elischer
Devesh Shah wrote: Thanks to all of you who have responded to my initial question. I would be interested in looking at such implementation if possible. I see there are about 18 other kernel files that call common scheduler interface routines defined in ul.c and bsd.c such as sched_nice(), sch

Re: Loadable Scheduler in Freebsd

2004-11-08 Thread Devesh Shah
Thanks to all of you who have responded to my initial question. I would be interested in looking at such implementation if possible. I see there are about 18 other kernel files that call common scheduler interface routines defined in ul.c and bsd.c such as sched_nice(), sched_sleep(), sched_wakeup(

Re: Where is the source to the system calls?

2004-11-08 Thread Dag-Erling Smørgrav
Dan Strick <[EMAIL PROTECTED]> writes: > Thanks for the pointer to /usr/src/lib/libc/i386/SYS.h. It contains > precisely the "secret macro instructions invoking undocumented gnu > C-compiler asm() features" that I suspected but could not find. > > I still don't understand all the details but I do

Re: Porting the OpenBSD free Atheros HAL

2004-11-08 Thread Kris Kennaway
On Mon, Nov 08, 2004 at 10:35:29AM -0500, Rob Deker wrote: > > Hi, > > I was just wondering if anybody was working on porting the new > open-source Atheros HAL from OpenBSD to FreeBSD yet. Why would you want to do this? Doesn't it provide a subset of what the FreeBSD driver already provides?

Re: Mysql - Linuxthreads : Still needed?

2004-11-08 Thread Thordur Ivar B.
It would be nice if you could post the resaults back to the list so other do not have to go through these steps and maybe create an interesting disccusion about the use of linuxthreads with MySQL or the "new" threading lib in fbsd. I my self am about to embark on quest to upgrade my servers from 4

Re: Where is the source to the system calls?

2004-11-08 Thread Dan Strick
On Sun, 7 Nov 2004 16:29:42 -0800 (PST), I wrote: > > Does anyone know where the system calls are really defined? > I followed open() to _open() to __sys_open() which seems > to be part of something called libc_r before I ran into a > blank wall. I grepped all of the regular files in /usr/src > an

Re: Mysql - Linuxthreads : Still needed?

2004-11-08 Thread Justin Hopper
On Mon, 2004-11-08 at 10:34, John Baldwin wrote: > On Monday 08 November 2004 12:46 pm, Justin Hopper wrote: > > Hello, > > > > I know using Linuxthreads with mysql used to be the optimal combination, > > but now with the new threading libraries in 5.x, is this still the case? > > > > System is dua

Re: Mysql - Linuxthreads : Still needed?

2004-11-08 Thread John Baldwin
On Monday 08 November 2004 12:46 pm, Justin Hopper wrote: > Hello, > > I know using Linuxthreads with mysql used to be the optimal combination, > but now with the new threading libraries in 5.x, is this still the case? > > System is dual Opteron, running 5.3-i386. Try it both ways and see how it f

Re: Little kbdmap.c diff

2004-11-08 Thread John Baldwin
On Monday 08 November 2004 04:01 am, Matteo Riondato wrote: > Hi folks, > > I would propose this little patch for usr.sbin/kbdmap/kbdmap.c : > > --- kbdmap.c.oldSun Nov 7 21:22:08 2004 > +++ kbdmap.cSun Nov 7 21:33:53 2004 > @@ -288,7 +288,7 @@ > if (!x11) > sy

RX4640

2004-11-08 Thread Omar Punzalan
Dear Hackers, I have successfully installed my new (and shiny) freebsd5.3 on one of our hp rx4640 itanium2 system. With the SMP kernel, it has detected the 4 CPUs correctly. But then reviewing the /var/log/messages, its sees only 1G of ram: Nov 8 18:10:50 TEST2 kernel: real memory = 1058357

Mysql - Linuxthreads : Still needed?

2004-11-08 Thread Justin Hopper
Hello, I know using Linuxthreads with mysql used to be the optimal combination, but now with the new threading libraries in 5.x, is this still the case? System is dual Opteron, running 5.3-i386. -- Justin Hopper <[EMAIL PROTECTED]> UNIX Systems Engineer BSDHosting.net Hosting Division of Digit

Porting the OpenBSD free Atheros HAL

2004-11-08 Thread Rob Deker
Hi, I was just wondering if anybody was working on porting the new open-source Atheros HAL from OpenBSD to FreeBSD yet. If not I'm willing to take a stab at it, but I don't want to duplicate efforts already underway. If anybody is working on this already and could use any help, etc. drop me a l

Hardware Serial Numbers under FreeBSD

2004-11-08 Thread David Gilbert
> "Dan" == Dan Mahoney writes: Dan> Hey all, I'm trying to create an inventory script for systems Dan> that will be loaded via net-boot. I was wondering if there was Dan> any useful way to obtain the serial number of devices like the Dan> hard drives, processor, and/or motherboard. (as far

Re: Where is the source to the system calls?

2004-11-08 Thread Kurt J. Lidl
On Sun, Nov 07, 2004 at 04:29:42PM -0800, Dan Strick wrote: > Does anyone know where the system calls are really defined? > I followed open() to _open() to __sys_open() which seems > to be part of something called libc_r before I ran into a > blank wall. I grepped all of the regular files in /usr/

Re: Where is the source to the system calls?

2004-11-08 Thread Andrey Simonenko
On Sun, Nov 07, 2004 at 04:29:42PM -0800, Dan Strick wrote: > Does anyone know where the system calls are really defined? As others said, syscalls are implemented in /sys. > I followed open() to _open() to __sys_open() which seems > to be part of something called libc_r before I ran into a > blan

Little kbdmap.c diff

2004-11-08 Thread Matteo Riondato
Hi folks, I would propose this little patch for usr.sbin/kbdmap/kbdmap.c : --- kbdmap.c.oldSun Nov 7 21:22:08 2004 +++ kbdmap.cSun Nov 7 21:33:53 2004 @@ -288,7 +288,7 @@ if (!x11) system(kbd_cmd); - printf("keymap=%s\n", km->keym); + fprintf(st

Re: Where is the source to the system calls?

2004-11-08 Thread Dag-Erling Smørgrav
Dan Strick <[EMAIL PROTECTED]> writes: > Does anyone know where the system calls are really defined? In the kernel. > I followed open() to _open() to __sys_open() which seems > to be part of something called libc_r before I ran into a > blank wall. [EMAIL PROTECTED] /usr/src% grep -r '^open(' sy