Re: CDRW Stopped Working Moving to 6.x

2007-09-24 Thread Crist J. Clark
On Wed, Sep 19, 2007 at 03:24:16PM -0400, Lowell Gilbert wrote:
 Crist J. Clark [EMAIL PROTECTED] writes:
 
  On Fri, Sep 14, 2007 at 07:35:24AM -0400, Lowell Gilbert wrote:
  Crist J. Clark [EMAIL PROTECTED] writes:
  
   Looking at the dmesg(1) from the last boot,
  
 # fgrep cd0 /var/run/dmesg.boot
 acd0: CDROM CRD-8400B/1.06 at ata1-master UDMA33
  
   Makes me think the system is not recognizing the device as CDRW,
   only CDROM.
  
  You're right, and that's the key point to start from.
  Don't worry about ATAPI/CAM; it won't be used by burncd, and won't
  work any better than direct ATAPI drivers if the device isn't
  recognized as a CDRW.
  
  The funny thing is (unless I recall incorrectly, which is possible
  before my first cup of coffee for the day), the ID string is provided
  by the device itself.  And I just looked it up; CRD-8400B is
  definitely a CDROM.  So I don't think the OS is confused; if anything,
  the device itself is what's confused.
  
  Just to doublecheck: are you really sure you haven't changed the drive
  since the last time you burned a CD?
 
  Nope, haven't changed the drive. Went and had a look at the front and
  it's got CD/RW on the disc symbol on the front of the tray. But
  going back to some old dmesg(1) from this same box when the buring
  worked back in 4.x,
 
FreeBSD 4.11-STABLE #1: Sun Jun 19 00:18:37 PDT 2005
[EMAIL PROTECTED]:/var/tmp/tmp_cjc/obj/usr/src/sys/GOKU
[snip]
acd0: CDROM CRD-8400B at ata1-master PIO4
 
  H...
 
 Wow.  Good thinking to check that.
 
 Definitely sounds like you are being bitten by something dodgy in the
 device probing which has been there for a long time but was benign in
 the past.  You'll need someone who knows the probing code...

S... After spending a few more hours trying to figure this out,
I get some confusing messages when I just try to read a CDROM!
Long story short, ha. ha. you'll laugh. I was looking at the
wrong machine. The one with the drive clearly embosed with the
disc symbol saying Rewritable is (besides also clearly being
labeled with the system's name which is not the system I was
trying to run the burncd(8) command on),

  acd0: CDRW Verbatim 522452AL/68S1 at ata1-master PIO4

