Re: some files written via mmap end up corrupted

2005-11-21 Thread Dan Nelson
In the last episode (Nov 21), Mikhail Teterin said:
> I must not be using the API properly :-(
> 
> The writes to the mmap-ed area and then fsync-s the opened file,
> munmaps it, and exits.
> 
> Sometimes, the files end up corrupted at the end, however -- in about
> 10% of cases.

What kind of corruption are you seeing?  Blocks of zeroes?  Maybe you
need to call msync() before unmapping the region?  Or call munmap
before fsync.
 
> What am I doing wrong? Thanks!

Can't tell that for sure without seeing the code :)

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: background fsck

2005-11-21 Thread Eric Kjeldergaard
On 11/21/05, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> what is the rule to decide if filesystem may be background checked or not?
>
> for example my / is checked foreground, while /home checked background.
>
> can't root partition be background checked too?

On my laptop, if I'm in a hurry to get back up after a crash, I either
boot single user and log out instantly, or boot regularly and hit
Ctrl+C when the system begins fscking.  Either of these cause / to be
background fscked a few minutes after I'm up.

--
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iSCSI support

2005-11-21 Thread John Oxley
On Tue, Nov 22, 2005 at 12:24:49AM +0100, Wojciech Puchar wrote:
> >and growing. I'm currently looking at a Coraid AoE
> >(ATA-over-Ethernet) solution since it seems to have good support for
> >FreeBSD and Windows drivers in the works. On the other hand, iSCSI
> >has Windows support and FreeBSD in the works.
> >
> stupid question: can anyone explain me the sense and adventages of iSCSI 
> compared to say NFS? for me it's just some more layer to take lots of $$$ 
> from people.

ICBW but to me it seems that iSCSI is like a distributed NFS backend.  You can
store the data on multiple devices, in multiple forms (as long as they
all talk iSCSI).  You can also have two storage sites (geographically
separate) connected by fibre and use those for storage.

-John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pen+ucarp or carp(4).... any good experience?

2005-11-21 Thread Mark Jayson Alvarez
Hi,
  Anyone here who has a working LVS-like setup in
freebsd using carp? What software load balancer did
you use? How was your experience with it I'm about to
implement it in our proxy farm.

Thanks.



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building Perl 5.8.7

2005-11-21 Thread Kris Kennaway
On Tue, Nov 22, 2005 at 11:23:56AM +0700, Olivier Nicole wrote:
> Hi,
> 
> I am trying to build perl 5.8.7 from the ports.
> 
> On some machines it goes OK.
> 
> On my 5.3 machines I get:
> 
> BSDPAN" -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe  -Wall
> `sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
>   CCCMD =  gcc -DPERL_CORE -c 
> -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -fno-strict-aliasing -pipe 
> -I/usr/local/include -O -pipe  -Wall
> toke.c: In function `S_scan_formline':
> toke.c:10392: error: invalid operands to binary +
> toke.c:10392: error: invalid lvalue in unary `&'
> toke.c:10392: error: invalid lvalue in unary `&'
> *** Error code 1
> 
> Stop in /usr/ports/lang/perl5.8/work/perl-5.8.7.
> *** Error code 1
> 
> Stop in /usr/ports/lang/perl5.8.
> 
> 
> FreeBSD banyan.cs.ait.ac.th 5.3-RELEASE-p18 FreeBSD 5.3-RELEASE-p18 #6: Thu 
> Jul  7 10:43:43 ICT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL  
> i386
> 
> Any help appreciated.

5.3 isn't supported by ports any longer, so you should consider
updating to 5.4 or 6.0.

Kris


pgpgTiuFCJ6yV.pgp
Description: PGP signature


Re: Issue

2005-11-21 Thread James Long
> > /etc/rc.conf contence
> > 
> > defaultsrouter="192.168.15.1"

Remove the 's' from the line above.  It should be

defaultrouter="192.168.15.1"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Building Perl 5.8.7

2005-11-21 Thread Olivier Nicole
Hi,

I am trying to build perl 5.8.7 from the ports.

On some machines it goes OK.

On my 5.3 machines I get:

BSDPAN" -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe  -Wall
`sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
  CCCMD =  gcc -DPERL_CORE -c 
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -fno-strict-aliasing -pipe 
-I/usr/local/include -O -pipe  -Wall
toke.c: In function `S_scan_formline':
toke.c:10392: error: invalid operands to binary +
toke.c:10392: error: invalid lvalue in unary `&'
toke.c:10392: error: invalid lvalue in unary `&'
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.7.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.


FreeBSD banyan.cs.ait.ac.th 5.3-RELEASE-p18 FreeBSD 5.3-RELEASE-p18 #6: Thu Jul 
 7 10:43:43 ICT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL  i386

Any help appreciated.

TIA

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reaplay and mplay/mplugin....

2005-11-21 Thread Gary Kline
On Mon, Nov 21, 2005 at 04:07:53PM -0900, Beecher Rintoul wrote:
> On Monday 21 November 2005 02:42 pm, Gary Kline wrote:
> > On Mon, Nov 21, 2005 at 12:46:42PM -0900, Beecher Rintoul wrote:
> > > I also just installed mplayer for much the same reason. One question,
> > > does one also need to uncomment the commands in mplayerplug-in.conf? I
> > > notice that they are all commented out.
> > >
> > > Beech
> >
> > Yeah, I just (re-)discovred that on my test (ubuntu) box.  For
> > some reason, mplayer looks like it doesn't wwant to be a plugin;
> > rather a stand-alone Windows a/v player.
> >
> > I just installed the newest Helix and from what I glimped,
> > it supports both real and win streaming audio.  Jeez, but
> > I'd like one app that worked all the time.
> 
> On the latest firefox it will recognize and launch the helix plugin, but it 
> then just stops with a blank window. The plugin worked in the previous 
> version of firefox. As for WMV, it didn't work even in the previous version. 
> I googled the problem a while ago and ran across something about firefox not 
> working with helix anymore, so I just sort of gave up. After I accidentally 
> nuked linuxpluginwrapper I deleted and reinstalled everything and it still 
> didn't work for me yesterday.
> 
> Realplay does work as a standalone if you copy the URL into it, so the 
> problem 
> is in the plugin. I don't know if any or all of this applies to mozilla. If 
> linuxpluginwrapper isn't fixed soon I'll take all the pertinent  info from 
> the last couple of threads and write up a how-to, as I do have flash and 
> acroread working at this point with linuxpluginwrapper.
> 
> Mplayer works great with WMV, but running real-anything  does in fact crash 
> firefox after a short time. Hopefully one of these apps will get fixed to run 
> both protocols as plugins, but for now I'll settle for mplayer and run 
> realplay stuff standalone.
> 
> 

I discovered that URL's entered into realplay do work; at least
with the .r* suffix. Is there a place in mplayer that I can
stash windows audio URL's?

gary

PS:  On my test platform I have firefox as the default; here
I'm using mozilla.  Same deal with realplay, rm and mp3 work; 
mplayer just stopps dead.  ... .




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache2 php5 mysql4 problems

2005-11-21 Thread Jack Cheung
Just curious:
When you installed the php5-extensions, did you do a make config?
Also, my /usr/local/etc/apache2/Includes/php.conf has following 2 lines:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

If you have those 2 "AddType" lines in your conf file, does your
/usr/local/apache2/httpd.conf
contains the line "Include etc/apache2/Includes/*.conf"?
Also, did you restart Apache2 ?

On 11/21/05, Robert Munn <[EMAIL PROTECTED]> wrote:
>
> I have been successfuly running apache2 as a web server with php5 as a
> module. Recently I needed access to a database so I tried to upgrade
> my system by adding mysql4 as the database server.
>
> I had installed apache2 and php5 from the ports. Previously I would
> install php5-extensions to build the mysql module for php.
>
> After failing get the resulting php to recognize the mysql_ database
> calls in php I noticed that the php5-extensions no longer build the
> mysql extensions.
>
> I have tried various things. The most successful was to configure php
> with the --with-mysql option. However this did not completelty solve
> my problem. While database access was enabled from a php script, when
> I use the same codee in a web page to access the same database, my
> browser pops up a window asking if I want to save the file to disk or
> search for a program to deal with the file (suggestion Dreamweaver
> since it a .php file).
>
> Does anybody have the sequence of build commands for making a apache2
> - php5 - mysql, a working web server environment?
>
> I am running 5.4
>
> With thanks
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>



--
GnuPG: 1024D/1F48375F
http://www.jackcheung.com/jack_pub.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Im trying to find the H and V sync rates for the LCD in

2005-11-21 Thread Eric Murphy

Tino Boss wrote:


Eric Murphy wrote:

A Inspiron 9300, I cant seem to find this info ANYWHERE, and i want 
to configuer Xorg :)   Can anyone point me in the right direction?



I just found a nice tool that produces modelines. It's installed on my 
box (don't know where it comes from):

/usr/X11R6/bin/gtf

Just put the line in the monitor section of your xorg.conf and restart X.

hope it works

Tino

Expect the problem is that if you dont know the H and V rates it 
wont generate them ;(



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to check if a processor in the machine is dead

2005-11-21 Thread Joseph Koshy
[FreeBSD hackers trimmed from the CC list]

> I am having problem with my dell 2850 server. It has freebsd
> 5.4 installed.  Today the machine is flashing amber light on
> the face plate.On checking I found that to be PROC Machine
> Chk which means cpu has failed.

The machine's BIOS would have utilities to test hardware.  You
could check the state of the system with those.

--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Procedure for upgrading CPU

2005-11-21 Thread Mike Loiterman


On Nov 21, 2005, at 7:36 AM, Andrew P. wrote:


On 11/21/05, Mike Loiterman <[EMAIL PROTECTED]> wrote:
I'm thinking of upgrading the CPU in my machine running 6.0- 
RELEASE with an

SMP kernel.

Is it a matter of powering down the machine, swapping chips and  
powering up?

Is there anything else I would need to do ahead of time or after the
upgrade?  Will I need to recompile world, kernel or ports?

I currently have a 2.8 GHz P4 Prescott (520) and I'm thinking of  
replacing
it with a 3.6 GHz P4 Prescott (560J).  Both are 32 bit LGA 775  
chips.  The

motherboard is a SuperMicro P8SGA.

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




As long as you don't lose any CPU features (e.g.
SSE3 or MMX), which is clearly your case, you're
absolutely safe to just swap the chips.


So would the same be true for a Pentium D - dual core or to move to a  
64 bit capable chip?  My kernel is already SMP enabled and running well.


--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E



Re: Wireless pc card on FreeBSD 6.0

2005-11-21 Thread Alexander Karenin

> I have my wireless card associating with my access point using the
> following command from the doc at:
> 
> http://www.freebsd.org/cgi/man.cgi?query=ath&sektion=4&manpath=FreeBSD
> +5.3-RELEASE
> 
> # ifconfig ath0 inet 192.168.0.20 netmask 0xff00 ssid WEBTENT
> # ifconfig
> ath0: flags=8843 mtu 1500
> inet 192.168.0.20 netmask 0xff00 broadcast 192.168.0.255
> inet6 fe80::280:c8ff:fe1f:9655%ath0 prefixlen 64 scopeid 0x5
> ether 00:80:c8:1f:96:55
> media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
> status: associated
> ssid WEBTENT channel 6 bssid 00:05:5d:89:c8:78
> authmode OPEN privacy OFF txpowmax 32 protmode CTS bintval 100
> 
> But cannot browse the network at all. I also have a wired connection to
> the network on the laptop and cannot ping the address assigned to the
> wireless card unless the wired connection is connected, why would this
> be?
> 
> Also, of course, as you can see above, I need to get WEP going, but not
> sure how to specify the WEP key in ASCII or determine the HEX needed
> from the ASCII key, can someone suggest how this is done? And I'd like
> to get it to use DHCP, how would I do this?
> 
> --
> Robert

As far as I know, you should have hostapd daemon running and configured
to get some WEP or PSK, or WEP-PSK sec working.

Try to search in google on how to do that, or wait for others to help
you. I'm now trying to make my WEP-PSK working - and can only offer you
to read message Vol. 113 issue 11 from this list (Wednesday of November)
- mesg. 31: FreeBSD 6, hostap, ral0 (Christer Solskogen)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SOLVED: GLX extension in Xorg? (5.4 and 6.0)

2005-11-21 Thread David Gerard
Chris Hill wrote:
> On Mon, 21 Nov 2005, David Gerard wrote:

>> I have a 5.4 and a 6.0 box here, both with Xorg installed from
>> ports. When running xscreensaver, half the time they come up
>> saying the GLX extension isn't loaded. And, of course, they
>> can't run glxgears for the same reason.
>> The thing is, I can't find which port installs this extension.
>> Is there one?

> In /etc/X11/xorg.conf, I have the following:
> Section "Module"
> Load  "extmod"
> Load  "glx"


Uh. Buh. Could I just take my Dumbarse Award?

Solution to my problem: If you want GLX to work ... it helps to
uncomment the Load "glx" line! That was it - that was the whole
problem.

Now both machines are cranking away the ol' glxgears very happily.
I fully expect xscreensaver to show me many new and wonderful things
as well.

(Three years I had that error ...)


- d.  *thud* *thud* *thud*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Proliant ML110 installation issue.

2005-11-21 Thread Chad Leigh -- Shire.Net LLC


Mats Hellman wrote:

This thing has an Promise SATA RAID card, model PDC20621, I think  
it's
causing some problems. Since the server has only 2 x 160Gb SATA  
Maxtor

hotswap drives and a tape for backup I have the disks in RAID
1. Which ads
up to a nice 320Gb.



Uh, RAID 1 is a mirror and so 2 x 160Gb drives is 160Gb of drive  
available to the OS.  (Using manufacturer's fake Gb of course)


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Proposed license for IETF Contributions

2005-11-21 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] Behalf Of James Bailie
>Sent: Sunday, November 20, 2005 9:38 AM
>To: freebsd-questions@freebsd.org
>Subject: Re: Proposed license for IETF Contributions
>
>
>Ted Mittelstaedt wrote:
>
> >   You might check this but I believe that the Copyright convention
> > specifically
> > excepts "specifications" from copyright coverage.  I think 
>there's some
> > other
> > classes of original work that fall under this.  How about simply
> > rewriting the
> > ITEF license to designate any RFC as the complete RFC is a 
>specification,
> > and therefore uncopyrightable.
>
>I'm not a lawyer, but I strongly believe under the Berne
>convention RFCs have copyright.  The technical details described
>in an RFC may be protected by other IP laws, such as patent law
>for example, if the originator chose to patent those details, but
>the text of the RFC document itself, describing those details, is
>an original composition which satisfies the terms of the
>convention.  The only means of rescinding copyright is for the
>copyright owner to explicitly place the work into the public
>domain.
>

Which is what applying an IETF RFC license that designates the
ENTIRE rfc as a SPECIFICATION would do so!  Sheesh!

>Simon's proposed license seems reasonable to me. 

Except that it is untried in a court of law.  If the author of an RFC
simply designates the entire RFC as a specification, by using
the IETF license that states "this entire document is a specification"
then you have an easy way to play within the already established
international understandings of what a specification is.

Just because the GNU did it with their own license doesen't mean that
this is a good way to go.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: HP Proliant ML110 installation issue.

2005-11-21 Thread Ted Mittelstaedt

what version of freebsd?

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Mats Hellman
>Sent: Sunday, November 20, 2005 11:46 AM
>To: [EMAIL PROTECTED]
>Subject: HP Proliant ML110 installation issue.
>
>
>I'm trying to do an FreeBSD install on my "new" HP Proliant
>ML110 server.
>This thing has an Promise SATA RAID card, model PDC20621, I think it's
>causing some problems. Since the server has only 2 x 160Gb SATA Maxtor
>hotswap drives and a tape for backup I have the disks in RAID
>1. Which ads
>up to a nice 320Gb. The server is going to be used as HTTP/FTP
>server and
>will be mirroring some files.
>When I try to boot up the FreeBSD installation this is what happens.
>
>The first "problem":
>
>ad8 is the first 160Gb SATA
>
>ad8: Failure - SETFEATURES SET TRANSFERMODE timed out
>ad8: Failure - SETFEATURES ENABLE RCACHE timed out
>ad8: Failure - SETFEATURES ENABLE WCACHE timed out
>
>ad10 the second sata.
>
>The same errors as ad8.
>
>Then it hangs in a loop saying,
>
>ad8: req=0xc1b0f960 SETFEATURES SET TRANSFERMODE semaphore
>timeout. Danger
>Will Robinsson !!
>
>
>Anyone have a clue where to start fixing this or is it just incompatible
>hardware?
>
>
>Sincerely,
>
>Mats Hellman
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.362 / Virus Database: 267.13.4/176 - Release Date:
>11/20/2005
>

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Im trying to find the H and V sync rates for the LCD in

2005-11-21 Thread Tino Boss

Eric Murphy wrote:

A Inspiron 9300, I cant seem to find this info ANYWHERE, and i want to 
configuer Xorg :)   Can anyone point me in the right direction?


