Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread Jay Chandler

George Vanev wrote:

If you really want to copy resolv.conf from /root to /etc every 30 min
you don't need a startup script. Just add the following line in
/etc/crontab:
*/30 *   *   *   *   rootcp /root/resolv.conf
/etc/resolv.conf

I don't know what exactly are you trying to do, but this is not
quite a good decision.


Agreed-- it's a bad idea.  However, if you still want to do it, throw a 
-f flag after the cp just to make sure it forcibly overwrites the 
resolv.conf.


--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Atilla the Hub 


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


Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread [LoN]Kamikaze
linux quest wrote:
 Since, I desperately needed to connect to the Internet at this point of 
 time, I create a file called resolv.conf in /root ... I am thinking how 
 can I create a script so that it can copy resolv.conf from /root to 
 /etc/resolv.conf every 30 minutes at start up - This is because I don't 
 wanna manually type in cp /root/resolv.conf /etc/resolv.conf every 30 
 minutes.

http://www.freebsd.org/cgi/query-pr.cgi?pr=106902

The suggested script allows you to set your nameservers in rc.conf. I seriously 
doubt you need to do that every 30 minutes. It should be enought to write it on 
startup, so give it a try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_nfe on nVidia chipset

2007-01-16 Thread Palle Girgensohn

Hello,

Is there any way I can help to try and fix this?

Regards,
Palle

--On torsdag, december 21, 2006 19.04.17 +0100 Palle Girgensohn 
[EMAIL PROTECTED] wrote:





--On torsdag, december 21, 2006 00.29.10 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


Palle Girgensohn wrote:

--On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


I have the same one. And if_nfe works well on it, in both FreeBSD
6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
ifconfig command;
# ifconfig nfe1 down; ifconfig nfe1 up

---
S. Tagashira


Hi Tagashira-san,

Tried a lot of stuff, up and down and also debug flag, but nothing
helps.

ifconfig says media: Ethernet autoselect (none)

I can ping the interface itself, but nothing else.

Any ideas?


Hi,
I updated my web site for FreeBSD nfe driver.
Please try the lastest nfe driver and e1000phy patch provided on the web
site. These codes were modified to detect link media more correctly.



Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle




---
S. Tagashira





Regards,
Palle






Palle Girgensohn wrote:

Hi! Sorry for the cross post, I'd love to know if I can get this
working or not.

Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- End Forwarded Message --




--
--

Subject:
if_nfe on Asus M2N-SLI deluxe?
From:
Palle Girgensohn [EMAIL PROTECTED]
Date:
Tue, 12 Dec 2006 18:52:35 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]
CC:
[EMAIL PROTECTED]


Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
0x4   inet 192.168.1.191 netmask 0xff00 broadcast
192.168.1.255 ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128   inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5   inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



--
--

Copyright (c) 1992-2006 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-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTA
TI ON Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
  PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 

Re: DNS Resolver Problem

2007-01-16 Thread Garrett Cooper

On Jan 15, 2007, at 10:47 PM, Bob McIsaac wrote:


linux quest wrote:

Dear Jay  The FreeBSD Communities,

Thanks for putting your time and patience to help me out. Anyway,  
I tried it out, both changing the rc.conf and the dhclient.conf  
(one at a time). After that (for both of the ways), I did manage  
to stop the resolv.conf from being overwritten after the PC  
reboot. However, when I ping 192.168.52.1 or 192.168.52.2, the  
error msg says that there is no route to both of the IP. Even  
after I add the default route by using command line ... I am still  
unable to ping google.com.


Then, I undo everything by using VMWare... (including undo the  
DHCP configuration in rc.conf) so that I am able to ping  
google.com again.
Since, I desperately needed to connect to the Internet at this  
point of time, I create a file called resolv.conf in /root ... I  
am thinking how can I create a script so that it can copy  
resolv.conf from /root to /etc/resolv.conf every 30 minutes at  
start up - This is because I don't wanna manually type in cp / 
root/resolv.conf /etc/resolv.conf every 30 minutes.


Hope somebody can share with me the simple coding. Thanks :)

Regards,
Linux Quest

Jay Chandler [EMAIL PROTECTED] wrote: Please don't top-post.

linux quest wrote:


Dear Jay,

Actually, I am running FreeBSD Unix on a VMWare machine (Host OS:  
Win2003, Guest OS: FreeBSD).


Any ideas how I can disable / ignore the routing from the VMnet8?  
Below are the only VMWare NAT configuration that I have access  
to. No DHCP enable / disable option.



Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.52.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.52.2


When I install FreeBSD, I remember I did select some option to  
enable DHCP. Perhaps, I should disable the DHCP service in FreeBSD 
(Guest OS) - if so, any idea how do I do it?


Thanks :)

Regards,
Linux Quest




Simple enough, then.
Edit /etc/rc.conf, and remove the line relating to the dhcp  
client.  Then add:

defaultrouter=192.168.51.2
hostname=boxname!
ifconfig_em0=inet 192.168.52.WHATEVERYOUWANT  netmask 255.255.255.0



Hi:

DHCP intends that everything works easily.  However, if the DHCP  
lease is unsatisfactory, you can
change it after doing man dhclient.conf.   Can you post /var/db/ 
dhclient.leases? Also,  in one shell
type tcpdump -v -c 20 and in another do ping or click a web  
page.  Finally, netstat -r


regards,
-Bob-


	defaultrouter should match the gateway IP address for the virtual  
interface you're using in FreeBSD under vmware; defaultrouter is an  
alias for the default route use by the kernel for directing packets  
(this can be viewed by looking at netstat -nr and looking for the  
default route, or route show default--more verbose output). The  
subnet/IP should match something similar to what's provided with  
DHCP--just in static form (which /etc/rc.conf will provide).

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


Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread Garrett Cooper

On Jan 16, 2007, at 12:36 AM, [LoN]Kamikaze wrote:


linux quest wrote:
Since, I desperately needed to connect to the Internet at this  
point of
time, I create a file called resolv.conf in /root ... I am  
thinking how

can I create a script so that it can copy resolv.conf from /root to
/etc/resolv.conf every 30 minutes at start up - This is because I  
don't
wanna manually type in cp /root/resolv.conf /etc/resolv.conf  
every 30

minutes.


http://www.freebsd.org/cgi/query-pr.cgi?pr=106902

The suggested script allows you to set your nameservers in rc.conf.  
I seriously doubt you need to do that every 30 minutes. It should  
be enought to write it on startup, so give it a try.


Better idea would be a PR to the docs folks about highlighting the  
resolv.conf file section in the handbook: http://www.freebsd.org/doc/ 
en_US.ISO8859-1/books/handbook/configtuning-configfiles.html. I had  
to get the single file HTML and search it a bit before I found the  
reference shown above (even though I basically knew about it  
already). So if you skip over that section of the handbook you won't  
see the relevant note to read the manpage for dhclient(8) unless you  
ask someone or find another referring manpage.

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


Re: how do I tell if my sio0 port is broken?

2007-01-16 Thread Pieter de Goeje
On Monday 15 January 2007 11:43, Zhang Weiwu wrote:
 Hello List. I guess my sio0 port is broken on my Thinkpad, OS is
 FreeBSD-6.1. Reason:

 1) I have tested a null-modem serial cable is working by using it on a
 dumb-terminal and a headless server. With the same cable and same
 headless server, but replace dumb-terminal with my thinkpad, run

 $ tip com1
 connected

 Then, whatever key I press, nothing happens. Usually I should see login
 prompt after I pressed Enter key. Test was done with FreeBSD Generic
 kernel.

 2) I have plugged a modem (with ordinary serial cable, not the
 null-modem one) on it and run minicom. If I type 'at' I should get 'OK'
 as prompt, but I didn't. The same modem and same cable work for another
 Linux box.

 3) I go to BIOS and do a serial port test, test result is OK, but I
 think bios have no knowledge if a port is broken when it's not connected
 to anything at all.

 So, I think next morning I should go and check if there are PCMCIA card
 that can provide an extra COM port, but before that I think I should
 write this letter to the list to see what you guys would do in this
 case: do you also think this looks like COM1 port is broken?

 Thank you very much for advices.

 Zhang Weiwu
Did you enable the tty in /etc/ttys?
For instance: 
ttyd0   /usr/libexec/getty std.115200 xterm   on  secure

See man ttys for more info.

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


Re: Install from CVS?

2007-01-16 Thread Garrett Cooper

On Jan 15, 2007, at 8:22 PM, Jay Chandler wrote:


Chuck Swiger wrote:

On Jan 15, 2007, at 4:11 PM, Jay Chandler wrote:
Is it possible to install (instead of upgrading) FreeBSD from my  
local CVS repository?  Looking to find a good way to automate  
installations, and figured I'd start there.


Sure, it's possible.  You'd have to build a working system from  
the sources on a FreeBSD system, and then install them to the  
target disk somehow (perhaps temporarily install the drive in the  
working FreeBSD system long enough to do the install).


In practice, people normally install from a CD image they've  
burned, and perform source-based updates after that.


---Chuck


Crikey, that'd be a pain in the arse.

Gotcha, install from ISO...

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: emissions from GSM-phones


You do need a target system/setup, but someone recently suggested  
setting up a /usr share via NFS (look back in the archives about 2~3  
days), where if you switched the symlinks to several files and ran  
make install with the /usr/obj mounted (or the relevant sharename  
setup under /etc/rc.conf), you could install to another PC from an  
NFS share.


What your asking (or similar things) is not impossible, but just a  
little more difficult to setup at first, and eventually should get  
easier. You can also make CDs with your distro files setup, and then  
configure everything on the fly essentially. In regards to that,  
there was another answer posted recently about making bootable CDs  
(look back in the archives  ~2 weeks) that linked to the relevant  
freebsd.org article on how to accomplish that.


Also, you can install from NFS shares, which may be helpful if you  
have an NFS server setup with a repository ;). However, NFS shares  
with FreeBSD servers can be a pain in the arse sometimes, as I  
discovered when I tried to reinstall from an NFS repository recently.  
However, your experience (hopefully) will not be as bad as mine and  
maybe setting up / mapping root properly will solve your issues :).


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


Using fn-Key of IBM Thinkpads in X?

2007-01-16 Thread Christian Walther

Hi,

I'm currently using the latest FreeBSD 6.1 patchlevel on an IBM
Thinkpad T23, and so far I'm quite happy with it. (I'll have an issue
with my ath-based WLAN-NIC, but I've to address this later.)
One thing I'm wondering about is if it is possible to use the fn-Key
as another special key in X, e.g. like Control or Alt. I'm using ion3
as a window manager, and I found know hotkey configuration that
wouldn't affect the usage of hotkeys in applications. Using
fn+something else with X/ion3 would be nice.
But I don't know if fn sends a scan code like the other keys do, and
how I could map this key in X.

Any help would be greatly appreciated.

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


Re: Compiling mtr without GUI

2007-01-16 Thread Pieter de Goeje
On Saturday 13 January 2007 15:03, Christian Baer wrote:
 Hi there Peeps!

 Somehow the mtr-port is bugging me a little. I want to install mtr on a
 machine with no keyboard and no monitor and thus no X - and I'd like to
 keep it that way. Since I couldn't find a package of mtr without the
 GUI, I guess, I'm stuck with the port.

 I've looked at the makefile and found the variable WITHOUT_X11. However,
 a 'make -D WITHOUT_X11' and a 'make WITHOUT_X11=1' both[1] result in X.org
 being downloaded and built. Now I am no real expert on makefiles but
 AFAIK in this case it shouldn't matter, what value WITHOUT_X11 has, as
 long as it is set at all.

 Am I too thick to be getting the point here or have I missed something
 not all that obvious?

 Don't think it matters but the Plattform is SPARC64 and the Version is
 6.1-RELEASE (no cvsup run yet).

 Regards
 Chris

 [1] Both should actually do the same thing.
Make sure you run 'make clean' in the port's dir before trying to rebuild the 
port after changing make.conf and/or make variables. Otherwise you'll end up 
building the port with stale data.

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


Re: Documenting a ports depedency tree?

2007-01-16 Thread stan
On Mon, Jan 15, 2007 at 08:32:13PM -0800, Jay Chandler wrote:
 stan wrote:
 Is there a way to document the entire depedency tree for a given port?
 
 EG, if a dpends on b which depends on d  e, which in turn depend on z, 
 I'd like to print out this dependency list.
 
   
 A good question, which I've taken the liberty of researching.
 
 montreal# cd /usr/ports/mail/p5-FuzzyOcr
 montreal# make pretty-print-run-depends-list
 This port requires package(s) ImageMagick-6.2.9.8 curl-7.16.0_1 
 expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gettext-0.14.5_2 
 ghostscript-gnu-7.07_15 gnupg-1.4.6_3 gocr-0.43 gsfonts-8.11_2 
 jasper-1.701.0_1 jbigkit-1.6 jpeg-6b_4 lcms-1.16,1 libdrm-2.0.2 
 libfpx-1.2.0.12 libiconv-1.9.2_2 libltdl-1.5.22 libungif-4.1.4_2 
 libxml2-2.6.26 mpeg2codec-1.2_1 netpbm-10.26.37 p5-Archive-Tar-1.30 
 p5-Authen-SASL-2.10_1 p5-Compress-Raw-Zlib-2.003 p5-Compress-Zlib-2.002 
 p5-Digest-1.15 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36 
 p5-Digest-SHA1-2.11 p5-GSSAPI-0.23 p5-HTML-Parser-3.55 
 p5-HTML-Tagset-3.10 p5-IO-Compress-Base-2.003 p5-IO-Compress-Zlib-2.002 
 p5-IO-Socket-INET6-2.51_1 p5-IO-Socket-SSL-1.02 p5-IO-String-1.08 
 p5-IO-Zlib-1.04_1 p5-MIME-Base64-3.07 p5-Mail-SpamAssassin-3.1.7_3 
 p5-Mail-Tools-1.74 p5-Math-BigInt-1.77 p5-Net-1.19,1 p5-Net-DNS-0.59 
 p5-Net-IP-1.25 p5-Net-SSLeay-1.30_1 p5-PathTools-3.24 
 p5-Scalar-List-Utils-1.19,1 p5-Socket6-0.19 p5-String-Approx-3.26 
 p5-URI-1.35 p5-libwww-5.805 perl-5.8.8 pkg-config-0.21 png-1.2.14 
 tcl-8.4.13_1,1 tiff-3.8.2_1 tk-8.4.13,2 xorg-libraries-6.9.0 to run.
 montreal# pretty-print-build-depends-list
 pretty-print-build-depends-list: Command not found.
 montreal# make pretty-print-build-depends-list
 This port requires package(s) perl-5.8.8 to build.
 montreal#
 
 Kinda crappy looking.  You can also 'make readmes to generate HTML 
 readme files, but I don't believe it recurses.
 
 Anyone else want to chime in?
 
Thanks, that's exactly what I needed.

A dollowup question, if I might? Are all the various make targets for the
ports tree documented anywhere?


-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Documenting a ports depedency tree?

2007-01-16 Thread stan
On Mon, Jan 15, 2007 at 10:36:59PM -0600, Dan Nelson wrote:
 In the last episode (Jan 15), stan said:
  Is there a way to document the entire depedency tree for a given port?
  
  EG, if a dpends on b which depends on d  e, which in turn depend on z, 
  I'd like to print out this dependency list.
 
 cd into the port's directory and run make all-depends-list.  Also try
 build-depends-list, package-depends-list, and run-depends-list,
 depending on what you're looking for.
 
Thanks, this is very useful.


-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread linux quest
Dear FreeBSD Communities,

Lets say, I wanted to create a Perl script to execute a very simple nmap 
command as listed below, may I know how do I do it?

unix# nmap 192.168.1.2

I know we need to save it in .pl extension. May I know what else I need to do?

I have researched and google this for the entire week, but I still can't find 
the solution. For example in Windows, all I need to do is to type nmap 
192.168.1.2 and save it in a text file with the extension .bat - and 
everything will be taken care of.

I hope someone can share with me the simple coding to solve this problem.

Thank you so much, guys :)

Regards,
Linux Quest

Regards,
Linux Quest
 
-
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling mtr without GUI

2007-01-16 Thread Niclas Zeising

On 1/13/07, Christian Baer [EMAIL PROTECTED] wrote:

Hi there Peeps!

Somehow the mtr-port is bugging me a little. I want to install mtr on a
machine with no keyboard and no monitor and thus no X - and I'd like to
keep it that way. Since I couldn't find a package of mtr without the
GUI, I guess, I'm stuck with the port.

I've looked at the makefile and found the variable WITHOUT_X11. However,
a 'make -D WITHOUT_X11' and a 'make WITHOUT_X11=1' both[1] result in X.org
being downloaded and built. Now I am no real expert on makefiles but
AFAIK in this case it shouldn't matter, what value WITHOUT_X11 has, as
long as it is set at all.

Am I too thick to be getting the point here or have I missed something
not all that obvious?

Don't think it matters but the Plattform is SPARC64 and the Version is
6.1-RELEASE (no cvsup run yet).

Regards
Chris


I'm not entierly sure, but i think you have to provide -DWITHOUT_X11,
no space between D and the rest. That's how i specify make options
anyway.
AS others suggested, if you never intend to run a X11-server, setting
WITHOUT_X11=yes in make.conf is propablyu better, then you don't have
to worry at all about X being installed if there is a option not to.
HTH!
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Documenting a ports depedency tree?

2007-01-16 Thread Niclas Zeising

On 1/16/07, stan [EMAIL PROTECTED] wrote:

On Mon, Jan 15, 2007 at 08:32:13PM -0800, Jay Chandler wrote:
 stan wrote:
 Is there a way to document the entire depedency tree for a given port?
 
 EG, if a dpends on b which depends on d  e, which in turn depend on z,
 I'd like to print out this dependency list.
 
 
 A good question, which I've taken the liberty of researching.

 montreal# cd /usr/ports/mail/p5-FuzzyOcr
 montreal# make pretty-print-run-depends-list
 This port requires package(s) ImageMagick-6.2.9.8 curl-7.16.0_1
 expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gettext-0.14.5_2
 ghostscript-gnu-7.07_15 gnupg-1.4.6_3 gocr-0.43 gsfonts-8.11_2
 jasper-1.701.0_1 jbigkit-1.6 jpeg-6b_4 lcms-1.16,1 libdrm-2.0.2
 libfpx-1.2.0.12 libiconv-1.9.2_2 libltdl-1.5.22 libungif-4.1.4_2
 libxml2-2.6.26 mpeg2codec-1.2_1 netpbm-10.26.37 p5-Archive-Tar-1.30
 p5-Authen-SASL-2.10_1 p5-Compress-Raw-Zlib-2.003 p5-Compress-Zlib-2.002
 p5-Digest-1.15 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36
 p5-Digest-SHA1-2.11 p5-GSSAPI-0.23 p5-HTML-Parser-3.55
 p5-HTML-Tagset-3.10 p5-IO-Compress-Base-2.003 p5-IO-Compress-Zlib-2.002
 p5-IO-Socket-INET6-2.51_1 p5-IO-Socket-SSL-1.02 p5-IO-String-1.08
 p5-IO-Zlib-1.04_1 p5-MIME-Base64-3.07 p5-Mail-SpamAssassin-3.1.7_3
 p5-Mail-Tools-1.74 p5-Math-BigInt-1.77 p5-Net-1.19,1 p5-Net-DNS-0.59
 p5-Net-IP-1.25 p5-Net-SSLeay-1.30_1 p5-PathTools-3.24
 p5-Scalar-List-Utils-1.19,1 p5-Socket6-0.19 p5-String-Approx-3.26
 p5-URI-1.35 p5-libwww-5.805 perl-5.8.8 pkg-config-0.21 png-1.2.14
 tcl-8.4.13_1,1 tiff-3.8.2_1 tk-8.4.13,2 xorg-libraries-6.9.0 to run.
 montreal# pretty-print-build-depends-list
 pretty-print-build-depends-list: Command not found.
 montreal# make pretty-print-build-depends-list
 This port requires package(s) perl-5.8.8 to build.
 montreal#

 Kinda crappy looking.  You can also 'make readmes to generate HTML
 readme files, but I don't believe it recurses.

 Anyone else want to chime in?

Thanks, that's exactly what I needed.

A dollowup question, if I might? Are all the various make targets for the
ports tree documented anywhere?



Most of them are documented in the ports(7) manpage, at least the
targets regarding ports. make(4) might have some info as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread George Vanev

I'm sorry I have to tell you this, but your questions are pretty silly
for this mailing list. I suspect I am not the first that have told you this.

Anyway...
I think I saw someone answer you this question - how to make the
perl script. Obviously you have to install perl.

The easiest way is to create a shell script for this.

Try reading a little documentation, before ask such questions.


On 1/16/07, linux quest [EMAIL PROTECTED] wrote:


Dear FreeBSD Communities,

Lets say, I wanted to create a Perl script to execute a very simple nmap
command as listed below, may I know how do I do it?

unix# nmap 192.168.1.2

I know we need to save it in .pl extension. May I know what else I need to
do?

I have researched and google this for the entire week, but I still can't
find the solution. For example in Windows, all I need to do is to type nmap
192.168.1.2 and save it in a text file with the extension .bat - and
everything will be taken care of.

I hope someone can share with me the simple coding to solve this problem.

Thank you so much, guys :)

Regards,
Linux Quest

Regards,
Linux Quest

-
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





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


Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Andrew Pantyukhin

On 1/16/07, linux quest [EMAIL PROTECTED] wrote:

Dear FreeBSD Communities,

Lets say, I wanted to create a Perl script to execute a
very simple nmap command as listed below, may I know how
do I do it?

unix# nmap 192.168.1.2

I know we need to save it in .pl extension. May I know
what else I need to do?

I have researched and google this for the entire week,
but I still can't find the solution. For example in Windows,
all I need to do is to type nmap 192.168.1.2 and save it
in a text file with the extension .bat - and everything will
be taken care of.

I hope someone can share with me the simple coding to solve
this problem.


Considering the question a subtle joke or something, let me
take the bait and help you.

File extensions do not matter much in Unix. File permissions
do. If you want to make an executable script, you'll have to
state in its first line what kind of script it is, or, more
precisely, what program should interpret it. The line is
usually called shebang because it starts with #!. After
that an interpreter must be specified. For shell scripts
(you want to start with them!) use #!/bin/sh (without the
quotes) in the first line.

After that line just add more lines with commands.
nmap 1.2.3.4 is a perfectly valid command, you can just
place it on a separate line.

After all that you need to change permissions of this new
file you've just created to allow execution. Just do:

# chmod a+x file

You can then try to execute the file either by calling
it by full path or by changing into its directory and
typing ./file

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


Re: Sysinstall: No Floppy Devices Found

2007-01-16 Thread Kevin Kobb

Dan Mahoney, System Admin wrote:

Hey all,

I'm getting the message when I try to load a KLD in Sysinstall, even 
though I KNOW my floppy drive works.  In fact, I can load the KLD from 
the loader prompt just fine.


Is there a difference/advantage to one way of doing this over the other?

-Dan Mahoney

--

Hitler, Satan, those Hanson kids, anything.  Just not the curious
anteater.

-Peter Scolari, as Wayne Szalinki in Honey, I Shrunk The Kids--The
Series


Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


I have found that when I do an install with an install.cfg file on a 
floppy, I must insert the floppy right after the system begins to boot 
from CD. If I don't when I tell sysinstall to read the floppy I get an 
error.


As a work around, if I go into the options and select rescan for 
hardware devices (not sure if that is the exact wording) after inserting 
the floppy disk, it will work OK as well. Might be worth a try.


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


Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Niclas Zeising

On 1/16/07, linux quest [EMAIL PROTECTED] wrote:

Dear FreeBSD Communities,

Lets say, I wanted to create a Perl script to execute a very simple nmap 
command as listed below, may I know how do I do it?

unix# nmap 192.168.1.2

I know we need to save it in .pl extension. May I know what else I need to do?

I have researched and google this for the entire week, but I still can't find the 
solution. For example in Windows, all I need to do is to type nmap 
192.168.1.2 and save it in a text file with the extension .bat - and everything 
will be taken care of.

I hope someone can share with me the simple coding to solve this problem.

Thank you so much, guys :)



I think you're better of with a sh shell script for these simple kinds
of task. Perl might be a bit of overkill.
Somethink like this might do the trick:

#!/bin/sh
nmap 192.168.1.2

You can add | mail [yourmail] if you want the output mailed
somewhere  (if you have mail set up properly on your machine) or just
redirect the output to a file if you like. Otherwise the output of the
script (i.e. nmap) will end up on stdout.

Save the file with a .sh extention, chmod u+x file to make it
executable, and run it.
sh(1) has more info on how the sh shell works and how to write scripts
in it. It's far more sofisticated than the windows .bat-thingie ;)
HTH!
//Niclas
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ethernet not recognized

2007-01-16 Thread Juan Marrero
Hi, I recently download FreeBSD 6.1, and I've installed in a new
computer a couple of times and in none of the installation recognize the
integrated Ethernet card.  In the instructions that I follow in one link
on your website, it says that is recognized automatically.  What am I
missing here?  I'm new at unix or linux, I've only used windows and I
like to learn something outside windows, but I didn't know it would be
such a headache.  The motherboard is a PC CHIPS P23G or something like
that.  I also tried to compile the X11 but it display an error trying to
connect to freebsd.org, obviously because of the Ethernet card not
recognized.  Can someone help me with this???
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ethernet not recognized

2007-01-16 Thread George Vanev

If I'm not wrong your lan card must be VIA VT6103L.
In this case FreeBSD must support it.
Post your dmesg please.

Did you make any changes to the kernel?


On 1/16/07, Juan Marrero [EMAIL PROTECTED] wrote:


Hi, I recently download FreeBSD 6.1, and I've installed in a new
computer a couple of times and in none of the installation recognize the
integrated Ethernet card.  In the instructions that I follow in one link
on your website, it says that is recognized automatically.  What am I
missing here?  I'm new at unix or linux, I've only used windows and I
like to learn something outside windows, but I didn't know it would be
such a headache.  The motherboard is a PC CHIPS P23G or something like
that.  I also tried to compile the X11 but it display an error trying to
connect to freebsd.org, obviously because of the Ethernet card not
recognized.  Can someone help me with this???
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





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


'/usr/local/etc/rc.d/squid stop' problem

2007-01-16 Thread applecom
It seems something strange with squid-2.6.6 on my FreeBSD 6.2-PRERELEASE  
box.
After running 'usr/local/etc/rc.d/squid stop' (and therefore during system  
shutdown on 'Ctrl+Alt+Delete' or ACPI power button pushing) I see the  
following:


Stopping squid.
Waiting for PIDS: 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,  
553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,  
553 564, 553 564.


In case of shutdown /etc/rc.shutdown initiates watchdog timer. I think it  
isn't normal.

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


Re: Ethernet not recognized

2007-01-16 Thread Eric

George Vanev wrote:

If I'm not wrong your lan card must be VIA VT6103L.
In this case FreeBSD must support it.
Post your dmesg please.

Did you make any changes to the kernel?


On 1/16/07, Juan Marrero [EMAIL PROTECTED] wrote:


Hi, I recently download FreeBSD 6.1, and I've installed in a new
computer a couple of times and in none of the installation recognize the
integrated Ethernet card.  In the instructions that I follow in one link
on your website, it says that is recognized automatically.  What am I
missing here?  I'm new at unix or linux, I've only used windows and I
like to learn something outside windows, but I didn't know it would be
such a headache.  The motherboard is a PC CHIPS P23G or something like
that.  I also tried to compile the X11 but it display an error trying to
connect to freebsd.org, obviously because of the Ethernet card not
recognized.  Can someone help me with this???
___



please dont top post.

you might want to get version 6.2 as it was just finalized yesterday.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ethernet not recognized

2007-01-16 Thread Robert Huff

Juan Marrero writes:

  Can someone help me with this???

Can we see the hardware boot probe?  You'll find it in
/var/log/messages, it looks like:

Jan 15 23:41:51 jerusalem kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.26GHz (2266.7
6-MHz 686-class CPU)
Jan 15 23:41:51 jerusalem kernel: Origin = GenuineIntel  Id = 0xf24  Stepping 
= 4
Jan 15 23:41:51 jerusalem kernel: Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE
,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2
,SS,HTT,TM
Jan 15 23:41:51 jerusalem kernel: real memory  = 536854528 (511 MB)
Jan 15 23:41:51 jerusalem kernel: avail memory = 515874816 (491 MB)
Jan 15 23:41:51 jerusalem kernel: acpi0: ASUS P4S533 on motherboard
Jan 15 23:41:51 jerusalem kernel: acpi0: Power Button (fixed)
Jan 15 23:41:51 jerusalem kernel: Timecounter ACPI-safe frequency 3579545 Hz q
uality 1000
Jan 15 23:41:51 jerusalem kernel: acpi_timer0: 24-bit timer at 3.579545MHz por
t 0xe408-0xe40b on acpi0
Jan 15 23:41:51 jerusalem kernel: cpu0: ACPI CPU on acpi0
Jan 15 23:41:51 jerusalem kernel: acpi_throttle0: ACPI CPU Throttling on cpu0
Jan 15 23:41:51 jerusalem kernel: acpi_button0: Power Button on acpi0
Jan 15 23:41:51 jerusalem kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff
 on acpi0
Jan 15 23:41:51 jerusalem kernel: pci0: ACPI PCI bus on pcib0
Jan 15 23:41:51 jerusalem kernel: agp0: SiS 645DX host to AGP bridge on hostb0
Jan 15 23:41:51 jerusalem kernel: pcib1: ACPI PCI-PCI bridge at device 1.0 on 
pci0
Jan 15 23:41:51 jerusalem kernel: pci1: ACPI PCI bus on pcib1

Please post all of it.


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: Documenting a ports depedency tree?

2007-01-16 Thread RW
On Mon, 15 Jan 2007 20:32:13 -0800
Jay Chandler [EMAIL PROTECTED] wrote:

 stan wrote:
  Is there a way to document the entire depedency tree for a given
  port?
 
  EG, if a dpends on b which depends on d  e, which in turn depend
  on z, I'd like to print out this dependency list.
 

 A good question, which I've taken the liberty of researching.
 
 montreal# cd /usr/ports/mail/p5-FuzzyOcr
 montreal# make pretty-print-run-depends-list
...
 Kinda crappy looking.  You can also 'make readmes to generate HTML 
 readme files, but I don't believe it recurses.
 

It shows the recursive dependencies, but doesn't display any
hierarchical information. sysutils/pkg_tree may be of some use for
installed packages.


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


Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-16 Thread Christian Baer
Greetings fellow computer haters! :-)

As I have already written on the STABLE mailing list, I can't seem to
get Firefox to start on my Sun U60. Thunderbird works fine (as far as I
can tell after two days), but Firefox just exits instantly with a segfault.

I didn't get any replies from the STABLE list, but I got a few ideas
from a German newsgroup. On of these ideas was that Firefox may not run
at all unter FreeBSD SPARC64. The reason given was that outside of the
common plattforms (i386, AMD64 and maybe alpha) much of the ports world
is untestet.

To be honest, I find that a little hard to believe for Firefox. If we
were talking about some application that is rarely used at all, sure.
But Firefox should be quite common - one would think anyway.

Well, just to rule out this possibility, I tought I'd just ask around if
anyone got Firefox to run on FreeBSD 6.1 SPARC64.

Hit me with answers! :-)

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: if_nfe on nVidia chipset

2007-01-16 Thread Shigeaki Tagashira

Hi,

I don't know why it doesn't detect the link media type. I have the 
same motherboard(M2N-SLI deluxe) and it works fine. Could you try 
to directly connect nfe0 to nfe1?  If the link media type cannot 
be detected correctly in the case, thia seems to be the problem of 
cable or network hub. How about specifying the link media type 
with ifconfig?


Regards,
Shigeaki Tagashira

Palle Girgensohn wrote:

Hello,

Is there any way I can help to try and fix this?

Regards,
Palle

--On torsdag, december 21, 2006 19.04.17 +0100 Palle Girgensohn 
[EMAIL PROTECTED] wrote:





--On torsdag, december 21, 2006 00.29.10 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


Palle Girgensohn wrote:

--On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira
[EMAIL PROTECTED] wrote:


I have the same one. And if_nfe works well on it, in both FreeBSD
6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
ifconfig command;
# ifconfig nfe1 down; ifconfig nfe1 up

---
S. Tagashira


Hi Tagashira-san,

Tried a lot of stuff, up and down and also debug flag, but nothing
helps.

ifconfig says media: Ethernet autoselect (none)

I can ping the interface itself, but nothing else.

Any ideas?


Hi,
I updated my web site for FreeBSD nfe driver.
Please try the lastest nfe driver and e1000phy patch provided on the web
site. These codes were modified to detect link media more correctly.



Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle




---
S. Tagashira





Regards,
Palle






Palle Girgensohn wrote:

Hi! Sorry for the cross post, I'd love to know if I can get this
working or not.

Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- End Forwarded Message --




-- 


--

Subject:
if_nfe on Asus M2N-SLI deluxe?
From:
Palle Girgensohn [EMAIL PROTECTED]
Date:
Tue, 12 Dec 2006 18:52:35 +0100
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]
CC:
[EMAIL PROTECTED]


Hi!

Does anybody know if if_nfe should work on the above motherboard? I
snached the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
0x4   inet 192.168.1.191 netmask 0xff00 broadcast
192.168.1.255 ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128   inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5   inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
needed?

/Palle



-- 


--

Copyright (c) 1992-2006 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.

Re: FreeBSD challenged by Internet

2007-01-16 Thread RW
On Tue, 16 Jan 2007 01:32:58 -0500
Bob McIsaac [EMAIL PROTECTED] wrote:

 Hi:
 
 This is not exactly a question rather it is wrapup for a
 series of questions.  I had a tricky, confusing problem
 getting FreeBSD on the net but I was able to solve it
 with help from this list.. Ian Smith in particular.
 
 The DHCP lease from my ISP set the nameserver
 address as being 192.168.1.254, the IP of some box
 which connects me to to net.  Correct me if wrong,
 but whois would not reveal a nameserver IP in this
 form for a net host.
 
 Linux accepted this but FreeBSD-6.1 had 10 second
 delays in TCP connects for mail and web pages.
 This does not imply a problem with BSD. It
 probably implies that Linux is more tolerant of
 loosely configured web services.  But in the
 world of security it's casual configuration
 considered harmful.


No, you have misunderstood the problem.

192.168.1.254  is presumably the address of your NAT router. It's
using its own DHCP server to give you its own address as a nameserver
because it's running a DNS proxy.

My D-Link ADSL-router has a similar problem, its DNS proxy was very
unreliable  with FreeBSD, much worse than 10 second delays, many
lookups didn't resolve at all. Disabling IPv6 did help speed things
up, but didn't cure the problem entirely. 

 
 I spent many hours reading and testing before
 hitting on a solution in dhclient.conf. 

If you have a fixed location (i.e. it's not a laptop that connects
elsewhere), it's probably better and easier to avoid DHCP altogether,
since you are not getting any dynamic configuration from it. 

I setup my desktop PC like this:

ifconfig_vr0=inet 192.168.1.201  netmask 255.255.255.0

this gives me a fixed private ip address, instead of one that depends
on what else is plugged into the router. The address is reserved in
the router.

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


dhcpd update doesn't restart service

2007-01-16 Thread Dave

Hello,
   I ran portupgrade on a 6.1 box. One of the ports needing updating was 
isc-dhcpd it was v3.0.4 now at 3.0.5. I ran this update on two boxes, one 
went fine, but on the other the service was not restarted. In my 
pkgtools.conf file i do have the line needed to restart services after an 
update. I was wondering how to set up a service so that if it died it would 
be restarted? I know about inetd, but i didn't think dhcpd could run out of 
it.

Thanks.
Dave.

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


Re: Confused with jails (ezjail) and mergemaster

2007-01-16 Thread Doug Poland
On Tue, Jan 16, 2007 at 09:08:07AM -0500, Dave wrote:
 - Original Message - 
 From: Doug Poland [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2006 11:37 PM
 Subject: Confused with jails (ezjail) and mergemaster
 
 I have just built and installed world on a 6.1-STABLE i386 machine
 and run mergemaster.  For the jails, I have run:
 
 root# ezjail-admin update -i
 
 and it performed an installworld.  Cool so far.
 
 What about mergemaster on the jails?  Do I need to run mergemaster on
 the basejail and each jail instance?
 
 root# mergemaster -D /usr/jails/basejail
 root# mergemaster -D /usr/jails/jail-01
 root# mergemaster -D /usr/jails/jail-99
 
 Or just mergemaster on basejail?  If I do just run mergemaster on
 basejail, how do the config file changes make it into the individual
 jails?  Ezjail is a great utility but running mergemaster on every
 jail instance seems daunting, not to mention the potential problems
 with end-user modified config files.
 

 Hello,
 It's been a while since i checked my email, but did you ever get any
 responses on this question? I'm not at the point of needing to update
 any of my ezjails, but when 6.2 comes out or i deide to update to it
 whichever, i will at that point.

No, I didn't get any responses.  After more analysis, I reasoned that
one must run mergemaster on the basejail and on each individual jail.
It's a lot of work, but it appears that's the only way.

 On a separate subject do you have ports in any of your jails as in the
 ports tree? If so how did you pull that off?  Thanks.

I use portupgrade so I needed to add the following to 
/usr/local/etc/pkgtools.conf
+  ENV['PACKAGES'] ||= '/var/ports/packages'
+  ENV['PKG_PATH'] ||= '/var/ports/packages/All'
+  ENV['PKG_BACKUP_DIR'] ||= '/var/tmp/pkg_backup'
+  ENV['PORTS_INDEX'] ||= '/var/ports/INDEX'

HTH

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


Very Poor Raid Card Performance

2007-01-16 Thread Steven Lowry
Hello,

I have been very impressed with my FreeBSD 6.2 install, I have nearly
everything working but there are a few things which I need help with.

The main problem is my HD performance, it is approx 6x slower than in
windows XP, hopefully there is a solution. I have an LSI Megaraid 8x with
four drives in a raid 5 configuration, in windows I was getting upto 60MB/s
transfer rates but in FBSD I am getting upto 9MB/s. I followed the
instructions in the handbook for tuning disks and I have set dma on.
Being new to unix, I have no idea what to try or get system information
too continue troubleshooting.
If anyone could point me in the right direction or to appropriate
documentation
it would be much appreciated.

Steve...
-- 
[EMAIL PROTECTED] http://folding.stanford.edu/

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


Re: '/usr/local/etc/rc.d/squid stop' problem

2007-01-16 Thread Dan Nelson
In the last episode (Jan 16), [EMAIL PROTECTED] said:
 It seems something strange with squid-2.6.6 on my FreeBSD
 6.2-PRERELEASE box. After running 'usr/local/etc/rc.d/squid stop'
 (and therefore during system shutdown on 'Ctrl+Alt+Delete' or ACPI
 power button pushing) I see the following:
 
 Stopping squid. Waiting for PIDS: 553 564, 553 564, 553 564, 553 564,
 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553
 564, 553 564, 553 564, 553 564, 553 564.
 
 In case of shutdown /etc/rc.shutdown initiates watchdog timer. I
 think it isn't normal.

Try shutting squid down manually from a shell prompt, then switch to
another window/vty and take a look at /usr/local/squid/logs/cache.log . 
My guess is it's waiting for an active client connection to exit.  The
default for shutdown_lifetime in squid.conf is 30 seconds.  I set it to
5 on my systems.

-- 
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: '/usr/local/etc/rc.d/squid stop' problem

2007-01-16 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
 It seems something strange with squid-2.6.6 on my FreeBSD 6.2-PRERELEASE
 box.
 After running 'usr/local/etc/rc.d/squid stop' (and therefore during
 system shutdown on 'Ctrl+Alt+Delete' or ACPI power button pushing) I see
 the following:
 
 Stopping squid.
 Waiting for PIDS: 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,
 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,
 553 564, 553 564.
 
 In case of shutdown /etc/rc.shutdown initiates watchdog timer. I think
 it isn't normal.

On my system the shutdown time of squid is also very long, but it's done before 
the watchdog kills it. I suppose squid is doing some kind of cleaning up, maybe 
try to use a smaller cache and check weather that affects the shutdown period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-16 Thread John Nielsen
On Tuesday 16 January 2007 07:56, Christian Baer wrote:
 Greetings fellow computer haters! :-)

 As I have already written on the STABLE mailing list, I can't seem to
 get Firefox to start on my Sun U60. Thunderbird works fine (as far as I
 can tell after two days), but Firefox just exits instantly with a segfault.

 I didn't get any replies from the STABLE list, but I got a few ideas
 from a German newsgroup. On of these ideas was that Firefox may not run
 at all unter FreeBSD SPARC64. The reason given was that outside of the
 common plattforms (i386, AMD64 and maybe alpha) much of the ports world
 is untestet.

 To be honest, I find that a little hard to believe for Firefox. If we
 were talking about some application that is rarely used at all, sure.
 But Firefox should be quite common - one would think anyway.

 Well, just to rule out this possibility, I tought I'd just ask around if
 anyone got Firefox to run on FreeBSD 6.1 SPARC64.

I installed FreeBSD on an Ultra 5 sometime last year and I had Firefox 
(probably 1.5 or earlier) working just fine. I don't have the machine up 
right now to tinker with, though.

Are you running the latest -stable on the box?

If you don't get enough help on this list, you could also try the sparc64 
list. It's true that some things in the sparc64 port don't get tested as much 
as they do in other ports of FreeBSD, but there are enough users that common 
programs such as Firefox should be expected to work.

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


Re: advice on compiling a new kernel upgrading to the latest sources

2007-01-16 Thread RW
On Sun, 14 Jan 2007 23:24:56 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2007-01-14 15:35, Bill Moran [EMAIL PROTECTED]
 wrote:
  Giorgos Keramidas [EMAIL PROTECTED] wrote:
  [copious snippage]
2. Cd /usr/src/sys/amd64/conf which contains the file MYKERNEL
  
   No it doesn't.  CVSup will delete the files it doesn't know
   about, so you should *SAVE a copy* of your favorite kernel config
   file outside of the source tree and *copy* it into
   `/usr/src/sys/amd64/conf' after CVSup finishes updates the
   sources.
 
  Really?  What have I been doing wrong?  I've been keeping custom
  kernel configs for years and cvsup has never deleted any of them.
 
 That's what the ``*default delete use-rel-suffix'' option does, AFAIK.
 
 The default supfile examples in `/usr/share/examples/cvsup' have this
 option enabled, and cvsup(1) says about it:
 
   delete  The presence of this keyword gives cvsup permission to
   delete files.  If it is missing, no files will be deleted.
 
 The presence of the delete keyword puts cvsup into
 so-called exact mode.  In exact mode, CVSup does its
 best to make the client's files correspond to those on
 the server.  This includes deleting individual deltas
 and symbolic tags from RCS files, as well as deleting
 entire files.  In exact mode, CVSup verifies every
 edited file with a checksum, to ensure that the edits
 have produced a file identical to the master copy on
 the server.  If the checksum test fails for a file,
 then CVSup falls back upon transferring the entire
 file.
 
 In general, CVSup deletes only files which are known to
 the server.  Extra files present in the client's tree
 are left alone, even in exact mode.  More precisely,
 CVSup is willing to delete two classes of files:
   o   Files that were previously created or updated by CVSup
   itself.
   o   Checked-out versions of files which are marked as dead
 on the server.
 
 If the option doesn't work this way, then I stand corrected.


Note the sentence: 

Extra files present in the client's tree are left alone, even in exact
mode

If a file has *never* been under CVS it's left alone. 

Having said that I still prefer to symlink because I like to be able to
delete directories maintained by cvsup without losing anything.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Firefox mess in Freebsd 6.1

2007-01-16 Thread Dak Ghatikachalam

Hi Freebsd


My Firefox is crashing all the time since I setup the flash plugins,

I first plugged in the mplayer and after which it was working well.

Because several other news websites were expecting flash or shockwave
plugins


I went ahead and did everything per the instructions in

http://www.erata.net/weblog/freebsd/2006/10/16/flash-plugin-on-freebsd/

after doing this the firefox is crashing left and right.

Any idea what we can do for this issue


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


Re: Very Poor Raid Card Performance

2007-01-16 Thread Bill Moran
In response to Steven Lowry [EMAIL PROTECTED]:
 
 I have been very impressed with my FreeBSD 6.2 install, I have nearly
 everything working but there are a few things which I need help with.
 
 The main problem is my HD performance, it is approx 6x slower than in
 windows XP, hopefully there is a solution. I have an LSI Megaraid 8x with
 four drives in a raid 5 configuration, in windows I was getting up to 60MB/s
 transfer rates but in FBSD I am getting up to 9MB/s. I followed the
 instructions in the handbook for tuning disks and I have set dma on.
 Being new to unix, I have no idea what to try or get system information
 too continue troubleshooting.
 If anyone could point me in the right direction or to appropriate
 documentation
 it would be much appreciated.

You should provide the details of how you arrived at those numbers.
Please provide details of your testing methodology.

While it's impossible to compare apples to apples when pitting Windows
against FreeBSD, you at least want to be comparing two fruits -- not
apples and buffalo steaks or something like that.

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


hardware mirrors recognized as individual disks in fbsd

2007-01-16 Thread Steve Franks

I'm tired of win2k crashing, and we won't even go into my opinion of vista's
strongarm marketing tactics (read: changing my hardware means I have to pay
again? they can keep their OS).

Problem is, I've got 320GB of accumulated detrius on ntfs volumes to
migrate.  I see there is some good r/w ports for ntfs, so I'm willing to
evaluate that to see if it's stable (shoestring budget here obviously - this
is my personal stuff only).

Forging ahead, I get ready to start playing the mounting game, but
lo-and-behold, suddenly I have 4 disks whereas in windows I had two.  Now I
praise FreeBSD for it's superior intellect here, but now I have a problem.
I want two 160GB mirrored volumes, not 4 unmirrored ones.  The RAID is an
ASUS P5DR1-VM motherboard with a ULI raid chipset onboard.  Very nice setup
for the money.

Is this normal?  Am I going to break my mirror if I mount a single disk?  If
so, how do I mount a mirror?

Thanks,
Steve

--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hardware mirrors recognized as individual disks in fbsd

2007-01-16 Thread Steve Franks

I suppose a couple of other details are in order:

1. FreeBSD is installed on a completely different disk.
2. I checked, and the motherboard still thinks they are mirrored.

Steve

On 1/16/07, Steve Franks [EMAIL PROTECTED] wrote:


I'm tired of win2k crashing, and we won't even go into my opinion of
vista's strongarm marketing tactics (read: changing my hardware means I have
to pay again? they can keep their OS).

Problem is, I've got 320GB of accumulated detrius on ntfs volumes to
migrate.  I see there is some good r/w ports for ntfs, so I'm willing to
evaluate that to see if it's stable (shoestring budget here obviously - this
is my personal stuff only).

Forging ahead, I get ready to start playing the mounting game, but
lo-and-behold, suddenly I have 4 disks whereas in windows I had two.  Now I
praise FreeBSD for it's superior intellect here, but now I have a problem.
I want two 160GB mirrored volumes, not 4 unmirrored ones.  The RAID is an
ASUS P5DR1-VM motherboard with a ULI raid chipset onboard.  Very nice setup
for the money.

Is this normal?  Am I going to break my mirror if I mount a single disk?
If so, how do I mount a mirror?

Thanks,
Steve

--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089





--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What have you done for me lately !!!

2007-01-16 Thread Joe Arcaro

Hi,

Maybe this is just a rant,

But I'll vent anyway.

I've been watching with some skepticism, the whole apple circus freak 
fanboy show ...


I was just curious, does it not bother any of the BSD developers that 
Apple inc (TM)  has based its entire business model on open source software,


and yet seems to have given little if any thing back in return.

I have on occasion looked at the apple web site, and never has apple 
even given credit to any form of BSD !


Is this all just acceptable, have I missed the whole point of open 
source (Give something back when you can)


or have I not read the fine print.

anyhow...

Cheers to all the developers at Freebsd, I am an admirer of BSD and the 
open source community


--

Joe Arcaro.
Technical Manager.
Splitting Image Colour Studios.

There are 10 types of people in the world.
Those who understand Binary. 
And those who don't... 


Quidquid latine dictum sit, altum sonatur.


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


Re: What have you done for me lately !!!

2007-01-16 Thread Kris Kennaway
On Tue, Jan 16, 2007 at 08:06:58AM +1100, Joe Arcaro wrote:
 Hi,
 
 Maybe this is just a rant,
 
 But I'll vent anyway.
 
 I've been watching with some skepticism, the whole apple circus freak 
 fanboy show ...
 
 I was just curious, does it not bother any of the BSD developers that 
 Apple inc (TM)  has based its entire business model on open source software,
 
 and yet seems to have given little if any thing back in return.
 
 I have on occasion looked at the apple web site, and never has apple 
 even given credit to any form of BSD !
 
 Is this all just acceptable, have I missed the whole point of open 
 source (Give something back when you can)
 
 or have I not read the fine print.
 
 anyhow...
 
 Cheers to all the developers at Freebsd, I am an admirer of BSD and the 
 open source community

Yeah, you did miss the point.  The BSD license does not require this,
and we BSD developers work on BSD software because we acknowledge and
even like that aspect of it: we are developing quality software that
can be used for any purposes with effectively no strings attached.

Besides, apple has and does contribute code back to FreeBSD.

Kris


pgpX23Ch6Zii4.pgp
Description: PGP signature


Re: What have you done for me lately !!!

2007-01-16 Thread Garrett Cooper

On Jan 16, 2007, at 11:01 AM, Kris Kennaway wrote:


On Tue, Jan 16, 2007 at 08:06:58AM +1100, Joe Arcaro wrote:

Hi,

Maybe this is just a rant,

But I'll vent anyway.

I've been watching with some skepticism, the whole apple circus freak
fanboy show ...

I was just curious, does it not bother any of the BSD developers that
Apple inc (TM)  has based its entire business model on open source  
software,


and yet seems to have given little if any thing back in return.

I have on occasion looked at the apple web site, and never has apple
even given credit to any form of BSD !

Is this all just acceptable, have I missed the whole point of open
source (Give something back when you can)

or have I not read the fine print.

anyhow...

Cheers to all the developers at Freebsd, I am an admirer of BSD  
and the

open source community


Yeah, you did miss the point.  The BSD license does not require this,
and we BSD developers work on BSD software because we acknowledge and
even like that aspect of it: we are developing quality software that
can be used for any purposes with effectively no strings attached.

Besides, apple has and does contribute code back to FreeBSD.

Kris


Regarding this, refer to the many threads in the past 3 months  
regarding this subject.

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


Re: What have you done for me lately !!!

2007-01-16 Thread Peter Giessel
 On Tuesday, January 16, 2007, at 09:55AM, Joe Arcaro [EMAIL PROTECTED] 
wrote:
I have on occasion looked at the apple web site, and never has apple 
even given credit to any form of BSD !

You must have missed it:

http://developer.apple.com/opensource/
*** QUOTE ***
With its open-source core based on FreeBSD 5.0 and the Mach 3.0
microkernel, Mac OS X is the best Macintosh operating system ever
for UNIX users. With built-in support for the X Window System, IPv6,
Kerberos integration, and added POSIX, Linux, and System V API
support, Mac OS X easily runs your favorite UNIX software. With a
CUPS-based print and fax engine, plus a suite of command-line
and Python interfaces to Apple's Quartz graphics, it is easy to
develop full-featured PDF workflows. Mac OS X even automounts
Macintosh, Windows, and UNIX file servers directly in the Finder.
*** END QUOTE ***

Its in the first sentence on their page.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Garrett Cooper

On Jan 16, 2007, at 1:00 AM, linux quest wrote:


Dear FreeBSD Communities,

Lets say, I wanted to create a Perl script to execute a very simple  
nmap command as listed below, may I know how do I do it?


unix# nmap 192.168.1.2

I know we need to save it in .pl extension. May I know what else I  
need to do?


I have researched and google this for the entire week, but I still  
can't find the solution. For example in Windows, all I need to do  
is to type nmap 192.168.1.2 and save it in a text file with the  
extension .bat - and everything will be taken care of.


I hope someone can share with me the simple coding to solve this  
problem.


Thank you so much, guys :)

Regards,
Linux Quest

Regards,
Linux Quest


If you just want to see if a host is up..

#!/bin/sh
#

/usr/bin/ping -c 1 192.168.1.2

..would suffice. Substitute /usr/bin/ping -c 1 for whatever command  
and arguments you want to run. Google beginner bash manual (note  
that it's for bash--the bourne again shell, not bourne shell--sh),  
but many of the same semantics in bash applying to sh.

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


Re: Ethernet not recognized

2007-01-16 Thread Derek Ragona
Check the motherboard documentation for the ethernet chipset, then look in 
the kernel config file for your kernel.  It is likely simply not enabled in 
your kernel, or may require a second driver as do many of the ethernet drivers.


-Derek


At 07:43 AM 1/16/2007, Juan Marrero wrote:

Hi, I recently download FreeBSD 6.1, and I've installed in a new
computer a couple of times and in none of the installation recognize the
integrated Ethernet card.  In the instructions that I follow in one link
on your website, it says that is recognized automatically.  What am I
missing here?  I'm new at unix or linux, I've only used windows and I
like to learn something outside windows, but I didn't know it would be
such a headache.  The motherboard is a PC CHIPS P23G or something like
that.  I also tried to compile the X11 but it display an error trying to
connect to freebsd.org, obviously because of the Ethernet card not
recognized.  Can someone help me with this???
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Very Poor Raid Card Performance

2007-01-16 Thread Derek Ragona
With FreeBSD you can manage RAID in the OS or in your hardware (assuming 
hardware RAID support.)  If you setup the RAID in the hardware, FreeBSD 
just sees the array as a large disk you can then partition.  The 
advantage of doing the RAID in hardware is usually performance, but also 
you can dual-boot.


-Derek


At 10:25 AM 1/16/2007, Steven Lowry wrote:

Hello,

I have been very impressed with my FreeBSD 6.2 install, I have nearly
everything working but there are a few things which I need help with.

The main problem is my HD performance, it is approx 6x slower than in
windows XP, hopefully there is a solution. I have an LSI Megaraid 8x with
four drives in a raid 5 configuration, in windows I was getting upto 60MB/s
transfer rates but in FBSD I am getting upto 9MB/s. I followed the
instructions in the handbook for tuning disks and I have set dma on.
Being new to unix, I have no idea what to try or get system information
too continue troubleshooting.
If anyone could point me in the right direction or to appropriate
documentation
it would be much appreciated.

Steve...
--
[EMAIL PROTECTED] http://folding.stanford.edu/

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Very Poor Raid Card Performance

2007-01-16 Thread Steven Lowry

On Tue, January 16, 2007 18:13, Bill Moran wrote:
 In response to Steven Lowry [EMAIL PROTECTED]:

 I have been very impressed with my FreeBSD 6.2 install, I have nearly
 everything working but there are a few things which I need help with.

 The main problem is my HD performance, it is approx 6x slower than in
 windows XP, hopefully there is a solution. I have an LSI Megaraid 8x
 with
 four drives in a raid 5 configuration, in windows I was getting up to
 60MB/s
 transfer rates but in FBSD I am getting up to 9MB/s. I followed the
 instructions in the handbook for tuning disks and I have set dma on.
 Being new to unix, I have no idea what to try or get system information
 too continue troubleshooting.
 If anyone could point me in the right direction or to appropriate
 documentation
 it would be much appreciated.

 You should provide the details of how you arrived at those numbers.
 Please provide details of your testing methodology.

 While it's impossible to compare apples to apples when pitting Windows
 against FreeBSD, you at least want to be comparing two fruits -- not
 apples and buffalo steaks or something like that.

Thanks for your reply,

I repeatedly copied a 700MB file from one harddrive to the Raid 5 Drive, a
different file every time so caching won't be a large factor and consistantly
got 8-9MB/s. Copying such large files is something I do on a daily basis.
Hardly scientific, more of a real use scenario. Transfer was done via KDE.

Here is the dmesg output for the controller;

amr0: LSILogic MegaRAID 1.53 mem
0xfa2f-0xfa2f,0xfe80-0xfe8f irq 30 at device 14.0 on pci5
amr0: delete logical drives supported by controller
amr0: LSILogic LSI MegaRAID SATA300-8X PCI-X Firmware 814D, BIOS H431,
128MB RAM
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 712392MB (1458978816 sectors) RAID 5 (optimal)

Not sure what is meant by the delete line.
Motherboard is an Iwill DK8N, Nforce3 Chipset, AMD 8131 PCI-X bridge.
The nvidia raid is populated by two WD raptors in a raid 1, this holds FBSD,
the LSI is for data storage.

Any other information I could supply?

Steve...
-- 
[EMAIL PROTECTED] http://folding.stanford.edu/

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


Re: Sysinstall: No Floppy Devices Found

2007-01-16 Thread Dan Mahoney, System Admin

On Tue, 16 Jan 2007, Kevin Kobb wrote:

I have found that when I do an install with an install.cfg file on a floppy, 
I must insert the floppy right after the system begins to boot from CD. If I 
don't when I tell sysinstall to read the floppy I get an error.


I've found the floppy works okay when I escape to the bootloader, so I can 
load my KLD at that time.


As a work around, if I go into the options and select rescan for hardware 
devices (not sure if that is the exact wording) after inserting the floppy 
disk, it will work OK as well. Might be worth a try.


I'll be sure to try that, thanks.  Any idea why it's not found initially, 
tho?  I mean, the CONTROLLER is found, so...


Is this the type of thing I should send-pr over?

-Dan

--

Be happy.  Try not to hurt each other.  Hope you fall in love.

--Mallory, Family Ties Finale (on the meaning of life)

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Ethernet not recognized

2007-01-16 Thread Bob McIsaac

Derek Ragona wrote:
Check the motherboard documentation for the ethernet chipset, then 
look in the kernel config file for your kernel.  It is likely simply 
not enabled in your kernel, or may require a second driver as do many 
of the ethernet drivers.


-Derek


At 07:43 AM 1/16/2007, Juan Marrero wrote:

Hi, I recently download FreeBSD 6.1, and I've installed in a new
computer a couple of times and in none of the installation recognize the
integrated Ethernet card.  In the instructions that I follow in one link
on your website, it says that is recognized automatically.  What am I
missing here?  I'm new at unix or linux, I've only used windows and I
like to learn something outside windows, but I didn't know it would be
such a headache.  The motherboard is a PC CHIPS P23G or something like
that.  I also tried to compile the X11 but it display an error trying to
connect to freebsd.org, obviously because of the Ethernet card not
recognized.  Can someone help me with this???
 

dmesg should reveal something like the following for VIA chip sets.
Note that there is a bus interface which might be supported by a
driver separate from the VIA support.

vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xc800-0xc8ff
mem 0xfdffe000-0xfdffe0ff irq 10 at device 18.0 on pci0
miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:40:63:e6:41:ba


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


Re: Very Poor Raid Card Performance

2007-01-16 Thread Bill Moran
In response to Steven Lowry [EMAIL PROTECTED]:
 
 On Tue, January 16, 2007 18:13, Bill Moran wrote:
  In response to Steven Lowry [EMAIL PROTECTED]:
 
  I have been very impressed with my FreeBSD 6.2 install, I have nearly
  everything working but there are a few things which I need help with.
 
  The main problem is my HD performance, it is approx 6x slower than in
  windows XP, hopefully there is a solution. I have an LSI Megaraid 8x
  with
  four drives in a raid 5 configuration, in windows I was getting up to
  60MB/s
  transfer rates but in FBSD I am getting up to 9MB/s. I followed the
  instructions in the handbook for tuning disks and I have set dma on.
  Being new to unix, I have no idea what to try or get system information
  too continue troubleshooting.
  If anyone could point me in the right direction or to appropriate
  documentation
  it would be much appreciated.
 
  You should provide the details of how you arrived at those numbers.
  Please provide details of your testing methodology.
 
  While it's impossible to compare apples to apples when pitting Windows
  against FreeBSD, you at least want to be comparing two fruits -- not
  apples and buffalo steaks or something like that.
 
 Thanks for your reply,
 
 I repeatedly copied a 700MB file from one harddrive to the Raid 5 Drive, a
 different file every time so caching won't be a large factor and consistantly
 got 8-9MB/s. Copying such large files is something I do on a daily basis.
 Hardly scientific, more of a real use scenario. Transfer was done via KDE.

And this translated in to MB/s how?  Timed with a stopwatch?

Keep in mind that by simply copying, you are testing the speed of the
OS cache, the speed of the filesystem, and the speed of the driver all
at once.  We're going to have to narrow it down to isolate the problem.
I can give you advice in FreeBSD, but I don't know how to do it in
Windows.

Additionally, if the first hard drive performs badly under FreeBSD for
some reason, that would color your results.

 Here is the dmesg output for the controller;
 
 amr0: LSILogic MegaRAID 1.53 mem
 0xfa2f-0xfa2f,0xfe80-0xfe8f irq 30 at device 14.0 on pci5
 amr0: delete logical drives supported by controller
 amr0: LSILogic LSI MegaRAID SATA300-8X PCI-X Firmware 814D, BIOS H431,
 128MB RAM
 amrd0: LSILogic MegaRAID logical drive on amr0
 amrd0: 712392MB (1458978816 sectors) RAID 5 (optimal)
 
 Not sure what is meant by the delete line.

It means the driver/hardware supports the optional delete logical
drives feature.

 Motherboard is an Iwill DK8N, Nforce3 Chipset, AMD 8131 PCI-X bridge.
 The nvidia raid is populated by two WD raptors in a raid 1, this holds FBSD,
 the LSI is for data storage.
 
 Any other information I could supply?

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


Re: '/usr/local/etc/rc.d/squid stop' problem

2007-01-16 Thread applecom
On Tue, 16 Jan 2007 21:51:08 +0500, Dan Nelson [EMAIL PROTECTED]  
wrote:



Try shutting squid down manually from a shell prompt, then switch to
another window/vty and take a look at /usr/local/squid/logs/cache.log .
My guess is it's waiting for an active client connection to exit.  The
default for shutdown_lifetime in squid.conf is 30 seconds.  I set it to
5 on my systems.


You was right. There was 'Waiting 30 seconds for active connections to  
finish' in cache.log. I've made 'shutdown_lifetime 5 seconds' in  
squid.conf too. Squid is shutting down faster now. Thanks a lot!

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


Re: What have you done for me lately !!!

2007-01-16 Thread Chuck Swiger

On Jan 15, 2007, at 1:06 PM, Joe Arcaro wrote:

Maybe this is just a rant, But I'll vent anyway.


Actually, I think you've graduated beyond just ranting to full- 
fledged trolling.


I've been watching with some skepticism, the whole apple circus  
freak fanboy show ...


Enjoy yourself.  If you ever get tired of watching Apple, for your  
next trick, you could try looking into a mirror.


I was just curious, does it not bother any of the BSD developers  
that Apple inc (TM) has based its entire business model on open  
source software, and yet seems to have given little if any thing  
back in return.


To your knowledge, anyway.  Oddly enough, Apple employs several BSD  
developers (mainly in the Core OS, networking, or devtools groups),  
in much the same fashion that OSDL employs Linus Torvalds and  
companies like IBM, RedHat, Novell, Debian, and so forth employ other  
Linux developers.


I have on occasion looked at the apple web site, and never has  
apple even given credit to any form of BSD !


While you could go to www.apple.com and enter BSD into the little  
search bar, those tricky people at Apple might fool you by returning  
relevant links.  So instead, go try searching for Apple BSD at  
Google or Yahoo.  The first two hits are:


http://developer.apple.com/opensource/index.html
http://www.apple.com/macosx/features/unix/

Oops, nevermind-- those links are relevant, too.

Is this all just acceptable, have I missed the whole point of open  
source (Give something back when you can)

or have I not read the fine print.


Why yes, Apple using parts of the FreeBSD source code (and NetBSD,  
and OpenBSD, and even a bit of GPL'ed software from the Free Software  
Foundation) is acceptable.  That's what the BSD license was designed  
to encourage and more generally is what OSI Open Source Software is  
supposed to be about.  It's about making better software available  
for everyone to use.


However, I'd be curious to see what software you've written under an  
Open Source license, if any?


Of course, Joe, you don't actually have to contribute anything to  
other people, and you are welcome to use FreeBSD, or Apple's Darwin,  
or Linux without giving anything back.  But it's funny how often  
people criticize others for not contributing anything back in  
return when that statement applies equally as well to the speaker...


--
-Chuck

PS: This email might be coming from a 17/8 IP address, but I don't  
speak for Apple.




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


Re: What have you done for me lately !!!

2007-01-16 Thread Dak Ghatikachalam

It really amazes me  how this FreeBSD is turning out tide in the Chinese
market , which shuns W and L.

The major OS  that Chinese market  is based on is Freebsd based. there is
going to be 1.3 billion population out there going to be in FreeBSD

On 1/16/07, Peter Giessel [EMAIL PROTECTED] wrote:


On Tuesday, January 16, 2007, at 09:55AM, Joe Arcaro 
[EMAIL PROTECTED] wrote:
I have on occasion looked at the apple web site, and never has apple
even given credit to any form of BSD !

You must have missed it:

http://developer.apple.com/opensource/
*** QUOTE ***
With its open-source core based on FreeBSD 5.0 and the Mach 3.0
microkernel, Mac OS X is the best Macintosh operating system ever
for UNIX users. With built-in support for the X Window System, IPv6,
Kerberos integration, and added POSIX, Linux, and System V API
support, Mac OS X easily runs your favorite UNIX software. With a
CUPS-based print and fax engine, plus a suite of command-line
and Python interfaces to Apple's Quartz graphics, it is easy to
develop full-featured PDF workflows. Mac OS X even automounts
Macintosh, Windows, and UNIX file servers directly in the Finder.
*** END QUOTE ***

Its in the first sentence on their page.
___
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]


Daylight savings time / 6.1 and 4.11

2007-01-16 Thread hal

This came down from above?!

Beginning in 2007, Daylight Savings Time will be lengthened one month  
by starting three weeks earlier (2AM on the second Sunday in March)  
and ending one week later (2AM on the first Sunday in November).



What patch levels do I need to be at for my 4.7 and 6.1 systems to be
daylight savings 2007 ready?

Currently: 4.11-RELEASE-p25

Currently: 6.1-RELEASE-p10

hal



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


Re: Firefox mess in Freebsd 6.1

2007-01-16 Thread Warren Block

On Tue, 16 Jan 2007, Dak Ghatikachalam wrote:


My Firefox is crashing all the time since I setup the flash plugins,

I first plugged in the mplayer and after which it was working well.

Because several other news websites were expecting flash or shockwave
plugins

I went ahead and did everything per the instructions in

 that procedure is outdated, so I'm not going to repeat the link 

after doing this the firefox is crashing left and right.


Here's my checklist.  This works on 6.2-Release and 6.2-Stable as of 
16 Jan 2007 with Firefox 2.0.0.1:


Install the dlsym patch:

Note: a new version of rtld.c came out in stable on 16 Jan 2007.  If you 
don't run 6-Stable, fetch the patch file like this:


# cd /usr/src/libexec/rtld-elf/
# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff

Here's an updated patch file I made for rtld.c v 1.106.2.4:

--- rtld.c.orig Tue Jan 16 06:50:53 2007
+++ rtld.c  Tue Jan 16 06:54:15 2007
@@ -131,6 +131,7 @@
 static void unref_dag(Obj_Entry *);
 static void ref_dag(Obj_Entry *);

+void *_dlsym(void *, const char *);
 void r_debug_state(struct r_debug *, struct link_map *);

 /*
@@ -182,6 +183,7 @@
 (func_ptr_type) dlclose,
 (func_ptr_type) dlerror,
 (func_ptr_type) dlopen,
+(func_ptr_type) _dlsym,
 (func_ptr_type) dlsym,
 (func_ptr_type) dladdr,
 (func_ptr_type) dllockinit,
@@ -1762,6 +1764,12 @@
 trace_loaded_objects(obj);
 wlock_release(rtld_bind_lock, lockstate);
 exit(0);
+}
+
+void *
+_dlsym(void *handle, const char *name)
+{
+return dlsym(handle, name);
 }

 void *
--cut here

# patch  rtld_dlsym_hack.diff
# make
# make install

Link the library:

cd /usr/local/lib/browser_plugins
ln -sf /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so .
ln -sf /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt .

In /etc/libmap.conf:

# [ALPHA SUPPORT] Flash7 with Mozilla
[/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2  pluginwrapper/flash7.so
libz.so.1   libz.so.3
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/flash7.so

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ethernet not recognized

2007-01-16 Thread Robert Huff

Derek Ragona writes:

  Check the motherboard documentation for the ethernet chipset,
  then look in the kernel config file for your kernel.  It is
  likely simply not enabled in your kernel, or may require a second
  driver as do many of the ethernet drivers.

Also check whether the network card is enabled in the BIOS.


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


Dummynet with vlans

2007-01-16 Thread Dan Mahoney, System Admin

Hey all,

Note: I'm cc'ing Luigi Rizzo because, well, he's authoritative.   This is 
NOT the same issue I asked about a couple years ago (which related to 
vlans, and bridging -- there is no bridge in play here).


Anyway...

We have a machine playing vlan aggregator.  Gigabit nics (intels).

em0 is the uplink to the core router.  Straight gigabit link over copper 
to a 6500-series cisco switch (speaks OSPF using quagga). em1 is the 
downlink (over fiber) to the switch, and has no interface on it, but it IS 
a parent interface to 48 vlan entries, numbered vlan101 through vlan148 
(where each is relative to a switch port).  This setup works fine.


Each vlan entry has it's own /29 IP address.

That said, what is the proper syntax for adding dummynet rules to this? 
For example, to constrain one of those ports to (say) 50 megabits.


I'm using

pipe 440 config bw 50mbit/s
pipe 441 config bw 50mbit/s
add 44000 pipe 440 ip from any to any recv vlan144 in
add 44001 pipe 441 ip from any to any xmit vlan144 out

But this seems not to work.

Do I need to define queues as well?  The manpage cites examples similar to 
this, but I can't find any definitive reference.


Should I just not use the vlan interfaces, and instead go by IP on the 
outside interface?


-Dan

--

It's buttery kettle ASS corn!

-Dan Mahoney, Ezzi Computers,
10/22/03, 2AM

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Daylight savings time / 6.1 and 4.11

2007-01-16 Thread Dan Nelson
In the last episode (Jan 16), hal said:
 Beginning in 2007, Daylight Savings Time will be lengthened one month
 by starting three weeks earlier (2AM on the second Sunday in March)
 and ending one week later (2AM on the first Sunday in November).
 
 What patch levels do I need to be at for my 4.7 and 6.1 systems to be
 daylight savings 2007 ready?
 
 Currently: 4.11-RELEASE-p25
 
 Currently: 6.1-RELEASE-p10

Since it's not a security issue, I doubt the new zone files will go
into any -p# branch.  If you were tracking the main branches (RELENG_4
or RELENG_6) instead of a -RELEASE branch (RELENG_4_11 or RELENG_6_1),
you would have them, though.  Quickest fix would be to install the
misc/zoneinfo port, which doesn't care what release you're running.

-- 
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]


READ_DMA48 error interpretation

2007-01-16 Thread Richard Lynch
I know the messages below mean the hard drive or IDE cards are having
problems.

But is this like RED ALERT or more like YELLOW or what?

And what do I do about it?

umount and fsck everything a lot?

swap cards/drives around until it stops?

Ignore it and pray?

All the content is already copied to a second box, plus on CD, and
none of it is crucial data, so if I lose a LITTLE data by ignoring
this, I'm okay.

If the whole thing wipes out, that would be bad.

These drives are often spun down, as they are not accessed very often
-- it's the roll-over fall-back audio server in a cobbled-together
system I won't describe, as you'll just laugh at me. :-)  Is it
possible that these are just from the drives spinning up too slowly?

+ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=404955007
+ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=10NID_NOT_FOUND
LBA=404955007
+g_vfs_done():ad1s1[READ(offset=207336931328, length=16384)]error = 5
+ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106507715
+ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=324791875
+ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=10NID_NOT_FOUND
LBA=324791875
+g_vfs_done():ad1s1[READ(offset=166293407744, length=2048)]error = 5
+ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=325168415
+ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=10NID_NOT_FOUND
LBA=325168415
+g_vfs_done():ad1s1[READ(offset=166486196224, length=16384)]error = 5
+ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=400062279
+ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=10NID_NOT_FOUND
LBA=400062279
+g_vfs_done():ad1s1[READ(offset=204831854592, length=4096)]error = 5
+ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=387991903
+ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR
error=10NID_NOT_FOUND
LBA=387991903
+g_vfs_done():ad1s1[READ(offset=198651822080, length=16384)]error = 5
+ad3: TIMEOUT - READ_DMA retrying (1 retry left) LBA=287

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


Re: Ethernet not recognized

2007-01-16 Thread Garrett Cooper

Robert Huff wrote:

Derek Ragona writes:

  

 Check the motherboard documentation for the ethernet chipset,
 then look in the kernel config file for your kernel.  It is
 likely simply not enabled in your kernel, or may require a second
 driver as do many of the ethernet drivers.



Also check whether the network card is enabled in the BIOS.


Robert Huff
On a similar note, some chipsets (SIS in my experience) with onboard 
NICs disable the onboard NIC if you have another PCI card.

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


Re: READ_DMA48 error interpretation

2007-01-16 Thread Chuck Swiger

On Jan 16, 2007, at 1:13 PM, Richard Lynch wrote:

I know the messages below mean the hard drive or IDE cards are having
problems.  But is this like RED ALERT or more like YELLOW or what?


If you have current backups, it's a yellow alert.  Otherwise...


And what do I do about it?

umount and fsck everything a lot?
swap cards/drives around until it stops?
Ignore it and pray?


Try installing the sysutils/smartmontools port and run a drive self- 
test.  That will give you a much better assessment of the state of  
the drive and whether it is likely to completely fail in the next 24  
hours...


--
-Chuck

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


Re: Firefox mess in Freebsd 6.1

2007-01-16 Thread FreeBSD WickerBill

On 1/16/07, Warren Block [EMAIL PROTECTED] wrote:


On Tue, 16 Jan 2007, Dak Ghatikachalam wrote:

 My Firefox is crashing all the time since I setup the flash plugins,

 I first plugged in the mplayer and after which it was working well.

 Because several other news websites were expecting flash or shockwave
 plugins

 I went ahead and did everything per the instructions in

  that procedure is outdated, so I'm not going to repeat the link 

 after doing this the firefox is crashing left and right.

Here's my checklist.  This works on 6.2-Release and 6.2-Stable as of
16 Jan 2007 with Firefox 2.0.0.1:

Install the dlsym patch:

Note: a new version of rtld.c came out in stable on 16 Jan 2007.  If you
don't run 6-Stable, fetch the patch file like this:

# cd /usr/src/libexec/rtld-elf/
# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff

Here's an updated patch file I made for rtld.c v 1.106.2.4:

--- rtld.c.orig Tue Jan 16 06:50:53 2007
+++ rtld.c  Tue Jan 16 06:54:15 2007
@@ -131,6 +131,7 @@
  static void unref_dag(Obj_Entry *);
  static void ref_dag(Obj_Entry *);

+void *_dlsym(void *, const char *);
  void r_debug_state(struct r_debug *, struct link_map *);

  /*
@@ -182,6 +183,7 @@
  (func_ptr_type) dlclose,
  (func_ptr_type) dlerror,
  (func_ptr_type) dlopen,
+(func_ptr_type) _dlsym,
  (func_ptr_type) dlsym,
  (func_ptr_type) dladdr,
  (func_ptr_type) dllockinit,
@@ -1762,6 +1764,12 @@
  trace_loaded_objects(obj);
  wlock_release(rtld_bind_lock, lockstate);
  exit(0);
+}
+
+void *
+_dlsym(void *handle, const char *name)
+{
+return dlsym(handle, name);
  }

  void *
--cut here

# patch  rtld_dlsym_hack.diff
# make
# make install

Link the library:

cd /usr/local/lib/browser_plugins
ln -sf /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so .
ln -sf /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt .

In /etc/libmap.conf:

# [ALPHA SUPPORT] Flash7 with Mozilla
[/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2  pluginwrapper/flash7.so
libz.so.1   libz.so.3
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/flash7.so

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



or, look in  /usr/local/lib/firefox/plugins/ and make sure the plugin or a
symlink exists.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What have you done for me lately !!!

2007-01-16 Thread Joe Arcaro

Thanks For the reply Chuck,

I didn't imagine I'd get such an emotive response,

But nonetheless you're right, I haven't checked the developer website,

As for trolling, I am not intentionally trying to start a heated debate.

I was just curious as to how much credit people think should be given to 
Open source development.


I support a network of Macs,  (30+ and counting...)

And can say with some authority that of the 20+ operators on those Macs.

Not one has heard of BSD ...

Thanks again.

Joe.



Chuck Swiger wrote:

On Jan 15, 2007, at 1:06 PM, Joe Arcaro wrote:

Maybe this is just a rant, But I'll vent anyway.


Actually, I think you've graduated beyond just ranting to 
full-fledged trolling.


I've been watching with some skepticism, the whole apple circus freak 
fanboy show ...


Enjoy yourself.  If you ever get tired of watching Apple, for your 
next trick, you could try looking into a mirror.


I was just curious, does it not bother any of the BSD developers that 
Apple inc (TM) has based its entire business model on open source 
software, and yet seems to have given little if any thing back in 
return.


To your knowledge, anyway.  Oddly enough, Apple employs several BSD 
developers (mainly in the Core OS, networking, or devtools groups), in 
much the same fashion that OSDL employs Linus Torvalds and companies 
like IBM, RedHat, Novell, Debian, and so forth employ other Linux 
developers.


I have on occasion looked at the apple web site, and never has apple 
even given credit to any form of BSD !


While you could go to www.apple.com and enter BSD into the little 
search bar, those tricky people at Apple might fool you by returning 
relevant links.  So instead, go try searching for Apple BSD at 
Google or Yahoo.  The first two hits are:


http://developer.apple.com/opensource/index.html
http://www.apple.com/macosx/features/unix/

Oops, nevermind-- those links are relevant, too.

Is this all just acceptable, have I missed the whole point of open 
source (Give something back when you can)

or have I not read the fine print.


Why yes, Apple using parts of the FreeBSD source code (and NetBSD, and 
OpenBSD, and even a bit of GPL'ed software from the Free Software 
Foundation) is acceptable.  That's what the BSD license was designed 
to encourage and more generally is what OSI Open Source Software is 
supposed to be about.  It's about making better software available for 
everyone to use.


However, I'd be curious to see what software you've written under an 
Open Source license, if any?


Of course, Joe, you don't actually have to contribute anything to 
other people, and you are welcome to use FreeBSD, or Apple's Darwin, 
or Linux without giving anything back.  But it's funny how often 
people criticize others for not contributing anything back in return 
when that statement applies equally as well to the speaker...


---Chuck

PS: This email might be coming from a 17/8 IP address, but I don't 
speak for Apple.








--

Joe Arcaro.
Technical Manager.
Splitting Image Colour Studios.

There are 10 types of people in the world.
Those who understand Binary. 
And those who don't... 


Quidquid latine dictum sit, altum sonatur.


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


Re: hardware mirrors recognized as individual disks in fbsd

2007-01-16 Thread Ivan Voras
Steve Franks wrote:

 I want two 160GB mirrored volumes, not 4 unmirrored ones.  The RAID is an
 ASUS P5DR1-VM motherboard with a ULI raid chipset onboard.  Very nice setup
 for the money.

I don't know about the chipset or the controller, but judging from the
symptoms it's highly likely you actually have a soft-RAID controller,
and the actual RAID stuff was done by your Windows driver.

**IF** the driver was benign enough, you could *maybe* reconstitute a
mirrored volume with FreeBSD's software RAID driver, gmirror.

See the man page for details, but a command like gmirror label mydisk
/dev/ad4 /dev/ad5 will create mirrored device /dev/mirror/mydisk which
you can then try to mount (actually if it works you'll see individual
partitions like /dev/mirror/mydisks1, etc.).

BUT!
1. The above command will overwrite the last sectors on both drives with
its data (which you'll have to clean if you don't want the mirror
anymore). Usually they are unused but maybe the Windows driver used them
so you won't be able to use them under Windows.
2. Be very very careful - if this doesn't result in a valid mirrored
drive or the Windows driver did something unusual or nasty, you might
destroy the data by writing to the mirrored drive (just reading it will
not cause any damage). Mount the drive read-only first, and check you
can see valid data. Be absolutely sure before mounting it read/write
(and be careful about mounting NTFS read-write anyway - it's not risk-free).




signature.asc
Description: OpenPGP digital signature


Re: Very Poor Raid Card Performance

2007-01-16 Thread Ivan Voras
Steven Lowry wrote:

 The main problem is my HD performance, it is approx 6x slower than in
 windows XP, hopefully there is a solution. I have an LSI Megaraid 8x with
 four drives in a raid 5 configuration, in windows I was getting upto 60MB/s
 transfer rates but in FBSD I am getting upto 9MB/s. I followed the
 instructions in the handbook for tuning disks and I have set dma on.
 Being new to unix, I have no idea what to try or get system information
 too continue troubleshooting.
 If anyone could point me in the right direction or to appropriate
 documentation it would be much appreciated.

First, you could try asking the question at performance/at/freebsd.org
mailing list - you could get more help there.

This reminds me of something I've seen on a box that's also equipped
with LSI Megaraid but since disk I/O wasn't important for it, I didn't
dig further and forgot about it. Maybe the driver has a problem and
people on the performance list can help you.

Here's a general checklist of what information to gather before sending
it to performance list:

* dmesg snippet (like you sent)
* copy with cp in console, not with KDE and see if it changes anything
* run 'iostat' while copying and send results
* install and run bonnie++ (disk I/O benchmark) and send results



signature.asc
Description: OpenPGP digital signature


FreeBSD 6.2 stable crasches when running dump on mounted snapshot.

2007-01-16 Thread Mattias Björk

Hi there,

When I run dump on a mounted snapshot, my machine panics with the error 
that says the following:


Fatal double fault
Panic: double fault

I can run games in Windows fine and I run setiathome/boinc most of the 
time in Windows when my computer is locked and I'm at work. No problem 
there. It s no problem to make buildkernel and make buildworld with 
-j2. It has never crashed because of load as I can remember.


Im running RAID-1 on this machine the hard disc are ad8xy and ad10xy and 
I do mount everything via the RAID array called ar0xy. My motherboard is 
an Asus A8N5X and I'm using the on board S-ATA controller for my hard 
discs.


I have tried and changed my /etc/fstab so that they mount it from either 
ad8xy or ad10xy instead ( root usr var etc..) But that does not still 
help me with the problem.


I would be happy to provide more info if you want to, so please let me 
know it I'm missing some crucial information. Or perhaps if I should try 
another mailing list then this one.


Below here is my kernel config and make.conf.

KERNEL:

machine i386
cpu I686_CPU
ident   BARABO

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints   # Default places to look for 
devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI

device  apic# I/O APIC

# Bus support.
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
#device ses # SCSI Environmental Services (and SAF-TE)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard multiplexer

device  vga # VGA video card driver

# syscons is the default console driver, resembling an SCO console
device  sc

device  agp # support several AGP chipsets

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# Parallel port
device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer

device  miibus  # MII bus support
device  nve # nVidia nForce MCP on-board Ethernet Networking

# Pseudo devices.
device  loop# Network loopback
device  random  # Entropy device
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device  bpf # Berkeley packet filter

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  usb # USB Bus (required)
device  ugen# 

Re: Contributing to FreeBSD documentation (was: Re: no ath0 on new system with good card)

2007-01-16 Thread Steve Franks

On 1/7/07, Giorgos Keramidas [EMAIL PROTECTED] wrote:


On 2007-01-07 08:54, Steve Franks [EMAIL PROTECTED] wrote:
 Apologies on not hitting the list.  Alyays forget to reply-all.

No problem.  I just didn't copy the list because I wasn't sure I should.

 So, I figured I'd try to fix the safe-mode end of things on my own,
 and I found a post several years old (looked like it even could have
 been yours) about safemode, which doesn't show up anywhere on the
 freebsd site.  So I did what it said and grep'd boot/beastie.4th for
 safemode, which came up with this suprisingly total solution:

 add apic.0.disabled=1 to boot/device.hints.  Not only does my system
 come up in regular boot mode, but, as you suspected, the pccard works
 too, so all appears well.

Excellent news!   Thanks for sharing the answer :)

 So my final question, what in all the land is an apic,

Advanced Programmable Interrupt Controller.  This is the part of your
system which assigns priorities to interrupt lines of a device.  The
full details are probably too technical for some percentage of our user
base, but more details can be found at the following pages:

  http://en.wikipedia.org/wiki/Advanced_Programmable_Interrupt_Controller
  http://en.wikipedia.org/wiki/Programmable_Interrupt_Controller
  http://en.wikipedia.org/wiki/Intel_8259
  http://en.wikipedia.org/wiki/Intel_APIC_Architecture

 and why isn't apic or safemode mentioned in the handbook, manpages, or
 even on the freebsd site?

IIRC it is mentioned in the Developer's Handbook, but you are right that
it should be in the main Handbook too.

 Further, I'd like to write a handbook page on freebsd and laptops,
 because we're on my third one here now, and I'm starting to get the
 drift of what could usefully be added to the handbook, namely a
 thourough discussion of booting and device.hints.

That would be great!  If you can help writing such a section for the
Handbook, a lot of users will be highly indebted to you, for sure :)

 I presume someone 'peer-reviews' handbook submissions for correctness
 and format?  I recall reading somewhere about contributing, but I get
 the impression you are involved enough to tell me whether it's a bad
 idea or not.

Yes, you are right.  We have peer reviews.  A lot of the documentation
changes are filtered through the freebsd-doc mailing list, where
documentation people hang out.  Patches are mailed back and forth;
edited; fixed for technical accuracy, syntax and grammar correctness;
adapted to our writing style; expanded as necessary; and eventually
committed to our documentation source code.

You can definitely contribute as much as you feel, whenever you feel you
have the time, and in any way you consider appropriate.  We have a short
article which describes how you can contribute to the FreeBSD Project,
in general:

  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/

Most of it applies directly to documentation too.  Please skim through
this article; it should be a good start.

About your last question now...

Yes, it's a good idea.  Not just a good idea, though.  It's an
*excellent* idea.

One of the chicken and egg problems documentation writing usually has
to face is that:

  * New users don't know enough about the system, so they frequently
pose good questions.  These questions would result in higher quality
documentation if properly channeled through experienced
documentation writers, but you have to convince the new users that
they can actually *help* by not knowing it all.

  * Once new users step over the thin line between being newcomers to
the system and being experienced in some area, we have lost all the
insight they can provide about how a new user thinks.

As a result, it's easier to write documentation if we are targetting a
very experienced, very technical audience.  But, IMHO, the contributions
of new users -- in the form of interesting questions -- are at least
as valuable, if not more :)

Regards,
Giorgos



So, this is what I have so for.  It was a bit late at night, so I appologise
if my tone is a bit silly at times...where do we go from here?  Steve

So, you've burned the latest FreeBSD .iso file, pop it in your drive,
anticipation rising, and *freeze*!!

Hopes  Dreams go tricking away...what next?

Well, the first thing is to realize that alot of people
have worked very hard in their spare time to get things
to the point where they are.  Unfortunately, new hardware
is always one step ahead.  All FreeBSD drivers are written
by the users - not the paid engineers of the hardware
companies, so some delay at times is inevitable - there are
many exceptions, however!  Just compare the sata  raid support in
FreeBSD to that in Windows XP.

But back to moving forward: one of those new or imcompatible
pieces of hardware (in most cases) has just frozen up your
fresh install - what to do?

First, restart the computer, and choose 3 - safe mode from
the FreeBSD logo boot-menu.  If your 

Re: NEED HELP

2007-01-16 Thread Andrew Pantyukhin

On 1/16/07, Ata ur Rehman Alvi [EMAIL PROTECTED] wrote:

HELLO

I AM A NEWBIE FOR UNIX PLATEFORM, AND I DONT KNOW ABOUT FTP DOWNLOADING
IDEA. WOULD U TELL ME HOW TO DOWNLOAD FREE BSD UNIX AND HOW TO INSTALL, I AM
HAVING NO RESPONSE WHEN I TRY TO DOWNLOAD. AND IN DOCUMENTATION I CANT FIND
MUCH HELP


Hi!

FreeBSD is not very popular in Saudi Arabia, but
there's an increasing amount of interest in the
Arab world. There used to be a mirror close to
you (ftp://ftp.isu.net.sa/), but FreeBSD is not
available from there at the moment.

You can download FreeBSD over http from a number
of places:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

Just select any mirror with http written next
to it, for example this one is in Turkey:

http://ftp.tr.freebsd.org/pub/FreeBSD/

Unfortunately, there's not much documentation on
FreeBSD in Arabic, so you'll have to read through
our English handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

If you have major difficulty, maybe you should
start with FreeBSD-based distributions like
PC-BSD or DesktopBSD. They are easier to install
for newcomers:

http://www.pcbsd.org/
http://www.desktopbsd.net/
http://ftp.sh.cvut.cz/MIRRORS/pcbsd/1.3/PCBSD-1.3.01-x86-CD1.iso
http://62.141.59.55/DesktopBSD/DesktopBSD-1.0-x86-CD.iso

My father is very fluent in Arabic, but I'm just
starting to convert him from Windows to Unix, so
you'll have to wait a few years before he can
provide support I guess :-)

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


RE: Very Poor Raid Card Performance

2007-01-16 Thread Wood, Russell
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Ivan Voras
 Sent: Wednesday, 17 January 2007 7:04 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Very Poor Raid Card Performance
 
 Steven Lowry wrote:
 
  The main problem is my HD performance, it is approx 6x slower than
in
  windows XP, hopefully there is a solution. I have an LSI Megaraid 8x
 with
  four drives in a raid 5 configuration, in windows I was getting upto
 60MB/s
  transfer rates but in FBSD I am getting upto 9MB/s. I followed the

I have an LSI MegaRaid with three drives at RAID 5: works a
god-damn-treat. I don't know what my throughput is on RAID 5 but RAID 0
was fast (70MB/s+).

Were you doing these tests a few hours after initializing the array, by
any chance? If so, then the poor performance could be because the array
was `in build' while you were using it, and therefore you'd get very
poor performance.

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Daylight savings time / 6.1 and 4.11

2007-01-16 Thread hal


On Jan  16, 2007, at Tuesday, Jan16, 2007 1:59 PM, Dan Nelson wrote:



Since it's not a security issue, I doubt the new zone files will go
into any -p# branch.  If you were tracking the main branches (RELENG_4
or RELENG_6) instead of a -RELEASE branch (RELENG_4_11 or RELENG_6_1),
you would have them, though.  Quickest fix would be to install the
misc/zoneinfo port, which doesn't care what release you're running.


Whoa there?!  Are you telling me that when I use cvsup with
the following supfile I am only getting security fixes?

*default tag=RELENG_6_1
*default host=cvsup14.FreeBSD.org
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs delete use-rel-suffix

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


how much space does freebsd-update need for the workdir?

2007-01-16 Thread lveax

hi list

i have upgraded to 6.2. i notice there is a new tool freebsd-update.

where i can find the freebsd-update mirror server list?
and how much space does it need?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Daylight savings time / 6.1 and 4.11

2007-01-16 Thread Matt Emmerton
 On Jan  16, 2007, at Tuesday, Jan16, 2007 1:59 PM, Dan Nelson wrote:

  Since it's not a security issue, I doubt the new zone files will go
  into any -p# branch.  If you were tracking the main branches (RELENG_4
  or RELENG_6) instead of a -RELEASE branch (RELENG_4_11 or RELENG_6_1),
  you would have them, though.  Quickest fix would be to install the
  misc/zoneinfo port, which doesn't care what release you're running.

 Whoa there?!  Are you telling me that when I use cvsup with
 the following supfile I am only getting security fixes?

 *default tag=RELENG_6_1
 *default host=cvsup14.FreeBSD.org
 *default prefix=/usr
 *default base=/usr/local/etc/cvsup
 *default release=cvs delete use-rel-suffix

From
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html:

RELENG_6_1
 The release branch for FreeBSD-6.1, used only for security advisories
and other critical fixes

I'm sure a case could be made with regard to updated timezone information
being critical -- but since a port exists for timezone information, there
is less of a need to push this into the release branch.

--
Matt Emmerton

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


Re: how much space does freebsd-update need for the workdir?

2007-01-16 Thread Jay Chandler

lveax wrote:

hi list

i have upgraded to 6.2. i notice there is a new tool freebsd-update.

where i can find the freebsd-update mirror server list?
and how much space does it need?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
On a related note, I already have the freebsd-update port installed.  
Should I uninstall it and use the one that's part of the OS, or keep 
going as I've been doing?


--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Internet exceeded Luser level, please wait until a luser logs off before attempting to log back on. 


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


Re: FreeBSD 6.2 stable crasches when running dump on mounted snapshot.

2007-01-16 Thread Kris Kennaway
On Tue, Jan 16, 2007 at 09:47:47PM +0100, Mattias Bj?rk wrote:
 Hi there,
 
 When I run dump on a mounted snapshot, my machine panics with the error 
 that says the following:
 
 Fatal double fault
 Panic: double fault

You forgot to mention/obtain the important bits of the error ;)

See the chapter on kernel debugging in the developers handbook, then
follow up to stable@ and/or file a PR.

Kris


pgpxYfOXvA18I.pgp
Description: PGP signature


Re: how much space does freebsd-update need for the workdir?

2007-01-16 Thread Colin Percival
Jay Chandler wrote:
 lveax wrote:
 i have upgraded to 6.2. i notice there is a new tool freebsd-update.

 where i can find the freebsd-update mirror server list?

The FreeBSD Update client does that automatically, using DNS SRV magic.

 and how much space does it need?

That depends upon how many security updates are issued.  Hopefully not
much space. :-)

More seriously, the /var/db/freebsd-update/ directory holds the new and
old versions of any files which are updated, in order to allow you to
rollback security updates (not that I ever expect this to be necessary).
As a wild guess, I'm going to say that this is likely to add up to about
20MB/year.

 On a related note, I already have the freebsd-update port installed. 
 Should I uninstall it and use the one that's part of the OS, or keep
 going as I've been doing?

Uninstall the port.  The new FreeBSD Update code in the base system is
much better.

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


Re: Very Poor Raid Card Performance

2007-01-16 Thread Ivan Voras
Wood, Russell wrote:

 I have an LSI MegaRaid with three drives at RAID 5: works a
 god-damn-treat. I don't know what my throughput is on RAID 5 but RAID 0
 was fast (70MB/s+).

Mine was RAID5. Hmm, oops, it wasn't LSI but HP/Compaq CISS, battery
backed, SATA on SAS.

da0 at ciss0 bus 0 target 0 lun 0
da0: COMPAQ RAID 5  VOLUME OK Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 476886MB (976662896 512 byte sectors: 255H 32S/T 65535C)

 Were you doing these tests a few hours after initializing the array, by
 any chance? If so, then the poor performance could be because the array
 was `in build' while you were using it, and therefore you'd get very
 poor performance.

Yes, I observed BIOS status. Here's a typical run of bonnie++:

Version 1.93c   --Sequential Output-- --Sequential Input-
--Random-
Concurrency   1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
xxx.com   2500M   358  99 13446   4  7068   2   559  96 97548  23
300.0  10
Latency 23236us 848ms 488ms 191ms 214ms
175ms

My reading of iostat during 'dd' is that writes perform good until the
on-controller cache gets filled, then it slows down:

  tty da0pass0 cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
...
   0   60   0.00   0  0.00   0.00   0  0.00   0  0  0  0 100
   1   64 127.93 217 27.08   0.00   0  0.00   0  0  5  0 95
   0   61 125.92 400 49.14   0.00   0  0.00   0  0  2  1 98
   0   61 128.00 107 13.36   0.00   0  0.00   0  0  2  0 98
   0   61 128.00 107 13.36   0.00   0  0.00   0  0  2  0 98
   0   61 128.00 104 12.99   0.00   0  0.00   0  0  2  0 98

Cache size is 128MB, 75% dedicated to write caching.



signature.asc
Description: OpenPGP digital signature


Re: Very Poor Raid Card Performance

2007-01-16 Thread Juha Saarinen

On 1/17/07, Wood, Russell [EMAIL PROTECTED] wrote:

I have an LSI MegaRaid with three drives at RAID 5: works a
god-damn-treat. I don't know what my throughput is on RAID 5 but RAID 0
was fast (70MB/s+).


Interesting. On my single SATA drive box I see:

$ sudo dd if=/dev/ad8s1d of=/dev/zero bs=1m
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 15.552259 secs (69040891 bytes/sec)



DISCLAIMER:
Disclaimer.  This e-mail is private and confidential.


So... why send it to a public mailing list?

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


Re: Using fn-Key of IBM Thinkpads in X?

2007-01-16 Thread Timothy Bourke
On Jan 16 at 11:28 +0100, Christian Walther wrote:
 I'm currently using the latest FreeBSD 6.1 patchlevel on an IBM
 Thinkpad T23, and so far I'm quite happy with it. (I'll have an issue
 with my ath-based WLAN-NIC, but I've to address this later.)
 One thing I'm wondering about is if it is possible to use the fn-Key
 as another special key in X, e.g. like Control or Alt. I'm using ion3
 as a window manager, and I found know hotkey configuration that
 wouldn't affect the usage of hotkeys in applications. Using
 fn+something else with X/ion3 would be nice.
 But I don't know if fn sends a scan code like the other keys do, and
 how I could map this key in X.

The deskutils/tpb port provides some functionality.

You could try running xev to find the keycode of Fn, and then xmodmap to
map it as a modifier key. My experience (on a TP R52) is that Fn has a
keycode, but that it cannot be usefully combined with other keys. I
would be happy to discover otherwise for reasons similar to yours.

Tim.



pgpb6ZytltV1j.pgp
Description: PGP signature


regexp [. .]

2007-01-16 Thread applecom
I need to use regular expressions with a sequence of characters as a  
collating element.

From re_format(7):
Within a bracket expression, a collating element (a character, a multi-
character sequence that collates as if it were a single character, or a
collating-sequence name for either) enclosed in `[.' and `.]' stands for
the sequence of characters of that collating element.  The sequence is a
single element of the bracket expression's list.  A bracket expression
containing a multi-character collating element can thus match more than
one character, e.g. if the collating sequence includes a `ch' collating
element, then the RE `[[.ch.]]*c' matches the first five characters of
`chchcc'.
But grep (and other programs using regexp) writes on echo somepattern |  
grep -Ee 'some[^[.pattern.]]':

Invalid collation character. What's wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help with mail Forwarding

2007-01-16 Thread Graham Bentley
Hi All,

I was hoping someone might throw me a few pointers on the following ;

I have FreeBSD 6.1 setup, running Apache / PHP / MySQL etc
In aliases I specify my most used ISP pop address and all mail for
root gets sent there from Charlie - this works great.

I am testing an osc cart and the two option for mail from the cart
are SMTP and mail() - guessing php mailer here.

I get absolutely nowhere with the SMTP method with mailing causing

Jan 16 22:13:24 rackserver sm-mta[82321]: l0GMDOII082321: localhost
[127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to Daemon0

however with the mail() method I can see mail for admin (specified in osc
cart)
appearing in /var/mail/admin

(editted this line in my /usr/local/etc/php.ini ; sendmail_path =
/usr/sbin/sendmail -t -i)

and can read it and it contains what I expect however in my /home/admin
I have a .forward file (theres also an mbox) specifying the same most used
ISP pop address but mail never makes it there?

If I log into to console as admin I can read the mail and it gets saved to
mbox
but my .forward is ignored. Where am I going wrong ?

Thanks !!!




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


Adjusting NGROUPS_MAX constant

2007-01-16 Thread Dan Casey
I am running into trouble with users who are in more then 16 groups.  I
fail to ssh in with the following message:
sshd[96785]: initgroups(username,1002): Invalid argument

sysctl -a kern.ngroups
kern.ngroups: 16

Is there any reason why I should not raise NGROUPS_MAX in the following
two files?

/usr/include/sys/syslimits.h
/usr/src/sys/sys/syslimits.h


What could I accidentally break.. Or should I say, is there a good
reason why the number 16 is hard coded in there?

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


duo core question

2007-01-16 Thread Tsu-Fan Cheng

hi,
 just chat here... how much faster will a duo core CPU gives me when
running freebsd, nothing optimised..

thans!!

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


Re: duo core question

2007-01-16 Thread Garrett Cooper

Tsu-Fan Cheng wrote:

hi,
 just chat here... how much faster will a duo core CPU gives me when
running freebsd, nothing optimised..

thans!!

TFC

Answer: depends on what you're doing.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhcpd update doesn't restart service

2007-01-16 Thread Jason Morgan
On Tue, Jan 16, 2007 at 11:02:54AM -0500, Dave wrote:
 Hello,
I ran portupgrade on a 6.1 box. One of the ports needing updating was 
 isc-dhcpd it was v3.0.4 now at 3.0.5. I ran this update on two boxes, one 
 went fine, but on the other the service was not restarted. In my 
 pkgtools.conf file i do have the line needed to restart services after an 
 update. I was wondering how to set up a service so that if it died it would 
 be restarted? I know about inetd, but i didn't think dhcpd could run out of 
 it.
 Thanks.
 Dave.

There a script for it in /etc/rc.d/ ? If so, try:

# /etc/rc.d/script restart


Cheers,

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


Re: Firefox mess in Freebsd 6.1

2007-01-16 Thread Dak Ghatikachalam

6.1-RELEASE FreeBSD 6.1

I have these files in


$ pwd
/usr/local/lib/firefox/plugins
$ ls -lrt
total 2132
-rwxr-xr-x  1 root  wheel  2158864 Oct 27 16:42 libflashplayer.so
-r--r--r--  1 root  wheel  856 Oct 27 16:42 flashplayer.xpt
drwxr-xr-x  2 500   100512 Dec  4 19:09 install_flash_player_7_linux
$


I need to try  the Warren's method  to see if that is going to help me,
first of all I need to read man portupgrade to perform the upgrade from 6.1to
6.2 , as i am new into this freebsd world.

Thanks for your input

Dak


On 1/16/07, FreeBSD WickerBill [EMAIL PROTECTED] wrote:


On 1/16/07, Warren Block [EMAIL PROTECTED] wrote:

 On Tue, 16 Jan 2007, Dak Ghatikachalam wrote:

  My Firefox is crashing all the time since I setup the flash plugins,
 
  I first plugged in the mplayer and after which it was working well.
 
  Because several other news websites were expecting flash or shockwave
  plugins
 
  I went ahead and did everything per the instructions in
 
   that procedure is outdated, so I'm not going to repeat the link 
 
  after doing this the firefox is crashing left and right.

 Here's my checklist.  This works on 6.2-Release and 6.2-Stable as of
 16 Jan 2007 with Firefox 2.0.0.1:

 Install the dlsym patch:

 Note: a new version of rtld.c came out in stable on 16 Jan 2007.  If you
 don't run 6-Stable, fetch the patch file like this:

 # cd /usr/src/libexec/rtld-elf/
 # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff

 Here's an updated patch file I made for rtld.c v 1.106.2.4:

 --- rtld.c.orig Tue Jan 16 06:50:53 2007
 +++ rtld.c  Tue Jan 16 06:54:15 2007
 @@ -131,6 +131,7 @@
   static void unref_dag(Obj_Entry *);
   static void ref_dag(Obj_Entry *);

 +void *_dlsym(void *, const char *);
   void r_debug_state(struct r_debug *, struct link_map *);

   /*
 @@ -182,6 +183,7 @@
   (func_ptr_type) dlclose,
   (func_ptr_type) dlerror,
   (func_ptr_type) dlopen,
 +(func_ptr_type) _dlsym,
   (func_ptr_type) dlsym,
   (func_ptr_type) dladdr,
   (func_ptr_type) dllockinit,
 @@ -1762,6 +1764,12 @@
   trace_loaded_objects(obj);
   wlock_release(rtld_bind_lock, lockstate);
   exit(0);
 +}
 +
 +void *
 +_dlsym(void *handle, const char *name)
 +{
 +return dlsym(handle, name);
   }

   void *
 --cut here

 # patch  rtld_dlsym_hack.diff
 # make
 # make install

 Link the library:

 cd /usr/local/lib/browser_plugins
 ln -sf /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so .
 ln -sf /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt .

 In /etc/libmap.conf:

 # [ALPHA SUPPORT] Flash7 with Mozilla
 [/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]
 libpthread.so.0 libpthread.so.2
 libdl.so.2  pluginwrapper/flash7.so
 libz.so.1   libz.so.3
 libm.so.6   libm.so.4
 libc.so.6   pluginwrapper/flash7.so

 -Warren Block * Rapid City, South Dakota USA
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


or, look in  /usr/local/lib/firefox/plugins/ and make sure the plugin or a
symlink exists.
___
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: regexp [. .]

2007-01-16 Thread Parker Anderson

On 1/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I need to use regular expressions with a sequence of characters as a
collating element.
 From re_format(7):
Within a bracket expression, a collating element (a character, a multi-
character sequence that collates as if it were a single character, or a
collating-sequence name for either) enclosed in `[.' and `.]' stands for
the sequence of characters of that collating element.  The sequence is a
single element of the bracket expression's list.  A bracket expression
containing a multi-character collating element can thus match more than
one character, e.g. if the collating sequence includes a `ch' collating
element, then the RE `[[.ch.]]*c' matches the first five characters of
`chchcc'.
But grep (and other programs using regexp) writes on echo somepattern |
grep -Ee 'some[^[.pattern.]]':
Invalid collation character. What's wrong?


After some searching around I found the following post (albeit for a
different project):

http://permalink.gmane.org/gmane.comp.gnu.utils.bugs/11462

An excerpt:


I have to admit to having no experience with collating characters.
That said, I'll convey my understanding of them.

You cannot use [. and .] to group an arbitrary pair of characters
together.  Collating characters are defined by the locale in which
you're running, and only those defined by the locale are available for
use inside [. and .].  They usually have names, defined by the
locale; the name may or may not be the actual sequence of characters,
such [as] '[.ch.].'


I'm not sure, myself, but I hope that helps and isn't far from the
truth ;)  If anyone knows otherwise, please let me know.

Is there a certain match you are trying to pattern?  From the looks of
it, [ch]* would match a similar set of characters, but it isn't as
strict about which pattern they should be in.

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


Re: Adjusting NGROUPS_MAX constant

2007-01-16 Thread Parker Anderson

Hello Dan,

On 1/16/07, Dan Casey [EMAIL PROTECTED] wrote:

I am running into trouble with users who are in more then 16 groups.  I
fail to ssh in with the following message:
sshd[96785]: initgroups(username,1002): Invalid argument

sysctl -a kern.ngroups
kern.ngroups: 16

Is there any reason why I should not raise NGROUPS_MAX in the following
two files?

/usr/include/sys/syslimits.h
/usr/src/sys/sys/syslimits.h


What could I accidentally break.. Or should I say, is there a good
reason why the number 16 is hard coded in there?


I found another post on this:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-05/1086.html

The poster outlines 3 potential issues, including issues with NFS with
an NGROUPS_MAX value above 16.  I'm not sure if those are still issues
(e.g. I don't use NFS), but that may be why the values have been set
that way by default.

I hope that thread helps!

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


Re: duo core question

2007-01-16 Thread Nikolas Britton

On 1/16/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

hi,
  just chat here... how much faster will a duo core CPU gives me when
running freebsd, nothing optimised..



1. You need to rebuild the kernel with SMP support.
2. The correct names are; Core Duo, Core 2 Duo, Core Solo, and Core 2 Solo.
3. Add this to /etc/make.conf:

CPUTYPE?=pentium3
CFLAGS+= -mtune=prescott
COPTFLAGS+= -mtune=prescott

* Change prescott to nocona if you have a Core 2 chip, although it
doesn't really matter, EM64T support is ignored with FreeBSD/i386 and
it's on by default with FreeBSD/AMD64. Moreover it's only being used
with -mtune which means it does not change the ABI or the set of
available instructions Those two are set via CPUTYPE and
-march=cpu-type... don't set CPUTYPE or -march higher then pentium3
because higher settings have been known to screw up stuff at compile
time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: duo core question

2007-01-16 Thread Norberto Meijome
On Tue, 16 Jan 2007 20:11:20 -0500
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 how much faster will a duo core CPU gives me when
 running freebsd, nothing optimised..

How much faster than what 

:)

ok, without being a smart-arse anymore. :) Not sure how much faster a duo
core version of the SAME single core CPU, on a SAME motherboard with SAME RAM,
HD, bus,etc would be but, FWIW, from the mouth of some Intel Exec in a
Virtualisation conf. in Sydney late last year, they say they achieved about 85%
increased speed with a duo core, using the same amount of power as for a single
core. If wanted to achieve double the speed, the power consumption would be SO
much bigger that it wouldn't be worth it.  I found that interesting.

HIH

_
{Beto|Norberto|Numard} Meijome

I didn't attend the funeral, but I sent a nice letter saying  I approved of
it. Mark Twain

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: duo core question

2007-01-16 Thread Tsu-Fan Cheng

thank you guys for reply... very useful... :-)

so for you guys who have experiecen with this cpu, do you really feel it??

TFC

On 1/16/07, Norberto Meijome [EMAIL PROTECTED] wrote:

On Tue, 16 Jan 2007 20:11:20 -0500
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 how much faster will a duo core CPU gives me when
 running freebsd, nothing optimised..

How much faster than what

:)

ok, without being a smart-arse anymore. :) Not sure how much faster a duo
core version of the SAME single core CPU, on a SAME motherboard with SAME
RAM,
HD, bus,etc would be but, FWIW, from the mouth of some Intel Exec in a
Virtualisation conf. in Sydney late last year, they say they achieved about
85%
increased speed with a duo core, using the same amount of power as for a
single
core. If wanted to achieve double the speed, the power consumption would be
SO
much bigger that it wouldn't be worth it.  I found that interesting.

HIH

_
{Beto|Norberto|Numard} Meijome

I didn't attend the funeral, but I sent a nice letter saying  I approved of
it. Mark Twain

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


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


CRON Script not working right.

2007-01-16 Thread Don O'Neil
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?

Specifically, I have a script that looks for files on a NFS mount point and
copies them across and changes the ownership/perms.

Here's the gist of the script:

#!/bin/sh
TDIR=`date +%m%d%y%s`
mkdir /tmp/$TDIR
mv /source/* /tmp/$TDIR/
chown user:group /tmp/$TDIR/*
chmod 660 /tmp/$TDIR/*
mv /tmp/$TDIR/* /destination/

When run from roots CRON it does everything but the chmod correctly, which
is strange. When I run it from the command line as root it works fine as
expected.

I'm running 6.1-STABLE-200608.

Any clues?

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


Origin of LINT?

2007-01-16 Thread Dan Mahoney, System Admin
I know it's probably off-topic, but I've searched google for a bit with no 
results, and because I'm curious:


Does anyone (maybe one of the old guard) know the origin of the term 
lint for the all-inclusive feature set.  I know SpamAssassin uses it as 
well (it's the command line argument to just regression-test everything).


Merely curious,

Dan Mahoney

--

You recreate the stars in the sky with cows?

-Furrball, March 7 2005, on Katamari Damacy

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: CRON Script not working right.

2007-01-16 Thread Bill Campbell
On Tue, Jan 16, 2007, Don O'Neil wrote:
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?

Most often this is because the environment in the cron job is
different, either missing variables or having variables that
aren't set to a reasonable value (e.g. TERM).

The way I usually figure something like this out is to dump the
envioronment from the cron job, then do the same thing from the
command line, then compare the two.

#!/bin/sh
# this is the cron job
env | sort  /tmp/env.cron
exit;

Now from the command line ``env | sort  /tmp/cron.cli''.

Now run something like ``diff -u /tmp/env.cron /tmp/cron.cli'' to
see what is different.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

When a place gets crowded enough to require ID's, social collapse is
not far away.  It is time to go elsewhere.  The best thing about space
travel is that it made it possible to go elsewhere.
-- Robert Heinlein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Origin of LINT?

2007-01-16 Thread Bill Campbell
On Tue, Jan 16, 2007, Dan Mahoney, System Admin wrote:
I know it's probably off-topic, but I've searched google for a bit with no 
results, and because I'm curious:

Does anyone (maybe one of the old guard) know the origin of the term 
lint for the all-inclusive feature set.  I know SpamAssassin uses it as 
well (it's the command line argument to just regression-test everything).

I think the name came from removing the lint from a suit.  It's
designed to clean up code -- initially C.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

If taxation without consent is robbery, the United States government
has never had, has not now, and is never likely to have, a single honest
dollar in its treasury. -- Lysander Spooner, Letter to Grover Cleveland 1886
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Origin of LINT?

2007-01-16 Thread Greg 'groggy' Lehey
On Tuesday, 16 January 2007 at 23:28:51 -0500, Dan Mahoney, System Admin wrote:
 I know it's probably off-topic, but I've searched google for a bit with no
 results, and because I'm curious:

 Does anyone (maybe one of the old guard) know the origin of the term
 lint for the all-inclusive feature set.  I know SpamAssassin uses it as
 well (it's the command line argument to just regression-test everything).

From KR 1st edition (1978), page 3:

  This program is called lint, apparently because it picks bits of
  fluff from one's programs.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0beDAQKZck.pgp
Description: PGP signature


Re: duo core question

2007-01-16 Thread Norberto Meijome
On Tue, 16 Jan 2007 22:35:45 -0500
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 so for you guys who have experiecen with this cpu, do you really feel it??

np - you are assuming i have experience with them ;) 

you need to understand, it's like a dual CPU , NOT like HT (you can , I think ,
have HT as well as dual/quad core...maybe not.. ? ).

dont forget that there may be certain features of FreeBSD (such as support for
certain hardware , ACPI functionality,etc) which may not work (well/at all) with
dual core (or, more accurately, will conflict with certain kernel options if
you want to make use of the dual core). I am **NOT** sure if there actually is,
but i used to read issues about this...maybe it was only about HT ?

Best,

_
{Beto|Norberto|Numard} Meijome

A tyrant...is always stirring up some war or other, in order that the people
may require a leader. Plato

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(6.2 install) Offering both install ISO's via nfs?

2007-01-16 Thread Bill-Schoolcraft
Hello Family,

Hmm, in doing installs with more than one install iso (disk-1 and
disk-2) via NFS I'm not clear on the instructions where it states to 
simply copy the FreeBSD distribution files...

(question)

(A) Would that mean to copy the files from both install disks into one
common directory then export the directory via NFS?

(B) Mount each ISO in a loopback then export the two loopbacked ISO's
under each other in an exported parent directory?

TIA

#
2.13.6.1 Before Installing via NFS

The NFS installation is fairly straight-forward. Simply copy the FreeBSD
distribution files you want onto an NFS server and then point the NFS
media selection at it.

If this server supports only “privileged port” (as is generally the
default for Sun workstations), you will need to set the option NFS
Secure in the Options menu before installation can proceed.

If you have a poor quality Ethernet card which suffers from very slow
transfer rates, you may also wish to toggle the NFS Slow flag.

In order for NFS installation to work, the server must support subdir
mounts, for example, if your FreeBSD 6.1 distribution directory lives
on: ziggy:/usr/archive/stuff/FreeBSD, then ziggy will have to allow the
direct mounting of /usr/archive/stuff/FreeBSD, not just /usr or
/usr/archive/stuff.

In FreeBSD's /etc/exports file, this is controlled by the -alldirs
options. Other NFS servers may have different conventions. If you are
getting “permission denied” messages from the server, then it is likely
that you do not have this enabled properly.

#

It seems to be written for the time when there was only a single ISO cd.

-- 
Bill Schoolcraft * http://wiliweld.com
  ~
Unix is very simple, but it takes a
genius to understand the simplicity.
 (Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

md5sum is missing, but not entirely

2007-01-16 Thread perryh
Both the executable and the manpage for md5sum seem to be missing
from this 6.1-RELEASE system, making it difficult to check the
downloaded 6.2-RELEASE and FreeSBIE ISOs.  Isn't md5sum supposed
to be part of the base?

Meanwhile, apropos md5 yields this line, among others

  gmd5sum(1), md5sum(1) - compute and check MD5 message digest

but man md5sum says

  No manual entry for md5sum

How did that line get into the apropos, when the corresponding
manpage is (apparently) not installed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.2-STABLE i386 + CPUTYPE?=nocona broke my kernel

2007-01-16 Thread Abdullah Al-Marrie

Hello,

I recompiled my kernel with make.conf has CPUTYPE?=nocona with the
latest src via cvsup.

But that broke my kernel while I have Dual xeon EMT64.

So I think it's not safe to use nocona or prescott with kernel, and I
should stick to cpu i686 instead.

--
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]