And the machine I was trying to actually run the command on,
the machine above, is indeed a CDROM.
-- 
Crist J. Clark | [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is your Thunderbird OK?

2007-09-24 Thread Byung-Hee HWANG
Hi there,

Just been wondering about this for long weeks. I have some complain
Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
slow. While thunderbird start up, I go to brew coffee. Aside from that,
Thunderbird is the best MUA, indeed.

FYI, this is my information:
[EMAIL PROTECTED]:~ uname -v
FreeBSD 6.2-RELEASE-p7 #1: Wed Aug 22 08:47:36 KST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
[EMAIL PROTECTED]:~ pkg_info | grep thunderbird
thunderbird-1.5.0.7_1 Mozilla Thunderbird is standalone mail [...]
[EMAIL PROTECTED]:~ 

I _really_ want to share opinions about this topic (Thunderbird's start
up speed) with you FreeBSD users.

What do you think of?

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


Re: Is your Thunderbird OK?

2007-09-24 Thread Jay Chandler

Byung-Hee HWANG wrote:

I _really_ want to share opinions about this topic (Thunderbird's start
up speed) with you FreeBSD users.

What do you think of?

  
I use Thunderbird on my FreeBSD box without issue.  FYI, 2.0.0.6 is the 
latest, and I have no issue with its load times.

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


Re: Is your Thunderbird OK?

2007-09-24 Thread Bahman M.

Byung-Hee HWANG wrote:

Just been wondering about this for long weeks. I have some complain
Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
slow. While thunderbird start up, I go to brew coffee. Aside from that,
Thunderbird is the best MUA, indeed.

FYI, this is my information:
[EMAIL PROTECTED]:~ uname -v
FreeBSD 6.2-RELEASE-p7 #1: Wed Aug 22 08:47:36 KST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
[EMAIL PROTECTED]:~ pkg_info | grep thunderbird

thunderbird-1.5.0.7_1 Mozilla Thunderbird is standalone mail [...]
[EMAIL PROTECTED]:~ 


I _really_ want to share opinions about this topic (Thunderbird's start
up speed) with you FreeBSD users.

What do you think of?


Does the problem occur only at startup?  What's the size of 
Thunderbird's image in memory?  I'd read somewhere that to speed up 
things, Thunderbird keeps emails in memory; however I'm not sure if it 
applies to 1.5.0.


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


bizar problem with a Dell latitude D600's onboard nic

2007-09-24 Thread SALLY FELLMY

 I am having timeouts as well while connect to a Unix Server.  It's strange 
that it only occurs at work.  When I'm home and using VPN, my connection never 
times out.
I have a Dell d600 ppo5l laptop.
 
Sally___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Reading page count from USB printer

2007-09-24 Thread Olivier Nicole
Hi,

I have an HP2200 printer connected to a 6.2 box via USB.

I would luke to read the page count. I know the PCL sequence to do
that, but I am unsure about the way to access the printer.

The pinter shows up at /dev/ulpt0, I can redirect text to it for
printing, using cat file.ps /dev/ulpt0

But I do not manage to read the PCL response.

How should I do? In Perl preferably.

Best regards,

Olivier
___
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 know who use NFS.

2007-09-24 Thread Albert Shih
 Le 23/09/2007 à 00:27:15-0700, Martin Alejandro Paredes Sanchez a écrit
 El Vie 21 Sep 2007, Albert Shih escribió:
   Le 21/09/2007 à 13:59:35-0500, Dan Nelson a écrit
   In the last episode (Sep 21), Le Cocq Michel said:
Albert Shih a écrit :
 How can I known at un precise moment who charge my NFS server (I'm
 root in both side : client and server).

With some info student it also happen some times in here, and the way i 
find is to launch a tcpdum or ethereal on the server and look at which
ip appear the more often
   
   I think ethereal/wireshark is your best bet too.  At least with it you 
   can filter on the userid making an NFS request (it's rpc.auth.uid).
   Unfortunately it doesn't look like there's a summary or analysis option
   for NFS, so you'll have to count packets maually...
  
  But my problem is the NFS traffic is heavy in standard time, and wireshark 
  or tcpdump give my lot of lot of data.
 

Thanks 
 
 Use the force luke
 
I like this ;-) 

 You only need 100 packets (you may decide to increase) that are directed to 
 your server, to the NFS daemon.
 
 tcpdump -c 100 -nq dst port nfs and dst host $HOST
 
 You don't need to interpret this info, you need to know who is originating 
 the 
 traffic, lets extract the ip that are originating the traffic
 
 nawk 'BEGIN {FS=[ .]; OFS=.} {print $4,$5,$6,$7}'
 
 But, who generate more traffic?
 Lets count how many packets are originating each one of those ip
 
 nawk '{packets[$1]++} END{for (ip in packets){print packets[ip], ip}}'
 
 And order it
 
 sort -rn
 
 Use pipes to connect all the commands, if this situation is very common, 
 create a shell.

Thanks again.

 
 HTH

I think so.


Regards.


--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Lun 24 sep 2007 12:01:11 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is your Thunderbird OK?

2007-09-24 Thread Byung-Hee HWANG
On Mon, 2007-09-24 at 11:41 +0330, Bahman M. wrote:
 Byung-Hee HWANG wrote:
  Just been wondering about this for long weeks. I have some complain
  Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
  slow. While thunderbird start up, I go to brew coffee. Aside from that,
  Thunderbird is the best MUA, indeed.
  
  FYI, this is my information:
  [EMAIL PROTECTED]:~ uname -v
  FreeBSD 6.2-RELEASE-p7 #1: Wed Aug 22 08:47:36 KST 2007 
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
  [EMAIL PROTECTED]:~ pkg_info | grep thunderbird
  thunderbird-1.5.0.7_1 Mozilla Thunderbird is standalone mail [...]
  [EMAIL PROTECTED]:~ 
  
  I _really_ want to share opinions about this topic (Thunderbird's start
  up speed) with you FreeBSD users.
  
  What do you think of?
 
 Does the problem occur only at startup?  What's the size of 
 Thunderbird's image in memory?  I'd read somewhere that to speed up 
 things, Thunderbird keeps emails in memory; however I'm not sure if it 
 applies to 1.5.0.
 
I just use default setting, so I don't know my Thunderbird's memory in
detail. However, I took a top(1)'s screenshot while thunderbird is
active. Here is the screenshot:

http://izb.knu.ac.kr/~bh/stuff/20070924-tb-ss.png [image/png 223k]


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


Re: stdout -determining size of??

2007-09-24 Thread David Southwell
On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
 In the last episode (Sep 22), David Southwell said:
  How is the the size of stdout controlled.
 
  My query comes about because I had a shell running for ages with
  unlimited history and found it had gobbled uyp all the space available to
  stdout!!!

 Could you provide the error message that made you think that stdout has
 a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
 you have redirected stdout from a script to a file, like ls  ls.txt,
 then it's possible that you filled up a filesystem.

Here is what made me ask the question:
--
Weekly output report:

Cleaning up kernel database files:

Rebuilding locate database:
locate.code: stdout: No space left on device

Rebuilding whatis database:

-- End of weekly output --
___

After getting the message I dumped the history and locate.updatedb ran without 
any problem.

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


Re: stdout -determining size of??

2007-09-24 Thread Erik Trulsson
On Mon, Sep 24, 2007 at 04:09:56AM -0700, David Southwell wrote:
 On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
  In the last episode (Sep 22), David Southwell said:
   How is the the size of stdout controlled.
  
   My query comes about because I had a shell running for ages with
   unlimited history and found it had gobbled uyp all the space available to
   stdout!!!
 
  Could you provide the error message that made you think that stdout has
  a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
  you have redirected stdout from a script to a file, like ls  ls.txt,
  then it's possible that you filled up a filesystem.
 
 Here is what made me ask the question:
 --
 Weekly output report:
 
 Cleaning up kernel database files:
 
 Rebuilding locate database:
 locate.code: stdout: No space left on device

Here stdout was almost certainly re-directed to some file on the disk.
Unfortunately the disk was full.

 
 Rebuilding whatis database:
 
 -- End of weekly output --
 ___
 
 After getting the message I dumped the history and locate.updatedb ran 
 without 
 any problem.

The shells history is probably stored in a file on the disk.
When you removed that file the space became available again.


It looks like you simply filled up the filesystem.
Nothing to do with 'the size of stdout'.

-- 
Insert your favourite quote here.
Erik Trulsson
[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: stdout -determining size of??

2007-09-24 Thread David Southwell
On Monday 24 September 2007 04:14:48 Erik Trulsson wrote:
 On Mon, Sep 24, 2007 at 04:09:56AM -0700, David Southwell wrote:
  On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
   In the last episode (Sep 22), David Southwell said:
How is the the size of stdout controlled.
   
My query comes about because I had a shell running for ages with
unlimited history and found it had gobbled uyp all the space
available to stdout!!!
  
   Could you provide the error message that made you think that stdout has
   a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
   you have redirected stdout from a script to a file, like ls  ls.txt,
   then it's possible that you filled up a filesystem.
 
  Here is what made me ask the question:
  --
  Weekly output report:
 
  Cleaning up kernel database files:
 
  Rebuilding locate database:
  locate.code: stdout: No space left on device

 Here stdout was almost certainly re-directed to some file on the disk.
 Unfortunately the disk was full.

  Rebuilding whatis database:
 
  -- End of weekly output --
  ___
 
  After getting the message I dumped the history and locate.updatedb ran
  without any problem.

 The shells history is probably stored in a file on the disk.
 When you removed that file the space became available again.


 It looks like you simply filled up the filesystem.
 Nothing to do with 'the size of stdout'.

I understand but how can I manage this?

Do you happen to know how to configure  history storage? It looks as though I 
need to choose a filesystem where running run out of space is sufficiently 
improbable to be inconceivable!! The shell in question is an X Konsole.

Thanks again

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


Re: Is your Thunderbird OK?

2007-09-24 Thread cpghost
On Mon, 24 Sep 2007 16:19:49 +0900
Byung-Hee HWANG [EMAIL PROTECTED] wrote:

 Hi there,
 
 Just been wondering about this for long weeks. I have some complain
 Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
 slow. While thunderbird start up, I go to brew coffee. Aside from
 that, Thunderbird is the best MUA, indeed.

Thunderbird runs just fine here, but I've switched to
claws-mail a while ago because I'm running on very slow
hardware (500 MHz VIA C3/Eden), where Thunderbird really
crawls at a snail's pace (Firefox too, of course). Yet
even then, it doesn't take proportionally very long to
start up.

Thunderbird (and Firefox) are just big resource hogs, that's
all. If you experience VERY long start up times, you have
another problem. I once had startup issues on a diskless setup,
and it turned out to be a weird problem involving gconf2,
threading and lockd. It went away after I disabled NFS again
and used real disk storage.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is your Thunderbird OK?

2007-09-24 Thread Frank Shute
On Mon, Sep 24, 2007 at 07:24:34PM +0900, Byung-Hee HWANG wrote:

 On Mon, 2007-09-24 at 11:41 +0330, Bahman M. wrote:
  Byung-Hee HWANG wrote:
   Just been wondering about this for long weeks. I have some complain
   Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
   slow. While thunderbird start up, I go to brew coffee. Aside from that,
   Thunderbird is the best MUA, indeed.
   
   FYI, this is my information:
   [EMAIL PROTECTED]:~ uname -v
   FreeBSD 6.2-RELEASE-p7 #1: Wed Aug 22 08:47:36 KST 2007 
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
   [EMAIL PROTECTED]:~ pkg_info | grep thunderbird
   thunderbird-1.5.0.7_1 Mozilla Thunderbird is standalone mail [...]
   [EMAIL PROTECTED]:~ 
   
   I _really_ want to share opinions about this topic (Thunderbird's start
   up speed) with you FreeBSD users.
   
   What do you think of?
  
  Does the problem occur only at startup?  What's the size of 
  Thunderbird's image in memory?  I'd read somewhere that to speed up 
  things, Thunderbird keeps emails in memory; however I'm not sure if it 
  applies to 1.5.0.
  
 I just use default setting, so I don't know my Thunderbird's memory in
 detail. However, I took a top(1)'s screenshot while thunderbird is
 active. Here is the screenshot:
 
 http://izb.knu.ac.kr/~bh/stuff/20070924-tb-ss.png [image/png 223k]
 

Your machine needs more memory. Thunderbird will be hitting swap on
start up, which is why it's slow.

If you can't add more memory for some reason, then you'll have to run
lighter weight programs.

Even just doubling your memory to 512MB would be an improvement but
I'd recommend 1GB. I have 3GB and my machine never hits swap.

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


IPFW Pipes, upload pipe working at 1/3 of pipe banwidth

2007-09-24 Thread Ovi

Hello guys,

I've tried last weekend different setups of IPFW + Dummynet in order to 
shape traffic.
Because my rules did not worked well I've simplified rules as much as 
possible, until I've reach basics and I've discovered that, having a 
FreeBSD 6.2 router (cvsuped few days ago to stable) with  2 pipes, one 
for  download and one for upload, downloads from LAN works at full speed 
of pipe, uploads from LAN works at 1/3 of pipe speed.


Tests was done for ftp upload and download, on 100 mbps network, 90 mbps 
pipes.


Now my ipfw rules are:
---
7 153 15816 allow ip from any to me
8 144 20434 allow ip from me to any
00010   0 0 allow ip from any to any via lo0
00020   0 0 deny ip from any to 127.0.0.1
04200   23456   43328 pipe 1 ip from 192.168.254.0/24 to any
04300   3453 34322 pipe 2 ip from any to 192.168.254.0/24
65535  0  0 deny ip from any to any

I've tried lot of rules like:
ipfw pipe 1 config bw 9kbits/s
ipfw pipe 2 config bw 9kbits/s
ipfw add 100 pipe 1 ip from any to any in recv fxp0
ipfw add 100 pipe 2 ip from any to any out xmit fxp0

I've tried to shape on outgoing too, on 2 interfaces, to shape in both 
ways, knowing that shaping is done when packets leave the interface.
Every rule I set, I do not have upload with speed more than 3MBytes/s 
(instead of 9MBytes/s)

Download works well.

The only thing that must mentioned is that router is connected to the 
other computer from which I do tests (uploaddownload) using a crossover 
cable
with interfaces configured using Vlans on both sides, the same VLAN ID. 
(I need this for my complex setup I've tried to achieve).


The computer is P IV 2.8, no other firewall is present, if I ipfw 
disable firewall the transfer rate on ftp upload is at full network 
cards speed.
When using firewall and transferring (uploading), I have 98% CPU idle, I 
did not noticed any bottleneck on server, the box is very minimalistinc, 
only with

base installation, midnight commander and few small aps.

Anybody have an idea how could I improve upload speed?

best regards,
ovidiu

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


Re: stdout -determining size of??

2007-09-24 Thread Erik Trulsson
On Mon, Sep 24, 2007 at 04:41:25AM -0700, David Southwell wrote:
 On Monday 24 September 2007 04:14:48 Erik Trulsson wrote:
  On Mon, Sep 24, 2007 at 04:09:56AM -0700, David Southwell wrote:
   On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
In the last episode (Sep 22), David Southwell said:
 How is the the size of stdout controlled.

 My query comes about because I had a shell running for ages with
 unlimited history and found it had gobbled uyp all the space
 available to stdout!!!
   
Could you provide the error message that made you think that stdout has
a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
you have redirected stdout from a script to a file, like ls  ls.txt,
then it's possible that you filled up a filesystem.
  
   Here is what made me ask the question:
   --
   Weekly output report:
  
   Cleaning up kernel database files:
  
   Rebuilding locate database:
   locate.code: stdout: No space left on device
 
  Here stdout was almost certainly re-directed to some file on the disk.
  Unfortunately the disk was full.
 
   Rebuilding whatis database:
  
   -- End of weekly output --
   ___
  
   After getting the message I dumped the history and locate.updatedb ran
   without any problem.
 
  The shells history is probably stored in a file on the disk.
  When you removed that file the space became available again.
 
 
  It looks like you simply filled up the filesystem.
  Nothing to do with 'the size of stdout'.
 
 I understand but how can I manage this?
 
 Do you happen to know how to configure  history storage?

That depends entirely on the shell.

 It looks as though I 
 need to choose a filesystem where running run out of space is sufficiently 
 improbable to be inconceivable!! The shell in question is an X Konsole.

'an X Konsole' is not a shell.  It is just a terminal window in which you
can run a shell.  Your shell is most likely something like bash or tcsh or
zsh or sh.


Of course the terminal emulator can (and in this case probably does) have
its own history which is completely separate from that of the shell.
(The shell's history consist of the commands you have given it. The
terminal's of the output it has received.) The history might of course not
be stored in a file, but in memory instead, in which case you would run out
of swap.



-- 
Insert your favourite quote here.
Erik Trulsson
[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: Why is sendmail in the core of FreeBSD?

2007-09-24 Thread Nikos Vassiliadis
On Saturday 22 September 2007 23:41, Giorgos Keramidas wrote:
 On 2007-09-22 20:12, Pollywog [EMAIL PROTECTED] wrote:
 On Saturday 22 September 2007 19:27:36 Giorgos Keramidas wrote:
  That's because there's no such thing as a newbie Sendmail user.
  Nobody stays a newbie long enough if they configure Sendmail properly
 
  That is why I use Postfix.  I would not go from Postfix to Sendmail
  because it would make life difficult.

 Heh, what I wrote was supposed to be a joke, but oh well :-)

You haven't been forced to administer sendmail. That's
why you are making jokes about it. Well, I was, and it
wasn't much fun ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The best way to keep the system clean?

2007-09-24 Thread ronggui
My problem, many times I install some software from ports, it install
the dependency software. Then after some time, I find that software
isn't what I want, and deinstall it. At this point, the dependency
software isn't necessary as well. Is there a way to clean them
automatically, like the apt-get autoremove in the Ubuntu system.

And the related general question is, what's the best way to keep my
system clean? Thanks.

-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The best way to keep the system clean?

2007-09-24 Thread Byung-Hee HWANG
On Mon, 2007-09-24 at 20:17 +0800, ronggui wrote:
 My problem, many times I install some software from ports, it install
 the dependency software. Then after some time, I find that software
 isn't what I want, and deinstall it. At this point, the dependency
 software isn't necessary as well. Is there a way to clean them
 automatically, like the apt-get autoremove in the Ubuntu system.
 
 And the related general question is, what's the best way to keep my
 system clean? Thanks.
 
The best way is using -RELEASE anytime. That's enough to me. If I need
to install/deinstall, I use pkg_add/pkg_delete. It's just my opinion.

Byung-Hee

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-24 Thread Jona Joachim
On Sat, 22 Sep 2007 19:30:59 +0300
Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:

 On 9/22/07, Wojciech Puchar [EMAIL PROTECTED] wrote:
   i personally use only sendmail.
  
  
   Yep... if it works, don't 'fix' it.
  
  same with any other things :)
 
 I would prefer to have postfix vs sendmail since it built with
 security in mind

spaceman% telnet mx1.freebsd.org 25
Trying 2001:4f8:fff6::34...
telnet: connect to address 2001:4f8:fff6::34: No route to host
Trying 69.147.83.52...
Connected to mx1.freebsd.org.
Escape character is '^]'.
220 mx1.freebsd.org ESMTP Postfix (Postfix Rules!)

;)
I prefer Postfix over Sendmail anytime but there are good reasons why
Sendmail is in the base system and Postfix isn't.
Postfix depends on PCRE which is not part of the base system. So you
would have to include that one, too. Perhaps you can build Postfix
without PCRE but I'm not sure.
The Sendmail source code is around 1.5MB whereas Postfix is around
2.8MB. That's not a big difference but still, the size of a CD is
limited. The release engineering team would have to figure out if that
could be a problem.
Then there are a lot of sysadmins which have been using Sendmail for
years and don't want to switch. After all Sendmail is one of the most
common MTAs on the Internet.
Furthermore Sendmail was initially developed at UC Berkeley. It's not
very common to kick BSD software from a BSD tree to replace it with
non-BSD software.
Finally, if you want Postfix it's very easy to install it from ports
and replace Sendmail.

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


Re: Is your Thunderbird OK?

2007-09-24 Thread Byung-Hee HWANG
On Mon, 2007-09-24 at 12:45 +0100, Frank Shute wrote:
 On Mon, Sep 24, 2007 at 07:24:34PM +0900, Byung-Hee HWANG wrote:
 
  On Mon, 2007-09-24 at 11:41 +0330, Bahman M. wrote:
   Byung-Hee HWANG wrote:
Just been wondering about this for long weeks. I have some complain
Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
slow. While thunderbird start up, I go to brew coffee. Aside from that,
Thunderbird is the best MUA, indeed.

FYI, this is my information:
[EMAIL PROTECTED]:~ uname -v
FreeBSD 6.2-RELEASE-p7 #1: Wed Aug 22 08:47:36 KST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
[EMAIL PROTECTED]:~ pkg_info | grep thunderbird
thunderbird-1.5.0.7_1 Mozilla Thunderbird is standalone mail [...]
[EMAIL PROTECTED]:~ 

I _really_ want to share opinions about this topic (Thunderbird's start
up speed) with you FreeBSD users.

What do you think of?
   
   Does the problem occur only at startup?  What's the size of 
   Thunderbird's image in memory?  I'd read somewhere that to speed up 
   things, Thunderbird keeps emails in memory; however I'm not sure if it 
   applies to 1.5.0.
   
  I just use default setting, so I don't know my Thunderbird's memory in
  detail. However, I took a top(1)'s screenshot while thunderbird is
  active. Here is the screenshot:
  
  http://izb.knu.ac.kr/~bh/stuff/20070924-tb-ss.png [image/png 223k]
  
 
 Your machine needs more memory. Thunderbird will be hitting swap on
 start up, which is why it's slow.
 
 If you can't add more memory for some reason, then you'll have to run
 lighter weight programs.
 
 Even just doubling your memory to 512MB would be an improvement but
 I'd recommend 1GB. I have 3GB and my machine never hits swap.
 
I agree, thanks a lot!

Byung-Hee

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


Re: Is your Thunderbird OK?

2007-09-24 Thread Byung-Hee HWANG
On Mon, 2007-09-24 at 13:44 +0200, cpghost wrote:
 On Mon, 24 Sep 2007 16:19:49 +0900
 Byung-Hee HWANG [EMAIL PROTECTED] wrote:
 
  Hi there,
  
  Just been wondering about this for long weeks. I have some complain
  Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
  slow. While thunderbird start up, I go to brew coffee. Aside from
  that, Thunderbird is the best MUA, indeed.
 
 Thunderbird runs just fine here, but I've switched to
 claws-mail a while ago because I'm running on very slow
 hardware (500 MHz VIA C3/Eden), where Thunderbird really
 crawls at a snail's pace (Firefox too, of course). Yet
 even then, it doesn't take proportionally very long to
 start up.
 
 Thunderbird (and Firefox) are just big resource hogs, that's
 all. If you experience VERY long start up times, you have
 another problem. I once had startup issues on a diskless setup,
 and it turned out to be a weird problem involving gconf2,
 threading and lockd. It went away after I disabled NFS again
 and used real disk storage.

Well, I cannot understand your advice because I'm newbie about Unix-like
system. Actually I want to use the claws-mail someday. 

Thanks anyway!

Byung-Hee

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


Re: Is your Thunderbird OK?

2007-09-24 Thread Wojciech Puchar


Just been wondering about this for long weeks. I have some complain
Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
slow. While thunderbird start up, I go to brew coffee. Aside from that,
Thunderbird is the best MUA, indeed.

i use pine. others use mutt, elm etc. no need to use windows like thing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The best way to keep the system clean?

2007-09-24 Thread Wojciech Puchar

My problem, many times I install some software from ports, it install
the dependency software. Then after some time, I find that software
isn't what I want, and deinstall it. At this point, the dependency
software isn't necessary as well. Is there a way to clean them
automatically, like the apt-get autoremove in the Ubuntu system.


possibly there are better methods but i do:

pkg_info|cut -f 1 -d   package.list

edit package.list and remove from that list ONLY things you do need.

do pkg_delete `cat package.list`

and pkg_delete will skip everything that is needed for packages you 
removed from list, and will delete everything else.

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


Re: stdout -determining size of??

2007-09-24 Thread Mel
On Monday 24 September 2007 13:09:56 David Southwell wrote:
 On Saturday 22 September 2007 12:00:41 Dan Nelson wrote:
  In the last episode (Sep 22), David Southwell said:
   How is the the size of stdout controlled.
  
   My query comes about because I had a shell running for ages with
   unlimited history and found it had gobbled uyp all the space available
   to stdout!!!
 
  Could you provide the error message that made you think that stdout has
  a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
  you have redirected stdout from a script to a file, like ls  ls.txt,
  then it's possible that you filled up a filesystem.

 Here is what made me ask the question:
 --
 Weekly output report:

 Cleaning up kernel database files:

 Rebuilding locate database:
 locate.code: stdout: No space left on device

Locate uses environment variable TMPDIR or /tmp if unset to build it's 
database. KDE uses /tmp/kde-$USER for some light-weight temporary files, I'm 
99% sure Konsole's history is memory only, which is why I've set it to 1000 
lines rather then the default unlimited (Settings - History), because it can 
consume a very large ammount of memory.
I'm thinking you ran outof swap or /tmp was full and then clearing Konsole's 
history is either a coincidence or Konsole stores history in /tmp/kde-$USER 
(allthough it doesn't on my machine).

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


Re: migrate from postfix to qmail

2007-09-24 Thread DAve

Lotfi kecir wrote:

HI, thank's for your post.
to give answer to your answer: i rent a dedicated server (Fedora 6) witch
has qmail installed on. and in my old Server witch is in our office turn has
Postfix.
The new sever has as Admin panel Plesk.
I already create all email acounts and now i'm looking to transfert all my
user acount mailboxes.
and i don't have any idea to do it.
Thanks for your help


First item, ignore the qmail haters. We run qmail quite successfully and 
find it very powerful, very secure, and well designed. I will not go 
into a point by point debate.


Second item, plesk is a very bad way to run qmail. You will get *no* 
help on the qmail list if you use the install on plesk. It is a modified 
version of qmail and the modifications are closed door, at least that is 
my understanding. So if you do not have an excellent understanding of 
Unix, and above average understanding of email, and good troubleshooting 
skills, you are in for a very rocky ride.


By your description of the problem an experienced Unix administrator 
would have no problem doing what you ask. Consider staying with Postfix 
as you already know the software. If you insist on switching, ask the 
Plesk developers for help. It is their software, their install, they 
should be able to help you.


DAve


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is your Thunderbird OK?

2007-09-24 Thread Byung-Hee HWANG
On Mon, 2007-09-24 at 01:02 -0700, Jay Chandler wrote:
 Byung-Hee HWANG wrote:
  I _really_ want to share opinions about this topic (Thunderbird's start
  up speed) with you FreeBSD users.
 
  What do you think of?
 

 I use Thunderbird on my FreeBSD box without issue.  FYI, 2.0.0.6 is the 
 latest, and I have no issue with its load times.
For some reason, I could not upgrade to 2.x version. If 6.3-RELEASE or
7.0-RELEASE release in the future, then I'll use 2.x version.

Thanks,

Byung-Hee

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


Re: The best way to keep the system clean?

2007-09-24 Thread Mel
On Monday 24 September 2007 14:17:42 ronggui wrote:
 My problem, many times I install some software from ports, it install
 the dependency software. Then after some time, I find that software
 isn't what I want, and deinstall it. At this point, the dependency
 software isn't necessary as well. Is there a way to clean them
 automatically, like the apt-get autoremove in the Ubuntu system.

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


Re: migrate from postfix to qmail

2007-09-24 Thread Ovi

DAve wrote:


Lotfi kecir wrote:


HI, thank's for your post.
to give answer to your answer: i rent a dedicated server (Fedora 6) 
witch
has qmail installed on. and in my old Server witch is in our office 
turn has

Postfix.
The new sever has as Admin panel Plesk.
I already create all email acounts and now i'm looking to transfert 
all my

user acount mailboxes.
and i don't have any idea to do it.
Thanks for your help



First item, ignore the qmail haters. We run qmail quite successfully 
and find it very powerful, very secure, and well designed. I will not 
go into a point by point debate.


Second item, plesk is a very bad way to run qmail. You will get *no* 
help on the qmail list if you use the install on plesk. It is a 
modified version of qmail and the modifications are closed door, at 
least that is my understanding. So if you do not have an excellent 
understanding of Unix, and above average understanding of email, and 
good troubleshooting skills, you are in for a very rocky ride.


By your description of the problem an experienced Unix administrator 
would have no problem doing what you ask. Consider staying with 
Postfix as you already know the software. If you insist on switching, 
ask the Plesk developers for help. It is their software, their 
install, they should be able to help you.


DAve


We had similar problem with Plesk and Qmail, crashing very often. We 
somehow fix that by stoping email antivirus from Plesk. Still crashes, 
but not so often. I've searched alot, it seems this is happening on 
Linux too (I've found posts regarding qmail crash on Slackware Linux).


best regards,
ovi

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


Re: The best way to keep the system clean?

2007-09-24 Thread Robert Huff
Wojciech Puchar writes:

   My problem, many times I install some software from ports, it install
   the dependency software. Then after some time, I find that software
   isn't what I want, and deinstall it. At this point, the dependency
   software isn't necessary as well. Is there a way to clean them
   automatically, like the apt-get autoremove in the Ubuntu system.
  
  possibly there are better methods but i do:

Also: ports-mgt/pkg_cutleaves.
Personally, I distrust anything involving the term
autoatically remove, doubly so when it involves recursion.  All it
takes is one bug in the script, or fumble-fingers at the keyboard,
and you're looking at major re-installation.  This is a job for the
Mk. I eyeball.


Robert Huff


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


Re: The best way to keep the system clean?

2007-09-24 Thread Karol Kwiatkowski
ronggui wrote:
 My problem, many times I install some software from ports, it install
 the dependency software. Then after some time, I find that software
 isn't what I want, and deinstall it. At this point, the dependency
 software isn't necessary as well. Is there a way to clean them
 automatically, like the apt-get autoremove in the Ubuntu system.

I don't know what apt-get autoremove does on Ubuntu but have you checked
 pkg_deinstall(1) and it's man page? Right from there:

DESCRIPTION
 The pkg_deinstall command is a wrapper of pkg_delete(1) used to
 deinstall packages, which understands wildcards and is capable
 of *recursing through dependencies*.

(emphasis mine)

Have a look at -r and/or -R options.

HTH,

Karol

-- 
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: Netatalk

2007-09-24 Thread Gabriel Dragffy


On 24 Sep 2007, at 06:16, Ted Mittelstaedt wrote:



Gabriel,

Ignore Martin he doesen't know how to get it running
so he's pulling the old spurning what he cannot do
refer to the Aesop fable Fox and the Grapes for more
information.

If you run OS9 emulation under OSX you need AFP.

Many older print servers only speak AFP

AFP handles the split resource/data fork properly,
Samba does not.  You will see this in a number of
minor ways.

To get it running:

define NETATALK in kernel and recompile


cd /usr/ports/net/netatalk
make  WITH_SRVLOC=yes install

add the following in /etc/rc.conf:

slpd_enable=YES
netatalk_enable=YES
atalkd_enable=YES
cnid_metad_enable=YES
afpd_enable=YES

cd /usr/ports/net/howl
make install

cd /etc
vi rc.conf
add in
mdnsresponder_enable=YES
mdnsresponder_flags=-f /usr/local/etc/mDNSResponder.conf

then create the config file as such

vi /usr/local/etc/mDNSResponder.conf
BigMac _afpovertcp._tcp local.  548
BigMac _ssh._tcpServers. 548

MUST BE TABS BETWEEN ITEMS and NEWLINE AT END!
BigMac is your servername

test with slptool findsrvs service:service-agent
and mDNSResponder lookups

your problem is that afpd only advertises over appletalk, not over
tcp/ip.  Since your Macs are all OSX they don't listen to appletalk
announcements.  They listen to appletalk-over-tcp/ip announcements
which use the rendezevous protocol which is what mdnsresponder is
all about.

One important note - try to keep the samba shares separate
from the appletalk shares.  Samba clients do not update the
desktop file when they move/change/delete files which will result in
a corrupted desktop file. (ie: CNID database)  If that happens do  
this:



/usr/local/etc/rc.d/netatalk.sh stop

cat /usr/local/etc/AppleVolumes.default

(shares are listed at the bottom)

go to each share with the problem and rename the directory, ie:

cd /home/shares/Public
mv .AppleDB .AppleDB-temp-backup

restart netatalk

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

verify people can mount the shares and get to their files

Delete the .AppleDB-temp-backup dirs.

Ted

PS:  Appletalk is older networking technology but there is
nothing wrong with it and it works no worse than newer
technologies.



Thank you so much for this comprehensive reply. I can see there are  
several things in there that I didn't get, as they were missed out in  
my other guides. Seems like a small nightmare setting up netatalk,  
hope it will be worth it!


Thanks again, I really appreciate it.

Gabe

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-24 Thread Mel
On Monday 24 September 2007 14:26:13 Jona Joachim wrote:

 Postfix depends on PCRE which is not part of the base system. So you
 would have to include that one, too. Perhaps you can build Postfix
 without PCRE but I'm not sure.

Yes, you can build without PCRE. You just won't have pcre tables (even though 
powerful, it's not a loss really).

 The Sendmail source code is around 1.5MB whereas Postfix is around
 2.8MB. That's not a big difference but still, the size of a CD is
 limited. The release engineering team would have to figure out if that
 could be a problem.

It's not the source code that matters for a release CD of *base* software, 
it's the binary footprint.

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


Re: The best way to keep the system clean?

2007-09-24 Thread Erik Cederstrand

ronggui wrote:

My problem, many times I install some software from ports, it install
the dependency software. Then after some time, I find that software
isn't what I want, and deinstall it. At this point, the dependency
software isn't necessary as well. Is there a way to clean them
automatically, like the apt-get autoremove in the Ubuntu system.

And the related general question is, what's the best way to keep my
system clean? Thanks.


You're probably looking for ports-mgmt/pkg_cutleaves.

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


urgent sendmail question

2007-09-24 Thread Duane Winner
Hello,

I know if I poked around enough, I could find the answer, but am up
against the wall here and need a quick solution. I just discovered a
major problem with my sendmail configurations.

Just recently started consolidating servers by virtual hosting apache,
several servers on one box. Problem is that the web app sometimes send
automated emails to users, and now they're getting bounced back because
the emails are going out with @fakename.mydomain.org instead of
@mydomain.org.

Since there is no DNS entry for fakename.mydomain.org, recipient's
mail servers are rejecting these emails from my servers.

So I have an apache box, fakename.mydomain.org, hosting 5 virtual
hosts with unique domain names that do have public dns records.

I need to all outbound mail appear to be coming from [EMAIL PROTECTED]
or [EMAIL PROTECTED], as long as it can be resolved by
the remote mail server.

My sendmails are configured to listen on 127.0.0.1 only, since I'm using
to send, not receive.

Please help!

Thanks,
DW

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


Re: migrate from postfix to qmail

2007-09-24 Thread Christian Baer
On Mon, 24 Sep 2007 08:36:24 -0400 DAve wrote:

 First item, ignore the qmail haters. We run qmail quite successfully and 
 find it very powerful, very secure, and well designed. I will not go 
 into a point by point debate.

Goo idea! Lets also ignore all Windows haters. I'm sure that plenty of
people will say that Windows is fast, secure and without bugs. :-)

No, I don't want to start a fight here. I admit, that I don't like qmail
and I *have* used it for years. I never hat security problems with it
either and what made me think about a different MTA was the fact that
qmail on ReiserFS was undefined - and I lost mail. The bad performance
result was something found by accident. But that wouldn't make any diff on
a private site.

 Second item, plesk is a very bad way to run qmail. You will get *no* 
 help on the qmail list if you use the install on plesk. It is a modified 
 version of qmail and the modifications are closed door, at least that is 
 my understanding. So if you do not have an excellent understanding of 
 Unix, and above average understanding of email, and good troubleshooting 
 skills, you are in for a very rocky ride.

Well, as you say, the Plesk version of qmail sucks (on which we agree) and
therefore administration should bei done without Plesk (we agree on that
too) then the OP might as well stay with Postfix and just dump Plesk.

Are we in agreement? :-)

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


Re: The best way to keep the system clean?

2007-09-24 Thread Mel
On Monday 24 September 2007 14:50:20 Robert Huff wrote:
 Wojciech Puchar writes:
My problem, many times I install some software from ports, it install
the dependency software. Then after some time, I find that software
isn't what I want, and deinstall it. At this point, the dependency
software isn't necessary as well. Is there a way to clean them
automatically, like the apt-get autoremove in the Ubuntu system.
 
   possibly there are better methods but i do:

   Also: ports-mgt/pkg_cutleaves.
   Personally, I distrust anything involving the term
 autoatically remove, doubly so when it involves recursion.  All it
 takes is one bug in the script, or fumble-fingers at the keyboard,
 and you're looking at major re-installation.  This is a job for the
 Mk. I eyeball.


pkg_cutleaves works interactively by default and can be aborted at any time. 
I'm of the same mindset, still pkg_cutleaves does it's job very well:
- Reads config file of leaves to keep, so you don't have to answer the same 
questions on each run
- Builds a list of current leaves, asks you whether to deinstall and *then* 
deinstalls those leaves (not between each answer - fumble finger protection!)
- Gives the option re-evaluate leaves after a run, so you can optionally 
remove dependencies of deinstalled packages (recursive, yet not recursive).

I typically run it as pkg_cutleaves -xg, so that new Kept packages are added 
to the config file automatically.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The best way to keep the system clean?

2007-09-24 Thread RW
On Mon, 24 Sep 2007 21:25:01 +0900
Byung-Hee HWANG [EMAIL PROTECTED] wrote:

 On Mon, 2007-09-24 at 20:17 +0800, ronggui wrote:
  My problem, many times I install some software from ports, it
  install the dependency software. Then after some time, I find that
  software isn't what I want, and deinstall it. At this point, the
  dependency software isn't necessary as well. Is there a way to
  clean them automatically, like the apt-get autoremove in the Ubuntu
  system.
  

  
 The best way is using -RELEASE anytime. That's enough to me. If I need
 to install/deinstall, I use pkg_add/pkg_delete. It's just my opinion.

That doesn't remove unwanted dependencies, which is what the question
was about.

Try ports-mgmt/pkg_cutleaves or, if  you have portmanager installed
look at the -slid option.

  And the related general question is, what's the best way to keep my
  system clean? Thanks.

Another important tool is portsclean (installed with portupgrade),
which cleans-out obsolete distfiles, packages, and build directories.

Also look at the options in /etc/defaults/periodic.conf
and /etc/defaults/rc.conf which contain some useful scripts for
automatically deleting things.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The best way to keep the system clean?

2007-09-24 Thread Christian Baer
On Mon, 24 Sep 2007 20:17:42 +0800 ronggui wrote:

 My problem, many times I install some software from ports, it install
 the dependency software. Then after some time, I find that software
 isn't what I want, and deinstall it. At this point, the dependency
 software isn't necessary as well. Is there a way to clean them
 automatically, like the apt-get autoremove in the Ubuntu system.

pkg_cutleaves was mentioned here a few times. I just want to tell you, why
I think it's the best idea:

Automatically deinstalling stuff can leave a mess. Sometimes you deinstall
too much, because one of the other ports your application depended on is
also needed by others. Think about what could happen if you deinstalled
gtk.

pkg_cutleaves lets you go through the list of installed stuff and asks if
you wish to remove each item. All packages shown are leaves, which means
they are not required by any other program. After deinstalling a few
leaves, you will get new leaves which you can deinstall.

 And the related general question is, what's the best way to keep my
 system clean? Thanks.

Define clean.

Regards
Chris
___
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 know who use NFS.

2007-09-24 Thread Albert Shih
 Le 23/09/2007 à 00:27:15-0700, Martin Alejandro Paredes Sanchez a écrit
 
 Use the force luke
 
 You only need 100 packets (you may decide to increase) that are directed to 
 your server, to the NFS daemon.
 
 tcpdump -c 100 -nq dst port nfs and dst host $HOST
 
 You don't need to interpret this info, you need to know who is originating 
 the 
 traffic, lets extract the ip that are originating the traffic
 
 nawk 'BEGIN {FS=[ .]; OFS=.} {print $4,$5,$6,$7}'
 
 But, who generate more traffic?
 Lets count how many packets are originating each one of those ip
 
 nawk '{packets[$1]++} END{for (ip in packets){print packets[ip], ip}}'
 
 And order it
 
 sort -rn

OK, but that's not I'm exactly I search.

I ask again my question because It's seem my poor english make my question
not clear.

I've two servers :

Server A (NFS) --- NFS -- Server B

On server A there one service is NFS, and server B is it's client.

On server B I've lot of users, some users make very huge transfert throught
NFS (what I don't want), huge = ~ 10-100 Go in one time (big file).

I want to known who did this, because I've lot of users it's not easy to
known when I'm using top/ps to known who did this (sometime it's the output
of some scientifique software). 

The solution you give me can tell me the name of server B, but this thing I
known it ;-), what I want to known is WHO on server B.

Do you think I need to use dark side of the forceI known it's not more 
powerful,
but it's more easy ;-)

Regads.

JAS
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Lun 24 sep 2007 15:12:56 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: migrate from postfix to qmail

2007-09-24 Thread David Benfell
On Mon, 24 Sep 2007 15:03:53 +0200, Christian Baer wrote:
 On Mon, 24 Sep 2007 08:36:24 -0400 DAve wrote:
 
 No, I don't want to start a fight here. I admit, that I don't like qmail
 and I *have* used it for years. I never hat security problems with it
 either and what made me think about a different MTA was the fact that
 qmail on ReiserFS was undefined - and I lost mail. The bad performance
 result was something found by accident. But that wouldn't make any diff on
 a private site.
 
Is ReiserFS an issue on FreeBSD?

And not that this is the first file system issue I've heard about with qmail,
but what is an MTA doing that should be file system dependent in any way?
I *am* a happy qmail user, but this is something I just don't get.



-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgp5JGDCP2J1n.pgp
Description: PGP signature


Re: Netatalk

2007-09-24 Thread Andrea Venturoli

Martin Hepworth ha scritto:


the filetyping goes alot better using smb than appletalk with MacOS X


I have to disagree. I think I'm dropping the last Mac OS 9 box very 
soon, so I could go to a samba only setup, but in the past I had several 
problems with it: filetyping is something I could work around, but for 
filenames encoding I could not find a solution.

netatalk, on the other side, works flawlessly.
I'm still trying to educate my users to avoid exotic characters in file 
names, but I cannot ask them to rename thousands of files they already have.


(Just my two cents, but if someone can suggest something...).

 bye
av.

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


Re: migrate from postfix to qmail

2007-09-24 Thread Heiko Wundram (Beenic)
Am Montag 24 September 2007 15:24:09 schrieb David Benfell:
 And not that this is the first file system issue I've heard about with
 qmail, but what is an MTA doing that should be file system dependent in any
 way? I *am* a happy qmail user, but this is something I just don't get.

It is filesystem dependent when a write to a filesystem actually becomes 
permanent (even when O_(D)SYNC is specified in the open syscall, that just 
makes sure the file data is committed immediately to disk), in the sense that 
if you switch off the power without syncing, that after filesystem 
reconstruction on reboot the file is still there, with its contents. (think 
about delayed metadata-updates on FreeBSD UFS2, for example, ReiserFS has a 
similar kind of behaviour wrt. updating its B-tree)

Only after this true commit has happened is the MTA actually able to give a 
proper 200 in reply to finishing the SMTP DATA-command, because it can be 
sure that the mail won't be lost under all normal circumstances (besides 
having the HD hardware fail, which generally isn't catered for by the MTA).

Qmail simply doesn't check properly (in the case of ReiserFS) whether the file 
has been truly committed before it gives out the 200 reply, so basically, if 
you deploy ReiserFS (which is known to cache its B-tree aggressively) and 
have a power-outage while Qmail is writing the queue file to disk, you're at 
odds that the mail is lost simply because Qmail has already given out the 200 
reply to the remote server, even though the file information hasn't been 
committed to the ReiserFS B-tree (or the journal) yet, so that the file won't 
be recreated during journal-replay.

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-24 Thread Giorgos Keramidas
On 2007-09-24 15:10, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
On Saturday 22 September 2007 23:41, Giorgos Keramidas wrote:
On 2007-09-22 20:12, Pollywog [EMAIL PROTECTED] wrote:
On Saturday 22 September 2007 19:27:36 Giorgos Keramidas wrote:
 That's because there's no such thing as a newbie Sendmail user.
 Nobody stays a newbie long enough if they configure Sendmail properly

 That is why I use Postfix.  I would not go from Postfix to Sendmail
 because it would make life difficult.

 Heh, what I wrote was supposed to be a joke, but oh well :-)

 You haven't been forced to administer sendmail. That's why you are
 making jokes about it. Well, I was, and it wasn't much fun ;)