I just found a nice tool that produces modelines. It's installed on my 
box (don't know where it comes from):

/usr/X11R6/bin/gtf

Just put the line in the monitor section of your xorg.conf and restart X.

hope it works

Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reaplay and mplay/mplugin....

2005-11-21 Thread Beecher Rintoul
On Monday 21 November 2005 02:42 pm, Gary Kline wrote:
> On Mon, Nov 21, 2005 at 12:46:42PM -0900, Beecher Rintoul wrote:
> > I also just installed mplayer for much the same reason. One question,
> > does one also need to uncomment the commands in mplayerplug-in.conf? I
> > notice that they are all commented out.
> >
> > Beech
>
>   Yeah, I just (re-)discovred that on my test (ubuntu) box.  For
>   some reason, mplayer looks like it doesn't wwant to be a plugin;
>   rather a stand-alone Windows a/v player.
>
>   I just installed the newest Helix and from what I glimped,
>   it supports both real and win streaming audio.  Jeez, but
>   I'd like one app that worked all the time.

On the latest firefox it will recognize and launch the helix plugin, but it 
then just stops with a blank window. The plugin worked in the previous 
version of firefox. As for WMV, it didn't work even in the previous version. 
I googled the problem a while ago and ran across something about firefox not 
working with helix anymore, so I just sort of gave up. After I accidentally 
nuked linuxpluginwrapper I deleted and reinstalled everything and it still 
didn't work for me yesterday.

Realplay does work as a standalone if you copy the URL into it, so the problem 
is in the plugin. I don't know if any or all of this applies to mozilla. If 
linuxpluginwrapper isn't fixed soon I'll take all the pertinent  info from 
the last couple of threads and write up a how-to, as I do have flash and 
acroread working at this point with linuxpluginwrapper.

Mplayer works great with WMV, but running real-anything  does in fact crash 
firefox after a short time. Hopefully one of these apps will get fixed to run 
both protocols as plugins, but for now I'll settle for mplayer and run 
realplay stuff standalone.

Beech
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgp1R3CJvxoz6.pgp
Description: PGP signature


Does FreeBSD 6.0 fully support PCI-Express?

2005-11-21 Thread Hans Nieser

Hi list,

I've been having troubles getting OpenGL applications' performance up to 
par. I have an Nvidia Geforce 6800GT with a PCI-Express interface and I 
use nvidia's closed FreeBSD drivers.


I have been told that FreeBSD (and consequently the nvidia driver) do not 
fully support PCI-Express which makes my card operate at the same speed of 
a plain old PCI bus, which would be a logical explanation for my troubles. 
I have however not been able to find _anything_ on the matter on google 
and I am now wondering how much truth there is to this.


My question is in the subject, I hope someone can clarify this as I it 
will help me decide to get an AGP card instead or perhaps keep trying to 
figure out if I have misconfigured something.


Thanks in advance,

HN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error Message on Boot

2005-11-21 Thread Gerard Seibert

Running FreeBSD 5.4, I receive this error message while booting up:

Updating KDM configuration

Information: reading old kdmrc /usr/local/share/config/kdm/kdmrc (from kde

= 2.2.x) Information: old kdmrc is from kde >= 3.1 (config version 2.3)


This message appears everytime I boot. I have the latest version of KDE 
installed. Is there anything I can do to correct this?


--
Gerard
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mach kernel and Unix over 68k : well before OS X (Was: Status of6.0 for production systems)

2005-11-21 Thread Ted Mittelstaedt


>-Original Message-
>From: Gilbert Fernandes [mailto:[EMAIL PROTECTED]
>Sent: Saturday, November 19, 2005 10:30 AM
>To: freebsd-questions@freebsd.org
>Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: Mach kernel and Unix over 68k : well before OS X (Was: Status
>of6.0 for production systems)
>
>
>> Consider that when MacOS moved to UNIX that all the UNIX software
>> vendors could now easily port their applications to Macintosh.
>
>Excuse me, sir.
>
>Your discussion is pretty impressive and I have been reading it
>with care. Honestly, I am far from having a distant enough picture
>of the whole say to comment about what the discussion is about
>(and to be honest, I am not even sure I do know exactly what
>the point of the discussion is - please forgive me).
>
>But "Unix" has been available for MacOS users for a long time,
>far before MacOS X went out and using a Mach kernel.
>

The problem is though, that it didn't have Apple's marketing
muscle behind it.

The thing that made Apple's decision to switch to MacOS X so great
was that they abandonded the old macOS Classic.  There is no upgrade
path so customers of the Mac either have to learn MacOS X or give
up the Mac entirely.  Most of them did give up the old OS.

If Apple had done the dual OS route like they did with AU/X 
then nobody would have switched from whatever the OS 9 descendent
would have been to MacOS X, and MacOS X would now be a footnote in
the history of UNIX.  People are, after all, somewhat lazy.

For a brief period of time Apple had a flash of lucidity and realized
they are a software company, that is what birthed MacOS X.  Unfortunately
that brief flash seems to have faded and they are right back to 
believing that the software is just a thing used to sell hardware.
That puts them in direct competition with the low-ballers like Dell.
Maybe one day Apple will understand that there is nobody out there
in the low-baller market competing with MacOS X.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


apache2 php5 mysql4 problems

2005-11-21 Thread Robert Munn
I have been successfuly running apache2 as a web server with php5 as a
module.  Recently I needed access to a database so I tried  to upgrade
my system by adding mysql4 as the database server.

I had installed apache2  and php5 from the ports. Previously I would
install php5-extensions to build the mysql module for php.

After failing get the resulting php to recognize the mysql_ database
calls in php I noticed that the php5-extensions no longer build the
mysql extensions.

I have tried various things.  The most successful was to configure php
with the --with-mysql option. However this did not completelty solve
my problem. While database access was enabled from a php script, when
I use  the same codee in a web page to access the same database, my
browser pops up a window asking if I want to save the file to disk or
search for a program to deal with the file (suggestion Dreamweaver
since it a .php file).

Does anybody have the sequence of build commands for making a apache2
- php5 - mysql, a working web server environment?

I am running 5.4

With thanks


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question about ROOT LOGIN

2005-11-21 Thread Wojciech Puchar



I am sitting here beside my FreeBSD machine and suddenly see this:

login: Nov 21 11:54:27 freebsd login: ROOT LOGIN (root) ON ttyv0

and I don't know why it popped up. Isn't ttyv0 the console? You don't
think someone has hacked into my system do you?


try

w


(assuming it's not you just logged as root ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Issue

2005-11-21 Thread Jonathan Chen
[Don't remove the Cc: freebsd-questions]

On Mon, Nov 21, 2005 at 06:00:51AM +, kavitha s wrote:
> 
> --- Jonathan Chen <[EMAIL PROTECTED]> wrote:
> 
> > On Sun, Nov 20, 2005 at 09:05:51AM +, kavitha s
> > wrote:
> > > hi
> > >   I have installed freeBSD in my laptop.But iam
> > unable to ping to the gateway.So icant access
> > through it.Please give me a solution to it as soon
> > as possible.

[...]
> /etc/rc.conf contence
> 
> #--sysinstall generated deltas--# thu Nov 17 00:09:13
> #enable network daemons for user convineince.
> #please make all in changes to this files.
> #This file now contains just the 
> defaultsrouter="192.168.15.1"
> hostname="rose"
> ifconfig_xl0="inet 192.168.15.24 netmask
> 255.255.255.0"
> ipv6_enable="YES"
> linux_enable="YES"
> mouse_enable="YES"
> mouse_type="/dev/psm0"
> moused_type="auto"
> saver="fire"
> usbd_enable="YES"
> #this.
> #.
> 
> ifconfig 
> 
> plip0:
> flags=108851mtu
> 1500
> lo0: flags=8049mtu
> 16384
>inet 127.0.0.1 netmask 0xff00
>inet ::1 prefixlen 128
>inet6 fe80::1%lo prefixlen 64 scopied 0x2
> xl0: flags=8843mtu 1500
>options=9
> inet192.168.15.24netmask0xff00broadcast192.168.15.255
> inet6 fe80::201:2ff:fe79:d873%xl0prefixlen64scopied0x3
> ether 00:01:02:79:d8:73
> media: Ethernet autoselect (none)
> status: no carrier

There's your problem `no carrier'. Your card is either:

1. dead.
2. not plugged in
3. has a bad cable.
4. bad switch.

Your netmask of 0xff00 on the ifconfig output looks dodgy as well.
It doesn't correspond to what you have in /etc/rc.conf

Cheers.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
<[EMAIL PROTECTED]> |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP DL380 hangs on boot

2005-11-21 Thread Miguel

Ted Mittelstaedt wrote:

 


-Original Message-
From: Miguel [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 1:17 PM
To: Ted Mittelstaedt
Cc: FreeBSD Questions
Subject: Re: HP DL380 hangs on boot


Im sure the media is ok, i have just finished a quick test installation
on a devel desktop using the same cd, the instalation finished
flawlesly,
enable/disable ACPI doesnt help either.
Another corner to look around?

   



Try a different model and brand of CDROM drive.

Ted
 

Hi, i just want to let you know that im facing the same problem with a 
DELL Poweredge 6450.

So, same problem with two diferent platforms (and cd drives)
What am i missing?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6 DVD

2005-11-21 Thread Wojciech Puchar

I would like to know when you will release the official FreeBSD 6 DVD so I
can purchase it from FreeBSDMall. Also I want to know what is including
this DVD. I think must be like other UNIX-like environments that have all
the OS files plus some extra software that you can download them from the
Internet. If so I will be very happy. I am using FreeBSD for a few months
and up to now I am very satisfied with its usage. Also recommend me some
good books how to administer or install properly a FreeBSD server.


included in /usr/share/doc/

:)

just make sure you installed docs with sysinstall.

an excellent set of books!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Solaris patches and Solaris Express

2005-11-21 Thread Chad Leigh -- Shire.Net LLC


On Nov 21, 2005, at 4:51 PM, Ted Mittelstaedt wrote:


On Nov 19, 2005, at 2:02 AM, Ted Mittelstaedt wrote:

Indeed. But this is not Solaris 10 - thats when all of this  
changed.




I never understood why anyone would go to Solaris 10 unless they  
had a
64 bit processor and compiled all their apps under a 64 bit  
compiler.

Sun
didn't either, which is why they originally didn't come out with a
Solaris x86
version of Solaris 10  They only came out with it after much
screaming.


I run it (Solaris 10) on a dual Athlon 2800+ MP box.  As a server.
No X-Windows.  To run java.  And it runs java better than the same
box did with Linux and the sun jvm.


Is the Java version your running restricted to Solaris 10 and above?


I don't know.



Is Solaris 10 faster/stabler with Java than older Solaris versions?


I just got involved with Solaris after 10 was made "Free" (see the  
yahoo Solarisx86 list for that discussion -- the same list where this  
thread originally started I think before it forked) so I have no  
baseline to compare against.  I had been running a gentoo Linux 2.4.x  
kernel for java processing (before the FreeBSD 1.4 jvm got as good as  
it is now) and when the machine had problems, I put Solaris 10 on it  
as a test since it has some good resource management stuff for RAM  
and CPU etc that I wanted to use with my various java backend  
customers and my simple tests showed the same java apps with better  
performance than the same HW had with linux...  ymmv


Best regards
Chad



Ted



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Solaris patches and Solaris Express

2005-11-21 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Chad
>Leigh -- Shire.Net LLC
>Sent: Saturday, November 19, 2005 7:01 AM
>To: Free BSD Questions list
>Cc: [EMAIL PROTECTED]
>Subject: Re: Solaris patches and Solaris Express
>
>
>
>On Nov 19, 2005, at 2:02 AM, Ted Mittelstaedt wrote:
>
>>> Indeed. But this is not Solaris 10 - thats when all of this changed.
>>>
>>
>> I never understood why anyone would go to Solaris 10 unless they had a
>> 64 bit processor and compiled all their apps under a 64 bit compiler.
>> Sun
>> didn't either, which is why they originally didn't come out with a
>> Solaris x86
>> version of Solaris 10  They only came out with it after much
>> screaming.
>
>I run it (Solaris 10) on a dual Athlon 2800+ MP box.  As a server.
>No X-Windows.  To run java.  And it runs java better than the same
>box did with Linux and the sun jvm.

Is the Java version your running restricted to Solaris 10 and above?

Is Solaris 10 faster/stabler with Java than older Solaris versions?

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Status of 6.0 for production systems

2005-11-21 Thread Wojciech Puchar

I remember back a while when 5.x had been recently released
as STABLE and the conventional wisdom said not to use it in
production until the 5.3 release.

Is there any such conventional wisdom as regards 6.x?



my home system is actually production system that can't be stopped for a 
long time. i moved finally from NetBSD for various reasons including real 
SMP support (real=not crashing and not all-giant lock).


what i can say is

1) performance is excellent. maybe it should be named FastBSD not FreeBSD :)

2) it DO has bugs, but i already filtered those than can make a problems 
for me.


3) first bug - kldunload means danger. many kernel modules just crash the 
system when unloaded. solution: just don't do it, not a real problem.


