Re: Mounting an FTP space ?

2007-03-02 Thread Jona Joachim
On Fri, 2 Mar 2007 12:26:33 +1100
Malcolm Fitzgerald [EMAIL PROTECTED] wrote:

  What do I need to do to wipe the slate clean?
 
 On 02/03/2007, at 11:53 AM, Chris Slothouber wrote:
 
  make config
 
 
 Yes. I don't know what arguments to pass to it. Where are the current 
 arguments being stored, surely I can edit that file?

If you run make config it pops up the dialog where you can choose
your options. Alternatively you can run make rmconfig to remove your
saved options so you will be asked again next time you run make.

The options are saved in /var/db/ports/${PORTNAME}/options
Although you could edit that file manually there is no point to it and
you could make errors.

I must say that when I tried curlftpfs is was not very stable but
perhaps you have better luck.

Regards,
Jona

 
  Never you mind wrote:
  On 02/03/2007, at 2:58 AM, John Nielsen wrote:
  On Thursday 01 March 2007 01:37, Never you mind wrote:
  On my Mac from the Finder I can select Connect to server, give
  it the
  details of an ftp location and it will connect and display the
  ftp space as a drive on the desktop.
 
  Can I obtain the same sort of functionality using freeBSD and
  xfce desktop manager?
 
  I haven't used it, but the sysutils/fusefs-curlftpfs should allow 
  you to mount
  an ftp location as a virtual filesystem. The desktop icon thing 
  you'll have
  to work out on your own, but it shouldn't be too difficult (a 
  shortcut to
  your chosen mountpoint should suffice).
  I've just made an error during installation. At the dialog I
  selected BOTH c-ares and IPV6.
  That caused an error:
  curl-7.16.0_1  does not support both c-ares and IPv6 - disable one
  of them.
  OK. I thought I'd simply run make install clean again and at the 
  dialog I would make my selection. However, I do not get to the 
  dialog. My choices have been saved somewhere and are being
  re-used. I need to clean up from my first effort. What do I need
  to do to wipe the slate clean?
  malcolm
  ___
  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]
 
 
 Malcolm Fitzgerald
 
 T: 0403 972 660 E: [EMAIL PROTECTED]
 
 FOR YOUR COMPUTER Customised software built to your specifications. 
 Using Macs? Automate your workflow with AppleScript. FOR YOU Computer 
 training, software installation + upgrades, computer setups. IN TIMES 
 OF NEED Troubleshooting, maintenance + repairs.
 
 
 That's Not Your Homework
 ABN 91 398 224 929
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


-- 
Hi, I'm a .signature virus! Copy me to your .signature file and help
me propagate, thanks!


signature.asc
Description: PGP signature


Re: defrag

2007-03-02 Thread Wojciech Puchar

shell - so not a defrag issue, just a screwed registry or something).
I used to reinstall my entire MS server every 6 months, on average...


as rarely? looks that you are very good windows admin, or this MS server 
wasn't used much

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


Re: defrag

2007-03-02 Thread Wojciech Puchar

Wojciech Puchar [EMAIL PROTECTED] wrote:


backup+restore will be defrag


you mean : backup, format, (reinstall if needed, depending on method of backup)


s/format/newfs/g
no reinstall, that's not windows.
after restoring all files, bsdlabel -B /dev/your_disk is enough

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


Re: Serial Port Problems

2007-03-02 Thread Ted Mittelstaedt