That's a false assumption to make, but I can understand why it feels
like a natural response.

FWIW, before starting to work as a programmer at my current employer,
I spent a fair amount of my time administering Sendmail and qmail
installations for several places.  I am still using Sendmail almost
exclusively on my home network, at work, and I am regularly helping
people overcome their Sendmail problems on various mailing lists/groups.

I'm sorry your experience with some Sendmail installations was as
painful as it seems to have been but I can't help that.

- Giorgos

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


Re: urgent sendmail question

2007-09-24 Thread Giorgos Keramidas
On 2007-09-24 08:34, Duane Winner [EMAIL PROTECTED] wrote:
 Hello,

 I know if I poked around enough, I could find the answer, but am up
 against the wall here and need a quick solution. I just discovered a
 major problem with my sendmail configurations.

 Just recently started consolidating servers by virtual hosting apache,
 several servers on one box. Problem is that the web app sometimes send
 automated emails to users, and now they're getting bounced back because
 the emails are going out with @fakename.mydomain.org instead of
 @mydomain.org.

 Since there is no DNS entry for fakename.mydomain.org, recipient's
 mail servers are rejecting these emails from my servers.

 So I have an apache box, fakename.mydomain.org, hosting 5 virtual
 hosts with unique domain names that do have public dns records.

 I need to all outbound mail appear to be coming from [EMAIL PROTECTED]
 or [EMAIL PROTECTED], as long as it can be resolved by
 the remote mail server.

 My sendmails are configured to listen on 127.0.0.1 only, since I'm using
 to send, not receive.