4) using kernel-ppp+pppd=crash after not a long time. that forced my to 
learn user ppp(8) which is actually MUCH better. same solution as 3.
anyway i don't see any reason why kernel ppp is maintained at all. user 
ppp+tun interface works perfect.


5) sio driver has bugs. no crashes but overruns are reported by thousands 
unless i patched sio.c to increase buffer eightfold. the real bug is 
somewhere else, and can always be repeated with just

dd if=/dev/ad0 bs=1m of=/dev/null

the larger bs - the larger buffer have to be set to fix it until some 
value than enlarging bs to anything doesn't break things at all.


i don't know how this all works in kernel so have no idea about the real 
fix.


but this fix is enough for now. if you don't use high-speed serial it 
shouldn't be a problem for you anyway.


6) still have to learn ipfw more, an excellent tool! incomparably better 
than NetBSD's ipf!




found no bugs on other things and system works stable. for 4 days now but 
stable without any problems, having stable 921kbps ppp link (which is my 
outbound connection) and all userlevel programs working fine.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reaplay and mplay/mplugin....

2005-11-21 Thread Gary Kline
On Mon, Nov 21, 2005 at 12:46:42PM -0900, Beecher Rintoul wrote:
> 
> I also just installed mplayer for much the same reason. One question, does 
> one 
> also need to uncomment the commands in mplayerplug-in.conf? I notice that 
> they are all commented out.
> 
> Beech

Yeah, I just (re-)discovred that on my test (ubuntu) box.  For
some reason, mplayer looks like it doesn't wwant to be a plugin;
rather a stand-alone Windows a/v player.

I just installed the newest Helix and from what I glimped, 
it supports both real and win streaming audio.  Jeez, but 
I'd like one app that worked all the time.  

Still working at it..  

gary




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Status of 6.0 for production systems

2005-11-21 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Dinesh Nair
>Sent: Saturday, November 19, 2005 3:16 AM
>To: Ted Mittelstaedt
>Cc: Michael Vince; Peter Clutton; freebsd-questions@freebsd.org
>Subject: Re: Status of 6.0 for production systems
>
>
>
>On 11/19/05 17:28 Ted Mittelstaedt said the following:
>> Absolute total rubbish.
>>
>> Let's take one of these developing countries - China PRC - shall we?
>
>right, pick a country which has seen billions in investment
>flowing in over
>the last 5 years and use that as an example. shall we consider other
>countries such as those in africa and the greater part of Asia now ?
>

Touchy are we?  China may have billions of investment coming into
it now, but they got that way because they made some hard, difficult
choices.  Such as deciding to put a lid on their population
growth and learn how to do it without having a war every decade or
so.  Such as cracking down on government corruption.  Such as
cracking down on public health.  It's not China with an AIDS
epidemic right now.

And I'm not saying China is perfect - they steal every engineering
idea in existence and have no respect for the patent process -
but they know they want to be a player in the world, they know
that the world is driven by economics today not arms, and they
have resolved to win at the economic wars.

>the point of the matter is, mr mittelstaedt, is that you're
>america-centric
>worldview just does not jive with what happens in the rest of
>the world.

Wrong, it may not jive with what happens in a certain percentage
of the rest of the world comprised of a SUBSET of developing
countries - that is, a subset of the set of developing countries.

But of course, if you put all those qualifiers in to make your
statements actually truthful, it would diminish their impact greatly.

>what you suggest and propose is not possible

Untrue.

>and things here are just
>different.
>

Anything is possible if you make it important enough.

As I already have said, once the oil runs out, which is going to
happen in a blink of an eye in geological time, and in human history
time,
solar energy will be the ONLY viable power source left - and the
tropics have the lions share of it.

Consider that the whole of RECORDED human history, is a much LONGER
time than even the most optimistic estimates of the length of time
left for fossil fuel resources.  Your great grandchildren (assuming you
have kids) will very likely have an exact date figured in their lifetime
that the fossil fuel resources will be dried up.  If you choose to
cop the attitude today that solar is impossible for your culture, and
just
give up on even trying to get it started now, then I guarentee that
when it's the only thing left, the rest of the world will be in your
country just like they are in Iraq today, and you will have lost any
chance you have of self-determination for your future.

I'd suggest you get cracking on building those photovoltiac manufacturing
facilities in your area, if you ever want to have a say in your future.
One day not very far in the future the world will be at your door
demanding
energy, and if you are still saying it's impossible then, well then
the world is going to just shove you aside and show you how to do it.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iSCSI support

2005-11-21 Thread Wojciech Puchar

and growing. I'm currently looking at a Coraid AoE
(ATA-over-Ethernet) solution since it seems to have good support for
FreeBSD and Windows drivers in the works. On the other hand, iSCSI
has Windows support and FreeBSD in the works.

stupid question: can anyone explain me the sense and adventages of iSCSI 
compared to say NFS? for me it's just some more layer to take lots of $$$ 
from people.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GLX extension in Xorg? (5.4 and 6.0)

2005-11-21 Thread Chris Hill

On Mon, 21 Nov 2005, David Gerard wrote:


I have a 5.4 and a 6.0 box here, both with Xorg installed from
ports. When running xscreensaver, half the time they come up
saying the GLX extension isn't loaded. And, of course, they
can't run glxgears for the same reason.

The thing is, I can't find which port installs this extension.
Is there one?


In /etc/X11/xorg.conf, I have the following:
Section "Module"
Load  "extmod"
Load  "glx"
# X may fail to start following an upgrade of X, saying
# "Failed to load GLX" or some such. The fix seems to be to
# rename /usr/X11R6/lib/modules/extensions/libglx.a to some
# other name. Makes no sense but it works. Documented here
# so it will be findable next time.
...blah blah...
EndSection

That commented note relates to something I found on some web site after 
googling the same problem. It seems to work. Note, I have an nvidia 
card; if you have some other card, the above may not be applicable to 
you.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


GLX extension in Xorg? (5.4 and 6.0)

2005-11-21 Thread David Gerard
I have a 5.4 and a 6.0 box here, both with Xorg installed from
ports. When running xscreensaver, half the time they come up
saying the GLX extension isn't loaded. And, of course, they
can't run glxgears for the same reason.

The thing is, I can't find which port installs this extension.
Is there one?


-d.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Solaris patches and Solaris Express

2005-11-21 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of P.U.Kruppa
>Sent: Saturday, November 19, 2005 6:13 AM
>To: Ted Mittelstaedt
>Cc: Victor Watkins; FreeBSD-questions@freebsd.org;
>[EMAIL PROTECTED]; J.D. Bronson
>Subject: RE: Solaris patches and Solaris Express
>

>> I never understood why anyone would go to Solaris 10 unless they had a
>> 64 bit processor and compiled all their apps under a 64 bit compiler.
>> Sun
>> didn't either, which is why they originally didn't come out with a
>> Solaris x86
>> version of Solaris 10  They only came out with it after much
>screaming.
>Probably they want to get a foot into the workstation market. Of
>course their Java Desktop's performance and stability is
>disgusting now, but if they manage to activate some kind of
>community around OpenSolaris, it will become a nice working
>enviroment within two years or so - see OpenOffice.org and
>StarOffice.
>