- Original Message - 
From: Dan D Niles [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, March 01, 2007 1:27 PM
Subject: Serial Port Problems



 More Dell 2950 woes.

 I use serial ports to manage my FreeBSD machines remotely.  I've never
 had any problems until now.  I've installed FreeBSD 6.2 on a Dell 2950.

 The install goes without problems over the serial port.  After the
 reboot, I get the typical:

 FreeBSD/i386 (test.host.net) (ttyd0)

 login:

 and I can log in just fine.  If I disconnect and come back later
 (sometimes), or if I hit return without entering a login name (always)
 it starts spitting out junk like:


Get a cheapie pci serial port card, plug it in, and see if it works any
better

Ted

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


(S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread O. Hartmann
The last days I tried to figure out why some of my lab's FreeBSD boxes 
and also mine at home seem to be outperformed by some Linux setups 
around here and I saw something interesting.


On my lab's FreeBSD 6.2/i386 box (ASUS P4P800, ICH5 with two SATA 150 
ports, two SATA 300 drives attached) I copied big files (~ 5GB) from one 
drive to another while the box didn't do anything else than copying. I 
watched the copy process via 'systat -vmstat 1' and realized, that the 
value of 'KB/t' never go byond 128 (128kb buffer limit?). But more 
frustrating, I never got beyond 33 MB/s transfer rate although 
bonni/bonni++ told me both drives are capable doing much more (~75 MB/s 
each).
At home, I use a FreeBSD 7.0-CURRENT box on an ASUS 
A8N32-SLI/nForce4-SLI based box, amd64 (no 32Bit compatibility). Two 
Hitachi T7K250 250 GB/SATA II drives build up a RAID 0 (nVidia 
MediaShield), and additionally there is a SAMSUNG Spinpoitn SP2004C 
attached to the controller. bonni results in 55 MB/s for the SP2004C 
alone and gives ~ 65 - 70 MB/s for the Hitachis, each and roughly 115 
MB/s for the RAID 0. But copying from the single drive to the RAID 0 or 
from the RAID 0 to the single drive also reaches this oscure 33 MB/s 
boundary!


In the first place I thought the older i386 hardware has some 
hard-limits, but we have several boxes of the exact same hardware around 
here and a wide spread Linux and Windows utilization and on those boxes 
 equipted with more than one harddrive (PATA or SATA) the effective 
transfer rate shown up is about 50 - 65 MB/s as expected with copying a 
big 5G file from one drive to another.


The hardwrae limit is completely nonsense when it comes to the AMD64 box 
with newer hardware.


Before digging into this problem deeper with benchmarks, could anyone 
explain why FreeBSD reaches this 33 MB/s limit (sounds like UDMA 33 
defaults, but on both boxes nForce4 and ICH5 controller are recognized 
and show up with SATA300 or SATA150 capabilities, respective)? May I 
have some knobs I'm not aware of to tune disk performance?


I would appreciate any coments on that and if someone has some good 
ideas how to benchmark those subjects, please let me know.


Regards,
Oliver
--

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Wojciech Puchar
another while the box didn't do anything else than copying. I watched the 
copy process via 'systat -vmstat 1' and realized, that the value of 'KB/t' 
never go byond 128 (128kb buffer limit?). But more frustrating, I never got


what's wrong? FreeBSD uses 128k limit by default.

edit /usr/src/sys/sys/param.h

and change

#define MAXPHYS (128 * 1024)   /* max raw I/O transfer size */


to say

#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Ted Mittelstaedt

- Original Message - 
From: O. Hartmann [EMAIL PROTECTED]
To: freebsd-performance@freebsd.org; freebsd-questions@freebsd.org
Sent: Friday, March 02, 2007 1:38 AM
Subject: (S)ATA performance in FBSD 6.2/7.0 


 The last days I tried to figure out why some of my lab's FreeBSD boxes 
 and also mine at home seem to be outperformed by some Linux setups 
 around here and I saw something interesting.
 

blah blah blah deleted

 
 Before digging into this problem deeper with benchmarks, could anyone 
 explain why FreeBSD reaches this 33 MB/s limit (sounds like UDMA 33 

man mount

read section on async

linux by default mounts async

freebsd by default mounts sync

you can change FBSD to async

then watch your fs scramble during a power failure

no big deal, it's only your data.

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Wojciech Puchar


you can change FBSD to async

then watch your fs scramble during a power failure

no big deal, it's only your data.

you are wrong, he talked about copying BIG files, and this shouldn't make 
a difference contrary to small files.


there is something wrong there as i routinely get 70MB/s on my SATA server
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade query

2007-03-02 Thread Vizion
 

 -Original Message-
 From: Sergey Matveychuk [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 01, 2007 11:54 PM
 To: Vizion
 Cc: freebsd-ports@freebsd.org
 Subject: Re: portupgrade query
 
 Vizion wrote:
  I have multiple lines of stale dependencies reported from 
 pkgdb -F all of which relate to bsdpan-Archive-Tar-1.30 or 
 1.16 witha report that the package is held.
  
  The lines are
  Stale dependency:bsdpan-Archive-Tar-[version] - [see NOTE 
 below]: - Ignored (the package is held; specify -f to force)
  
 
 bsdpan-* are not real ports. They can't be processed as real ports. So
 they should be ignored (hold). Install them from ports or ignore the
 messages.
 
 -- 
 Dixi.
 Sem.
 
Thanks Sem 

But on its own, as shown in my original posting, that does not solve the 
problem as portupgrade -a does not know that and throws the error, reports a 
stale dependency and requires me to fix the problem!!

I must be missing something here!!

David

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


Re: unlisted camera in gtkam?

2007-03-02 Thread matti k
Try setting the camera to PTP mode,  I've had success with unsupported
camera's using this mode with ports/graphics/digikam.

On Wed, 28 Feb 2007 11:48:54 +0200
t nagu tundmatu [EMAIL PROTECTED] wrote:

 Hello to all,
 
 I have a problem with gtkam – my new camera (Pentax K10D) is not
 supported. I now got it listed in the menu but trying to 'add a new
 camera' gives a message 'could not initialize the camera.' Is there
 any trick I'm missing or is there maybe another program I can use
 (with the support of this camera) or maybe a third option?
 
 Thanks in advance.
 ___
 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: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread R. B. Riddick
--- O. Hartmann [EMAIL PROTECTED] wrote:
 Before digging into this problem deeper with benchmarks, could anyone 
 explain why FreeBSD reaches this 33 MB/s limit (sounds like UDMA 33 
 defaults, but on both boxes nForce4 and ICH5 controller are recognized 
 and show up with SATA300 or SATA150 capabilities, respective)? May I 
 have some knobs I'm not aware of to tune disk performance?
 
I think, this 33MB/sec limit comes like this:
The regular copy process (I think u used cp) reads with speed S from disk A
and writes with speed S to disk B. But: While it reads, it doesnt write AND
while it writes, it doesnt read.

So you might want to try this:
dd if=/diskA/fileA bs=128k | dd of=/diskB/fileB bs=128k

You could also try just to read or to write. Or to readwrite with
_independent_ processes.

-Arne


 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defrag

2007-03-02 Thread Mario Lobo
On Thursday 01 March 2007 17:27, Pietro Cerutti wrote:
 On 3/1/07, Kevin Kinsey [EMAIL PROTECTED] wrote:
  Kevin Kinsey wrote:
 
  groff /usr/share/doc/smm/05.fastfs/*  ~/ffs.ps

   /\/\

This is what worked for me:

[~]gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz  paper.ascii
[~]groff paper.ascii  ffs.ps
[~]ps2pdf ffs.ps
[~]acroread ffs.pdf
-- 
*
   //| //| Mario Lobo
  // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
*


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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Alexander Leidinger

Quoting Cheffo [EMAIL PROTECTED] (from Fri, 02 Mar 2007 13:38:45 +0200):


Hi,


Ted Mittelstaedt wrote:
- Original Message - From: O. Hartmann   
[EMAIL PROTECTED]

To: freebsd-performance@freebsd.org; freebsd-questions@freebsd.org
Sent: Friday, March 02, 2007 1:38 AM
Subject: (S)ATA performance in FBSD 6.2/7.0
The last days I tried to figure out why some of my lab's FreeBSD   
boxes and also mine at home seem to be outperformed by some Linux   
setups around here and I saw something interesting.




blah blah blah deleted

Before digging into this problem deeper with benchmarks, could   
anyone explain why FreeBSD reaches this 33 MB/s limit (sounds like  
 UDMA 33


man mount

read section on async

linux by default mounts async

freebsd by default mounts sync

you can change FBSD to async

then watch your fs scramble during a power failure

no big deal, it's only your data.

Ted


If SYNC is default how can you explain this:

[12:[EMAIL PROTECTED]:~# mount
/dev/ad4s3a on / (ufs, local, synchronous)
devfs on /dev (devfs, local)
/dev/ad4s3d on /tmp (ufs, local, soft-updates)
/dev/ad4s3f on /usr (ufs, local, soft-updates)
/dev/ad4s3e on /var (ufs, local, soft-updates)

[...]

So I'm pretty sure that for type ufs async is default.


Both of you are wrong. By default noasync is used. This is different  
from sync and async. Feel free to look up the difference.



Also I do not see why sync should report different speeds for copy and
benchmark tools if they do the same thing?


Because cp may behave differently than the tools used to benchmark. A  
dd may be more portable in this case.



Just to be sure I added to my /tmp entry async in /etc/fstab:
/dev/ad4s3d /tmpufs rw,async 2   2

umounted and mounted again and still have:
/dev/ad4s3d on /tmp (ufs, local, soft-updates)


IIRC when SU is used, async is not used even if specified. But I' not  
sure about this.



Asides from the linux async-by-default there's maybe also the  
write-cache-off penalty in FreeBSD. But I'm not sure it is off by  
default. I disable the WC myself in loader.conf everywhere to be on  
the safe side and I don't feel like experimenting ATM (I'm ill in bed).


If the same conditions are tested in FreeBSD and linux (which is not  
easy, as we don't share a common FS implementation, even when we  
support the same FS type) and the sync/async and WC related stuff can  
be ruled out, it may be a problem in the (S)ATA code and it would be  
nice if we would know about this. So please dig deeper into this (it  
can also be a problem with our cp or GEOM or whatever).


Bye,
Alexander.

--
 I heard one time you single-handedly defeated a hoard of rampaging of
somethings in the something something system. -Fry

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Cheffo

Hi,


Ted Mittelstaedt wrote:
- Original Message - 
From: O. Hartmann [EMAIL PROTECTED]

To: freebsd-performance@freebsd.org; freebsd-questions@freebsd.org
Sent: Friday, March 02, 2007 1:38 AM
Subject: (S)ATA performance in FBSD 6.2/7.0 



The last days I tried to figure out why some of my lab's FreeBSD boxes 
and also mine at home seem to be outperformed by some Linux setups 
around here and I saw something interesting.




blah blah blah deleted

Before digging into this problem deeper with benchmarks, could anyone 
explain why FreeBSD reaches this 33 MB/s limit (sounds like UDMA 33 


man mount

read section on async

linux by default mounts async

freebsd by default mounts sync

you can change FBSD to async

then watch your fs scramble during a power failure

no big deal, it's only your data.

Ted


If SYNC is default how can you explain this:

[12:[EMAIL PROTECTED]:~# mount
/dev/ad4s3a on / (ufs, local, synchronous)
devfs on /dev (devfs, local)
/dev/ad4s3d on /tmp (ufs, local, soft-updates)
/dev/ad4s3f on /usr (ufs, local, soft-updates)
/dev/ad4s3e on /var (ufs, local, soft-updates)

[13:[EMAIL PROTECTED]:~# cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump 
Pass#

/dev/ad4s3b noneswapsw  0   0
/dev/ad4s3a /   ufs rw,sync 1   1
/dev/ad4s3d /tmpufs rw  2   2
/dev/ad4s3f /usrufs rw  2   2
/dev/ad4s3e /varufs rw  2   2

And this is only because I manually add *sync* to my /etc/fstab.

E.g if sync is default why mount do not report that my /dev/ad4s3f on 
/usr is mounted synchronous?


From what I seed in rc.X scripts mount -a -t ${mount_excludes} is used 
to mount things form fstab at boot time (sync or async is not set 
anywhere so we use dafault options here)


So I'm pretty sure that for type ufs async is default.

Also I do not see why sync should report different speeds for copy and 
benchmark tools if they do the same thing?


Just to be sure I added to my /tmp entry async in /etc/fstab:
/dev/ad4s3d /tmpufs rw,async 2   2

umounted and mounted again and still have:
/dev/ad4s3d on /tmp (ufs, local, soft-updates)

I think the problem is that the benchmark runs with small files and most 
files are in cache that's why it shows higher speeds - try to run 
bonnie++ with more and bigger files to be sure that the cache is not 
enough and to be able to see the real performance of your HDDs.


PS:

Here is what I got from RAID10 4x160GB SATA2 HDDs (areca RAID)

BLAH - bonnie++ -d /var/tmp -u root -s 16g -n 256:65536:65536:16

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
blah.cmotd.com  16G   159  88 54264  24 24727  12   299  94 70744  19 
223.5  12
Latency 63581us 803ms1123ms   93936us   94991us 
251ms
Version 1.93c   --Sequential Create-- Random 
Create
blah.cmotd.com  -Create-- --Read--- -Delete-- -Create-- --Read--- 
-Delete--
files:max:min/sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP 
/sec %CP
 256:65536:65536/16   715  24   826  25 17321  49   733  2451   2 
6039  70
Latency  1220ms 408ms2805ms1189ms 692ms 
2735ms


50MB/s write  70MB/s read from 4HDDs .. so I do not know how you expect
75MB/s with single HDD.

--
Best Wishes,
Stefan Lambrev
ICQ# 24134177
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defrag

2007-03-02 Thread Vince Hoffman
Kevin Kinsey wrote:
 Kevin Kinsey wrote:
 Steve Franks wrote:
 How come I never hear defrag come up as a topic, and can't find
 anything related to defrag in the ports tree?  Is it really not an
 issue on UFS?  Can someone point me to an explantion if so?

 Thanks,
 Steve

 I'm thinking this one's in the FAQ at freebsd.org.

 
 Bah!  HEADS-UP:  Ignore any advice I feel compelled to give today.  Two
 retractions in one hour would seem to demonstrate a cranial
 short-circuit this morning.  Steve, it's not in the FAQ.
 
 Here's a link to a brief mailist discussion:
 
 http://lists.freebsd.org/pipermail/freebsd-chat/2003-July/000932.html
 
 Assuming you have Ghostscript installed (which may be a big IF), you
 might be able to take a gander at the document mentioned with something
 like:
 
 groff /usr/share/doc/smm/05.fastfs/* ~/ffs.ps
 ps2pdf ~/ffs.ps
 acroread ~/ffs.pdf
 
 But there's probably a better way --- I'm certainly one offing today.
 

If you dont mind reading in a terminal.
gzcat /usr/share/doc/smm/05.fastfs/* | more
does the trick fine for me. By the way thanks for the link to the doc.

Vince


 Kevin Kinsey

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


Re: Bandwidth limit server

2007-03-02 Thread Mike Barnard

pf + altq is your friend...(a whole lot of reading for you though)

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


Any one have idea about bandwidth limitation on FreeBSD to act as
distribution switch for an ISP's subscriber?

Thanks  Best Regards,
Rithy RAY, CIO







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





--
--
Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

ph10

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


Re: Fwd: IPF (ftp - pkg_add) help requested

2007-03-02 Thread Don Munyak

On 3/1/07, Kelly D. Grills [EMAIL PROTECTED] wrote:

On Thu, Mar 01, 2007 at 04:10:11PM -0500, Don Munyak wrote:

As I hinted at in my original response, If you'd rather keep your
firewall rules tighter, pkg_add(1) says:

Note: If you wish to use passive mode ftp in such transfers, set
the variable FTP_PASSIVE_MODE to some value in your environment.



ahh... now I see what your saying.

I have my server setup to disallow root login from console. I login as
user, then su to root. When I run # printenv |sort, This dispalys the
env varibale for me, not root.

How do I set|view env for root?..., specifically FTP_PASSIVE_MODE=YES

--
OT... Kelley, btw...Baxter is cool :) I had a Pekingese once. For
Halloween, I shaved off all her hair except for a 2 mohawk
head-2-tail. I'll have to find the picture to send you some day.
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


top

2007-03-02 Thread Grant Peel
Hi all,

FreeBSD 'top' 6.n does not seem to show anything when the i flag (don't display 
idle processes). the whole display (below the mem and cpu information header) 
goes blank.

Any ideas?

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


Re: top

2007-03-02 Thread Bill Moran
In response to Grant Peel [EMAIL PROTECTED]:

 Hi all,
 
 FreeBSD 'top' 6.n does not seem to show anything when the i flag (don't
 display idle processes). the whole display (below the mem and cpu
 information header) goes blank.
 
 Any ideas?

Maybe all your processes are idle?  What's the header look like when you
do this?  99.9% idle, perhaps?

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


Re: top

2007-03-02 Thread Bill Moran

Please don't top-post.  Please don't turn public discussions into private
ones.  Please read:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html

Format recovered, response in-line.

In response to Grant Peel [EMAIL PROTECTED]:
 - Original Message - 
 From: Bill Moran [EMAIL PROTECTED]
 
  In response to Grant Peel [EMAIL PROTECTED]:
 
  Hi all,
 
  FreeBSD 'top' 6.n does not seem to show anything when the i flag (don't
  display idle processes). the whole display (below the mem and cpu
  information header) goes blank.
 
  Any ideas?
 
  Maybe all your processes are idle?  What's the header look like when you
  do this?  99.9% idle, perhaps?
 
 I have seen it drop to  50% idle, with no process showing. Again, this is 
 when 'i' is selected.
 
 HEre is a quick capture I was able to get, note nothing showing in the 
 process section. This had to be set to 5 secs refresh as I couldn't capture 
 the cup usage fast enough at 1 second.

I played with this a bit.  It seems that top calculates whether a process
is idle or not with a heavy bias toward idle.  I didn't look in to the
code, but it seems like a process has to be running for the lion's share of
the calculated timeslice for it to be considered non-idle.

I don't know if this is intended behaviour or not, but it's not broken, at
worst it's badly dinged ;)  Try this in another shell while watching
top:
while true; do STUFF=$PATH; done
and it will show up.  My guess is that your usage is caused by many small
processes, each taking up a small portion of the total CPU, but none taking
up enough CPU to be considered non-idle by top.

 
 
 last pid: 20389;  load averages:  0.01,  0.23,  0.38 
 up 93+11:18:57  09:53:35
 106 processes: 2 running, 102 sleeping, 2 zombie
 CPU states:  8.0% user,  0.0% nice,  1.5% system,  0.0% interrupt, 90.5% 
 idle
 Mem: 191M Active, 64M Inact, 125M Wired, 3768K Cache, 60M Buf, 110M Free
 Swap: 2048M Total, 189M Used, 1859M Free, 9% Inuse, 4K In
 
   PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND

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


Re: defrag

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 02:17:31AM +0100, Ivan Voras wrote:

 Jerry McAllister wrote:
 
  Well, it would do some, but for the greatest effect, you would need:
dump + rm -rf * + restore
 
 This is nitpicking so ignore it: deleting all files on UFS2 volume won't
 restore it to it's pristine state because inodes are lazily initialized.
 It doesn't have anything to do with fragmentation, but will make fsck
 run a little longer.
 

True it wouldn't be quite pristine because files would have different
inodes assigned when they get reloaded than they might have if it was
newfs-ed before reloading.   That might make fsck run a tiny bit slower.
But it wouldn't be any difference for a running system file access.

On the other hand, doing all this either way wouldn't make any difference 
in performance for file access in a running system because so-called
fragmentation is not an issue in the UNIX file system - except in
the small possibility that it might make a bit of difference in a
file system filled to capacity, well in to the reserve where non-root
processes are not allowed to write anyway.   I don't know just how 
close to absolutely full you have to get to see any difference, but it
is beyond what users would normally get to.

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


Re: defrag

2007-03-02 Thread Giorgos Keramidas
On 2007-03-02 11:27, Mario Lobo [EMAIL PROTECTED] wrote:
 On Thursday 01 March 2007 17:27, Pietro Cerutti wrote:
  On 3/1/07, Kevin Kinsey [EMAIL PROTECTED] wrote:
   Kevin Kinsey wrote:
  
   groff /usr/share/doc/smm/05.fastfs/*  ~/ffs.ps
 
 This is what worked for me:
 
 [~]gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz  paper.ascii
 [~]groff paper.ascii  ffs.ps
 [~]ps2pdf ffs.ps
 [~]acroread ffs.pdf

Actually 'paper.ascii' is a plain ASCII file with some 'escape
sequences' -- like literal backspace and repeated characters, to denote
*bold* text.  It's not valid groff input AFAIK, but you can strip off
the special characters with:

gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz  05.fastfs.ascii
col -b  05.fastfs.ascii  05.fastfs.txt  rm 05.fastfs.ascii

Then you have a plain text version of 05.fastfs.txt, which can be
converted to PS and/or PDF with tools like a2ps or enscript :)

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


Re: Dual booting problems

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 12:34:10AM +, RW wrote:

 On Thu, 1 Mar 2007 13:30:26 -0900
 Beech Rintoul [EMAIL PROTECTED] wrote:
 
  I should also mention that you need the FreeBSD boot manager on both 
  disks, or an alternative boot manager such as grub or gag. Read the 
  handbook.
 
 I recall reading that too, but I've never understood what it's supposed
 to achieve. I imagine it must be a quirk of the FreeBSD boot manager,
 I've certainly never needed to install more than one copy of GAG or
 LILO. 

You may have installed the single sector that is needed without knowing
it.   I don't play with those and so I am less familiar with how
they operate.   They use up some space that is normally available,
but is not officially guaranteed to be available to have a larger
program and more complex tables.

In FreeBSD and according to how it is officially done in DOS partitioned
disks, there is a one block utility that goes in sector 0.  Since it is
only one block, its ability to do things is highly limited.  It has
the slice table and some flags and just enough code to look at its 
slice table to see which slices are marked bootable and to look at
other disk to see which ones have a similar boot block.  This block
is called the MBR.   If there are more than one boot possibilities, it
gives you a menu list.   The first four menu numbers are reserved for
slices on its own disk.  Starting with 5, the menu items point to
the MBR on other disk[s].   I have never tried it with more than 2
disks with bootable slices on them, so I don't know if it will list
a 6 or beyond.

The MBR is not supposed to be OS specific, but the MS MBR breaks that 
rule by not recognizing any slice or other MBR that is not MS.

Each bootable slice on a disk (up to 4 are allowed) has its own boot
sector.

If you select F1-F4, then the MBR will cause the boot sector from that 
slice to be loaded and then it passes control to it.   That slice' boot
sector is OS specific and continues the boot process from there.

If you select F5 (maybe F6 or more,  I should try that some time) it
will instead cause the MBR from that second (maybe third, etc) disk to 
be loaded and passes control to it.   Then that MBR looks at its own
slice table and makes up a menu if there are more than one bootable
slices on that drive.   

Since the first drive's MBR does not read the second drive's slice
table or attempt to boot any of its slices, but only passes control
to the second MBR, then the second disk needs an MBR to take over
and handle its own slice table and bootable slices.

If there is only one bootable slice on a drive or you make it a 
'dangerously dedicated drive' you can get away without a full MBR 
on that drive and put a 'standard' boot block on it, but why bother?   
Just always remember to put an MBR on every drive that has any
bootable slices.

Note that fdisk puts the MBR on the drive.   But, bsdlabel puts
the per slice boot sector on it.   That per slice boot sector must
always be there regardless of how many bootable slices or if the
drive is 'dangerously dedicated' if you want that slice to be bootable.
That is a different issue from the MBR.

I hope that clarifies things rather than muddying them up.
It is all in the handbook plus man pages, but the language is slightly 
more formal and there are still a couple places that mung the use
of the words partition and slice even though most have been recently 
cleaned up. I found a couple the other day, I think in 6.1 (but I forgot
to write them down.   I should have sent in a PR).

jerry

 ___
 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: Serial Port Problems

2007-03-02 Thread Dan D Niles
On Fri, 2007-03-02 at 01:33 -0800, Ted Mittelstaedt wrote:
 - Original Message - 
 From: Dan D Niles [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Thursday, March 01, 2007 1:27 PM
 Subject: Serial Port Problems
 
 
 
  More Dell 2950 woes.
 
  I use serial ports to manage my FreeBSD machines remotely.  I've never
  had any problems until now.  I've installed FreeBSD 6.2 on a Dell 2950.
 
  The install goes without problems over the serial port.  After the
  reboot, I get the typical:
 
  FreeBSD/i386 (test.host.net) (ttyd0)
 
  login:
 
  and I can log in just fine.  If I disconnect and come back later
  (sometimes), or if I hit return without entering a login name (always)
  it starts spitting out junk like:
 
 
 Get a cheapie pci serial port card, plug it in, and see if it works any
 better
 
 Ted

I use console redirection to have access to the BIOS over the serial
port.  Can I redirect console output to a pci card?



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


How to get best results from FreeBSD-questions

2007-03-02 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-03-02 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Divacky Roman
On Fri, Mar 02, 2007 at 10:43:34AM +0100, Wojciech Puchar wrote:
 another while the box didn't do anything else than copying. I watched the 
 copy process via 'systat -vmstat 1' and realized, that the value of 'KB/t' 
 never go byond 128 (128kb buffer limit?). But more frustrating, I never got
 
 what's wrong? FreeBSD uses 128k limit by default.
 
 edit /usr/src/sys/sys/param.h
 
 and change
 
 #define MAXPHYS (128 * 1024)   /* max raw I/O transfer size */
 
 
 to say
 
 #define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */

did anyone measure impact on various benchmark of this change? is 128k the
optimal size for nowadays computers ? if we can squeeze more performance
out of a typical box by just raising one define it would be great...

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Eric Anderson

On 03/02/07 06:03, Alexander Leidinger wrote:

Quoting Cheffo [EMAIL PROTECTED] (from Fri, 02 Mar 2007 13:38:45 +0200):


Hi,


Ted Mittelstaedt wrote:
- Original Message - From: O. Hartmann   
[EMAIL PROTECTED]

To: freebsd-performance@freebsd.org; freebsd-questions@freebsd.org
Sent: Friday, March 02, 2007 1:38 AM
Subject: (S)ATA performance in FBSD 6.2/7.0
The last days I tried to figure out why some of my lab's FreeBSD   
boxes and also mine at home seem to be outperformed by some Linux   
setups around here and I saw something interesting.



blah blah blah deleted

Before digging into this problem deeper with benchmarks, could   
anyone explain why FreeBSD reaches this 33 MB/s limit (sounds like  
 UDMA 33

man mount

read section on async

linux by default mounts async

freebsd by default mounts sync

you can change FBSD to async

then watch your fs scramble during a power failure

no big deal, it's only your data.

Ted

If SYNC is default how can you explain this:

[12:[EMAIL PROTECTED]:~# mount
/dev/ad4s3a on / (ufs, local, synchronous)
devfs on /dev (devfs, local)
/dev/ad4s3d on /tmp (ufs, local, soft-updates)
/dev/ad4s3f on /usr (ufs, local, soft-updates)
/dev/ad4s3e on /var (ufs, local, soft-updates)

[...]

So I'm pretty sure that for type ufs async is default.


Both of you are wrong. By default noasync is used. This is different  
from sync and async. Feel free to look up the difference.



Also I do not see why sync should report different speeds for copy and
benchmark tools if they do the same thing?


Because cp may behave differently than the tools used to benchmark. A  
dd may be more portable in this case.



Just to be sure I added to my /tmp entry async in /etc/fstab:
/dev/ad4s3d /tmpufs rw,async 2   2

umounted and mounted again and still have:
/dev/ad4s3d on /tmp (ufs, local, soft-updates)


IIRC when SU is used, async is not used even if specified. But I' not  
sure about this.



Asides from the linux async-by-default there's maybe also the  
write-cache-off penalty in FreeBSD. But I'm not sure it is off by  
default. I disable the WC myself in loader.conf everywhere to be on  
the safe side and I don't feel like experimenting ATM (I'm ill in bed).


If the same conditions are tested in FreeBSD and linux (which is not  
easy, as we don't share a common FS implementation, even when we  
support the same FS type) and the sync/async and WC related stuff can  
be ruled out, it may be a problem in the (S)ATA code and it would be  
nice if we would know about this. So please dig deeper into this (it  
can also be a problem with our cp or GEOM or whatever).



People should not be using file system tools to measure hardware speeds 
like SATA or disks.  That doesn't make sense, since a portion of that 
benchmark would then include the file system, which as you mention is 
very very different between OS'es.  cp shouldn't be used.  dd is ok for 
bare minimum testing I suppose.


On one of my SATA memory disks, I can get 125MB/s through it, with no 
extra magic.


Eric




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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Brooks Davis
On Fri, Mar 02, 2007 at 10:38:35AM +0100, O. Hartmann wrote:
 The last days I tried to figure out why some of my lab's FreeBSD boxes 
 and also mine at home seem to be outperformed by some Linux setups 
 around here and I saw something interesting.
 
 On my lab's FreeBSD 6.2/i386 box (ASUS P4P800, ICH5 with two SATA 150 
 ports, two SATA 300 drives attached) I copied big files (~ 5GB) from one 
 drive to another while the box didn't do anything else than copying. I 
 watched the copy process via 'systat -vmstat 1' and realized, that the 
 value of 'KB/t' never go byond 128 (128kb buffer limit?). But more 
 frustrating, I never got beyond 33 MB/s transfer rate although 
 bonni/bonni++ told me both drives are capable doing much more (~75 MB/s 
 each).
 At home, I use a FreeBSD 7.0-CURRENT box on an ASUS 
 A8N32-SLI/nForce4-SLI based box, amd64 (no 32Bit compatibility). Two 
 Hitachi T7K250 250 GB/SATA II drives build up a RAID 0 (nVidia 
 MediaShield), and additionally there is a SAMSUNG Spinpoitn SP2004C 
 attached to the controller. bonni results in 55 MB/s for the SP2004C 
 alone and gives ~ 65 - 70 MB/s for the Hitachis, each and roughly 115 
 MB/s for the RAID 0. But copying from the single drive to the RAID 0 or 
 from the RAID 0 to the single drive also reaches this oscure 33 MB/s 
 boundary!
 
 In the first place I thought the older i386 hardware has some 
 hard-limits, but we have several boxes of the exact same hardware around 
 here and a wide spread Linux and Windows utilization and on those boxes 
  equipted with more than one harddrive (PATA or SATA) the effective 
 transfer rate shown up is about 50 - 65 MB/s as expected with copying a 
 big 5G file from one drive to another.
 
 The hardwrae limit is completely nonsense when it comes to the AMD64 box 
 with newer hardware.
 
 Before digging into this problem deeper with benchmarks, could anyone 
 explain why FreeBSD reaches this 33 MB/s limit (sounds like UDMA 33 
 defaults, but on both boxes nForce4 and ICH5 controller are recognized 
 and show up with SATA300 or SATA150 capabilities, respective)? May I 
 have some knobs I'm not aware of to tune disk performance?
 
 I would appreciate any coments on that and if someone has some good 
 ideas how to benchmark those subjects, please let me know.

One thing to keep in mind is that it matters a lot were on the disk you
place the data due to the higher angular density of data at the outside
of the disk.  The results you are seeing are close to consistant with
the kind of results I'd expect to see from writing at opposiste edges
of the disk.  The 33MB/s is suspious ane may diserve investigation, but
make sure you are writing to the same part of the disk if you want to
compare disk IO rates.

There's an example of IO rates on recent large SATA disks:

http://storagereview.com/articles/200607/500_2.html

Also, you should time the actual copy and do the math to verify that
vmstat is actually producing valid results.  It's possible there's a bug
in vmstat or the underlying statistics it uses.

-- Brooks


pgp3kTgCZ7ZtA.pgp
Description: PGP signature


NeedHelp

2007-03-02 Thread Igor V. Ruzanov

Hello!
I compiled mbmon ver. 2.05 (console version) under FreeBSD 6.2 RELEASE. But i 
have the following problem when try to observe values about fan-speeds, t's and 
voltages:


mail:/usr/ports/sysutils/mbmon$ mbmon -d -A 1
ioctl(smb0:open): No such file or directory
SMBus[ALi M1533/1543C] found, but No HWM available on it!!
Summary of Detection:
 * No monitors found.
InitMBInfo: Bad file descriptor

I think there is no kernel driver for ALi M1533/1543C device support, 
because devfs cannot create /dev/smb0. Could you please help me where i 
can get the driver for 6.2 RELEASE?

This chip is integrated into ASUS P5RD1-VM motherboard.

Thank you 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: Dual booting problems

2007-03-02 Thread Alex Zbyslaw

Jerry McAllister wrote:


If you select F5 (maybe F6 or more,  I should try that some time) it
will instead cause the MBR from that second (maybe third, etc) disk to 
be loaded and passes control to it.
 

F5 moves to the next disk.  From that next disk F5 moves on to the next 
disk again and so forth until there are no more disks and then it moves 
you back to the first disk.  No F6 or greater.


F5 will only successfully move on if there is a FreeBSD MBR (*) on the 
next disk.  If there is not such an MBR, the F5 option is displayed but 
will not work (maybe beep?) and after a while you will timeout and boot 
whatever default you have.


Bad idea to lose the MBR from a disk in the middle of a chain, but easy 
to put back booting from CD1.


So as the OP had:

F1: FreeBSD
F5: Disk 2 (Windows)

but had not put FreeBSD MBR on that second disk, F5 did nothing and then 
the F1 default kicked in and booted FreeBSD.  Had the MBR been on that 
second disk it would have started to boot windows and then likely 
rebooted because the disk was no longer in the same position in the 
chain as it had been when Windows was installed.


I don't believe it is necessary for Windows to always be the first disk, 
just that the disk has to stay in the same position as it was in when 
Windows was installed, which is usually the first disk!  (Never tested 
that though).


--Alex

(*) Actually I have no idea what would happen if you stuck some other 
booter like grub or gag on a later disk.  But blank (new) disk or 
Windows MBR will not move on.



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


Re: X11 library question..

2007-03-02 Thread [EMAIL PROTECTED]

On 01/03/07, Jeff Mohler [EMAIL PROTECTED] wrote:

The error:

error while loading shared libraries: libXm.so.3: cannot open shared object
file: No such file or directory


Ive done a few searches, and installing open-motif seemed to be the right
answer, but isnt getting me anywhere.


Indeed,
% find /usr/X11R6/ -type f -iname *libxm*
. . .
/usr/X11R6/lib/libXm.so.3
. . .
% grep -r libXm /var/db/pkg/
. . .
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.a
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so.3
. . .
% ldconfig -r | grep libXm
. . .
  127:-lXm.3 = /usr/X11R6/lib/libXm.so.3
. . .

You may need to run ldconfig -R (or ldconfig -m /usr/X11R6/lib
if /usr/X11R6/lib somehow did not get in the hints file).

Alternatively, you may have an older version of open-motif,
which means you need to upgrade it.

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


musicpd frustrations

2007-03-02 Thread Sam Jones

Hi all,

I'm trying to get musicpd to start on bootup. I'm doing my best to
follow the documentation on the website, but there are slight
contradictions as far as where to put config files. Right now I have
the line

musicpd_enable=YES

in /etc/rc.conf, the file /usr/local/etc/rc.d/musicpd, and the file
/usr/local/etc/mpd.conf, which looks like this:

port   6600
music_directory ~/music
playlist_directory   ~/playlists
log_file  ~/.mpdlog
error_file~/.mpderror
db_file   ~/.mpddb
filesystem_charset ISO-8859-1
user  sdjones

I can start musicpd by typing

/usr/local/etc/rc.d/musicpd start

but it won't start at bootup.
--
Sam Jones
[EMAIL PROTECTED]
[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: Dual booting problems

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 05:39:05PM +, Alex Zbyslaw wrote:

 Jerry McAllister wrote:
 
 If you select F5 (maybe F6 or more,  I should try that some time) it
 will instead cause the MBR from that second (maybe third, etc) disk to 
 be loaded and passes control to it.
 
 F5 moves to the next disk.  From that next disk F5 moves on to the next 
 disk again and so forth until there are no more disks and then it moves 
 you back to the first disk.  No F6 or greater.

OK.  That makes sense.  I have not had enough disk on hand to try
beyond two.

 F5 will only successfully move on if there is a FreeBSD MBR (*) on the 
 next disk.  If there is not such an MBR, the F5 option is displayed but 
 will not work (maybe beep?) and after a while you will timeout and boot 
 whatever default you have.

Hmmm.   I thought it would still do a 'dedicated' FreeBSD disk as the
second one without an MBR.   It will do the first disk, but that is
a different situation, of course.

 Bad idea to lose the MBR from a disk in the middle of a chain, but easy 
 to put back booting from CD1.

Yup.  If you lose the MBR, it can be put back using the Fixit from
the installation CD  (CD-1).

 So as the OP had:
 
 F1: FreeBSD
 F5: Disk 2 (Windows)
 
 but had not put FreeBSD MBR on that second disk, F5 did nothing and then 
 the F1 default kicked in and booted FreeBSD.  Had the MBR been on that 
 second disk it would have started to boot windows and then likely 
 rebooted because the disk was no longer in the same position in the 
 chain as it had been when Windows was installed.

Makes sense.  I don't keep up with the Windows stuff much, but I knew
it would not be happy in that position and the lack of an MBR on the
second disk was where the boot process was stopping.

 I don't believe it is necessary for Windows to always be the first disk, 
 just that the disk has to stay in the same position as it was in when 
 Windows was installed, which is usually the first disk!  (Never tested 
 that though).

Hmmm.   Might be interesting to experiment, though that time spent on
MS could probably be better spend elsewhere.

 
 --Alex
 
 (*) Actually I have no idea what would happen if you stuck some other 
 booter like grub or gag on a later disk.  But blank (new) disk or 
 Windows MBR will not move on.

Don't know this one.

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


Re: Dual booting problems

2007-03-02 Thread RW
On Fri, 2 Mar 2007 11:37:26 -0500
Jerry McAllister [EMAIL PROTECTED] wrote:

 On Fri, Mar 02, 2007 at 12:34:10AM +, RW wrote:
 
  On Thu, 1 Mar 2007 13:30:26 -0900
  Beech Rintoul [EMAIL PROTECTED] wrote:
  
   I should also mention that you need the FreeBSD boot manager on
   both disks, or an alternative boot manager such as grub or gag.
   Read the handbook.
  
  I recall reading that too, but I've never understood what it's
  supposed to achieve. I imagine it must be a quirk of the FreeBSD
  boot manager, I've certainly never needed to install more than one
  copy of GAG or LILO. 
 

 If you select F5 (maybe F6 or more,  I should try that some time) it
 will instead cause the MBR from that second (maybe third, etc) disk
 to be loaded and passes control to it.   Then that MBR looks at its
 own slice table and makes up a menu if there are more than one
 bootable slices on that drive.   

In other words it *is* a quirk of the FreeBSD boot manager, in that it
doesn't allow you to chainload a partition on another drive directly.
You have to chainload the intermediate MBR which needs a second copy of
the bootmanager. Most bootmanagers can do this directly, using the
partition table on the other drive.




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


Re: Apache Rotate Logs and Log Rotate.

2007-03-02 Thread David Robillard

On 3/1/07, Peter Pluta [EMAIL PROTECTED] wrote:

What I did was made a new log format to include the %v (it includes the
vhost name in the logs). Lowered my error log to just info. I also got
rid of the errorlog and customlog in my vhost brackets and setup
newsyslog to rotate the http-access.log and  http-error.log after 24
hours. This is what I pretty much wanted. I have more space in /home/
now since there are no log files in there and I also have 1 main log
that I can rotate and view or separate if needed. It makes it a lot easier.

I have a quick question though. Say I am hosting a few sites for
customers and they want to run their own statistics programs that rely
on log files. How would I deal with the logs if they were in each users
home directory? Those logs add up after a week or so; not to mention if
someone had a larger site that generated larger logs. What exactly could
be done in that situation to allow stats and still have a functional web
server?


Hi Peter,

What I do with stats is use webalizer which is available from the
ports directory as www/webalizer.
Webalizer keeps the history of your logs, so you don't have to keep
the old ones around. I run webalizer from cron once and a while to
generate stats. I've wraped it in a simple shell script to check all
my virtual sites listed in a custom config file in /usr/local/etc and
dump the stats file into /path/to/virtual/host/stats. I then setup a
/stats Alias in httpd.conf for each virtual site and protect it with a
simple .htpasswd. Easy.

BTW, may I suggest you also include the freebsd-questions list in Cc
when you write back? Some people might be interested by what we're
talking about. In fact, ideally we should only 'talk' via the list,
but that's ok with me.

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: find returns unusable result

2007-03-02 Thread Bill Campbell
On Wed, Feb 28, 2007, Vince wrote:
Josh Tolbert wrote:
 On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
 I'd like to cron a process that looks at a certain folder every day and 
 changes the perms on a directory if they aren't what I want. 
 Unfortunately, the people creating the folders are Windows folks using 
 WinSCP, and so they create folders with spaces in them.  (E.g. Day 1, Day 
 2, etc.)

 I thought I could just do this:
 chmod 755 `find /path/to/dirs -type d`

 but find returns a directory name of Day, Day, Day, which (obviously) 
 doesn't work.

 From the cli, find returns the actual directory name.

 How can I get find to return the dirs correctly in a script?  Or is there 
 some other way to do this that would work?

 Paul Schmehl ([EMAIL PROTECTED])
 
 find /path/to/dirs -type d -print0 | xargs -0 chmod 755
 
or just
find /path/to/dirs -type d -exec chmod 755 {} \;
should do it.

While that works, the -print0 | xargs -0 is far more efficient as it isn't
exec'ing a process for every match.  This may not be important for a few
files or directories, but can make a significant difference when processing
thousands of entries.

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 I hear a man applauded by the mob I always feel a pang of pity
for him.  All he has to do to be hissed is to live long enough.
-- H.L. Mencken, ``Minority Report''
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual booting problems

2007-03-02 Thread RW
On Fri, 2 Mar 2007 12:49:23 -0500
Jerry McAllister [EMAIL PROTECTED] wrote:

 On Fri, Mar 02, 2007 at 05:39:05PM +, Alex Zbyslaw wrote:

  (*) Actually I have no idea what would happen if you stuck some
  other booter like grub or gag on a later disk.  But blank (new)
  disk or Windows MBR will not move on.
 
 Don't know this one.


Presumably it would just chainload the other bootmanager, but there's
not much point in doing that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NeedHelp

2007-03-02 Thread [EMAIL PROTECTED]

On 02/03/07, Igor V. Ruzanov [EMAIL PROTECTED] wrote:

Hello!
I compiled mbmon ver. 2.05 (console version) under FreeBSD 6.2 RELEASE. But i
have the following problem when try to observe values about fan-speeds, t's and
voltages:

mail:/usr/ports/sysutils/mbmon$ mbmon -d -A 1
ioctl(smb0:open): No such file or directory
SMBus[ALi M1533/1543C] found, but No HWM available on it!!
Summary of Detection:
  * No monitors found.
InitMBInfo: Bad file descriptor

I think there is no kernel driver for ALi M1533/1543C device support,
because devfs cannot create /dev/smb0. Could you please help me where i
can get the driver for 6.2 RELEASE?
This chip is integrated into ASUS P5RD1-VM motherboard.


You need to compile smb support into your kernel,
as it is not in the GENERIC kernel.
See /usr/src/sys/conf/NOTES

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


Re: Dual booting problems

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 05:52:52PM +, RW wrote:

 On Fri, 2 Mar 2007 11:37:26 -0500
 Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Fri, Mar 02, 2007 at 12:34:10AM +, RW wrote:
  
   On Thu, 1 Mar 2007 13:30:26 -0900
   Beech Rintoul [EMAIL PROTECTED] wrote:
   
I should also mention that you need the FreeBSD boot manager on
both disks, or an alternative boot manager such as grub or gag.
Read the handbook.
   
   I recall reading that too, but I've never understood what it's
   supposed to achieve. I imagine it must be a quirk of the FreeBSD
   boot manager, I've certainly never needed to install more than one
   copy of GAG or LILO. 
  
 
  If you select F5 (maybe F6 or more,  I should try that some time) it
  will instead cause the MBR from that second (maybe third, etc) disk
  to be loaded and passes control to it.   Then that MBR looks at its
  own slice table and makes up a menu if there are more than one
  bootable slices on that drive.   
 
 In other words it *is* a quirk of the FreeBSD boot manager, in that it
 doesn't allow you to chainload a partition on another drive directly.
 You have to chainload the intermediate MBR which needs a second copy of
 the bootmanager. Most bootmanagers can do this directly, using the
 partition table on the other drive.

I wouldn't call it a quirk of FreeBSD.   FreeBSD does it the 'canonical'
way.  The others use additional space on the rest of the track, that
is technically not available, to make a bigger program and tables that can 
do additional things.   That's nice, but not officially supported.

So, it is really a _quirk_ of Grub/Gag/others and not guaranteed to work.
What would be really nice is if the world just decided to create an
official standard that makes that whole track available since it
really most often is - actually, I don't know any modern system where
it is not, but I haven't made a survey.

jerry

 ___
 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: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Eric Anderson

On 03/02/07 09:28, Brooks Davis wrote:

On Fri, Mar 02, 2007 at 10:38:35AM +0100, O. Hartmann wrote:
The last days I tried to figure out why some of my lab's FreeBSD boxes 
and also mine at home seem to be outperformed by some Linux setups 
around here and I saw something interesting.


On my lab's FreeBSD 6.2/i386 box (ASUS P4P800, ICH5 with two SATA 150 
ports, two SATA 300 drives attached) I copied big files (~ 5GB) from one 
drive to another while the box didn't do anything else than copying. I 
watched the copy process via 'systat -vmstat 1' and realized, that the 
value of 'KB/t' never go byond 128 (128kb buffer limit?). But more 
frustrating, I never got beyond 33 MB/s transfer rate although 
bonni/bonni++ told me both drives are capable doing much more (~75 MB/s 
each).
At home, I use a FreeBSD 7.0-CURRENT box on an ASUS 
A8N32-SLI/nForce4-SLI based box, amd64 (no 32Bit compatibility). Two 
Hitachi T7K250 250 GB/SATA II drives build up a RAID 0 (nVidia 
MediaShield), and additionally there is a SAMSUNG Spinpoitn SP2004C 
attached to the controller. bonni results in 55 MB/s for the SP2004C 
alone and gives ~ 65 - 70 MB/s for the Hitachis, each and roughly 115 
MB/s for the RAID 0. But copying from the single drive to the RAID 0 or 
from the RAID 0 to the single drive also reaches this oscure 33 MB/s 
boundary!


In the first place I thought the older i386 hardware has some 
hard-limits, but we have several boxes of the exact same hardware around 
here and a wide spread Linux and Windows utilization and on those boxes 
 equipted with more than one harddrive (PATA or SATA) the effective 
transfer rate shown up is about 50 - 65 MB/s as expected with copying a 
big 5G file from one drive to another.


The hardwrae limit is completely nonsense when it comes to the AMD64 box 
with newer hardware.


Before digging into this problem deeper with benchmarks, could anyone 
explain why FreeBSD reaches this 33 MB/s limit (sounds like UDMA 33 
defaults, but on both boxes nForce4 and ICH5 controller are recognized 
and show up with SATA300 or SATA150 capabilities, respective)? May I 
have some knobs I'm not aware of to tune disk performance?


I would appreciate any coments on that and if someone has some good 
ideas how to benchmark those subjects, please let me know.


One thing to keep in mind is that it matters a lot were on the disk you
place the data due to the higher angular density of data at the outside
of the disk.  The results you are seeing are close to consistant with
the kind of results I'd expect to see from writing at opposiste edges
of the disk.  The 33MB/s is suspious ane may diserve investigation, but
make sure you are writing to the same part of the disk if you want to
compare disk IO rates.

There's an example of IO rates on recent large SATA disks:

http://storagereview.com/articles/200607/500_2.html

Also, you should time the actual copy and do the math to verify that
vmstat is actually producing valid results.  It's possible there's a bug
in vmstat or the underlying statistics it uses.




I usually use gstat instead, but it might also be off (although my tests 
 in the past have not proven that).


Eric


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


Re: musicpd frustrations

2007-03-02 Thread Micheal Patterson




- Original Message - 
From: Sam Jones [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Friday, March 02, 2007 11:43 AM
Subject: musicpd frustrations



Hi all,

I'm trying to get musicpd to start on bootup. I'm doing my best to
follow the documentation on the website, but there are slight
contradictions as far as where to put config files. Right now I have
the line

musicpd_enable=YES

in /etc/rc.conf, the file /usr/local/etc/rc.d/musicpd, and the file
/usr/local/etc/mpd.conf, which looks like this:

port   6600
music_directory ~/music
playlist_directory   ~/playlists
log_file  ~/.mpdlog
error_file~/.mpderror
db_file   ~/.mpddb
filesystem_charset ISO-8859-1
user  sdjones

I can start musicpd by typing

/usr/local/etc/rc.d/musicpd start

but it won't start at bootup.
--
Sam Jones
[EMAIL PROTECTED]
[EMAIL PROTECTED]



/usr/local/etc/rc.d/musicpd should be /usr/local/etc/rc.d/musicpd.sh for 
it to be started at bootup unless things have changed in the bootup 
requirements that I'm not aware of.


--

Micheal Patterson

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Mike Tancsa

At 04:38 AM 3/2/2007, O. Hartmann wrote:
The last days I tried to figure out why some of my lab's FreeBSD 
boxes and also mine at home seem to be outperformed by some Linux 
setups around here and I saw something interesting.


On my lab's FreeBSD 6.2/i386 box (ASUS P4P800, ICH5 with two SATA 
150 ports, two SATA 300 drives attached) I copied big files (~ 5GB) 
from one drive to



Something strange about your setup I would say.  I just tried on a 
Segate SATA drive off an ICH5 chipset (plain old P IV 2.4Ghz).  Do 
you have an option in your BIOS for native mode or compatibility 
mode for the SATA controller ? If so, try toggling that to native SATA mode


[ns4]% iostat -c 1000
  tty ad4twed0 cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   2  447  4.91   0  0.00  23.77  40  0.92  20  0  6  0 74
   4  307  0.00   0  0.00  12.61  14  0.17   0  0  0  0 100
   1  183  0.00   0  0.00  14.50   4  0.06   0  0  0  0 100
   1   63 128.00  47  5.82   0.00   0  0.00   7  0  7  0 86
   0  182 128.00 534 66.70  15.25   8  0.12   0  0 15  8 77
   0   60 128.00 553 69.13   2.00   2  0.00   0  0  8  8 85
   0  182 128.00 537 67.14  14.50   4  0.06  15  0 31 15 38
   0   60 128.00 553 69.06   0.00   0  0.00  54  0  0  8 38
   0   60 128.00 538 67.21   0.00   0  0.00  23  0  0  8 69
   1  301 128.00 495 61.88  12.18  22  0.26   0  0  8  0 92


[ns4]# dd if=/dev/ad4 of=/dev/null bs=1024k
^C410+0 records in
410+0 records out
429916160 bytes transferred in 6.089321 secs (70601659 bytes/sec)
[ns4]#


[ns4]# atacontrol cap ad4

Protocol  Serial ATA II
device model  ST3400833NS
serial number 5NF25DTG
firmware revision 3.AEH
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   781422768 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
Native Command Queuing (NCQ)   yes   -  31/0x1F
Tagged Command Queuing (TCQ)   no   no  31/0x1F
SMART  yes  yes
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  no   no  65278/0xFEFE
automatic acoustic management  no   no  0/0x00  254/0xFE
[ns4]#


___
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
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]


Question about a specific ISP: Amen/Amenworld

2007-03-02 Thread Alexandre Vieira

Hello folks,

I'm interested in a dedicated server plan from a somewhat big company called
Amenworld (www.amenworld.com) but the sales technician is telling me that
amen technicians can't install freebsd on the machines. After some googling
I found that they are hosting some freebsd machines (if this counts for
anything).

Is there anyone here that by any change is a client on this company and runs
freebsd?

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


slice/booting problem

2007-03-02 Thread J. W. Ballantine

I have a two disk system, and I'm trying to install FBSD6.2 on slice 2
of the second disk, a configuration that I've had working in the past.

I'm using the Standard installation, select the second disk (ad1)
and create a slice (ad1s2) and then create the partitions within
that slice.  On that disk, I install the FreeBSD Boot Manager (I have
a third party boot manager installed on ad0 that boots FreeBSD).

During the install, I ls /dev and find the ad1s2 partitions created.

After the install, when I try to re-boot, it fails when it trys to
mountroot.  When I enter ?, I get a listr of GEOM managed disks, but
the partitions are not listed, while the slice is. 

Any ideas on what I'm missing???

Thanks

Jim Ballantine



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


BSDstats report for Mar 1st, 2006

2007-03-02 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Well, I skip'd reporting last month, like anyone missed it, right?

Well, last month, and this month, have been seen ~10% increases in first of 
month numbers, so its still growing ...

Thanks to all that are participating ... for those just tuning in, please check
out http://www.bsdstats.org ... there was a new version put up (v5.3, already
in FreeBSD ports) over the past little while that extends the reporting for the
FreeBSD ports system ... I have no experience with any of the other *BSD ports
systems, but if someone would like to submit a patch to include theirs, please
feel free.  It is another purely optional report that gives numbers of ports in
use, including version numbers, for the various software packages.

FebMar % Chg

  DesktopBSD  9 13   44%
  8 13   62%

   DragonFly 17 10  -41%
 12 10  -16%

 FreeBSD   4297   4147   -3%
   3719   38904%

 MidnightBSD  3  1  -66%
  0  1 -100%

  MirBSD 13  3  -76%
  0  0 -100%

  NetBSD126116   -7%
 99 97   -2%

 OpenBSD 94 82  -12%
 64 73   14%

  PC-BSD   4223765  -81%
151303  100%

 Overall   8782   5137  -41%
   4053   43878%

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFF6HnX4QvfyHIvDvMRArHcAJoCTG5qxniyCX4pBO4BUqaFWkZyrgCdFSRU
ii1pXBhv+FjueDEzWHaCddc=
=eWFN
-END PGP SIGNATURE-

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


dhclient.conf + resolv.conf

2007-03-02 Thread J.D. Bronson

I am trying to have dhclient setup my resolv.conf perfect.
I am very close.

I have this in dhclient.conf:

-
interface bge1 {
supersede domain-name wixb.com;
prepend domain-name-servers 192.l68.1.1;
request subnet-mask, broadcast-address, routers, domain-name-servers;
 }
-
What this is giving me is this:

search wixb.com
nameserver 192.168.1.1
nameserver 24.94.163.100
nameserver 24.94.163.101

What I would like to do is change the 'search' to 'domain' and cant 
figure out what I am missing?


-JD

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


Re: slice/booting problem

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 03:12:55PM -0500, J. W. Ballantine wrote:

 
 I have a two disk system, and I'm trying to install FBSD6.2 on slice 2
 of the second disk, a configuration that I've had working in the past.
 
 I'm using the Standard installation, select the second disk (ad1)
 and create a slice (ad1s2) and then create the partitions within
 that slice.  On that disk, I install the FreeBSD Boot Manager (I have
 a third party boot manager installed on ad0 that boots FreeBSD).
 
 During the install, I ls /dev and find the ad1s2 partitions created.
 
 After the install, when I try to re-boot, it fails when it trys to
 mountroot.  When I enter ?, I get a listr of GEOM managed disks, but
 the partitions are not listed, while the slice is. 
 
 Any ideas on what I'm missing???

Just a wild guess:  That either the first or second disk didn't
really get an MBR written to it - or the third party boot manager
on the first disk might not play nicely with the one on the second 
disk.
Try using fdisk (from the install CD fixit if necessary) to write 
the FreeBSD MBR to both disks.   You can put the other third party 
booter back afterward if desired/needed.

jerry

 
 Thanks
 
 Jim Ballantine
 
 ___
 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: BSDstats report for Mar 1st, 2006

2007-03-02 Thread Doug Poland
On Fri, March 2, 2007 13:24, Marc G. Fournier wrote:
 -BEGIN PGP SIGNED MESSAGE-

 Well, I skip'd reporting last month, like anyone missed it, right?

I did :)

 Well, last month, and this month, have been seen ~10% increases in
 first of month numbers, so its still growing ...

