Re: LINUX clone? sched_yield?

1999-02-05 Thread Paulo Fragoso
Hi,

On Sat, 30 Jan 1999, Richard Seaman, Jr. wrote:

 You need to:
 
 1) Upgrade your source tree to Jan 28 or later for 3.X or Jan 26
 or later for 4.0 current, and make world and config and remake
 and install a new kernel,
 
 or
 
 2) Take your existing source and add -DCOMPAT_LINUX_THREADS to
 CFLAGS and COPTFLAGS in /etc/make.conf and make world and 
 remake and install your kernel.
 
 Also, you need to add the posix priority extensions to your
 kernel (see LINT).

Why /net option in StarOffice 5.0 don't work? I make one install under
Linux RedHat 5.0 with setup /net and I was sucessfull but in my FBSD
3.0-Stable (30Jan1999) it don't work.

Are there any schedule to make work linux clone in SMP kernel? I'm using
dual PII motherboard.

Many Thanks,
Paulo.

--
  ... Overall we've found FreeBSD to excel in performace, stability,
technical support, and of course price. Two years after discovering
FreeBSD, we have yet to find a reason why we switch to anything else
-David Filo, Yahoo!


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-02-01 Thread Paulo Fragoso
Hi,

On Sat, 30 Jan 1999, Richard Seaman, Jr. wrote:

 You need to:
 
 1) Upgrade your source tree to Jan 28 or later for 3.X or Jan 26
 or later for 4.0 current, and make world and config and remake
 and install a new kernel,
 

That's ok now :-).

Thanks,
Paulo.

--
  ... Overall we've found FreeBSD to excel in performace, stability,
technical support, and of course price. Two years after discovering
FreeBSD, we have yet to find a reason why we switch to anything else
-David Filo, Yahoo!


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-01-31 Thread Peter Dufault
 There's a yield() syscall that is enabled permanently.  Is there any
 harm in untangling it from the POSIX sched_yield()? :-)

I've got a synch_yield() in kern_synch and a call into it from yield()
in kern_thread that duplicates the yield() behavior for the non-RTPRIO,
non-sched_yield() condition.  synch_yield() also KASSERTS
that p == curproc since nothing else makes sense.

However, I've woken up to a gcc SIG 11 during my world build.  This
is from yesterday AM sources and is the first crash for my crash box.

Though I doubt it is my patches I'll look a bit to convince myself.
Prior to this that system has been running a week with a patched world.

Peter

-- 
Peter Dufault (dufa...@hda.com)   Realtime development, Machine control,
HD Associates, Inc.   Safety critical systems, Agency approval

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


LINUX clone? sched_yield?

1999-01-30 Thread Paulo Fragoso
Hi,

I'm trying to install StarOffice 5.0 in my FBSD-3.0-STABLE (26Jan1999).
When setup is running the kernel reports:

linux_clone(303): Not enabled
Jan 30 15:05:39 foker /kernel: cmd setup.bin pid 303 tried to use
non-present sched_yield
Jan 30 15:05:53 foker last message repeated 892 times

What's happening?

Many thanks,
Paulo Fragoso.

ps: I'm using one Multi-Processor motherboar with LX chip set, 2 PII
266MHz:

FreeBSD foker.nlink.com.br 3.0-STABLE FreeBSD 3.0-STABLE #1: Sat Jan 30
14:56:27 EST 1999
pa...@foker.nlink.com.br:/usr/src/sys/compile/KERNEL-SMP  i386

Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0

--
  ... Overall we've found FreeBSD to excel in performace, stability,
technical support, and of course price. Two years after discovering
FreeBSD, we have yet to find a reason why we switch to anything else
-David Filo, Yahoo!


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-01-30 Thread Brian Feldman
On Sat, 30 Jan 1999, Paulo Fragoso wrote:

 Hi,
 
 I'm trying to install StarOffice 5.0 in my FBSD-3.0-STABLE (26Jan1999).
 When setup is running the kernel reports:
 
 linux_clone(303): Not enabled
 Jan 30 15:05:39 foker /kernel: cmd setup.bin pid 303 tried to use
 non-present sched_yield
 Jan 30 15:05:53 foker last message repeated 892 times
 
 What's happening?