Only problem with that is that Star Office met a severe need (the need
for
UNIX desktops to be able to deal with Microsoft's nasty file formats)
when there wasn't anything else out there, but we have several choices
for workstations now, it will be a lot harder to get a group coalesced.

Kind of like the 6000 pound Apache gorilla has pretty much caused any
other open source http server effort to remain stunted, at least in terms
of market penetration.  People patch Apache rather than reinvent the
wheel.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


iSCSI support

2005-11-21 Thread Josh Endries
I read in the status report that work is being done on iSCSI, which
is awesome. We're putting in a SAN at work, starting at probably 8 TB
and growing. I'm currently looking at a Coraid AoE
(ATA-over-Ethernet) solution since it seems to have good support for
FreeBSD and Windows drivers in the works. On the other hand, iSCSI
has Windows support and FreeBSD in the works.

Has anyone out there had experience with either iSCSI or Coraid/AoE
on FreeBSD for a SAN? I'd like to know what NICs/HBAs and stuff works
well and what doesn't, if anyone has experience with it.

Thanks,
Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


remote requests make KDM dump core

2005-11-21 Thread epf1
I have a FreeBSD 6.0 box that I access remotely using Cygwin/X
from time to time. I use XDMCP to connect up to it from my desktop.

Up till about a week ago this was working like a champ, but that has changed
since I ran portmanager. Now KDM dumps core the moment I probe it for a
connection from a remote box.

here is a bit from /var/log/messages:

Nov 21 13:56:42 jerseygirl kernel: pid 91116 (kdm), uid 0: exited on
signal 11 (core dumped)
Nov 21 13:56:42 jerseygirl kdm[630]: Unknown session exit code 0 (sig 11)
from manager process
Nov 21 13:56:42 jerseygirl kernel: pid 91128 (kdm), uid 0: exited on
signal 11 (core dumped)
Nov 21 13:56:42 jerseygirl kdm[630]: Unknown session exit code 0 (sig 11)
from manager process
Nov 21 13:56:44 jerseygirl kernel: pid 91140 (kdm), uid 0: exited on
signal 11 (core dumped)
Nov 21 13:56:44 jerseygirl kdm[630]: Unknown session exit code 0 (sig 11)
from manager process

KDM works fine from the console, I am able to log in just fine when I am
sitting in front of the box in question, but as soon as I try to connect
remotely KDM crashes & is promptly revived only to crash again. In Cygwin/X
on the remote box I get the traditional X windows gray hash screen & the
"X" cursor for a split second then KDM crashes & the process starts anew.

I have run into one other user who has the same problem. It presented itself
to them after upgrading from KDE 3.4.2 to 3.4.3. I noticed the issue after
portmanager rebuilt KDE after libidn (/usr/ports/dns/libidn) was moved from
/usr/ports/devel to /usr/ports/dns.

If you have the ability to check & seem if KDM is accepting remote requests
could you please do so to confirm the problem? Also, any advice on how to
track this issue down would be much appreciated!

-Will



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


some files written via mmap end up corrupted

2005-11-21 Thread Mikhail Teterin
I must not be using the API properly :-(

The writes to the mmap-ed area and then fsync-s the opened file, munmaps it, 
and exits.

Sometimes, the files end up corrupted at the end, however -- in about 10% of 
cases.

What am I doing wrong? Thanks!

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reaplay and mplay/mplugin....

2005-11-21 Thread Beecher Rintoul
On Monday 21 November 2005 05:39 am, [EMAIL PROTECTED] wrote:
> >I'd be pleased to use just one audio app  that does >everything:
> > mp3, mp4/aacplus, realplay streams, or windows.  >What do I
> > need to do to enable this?   Should I pkg_delete my >real/helix
> > port?  Is having both realplay and >mplayer/mplayerplugin causing
> > the confusion?   Any ideas?
>
> Gary,
>
> mplayerplug-in does play real video up to version 9 I believe (may have
> changed recently). It is not very stable and will crash firefox if you try
> to leave the page the stream is playing in (including closing firefox). I
> could not get realplayer plugin to work so I suffer through this
> limitation. To enable it, follow these steps 1. Either rm or rename
> /usr/X11R6/lib/browser_plugins/nphelix.so and .xpt or edit the
> /etc/libmap.conf file and comment out the section about realplayer (this is
> what I have done) 2. edit /usr/X11R6/etc/mplayerplug-in.conf and change the
> line that says #enable-real=0 to 1. 3. Restart mozilla/firefox and real
> video will now play in mplayerplug-in.
>
> Hope this is what you were looking for. I don't think there is any other
> video plugin that will play all that. You might have a look at plugger.
>
> David

I also just installed mplayer for much the same reason. One question, does one 
also need to uncomment the commands in mplayerplug-in.conf? I notice that 
they are all commented out.

Beech
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpYZPXJDICHh.pgp
Description: PGP signature


sendmail / smtp auth

2005-11-21 Thread Martin Schweizer
Hello 

I read a lot over sendmail's smtp auth function in google, sendmail.org, 
O'Reilly 
sendmail book and FreeBSD's handbook etc. But now I'm very confused. 
My setup (all stuff from updated /usr/ports): 
FreeBSD 5.4
sendmail 8.13.3
Cyrus IMAP 2.2.12
Cyrus SASL2 2.1.21
MailScanner 4.46.2

After I configured sendmail for smtp auth (like described in FreeBSD's 
handbook) all mails no longer delivered to cyrus imapd. They now delivered 
local to root. I only changed /etc/mail/sendmail.mc and /etc/mail/auth-info 
(see attached). If rollback to no smtp auth then all works like a charme. My 
goals are to use sendmail for client relaying (for mobile users) and sendmail 
send mails with smtp auth to another mail server.
Any hints are welcome.

sendmail.mc:

divert(-1)
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 
gshapiro Exp $')
OSTYPE(freebsd5)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

FEATURE(dnsbl, `relays.ordb.org', `"550 Mail rejected - see 
http://www.ordb.org/faq";')
FEATURE(dnsbl, `sbl.spamhaus.org', `"550 Mail rejected - see 
http://www.spamhaus.org/SBL";')

dnl Dialup users should uncomment and define this appropriately
define(`SMART_HOST', `[195.186.18.142]')

define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
dnl define(`confAUTH_MECHANISMS', `PLAIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
dnl Änderung für Cyrus
define(`confLOCAL_MAILER', `cyrusv2')

MAILER(local)
MAILER(smtp)
dnl Änderung für Cyrus
MAILER(`cyrusv2')

auth-info:
**
martin
martin
blabla
pcs.ms
PLAIN

-- 

Regards

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpIVhJNkZbr7.pgp
Description: PGP signature


Re: looking for cd2mp3

2005-11-21 Thread Chris

[EMAIL PROTECTED] wrote:

Here is the link you need.
I also sent you a copy of the required file by e-mail.

Regards, Ivan.

http://wuarchive.wustl.edu/pub/FreeBSD/distfiles/cd2mp3-0.82.tar.gz


On Sun, 20 Nov 2005, Chris wrote:



does anyone have a copy of cd2mp3-0.82.tar.gz they could email me or a URL


where I can find it?


You're a star! Thanks a million.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question about ZFS support

2005-11-21 Thread Kris Kennaway
On Mon, Nov 21, 2005 at 06:40:48PM +0300, Vasiliy Khodyrev wrote:
> Good morning/afternoon/evening,
> 
>  
> 
> I have a question to FreeBSD developers:
> 
>  
> 
> Are you planning to include support for ZFS(link below) into FreeBSD in any
> future releases?
> 
>  
> 
> http://www.opensolaris.org/os/community/zfs/docs/

Someone would first need to port the code to run on FreeBSD before it
can be incorporated into the FreeBSD OS.

Kris


pgp7oJ2iMBDX9.pgp
Description: PGP signature


Re: uninstalling packages...

2005-11-21 Thread Kris Kennaway
On Mon, Nov 21, 2005 at 03:07:40PM +, Alex Zbyslaw wrote:
> Javier Matos wrote:
> 
> >Hello, I want information about uninstallation of packages. I know how to 
> >perform that kind of actions but I really want to know if something like 
> >pkg_add "a_package" and then pkg_delete "a_package" really delete ALL 
> >FILES installed with pkg_add command.
> > 
> >
> In short, yes.  This isn't windows :-)
> 
> The long answer is that each package provides information about what 
> files it installs and thus what files to de-install.  So the maintainer 
> of the package/port has to get the list of files correct, but I've 
> rarely seen any problems.  So if you find that a package isn't deleting 
> something you should ask here or contact the port maintainer.

We monitor for it constantly on the pointyhat package build cluster.
It's sometimes the case with new ports or upgrades, but these are
almost always fixed within a day or two.

Kris


pgpM4bLzUlvap.pgp
Description: PGP signature


Re: Load at 1.00 on SMP machine

2005-11-21 Thread Kris Kennaway
On Mon, Nov 21, 2005 at 11:23:44AM +0100, [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> i got a Problem on my dual XEON 3.06 GhZ machine, 2GB of RAM, FreeBSD
> 5.4-STABLE.
> I got "option SMP" in the kernel config and "machdep.hlt_logical_cpus=1" in
> /boot/loader.conf.
> There are just 20 processes running (typical ones like getty and stuff) and
> the load of this machine is at 1.xx. There is no bgfsck and other stuff.
> 
> So, i built a new kernel without "option SMP", rebooted, and the load was
> at 0.0x. But only one CPU was used (detected).
> 
> So, what could bei the Problem?

Well, what process is running?

Kris


pgpzPLNahb8kL.pgp
Description: PGP signature


Re: streaming windows media

2005-11-21 Thread Bob Johnson
On 11/20/05, Beecher Rintoul <[EMAIL PROTECTED]> wrote:
> Are there any good media players in the ports that will do streaming windows
>
> media. If so what would you guys recommend? I'd like to get away from
> realplayer.


I use mplayer.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: streaming windows media

2005-11-21 Thread Beecher Rintoul
On Sunday 20 November 2005 08:48 pm, Chris Hill wrote:
> On Sun, 20 Nov 2005, Beecher Rintoul wrote:
> > Are there any good media players in the ports that will do streaming
> > windows media. If so what would you guys recommend? I'd like to get
> > away from realplayer.
>
> From ports: try multimedia/mplayer. You'd also need www/mplayer-plugin
> if you wanted to play WM files from web sites.
>
> HTH.
>
> --
> Chris Hill   [EMAIL PROTECTED]

Thank you. I installed mplayer with the plugin and it works great. There's 
also a nice front end called kmplayer which integrates into kde and works 
nicely. Thanks again to those who replied.

Beech


---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgp0OPFDYbnod.pgp
Description: PGP signature


Re: linuxpluginwrapper (was linuxflashplugin)

2005-11-21 Thread Beecher Rintoul
On Monday 21 November 2005 05:58 am, [EMAIL PROTECTED] wrote:
> >Actually I just figured it out. There's a WITH_PLUGINS knob >in the port
> >makefile that I don't remember from before. Now it links >plugins. One
> > problem though, it puts them in browser_linux_plugins which native
> > >firefox doesn't see. I relinked them into browser_plugins and now it
> > works >again. realplayer still doesn't work, but that's an old problem.
> > Looks like >that port is a bit broken so I'll fire the maintainer an
> > email.
>
> So there is a make option to install plugins for a port name
> linuxpluginwrapper? Does this strike anyone else as odd? One would think
> that it would install these plugins by default and allow you to choose
> which plugins to install by the make options IMHO.
>
> David

Yes, and this just bit someone else. See the  "plugin in mozilla" thread going 
on today.

Beech

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpCL8UWPi2V8.pgp
Description: PGP signature


Re: plugin in mozilla

2005-11-21 Thread Beecher Rintoul
On Monday 21 November 2005 06:17 am, James Bailie wrote:
>  >> Short version:
>  >>
>  >> - install the required ports: mozilla/firefox, linuxpluginwrapper
>  >> (plugins should be installed automatically as its dependencies)
>
> linuxpluginwrapper does not install plugins as dependencies
> unless one passes the -DWITH_PLUGINS option to make.  This may be
> the problem.

Another gotya is that pluginwrapper now installs the plugins in 
browser_linux_plugins, which native firefox or mozilla will not see. You have 
to change all the plugin links so they are in browser_plugins as well as 
changing the nppdf.so (acroread) link to the right place as above. Another 
option might be to nuke browser_linux_plugins and make the directory a link 
to browser_plugins before building pluginwrapper. On top of all this, I still 
have yet to get realplayer to play nicely with the current firefox. It worked 
with the old one but stopped working after the last firefox upgrade. I don't 
know if it affects mozilla.

Beech


---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgp7YRWy1b7Gc.pgp
Description: PGP signature


Re: How do I re-format 'dangerously dedicated' drive?

2005-11-21 Thread Jonathon McKitrick
On Sun, Nov 20, 2005 at 07:26:33PM -0500, Lowell Gilbert wrote:
: Jonathon McKitrick <[EMAIL PROTECTED]> writes:
: 
: > I don't have an MS-DOS floppy, and I think my CDROM isn't booting because 
the
: > HD is 'dangerously dedicated,' even though it is a bootable CD and the BIOS 
is
: > set to boot it first.
: 
: That wouldn't be relevant.  The BIOS is lying to you, or isn't capable
: of booting this particular CD.

I found that NetBSD doesn't boot from CD, FreeBSD 5.4 does, older DragonFly
does not, but newer DFly does.  I have no idea why, but my laptop doesn't like
some CDROMs for booting.

jm
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wireless pc card on FreeBSD 6.0

2005-11-21 Thread Robert Fitzpatrick
I have my wireless card associating with my access point using the
following command from the doc at:

http://www.freebsd.org/cgi/man.cgi?query=ath&sektion=4&manpath=FreeBSD
+5.3-RELEASE

# ifconfig ath0 inet 192.168.0.20 netmask 0xff00 ssid WEBTENT
# ifconfig
ath0: flags=8843 mtu 1500
inet 192.168.0.20 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::280:c8ff:fe1f:9655%ath0 prefixlen 64 scopeid 0x5
ether 00:80:c8:1f:96:55
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: associated
ssid WEBTENT channel 6 bssid 00:05:5d:89:c8:78
authmode OPEN privacy OFF txpowmax 32 protmode CTS bintval 100

But cannot browse the network at all. I also have a wired connection to
the network on the laptop and cannot ping the address assigned to the
wireless card unless the wired connection is connected, why would this
be?

Also, of course, as you can see above, I need to get WEP going, but not
sure how to specify the WEP key in ASCII or determine the HEX needed
from the ASCII key, can someone suggest how this is done? And I'd like
to get it to use DHCP, how would I do this?

--
Robert

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to check if a processor in the machine is dead

2005-11-21 Thread Charles Swiger

On Nov 21, 2005, at 3:04 PM, Jayesh Jayan wrote:
I am having problem with my dell 2850 server. It has freebsd 5.4  
installed.
Today the machine is flashing amber light on the face plate.  On  
checking I

found that to be PROC Machine Chk which means cpu has failed.


Dell has floppy and CD-ROM based diagnostic software available which  
will do a good job of testing their hardware.  Run that, then contact  
them for support and/or a RMA if appropriate...


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question about ZFS support

2005-11-21 Thread Wojciech Puchar


Are you planning to include support for ZFS(link below) into FreeBSD in any
future releases?



http://www.opensolaris.org/os/community/zfs/docs/

while i'm not FreeBSD coder i would ask question - how does it REALLY 
work - contrary to information.


i mean how it works in practice.

IMHO checksumming every data (not just metadata) is nonsense if it cannot 
be turned off. this makes every transfer not just I/O bound but CPU and 
memory transfer/cache bound too. while disk and memory bandwidth in todays 
machines are quite comparable (memory is faster but not THAT faster than 
linear disk I/O) it isn't just "a little thing".


built in compression isn't good idea IMHO - of course it doesn't hurt if 
it's optional. today disk space is rarely a problem, while huge files are 
often not much compressible.


by general description filesystem looks very nice.

thats theory - did anyone made a real test on real system?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to check if a processor in the machine is dead

2005-11-21 Thread Jayesh Jayan
Hi,

I am having problem with my dell 2850 server. It has freebsd 5.4 installed.
Today the machine is flashing amber light on the face plate.On checking I
found that to be PROC Machine Chk which means cpu has failed.

The server has dual Intel(R) Xeon(TM) CPU 3.00GHz. I searched and found a
utility named x86info but couldn't understand the output much and also
couldn't get to know if a cpu has really failed.

Please help me in this regard.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with OpenBSD dhclient

2005-11-21 Thread Jonas Wolz
Hello,

I recently upgraded from FreeBSD 5.4 to 6.0 and now my dhclient
configuration (which did work perfectly with the ISC dhclient) doesn't work
anymore.
On my laptop I'm using a static lease in dhclient.conf (attached below) as
it is roaming between different networks.

On the network without the DHCP server dhclient shows the following
messages, but leaves sis0 unconfigured (it doesn't configure the default
gateway or resolv.conf, too):

DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 5
DHCPNACK from 192.168.0.1 rejected.
DHCPOFFER from 192.168.123.254 rejected.
DHCPOFFER from 192.168.0.1 rejected.
DHCPOFFER from 192.168.0.1 rejected.
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.123.254 rejected.
DHCPOFFER from 192.168.0.1 rejected.
No DHCPOFFERS received.
Trying recorded lease 134.60.220.229
bound: renewal in 855549552 seconds.

If dhclient gets its lease from a "real" DHCP server everything works fine.

Does anybody know a workaround or is the OpenBSD dhclient just buggy?

Jonas

dhclient.conf:
--
# $FreeBSD: src/etc/dhclient.conf,v 1.3 2001/10/27 03:14:37 rwatson Exp $
#
#   This file is required by the ISC DHCP client.
#   See ``man 5 dhclient.conf'' for details.
#
#   In most cases an empty file is sufficient for most people as the
#   defaults are usually fine.
#


timeout 10;
retry 36000;

reject 192.168.0.1;
reject 192.168.5.50;
reject 192.168.123.254;
reject 192.168.0.254;

lease {
   interface "sis0";
   fixed-address 134.60.220.229;
   option subnet-mask 255.255.254.0;
   option routers 134.60.220.99;
   option domain-name-servers 134.60.220.1;
   option domain-name "wh-hms.uni-ulm.de";
#   option dhcp-lease-time 654321; # lang genug ;)
#   option dhcp-renewal-time 65321;
#   option dhcp-rebinding-time 65321;
   option dhcp-lease-time -1;

   # Dummy-Werte:
   renew  0 2033/01/01 00:00:00;
   rebind 0 2033/01/02 00:00:00;
   expire 0 2033/01/03 00:00:00;
}



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: several versions of gcc

2005-11-21 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Dinesh Nair
thusly...
>
> 
> On 11/19/05 13:30 Andrew Novikov said the following:
> >However I cannot have at the same time lang/gcc34 and lang/gcc40
> >(or any other two version from ports) because they both install
> >files in the same place somewhere in /usr/local/. Is there a way
> >to specify a different dir,
> 
> that's going to be difficult unless you descend into the ports
> work directory and edit the install prefixes there.

Will that then not be same as specifying PREFIX|LOCALBASE in the
port's directory during patch|configure|build|install?

  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question on ndis with FreeBSD 6.0

2005-11-21 Thread Fabian Keil
Zeng Nan <[EMAIL PROTECTED]> wrote:

> After upgrading to FreeBSD 6.0, I don't know how to compile ndis
> drivers. With 5.4, I just create  ndis_driver_data.h under if_ndis
> dir, but now, this file is not referenced in any codes. ndis.ko and
> if_ndis.ko are generated by default but they don't work. How should I
> compile it?

Use /usr/sbin/ndisgen.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: plugin in mozilla

2005-11-21 Thread Tino Boss

Filippo Moretti wrote:


what exactly should be linked for acroread7?


ln -s 
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so 
/usr/X11R6/lib/browser_plugins/nppdf.so


I guess you can also copy it.

regards
Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installing FreeBSD on a Compaq Presario R4125

2005-11-21 Thread NuclearDog
I have been trying to get FreeBSD installed on my Compaq Presario
R4125 for a while now. I have tried:

 - FreeBSD 5.2.1 (i386)
 - FreeBSD 5.3 (i386)
 - FreeBSD 5.4 (i386)
 - FreeBSD 6.0 (i386)
 - FreeBSD 6.0 (amd64)

I have tried safe mode, and booting with ACPI disabled. I have tried
setting hint.atkbd.0.flags to 0x1, 0x8 and 0x9. I have tried booting
with:

hw.acpi.skip_timer_override="1"
hint.acpi.0.disabled="1"
hint.atkbd.0.flags="0x9"

And it still hangs.

It hangs immediately upon selecting an option from the boot loader,
except escaping to the boot prompt. Attempting that will cause it to
hang after typing 'boot'.

To clarify, by 'hang' I mean the little spinner spins maybe two times
then stops on '-' and the computer quits responding.

Any help at all is appreciated!

ND
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot erase cd-rw

2005-11-21 Thread Fabian Keil
Brian John <[EMAIL PROTECTED]> wrote:

> For some reason, I can't erase cd-rws.  I have tried K3b, cdrecord
> and burncd.  Below is the output from cdrecord, can someone please
> help out?
> 
> sudo cdrecord -v blank=all dev=1,1,0
> Password:
> Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 
> Jörg Schilling
> TOC Type: 1 = CD-ROM
> scsidev: '1,1,0'
> scsibus: 1 target: 1 lun: 0
> Using libscg version 'schily-0.8'.
> SCSI buffer size: 64512
> atapi: 0
> Device type: Removable CD-ROM
> Version: 0
> Response Format: 1
> Vendor_info: 'ATAPI   '
> Identifikation : 'CD-R/RW 48X16   '
> Revision   : '9.EK'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
> Driver flags   : MMC-2 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO RAW/R16 RAW/R96R
> Drive buf size : 1630208 = 1592 KB
> Current Secsize: 2048
> ATIP info from disk:
>   Indicated writing power: 3
>   Reference speed: 6
>   Is not unrestricted
>   Is erasable
>   Disk sub type: High speed Rewritable (CAV) media (1)
>   ATIP start of lead in:  -11635 (97:26/65)
>   ATIP start of lead out: 359849 (79:59/74)
>   1T speed low:  4 1T speed high: 10
>   2T speed low:  4 2T speed high:  0 (reserved val  6)
>   power mult factor: 1 5
>   recommended erase/write power: 3
>   A1 values: 24 1A BC
>   A2 values: 26 B2 26
> Disk type:Phase change
> Manuf. index: 3
> Manufacturer: CMC Magnetics Corporation
> Starting to write CD/DVD at speed 12 in real BLANK mode for single
> session. Last chance to quit, starting real write0 seconds.
> Operation starts. Performing OPC...
> Blanking entire disk
> cdrecord: Input/output error. blank unit: scsi sendcmd: retryable
> error CDB:  A1 00 00 00 00 00 00 00 00 00 00 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 A1 10 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0xA1 Qual 0x10 (vendor unique sense code 0xA1) [No
> matching qualifier] Fru 0x0
> Sense flags: Blk 0 (not valid)
> cmd finished after 20.756s timeout 9600s
> cdrecord: Cannot blank disk, aborting.

I don't think that this is an FreeBSD related issue as I
just deleted some discs under 5.4 and 6.0 without trouble.

Probably it's just a compatibility problem
between your drive and the CD-RW.

"Mitsubishi Chemical Corporation" makes decent CD-RWs.
Get one of those and see if the problem remains.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: nss_ldap on FreeBSD 5.3

2005-11-21 Thread Robert Fitzpatrick
On Mon, 2005-11-21 at 13:05 -0500, Nathan Vidican wrote:
> Two things to check, first off, user must be in group 'wheel' (gid 0), in 
> order 
> to su, and also check settings in "/etc/pam.d/su", (su has seperate settings).
> 

wheel, duh! sorry for asking such stupid questions. I hope this one is
not so stupid - how can I get the users to show up on the user list in
the gdm when using a template that shows a list of all users? I
have /etc/pam.d/gdm all setup and can login no problem with LDAP users.
Actually, this list does not even populate with the system users.

BTW, after several years working with FreeBSD as a server, this is the
first time using FreeBSD as a workstation with GUI, very nice. I think
better than my Linux workstation as far as the number of bugs (haven't
found any yet). But I'll have to admit, the setup for things like LDAP
much easier in SuSE Linux, all integrated into GUI. But I choose
stability over ease of use.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot erase cd-rw

2005-11-21 Thread Brian John
How can I forcibly erase a disk?  So far I have been unable to get this to
work...

Thanks

/Brian


- Original Message -

> On Sun, Nov 20, 2005 at 12:16:35PM -0600, Brian John wrote:
> > For some reason, I can't erase cd-rws.  I have tried K3b, cdrecord and
> > burncd.  Below is the output from cdrecord, can someone please help out?
>
> Well, I can confirm the issue. I have the same problem with 6.0-STABLE
> amd64.  Additionally, burning DVD+RW (with dvd+rwtools) sometimes
> produces unmountable discs. Forcebly erasing the disks and retrying helps.
>
> Roland
> --
> R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
> public key: http://www.xs4all.nl/~rsmith/pubkey.txt
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Question about ROOT LOGIN

2005-11-21 Thread Allen D. Tate
I am sitting here beside my FreeBSD machine and suddenly see this:

login: Nov 21 11:54:27 freebsd login: ROOT LOGIN (root) ON ttyv0

and I don't know why it popped up. Isn't ttyv0 the console? You don't
think someone has hacked into my system do you?



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread Michael Beattie
On 11/21/05, Michael P. Soulier <[EMAIL PROTECTED]> wrote:
> On 11/21/05, Gerry Freymann <[EMAIL PROTECTED]> wrote:
> >  but if you did:
> >
> > /usr/local/etc/rc.d/apache.sh start
> >
> >  things should go as planned.
>
> That's odd. Why's that? Why should the script care?
>
> Mike

It uses part of the command line to determine where it's run form. 
That way it knows to look at like /etc or /usr/local/etc for
configuration as well as other things.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bind9 + ISC-DHCPD + Windows Clients

2005-11-21 Thread Robert Slade
On Mon, 2005-11-21 at 18:41, Brian E. Conklin wrote:
> Hello Everyone,
>   I spent the weekend scouring the newsgroups and Googling looking for
> a howto on setting up Bind9 (in a jail), ISC-DHCPD, and Dynamic DNS updates
> from Windows clients.
>   Does anyone know of a good HOWTO on this?
>   Thanks!
> 
> Brian E. Conklin, MCP+I, MCSE
> Director of Information Services
> Mason General Hospital

Brian

Try this:

http://www.bsdguides.org/guides/openbsd/networking/dynamic_dns_dhcp.php

It works for freebsd but you might have to play with isc-dhcp with 6.0
as it is a bit different.

Rob

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Bind9 + ISC-DHCPD + Windows Clients

2005-11-21 Thread Brian E. Conklin
Hello Everyone,
I spent the weekend scouring the newsgroups and Googling looking for
a howto on setting up Bind9 (in a jail), ISC-DHCPD, and Dynamic DNS updates
from Windows clients.
Does anyone know of a good HOWTO on this?
Thanks!

Brian E. Conklin, MCP+I, MCSE
Director of Information Services
Mason General Hospital
=
Mason General Hospital
901 Mt. View Drive
PO Box 1668
Shelton, WA 98584
http://www.masongeneral.com
(360) 426-1611
=
This message is intended for the sole use of the individual and entity
to whom it is addressed and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you
are not the addressee nor authorized to receive for the addressee, you
are hereby notified that you may not use, copy, disclose or distribute
to anyone this message or any information contained in the message. If
you have received this message in error, please immediately notify the
sender and delete the message.

Replying to this message constitutes consent to electronic monitoring
of this message.

Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: streaming windows media

2005-11-21 Thread Drew Tomlinson

On 11/20/2005 8:30 PM Beecher Rintoul wrote:

Are there any good media players in the ports that will do streaming windows 
media. If so what would you guys recommend? I'd like to get away from 
realplayer.
 


You might try VLC (Video LAN Client) as well.

HTH,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FVWM menu and keyboard config transposition to KDE?

2005-11-21 Thread dick hoogendijk
On Sun, 20 Nov 2005 21:32:06 -0500
Louis LeBlanc <[EMAIL PROTECTED]> wrote:

> Anyone else ever made this move?  I think I like some of what I'm
> seeing, but I'm not sure I want to relearn my whole UI just yet.  I'd
> probably be more likely to just update the backgrounds and look for
> some new window candy for FVWM before I learn a new UI.

I stick with fvwm myself. It's such a beautiful program and it gives
you all the looks you want.

> BTW, If I go back to FVWM, is there anything saying I can't use
> Konqueror?

Why don't you fire it up and see for yourself? ;-)
Sure you can use kde programs with fvwm. It takes a littel more time to
fire the first one up, because the libraries need loading. After that
it all works like a charm. The same goes for gnome apps.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread Michael P. Soulier
On 11/21/05, Gerry Freymann <[EMAIL PROTECTED]> wrote:
>  but if you did:
>
> /usr/local/etc/rc.d/apache.sh start
>
>  things should go as planned.

That's odd. Why's that? Why should the script care?

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread Gerard Seibert
On Monday, November 21, 2005 1:08:19 PM, Gerry Freymann <[EMAIL PROTECTED]>
Subject: Re: starting services?
Wrote these words of wisdom:

> On Mon, 21 Nov 2005 11:32:29 -0500
> "Michael P. Soulier" <[EMAIL PROTECTED]> wrote:
> 
> >On 11/17/05, Gerry Freymann <[EMAIL PROTECTED]> wrote:
> >>  If you manually want to do this, you *must* use the full path to the
> >> script:
> >>
> >> /usr/local/etc/rc.d/samba.sh start | stop
> >
> >In the rc(8) manpage, it states that .sh scripts are sourced directly.
> >
> > 4.   Call each script in turn using run_rc_script() (from
> > rc.subr(8)),
> >  which sets $1 to ``start'', and sources the script in a
> >  subshell. If the script has a .sh suffix then it is sourced
> >  directly into the current shell.
> >
> >Why is that? I've found that running apache.sh directly with
> >start|stop doesn't work. I need to run apachectl.
> 
>  In order to manually call up apache.sh in the /usr/local/etc/rc.d
> directory, you have to use the full path to the script.
> 
>  If you:
> 
> cd /usr/local/etc/rc.d
> ./apache.sh start
> 
>  it should complain and error out. 
> 
>  but if you did:
> 
> /usr/local/etc/rc.d/apache.sh start
> 
>  things should go as planned.
> 
>  That's, at least, if you wanna do it manually (to either stop or start a
> service that has a shell script in there).
> 
> -gerry

* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

I have apache2 installed and have no problem with:

./apache2.sh start

Obviously, I have to run it as root.

-- 
Gerard Seibert
[EMAIL PROTECTED]


"I'm not afraid of flying...I'm afraid of being at 35,000 feet and
suddenly *not* flying."

Koren

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread Gerry Freymann
On Mon, 21 Nov 2005 11:32:29 -0500
"Michael P. Soulier" <[EMAIL PROTECTED]> wrote:

>On 11/17/05, Gerry Freymann <[EMAIL PROTECTED]> wrote:
>>  If you manually want to do this, you *must* use the full path to the
>> script:
>>
>> /usr/local/etc/rc.d/samba.sh start | stop
>
>In the rc(8) manpage, it states that .sh scripts are sourced directly.
>
> 4.   Call each script in turn using run_rc_script() (from
> rc.subr(8)),
>  which sets $1 to ``start'', and sources the script in a
>  subshell. If the script has a .sh suffix then it is sourced
>  directly into the current shell.
>
>Why is that? I've found that running apache.sh directly with
>start|stop doesn't work. I need to run apachectl.

 In order to manually call up apache.sh in the /usr/local/etc/rc.d
directory, you have to use the full path to the script.

 If you:

cd /usr/local/etc/rc.d
./apache.sh start

 it should complain and error out. 

 but if you did:

/usr/local/etc/rc.d/apache.sh start

 things should go as planned.

 That's, at least, if you wanna do it manually (to either stop or start a
service that has a shell script in there).

-gerry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nss_ldap on FreeBSD 5.3

2005-11-21 Thread Nathan Vidican
Two things to check, first off, user must be in group 'wheel' (gid 0), in order 
to su, and also check settings in "/etc/pam.d/su", (su has seperate settings).


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/

Robert Fitzpatrick wrote:

On Mon, 2005-11-21 at 10:49 -0500, Nathan Vidican wrote:


Robert Fitzpatrick wrote:


I find several docs on setting this up, but none pertaining to linux
compat. Can anyone point me to some instructions for setting this up
properly?


Um... actually VERY easy...

Step 1:   install nss_ldap & pam_ldap
2:edit /usr/local/etc/nss_ldap.conf
  edit /usr/local/etc/ldap.conf
  edit /usr/local/etc/ldap.secret
3:	  edit /etc/nssswitch.conf, change from 'files' to 'files ldap' for 'group', 
and 'passwd' (optionally) 'hosts' too.
4:	  do a quick 'ldapsearch -x' to make sure you are connecting/searching the 
correct ldap tree...
5:	  edit /etc/pam.d/ file(s) for which types of accounts you want to 
authenticate. ie: system, login, ftp, ssh, other, etc... should have to add a 
line like:


authsufficient  /usr/local/lib/pam_ldap.so  try_first_pass




Thanks, that was easy, I was just missing the part about nss_ldap.conf,
I didn't realize there was a separate file for nss. I have the logins
working with gnome well, but I noticed once I login as an LDAP user, I
cannot su to root in terminal session...

[EMAIL PROTECTED] su
Password:
su: Sorry
[EMAIL PROTECTED]

Can someone point out why this happens?

--
Robert




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: reaplay and mplay/mplugin....

2005-11-21 Thread myfreebsd
Gary,

I am sorry I misread your email. I haven't really tried too much to have 
streaming audio through the browser (Although I don't see how this would be 
different). My problem with Realplayer is that I could get sound but no video. 
mplayerplug-in is still under development so I am sure they will get it worked 
out eventually. In the meantime, I would checkout plugger. It doesn't try to 
haddle the stream itself put hands it off to other apps such as mplayer or 
xine. Might  work better for you. I am actaully going to give it a go tonight.

David
> 
> From: Gary Kline <[EMAIL PROTECTED]>
> Date: 2005/11/21 Mon PM 12:44:29 EST
> To: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED],  freebsd-questions@freebsd.org
> Subject: Re: reaplay and mplay/mplugin
> 
> On Mon, Nov 21, 2005 at 09:39:50AM -0500, [EMAIL PROTECTED] wrote:
> > >I'd be pleased to use just one audio app  that does >everything:
> > >   mp3, mp4/aacplus, realplay streams, or windows.  >What do I
> > >   need to do to enable this?   Should I pkg_delete my >real/helix
> > >   port?  Is having both realplay and >mplayer/mplayerplugin causing 
> > >   the confusion?   Any ideas?
> > 
> > Gary,
> > 
> > mplayerplug-in does play real video up to version 9 I believe (may have 
> > changed recently). It is not very stable and will crash firefox if you try 
> > to leave the page the stream is playing in (including closing firefox). 
> 
> 
>   So that's why firefox disappeared last night.  ... .
> 
> > I could not get realplayer plugin to work so I suffer through this 
> > limitation. To enable it, follow these steps
> 
>   I found the real=0/=1 tag in the mplayerplug-in.conf so I
>   understand *that's* why mplayerplugin fires up after I've 
>   tried to listen to a streaming Windoze site.  It seriously 
>   torques me when mplayerplugin works only One time; then 
>   it quits.  It switches to "Stop" and I'm left banging my
>   head against the CRT :-|  
> 
>   It would be great if one audio player would play real, mp3,
>   mp4, and xwa but somebody must be conspiring to drive 
>   me even further over the edge---wait, too late, I've already
>   gone over, wy over.
> 
> 
> > 1. Either rm or rename /usr/X11R6/lib/browser_plugins/nphelix.so and .xpt or
> > edit the /etc/libmap.conf file and comment out the section about realplayer 
> > (this is what I have done)
> 
>   Ok, I never thought of touching libmap.conf.  It'd be simpler
>   than mv'ing files
> 
> > 2. edit /usr/X11R6/etc/mplayerplug-in.conf and change the line that says 
> > #enable-real=0 to 1.
> > 3. Restart mozilla/firefox and real video will now play in mplayerplug-in.
> > 
> > Hope this is what you were looking for. I don't think there is any other 
> > video plugin that will play all that. You might have a look at plugger.
> > 
>   Thanks for your help.  I'm looking for either one app/plugin that
>   will do "everything" or multiple plugins that will play different
>   streams.     Gotta print out your mail...
> 
> 
>   gary
> 
> 
>   PS to the list: if anybody eles has any input, please join in.
> 
> 
> > David
> > 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> -- 
>Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
> 
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: Load at 1.00 on SMP machine

2005-11-21 Thread myfreebsd
Have you tried it as follows:

1. Compile kernel with SMP and APIC included
2. Set machdep.hlt_logical_cpus=0 in loader.conf or sysctl.conf (0 not 1)
3. Set machdep.hyperthreading_allowed=1 in loader.conf

See if that helps. If not, remove machdep.hyperthreading or set it to 0. From 
my understanding that should disable HTT

>From FreeBSD 6.0 RelNotes:
Because of an information disclosure vulnerability on processors using 
Hyper-Threading Technology (HTT), the machdep.hyperthreading_allowed sysctl 
variable has been added. It defaults to 1 (HTT enabled) on FreeBSD CURRENT, and 
0 (HTT disabled) on the 4-STABLE and 5-STABLE development branches and 
supported security fix branches. More information can be found in security 
advisory FreeBSD-SA-05:09.htt. [MERGED]

I think machdep.hlt_logical_cpus does not deactivate the other cpu it just 
keeps the OS from directing data to it hence the 1.00 load on your remaining 
cpu. 

David
> 
> From: "Axel S. Gruner" <[EMAIL PROTECTED]>
> Date: 2005/11/21 Mon PM 12:25:59 EST
> To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> CC: <[EMAIL PROTECTED]>,  freebsd-questions@freebsd.org
> Subject: Re: Load at 1.00 on SMP machine
> 
> Hi,
> 
> Am 21.11.2005 um 16:17 schrieb <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>:
> 
> >> i got a Problem on my dual XEON 3.06 GhZ machine, 2GB of >RAM,  
> >> FreeBSD
> >> 5.4-STABLE.
> >> I got "option SMP" in the kernel config and  
> >> >"machdep.hlt_logical_cpus=1" in
> >> /boot/loader.conf.
> >> There are just 20 processes running (typical ones like >getty and  
> >> stuff) and
> >> the load of this machine is at 1.xx. There is no bgfsck and >other  
> >> stuff.
> >
> >> So, i built a new kernel without "option SMP", rebooted, >and the  
> >> load was
> >> at 0.0x. But only one CPU was used (detected).
> >
> >> So, what could bei the Problem?
> >> Well, the machine shows me 4 CPUs, HTT is not enabled via >/boot/ 
> >> loader.conf
> >> and "machdep.hyperthreading_allowed". So, how to disable >HTT?  
> >> Maybe this is
> >> the problem of the high load?
> >
> > Why are you setting machdep.hlt_logical_cpus=1? My understanding,  
> > this would turn off one of the cpus. It should be set to 0 to have  
> > both cpus going. Also it is set in sysctl.conf not loader.conf, at  
> > least, that is how I have it.
> 
> Both CPUs are working. Also, works with machdep in loader.conf.
> Thats not the problem.
> 
> > I am also curious how machdep.hyperthreading_allowed works. I run 6  
> > so I believe it is turned on by default. Is this correct? Also if  
> > it is a solo cpu with HTT, do you need option SMP and  
> > machdep.hlt_logical_cpus=0 set or not with  
> > machdep.hyperthreading_allowed on?
> 
> I do not know. I just want turn off HTT, but stay with SMP. So i want  
> my two phyiscal CPUs working, but not the logical (HTT) one.
> This is because is think maybe the load of 1.0x comes from turning on  
> HTT. Well, if i do not use SMP in the kernel, the load is fine, but  
> there is just one of the physical CPUs working.
> 
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nss_ldap on FreeBSD 5.3

2005-11-21 Thread Robert Fitzpatrick
On Mon, 2005-11-21 at 10:49 -0500, Nathan Vidican wrote:
> Robert Fitzpatrick wrote:
> > I find several docs on setting this up, but none pertaining to linux
> > compat. Can anyone point me to some instructions for setting this up
> > properly?
> Um... actually VERY easy...
> 
> Step 1:   install nss_ldap & pam_ldap
> 2:edit /usr/local/etc/nss_ldap.conf
> edit /usr/local/etc/ldap.conf
> edit /usr/local/etc/ldap.secret
> 3:  edit /etc/nssswitch.conf, change from 'files' to 'files ldap' for 
> 'group', 
> and 'passwd' (optionally) 'hosts' too.
> 4:  do a quick 'ldapsearch -x' to make sure you are connecting/searching 
> the 
> correct ldap tree...
> 5:  edit /etc/pam.d/ file(s) for which types of accounts you 
> want to 
> authenticate. ie: system, login, ftp, ssh, other, etc... should have to add a 
> line like:
> 
> authsufficient  /usr/local/lib/pam_ldap.so  try_first_pass
> 

Thanks, that was easy, I was just missing the part about nss_ldap.conf,
I didn't realize there was a separate file for nss. I have the logins
working with gnome well, but I noticed once I login as an LDAP user, I
cannot su to root in terminal session...

[EMAIL PROTECTED] su
Password:
su: Sorry
[EMAIL PROTECTED]

Can someone point out why this happens?

--
Robert

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reaplay and mplay/mplugin....

2005-11-21 Thread Gary Kline
On Mon, Nov 21, 2005 at 09:39:50AM -0500, [EMAIL PROTECTED] wrote:
> >I'd be pleased to use just one audio app  that does >everything:
> > mp3, mp4/aacplus, realplay streams, or windows.  >What do I
> > need to do to enable this?   Should I pkg_delete my >real/helix
> > port?  Is having both realplay and >mplayer/mplayerplugin causing 
> > the confusion?   Any ideas?
> 
> Gary,
> 
> mplayerplug-in does play real video up to version 9 I believe (may have 
> changed recently). It is not very stable and will crash firefox if you try to 
> leave the page the stream is playing in (including closing firefox). 


So that's why firefox disappeared last night.  ... .

> I could not get realplayer plugin to work so I suffer through this 
> limitation. To enable it, follow these steps

I found the real=0/=1 tag in the mplayerplug-in.conf so I
understand *that's* why mplayerplugin fires up after I've 
tried to listen to a streaming Windoze site.  It seriously 
torques me when mplayerplugin works only One time; then 
it quits.  It switches to "Stop" and I'm left banging my
head against the CRT :-|  

It would be great if one audio player would play real, mp3,
mp4, and xwa but somebody must be conspiring to drive 
me even further over the edge---wait, too late, I've already
gone over, wy over.


> 1. Either rm or rename /usr/X11R6/lib/browser_plugins/nphelix.so and .xpt or
> edit the /etc/libmap.conf file and comment out the section about realplayer 
> (this is what I have done)

Ok, I never thought of touching libmap.conf.  It'd be simpler
than mv'ing files

> 2. edit /usr/X11R6/etc/mplayerplug-in.conf and change the line that says 
> #enable-real=0 to 1.
> 3. Restart mozilla/firefox and real video will now play in mplayerplug-in.
> 
> Hope this is what you were looking for. I don't think there is any other 
> video plugin that will play all that. You might have a look at plugger.
> 
Thanks for your help.  I'm looking for either one app/plugin that
will do "everything" or multiple plugins that will play different
streams.     Gotta print out your mail...


gary


PS to the list: if anybody eles has any input, please join in.


> David
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Proposed license for IETF Contributions

2005-11-21 Thread Simon Josefsson
James Bailie <[EMAIL PROTECTED]> writes:

> Simon's proposed license seems reasonable to me.  It is
> essentially a BSD-style license, allowing royalty-free
> redistribution and modification, but with a difference when it
> comes to attribution.  Original unmodified text from a
> specification must contain an attribution to the source document,
> while any modified versions (which may contain inaccuracies) have
> to have all references to the source organizations removed.

Right.  Thanks for looking at the license.  We have later identified a
potential problem, in that removing all references to the source
organization is not what we always want.  It seem useful for derived
work to continue to be able to state that they are derived from an
IETF document.  I.e., the IETF must be mentioned if you are going to
cite it.

I'll post the updated license on freebsd-doc, it was suggested to move
this discussion there, to reach a better audience.

Thanks,
Simon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Proposed license for IETF Contributions

2005-11-21 Thread Simon Josefsson
"Ted Mittelstaedt" <[EMAIL PROTECTED]> writes:

> Hi Simon,
>
>   You might check this but I believe that the Copyright convention
> specifically
> excepts "specifications" from copyright coverage.  I think there's some
> other
> classes of original work that fall under this.  How about simply
> rewriting the
> ITEF license to designate any RFC as the complete RFC is a specification,
> and therefore uncopyrightable.

Hi Ted.  I have not seen anyone suggest this before, and I strongly
doubt that anything as complex as a specification would be excepted
from copyright coverage.  All specifications I have read have been
copyrighted.

Perhaps you are thinking of US Governmental works?  They are not
copyrighted in the same way other works are.

Please provide me with a reference for this.

Thanks,
Simon


>
> Ted
>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf Of Simon Josefsson
>>Sent: Friday, November 18, 2005 7:28 AM
>>To: freebsd-questions@freebsd.org
>>Subject: Proposed license for IETF Contributions
>>
>>
>>Hi all.  I noticed the following in the release notes for 6.0:
>>
>>   The following manual pages, which were derived from RFCs and
>>   possibly violate the IETF's copyrights, have been replaced:
>>   gai_strerror(3), getaddrinfo(3), getnameinfo(3), inet6_opt_init(3),
>>   inet6_option_space(3), inet6_rth_space(3), inet6_rthdr_space(3),
>>   icmp6(4), and ip6(4). [MERGED]
>>
>>I'm working on a proposed update for the copying conditions (i.e., the
>>copyright license) used on IETF Contributions.  One goal is to make
>>the license more aligned with open source and free software
>>requirements.  More background at .
>>
>>I'd like the FreeBSD community input on a whether a my proposed
>>license would have avoided the above situation, and similar situations
>>in the future.
>>
>>The issue is whether the RFC 3978 license permit using RFC excerpts in
>>source code or documentation (man pages in your case) that is licensed
>>under a free software license.  I believe RFC 3978 do not permit this,
>>and judging from your release notes, it seems you share that view.
>>
>>Anyway.  Here is my proposed license:
>>
>>c.  The Contributor grants third parties the irrevocable
>>right to copy, use and distribute the Contribution, with
>>or without modification, in any medium, without royalty,
>>provided that redistributed modified works do not contain
>>misleading author or version information.  This
>>specifically imply, for instance, that redistributed
>>modified works must remove any references to endorsement
>>by the IETF, IESG, IANA, IAB, ISOC, RFC Editor, and
>>similar organizations and remove any claims of status as
>>Internet Standard, e.g., by removing the RFC boilerplate.
>>The IETF requests that any citation or excerpt of
>>unmodified text reference the RFC or other document from
>>which the text is derived.
>>
>>Comments?  Suggestions?
>>
>>RFC excerpts are sometimes used in source code too, so the above
>>scenario with the man pages may not be a isolated accident.  I looked
>>at Apache, Samba, OpenSSL and some other packages, and they all cite
>>RFCs in various places.  That usage may also be problematic, but I'm
>>not sure.
>>
>>Thanks,
>>Simon
>>___
>>freebsd-questions@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to
>>"[EMAIL PROTECTED]"
>>
>>--
>>No virus found in this incoming message.
>>Checked by AVG Free Edition.
>>Version: 7.1.362 / Virus Database: 267.13.4/175 - Release Date:
>>11/18/2005
>>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Load at 1.00 on SMP machine

2005-11-21 Thread Axel S. Gruner

Hi,

Am 21.11.2005 um 16:17 schrieb <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>:

i got a Problem on my dual XEON 3.06 GhZ machine, 2GB of >RAM,  
FreeBSD

5.4-STABLE.
I got "option SMP" in the kernel config and  
>"machdep.hlt_logical_cpus=1" in

/boot/loader.conf.
There are just 20 processes running (typical ones like >getty and  
stuff) and
the load of this machine is at 1.xx. There is no bgfsck and >other  
stuff.


So, i built a new kernel without "option SMP", rebooted, >and the  
load was

at 0.0x. But only one CPU was used (detected).



So, what could bei the Problem?
Well, the machine shows me 4 CPUs, HTT is not enabled via >/boot/ 
loader.conf
and "machdep.hyperthreading_allowed". So, how to disable >HTT?  
Maybe this is

the problem of the high load?


Why are you setting machdep.hlt_logical_cpus=1? My understanding,  
this would turn off one of the cpus. It should be set to 0 to have  
both cpus going. Also it is set in sysctl.conf not loader.conf, at  
least, that is how I have it.


Both CPUs are working. Also, works with machdep in loader.conf.
Thats not the problem.

I am also curious how machdep.hyperthreading_allowed works. I run 6  
so I believe it is turned on by default. Is this correct? Also if  
it is a solo cpu with HTT, do you need option SMP and  
machdep.hlt_logical_cpus=0 set or not with  
machdep.hyperthreading_allowed on?


I do not know. I just want turn off HTT, but stay with SMP. So i want  
my two phyiscal CPUs working, but not the logical (HTT) one.
This is because is think maybe the load of 1.0x comes from turning on  
HTT. Well, if i do not use SMP in the kernel, the load is fine, but  
there is just one of the physical CPUs working.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: plugin in mozilla

2005-11-21 Thread Filippo Moretti

[EMAIL PROTECTED] wrote:


Tino Boss wrote:
   



 


Mikael Backman wrote:

 


hi!
i have installed linuxpluginwrapper and added the file >/etc/libmap.conf
from the examples for 6.0 but mozilla shows no plugin >installed...
what can i do? i even rebooted ...
   



These things were discussed here before; so you might >wanna have a 
look at the archives.


Short version:

- install the required ports: mozilla/firefox, linuxpluginwrapper 
(plugins should be installed automatically as its dependencies)

- create the apropriate links in /usr/X11R6/lib/browser_plugins
   


what exactly should be linked for acroread7?


- verify the paths in /etc/libmap.conf
- rename  /usr/local/bin/acroread7 to /usr/local/bin/acroread for 
acroread plugin to work


Tino
   



 


I did all the above but acrobat does not work as plugin of >mozilla
sincerely
Filippo Moretti
   



You will also need to change the libmap.conf entry for acroread. It points to /usr/compat/linux and needs to point to the nppd.so in /usr/local/lib/acroread. 

I have mine in 
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so

but still does not work after editing /etc/libmap.conf accordingly
thank you
Filippo


You will need to enter the full pathname (sorry I am at work on MS).

David



 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Really odd issue with KDE3.4 and FBD 5.3 with sound.

2005-11-21 Thread Steven Lake
Just recently upgraded a box from a static server to a workstation and 
installed KDE 3.4, upgraded the kernel to the latest patch.  Yet when I play 
two audio sources, about 2/3rds of the time it gags KDE pretty badly and I have 
to shell in from another machine and kill the process.  Any ideas what might be 
causing this?

I've got the following settings configured in my sysctl.conf file.

hw.snd.pcm0.vchans=6
hw.snd.maxautovchans=6

It works properly on another machine very simliar to it without a problem, but 
not this one.  The only difference is that the board in the machine this config 
works on is an MSI Nvidia board (N7 something, I forgot what exacty) and the 
one it's not working on has an Asus A7V8X-X board in it.  Would this have 
anything to do with my issue, or is there something else I'm unaware of?

-- 
Steven Lake 
Network Geek
 
"Duct Tape takes over where skill leaves off" 
     -Larry the Cucumber from Veggie Tales. 
 
"I'm not afraid of flying...I'm afraid of being at 35,000 feet and suddenly 
*not* flying."
-Koren
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OO 2

2005-11-21 Thread kaim
kalin mintchev wrote:

> hi...
> 
> how long should take to build openofice2 from ports?!
> it has been going on for almost 24 hours now...
> 

Last time it took's me... for my 2.5 Gz athlon 1.5 days, and for 733 Mz Celeron 
almost 4 days )))

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wireless networking issue with cm9 card

2005-11-21 Thread Leon Botes

I am using a routerboard 14 on freebsd 6.0.
I have Senoa 5354 card installed and setup as an AP an all works fine.
I use exactly the same setup with a cm9 card and i get exactly nothing.
Tried setting it to be an AP client and it sees nothing.

The lights on the routerboard keep flashing rythmically for the cm9 
while those on the 5354 are on constantly.

Has anyone had experience in this configuration.
dmesg gives same output for cm9 as for 5354.
Is there any configuration specific to the cm9 that is different.

Thanks Leon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread Michael P. Soulier
On 11/17/05, Gerry Freymann <[EMAIL PROTECTED]> wrote:
>  If you manually want to do this, you *must* use the full path to the
> script:
>
> /usr/local/etc/rc.d/samba.sh start | stop

In the rc(8) manpage, it states that .sh scripts are sourced directly.

 4.   Call each script in turn using run_rc_script() (from rc.subr(8)),
  which sets $1 to ``start'', and sources the script in a subshell.
  If the script has a .sh suffix then it is sourced directly into the
  current shell.

Why is that? I've found that running apache.sh directly with
start|stop doesn't work. I need to run apachectl.

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Berkeley db

2005-11-21 Thread Efren Bravo
Hi,

I'm tring to install a jabberd server with
Berkeley db auth.

Is sysinstall->configure->packages->
databases->db4-4.0.14_1,1 and db42-4.2.52_4 a
Berkeley db instalation?

Is there a client to manage this db?

Thanks...

Efren Bravo.



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: copy & paste troubles

2005-11-21 Thread Peter

--- Jerry McAllister <[EMAIL PROTECTED]> wrote:

> > 
> > Hi.  Running 5.4 stable here.  I have an annoying problem with my copy
> &
> > paste. When I copy something from an xterm and paste it into an X app
> the
> > string appears in the middle of a previously copied string made from
> > within an X app.
> > 
> > Example:
> > I copy "http://freshmeat.com/"; from Firefox and then "postfix" from my
> > xterm.  Pasting  in my xterm gives me "postfix" but pasting in Firefox
> > gives me "http://freshmeat.cpostfixom/";.
> 
> I have noticed that numerous applications, including HTLM forms tend
> to insert where-ever the mouse pointer is rather than where the
> cursor is.   Or, maybe, as soon as you click the mouse to do the 
> insert, it first changes the cursor position to wherever the pointer
> is and then does the insert. 
> 
> So, I just have to make sure I move my mouse pointer to exactly where I 
> want things to insert.   I get caught on this frequently.
> 
> I don't know if that is what your situation is, but it sounds like a
> possibility, so check it out.

No, it is not a matter of *where* it is inserted.  It is *what* is
inserted.

And Shift-insert only works between my X apps.  Copying something from my
(X-generated-fluxbox) xterm does not paste anything when doing this, say,
in my web browser search field.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nss_ldap on FreeBSD 5.3

2005-11-21 Thread Nathan Vidican

Robert Fitzpatrick wrote:

I find several docs on setting this up, but none pertaining to linux
compat. Can anyone point me to some instructions for setting this up
properly?

--
Robert

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



Um... actually VERY easy...

Step 1:   install nss_ldap & pam_ldap
2:edit /usr/local/etc/nss_ldap.conf
  edit /usr/local/etc/ldap.conf
  edit /usr/local/etc/ldap.secret
3:	  edit /etc/nssswitch.conf, change from 'files' to 'files ldap' for 'group', 
and 'passwd' (optionally) 'hosts' too.
4:	  do a quick 'ldapsearch -x' to make sure you are connecting/searching the 
correct ldap tree...
5:	  edit /etc/pam.d/ file(s) for which types of accounts you want to 
authenticate. ie: system, login, ftp, ssh, other, etc... should have to add a 
line like:


authsufficient  /usr/local/lib/pam_ldap.so  try_first_pass

That should be it. Assuming your librairies are up to date, you have a valid 
db/tree in ldap you can connect and search... then you should be able to login 
right away.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: copy & paste troubles

2005-11-21 Thread Lowell Gilbert
Jerry McAllister <[EMAIL PROTECTED]> writes:

> I have noticed that numerous applications, including HTLM forms tend
> to insert where-ever the mouse pointer is rather than where the
> cursor is.   Or, maybe, as soon as you click the mouse to do the 
> insert, it first changes the cursor position to wherever the pointer
> is and then does the insert. 
> 
> So, I just have to make sure I move my mouse pointer to exactly where I 
> want things to insert.   I get caught on this frequently.
> 

Shift-insert is often useful for this case...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Question about ZFS support

2005-11-21 Thread Vasiliy Khodyrev
Good morning/afternoon/evening,

 

I have a question to FreeBSD developers:

 

Are you planning to include support for ZFS(link below) into FreeBSD in any
future releases?

 

http://www.opensolaris.org/os/community/zfs/docs/

 

 

Best regards,

Vasiliy Khodyrev

 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nss_ldap on FreeBSD 5.3

2005-11-21 Thread Robert Fitzpatrick
I find several docs on setting this up, but none pertaining to linux
compat. Can anyone point me to some instructions for setting this up
properly?

--
Robert

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread martinko
On Mon, 21 Nov 2005 14:22:19 +, Halldor R. Haflidason wrote
> On Monday, 21 November 2005 at 15:11:35 +0100, martinko wrote:
> > On Mon, 21 Nov 2005 10:17:01 +0800, Foo Ji-Haw wrote
> > > > i wonder why i cannot start for instance ssh with
> > > > /etc/rc.d/sshd start
> > > > but i always have to use
> > > > /etc/rc.d/sshd forcestart
> > > > and similarly for stop, status, etc.
> > > > 
> > > > any ideas pls ??
> > > You have to add a line in /etc/rc.conf. I think it is 
> > > samba_enable="YES".
> > 
> > 
> > well, if you add sshd_enable="YES", the service (always) starts on boot.
> > 
> > i just want to start it manually and i wonder why it doesn't listen to 
> > "start"
> > argument but only "forcestart" and similarly for other commands i've got to
> > use "force".
> > 
> > anyone knows why pls ??
> > 
> > martin
> 
> Because when the system boots up it sends the 'start' argument to 
> all the scripts in the rc.d directories, those scripts then check 
> wether they should start or not. Force start simply overrides that check.
> 
> Halldor


ok, i see now, thanks for your explanation!

m.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting services?

2005-11-21 Thread Karol Kwiatkowski
Michael Beattie wrote:
> On 11/21/05, Halldor R. Haflidason <[EMAIL PROTECTED]> wrote:
>> On Monday, 21 November 2005 at 15:11:35 +0100, martinko wrote:
>>> On Mon, 21 Nov 2005 10:17:01 +0800, Foo Ji-Haw wrote
> i wonder why i cannot start for instance ssh with
> /etc/rc.d/sshd start
> but i always have to use
> /etc/rc.d/sshd forcestart
> and similarly for stop, status, etc.
>
> any ideas pls ??
 You have to add a line in /etc/rc.conf. I think it is
 samba_enable="YES".
>>>
>>> well, if you add sshd_enable="YES", the service (always) starts on boot.
>>>
>>> i just want to start it manually and i wonder why it doesn't listen to 
>>> "start"
>>> argument but only "forcestart" and similarly for other commands i've got to
>>> use "force".
>>>
>>> anyone knows why pls ??
>>>
>>> martin
>> Because when the system boots up it sends the 'start' argument to all the
>> scripts in the rc.d directories, those scripts then check wether they
>> should start or not. Force start simply overrides that check.
>>
>> Halldor
> 
> Then something's broken, no?  If the service isnt running and you send
> it a "start" and it doesnt start, then that's bad.  You shouldnt need
> to override some checks, it should do what it's commanded to do.

If you're talking about implementation no, it's not. In order to start
a service with "start" argument it needs to be "enabled" in
/etc/rc.conf. It's nicely documented in various places like man 8 rc
or /etc/rc.subr.

What OP is looking for is 'onestart' and 'onestop' parameters. I was
looking for a solution to the same issue some days ago and found that
in /etc/rc.subr:

#   If argument has a given prefix, then change the operation as
follows:
#   Prefix  Operation
#   --  -
#   fastSkip the pid check, and set rc_fast=yes
#   force   Set ${rcvar} to YES, and set rc_force=yes
#   one Set ${rcvar} to YES

Basically "/etc/rc.d/sshd onestart" will let you run sshd service
without enabling it in rc.conf (which also means it'll start at boot
time) yet it checks if sshd is not running already.

Hope that helps,

Karol

-- 
Karol Kwiatkowski  



signature.asc
Description: OpenPGP digital signature


RE:Load at 1.00 on SMP machine

2005-11-21 Thread myfreebsd
>i got a Problem on my dual XEON 3.06 GhZ machine, 2GB of >RAM, FreeBSD
>5.4-STABLE.
>I got "option SMP" in the kernel config and >"machdep.hlt_logical_cpus=1" in
>/boot/loader.conf.
>There are just 20 processes running (typical ones like >getty and stuff) and
>the load of this machine is at 1.xx. There is no bgfsck and >other stuff.

>So, i built a new kernel without "option SMP", rebooted, >and the load was
>at 0.0x. But only one CPU was used (detected).

>So, what could bei the Problem?
>Well, the machine shows me 4 CPUs, HTT is not enabled via >/boot/loader.conf
>and "machdep.hyperthreading_allowed". So, how to disable >HTT? Maybe this is
>the problem of the high load?

Why are you setting machdep.hlt_logical_cpus=1? My understanding, this would 
turn off one of the cpus. It should be set to 0 to have both cpus going. Also 
it is set in sysctl.conf not loader.conf, at least, that is how I have it. 

I am also curious how machdep.hyperthreading_allowed works. I run 6 so I 
believe it is turned on by default. Is this correct? Also if it is a solo cpu 
with HTT, do you need option SMP and machdep.hlt_logical_cpus=0 set or not with 
machdep.hyperthreading_allowed on?

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: plugin in mozilla

2005-11-21 Thread James Bailie


>> Short version:
>>
>> - install the required ports: mozilla/firefox, linuxpluginwrapper
>> (plugins should be installed automatically as its dependencies)

linuxpluginwrapper does not install plugins as dependencies
unless one passes the -DWITH_PLUGINS option to make.  This may be
the problem.

--
James Bailie <[EMAIL PROTECTED]>
http://www.jamesbailie.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HELP! ports messed up

2005-11-21 Thread cs

Hi,

On a FreeBSD 5.4-RELEASE-p7 machine I maintain a partial port tree by 
using "porteasy -u foo" to pull in new ports when needed and a daily 
periodic script to do update /usr/ports as follows:


cd /usr/ports
cvs -f -q up
make fetchindex
/usr/local/sbin/portsdb -u
/usr/local/sbin/pkgdb -Fa

The CVS/Root entry is: :ext:[EMAIL PROTECTED]:/home/ncvs

Recently, I began to experience problem with the cvs repository above, 
error messages are (from 10 Nov):


ssh: connect to host anoncvs.FreeBSD.org port 22:
Operation timed out
cvs [update aborted]: end of file from server
(consult above messages if any)

and (from 14 Nov)

Cannot access /home/ncvs/CVSROOT
No such file or directory

I now am having problem with (I suspect) the port indices.

If I run "pkg_version -vL=", I get:

fastest_cvsup-0.2.9_2  >   succeeds port (port has 0.2.9_1)
p5-Class-DBI-3.0.12>   succeeds port (port has 3.0.10)
pear-PEAR-1.4.4>   succeeds port (port has 1.3.5_1)
phpbb-2.0.18   >   succeeds port (port has 2.0.17)
subversion-1.2.3_3 <   needs updating (port has 1.3.0.r2)

while "portversion -vL=" produces:

cyrus-sasl-2.1.21   <  needs updating (port has 2.1.21_1)
m4-1.4.3<  needs updating (port has 1.4.4)
netpbm-10.26.18 <  needs updating (port has 10.26.19)
p5-HTML-Parser-3.45 <  needs updating (port has 3.46)
p5-HTML-Tagset-3.04 <  needs updating (port has 3.10)
p5-PathTools-3.12   <  needs updating (port has 3.14)
pear-apd-1.0.1,1>  succeeds port (port has 0.9.2,1)
php5-pear-5.0.5 <  needs updating (port has 5.0.5_1)
phpMyAdmin-2.6.4.3  <  needs updating (port has 2.6.4.4)
pkgconfig-0.19  <  needs updating (port has 0.20)
postfix-2.3.20051014,2  <  needs updating (port has 2.3.20051118,2)
ruby-1.8.2_5<  needs updating (port has 1.8.2_5,1)
snort-2.4.3 <  needs updating (port has 2.4.3_1)
subversion-1.2.3_3  <  needs updating (port has 1.3.0.r2)
sudo-1.6.8.9<  needs updating (port has 1.6.8.12)
webmin-1.240<  needs updating (port has 1.240_1)
zip-2.3_2   <  needs updating (port has 2.31)
zoo-2.10.1  <  needs updating (port has 2.10.1_1)


If I do a "portupgrade zoo", it says:

** No need to upgrade 'zoo-2.10.1' (>= zoo-2.10.1)

I have tried the followings but still cannot resolve this:

pkgdb -Fu
pkgdb -fu
portsdb -Fu
porteasy -ua

I dont think I can do a "portsdb -U" because my portage is partial (am i 
right ?)


Please HELP!

-cs

p.s. since I realized that anoncvs.freebsd.org is unavialble, I have 
switched to use anoncvs1.freebsd.org, e.g. in the daily script I use:

"cvs -d:ext:[EMAIL PROTECTED]:/home/ncvs -f -q up"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: copy & paste troubles

2005-11-21 Thread Jerry McAllister
> 
> Hi.  Running 5.4 stable here.  I have an annoying problem with my copy &
> paste. When I copy something from an xterm and paste it into an X app the
> string appears in the middle of a previously copied string made from
> within an X app.
> 
> Example:
> I copy "http://freshmeat.com/"; from Firefox and then "postfix" from my
> xterm.  Pasting  in my xterm gives me "postfix" but pasting in Firefox
> gives me "http://freshmeat.cpostfixom/";.

I have noticed that numerous applications, including HTLM forms tend
to insert where-ever the mouse pointer is rather than where the
cursor is.   Or, maybe, as soon as you click the mouse to do the 
insert, it first changes the cursor position to wherever the pointer
is and then does the insert. 

So, I just have to make sure I move my mouse pointer to exactly where I 
want things to insert.   I get caught on this frequently.

I don't know if that is what your situation is, but it sounds like a
possibility, so check it out.

jerry

> 
> Any ideas?
> 
> --
> Peter
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OpenOffice 2 unable to work with files over NFS

2005-11-21 Thread Bill Moran
Lowell Gilbert <[EMAIL PROTECTED]> wrote:

> Bill Moran <[EMAIL PROTECTED]> writes:
> 
> > uname -a
> > FreeBSD bolivia.potentialtech.com 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: 
> > Fri May 27 01:08:00 EDT 2005 [EMAIL 
> > PROTECTED]:/usr/obj/usr/src/sys/WORKING  i386
> > 
> > open pkg_info | grep office
> > openoffice.org-2.0.0_1 Integrated 
> > wordprocessor/dbase/spreadsheet/drawing/chart/
> > 
> > OO works fine, unless I try to connect to a document over NFS.  Then all 
> > goes
> > badly.  I consistenly get a "general input/output error while accessing
> > "  This occurs when trying to open previously created .sxc
> > and .odt docs, as well as when trying to create new documents.  I'm having
> > the exact same problem on a laptop, which is nearly the same FreeBSD setup.
> > 
> > OO 1.x has worked fine on this setup for quite a while.  I recently upgrade
> > to OO 2 and *boom* can't work off the server.
> > 
> > If I copy any of these files from the server to my local HDD, all is well.
> > I chmoded the files to 777, but it doesn't make any difference.  I have
> > never had any other problems with this NFS server prior to this (and
> > I don't at this time, either).  The file server is still FreeBSD 4.
> > 
> > I'm going to try to do some NFS debugging, but I'm not an NFS expert by
> > any stretch of the imagination, so I thought I'd a) first see if anyone
> > else was familiar with this issue b) see if anyone had any advice on
> > how to proceed with debugging.
> 
> Enable RPC statd and lockd.
> 
> rc.conf:
> rpc_lockd_enable="YES"
> rpc_statd_enable="YES"

Yup.  That fixed it.

That's why I ask questions on this list - because you guys are wicked smart.

Thanks.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: uninstalling packages...

2005-11-21 Thread Alex Zbyslaw

Javier Matos wrote:


Hello, I want information about uninstallation of packages. I know how to perform that kind of 
actions but I really want to know if something like pkg_add "a_package" and then 
pkg_delete "a_package" really delete ALL FILES installed with pkg_add command.
 


In short, yes.  This isn't windows :-)

The long answer is that each package provides information about what 
files it installs and thus what files to de-install.  So the maintainer 
of the package/port has to get the list of files correct, but I've 
rarely seen any problems.  So if you find that a package isn't deleting 
something you should ask here or contact the port maintainer.


However, if you create any local configuration files (say, for example, 
/usr/local/etc/smartd.conf, or user specific openoffice directories) 
they shouldn't be deleted.


--Alex



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE:Re: plugin in mozilla

2005-11-21 Thread myfreebsd
>Tino Boss wrote:

>> Mikael Backman wrote:
>>
>>> hi!
>>> i have installed linuxpluginwrapper and added the file >/etc/libmap.conf
>>> from the examples for 6.0 but mozilla shows no plugin >installed...
>>> what can i do? i even rebooted ...
>
>
>
> These things were discussed here before; so you might >wanna have a 
> look at the archives.
>
> Short version:
>
> - install the required ports: mozilla/firefox, linuxpluginwrapper 
> (plugins should be installed automatically as its dependencies)
> - create the apropriate links in /usr/X11R6/lib/browser_plugins
> - verify the paths in /etc/libmap.conf
> - rename  /usr/local/bin/acroread7 to /usr/local/bin/acroread for 
> acroread plugin to work
>
> Tino

>I did all the above but acrobat does not work as plugin of >mozilla
>sincerely
>Filippo Moretti

You will also need to change the libmap.conf entry for acroread. It points to 
/usr/compat/linux and needs to point to the nppd.so in /usr/local/lib/acroread. 
You will need to enter the full pathname (sorry I am at work on MS).

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: uninstalling packages...

2005-11-21 Thread Lowell Gilbert
"Javier Matos" <[EMAIL PROTECTED]> writes:

> Hello, I want information about uninstallation of packages. I know how to 
> perform that kind of actions but I really want to know if something like 
> pkg_add "a_package" and then pkg_delete "a_package" really delete ALL FILES 
> installed with pkg_add command.

It's supposed to; that's one of the tests that porters are supposed to
make before submitting a port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >