Re: linux sysctl knobs (was Re: RealPlayer 7)

2000-03-18 Thread Marcel Moolenaar

Steve Price wrote:

> On -current at least you can set the following sysctl knobs.  Beware!
> No telling what might break if you do this, so you're on your own if
> you change them and weird things start happening with your other
> Linux apps.
> 
> $ sysctl -a | grep linux
> compat.linux.osname: Linux
> compat.linux.osrelease: 2.2.12
> compat.linux.oss_version: 198144

If you need to have compat.linux.osname something other than Linux *and*
you also need it to have Linux for other binaries you are running
concurrently, then you can always create a prison. The sysctls are on a
per jail basis. See jail(8)

FYI,

-- 
Marcel Moolenaar
  mail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
  tel:  (408) 447-4222


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: linux sysctl knobs (was Re: RealPlayer 7)

2000-03-17 Thread Steve Price

On Fri, 17 Mar 2000, Doug Barton wrote:

# > I've noticed that the Linux version reports the OS as "Linux 2.0.36" or
# > something like that.  Is there anything special that will make the Linux
# > version of Netscape report the OS correctly?  Maybe it should be doing
# > `uname -srm` or something like that.
# > 
# > It's really minor, but it's always nice to have your OS trumpeted proudly
# > in your usenet headers.  I don't want "Linux" reported if I'm running
# > FreeBSD...  Just a minor gripe, I guess.
# 
#   You could always vi the binary. :)

On -current at least you can set the following sysctl knobs.  Beware!
No telling what might break if you do this, so you're on your own if
you change them and weird things start happening with your other
Linux apps.

$ sysctl -a | grep linux
compat.linux.osname: Linux
compat.linux.osrelease: 2.2.12
compat.linux.oss_version: 198144

-steve



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Chris Costello

On Friday, March 17, 2000, Donn Miller wrote:
> I've noticed that the Linux version reports the OS as "Linux 2.0.36" or
> something like that.  Is there anything special that will make the Linux
> version of Netscape report the OS correctly?  Maybe it should be doing
> `uname -srm` or something like that.

   Please see the compat.linux sysctls for how to do this
yourself.  You could have something like this if you want to show
off FreeBSD to your Linux programs:

 compat.linux.osname: FreeBSD
 compat.linux.osrelease: 3.4-STABLE
 compat.linux.oss_version: 198144