sched_yield() is a stub that informs you nicely that it doesn't exist :)
Use the options:
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L


 
 Many thanks,
 Paulo Fragoso.
 
 ps: I'm using one Multi-Processor motherboar with LX chip set, 2 PII
 266MHz:
 
 FreeBSD foker.nlink.com.br 3.0-STABLE FreeBSD 3.0-STABLE #1: Sat Jan 30
 14:56:27 EST 1999
 pa...@foker.nlink.com.br:/usr/src/sys/compile/KERNEL-SMP  i386
 
 Programming 24 pins in IOAPIC #0
 FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
 
 --
   ... Overall we've found FreeBSD to excel in performace, stability,
 technical support, and of course price. Two years after discovering
 FreeBSD, we have yet to find a reason why we switch to anything else
   -David Filo, Yahoo!
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message
 

 Brian Feldman_ __  ___ ___ ___  
 gr...@unixhelp.org   _ __ ___ | _ ) __|   \ 
 http://www.freebsd.org/ _ __ ___  | _ \__ \ |) |
 FreeBSD: The Power to Serve!  _ __ ___  _ |___/___/___/ 


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-01-30 Thread Richard Seaman, Jr.
On Sat, Jan 30, 1999 at 03:33:26PM -0300, Paulo Fragoso wrote:
 Hi,
 
 I'm trying to install StarOffice 5.0 in my FBSD-3.0-STABLE (26Jan1999).
 When setup is running the kernel reports:
 
 linux_clone(303): Not enabled
 Jan 30 15:05:39 foker /kernel: cmd setup.bin pid 303 tried to use
 non-present sched_yield
 Jan 30 15:05:53 foker last message repeated 892 times
 
 What's happening?

You need to:

1) Upgrade your source tree to Jan 28 or later for 3.X or Jan 26
or later for 4.0 current, and make world and config and remake
and install a new kernel,

or

2) Take your existing source and add -DCOMPAT_LINUX_THREADS to
CFLAGS and COPTFLAGS in /etc/make.conf and make world and 
remake and install your kernel.

Also, you need to add the posix priority extensions to your
kernel (see LINT).

Or, there is also more information at http://lt.tar.com

-- 
Richard Seaman, Jr.   email: d...@tar.com
5182 N. Maple Lanephone: 414-367-5450
Chenequa WI 53058 fax:   414-367-5852

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-01-30 Thread Garrett Wollman
On Sat, 30 Jan 1999 13:54:36 -0500 (EST), Brian Feldman gr...@unixhelp.org 
said:

 sched_yield() is a stub that informs you nicely that it doesn't exist :)
 Use the options:
 options P1003_1B
 options _KPOSIX_PRIORITY_SCHEDULING
 options _KPOSIX_VERSION=199309L

Peter: is there any harm in enabling these features permanently?

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
woll...@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-01-30 Thread Peter Dufault
 On Sat, 30 Jan 1999 13:54:36 -0500 (EST), Brian Feldman 
 gr...@unixhelp.org said:
 
  sched_yield() is a stub that informs you nicely that it doesn't exist :)
  Use the options:
  options P1003_1B
  options _KPOSIX_PRIORITY_SCHEDULING
  options _KPOSIX_VERSION=199309L
 
 Peter: is there any harm in enabling these features permanently?

This bumps the version that the system says it is but I think the
pieces are in place.  If Bruce has any POSIX tests he can rebuild
the system with POSIX_VERSION and _KPOSIX_VERSION set to 199309L
and see what happens.  This is the right thing to do for -current,
and I have it turned on with a NO_KPOSIX_PRIORITY_SCHEDULING option
in the patches I'm about to commit.

Fixed-priority scheduling is broken in the SMP case and I'm planning
on disabling both RTPRIO and _KPOSIX_PRIORITY_SCHEDULING on SMP
unless one turns it on with RTPRIO_AND_SMP_ANYWAY.  SMP and RTPRIO
function but not correctly.  Programs that assume that the presence
of the header means the subsystem is present will fail on SMP the
way they fail now.

When my build world completes I'm planning on applying essentially
the patches that are in my home directory on freefall in PATCHES.sched.

Peter

-- 
Peter Dufault (dufa...@hda.com)   Realtime development, Machine control,
HD Associates, Inc.   Safety critical systems, Agency approval

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: LINUX clone? sched_yield?

1999-01-30 Thread Bruce Evans
  sched_yield() is a stub that informs you nicely that it doesn't exist :)
  Use the options:
  options P1003_1B
  options _KPOSIX_PRIORITY_SCHEDULING
  options _KPOSIX_VERSION=199309L
 
 Peter: is there any harm in enabling these features permanently?

There's a yield() syscall that is enabled permanently.  Is there any
harm in untangling it from the POSIX sched_yield()? :-)

This bumps the version that the system says it is but I think the
pieces are in place.  If Bruce has any POSIX tests he can rebuild
the system with POSIX_VERSION and _KPOSIX_VERSION set to 199309L

I don't have any for P1003.1b, only the NIST ones for POSIX.1.

Bruce

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message