See my recent posts on comp.unix.bsd.freebsd.misc about rewriting email
addresses for outgoing email:

http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/db81b1143946d420
http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/562dc23fca32c37c

This is _exactly_ what you want to do, and the original poster of that
thread is also running Sendmail on 127.0.0.1 only.

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


Questions on the scheduler

2007-09-24 Thread Jim Stapleton
I've heard a lot of winging about the FreeBSD scheduler from Linux
people, and even saw that is the reason for one fork off of FreeBSD.

In my experience, I've gotten better performance out of FreeBSD on
single or multi-CPU systems than I have out of Linux or Windows (or
really any other system).

Are these complains I hear of outdated, am I hallucinationg, or is
there another answer? Although this is probably a better question for
-current, what is the state of the scheduler(s), and what would be
some good reading on the subject (specifically to BSD, and not just
schedulers in general)?


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


Re: Can't login: no pam_unix.so found

2007-09-24 Thread Mel
On Sunday 23 September 2007 04:57:13 Victor Star wrote:
 Hi guys,

 I need your help to fix my FreeBSD 6.2-RELEASE system.
 This is my home server, used mostly for mail (courier) and local file
 server (samba). It's been up for quite some time with no problems and
 really fun for me to learn FreeBSD. I've learned lots of things configuring
 postfix, courier, RAIDs and wireless. But now I have something I can't
 handle myself. Spent time searching archives, web to no avail.

 Now, few days ago I started getting the following in the daily security run
 output:

 - 8 -===
 Checking for packages with security vulnerabilities:

 su: pam_start: system error
 - 8 -===

 What I see on the console is:
 - 8 -===
 su: in openpam_load_module(): no pam_unix.so found
 su: pam_start: system error
 - 8 -===

 I can't also login neither through ssh nor on the console - getting same
 error. Luckily I still have one ssh root session alive (so far!).
 I have this bad feeling that on disconnect or reboot I will loose the
 access to the box.

 Mail server still working no problem, smtp and POP via SSL work and
 authorize fine.

 pam_unix.so is in /usr/lib:
 - 8 -===
 # ls -l /usr/lib/pam_unix*
 lrwxr-xr-x  1 root  wheel 13 Sep 25  2006 /usr/lib/pam_unix.so -
 pam_unix.so.3 -r--r--r--  1 root  wheel  10240 Feb 19  2007
 /usr/lib/pam_unix.so.3 # file /usr/lib/pam_unix.so
 /usr/lib/pam_unix.so: symbolic link to `pam_unix.so.3'
 - 8 -===

If ldd /usr/lib/pam_unix.so does not show undefined libs, then first thing I'd 
look would be towards limits, most notably open file limits:
compare sysctl kern.openfiles with output of limits -Hn.

 There is one more thing that is suspiciously close in time to when this
 started happening. In the same security run output where  I first saw this
 error I found this: - 8
 -===
 Sep 18 11:11:37 xx su: BAD SU myloginname to root on /dev/ttyp3

Did or did you not mistype password?

 Sep 18 11:13:46 xx sshd[45047]: Bad protocol version identification
 '\377\364\377\375\006quit' from some ip here Sep 18 11:15:08 xx
 sshd[45056]: Received disconnect from some ip here: 2: Bad packet length
 710099706. - 8 -===

That's some user doing telnet on port 22 and doesn't know how to talk ssh.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't login: no pam_unix.so found

2007-09-24 Thread Victor Star
Hi Mel,

 pam_unix.so is in /usr/lib:
 - 8 -===
 # ls -l /usr/lib/pam_unix*
 lrwxr-xr-x  1 root  wheel 13 Sep 25  2006 /usr/lib/pam_unix.so -
 pam_unix.so.3 -r--r--r--  1 root  wheel  10240 Feb 19  2007
 /usr/lib/pam_unix.so.3 # file /usr/lib/pam_unix.so
 /usr/lib/pam_unix.so: symbolic link to `pam_unix.so.3'
 - 8 -===

 If ldd /usr/lib/pam_unix.so does not show undefined libs, then first thing 
 I'd 
 look would be towards limits, most notably open file limits:
 compare sysctl kern.openfiles with output of limits -Hn.

Yes, ldd shows no undefined libs. Here is the output for the file limits:
==- 8 -
# sysctl kern.openfiles
kern.openfiles: 332
# limits -Hn
Resource limits (current):
  openfiles1735

==- 8 -

 -===
 Sep 18 11:11:37 xx su: BAD SU myloginname to root on /dev/ttyp3

 Did or did you not mistype password?

I can't completely deny I didn't. I could have. But I somewhat doubt it.
There were some glitches with the router NAT around that time, for whatever 
reason it stopped
forwarding POP traffic to the appropriate port, I was trying to fix it.
There is a slight chance POP traffic was forwarded to SSH. That would explain 
the following lines,
but POP trying to go SU looks somewhat unusual.

 Sep 18 11:13:46 xx sshd[45047]: Bad protocol version identification
 '\377\364\377\375\006quit' from some ip here Sep 18 11:15:08 xx
 sshd[45056]: Received disconnect from some ip here: 2: Bad packet length
 710099706. - 8 -===

 That's some user doing telnet on port 22 and doesn't know how to talk ssh.


-- 
Best regards,
 Victor  

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


collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2007-09-24 Thread forum
Hi,

I have a new 6.2 install running postfix, amavisd-new, clamav and SpamAssassin
and over the weekend the server stopped responding with the following error.
collecting pv entries -- suggest increasing PMAP_SHPGPERPROC.  I did some google
searching on the error and found the same problem with Apache, but none with my
configuration. Most of the sites say to increase the PMAP_SHPGPERPROC, but none
say how or what to increase it to. 

Does anyone have a suggestion on how I should go about troubleshooting this or
what I should change my PMAP_SHPGPERPROC to? Could this be a one time fluke and 
I
shouldn’t worry about it?

 

Thanks





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


CMS ideas and suggestions

2007-09-24 Thread Andrew Falanga
Hello everyone,

At the suggestion of someone who responded to my requests for help with
WebGUI, I decided to ask this question here.  What CMS programs would the
community here suggest for use because, to be frank, I'm less than impressed
with WebGUI.  It is for use with my church.  The following are at least some
of the requirements.

1) Most important, it must be completely simple for the computer illiterate
and especially web illiterate to maintain.  Basically, a very simple and
easy to use GUI interface for web site maintenance is a must.

2) Calendaring

3) Username/password authentication to the site for maintenance and upkeep.
Ideally, this system would use OpenSSL or something similar for encrypting
username/password combinations.

4) The capacity for a public and then private side to the church web site.
That is, we'd like the ability to have the front end that is available to
the world, e.g. welcome to the church, etc.  Then have an area for church
members to log into that provides greater depth to information access
(perhaps prayer chains, etc.).


They are the must haves for the site, now for the like to have also in the
site.

1) Possibly, though probably not a deal breaker if not possible, a system
that would allow a central figure to review changes made by individuals
before being published to the site.

2) Written in PHP.

3) Utilizes PostgreSQL instead of MySQL.

4) Has an integrated (or module available) to allow e-mail access, i.e.
send/receive.

5) If possible, something in the FreeBSD ports collection.


Just a quick review of Content Management Systems from www.freshports.org, I
saw and am interested in comments about tikiwiki.  However, I saw while
looking through Content Management Systems at wikipedia, that there are many
open source, freely available CMS programs to be looked at.  From this site,
I've downloaded and am trying phpWebSite.

Anyone with experience with these systems (CMS, not necessarily tikiwiki,
WebGUI or phpWebSite), your feedback would be greatly appreciated.  Also,
recommendations as to computer horse power necessary for these systems
would also be nice.  We're using, what most small churches would probably
use, an older system that was replaced by a laptop for the secretary.  It's
an AMD Duron 700 mHz w/256 mb of RAM.  I'm not planning on running X on this
system, to conserve resources, but should we look into a beefier system at a
later time?

Thanks for any insight into this.

Andy
[image: Close] Read moreOptions 
[image: Visit Answers.com] http://www.answers.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Booting to Sysinstall

2007-09-24 Thread Jerahmy Pocott

Hello,

Okay so here is the situation:
Server has dead fd and cd drives, or maybe none at all. You want to  
install FreeBSD

on it.

The idea I had was to create a small partition, copy the contents of  
a cd into, set it

to boot off that partition, reboot and it would boot up into sysinstall.

Would this be possible? Or is it a dumb idea?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is your Thunderbird OK?

2007-09-24 Thread Pollywog
On Monday 24 September 2007 07:19:49 Byung-Hee HWANG wrote:
 Hi there,

 Just been wondering about this for long weeks. I have some complain
 Thudnerbird's the speed when it start up on FreeBSD. Its speed is very
 slow. While thunderbird start up, I go to brew coffee. Aside from that,
 Thunderbird is the best MUA, indeed.

I have not noticed this speed issue with Thunderbird.  I use kmail for the 
most part but now and then some mail is not visible in kmail and appears to 
be just headers with no message body, and in those cases I use Thunderbird to 
read those emails that I can't see in kmail.  Thunderbird comes up as fast as 
kmail does.  The only problem that I do have with Thunderbird is that it 
sometimes says that I have the maximum number of connections (I use IMAP) 
open.  kmail never says that.

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


Re: CMS ideas and suggestions

2007-09-24 Thread Reko Turja

Hi!

Just a quick review of Content Management Systems from 
www.freshports.org, I
saw and am interested in comments about tikiwiki.  However, I saw 
while
looking through Content Management Systems at wikipedia, that there 
are many
open source, freely available CMS programs to be looked at.  From 
this site,

I've downloaded and am trying phpWebSite.

Anyone with experience with these systems (CMS, not necessarily 
tikiwiki,
WebGUI or phpWebSite), your feedback would be greatly appreciated. 
Also,
recommendations as to computer horse power necessary for these 
systems
would also be nice.  We're using, what most small churches would 
probably
use, an older system that was replaced by a laptop for the 
secretary.  It's
an AMD Duron 700 mHz w/256 mb of RAM.  I'm not planning on running X 
on this
system, to conserve resources, but should we look into a beefier 
system at a

later time?



I'm in a like situation as you, looking for Postgres/PHP based CMS, 
and Postgres support is rare in PHP circles... You might want to check 
Bitweaver (www.bitweaver.org), which is a more CMS-like branching of 
tikiwiki. It looks quite good for the use I'm planning to put it into, 
but the burn-in period is still going on.


Xaraya might fit the requirements as well, but cannot remember the 
specifics. THen there is of course Drupal (www.drupal.org). At least 
Drupal is in the ports.


CMS's tend to be quite big and sluggish, and the more content you 
have, the slower they get. Of course the caching schemes etc. 
incorporated in several of those help, but even the caches need memory 
that is free and preferably not in the hard disk. For a bit of 
additional boost, you might consider one of the PHP-accelerators out 
there.


-Reko 


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


Re: Booting to Sysinstall

2007-09-24 Thread Dan Nelson
In the last episode (Sep 24), Jerahmy Pocott said:
 Okay so here is the situation: Server has dead fd and cd drives, or
 maybe none at all. You want to install FreeBSD on it.
 
 The idea I had was to create a small partition, copy the contents of
 a cd into, set it to boot off that partition, reboot and it would
 boot up into sysinstall.
 
 Would this be possible? Or is it a dumb idea?

Definitely possible, but if you've taken the time to remove the drive
and plug it into another machine with FreeBSD on it, you can save
another step and just clone that system onto the new drive and remove
any host-specific config, or fetch the raw distribution files and
extract them onto the new drive.  That way you get a working system
immediately when you put the drive back in the old system.

-- 
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: Booting to Sysinstall

2007-09-24 Thread Manolis Kiagias

Jerahmy Pocott wrote:

Hello,

Okay so here is the situation:
Server has dead fd and cd drives, or maybe none at all. You want to 
install FreeBSD

on it.

The idea I had was to create a small partition, copy the contents of a 
cd into, set it

to boot off that partition, reboot and it would boot up into sysinstall.

Would this be possible? Or is it a dumb idea?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



The problem with this approach is, you actually need to boot the FreeBSD 
kernel to continue with the install. Just by marking a partition as 
bootable, will not make it boot, and neither copying the FreeBSD CD 
contents will. You have to write a suitable boot sector that will load 
the rest of the OS, be it DOS, Windows, FreeBSD or whatever. And the 
fact remains, to install FreeBSD you have to boot into the FreeBSD 
kernel. After that it would be no problem installing from files on a FAT 
partition. It would certainly be a lot less trouble to connect a floppy 
drive, boot from it, and continue with your partition based install. In 
fact, in your case I would simply remove the disk, place it on another 
machine, do a base install, copy the CD contents to a folder, move it 
back to the other machine and continue from there. If, in fact, the 
machine has fast internet access, the basic setup is all you need.


Manolis


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


Re: CMS ideas and suggestions

2007-09-24 Thread Hakan K
Try Joomla



Thanks
Hakan
http://dominor.com