The numbers are still so low that I question if the project's goal
will be realized.  Is it too early to extrapolate what the real
numbers may be?  i.e., if we've got 5000 FreeBSD hosts, and we know
about 1 in 50 register, then there are probably 250,000 hosts in the
wild?


-- 
Regards,
Doug

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


Re: find returns unusable result

2007-03-02 Thread Gary Kline
On Wed, Feb 28, 2007 at 03:38:24PM -0800, Bill Campbell wrote:
 On Wed, Feb 28, 2007, Vince wrote:
 Josh Tolbert wrote:
  On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
  I'd like to cron a process that looks at a certain folder every day and 
  changes the perms on a directory if they aren't what I want. 
  Unfortunately, the people creating the folders are Windows folks using 
  WinSCP, and so they create folders with spaces in them.  (E.g. Day 1, Day 
  2, etc.)
 
  I thought I could just do this:
  chmod 755 `find /path/to/dirs -type d`
 
  but find returns a directory name of Day, Day, Day, which (obviously) 
  doesn't work.
 
  From the cli, find returns the actual directory name.
 
  How can I get find to return the dirs correctly in a script?  Or is there 
  some other way to do this that would work?
 
  Paul Schmehl ([EMAIL PROTECTED])
  
  find /path/to/dirs -type d -print0 | xargs -0 chmod 755
  
 or just
 find /path/to/dirs -type d -exec chmod 755 {} \;
 should do it.
 
 While that works, the -print0 | xargs -0 is far more efficient as it isn't
 exec'ing a process for every match.  This may not be important for a few
 files or directories, but can make a significant difference when processing
 thousands of entries.