-- 
|Chris Costello <[EMAIL PROTECTED]>
|If at first you don't succeed, call it version 1.0
`--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Doug Barton

Donn Miller wrote:
> 
> On Fri, 17 Mar 2000, Kris Kennaway wrote:
> 
> > You can't use a foreign plugin with a native freebsd
> > netscape..unfortunately there aren't many plugins available in native
> > format - this is a good reason to use the linux version.
> 
> I've noticed that the Linux version reports the OS as "Linux 2.0.36" or
> something like that.  Is there anything special that will make the Linux
> version of Netscape report the OS correctly?  Maybe it should be doing
> `uname -srm` or something like that.
> 
> It's really minor, but it's always nice to have your OS trumpeted proudly
> in your usenet headers.  I don't want "Linux" reported if I'm running
> FreeBSD...  Just a minor gripe, I guess.

You could always vi the binary. :)

Doug
-- 
"While the future's there for anyone to change, still you know it seems, 
 it would be easier sometimes to change the past"

 - Jackson Browne, "Fountain of Sorrow"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Donn Miller

On Fri, 17 Mar 2000, Kris Kennaway wrote:

> You can't use a foreign plugin with a native freebsd
> netscape..unfortunately there aren't many plugins available in native
> format - this is a good reason to use the linux version.

I've noticed that the Linux version reports the OS as "Linux 2.0.36" or
something like that.  Is there anything special that will make the Linux
version of Netscape report the OS correctly?  Maybe it should be doing
`uname -srm` or something like that.

It's really minor, but it's always nice to have your OS trumpeted proudly
in your usenet headers.  I don't want "Linux" reported if I'm running
FreeBSD...  Just a minor gripe, I guess.

- Donn



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Kris Kennaway

On Fri, 17 Mar 2000, Ted Sikora wrote:

> Most of the plugins give the 'bad magic' error. It works perfectly under
> the Linux-Netscape version however. That's why I run both in FreeBSD.
> With the Linux version I get all plugins like flash4 and so on. 

You can't use a foreign plugin with a native freebsd
netscape..unfortunately there aren't many plugins available in native
format - this is a good reason to use the linux version.

Kris


In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe <[EMAIL PROTECTED]>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Garrett Wollman

< said:

> You can't use a foreign plugin with a native freebsd
> netscape..unfortunately there aren't many plugins available in native
> format - this is a good reason to use the linux version.

Or not (depending on your opinion regarding said plugins).

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
[EMAIL PROTECTED]  | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Charles Anderson

I had many problems trying to get some of the linux emulation progrmas to run
when I had a LD_LIBRARY_PATH set.  The problem was that the linux executable
was looking for libraries on the path list and finding a FreeBSD library and
puking because it had a bad magic number.  I just made sure my ldconfig was
set right bot under FreeBSD & Linux emulation and did not set any
LD_LIBRARY_PATH.

Drove me nuts for half a week.

-Charlie
On Thu, Mar 16, 2000 at 05:35:43PM -0500, Donn Miller wrote:
> Anyone get this beast to work on -current?  The audio works, but the video
> doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
> works pretty well.
> 
> 
> $ printenv LD_LIBRARY_PATH
> 
>/usr/local/qt/lib:/usr/local/lib/rvplayer5.0:/usr/local/RealPlayer7/Common:/usr/local/RealPlayer7/Codecs:/usr/local/RealPlayer7/Plugins:/usr/local/RealPlayer7
> 
> 
> - Donn
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

-- 
Charles Anderson[EMAIL PROTECTED]

No quote, no nothin'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Ted Sikora

Kris Kennaway wrote:
> 
> On Fri, 17 Mar 2000, Ted Sikora wrote:
> 
> > Most of the plugins give the 'bad magic' error. It works perfectly under
> > the Linux-Netscape version however. That's why I run both in FreeBSD.
> > With the Linux version I get all plugins like flash4 and so on.
> 
> You can't use a foreign plugin with a native freebsd
> netscape..unfortunately there aren't many plugins available in native
> format - this is a good reason to use the linux version.
> 

There are a couple of exceptions to that. The Linux plugger works under
FreeBSD provided you have the .conf file in the FreeBSD Netscape
directory. Also the new acroread plugin works with FreeBSD. The new
(SuSE) version not the one in ports/packages. It's compiled to work with
glibc.

--
Ted Sikora
Jtl Development Group 
[EMAIL PROTECTED]
http://powerusersbbs.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Ted Sikora

"Jacques A . Vidrine" wrote:
> 
> On Fri, Mar 17, 2000 at 12:42:33AM -0500, Donn Miller wrote:
> > I think I found the problem -- it had "disable custom sampling rates"
> > checked in the preferences section.  I unchecked that, and at least
> > the audio is working better.  I still have to try the video,
> > though...  Maybe there's a conflict with running it with XFree86 4.0
> > and 16 bpp.
> 
> No, I have 4.0-STABLE and XFree86 4.0 here, running at 16bpp, and can
> play video streams fine with RealPlayer.
> 
> Although not as a Netscape plugin -- it dumps core & I haven't had a
> chance to see why yet.
> --

Most of the plugins give the 'bad magic' error. It works perfectly under
the Linux-Netscape version however. That's why I run both in FreeBSD.
With the Linux version I get all plugins like flash4 and so on. 

--
Ted Sikora
Jtl Development Group 
[EMAIL PROTECTED]
http://powerusersbbs.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Jacques A . Vidrine

On Fri, Mar 17, 2000 at 12:42:33AM -0500, Donn Miller wrote:
> I think I found the problem -- it had "disable custom sampling rates"
> checked in the preferences section.  I unchecked that, and at least
> the audio is working better.  I still have to try the video,
> though...  Maybe there's a conflict with running it with XFree86 4.0
> and 16 bpp.

No, I have 4.0-STABLE and XFree86 4.0 here, running at 16bpp, and can
play video streams fine with RealPlayer.

Although not as a Netscape plugin -- it dumps core & I haven't had a
chance to see why yet.
-- 
Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Ted Sikora

Ted Sikora wrote:
> 
> Donn Miller wrote:
> >
> > Anyone get this beast to work on -current?  The audio works, but the video
> > doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
> > works pretty well.
> >
> > $ printenv LD_LIBRARY_PATH
> > 
>/usr/local/qt/lib:/usr/local/lib/rvplayer5.0:/usr/local/RealPlayer7/Common:/usr/local/RealPlayer7/Codecs:/usr/local/RealPlayer7/Plugins:/usr/local/RealPlayer7
> >
> 
> I have it under 5.0-current with XFree86-4.0. Like the other guy said
> just do the standard install and it works. I have
> /usr/compat/linux/usr/local/RealPlayer7 in my path and  export
> REALPLAYER7=/usr/compat/linux/usr/local/RealPlayer7 in /etc/profile.
> For the mimeinstall and plugins go to the RealPlayer /dir and run
> #./mimeinstall.sh
> #./pluginstall.sh
> 

Correction:  /usr/compat/linux/usr/local/bin is in my path.
Just ln -s realplay and rpnphelper to it.
--
Ted Sikora
Jtl Development Group 
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-17 Thread Ted Sikora

Donn Miller wrote:
> 
> Anyone get this beast to work on -current?  The audio works, but the video
> doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
> works pretty well.
> 
> $ printenv LD_LIBRARY_PATH
> 
>/usr/local/qt/lib:/usr/local/lib/rvplayer5.0:/usr/local/RealPlayer7/Common:/usr/local/RealPlayer7/Codecs:/usr/local/RealPlayer7/Plugins:/usr/local/RealPlayer7
> 

I have it under 5.0-current with XFree86-4.0. Like the other guy said
just do the standard install and it works. I have
/usr/compat/linux/usr/local/RealPlayer7 in my path and  export
REALPLAYER7=/usr/compat/linux/usr/local/RealPlayer7 in /etc/profile.
For the mimeinstall and plugins go to the RealPlayer /dir and run
#./mimeinstall.sh
#./pluginstall.sh

--
Ted Sikora
Jtl Development Group 
[EMAIL PROTECTED]
http://powerusersbbs.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Khetan Gajjar

Around Today, "Donn Miller" wrote :

DM>  > I got disgusted with RP 5 because all of my favorite programs updated
DM>  > to G2 format, so I nuked it. Today I installed the latest linux-base
DM>  > port, downloaded the binary (non-rpm) version of linux RP 7 and it
DM>  > worked great. video and all. This is on an up-to-the-minute 5.0-Current.
DM>  
DM>  I think I found the problem -- it had "disable custom sampling rates"
DM>  checked in the preferences section.  I unchecked that, and at least

I had it checked, and it wasn't an issue (on my SB Vibra 16). Oh well.
The only issue is that the RealAudio plugin doesn't work with
Netscape :-(

Khetan Gajjar.
---
[EMAIL PROTECTED]  * [EMAIL PROTECTED]* PGP Key, contact
UUNET South Africa  * FreeBSD enthusiast  * details and other
http://www.uunet.co.za  * http://www.freebsd.org  * information at
System Administration   * http://office.os.org.za * [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Donn Miller

Doug Barton wrote:

> I got disgusted with RP 5 because all of my favorite programs updated
> to G2 format, so I nuked it. Today I installed the latest linux-base
> port, downloaded the binary (non-rpm) version of linux RP 7 and it
> worked great. video and all. This is on an up-to-the-minute 5.0-Current.

I think I found the problem -- it had "disable custom sampling rates"
checked in the preferences section.  I unchecked that, and at least
the audio is working better.  I still have to try the video,
though...  Maybe there's a conflict with running it with XFree86 4.0
and 16 bpp.

- Donn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Doug Barton

Donn Miller wrote:
> 
> Anyone get this beast to work on -current?  The audio works, but the video
> doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
> works pretty well.

I got disgusted with RP 5 because all of my favorite programs updated
to G2 format, so I nuked it. Today I installed the latest linux-base
port, downloaded the binary (non-rpm) version of linux RP 7 and it
worked great. video and all. This is on an up-to-the-minute 5.0-Current.

I tried the rpm version, but it complained about not finding
"/etc/madb" or something like that. Since the binary install worked, I
didn't pursue it. 

HTH,

Doug
-- 
"While the future's there for anyone to change, still you know it seems, 
 it would be easier sometimes to change the past"

 - Jackson Browne, "Fountain of Sorrow"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Kris Kennaway

On Fri, 17 Mar 2000, Mark Newton wrote:

> I think we're talking about different things.

Sorry, I think you're right.

Kris


In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe <[EMAIL PROTECTED]>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Mark Newton

On Thu, Mar 16, 2000 at 03:37:22PM -0800, Kris Kennaway wrote:

 > On Fri, 17 Mar 2000, Mark Newton wrote:
 > 
 > >  > in there.  I've got all the other posix functions, though.  Are
 > >  > you using Linuxthreads?
 > >  
 > > Everyone is using Linuxthreads now;  it's the default.
 > 
 > I didn't think so - it's still a port. We *support* linuxthreads out of
 > the box, but don't install it.

I think we're talking about different things.

There's a linuxthreads port, yes, but that's something which provides
FreeBSD's compile-time environment with libraries which duplicate the 
Linux threading APIs.

There's also the capability for Linux executables to use threads under
emulation.  That's there "out of the box" by default.

The linuxthreads port is only necessary if you want to use "The Linux Way"
of doing threads in a piece of software you're building for FreeBSD;  It
doesn't make much difference to emulation.

[ at least, I think that's how it works -- Marcel can ping me if I'm lying
  :-) ]

- mark

-- 
Mark Newton   Email:  [EMAIL PROTECTED] (W)
Network Engineer  Email:  [EMAIL PROTECTED]  (H)
Internode Systems Pty Ltd Desk:   +61-8-82232999
"Network Man" - Anagram of "Mark Newton"  Mobile: +61-416-202-223


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Kris Kennaway

On Fri, 17 Mar 2000, Mark Newton wrote:

>  > in there.  I've got all the other posix functions, though.  Are you using
>  > Linuxthreads?
>  
> Everyone is using Linuxthreads now;  it's the default.

I didn't think so - it's still a port. We *support* linuxthreads out of
the box, but don't install it.

Kris


In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe <[EMAIL PROTECTED]>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Mark Newton

On Thu, Mar 16, 2000 at 06:29:58PM -0500, Donn Miller wrote:

 > On Fri, 17 Mar 2000, Mark Newton wrote:
 > > On Thu, Mar 16, 2000 at 06:01:57PM -0500, Donn Miller wrote:
 > >  > Hmm.  Do you get video, though?  Also, which plugins did you install?
 > > 
 > > Yup, I get video;  like I said, it's working perfectly.  I just took it
 > > through the stock standard installation (click next -> next -> finish,
 > > with no other options).
 > 
 > Ok, fair enough.  One last question, though -- are you running XFree86
 > 4.0?

Nope, not yet.  I haven't upgraded X in quite a while;  I'm running 3.3.3.

 > Maybe it's something I'm lacking in my kernel config.  I noticed
 > that I didn't have
 > options _KPOSIX_VERSION=199309L 
I do.  I also have _KPOSIX_PRIORITY_SCHEDULING.

 > in there.  I've got all the other posix functions, though.  Are you using
 > Linuxthreads?
 
Everyone is using Linuxthreads now;  it's the default.

- mark

-- 
Mark Newton   Email:  [EMAIL PROTECTED] (W)
Network Engineer  Email:  [EMAIL PROTECTED]  (H)
Internode Systems Pty Ltd Desk:   +61-8-82232999
"Network Man" - Anagram of "Mark Newton"  Mobile: +61-416-202-223


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Donn Miller

On Fri, 17 Mar 2000, Mark Newton wrote:

> On Thu, Mar 16, 2000 at 06:01:57PM -0500, Donn Miller wrote:

>  > Hmm.  Do you get video, though?  Also, which plugins did you install?
> 
> Yup, I get video;  like I said, it's working perfectly.  I just took it
> through the stock standard installation (click next -> next -> finish,
> with no other options).

Ok, fair enough.  One last question, though -- are you running XFree86
4.0?  Maybe it's something I'm lacking in my kernel config.  I noticed
that I didn't have

options _KPOSIX_VERSION=199309L 

in there.  I've got all the other posix functions, though.  Are you using
Linuxthreads?

Or, maybe it's my ESS 1868 sound card.  (I don't see how that is the
problem, because sound works perfectly.  But, you never know.)

- Donn



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Mark Newton

On Thu, Mar 16, 2000 at 06:01:57PM -0500, Donn Miller wrote:

 > > I've had it working perfectly with the latest linux_base-6.1 and no
 > > LD_LIBRARY_PATH setting.  Hasn't crashed once so far, which is rather
 > > unusual for products from RealNetworks!
 > 
 > Hmm.  Do you get video, though?  Also, which plugins did you install?

Yup, I get video;  like I said, it's working perfectly.  I just took it
through the stock standard installation (click next -> next -> finish,
with no other options).

 - mark

-- 
Mark Newton   Email:  [EMAIL PROTECTED] (W)
Network Engineer  Email:  [EMAIL PROTECTED]  (H)
Internode Systems Pty Ltd Desk:   +61-8-82232999
"Network Man" - Anagram of "Mark Newton"  Mobile: +61-416-202-223


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Donn Miller

Mark Newton wrote:
> 
> On Thu, Mar 16, 2000 at 05:35:43PM -0500, Donn Miller wrote:
> 
>  > Anyone get this beast to work on -current?  The audio works, but the video
>  > doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
>  > works pretty well.
> 
> I've had it working perfectly with the latest linux_base-6.1 and no
> LD_LIBRARY_PATH setting.  Hasn't crashed once so far, which is rather
> unusual for products from RealNetworks!

Hmm.  Do you get video, though?  Also, which plugins did you install?

- Donn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RealPlayer 7

2000-03-16 Thread Mark Newton

On Thu, Mar 16, 2000 at 05:35:43PM -0500, Donn Miller wrote:

 > Anyone get this beast to work on -current?  The audio works, but the video
 > doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
 > works pretty well.

I've had it working perfectly with the latest linux_base-6.1 and no 
LD_LIBRARY_PATH setting.  Hasn't crashed once so far, which is rather
unusual for products from RealNetworks!

- mark

-- 
Mark Newton   Email:  [EMAIL PROTECTED] (W)
Network Engineer  Email:  [EMAIL PROTECTED]  (H)
Internode Systems Pty Ltd Desk:   +61-8-82232999
"Network Man" - Anagram of "Mark Newton"  Mobile: +61-416-202-223


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RealPlayer 7

2000-03-16 Thread Donn Miller

Anyone get this beast to work on -current?  The audio works, but the video
doesn't work at all.  I have COMPAT_LINUX in my kernel, and RealPlayer 5.0
works pretty well.


$ printenv LD_LIBRARY_PATH
/usr/local/qt/lib:/usr/local/lib/rvplayer5.0:/usr/local/RealPlayer7/Common:/usr/local/RealPlayer7/Codecs:/usr/local/RealPlayer7/Plugins:/usr/local/RealPlayer7


- Donn



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message