On 9/24/07, Andrew Falanga [EMAIL PROTECTED] wrote:

 Hello everyone,

 At the suggestion of someone who responded to my requests for help with
 WebGUI, I decided to ask this question here.  What CMS programs would the
 community here suggest for use because, to be frank, I'm less than
 impressed
 with WebGUI.  It is for use with my church.  The following are at least
 some
 of the requirements.

 1) Most important, it must be completely simple for the computer
 illiterate
 and especially web illiterate to maintain.  Basically, a very simple and
 easy to use GUI interface for web site maintenance is a must.

 2) Calendaring

 3) Username/password authentication to the site for maintenance and
 upkeep.
 Ideally, this system would use OpenSSL or something similar for encrypting
 username/password combinations.

 4) The capacity for a public and then private side to the church web site.
 That is, we'd like the ability to have the front end that is available
 to
 the world, e.g. welcome to the church, etc.  Then have an area for church
 members to log into that provides greater depth to information access
 (perhaps prayer chains, etc.).


 They are the must haves for the site, now for the like to have also in
 the
 site.

 1) Possibly, though probably not a deal breaker if not possible, a system
 that would allow a central figure to review changes made by individuals
 before being published to the site.

 2) Written in PHP.

 3) Utilizes PostgreSQL instead of MySQL.

 4) Has an integrated (or module available) to allow e-mail access, i.e.
 send/receive.

 5) If possible, something in the FreeBSD ports collection.


 Just a quick review of Content Management Systems from www.freshports.org,
 I
 saw and am interested in comments about tikiwiki.  However, I saw while
 looking through Content Management Systems at wikipedia, that there are
 many
 open source, freely available CMS programs to be looked at.  From this
 site,
 I've downloaded and am trying phpWebSite.

 Anyone with experience with these systems (CMS, not necessarily tikiwiki,
 WebGUI or phpWebSite), your feedback would be greatly appreciated.  Also,
 recommendations as to computer horse power necessary for these systems
 would also be nice.  We're using, what most small churches would probably
 use, an older system that was replaced by a laptop for the
 secretary.  It's
 an AMD Duron 700 mHz w/256 mb of RAM.  I'm not planning on running X on
 this
 system, to conserve resources, but should we look into a beefier system at
 a
 later time?

 Thanks for any insight into this.

 Andy
 [image: Close] Read moreOptions 
 [image: Visit Answers.com] http://www.answers.com
 ___
 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: migrate from postfix to qmail

2007-09-24 Thread Bob Johnson
On 9/21/07, Lotfi kecir [EMAIL PROTECTED] wrote:
 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
 one mail server with postfix-dovecot and i would like to migrate it to Qmail
 server. but i didn't know how to do it. Someone can give help me?
 Thanks.

The short answer should be that you just install the mail/qmail port.
The details of how to move the mailboxes to the new server depend on
what mailbox format you are using now.  If they are Maildir format,
Qmail will be able to use them with no changes. If they are not
Maildir format, you will need to post that information.

But please do not use Qmail -- it pollutes everyone else's mailbox
with blowback spam. If someone has convinced you that you want to use
Qmail, I strongly recommend that you consider Courier instead. It was
designed to be a drop-in replacement for Qmail, but does not have most
of the problems that Qmail has. The configuration files are very
similar to Qmail, so Qmail training should transfer to Courier pretty
readily.

If you are putting this on the same server you now use for
postfix/dovecot, you will probably need to edit /etc/rc.conf to
disable your old mail program and enable the new one. E.g. if there is
a 'postfix_enable=YES' statement, you may need to replace it with
something like 'courier_enable=YES'.

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


Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2007-09-24 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 Hi,
 
 I have a new 6.2 install running postfix, amavisd-new, clamav and SpamAssassin
 and over the weekend the server stopped responding with the following error.
 collecting pv entries -- suggest increasing PMAP_SHPGPERPROC.  I did some 
 google
 searching on the error and found the same problem with Apache, but none with 
 my
 configuration. Most of the sites say to increase the PMAP_SHPGPERPROC, but 
 none
 say how or what to increase it to.

I've never seen a modern version of FreeBSD lock up as a result of this,
so that's a little odd.

 Does anyone have a suggestion on how I should go about troubleshooting this or
 what I should change my PMAP_SHPGPERPROC to? Could this be a one time fluke 
 and I
 shouldn’t worry about it?

I had to research this earlier this year.  The default is 200, so in my
case, raising the value to 250 solved the problem.  I fixed it by adding
the setting to my kernel config and building a new kernel.  I believe
you can also set it in loader.conf

I haven't tried setting it higher than 250 (haven't had the need) but
I've seen some posts suggesting that setting it too high can cause
kernel panics.  I recommend bumping it to 250, then go to 300 if the
problem doesn't go away -- but in any event, don't increase it
drastically.

-- 
Bill Moran
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: OpenOffice problems

2007-09-24 Thread Marco Beishuizen
On Mon, 24 Sep 2007, Mel wrote:

 Q: Do you have linux-jdk installed rather then diablo-jdk?

No, the FreeBSD jdk15 is installed.

-- 
What George Washington did for us was to throw out the British, so
that we wouldn't have a fat, insensitive government running our
country. Nice try anyway, George.
-- D.J. on KSFO/KYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions on the scheduler

2007-09-24 Thread Bill Moran
In response to Jim Stapleton [EMAIL PROTECTED]:

 I've heard a lot of winging about the FreeBSD scheduler from Linux
 people, and even saw that is the reason for one fork off of FreeBSD.
 
 In my experience, I've gotten better performance out of FreeBSD on
 single or multi-CPU systems than I have out of Linux or Windows (or
 really any other system).
 
 Are these complains I hear of outdated, am I hallucinationg, or is
 there another answer? Although this is probably a better question for
 -current, what is the state of the scheduler(s), and what would be
 some good reading on the subject (specifically to BSD, and not just
 schedulers in general)?

Any discussion regarding such things is obsolete as quickly as it's
written.  Every OS I know if is constantly working to improve such
things.  Getting reliable, high-performance scheduling on modern SMP
hardware is tough, but they all keep improving.

Without a specific problem referencing a specific version, it's just
idle chatter and useless for anything other than exercising your jaw
between beers.

If you have a specific performance problem, I highly recommend you
file a PR with plenty of details.  This is what happened with both
MySQL and PostgreSQL and the result is that FreeBSD 7's ability to
run those applications has improved dramatically.

I doubt you're hallucinating, but without specifics, it's difficult
to say what you're hearing.  Lots of people think they can do
benchmarking, but few (in my experience) are capable of legitimately
doing a non-biased comparison that can really be trusted.

I don't know where to point you for reading materials other than the
code itself, and that's not something that's easily digested.  As I
said, writing high-quality schedulers is black magic, and the code
reads that way.

-- 
Bill Moran
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: OpenOffice problems

2007-09-24 Thread Mel
On Monday 24 September 2007 18:20:44 Marco Beishuizen wrote:
 On Mon, 24 Sep 2007, Mel wrote:
  Q: Do you have linux-jdk installed rather then diablo-jdk?

 No, the FreeBSD jdk15 is installed.

Ah, it uses GCC 4.2, which has libstdc++ v6. -stable has v5. Did gcc 4.2 get 
uninstalled after build? if it's still there, find libstdc++.so.6 
under /usr/local and run /sbin/ldconfig -m with that directory as argument.

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


Skype problem

2007-09-24 Thread Rem P Roberti
Just installed Skype on my FreeBSD 6.2 system and I can receive and 
chat, but I can't transmit.  Any ideas on why the mike won't function?


TIA,

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


Re: OpenOffice problems

2007-09-24 Thread Marco Beishuizen
On Mon, 24 Sep 2007, Mel wrote:

 On Monday 24 September 2007 18:20:44 Marco Beishuizen wrote:
  On Mon, 24 Sep 2007, Mel wrote:
   Q: Do you have linux-jdk installed rather then diablo-jdk?
 
  No, the FreeBSD jdk15 is installed.
 
 Ah, it uses GCC 4.2, which has libstdc++ v6. -stable has v5. Did gcc 4.2 get 
 uninstalled after build? if it's still there, find libstdc++.so.6 
 under /usr/local and run /sbin/ldconfig -m with that directory as argument.

But libstdc++.so.6 isn't under /usr/local, it's under 
/usr/compat/linux/usr/lib.

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


Re: OpenOffice problems

2007-09-24 Thread Mel
On Monday 24 September 2007 19:08:28 Marco Beishuizen wrote:
 On Mon, 24 Sep 2007, Mel wrote:
  On Monday 24 September 2007 18:20:44 Marco Beishuizen wrote:
   On Mon, 24 Sep 2007, Mel wrote:
Q: Do you have linux-jdk installed rather then diablo-jdk?
  
   No, the FreeBSD jdk15 is installed.
 
  Ah, it uses GCC 4.2, which has libstdc++ v6. -stable has v5. Did gcc 4.2
  get uninstalled after build? if it's still there, find libstdc++.so.6
  under /usr/local and run /sbin/ldconfig -m with that directory as
  argument.

 But libstdc++.so.6 isn't under /usr/local, it's under
 /usr/compat/linux/usr/lib.


what's the output of:
ls /var/db/pkg|grep gcc

and:
find /usr/local -name 'libstdc++*'

Btw, I assume you're running -stable, since on -current your libstdc++.so.6 
should be in /usr/lib.

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


Re: Repeated PXE jumpstart

2007-09-24 Thread Ed Maste
On Fri, Sep 21, 2007 at 09:02:04PM +0100, Jan Grant wrote:

 The alternative is to put PXE ahead of the HD in the boot order, and 
 call back to the deployment host at the end of installation (prior to 
 reboot) to signal a DHCP reconfiguration.
 
 It adds a PXE timeout to each boot; the upside is that replacing a 
 wedging or otherwise broken install is just a matter of reconfiguring a 
 DHCP server.

You could instead load pxegrub and have it boot from the disk instead
of waiting for the PXE timeout.  Or, if you're willing to accept a
network-booted loader, how about just having it load and boot the kernel
from the disk?

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


Re: Questions on the scheduler

2007-09-24 Thread RW
On Mon, 24 Sep 2007 10:23:40 -0400
Jim Stapleton [EMAIL PROTECTED] wrote:

 I've heard a lot of winging about the FreeBSD scheduler from Linux
 people, and even saw that is the reason for one fork off of FreeBSD.
 
 In my experience, I've gotten better performance out of FreeBSD on
 single or multi-CPU systems than I have out of Linux or Windows (or
 really any other system).
 
 Are these complains I hear of outdated, 

Probably. I think you are talking about SMP performance. A few  years
ago FreeBSD had good performance on single CPUs, but didn't scale very
well onto machines with multiple CPUs, unlike Linux and Solaris. The
kernel wasn't really designed to work this way and a lot of the code was
protected by a single Giant Lock. Companies like Yahoo and Hotmail
(pre-Microsoft) tended to use FreeBSD where the load could be shared
between many low-end machines.

The FreeBSD response was to make the kernel more SMP friendly with
finer-grained locking, and to bring-in the ULE scheduler. Dragonfly BSD
was a fork off 4.x by people who thought a more radical kernel rewrite
was needed. Their kernel avoids a lot of the locking problems by using
message queues.

As I understand it the locking problems were addressed in 5/6-current.
There are still problems with the ULE scheduler in 6.x, but they have
been fixed in 7-current, and things scale roughly as they should with
multiple cores/cpus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anyone have a favorite laptop?

2007-09-24 Thread Steve Franks
The freebsd laptop page is a nice resource, but it's a bit heavy on
specifics (i.e. I have a laptop I want to install on), not so good
generally (want to buy a laptop).  So anyone have realworld advice?
I'm not against something used in the 1GHz+ range.

I have a compaq that is %#*!^$.  The pcmcia will not work, the
ndiswrapper for the broadcom panics, etc.  So, compaq is right out
(the've always maintained their poor reputation, no?) - so compaq is
out.  Seems gateway has an equally bad rap

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


Re: OpenOffice problems

2007-09-24 Thread Marco Beishuizen
On Mon, 24 Sep 2007, Mel wrote:

  But libstdc++.so.6 isn't under /usr/local, it's under
  /usr/compat/linux/usr/lib.
 
 
 what's the output of:
 ls /var/db/pkg|grep gcc

gcc-4.2.2_20070905
gcc-ooo-3.4.1_2
gccmakedep-1.0.2

 and:
 find /usr/local -name 'libstdc++*'

/usr/local/lib/compat/libstdc++.so.4
/usr/local/lib/compat/libstdc++.so.3
/usr/local/lib/gcc-4.2.2/libstdc++.so.6
/usr/local/lib/gcc-4.2.2/libstdc++.so
/usr/local/lib/gcc-4.2.2/libstdc++.a
find: /usr/local/etc/mail/spamassassin/sa-update-keys: Permission denied
find: /usr/local/etc/cups/ssl: Permission denied
/usr/local/share/apps/kdevdocumentation/tocs/libstdc++.toc
/usr/local/share/google-earth/libstdc++.so.6
/usr/local/gcc-ooo/i386-portbld-freebsd6.1/3.4.1/lib/libstdc++.la
/usr/local/gcc-ooo/i386-portbld-freebsd6.1/3.4.1/lib/libstdc++.a
find: /usr/local/sql-ledger/spool: Permission denied
find: /usr/local/sql-ledger/css: Permission denied
find: /usr/local/sql-ledger/users: Permission denied
find: /usr/local/sql-ledger/templates: Permission denied
find: /usr/local/pgsql/data: Permission denied

Strange, there seem to be more instances of libstdc++.so.6 than when I 
search for the file with locate.

 Btw, I assume you're running -stable, since on -current your libstdc++.so.6 
 should be in /usr/lib.

Yes, it's 6.2-stable.

-- 
New York's got the ways and means;
Just won't let you be.
-- The Grateful Dead
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Skype problem

2007-09-24 Thread Predrag Punosevac

Rem P Roberti wrote:
Just installed Skype on my FreeBSD 6.2 system and I can receive and 
chat, but I can't transmit.  Any ideas on why the mike won't function?  
Audio card is not configured properly.  Skype has noting to do with it 
as it would work out of box if the hardware is configured properly.  
Check your recording device, mixer level and similar. You also have to 
give permission permissions by editing /etc/devfs.conf


perm   /dev/dsp* 0666 (dsp stands for synthetic sound)
and probably the next one would not hurt
perm   /dev/pci* 0666


It would help if you tell us your set up (which audio card you use, 
which driver and so on before somebody can say something more).




TIA,

Rem
___
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: anyone have a favorite laptop?

2007-09-24 Thread Predrag Punosevac

Steve Franks wrote:

The freebsd laptop page is a nice resource, but it's a bit heavy on
specifics (i.e. I have a laptop I want to install on), not so good
generally (want to buy a laptop).  So anyone have realworld advice?
I'm not against something used in the 1GHz+ range.

I have a compaq that is %#*!^$.  The pcmcia will not work, the
ndiswrapper for the broadcom panics, etc.  So, compaq is right out
(the've always maintained their poor reputation, no?) - so compaq is
out.  Seems gateway has an equally bad rap

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

IBM ThinkPad you can not go wrong.

T23, T30 or T43 are $200-400 on ebay. If you are rich T60 by far the 
best laptop on the market in my opinion.

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


Re: anyone have a favorite laptop?

2007-09-24 Thread Dmitry Gorbik
On Mon, 24 Sep 2007 11:00:33 -0700
Steve Franks [EMAIL PROTECTED] wrote:

 The freebsd laptop page is a nice resource, but it's a bit heavy on
 specifics (i.e. I have a laptop I want to install on), not so good
 generally (want to buy a laptop).  So anyone have realworld advice?
 I'm not against something used in the 1GHz+ range.
 
 I have a compaq that is %#*!^$.  The pcmcia will not work, the
 ndiswrapper for the broadcom panics, etc.  So, compaq is right out
 (the've always maintained their poor reputation, no?) - so compaq is
 out.  Seems gateway has an equally bad rap
 
 Thanks,
 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

As for me, I have never had problems with running FreeBSD on Sony VAIO laptops. 
I use Sony PCG-TR3/B and all except motion eye (didn't tested) is working here. 
I had experience trying to get working FreeBSD at Amilo Pa2510, but had 
troubles with Radeon x1200 video-card. So you should look at laptops with intel 
videocards or ndidia.


signature.asc
Description: PGP signature


Re: OpenOffice problems

2007-09-24 Thread Marco Beishuizen
On Mon, 24 Sep 2007, Mel wrote:

 On Monday 24 September 2007 18:20:44 Marco Beishuizen wrote:
  On Mon, 24 Sep 2007, Mel wrote:
   Q: Do you have linux-jdk installed rather then diablo-jdk?
 
  No, the FreeBSD jdk15 is installed.
 
 Ah, it uses GCC 4.2, which has libstdc++ v6. -stable has v5. Did gcc 4.2 get 
 uninstalled after build? if it's still there, find libstdc++.so.6 
 under /usr/local and run /sbin/ldconfig -m with that directory as argument.

Yes.

Now I've found libstdc++.so.6 in /usr/local/lib/gcc-4.2.2, I made a 
symlink to /usr/lib. After that it complained about a missing 
libgcc_s.so.1. When I symlinked this file also in /usr/lib OO starts up.

Now it only complaines about not having a en_US locale but that is a minor 
issue.

Thanks a lot for the help!

Marco

-- 
If a listener nods his head when you're
explaining your program, wake him up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone have a favorite laptop?

2007-09-24 Thread Wojciech Puchar

The freebsd laptop page is a nice resource, but it's a bit heavy on
specifics (i.e. I have a laptop I want to install on), not so good
generally (want to buy a laptop).  So anyone have realworld advice?
I'm not against something used in the 1GHz+ range.


my IBM T23 works perfect with FreeBSD. ALL devices works. newest IBM 
(lenovo) models works too.


there are lot of ACPI errors but all (including ACPI things) works right.

you may like to buy external cardbus USB controller if you need USB 2.0


Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p7 #0: Fri Aug 24 00:10:39 CEST 2007
[EMAIL PROTECTED]:/root/kernel/compile/p234
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) III Mobile CPU  1133MHz (1132.38-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 267780096 (255 MB)
avail memory = 252481536 (240 MB)
acpi0: IBM TP-1A on motherboard
acpi_ec_ecdt_probe: can't get handle
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.FDC_._INI] 
(Node 0xc220a700), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__._INI] 
(Node 0xc2202700), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc2205d60), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT1._STA] (Node 0xc2205d60), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BGID] 
(Node 0xc220a840), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BINI] 
(Node 0xc220a860), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BSTA] 
(Node 0xc220a8a0), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.IDE0.SCND.MSTR._STA] (Node 0xc220a760), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 
[\\_SB_.PCI0.IDE0.SCND.MSTR._STA] (Node 0xc220a760), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BGID] 
(Node 0xc220a840), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BINI] 
(Node 0xc220a860), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BSTA] 
(Node 0xc220a8a0), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.USB0.URTH.UNST._STA] (Node 0xc220ad80), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 
[\\_SB_.PCI0.USB0.URTH.UNST._STA] (Node 0xc220ad80), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BGID] 
(Node 0xc220a840), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BINI] 
(Node 0xc220a860), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__.BSTA] 
(Node 0xc220a8a0), AE_NOT_EXIST
ACPI-1304: *** Error: Method execution failed [\\_SB_.NEST._STA] (Node 
0xc220a5a0), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed [\\_SB_.NEST._STA] (Node 
0xc220a5a0), AE_NOT_EXIST
acpi0: Power Button (fixed)
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler
ACPI-1304: *** Error: Method execution failed 
[\\_SB_.PCI0.LPC_.EC__.BAT0._STA] (Node 0xc22060c0), AE_NOT_EXIST
ACPI-0239: *** Error: Method execution failed 

Re: urgent sendmail question

2007-09-24 Thread Wojciech Puchar

what's your hostname?


On Mon, 24 Sep 2007, Duane Winner wrote:


Hello,

I know if I poked around enough, I could find the answer, but am up
against the wall here and need a quick solution. I just discovered a
major problem with my sendmail configurations.

Just recently started consolidating servers by virtual hosting apache,
several servers on one box. Problem is that the web app sometimes send
automated emails to users, and now they're getting bounced back because
the emails are going out with @fakename.mydomain.org instead of
@mydomain.org.

Since there is no DNS entry for fakename.mydomain.org, recipient's
mail servers are rejecting these emails from my servers.

So I have an apache box, fakename.mydomain.org, hosting 5 virtual
hosts with unique domain names that do have public dns records.

I need to all outbound mail appear to be coming from [EMAIL PROTECTED]
or [EMAIL PROTECTED], as long as it can be resolved by
the remote mail server.

My sendmails are configured to listen on 127.0.0.1 only, since I'm using
to send, not receive.

Please help!

Thanks,
DW

___
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: Skype problem

2007-09-24 Thread Wojciech Puchar
Just installed Skype on my FreeBSD 6.2 system and I can receive and chat, but 
I can't transmit.  Any ideas on why the mike won't function?

you can't (error) or there is just silence?

run mixer and check if all is OK


TIA,

Rem
___
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: OpenOffice problems

2007-09-24 Thread Mel
On Monday 24 September 2007 20:01:51 Marco Beishuizen wrote:

 Strange, there seem to be more instances of libstdc++.so.6 than when I
 search for the file with locate.

For future ref: locate uses a cache, built weekly using periodic(8). Find 
searches the disk live, so locate is faster but can be over a week old, if 
your machine is off during weekly periodic (by default Saturday night at 
4am).

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


Re: anyone have a favorite laptop?

2007-09-24 Thread Hakan K
IBM Thinkpad, Sony Vaio



Hakan
http://dominor.com

On 9/24/07, Steve Franks [EMAIL PROTECTED] wrote:

 The freebsd laptop page is a nice resource, but it's a bit heavy on
 specifics (i.e. I have a laptop I want to install on), not so good
 generally (want to buy a laptop).  So anyone have realworld advice?
 I'm not against something used in the 1GHz+ range.

 I have a compaq that is %#*!^$.  The pcmcia will not work, the
 ndiswrapper for the broadcom panics, etc.  So, compaq is right out
 (the've always maintained their poor reputation, no?) - so compaq is
 out.  Seems gateway has an equally bad rap

 Thanks,
 Steve
 ___
 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]


Mpd (3.x) mpd4 config and differeces in reconnect/dial behaviour ?

2007-09-24 Thread Alan Tamm
Hi everyone!

Since upgrade from 3.x to 4.x I have to manually (re) open the bundle PPPoE
but I can't afford this system to be offline/needing manual intervention
from now on. When the connection times out mpd4 just won't reconnect..


This (mpd3.x) setup works flawlessly (without reconnection problems):

#mpd.conf
pppoe:
new -i ng0 pppoe PPPoE
set iface addrs 192.168.0.1 192.168.0.2
set iface route default
set iface disable on-demand
set iface idle 0
set bundle disable multilink
set bundle authname secret
set link no acfcomp protocomp
set link disable pap chap
set link accept chap
set link mtu 1492
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
open iface

#mpd.links
PPPoE:
set link type pppoe
set pppoe iface rl0
set pppoe service 
set pppoe disable incoming
set pppoe enable originate


## mpd4 --version
## Version 4.3
# (no reconnect)

#mpd.conf

PPPoE:
# new PPPoE PPPoE
new -i ng0 PPPoE PPPoE
set iface route default
set iface disable on-demand
set iface idle 0
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set bundle disable multilink
## set bundle disable noretry
set auth authname secret
set link no acfcomp protocomp
set link disable pap chap chap-msv1 chap-msv2 eap
set link accept chap-md5 chap
set link keep-alive 5 30
set link max-redial 0
open

#mpd.links
PPPoE:
set phys type pppoe
set pppoe iface rl0
# set pppoe service whatever
set pppoe disable incoming
set pppoe enable originate


#log output:
Sep 24 20:43:28 secret mpd: [PPPoE] LCP: no reply to 1 echo request(s)
Sep 24 20:43:33 secret mpd: [PPPoE] LCP: no reply to 2 echo request(s)
Sep 24 20:43:38 secret mpd: [PPPoE] LCP: no reply to 3 echo request(s)
Sep 24 20:43:43 secret mpd: [PPPoE] LCP: no reply to 4 echo request(s)
Sep 24 20:43:48 secret mpd: [PPPoE] LCP: no reply to 5 echo request(s)
Sep 24 20:43:48 secret mpd: [PPPoE] LCP: peer not responding to echo
requests
Sep 24 20:43:48 secret mpd: [PPPoE] LCP: state change Opened -- Stopping
Sep 24 20:43:48 secret mpd: [PPPoE] AUTH: Accounting data for user : 70
seconds, 666055 octets in, 83043 octets out
Sep 24 20:43:48 secret mpd: [PPPoE] Bundle up: 0 links, total bandwidth 9600
bps
Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: Close event
Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: state change Opened -- Closing
Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: SendTerminateReq #4
Sep 24 20:43:48 secret mpd: [PPPoE] IPCP: LayerDown
Sep 24 20:43:49 secret mpd: [PPPoE] IFACE: Down event
Sep 24 20:43:49 secret mpd: [PPPoE] IPCP: Down event
Sep 24 20:43:49 secret mpd: [PPPoE] IPCP: LayerFinish
Sep 24 20:43:49 secret mpd: [PPPoE] No NCPs left. Closing links...
Sep 24 20:43:49 secret mpd: [PPPoE] closing link PPPoE...
Sep 24 20:43:49 secret mpd: [PPPoE] IPCP: state change Closing -- Initial
Sep 24 20:43:49 secret mpd: [PPPoE] AUTH: Cleanup
Sep 24 20:43:49 secret mpd: [PPPoE] LCP: SendTerminateReq #2
Sep 24 20:43:49 secret mpd: [PPPoE] LCP: LayerDown
Sep 24 20:43:49 secret mpd: [PPPoE] link: CLOSE event
Sep 24 20:43:49 secret mpd: [PPPoE] LCP: Close event
Sep 24 20:43:49 secret mpd: [PPPoE] LCP: state change Stopping -- Closing
Sep 24 20:43:51 secret mpd: [PPPoE] LCP: SendTerminateReq #3
Sep 24 20:43:53 secret mpd: [PPPoE] LCP: state change Closing -- Closed
Sep 24 20:43:53 secret mpd: [PPPoE] LCP: LayerFinish
Sep 24 20:43:53 secret mpd: [PPPoE] link: DOWN event
Sep 24 20:43:53 secret mpd: [PPPoE] LCP: Down event
Sep 24 20:43:53 secret mpd: [PPPoE] LCP: state change Closed -- Initial

Thats it (the problem), after timeout no retry attempt is made !

# quick fix:
Manual open command for bundle PPPoE

# and log output after open:

Sep 24 20:51:45 secret mpd: [PPPoE] link: OPEN event
Sep 24 20:51:45 secret mpd: [PPPoE] LCP: Open event
Sep 24 20:51:45 secret mpd: [PPPoE] LCP: state change Initial -- Starting
Sep 24 20:51:45 secret mpd: [PPPoE] LCP: LayerStart
Sep 24 20:51:45 secret mpd: [PPPoE] PPPoE: Connecting to '*'
Sep 24 20:51:45 secret mpd: PPPoE: rec'd ACNAME secret
Sep 24 20:51:45 secret mpd: [PPPoE] PPPoE: connection successful
Sep 24 20:51:45 secret mpd: [PPPoE] link: UP event
Sep 24 20:51:45 secret mpd: [PPPoE] link: origination is local
Sep 24 20:51:45 secret mpd: [PPPoE] LCP: Up event
Sep 24 20:51:45 secret mpd: [PPPoE] LCP: state change Starting -- Req-Sent
Sep 24 20:51:45 secret mpd: [PPPoE] LCP: SendConfigReq #4
Sep 24 20:51:45 secret mpd: MRU 1492
Sep 24 20:51:45 secret mpd: MAGICNUM 10c658b6
Sep 24 20:51:46 secret mpd: [PPPoE] LCP: rec'd Configure Request #20
(Req-Sent)
Sep 24 20:51:46 secret mpd: MRU 1492
Sep 24 20:51:46 secret mpd: AUTHPROTO PAP
Sep 24 20:51:46 secret mpd: MAGICNUM 022165ca
Sep 24 20:51:46 secret mpd: [PPPoE] LCP: SendConfigAck #20
Sep 24 20:51:46 secret mpd: MRU 1492
Sep 24 20:51:46 secret mpd: AUTHPROTO PAP
Sep 24 20:51:46 secret mpd: MAGICNUM 022165ca
Sep 24 20:51:46 secret mpd: [PPPoE] LCP: state change Req-Sent -- Ack-Sent
Sep 24 20:51:46 secret mpd: [PPPoE] LCP: rec'd Configure Ack #4 (Ack-Sent)
Sep 24 20:51:46 secret mpd: MRU 1492

Re: anyone have a favorite laptop?

2007-09-24 Thread Eric Crist

On Sep 24, 2007, at 1:00 PMSep 24, 2007, Steve Franks wrote:


The freebsd laptop page is a nice resource, but it's a bit heavy on
specifics (i.e. I have a laptop I want to install on), not so good
generally (want to buy a laptop).  So anyone have realworld advice?
I'm not against something used in the 1GHz+ range.

I have a compaq that is %#*!^$.  The pcmcia will not work, the
ndiswrapper for the broadcom panics, etc.  So, compaq is right out
(the've always maintained their poor reputation, no?) - so compaq is
out.  Seems gateway has an equally bad rap

Thanks,
Steve


Since it hasn't been mentioned, and it's sorta related, my vote goes  
toward the Apple Mac line of notebook computers.  While they're not  
running straight FreeBSD, it's pretty darn close.  I haven't been  
restricted in what I can do, and all the ACPI/power management stuff  
is pretty much guaranteed to work.  I find I've got more time to work  
and play, rather than tweaking my laptop so that it runs right, all  
the time.


Biggest down side is they're expensive compared to other laptops.

HTH
-
Eric F Crist
Secure Computing Networks


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


Help I borke my 7.0 AMD64

2007-09-24 Thread Abdullah Ibn Hamad Al-Marri
Hello,

I used potsclean, and it broke my GCC enviroment.

I can't make buildworld anymore.

 stage 2.3: build tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
/usr/src/tools/install.sh
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
-m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
=== bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
'^#define'  sh.err.h
cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h
/usr/src/bin/csh/config.h
/usr/src/bin/csh/../../contrib/tcsh/config_f.h
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
| grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
Char \1[];/' |  sort  tc.const.h
cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
-fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find -lgcc_s
*** Error code 1

Stop in /usr/src/bin/csh.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Repeated PXE jumpstart

2007-09-24 Thread Erik Cederstrand

Ed Maste wrote:

On Fri, Sep 21, 2007 at 09:02:04PM +0100, Jan Grant wrote:

The alternative is to put PXE ahead of the HD in the boot order, and 
call back to the deployment host at the end of installation (prior to 
reboot) to signal a DHCP reconfiguration.


It adds a PXE timeout to each boot; the upside is that replacing a 
wedging or otherwise broken install is just a matter of reconfiguring a 
DHCP server.


You could instead load pxegrub and have it boot from the disk instead
of waiting for the PXE timeout.  Or, if you're willing to accept a
network-booted loader, how about just having it load and boot the kernel
from the disk?


Someone suggested this approach, but it gets complicated when I add more 
benchmarking clients to the mix later in the project. I know I can add 
host-specific setup to dhcpd.conf, and it's possible to do similar 
things with NFS (I'm installing over NFS) to put the main server in 
charge of controlling the clients, but it gets complicated if they 
aren't rebooting synchronously. I'd rather have the clients be in charge 
of when they reinstall (e.g. when the distribution-building machine has 
completed the next set of install files).


I like Jan Grants idea, but it'll only work if FreeBSD crashes and 
reboots, not if it hangs, drops to debugger etc. Still, better than 
nothing! But until I have more time to play around, I'll let the clients 
commit their post-benchmarking suicide.


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


Website Question

2007-09-24 Thread Li Liu
Hi,

I was at your website and wanted to know how to be added onto your Hardware 
Vendor?  We are a system integrator that also installs the software.

Your site page : http://www.freebsd.org/commercial/hardware.html

Please let me know!  Thank you.

Sincerely,

Li Liu

(Rackmount Server Solutions)

King Star Computer, Inc.

1259 Reamwood Ave.

Sunnyvale, CA 94089

[EMAIL PROTECTED]

www.kingstarusa.com

Tel: 408-736-8590

Fax: 408-736-4151


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


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kris Kennaway

Abdullah Ibn Hamad Al-Marri wrote:

Hello,

I used potsclean, and it broke my GCC enviroment.


What is potsclean?


I can't make buildworld anymore.


stage 2.3: build tools

--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
/usr/src/tools/install.sh
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
-m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
=== bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
'^#define'  sh.err.h
cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h
/usr/src/bin/csh/config.h
/usr/src/bin/csh/../../contrib/tcsh/config_f.h
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
| grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
Char \1[];/' |  sort  tc.const.h
cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
-fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find -lgcc_s


You will need to obtain another copy of this library.  Either you could 
download a 7.0 snapshot and extract it from that, or maybe just 
reinstall if that is more trouble than you want to deal with.


Kris

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


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Abdullah Ibn Hamad Al-Marri
On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 Abdullah Ibn Hamad Al-Marri wrote:
  Hello,
 
  I used potsclean, and it broke my GCC enviroment.

 What is potsclean?

  I can't make buildworld anymore.
 
  stage 2.3: build tools
  --
  cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
  /usr/src/tools/install.sh
  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
   WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
  -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
  Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
  BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
  === bin/csh (obj,build-tools)
  grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
  '^#define'  sh.err.h
  cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
  -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
  -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
  /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
  /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
  /usr/src/bin/csh/config.h
  /usr/src/bin/csh/../../contrib/tcsh/config_f.h
  /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
  | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
  Char \1[];/' |  sort  tc.const.h
  cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
  -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
  -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
  -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
  /usr/src/bin/csh/../../contrib/tcsh/gethost.c
  /usr/bin/ld: cannot find -lgcc_s

 You will need to obtain another copy of this library.  Either you could
 download a 7.0 snapshot and extract it from that, or maybe just
 reinstall if that is more trouble than you want to deal with.

 Kris

Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
the native GCC environment.


-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kris Kennaway

Abdullah Ibn Hamad Al-Marri wrote:

On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:

Abdullah Ibn Hamad Al-Marri wrote:

Hello,

I used potsclean, and it broke my GCC enviroment.

What is potsclean?


I can't make buildworld anymore.


stage 2.3: build tools

--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
/usr/src/tools/install.sh
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
-m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
=== bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
'^#define'  sh.err.h
cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h
/usr/src/bin/csh/config.h
/usr/src/bin/csh/../../contrib/tcsh/config_f.h
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
| grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
Char \1[];/' |  sort  tc.const.h
cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
-fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find -lgcc_s

You will need to obtain another copy of this library.  Either you could
download a 7.0 snapshot and extract it from that, or maybe just
reinstall if that is more trouble than you want to deal with.

Kris


Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
the native GCC environment.


That sounds pretty odd, are you sure you hadn't made changes to your 
/lib (e.g. symlinking libgcc_s to a port version)?  It should not be 
touching anything under /lib at all.


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


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Abdullah Ibn Hamad Al-Marri
On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 Abdullah Ibn Hamad Al-Marri wrote:
  On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
  Abdullah Ibn Hamad Al-Marri wrote:
  Hello,
 
  I used potsclean, and it broke my GCC enviroment.
  What is potsclean?
 
  I can't make buildworld anymore.
 
  stage 2.3: build tools
  --
  cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
  /usr/src/tools/install.sh
  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
   WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
  -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
  Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
  BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
  === bin/csh (obj,build-tools)
  grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
  '^#define'  sh.err.h
  cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
  -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
  -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
  /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
  /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
  /usr/src/bin/csh/config.h
  /usr/src/bin/csh/../../contrib/tcsh/config_f.h
  /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
  | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
  Char \1[];/' |  sort  tc.const.h
  cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
  -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
  -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
  -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
  /usr/src/bin/csh/../../contrib/tcsh/gethost.c
  /usr/bin/ld: cannot find -lgcc_s
  You will need to obtain another copy of this library.  Either you could
  download a 7.0 snapshot and extract it from that, or maybe just
  reinstall if that is more trouble than you want to deal with.
 
  Kris
 
  Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
  the native GCC environment.

 That sounds pretty odd, are you sure you hadn't made changes to your
 /lib (e.g. symlinking libgcc_s to a port version)?  It should not be
 touching anything under /lib at all.

 Kris

Yes, I didn't do anything else.

ls
geomlibalias_smedia.so  libcrypto.so.5
 libmd.so.4  libufs.so.4
libalias.so.6   libatm.so.5 libdevstat.so.6
 libncurses.so.7 libumem.so.1
libalias_cuseeme.so libavl.so.1 libedit.so.6
 libncursesw.so.7libutil.so.7
libalias_dummy.so   libbegemot.so.3 libgeom.so.4
 libnvpair.so.1  libuutil.so.1
libalias_ftp.so libbsdxml.so.3  libipsec.so.3
 libpcap.so.5libz.so.4
libalias_irc.so libbsnmp.so.4   libipx.so.4
 libreadline.so.7libzfs.so.1
libalias_nbt.so libc.so.7   libkiconv.so.3
 libsbuf.so.4libzpool.so.1
libalias_pptp.solibcam.so.4 libkvm.so.4
 libssp.so.0
libalias_skinny.so  libcrypt.so.4   libm.so.5
 libthr.so.3



-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vhat kind of *simple* video card? (was: Re: disc failure? at least snail snow CPU...)

2007-09-24 Thread Gary Kline
On Sun, Sep 23, 2007 at 09:48:21PM -0400, Robert Huff wrote:
 
 Gary Kline writes:
 
  Also:: would a simple Matrox Millennium serve as a new video
   board?  I do not need/want anything gamer-fancy, so am looking
   for something simple, like a MM with 8 or 16megs of video memory.
 
   I have gotten 6 years of steady service from a G400 with 32mb.


So then it's between the Matrox and the G400-32MB.  Thanks.

 
 
   Robert Huff
 ___
 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
  http://jottings.thought.org   http://transfinite.thought.org

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


nvidia-driver rebooting machine on X startup

2007-09-24 Thread falz
I came across this thread on freebsd-questions after some searching on
google. I have the exact same issue as others here- if xorg is started
with 'nvidia' as the driver, instant reboot. However, my machine is a
100% fresh install with things compiled from source this weekend.
However, I did have to install some binary vncserver packages, but
they have since been removed.

I did the 'xorg' meta port which got me the current xorg-7.3_1. The
machine I did the install on was running Debian Unstable for about a
year without issue with the same hardware (two cards for 3 monitors):

Sep 24 13:41:24 falz kernel: nvidia0: GeForce 7100 GS mem
0xdd00-0xddff,0xb000-0xbfff,0xde00-0xdeff irq
16 at device 0.0 on pci1
Sep 24 13:41:24 falz kernel: nvidia0: [GIANT-LOCKED]
Sep 24 13:41:24 falz kernel: nvidia1: GeForce FX 5200 mem
0xdb00-0xdbff,0xc000-0xcfff irq 18 at device 2.0 on
pci3
Sep 24 13:41:24 falz kernel: nvidia1: [GIANT-LOCKED]

I went through many of the steps people spoke of earlier in this
thread, which were some AGP workarounds that are mentioned in Chapter
9:

/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11/doc/README

No matter what is done, always an instant reboot if I use the nvidia
driver in the xorg.conf. Out of curiosity, is anyone actively using
xorg-7.3_1 with nvidia-driver-100.14.11 and having it work?

I too am not quite sure what to look for in the output of 'ldconfig
-r', but I can see that there is nothing linked against any pre-xorg
7.x stuff there:

# ldconfig -R | grep X11 | wc -l
   0

Also, the person who had things linked that were stale appears to have
been having a different problem that does NOT cause a reboot:

http://www.nvnews.net/vbulletin/showthread.php?t=94938

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


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kevin Oberman
 Date: Mon, 24 Sep 2007 22:36:57 +0300
 From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
  Abdullah Ibn Hamad Al-Marri wrote:
   On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
   Abdullah Ibn Hamad Al-Marri wrote:
   Hello,
  
   I used potsclean, and it broke my GCC enviroment.
   What is potsclean?
  
   I can't make buildworld anymore.
  
   stage 2.3: build tools
   --
   cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
   /usr/src/tools/install.sh
   PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
   -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
   Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
   BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
   === bin/csh (obj,build-tools)
   grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
   '^#define'  sh.err.h
   cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
   -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
   -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
   /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
   /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
   /usr/src/bin/csh/config.h
   /usr/src/bin/csh/../../contrib/tcsh/config_f.h
   /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
   | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
   Char \1[];/' |  sort  tc.const.h
   cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
   -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
   -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
   -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
   /usr/src/bin/csh/../../contrib/tcsh/gethost.c
   /usr/bin/ld: cannot find -lgcc_s
   You will need to obtain another copy of this library.  Either you could
   download a 7.0 snapshot and extract it from that, or maybe just
   reinstall if that is more trouble than you want to deal with.
  
   Kris
  
   Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
   the native GCC environment.
 
  That sounds pretty odd, are you sure you hadn't made changes to your
  /lib (e.g. symlinking libgcc_s to a port version)?  It should not be
  touching anything under /lib at all.
 
  Kris
 
 Yes, I didn't do anything else.
 
 ls
 geomlibalias_smedia.so  libcrypto.so.5
  libmd.so.4  libufs.so.4
 libalias.so.6   libatm.so.5 libdevstat.so.6
  libncurses.so.7 libumem.so.1
 libalias_cuseeme.so libavl.so.1 libedit.so.6
  libncursesw.so.7libutil.so.7
 libalias_dummy.so   libbegemot.so.3 libgeom.so.4
  libnvpair.so.1  libuutil.so.1
 libalias_ftp.so libbsdxml.so.3  libipsec.so.3
  libpcap.so.5libz.so.4
 libalias_irc.so libbsnmp.so.4   libipx.so.4
  libreadline.so.7libzfs.so.1
 libalias_nbt.so libc.so.7   libkiconv.so.3
  libsbuf.so.4libzpool.so.1
 libalias_pptp.solibcam.so.4 libkvm.so.4
  libssp.so.0
 libalias_skinny.so  libcrypt.so.4   libm.so.5
  libthr.so.3

What arguments did you give to portsclean? Specifically, did you tell it
to clean libraries (_L or --libclean)? Sounds like you yanked a library
out from under gcc. I tend to stick to -DC to avoid the possibility of
foot shooting. (I manage to do that too often, in any case.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgp3hCJtlt4yD.pgp
Description: PGP signature


Re: Vhat kind of *simple* video card?

2007-09-24 Thread Gary Kline
On Mon, Sep 24, 2007 at 08:32:51AM +0800, Erich Dollansky wrote:
 Hi,
 
 Gary Kline wrote:
 
  Sometimes it gets into a mode where it is super slow.  Do you,
  or anybody else have a clue why??
 
 it could be caused by a faulty hard disk.



Sometimes, after a reboot, the video is bright and the resolution
small--large type.   Usually, the system clock seems normal.
Are there any tools to run to test the processor speed?  Any
other tests?  It's a new drive, somewhere around 160GB.  I never
ran any drive tests.  ...Yet!

 
 Is the system just waiting?
 
  Also:: would a simple Matrox Millennium serve as a new video
  board?  I do not need/want anything gamer-fancy, so am looking
  for something simple, like a MM  with 8 or 16megs of video
  memory.  
 
 This is the kind of card to go for then.


thanks much,

gary


 
 Erich

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Abdullah Ibn Hamad Al-Marri
On 9/24/07, Kevin Oberman [EMAIL PROTECTED] wrote:
  Date: Mon, 24 Sep 2007 22:36:57 +0300
  From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
  Sender: [EMAIL PROTECTED]
 
  On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
   Abdullah Ibn Hamad Al-Marri wrote:
On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
Abdullah Ibn Hamad Al-Marri wrote:
Hello,
   
I used potsclean, and it broke my GCC enviroment.
What is potsclean?
   
I can't make buildworld anymore.
   
stage 2.3: build tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
/usr/src/tools/install.sh
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m /usr/src/tools/build/mk
-m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
=== bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
'^#define'  sh.err.h
cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h
/usr/src/bin/csh/config.h
/usr/src/bin/csh/../../contrib/tcsh/config_f.h
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const
| grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
Char \1[];/' |  sort  tc.const.h
cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
-fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
-DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find -lgcc_s
You will need to obtain another copy of this library.  Either you could
download a 7.0 snapshot and extract it from that, or maybe just
reinstall if that is more trouble than you want to deal with.
   
Kris
   
Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
the native GCC environment.
  
   That sounds pretty odd, are you sure you hadn't made changes to your
   /lib (e.g. symlinking libgcc_s to a port version)?  It should not be
   touching anything under /lib at all.
  
   Kris
 
  Yes, I didn't do anything else.
 
  ls
  geomlibalias_smedia.so  libcrypto.so.5
   libmd.so.4  libufs.so.4
  libalias.so.6   libatm.so.5 libdevstat.so.6
   libncurses.so.7 libumem.so.1
  libalias_cuseeme.so libavl.so.1 libedit.so.6
   libncursesw.so.7libutil.so.7
  libalias_dummy.so   libbegemot.so.3 libgeom.so.4
   libnvpair.so.1  libuutil.so.1
  libalias_ftp.so libbsdxml.so.3  libipsec.so.3
   libpcap.so.5libz.so.4
  libalias_irc.so libbsnmp.so.4   libipx.so.4
   libreadline.so.7libzfs.so.1
  libalias_nbt.so libc.so.7   libkiconv.so.3
   libsbuf.so.4libzpool.so.1
  libalias_pptp.solibcam.so.4 libkvm.so.4
   libssp.so.0
  libalias_skinny.so  libcrypt.so.4   libm.so.5
   libthr.so.3

 What arguments did you give to portsclean? Specifically, did you tell it
 to clean libraries (_L or --libclean)? Sounds like you yanked a library
 out from under gcc. I tend to stick to -DC to avoid the possibility of
 foot shooting. (I manage to do that too often, in any case.)
 --
 R. Kevin Oberman, Network Engineer
 Energy Sciences Network (ESnet)
 Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
 E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

I forced portsclean -L but why on the earth it did remove the gcc lib
since it's not installed by the ports?

Is there away to recover it now?




-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vhat kind of *simple* video card?

2007-09-24 Thread Gary Kline
On Mon, Sep 24, 2007 at 08:32:51AM +0800, Erich Dollansky wrote:
 Hi,
 
 Is the system just waiting?
 

If you mean: is it hanging on a read ... dunno.  Since the fsck's 
check out, there shouldn't be any need to.  (Maybe I'm just 
paranoid--or simply impatient... .)

gary
 Erich

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2007-09-24 Thread forum
It looks like a process associated with Postfix is eating up all of the memory
and crashing the system. Im trying to find out which one now.

Thanks for you help.

Thron

On Mon Sep 24  9:13 , Bill Moran  sent:

In response to [EMAIL PROTECTED]:

 Hi,
 
 I have a new 6.2 install running postfix, amavisd-new, clamav and 
 SpamAssassin
 and over the weekend the server stopped responding with the following error.
 collecting pv entries -- suggest increasing PMAP_SHPGPERPROC.  I did some 
 google
 searching on the error and found the same problem with Apache, but none with 
 my
 configuration. Most of the sites say to increase the PMAP_SHPGPERPROC, but 
 none
 say how or what to increase it to.

I've never seen a modern version of FreeBSD lock up as a result of this,
so that's a little odd.

 Does anyone have a suggestion on how I should go about troubleshooting this 
 or
 what I should change my PMAP_SHPGPERPROC to? Could this be a one time fluke 
 and I
 shouldn’t worry about it?

I had to research this earlier this year.  The default is 200, so in my
case, raising the value to 250 solved the problem.  I fixed it by adding
the setting to my kernel config and building a new kernel.  I believe
you can also set it in loader.conf

I haven't tried setting it higher than 250 (haven't had the need) but
I've seen some posts suggesting that setting it too high can cause
kernel panics.  I recommend bumping it to 250, then go to 300 if the
problem doesn't go away -- but in any event, don't increase it
drastically.

-- 
Bill Moran
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: anyone have a favorite laptop?

2007-09-24 Thread Jonathan Horne
On Monday 24 September 2007 13:00:33 Steve Franks wrote:
 The freebsd laptop page is a nice resource, but it's a bit heavy on
 specifics (i.e. I have a laptop I want to install on), not so good
 generally (want to buy a laptop).  So anyone have realworld advice?
 I'm not against something used in the 1GHz+ range.

 I have a compaq that is %#*!^$.  The pcmcia will not work, the
 ndiswrapper for the broadcom panics, etc.  So, compaq is right out
 (the've always maintained their poor reputation, no?) - so compaq is
 out.  Seems gateway has an equally bad rap

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

checking in from my HP NC6000, all hardware operational, no issues to speak 
of.  (p4 1.8, intel 2200 wireless, broadcom ethernet, intel sound).  also, 
the pushbutton to enable/disable the wireless works, but the hardware volume 
control does not.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: anyone have a favorite laptop?

2007-09-24 Thread Ivan Rambius Ivanov
Hello,

I am using Acer TravelMate 4060 and I am very satisfied. The wireless
card works very well and I had no problems with the video card.

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


Re: nvidia-driver rebooting machine on X startup

2007-09-24 Thread Mel
On Monday 24 September 2007 21:14:03 falz wrote:
 I came across this thread on freebsd-questions after some searching on
 google. I have the exact same issue as others here- if xorg is started
 with 'nvidia' as the driver, instant reboot. However, my machine is a
 100% fresh install with things compiled from source this weekend.
 However, I did have to install some binary vncserver packages, but
 they have since been removed.

 I did the 'xorg' meta port which got me the current xorg-7.3_1. The
 machine I did the install on was running Debian Unstable for about a
 year without issue with the same hardware (two cards for 3 monitors):

 Sep 24 13:41:24 falz kernel: nvidia0: GeForce 7100 GS mem
 0xdd00-0xddff,0xb000-0xbfff,0xde00-0xdeff irq
 16 at device 0.0 on pci1
 Sep 24 13:41:24 falz kernel: nvidia0: [GIANT-LOCKED]
 Sep 24 13:41:24 falz kernel: nvidia1: GeForce FX 5200 mem
 0xdb00-0xdbff,0xc000-0xcfff irq 18 at device 2.0 on
 pci3
 Sep 24 13:41:24 falz kernel: nvidia1: [GIANT-LOCKED]


I forgot, but was there one person in the thread that has only 1 monitor 
attached to 1 card? Cause you're the 3rd I see with multiple monitor issues.
Ironically, we have one system with CRT + TV-OUT through one card, with no 
issues whatsoever (500GB HDD, DVDRW, rock on!). However I turned off Xinerama 
support from the get go and use TwinView.

With all the Xorg 7.3 issues, I have not gone that road nor plan to anytime 
soon.

I also think we've had all the different cards by now, a quatro, GeForce 5k, 
7k, 6k...

Maybe someone can build a WITNESS/DDB kernel, since dumping seems to be 
failing?

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


Re: anyone have a favorite laptop?

2007-09-24 Thread Per olof Ljungmark

Steve Franks wrote:

The freebsd laptop page is a nice resource, but it's a bit heavy on
specifics (i.e. I have a laptop I want to install on), not so good
generally (want to buy a laptop).  So anyone have realworld advice?
I'm not against something used in the 1GHz+ range.


Thinkpads here too, T41, T42, T43, all ok.

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


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Kevin Oberman
 Date: Mon, 24 Sep 2007 22:49:12 +0300
 From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
 
 On 9/24/07, Kevin Oberman [EMAIL PROTECTED] wrote:
   Date: Mon, 24 Sep 2007 22:36:57 +0300
   From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
   Sender: [EMAIL PROTECTED]
  
   On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
Abdullah Ibn Hamad Al-Marri wrote:
 On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 Abdullah Ibn Hamad Al-Marri wrote:
 Hello,

 I used potsclean, and it broke my GCC enviroment.
 What is potsclean?

 I can't make buildworld anymore.

 stage 2.3: build tools
 --
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
 /usr/src/tools/install.sh
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m 
 /usr/src/tools/build/mk
 -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
 Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
 BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
 build-tools
 === bin/csh (obj,build-tools)
 grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
 '^#define'  sh.err.h
 cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
 -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
 -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
 /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
 /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
 /usr/src/bin/csh/config.h
 /usr/src/bin/csh/../../contrib/tcsh/config_f.h
 /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h 
 -D_h_tc_const
 | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
 Char \1[];/' |  sort  tc.const.h
 cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
 -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
 -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
 /usr/src/bin/csh/../../contrib/tcsh/gethost.c
 /usr/bin/ld: cannot find -lgcc_s
 You will need to obtain another copy of this library.  Either you 
 could
 download a 7.0 snapshot and extract it from that, or maybe just
 reinstall if that is more trouble than you want to deal with.

 Kris

 Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't for
 the native GCC environment.
   
That sounds pretty odd, are you sure you hadn't made changes to your
/lib (e.g. symlinking libgcc_s to a port version)?  It should not be
touching anything under /lib at all.
   
Kris
  
   Yes, I didn't do anything else.
  
   ls
   geomlibalias_smedia.so  libcrypto.so.5
libmd.so.4  libufs.so.4
   libalias.so.6   libatm.so.5 libdevstat.so.6
libncurses.so.7 libumem.so.1
   libalias_cuseeme.so libavl.so.1 libedit.so.6
libncursesw.so.7libutil.so.7
   libalias_dummy.so   libbegemot.so.3 libgeom.so.4
libnvpair.so.1  libuutil.so.1
   libalias_ftp.so libbsdxml.so.3  libipsec.so.3
libpcap.so.5libz.so.4
   libalias_irc.so libbsnmp.so.4   libipx.so.4
libreadline.so.7libzfs.so.1
   libalias_nbt.so libc.so.7   libkiconv.so.3
libsbuf.so.4libzpool.so.1
   libalias_pptp.solibcam.so.4 libkvm.so.4
libssp.so.0
   libalias_skinny.so  libcrypt.so.4   libm.so.5
libthr.so.3
 
  What arguments did you give to portsclean? Specifically, did you tell it
  to clean libraries (_L or --libclean)? Sounds like you yanked a library
  out from under gcc. I tend to stick to -DC to avoid the possibility of
  foot shooting. (I manage to do that too often, in any case.)
  --
  R. Kevin Oberman, Network Engineer
  Energy Sciences Network (ESnet)
  Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
  E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634
 
 I forced portsclean -L but why on the earth it did remove the gcc lib
 since it's not installed by the ports?
 
 Is there away to recover it now?

portsclean should never touch anything out of /usr/local/and base gcc
should not depend on anything in /usr/local. I'd suspect that setting an
environmental variable such as PORTSDIR might cause this, but that seem
unlikely to have happened without a serious intent.

Is it possible that you are not running the base gcc? ('which gcc' and 'gcc
-v') It should be in /usr/bin and the version for a recent current
should be 4.2.1 20070719.

Is it possible that the portsclean was merely coincidental? Could
something else have happened at about the same time?

As far as recovery goes, what does 

Re: nvidia-driver rebooting machine on X startup

2007-09-24 Thread Aryeh Friedman
On 9/24/07, Mel [EMAIL PROTECTED] wrote:
 On Monday 24 September 2007 21:14:03 falz wrote:
  I came across this thread on freebsd-questions after some searching on
  google. I have the exact same issue as others here- if xorg is started
  with 'nvidia' as the driver, instant reboot. However, my machine is a
  100% fresh install with things compiled from source this weekend.
  However, I did have to install some binary vncserver packages, but
  they have since been removed.
 
  I did the 'xorg' meta port which got me the current xorg-7.3_1. The
  machine I did the install on was running Debian Unstable for about a
  year without issue with the same hardware (two cards for 3 monitors):
 
  Sep 24 13:41:24 falz kernel: nvidia0: GeForce 7100 GS mem
  0xdd00-0xddff,0xb000-0xbfff,0xde00-0xdeff irq
  16 at device 0.0 on pci1
  Sep 24 13:41:24 falz kernel: nvidia0: [GIANT-LOCKED]
  Sep 24 13:41:24 falz kernel: nvidia1: GeForce FX 5200 mem
  0xdb00-0xdbff,0xc000-0xcfff irq 18 at device 2.0 on
  pci3
  Sep 24 13:41:24 falz kernel: nvidia1: [GIANT-LOCKED]
 

 I forgot, but was there one person in the thread that has only 1 monitor
 attached to 1 card? Cause you're the 3rd I see with multiple monitor issues.
 Ironically, we have one system with CRT + TV-OUT through one card, with no
 issues whatsoever (500GB HDD, DVDRW, rock on!). However I turned off Xinerama
 support from the get go and use TwinView.

 With all the Xorg 7.3 issues, I have not gone that road nor plan to anytime
 soon.

 I also think we've had all the different cards by now, a quatro, GeForce 5k,
 7k, 6k...

 Maybe someone can build a WITNESS/DDB kernel, since dumping seems to be
 failing?


I was the single monitor issue, on the single monitor it does not
reboot unless you set probe_all_gpu's *BUT* it does fail to reconize
all nVidia cards (so does nv)... as far I can tell neither drive
understands 64bit io space and PCI/AGP... the clue is the addr
conflicts that everyone seems to get... btw I think it might of fried
my 8k but at least gives me vesa with no weird video probs on the 5200
GT I have now (1024x768 ;-()).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help I borke my 7.0 AMD64

2007-09-24 Thread Abdullah Ibn Hamad Al-Marri
On 9/24/07, Kevin Oberman [EMAIL PROTECTED] wrote:
  Date: Mon, 24 Sep 2007 22:49:12 +0300
  From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
 
  On 9/24/07, Kevin Oberman [EMAIL PROTECTED] wrote:
Date: Mon, 24 Sep 2007 22:36:57 +0300
From: Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
   
On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 Abdullah Ibn Hamad Al-Marri wrote:
  On 9/24/07, Kris Kennaway [EMAIL PROTECTED] wrote:
  Abdullah Ibn Hamad Al-Marri wrote:
  Hello,
 
  I used potsclean, and it broke my GCC enviroment.
  What is potsclean?
 
  I can't make buildworld anymore.
 
  stage 2.3: build tools
  --
  cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL=sh
  /usr/src/tools/install.sh
  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
   WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS=-m 
  /usr/src/tools/build/mk
  -m /usr/src/share/mk /usr/obj/usr/src/make.amd64/make -f
  Makefile.inc1  TARGET=amd64 TARGET_ARCH=amd64  DESTDIR=
  BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
  build-tools
  === bin/csh (obj,build-tools)
  grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
  '^#define'  sh.err.h
  cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
  -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
  -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
  /usr/src/bin/csh/../../contrib/tcsh/tc.const.c
  /usr/src/bin/csh/../../contrib/tcsh/sh.char.h
  /usr/src/bin/csh/config.h
  /usr/src/bin/csh/../../contrib/tcsh/config_f.h
  /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h 
  -D_h_tc_const
  | grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern
  Char \1[];/' |  sort  tc.const.h
  cc -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
  -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
  -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='/bin/csh'
  -DHAVE_ICONV  -I/usr/obj/usr/src/tmp/legacy/usr/include
  /usr/src/bin/csh/../../contrib/tcsh/gethost.c
  /usr/bin/ld: cannot find -lgcc_s
  You will need to obtain another copy of this library.  Either you 
  could
  download a 7.0 snapshot and extract it from that, or maybe just
  reinstall if that is more trouble than you want to deal with.
 
  Kris
 
  Sorry Kris, I meant portsclean, and it deleted stuff it shouldn't 
  for
  the native GCC environment.

 That sounds pretty odd, are you sure you hadn't made changes to your
 /lib (e.g. symlinking libgcc_s to a port version)?  It should not be
 touching anything under /lib at all.

 Kris
   
Yes, I didn't do anything else.
   
ls
geomlibalias_smedia.so  libcrypto.so.5
 libmd.so.4  libufs.so.4
libalias.so.6   libatm.so.5 libdevstat.so.6
 libncurses.so.7 libumem.so.1
libalias_cuseeme.so libavl.so.1 libedit.so.6
 libncursesw.so.7libutil.so.7
libalias_dummy.so   libbegemot.so.3 libgeom.so.4
 libnvpair.so.1  libuutil.so.1
libalias_ftp.so libbsdxml.so.3  libipsec.so.3
 libpcap.so.5libz.so.4
libalias_irc.so libbsnmp.so.4   libipx.so.4
 libreadline.so.7libzfs.so.1
libalias_nbt.so libc.so.7   libkiconv.so.3
 libsbuf.so.4libzpool.so.1
libalias_pptp.solibcam.so.4 libkvm.so.4
 libssp.so.0
libalias_skinny.so  libcrypt.so.4   libm.so.5
 libthr.so.3
  
   What arguments did you give to portsclean? Specifically, did you tell it
   to clean libraries (_L or --libclean)? Sounds like you yanked a library
   out from under gcc. I tend to stick to -DC to avoid the possibility of
   foot shooting. (I manage to do that too often, in any case.)
   --
   R. Kevin Oberman, Network Engineer
   Energy Sciences Network (ESnet)
   Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
   E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634
 
  I forced portsclean -L but why on the earth it did remove the gcc lib
  since it's not installed by the ports?
 
  Is there away to recover it now?

 portsclean should never touch anything out of /usr/local/and base gcc
 should not depend on anything in /usr/local. I'd suspect that setting an
 environmental variable such as PORTSDIR might cause this, but that seem
 unlikely to have happened without a serious intent.

 Is it possible that you are not running the base gcc? ('which gcc' and 'gcc
 -v') It should be in /usr/bin and the version for a recent current
 should be 4.2.1 

Re: anyone have a favorite laptop?

2007-09-24 Thread Mark Price
I also use an Acer TravelMate, I think it is 4000 something and it works
well.

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


  1   2   >