I don't mean to steal this thread, but it might help to know if
egrep -[xyz] bar or other things might be joined in the  | xargs
part of the pipeline.  Lots of times I'll want a find search to 
print0 filename and egrep, say, -3 strings and search for
substrings nearby.  The greps will recurse across many dirs with
scores of files so I want to search to be efficient.  In other 
words, how flexible is xargs?

gary





 
 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 I hear a man applauded by the mob I always feel a pang of pity
 for him.  All he has to do to be hissed is to live long enough.
   -- H.L. Mencken, ``Minority Report''
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

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


Re: BSDstats report for Mar 1st, 2006

2007-03-02 Thread [EMAIL PROTECTED]

On 02/03/07, Doug Poland [EMAIL PROTECTED] wrote:

On Fri, March 2, 2007 13:24, Marc G. Fournier wrote:
 -BEGIN PGP SIGNED MESSAGE-

 Well, I skip'd reporting last month, like anyone missed it, right?

I did :)

 Well, last month, and this month, have been seen ~10% increases in
 first of month numbers, so its still growing ...

The numbers are still so low that I question if the project's goal
will be realized.  Is it too early to extrapolate what the real
numbers may be?  i.e., if we've got 5000 FreeBSD hosts, and we know
about 1 in 50 register, then there are probably 250,000 hosts in the
wild?



Based on a bit of trolling about, netcraft's most recent
survey (that I could find) including operating systems
numbers, which is March 2001 (surveys after that do not
seem to have any sort of detailed OS counts), gives the
BSDs as a whole at 6.3%, which is about 1.8 million
sites running on one of the BSDs.  Further futzing leads
to http://leb.net/hzo/ioscount/data/r.9904.txt which shows
as of April of 1999 15% of hosts being BSDs of some sort.
The only queried about 1.7million hosts, though, and hosts
are not sites or domain names.

If I were an environemntal science major, I would conclude
that BSDs as a whole are losing 4.3% of the aggregate
per year, and currently have -19.5% of the web.  Further
more, by the year 2156 (when Mola Ram is due to rip the
still beating heart from tEh interwob) the BSD family, including
such holdouts as BSDi, FrogBSD, SkullCapBSD, and
whatever fork of NetBSD happens to work on a nucul0r
toaster of the year 2156 will be so widely deinstalled that
you will need to write almost 2 billion new distros a month
just to keep up with how many are being moved to iis.  Also,
there won't be any oil and your kids's kids will have suntans
on their bone marrow.

These numbers are important because they show that
marketing works.

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


Users unable to write to mounted FAT32 partition

2007-03-02 Thread Michael G.
OK, I've scoured the archives for an answer with no results.  I'm 
sharing a FAT32 partition between XP and 6.2 Release.  The problem is I 
can mount the drive but only root can write to it (users can just 
read).  I have the following in fstab:


/dev/asd42/mydosmsdosfs rw  0 0

I've tried adding the -u or -g option with no luck.  I understand that 
since FAT has no inherent permissions chmod has no effect either (tried 
it just to be sure) so it must be set from fstab.  Any help?


Thanks!

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


Re: Users unable to write to mounted FAT32 partition

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 05:14:14PM -0600, Michael G. wrote:

 OK, I've scoured the archives for an answer with no results.  I'm 
 sharing a FAT32 partition between XP and 6.2 Release.  The problem is I 
 can mount the drive but only root can write to it (users can just 
 read).  I have the following in fstab:
 
 /dev/asd42/mydosmsdosfs rw  0 0
 
 I've tried adding the -u or -g option with no luck.  I understand that 
 since FAT has no inherent permissions chmod has no effect either (tried 
 it just to be sure) so it must be set from fstab.  Any help?

What are the owner and permissions on the mount point  (/mydos)?

jerry

 
 Thanks!
 
 M.G.
 ___
 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]


COPYING DATA TO NTFS

2007-03-02 Thread Parker Brown
Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on the same 
SCSI drive.  Under FreeBSD I've got XP mounted, and I've been able to examine 
the XP directories, but when I try to copy data or the contents of directories 
from FreeBSD to XP.  Usingcp -R   format, nothing copies, and I get error 
messages that the target files don't exist. 

Is FreeBSD not capable of copying to NTFS?

Please help!


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


Re: COPYING DATA TO NTFS

2007-03-02 Thread Jona Joachim
On Fri, 2 Mar 2007 15:39:30 -0800
Parker Brown [EMAIL PROTECTED] wrote:

 Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on
 the same SCSI drive.  Under FreeBSD I've got XP mounted, and I've
 been able to examine the XP directories, but when I try to copy data
 or the contents of directories from FreeBSD to XP.  Usingcp -R
 format, nothing copies, and I get error messages that the target
 files don't exist. 
 
 Is FreeBSD not capable of copying to NTFS?

No. Or at least writing support is very experimental and might break
your NTFS partition.
However there is ntfs-3g in the ports (sysutils/fusefs-ntfs). This
driver has read/write support.
I've never used it so I can't tell you more.
More info: http://www.ntfs-3g.org/

Regards,
Jona

-- 
Hi, I'm a .signature virus! Copy me to your .signature file and help
me propagate, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Users unable to write to mounted FAT32 partition

2007-03-02 Thread Michael G.

Jerry,

Owner of /mydos is root and Group is wheel.  User has rwx while Group 
and Other only have r-x


M.G.



Jerry McAllister wrote:

On Fri, Mar 02, 2007 at 05:14:14PM -0600, Michael G. wrote:

  
OK, I've scoured the archives for an answer with no results.  I'm 
sharing a FAT32 partition between XP and 6.2 Release.  The problem is I 
can mount the drive but only root can write to it (users can just 
read).  I have the following in fstab:


/dev/asd42/mydosmsdosfs rw  0 0

I've tried adding the -u or -g option with no luck.  I understand that 
since FAT has no inherent permissions chmod has no effect either (tried 
it just to be sure) so it must be set from fstab.  Any help?



What are the owner and permissions on the mount point  (/mydos)?

jerry

  

Thanks!

M.G.
___
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: Users unable to write to mounted FAT32 partition

2007-03-02 Thread Chris Hill

On Fri, 2 Mar 2007, Michael G. wrote:

Owner of /mydos is root and Group is wheel.  User has rwx while Group 
and Other only have r-x


Well, there it is. I think users who want to write to this filesystem 
need to have write permission on the mountpoint. How about creating a 
group, perhaps users, of which all users are members, then chown 
root:users /mydos, then chmod 775 /mydos



Jerry McAllister wrote:

On Fri, Mar 02, 2007 at 05:14:14PM -0600, Michael G. wrote:

OK, I've scoured the archives for an answer with no results.  I'm 
sharing a FAT32 partition between XP and 6.2 Release.  The problem 
is I can mount the drive but only root can write to it (users can 
just read).  I have the following in fstab:


/dev/asd42/mydosmsdosfs rw  0 0

I've tried adding the -u or -g option with no luck.  I understand 
that since FAT has no inherent permissions chmod has no effect 
either (tried it just to be sure) so it must be set from fstab. 
Any help?


What are the owner and permissions on the mount point  (/mydos)?


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


Re: Users unable to write to mounted FAT32 partition

2007-03-02 Thread Jerry McAllister
On Fri, Mar 02, 2007 at 07:30:50PM -0500, Chris Hill wrote:

 On Fri, 2 Mar 2007, Michael G. wrote:
 
 Owner of /mydos is root and Group is wheel.  User has rwx while Group 
 and Other only have r-x
 
 Well, there it is. I think users who want to write to this filesystem 
 need to have write permission on the mountpoint. How about creating a 
 group, perhaps users, of which all users are members, then chown 
 root:users /mydos, then chmod 775 /mydos

That would be my thinking.
Maybe make a mydos group and only put users in that you want to
be able to r/w the mydos slice instead of everybody and then chown 
it to root:mydos would seem 'safer' if there are a bunch of users 
on the machine.

jerry

 
 Jerry McAllister wrote:
 On Fri, Mar 02, 2007 at 05:14:14PM -0600, Michael G. wrote:
 
 OK, I've scoured the archives for an answer with no results.  I'm 
 sharing a FAT32 partition between XP and 6.2 Release.  The problem 
 is I can mount the drive but only root can write to it (users can 
 just read).  I have the following in fstab:
 
 /dev/asd42/mydosmsdosfs rw  0 0
 
 I've tried adding the -u or -g option with no luck.  I understand 
 that since FAT has no inherent permissions chmod has no effect 
 either (tried it just to be sure) so it must be set from fstab. 
 Any help?
 
 What are the owner and permissions on the mount point  (/mydos)?
 
 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: COPYING DATA TO NTFS

2007-03-02 Thread Marco Hafke

Did you read the manpage of mount_ntfs? Have a look to the writing section:

There is limited writing ability. Limitations: file must be nonresident 
and must not contain any sparces (uninitialized areas); compressed files 
are also not supported.  The file name must not contain multibyte 
characters.


Writing on NTFS with FreeBSd is a bad idea. You should switch to FAT if 
you need to exchange files between this to systems.


Greets
Marco


Parker Brown schrieb:
Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on the same SCSI drive.  Under FreeBSD I've got XP mounted, and I've been able to examine the XP directories, but when I try to copy data or the contents of directories from FreeBSD to XP.  Usingcp -R   format, nothing copies, and I get error messages that the target files don't exist. 


Is FreeBSD not capable of copying to NTFS?

Please help!


Parker Brown
___
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: Serial Port Problems

2007-03-02 Thread Mike Tancsa
On Thu, 01 Mar 2007 15:27:19 -0600, in sentex.lists.freebsd.questions
you wrote:


More Dell 2950 woes.

I use serial ports to manage my FreeBSD machines remotely.  I've never
had any problems until now.  I've installed FreeBSD 6.2 on a Dell 2950.

The install goes without problems over the serial port.  After the
reboot, I get the typical:

FreeBSD/i386 (test.host.net) (ttyd0)

login:

and I can log in just fine.  If I disconnect and come back later
(sometimes), or if I hit return without entering a login name (always)
it starts spitting out junk like:



I get similar strange results as well on Server Works BIOS based
machines.  I usually talk to them through a pm25.  For me, I have to
make sure flow control is off on both ends (no software, no hardware).
Also, login gets confused if you start with an enter for some reason.
I can generally recover from this seemingly hung state with a bunch of
CTRL+d's.  Not sure if it will help you, but the symptons are somewhat
like what I see.

Whats odd is that it all works just fine from the loader prompt and if
I boot into single user mode.  But soon as getty/login take over, its
very picky.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux equivalent to freebsd

2007-03-02 Thread Danny Pansters
If you have a (Free)BSD mindset and like your rc.conf but don't mind 
typing pacman instead of pkg_* or portupgrade -P * and you don't mind using 
something called ABS for src packages, which is like ports, only with a stage 
install before live-system install, then you may just like ArchLinux.

I tried many but besides Debian, Arch is the only one I really enjoyed toying 
with. Haven't used Arch on serious production system, but it appears that 
other people do. Gentoo is nice (and keeps you busy/entertained) until it 
blows up on you.

Just my 0.02 as a long time FreeBSD user. The linux I used most was Debian but 
that was long ago before I landed at BSD.

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


Re: hardware question

2007-03-02 Thread jekillen


On Mar 1, 2007, at 10:38 PM, Garrett Cooper wrote:


jekillen wrote:

On Mar 1, 2007, at 8:04 PM, Garrett Cooper wrote:

jekillen wrote:

Hello;
I have built a machine with ASUS M2N32 WS pro motherboard.
It has dual network interface ports that are Marvell interfaces.
I understand that FreeBSD does not yet support Marvell as of
v6.2. I did get a reference to a source for the driver source and
instructions to compile and install. But my short term solution was
to get Intel nics that fit in PCIe lane one slots. As fate would 
have

it one of the slots is situated too close to some copper vain heat
dissipation attachments, so the second interface card will not
fit in the slot for the obstruction.
So, my question is simple:
Can I use a network interface card made for a PCIe lane one slot
in a PCIe lane 16 slot and expect it to work?
By way of explanation: I need to interfaces because I am using
this machine as a web server and I want one public ip address
assigned to it and one private ip address assigned to it also.
I have all but http and dns blocked from the outside. I use ssh
and ftp to post content to the machine on the inside network.
Thanks, not tearing my hair just yet
Jeff K


Maybe. Read this document: 
http://zone.ni.com/devzone/cda/tut/p/id/3540.

-Garrett

Thanks, in my flustered state of mind I just poked out this message 
and then
decided to follow advices I have gotten in the past, ask Google. I 
came up
with a Wikipedia article that was positive. I also decided to look 
back at the
specs listed on the Tiger Direct site where I got the interface cards 
and there
it was, pretty plain. There is still a problem. One of the cards is 
initializing and
the other is not. I have not determined which one is not. But the 
punch line
is that the one that does show up shows up with status no carrier in 
ifconfig.
I looked back the the FreeBSD site, at hardware notes for v6.2 and it 
appears
that that card specifically, is not listed as supported. 82572 is 
listed as supported
by the em driver, but Intel® 82572EI or Intel® 82572GI Gigabit 
Controller is not

listed specifically, Well that is another $70+ not well enough spent.
thanks for the response.
Jeff K


There's always -current or an RMA. Weird though... I didn't think that 
the slot size was large enough though for a PCIx card slot. 
Interesting...


There  is more, I had one card in the secondary x16 slot and one card 
in the usable x1 slot. I noticed that in the above situation, the fwe 
inteface

was still configured.
I took the card from the secondary x16 slot and put it in the primary 
x16 slot, Booted up and the em0 interface came up. I shut down the fwe 
interface
and was able to ping the em0 interface. I moved the card from the 
usable x1 slot and moved it to the secondary x16 slot. Now both cards 
show up
as up and running but I cannot ping the em1 interface. I went into 
rc.conf and took out the fwe configuration line. It still shows up in 
ifconfig listed
between em0 and em1. I am suspecting that this interface is somehow 
interfering with the em1 interface. So progress is happening but I am 
weary
of the sleuthing I have to do to get things working. At least I do have 
one enet connection to the machine, now.

Jeff K

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


Re: COPYING DATA TO NTFS

2007-03-02 Thread Jerry McAllister
On Sat, Mar 03, 2007 at 01:13:21AM +0100, Marco Hafke wrote:

 Did you read the manpage of mount_ntfs? Have a look to the writing section:
 
 There is limited writing ability. Limitations: file must be nonresident 
 and must not contain any sparces (uninitialized areas); compressed files 
 are also not supported.  The file name must not contain multibyte 
 characters.
 
 Writing on NTFS with FreeBSd is a bad idea. You should switch to FAT if 
 you need to exchange files between this to systems.

Yes.  That seems to be the current status.

What I do on my dual boot is make an extra slice that if FAT32 that I can 
use to write back and forth between the FreeBSD and MSwin system.  So, 
I end up using up three slices for a dual boot NTFS, FAT32 and FreeBSD.
The FAT32 doesn't have to be terribly large, a couple of GBytes does it
for me.

jerry

 
 Greets
 Marco
 
 
 Parker Brown schrieb:
 Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on the 
 same SCSI drive.  Under FreeBSD I've got XP mounted, and I've been able to 
 examine the XP directories, but when I try to copy data or the contents of 
 directories from FreeBSD to XP.  Usingcp -R   format, nothing copies, 
 and I get error messages that the target files don't exist. 
 Is FreeBSD not capable of copying to NTFS?
 
 Please help!
 
 
 Parker Brown
 ___
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Users unable to write to mounted FAT32 partition

2007-03-02 Thread Michael G.

Chris,
A mod of your suggestion did the trick.  I was unable to finally 
chown Michael /mydos and then change permissions using chmod.  Seems 
pretty simple but kinda strange that as root I could not change the 
permissions.


Thanks to you and Jerry for all the help!

Michael G.

Chris Hill wrote:

On Fri, 2 Mar 2007, Michael G. wrote:

Owner of /mydos is root and Group is wheel.  User has rwx while Group 
and Other only have r-x


Well, there it is. I think users who want to write to this filesystem 
need to have write permission on the mountpoint. How about creating a 
group, perhaps users, of which all users are members, then chown 
root:users /mydos, then chmod 775 /mydos



Jerry McAllister wrote:

On Fri, Mar 02, 2007 at 05:14:14PM -0600, Michael G. wrote:

OK, I've scoured the archives for an answer with no results.  I'm 
sharing a FAT32 partition between XP and 6.2 Release.  The problem 
is I can mount the drive but only root can write to it (users can 
just read).  I have the following in fstab:


/dev/asd42/mydosmsdosfs rw  0 0

I've tried adding the -u or -g option with no luck.  I understand 
that since FAT has no inherent permissions chmod has no effect 
either (tried it just to be sure) so it must be set from fstab. Any 
help?


What are the owner and permissions on the mount point  (/mydos)?



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


Re: BSDstats report for Mar 1st, 2006

2007-03-02 Thread Matt Olander
On Friday 02 March 2007 11:24 am, Marc G. Fournier wrote:
 Well, I skip'd reporting last month, like anyone missed it, right?

 Well, last month, and this month, have been seen ~10% increases in
 first of month numbers, so its still growing ...

Thanks Marc! I noticed and I missed it ;-)

-matt

-- 
Matt Olander
CTO, iXsystems - Servers for Open Source http://www.iXsystems.com
Public Relations, The FreeBSD Projecthttp://www.FreeBSD.org
BSD on the Desktop!http://www.pcbsd.org
Phone: (408)943-4100 ext. 113Fax: (408)943-4101 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hauppauge PVR 150 problem loading modules

2007-03-02 Thread Jim Stapleton

After being unable to get the WinTV-Radio work, I replaced it with a
PVR-150. I followed the instructions here:
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005351.html

attempting to get the PVR 150 I just picked up working. However, after
loading the modules as described in the output of the pvrxxx port, and
the message listed, no new devices showed up. I checked
/var/log/messages and go this:

[EMAIL PROTECTED] 21:28:36 (0) ~   cat /var/log/messages | grep cxm
Mar  2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm_iic
Mar  2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm
Mar  2 21:27:53 elrond kernel: cxm0: Conexant iTVC16 MPEG Coder mem
0xc000-0xc3ff irq 16 at device 6.0 on pci5
Mar  2 21:27:53 elrond kernel: cxm_iic0: Conexant iTVC15 / iTVC16 I2C
controller on cxm0
Mar  2 21:27:53 elrond kernel: iicbb0: I2C bit-banging driver on cxm_iic0
Mar  2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67
Mar  2 21:27:53 elrond kernel: cxm0: could not initialize tuner
Mar  2 21:27:53 elrond kernel: cxm_iic0: detached
Mar  2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6


So it's safe to say I have an unknown tuner on this card, what would
my next step from here be?

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


Re: hauppauge PVR 150 problem loading modules

2007-03-02 Thread Jim Stapleton

I appologize -questions, disregard this, it was supposed to go to multimedia.

On 3/3/07, Jim Stapleton [EMAIL PROTECTED] wrote:

After being unable to get the WinTV-Radio work, I replaced it with a
PVR-150. I followed the instructions here:
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005351.html

attempting to get the PVR 150 I just picked up working. However, after
loading the modules as described in the output of the pvrxxx port, and
the message listed, no new devices showed up. I checked
/var/log/messages and go this:

[EMAIL PROTECTED] 21:28:36 (0) ~   cat /var/log/messages | grep cxm
Mar  2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ;
PWD=/usr/ports/multimedia/pvrxxx ; USER=root ;
COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c
Mar  2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm_iic
Mar  2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ;
USER=root ; COMMAND=/sbin/kldload cxm
Mar  2 21:27:53 elrond kernel: cxm0: Conexant iTVC16 MPEG Coder mem
0xc000-0xc3ff irq 16 at device 6.0 on pci5
Mar  2 21:27:53 elrond kernel: cxm_iic0: Conexant iTVC15 / iTVC16 I2C
controller on cxm0
Mar  2 21:27:53 elrond kernel: iicbb0: I2C bit-banging driver on cxm_iic0
Mar  2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67
Mar  2 21:27:53 elrond kernel: cxm0: could not initialize tuner
Mar  2 21:27:53 elrond kernel: cxm_iic0: detached
Mar  2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6


So it's safe to say I have an unknown tuner on this card, what would
my next step from here be?

Thank you,
-Jim Stapleton


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


Firefox only runs as root--help!

2007-03-02 Thread Dr. Jennifer Nussbaum
This is a resend of something i sent to the freebsd-gnome list a few days
ago, but there wer no answers and i think its a real problem, so i hope
no one minds.

I have a new install of FreeBSD 6.2, and installed Gnome 2.16 and other things, 
including Firefox 2.0, from Ports. 

Firefox only runs as root. Every time. I Googled and saw that in an early
version there was a problem that it had to be run the _first_ time as root
but after that it was OK, but thats not the problem here--it ONLY runs as
root all the time. If I type firefox on the command line it 
just immediately returns to the command line, no error messages 
of any sort, nothing in /var/log/messages.

When run as root it seems to be fine. The binary has execute 
permissions for everyone.

What do i need to be doing?

Thanks!

Jen

 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats report for Mar 1st, 2006

2007-03-02 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Depends if you are looking for 'fast and easy' numbers. or long term ones ... 
the project goal is long term numbers ...

The problem is that right now, everything is word of mouth, except in the 
case of PC-BSD, and, I believe, DragonflyBSD ... someone, at one point, had 
suggested adding a prompt to sysinstall asking if ppl wanted to participate, 
and the response I heard was that someone basically needed to submit a patch 
... anyone here know enough about sysinstall to do so?  Not to make it an 
'opt-out' sort of thing, but opt-in with some sort of visibility other then my 
posting these stats once a month 



- --On Friday, March 02, 2007 15:00:31 -0600 Doug Poland [EMAIL PROTECTED]
wrote:

 On Fri, March 2, 2007 13:24, Marc G. Fournier wrote:
 -BEGIN PGP SIGNED MESSAGE-

 Well, I skip'd reporting last month, like anyone missed it, right?

 I did :)

 Well, last month, and this month, have been seen ~10% increases in
 first of month numbers, so its still growing ...

 The numbers are still so low that I question if the project's goal
 will be realized.  Is it too early to extrapolate what the real
 numbers may be?  i.e., if we've got 5000 FreeBSD hosts, and we know
 about 1 in 50 register, then there are probably 250,000 hosts in the
 wild?


 --
 Regards,
 Doug




- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFF6OGc4QvfyHIvDvMRAuHHAJ9rIA5EK/dhg7QdylEcJH7lpARBUwCZATaP
VDg2BaHcd1UdM03/W7/6jH0=
=QLgR
-END PGP SIGNATURE-

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


Fwd: Re: Firefox only runs as root--help!

2007-03-02 Thread Dr. Jennifer Nussbaum
And i can't even spell freebsd.org right. Not my day.

Jen

 
-
Any questions?  Get answers on any topic at Yahoo! Answers. Try it now.---BeginMessage---

   Jeremy Gransden [EMAIL PROTECTED] wrote:

   On 3/2/07, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote:

 This is a resend of something i sent to the freebsd-gnome list a
 few days
 ago, but there wer no answers and i think its a real problem, so i
 hope
 no one minds.
 I have a new install of FreeBSD 6.2, and installed Gnome 2.16 and
 other things, including Firefox 2.0, from Ports.
 Firefox only runs as root. Every time. I Googled and saw that in an
 early
 version there was a problem that it had to be run the _first_ time
 as root
 but after that it was OK, but thats not the problem here--it ONLY
 runs as
 root all the time. If I type firefox on the command line it
 just immediately returns to the command line, no error messages
 of any sort, nothing in /var/log/messages.
 When run as root it seems to be fine. The binary has execute
 permissions for everyone.
 What do i need to be doing?
 Thanks!
 Jen


   Hi Jen,
   what are the permissions on .mozilla  in your home directory.
   jeremy

   Oh, g#d...
   /me hangs head in shame and embarrassment.
   Thank you. So sorry to bother the list with this. I thought i had been
   clever to check the permissions on the binary :-(
   Thank you Jeremy!
   Jen
 _

   It's here! Your new message!
   Get [2]new email alerts with the free [3]Yahoo! Toolbar.

References

   1. mailto:[EMAIL PROTECTED]
   2. 
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/
   3. 
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/
---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: X11 library question..

2007-03-02 Thread Jeff Mohler

My output to your commands is identical to yours in that it was found, and
is the same open-motif version.

:( :(



On 3/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On 01/03/07, Jeff Mohler [EMAIL PROTECTED] wrote:
 The error:

 error while loading shared libraries: libXm.so.3: cannot open shared
object
 file: No such file or directory


 Ive done a few searches, and installing open-motif seemed to be the
right
 answer, but isnt getting me anywhere.

Indeed,
% find /usr/X11R6/ -type f -iname *libxm*
. . .
/usr/X11R6/lib/libXm.so.3
. . .
% grep -r libXm /var/db/pkg/
. . .
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.a
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so.3
. . .
% ldconfig -r | grep libXm
. . .
   127:-lXm.3 = /usr/X11R6/lib/libXm.so.3
. . .

You may need to run ldconfig -R (or ldconfig -m /usr/X11R6/lib
if /usr/X11R6/lib somehow did not get in the hints file).

Alternatively, you may have an older version of open-motif,
which means you need to upgrade it.

--
--


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


Re: X11 library question..

2007-03-02 Thread Jeff Mohler

For kicks I copied to to /usr/lib.

NEW error..


error while loading shared libraries: /usr/lib/libXm.so.3: ELF file OS ABI
invalid



On 3/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On 01/03/07, Jeff Mohler [EMAIL PROTECTED] wrote:
 The error:

 error while loading shared libraries: libXm.so.3: cannot open shared
object
 file: No such file or directory


 Ive done a few searches, and installing open-motif seemed to be the
right
 answer, but isnt getting me anywhere.

Indeed,
% find /usr/X11R6/ -type f -iname *libxm*
. . .
/usr/X11R6/lib/libXm.so.3
. . .
% grep -r libXm /var/db/pkg/
. . .
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.a
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so
/var/db/pkg/open-motif-2.2.3_2/+CONTENTS:lib/libXm.so.3
. . .
% ldconfig -r | grep libXm
. . .
   127:-lXm.3 = /usr/X11R6/lib/libXm.so.3
. . .

You may need to run ldconfig -R (or ldconfig -m /usr/X11R6/lib
if /usr/X11R6/lib somehow did not get in the hints file).

Alternatively, you may have an older version of open-motif,
which means you need to upgrade it.

--
--


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


Re: Firefox only runs as root--help!

2007-03-02 Thread Paulette McGee

--- Dr. Jennifer Nussbaum [EMAIL PROTECTED]
wrote:

 This is a resend of something i sent to the
 freebsd-gnome list a few days
 ago, but there wer no answers and i think its a real
 problem, so i hope
 no one minds.
 
 I have a new install of FreeBSD 6.2, and installed
 Gnome 2.16 and other things, including Firefox 2.0,
 from Ports. 
 
 Firefox only runs as root. Every time. I Googled and
 saw that in an early
 version there was a problem that it had to be run
 the _first_ time as root
 but after that it was OK, but thats not the problem
 here--it ONLY runs as
 root all the time. If I type firefox on the
 command line it 
 just immediately returns to the command line, no
 error messages 
 of any sort, nothing in /var/log/messages.
 
 When run as root it seems to be fine. The binary has
 execute 
 permissions for everyone.
 
 What do i need to be doing?
 
 Thanks!
 
 Jen
 
  
 -
 Finding fabulous fares is fun.
 Let Yahoo! FareChase search your favorite travel
 sites to find flight and hotel bargains.
 ___
 freebsd-questions@freebsd.org mailing list

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

What happens if you type firefox on the command line
as a normal user?

Paulette McGee


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Digital Nation Radio Show

2007-03-02 Thread josh
My name is Josh Smith, I am the producer for the Digital Nation, radio show,
based out of Orlando, Fl.  Digital Nation, is about everything electronic and
I would like to know some things about FreeBSD.  Does a drive need to be
partitioned to run it? Can it run on a partitioned drive, while the other
portion runs Windows or Mac OSX?  How secure is it?  What kind of computer will
ideally run it?  Ups and downs?

Thank you,

Josh Smith

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


Re: (S)ATA performance in FBSD 6.2/7.0

2007-03-02 Thread Bruce Evans

On Fri, 2 Mar 2007, Brooks Davis wrote:


Also, you should time the actual copy and do the math to verify that
vmstat is actually producing valid results.  It's possible there's a bug
in vmstat or the underlying statistics it uses.


There is certainly a bug in the underlying statistics.  For ATA disks,
at least with the ata driver, the maximum transfer size in DMA mode
is 64K, so any reports of a block size of 128K for SATA disks are
wrong.  The block size of 128K reported by vmstat is actually a virtual
size.  For most or types of disks, the GEOM layer virtualizes the
physical maximum size MAXPHYS = 128K so that layers above GEOM including
statistics gathering and file systems cannot see the physical size.
For writing large files, this normally confuses ffs and vfs clustering
into producing contiguous writes of 128K.  This is good for efficiency,
but it is not what the hardware sees or what you want for statistics.
The contiguous writes of 128K get split up into 2 sequential writes
of 64K.

However, 64K is more than large enough for efficiency, so the bug in
the underlying statistics doesn't matter, at least if vmstat reports
only 128K blocks.  If it reported 64K-blocks then you would have to
worry about the contiguous block sizes being a mixture of 128K and
much smaller blocks, with the much smaller blocks (actually, more
the seeks across gaps to get to the smaller blocks) being very
inefficient.

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


Where can I get a nVidia driver for FBSD amd64

2007-03-02 Thread Stephen Liu
Hi folks,

FreeBSD 6.2-amd64

I have been searching around for nVidia drvier without result.  X
window can't work properly on this box.  However I'm not alone.  Please
visit following sites

http://www.nvnews.net/vbulletin/showthread.php?t=41545page=15

and

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

The problem existed since 11-28-04, needing a nVidia driver for amd64
FreeBSD.

If you want to run amd64 FreeBSD please stay away with components
running nVidia chipsets.  Otherwise you will run into my situation as
well as other folks on above sites.


B.R.
Stephen Liu 

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]