Re: Typical Network Performance

2010-08-01 Thread Lokadamus

Am 01.08.2010 23:18, schrieb Jason C. Wells:
I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex.  A 1 MiB 
file transfers at 146.7 KiB/s via wput.  The same file transfers at 
91.34 KiB/s via samba.  That's less than 1% of available transfer 
rate.  Seems like my transfers are slow.  I do better than that when 
installing via the internet.


Does the FTP performance compared to available bandwidth seem right?  
Is the relative performance of samba to FTP right?  I read a couple 
quick links on the net which said, "It's complicated."


Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"



Which networkcard is built in?
Do you copy via IP oder DNS?
Can you ping your PCs with name?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released

2010-08-01 Thread Manolis Kiagias
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey all,

I have just completed the first 8.1-RELEASE based build of the 'Custom
releases' project hosted here:

http://freebsd-custom.wikidot.com

At the moment only the 64bit version is available, while a 32bit
version is in the works and is expected later on this week.

You may download the ISO file immediately using the downloads page:

http://freebsd-custom.wikidot.com/downloads-page

This release is based on the latest XFCE desktop and includes a wide
variety of desktop-related packages, like OpenOffice, abiword, gnumeric,
firefox35, gimp, inkscape, evince and so on. The base system is
8.1-RELEASE. A few other small window managers are included like
windowmaker, fluxbox and icewm.

Make sure to read the README file before installation.

Also note that installing linux related packages during initial setup
needs a few
more  steps. This is due to differences in sysinstall between 7.X and
8.X releases. A detailed explanation is provided in the README file.

As always, please report any problems, success stories, comments and
criticisms to mano...@freebsd.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxWYlIACgkQZ/MxGm4PtJQGuQCfXv2zk1PIsQwHjXcYLYh7OAL8
FPQAn3kNgMwYzUJT/VYU/IQdiqU/xCZr
=yqB+
-END PGP SIGNATURE-

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


Re: Printing from linux-firefox

2010-08-01 Thread Wayne Sierke
On Mon, 2010-07-26 at 15:00 +0930, Malcolm Kay wrote:
> Having trouble getting flshh to work with native firefox,
> I decided to try one or other of the linux versions.
> 
> With
> linux-firefox-devel-3.5.9
> I was able to get flash wworking OK.
> But the linux version does not find any any printer access.
> I am using (traditional) lpd for spooling to a Postscript
> network printer.
> 
> Is there something I need to do so that the linux emulation is 
> aware of the native level lpd spooler?
> 
> The native version of firefox finds my printer OK.
> 
> Any help appreciated.
> 
> Malcolm

Hi Malcolm,

I don't use linux-firefox but have previously encountered problems
printing via lpd from Acrobat Reader which use the linux compatibility
sub-system.

You might find the thread containing this message useful for a little
background info:

http://lists.freebsd.org/pipermail/freebsd-emulation/2007-April/003469.html

It looks as though the linux_base package now includes the "lp" script
suggested in that message:

%cat /usr/compat/linux/usr/bin/lp
#!/bin/sh -
exec /usr/bin/lpr "$@"
%pkg_which /usr/compat/linux/usr/bin/lp
linux_base-fc-4_15

For some time now I have been happily printing via lpd from Acrobat
Reader to a network-connected postscript printer by selecting the
"Custom" printer option in Acrobat Reader's "print" dialogue using its
default "/usr/bin/lp" command.

I can't run the native firefox that I normally use at the moment so
cannot check what options firefox offers in its print dialogue but I
hope this info gives you some kind of lead to help you resolve the
problem.


Wayne


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


fnd cause "panic: page fault"

2010-08-01 Thread n dhert
Sometimes my FreeBSD8.0-p4 machine does an automatic reboot after
panic: page fault. (Fatal trap 12: page fault while in kernel mode)
It's at random times.
What in general can be the cause of that?
Is it always due to hardware memory errors?

What else can be a cause, how to find out ?
I have output in /var/crash but don't understand very much of it
and don't know where to look to find the cause.
please help ..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSD logo (a moderate opinion)

2010-08-01 Thread Polytropon
On Mon, 2 Aug 2010 10:13:32 +0700 (ICT), Olivier Nicole 
 wrote:
> Hi,
> 
> > I'd think there wouldn't be much hay surviving in a lake of fire,
> > though.
> 
> If you go fishing in this lake of fire, can you use a trident instead
> of a pitchfork?

Sure, but everything you'll catch will be fish & chips. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: IPv6 rtadv on FreeBSD 8.1?

2010-08-01 Thread Carl Johnson
Carl Johnson  writes:

> I have running versions of 7.3 and 8.0, so I tried experimenting with
> 8.1 in VirtualBox, but I ran into a couple of problems.  I have an 8.0
> system that is running a IPv6 tunnel to sixxs.net, and it is running
> rtadvd to act as the gatway for my network.  On the 8.1 system I
> enabled IPv6 in rc.conf, but it is not picking up the advertised
> address.  I can add it manually, and have put it in rc.local for now,
> but it seems it should work automatically as my others do.  I noticed
> that the ifconfig output shows a new line that is not in 8.0:
> nd6 options=3
>
> Is there something that has changed in 8.1 that I have to enable, or
> is there a problem with 8.1?  IPv6 is working to the extent that it
> did assign a link-local address, and I can use that address as long as
> I specify the interface.  My configuration is the same, and I didn't
> have to enable anything on the others to get the global address
> assigned automatically.

This is a followup to note that it does work when I run it on native
hardware instead of under VirtualBox.  My version of VirtualBox is an
old one (2.1.4) running under Linux, so maybe it has some bugs. I had
installed FreeBSD under VirtualBox, but installed to a primary
partition specifically so that I could later boot directly into it.
The odd thing is that I have a similar FreeBSD 7.3 installation which
does work properly under VirtualBox.

Now if I could just figure out why gnus doesn't work right under emacs
I could finish migrating from Linux to FreeBSD.
-- 
Carl Johnsonca...@peak.org

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


Re: Typical Network Performance

2010-08-01 Thread Corey Smith
On Sun, Aug 1, 2010 at 7:30 PM, David Kelly  wrote:
> Gigabit ethernet from a 2.8 GHz P4 to or from MacPro I am only limited by 
> disk data rate. About 60 MB/sec on one end of the disk, more on the other end 
> of the disk.

Did you try realtime monitoring your network interface?

# route -n get 
interface: 

# netstat -I  -w 1

Do you see errors on the interface?

# netstat -I 

Another trick to eliminate disk io from the equation is to use nc:

machine1 :
# nc -o -l 2000 > /dev/null

machine2:
# dd if=/dev/zero bs=1M count=50 | nc machine1 2000

-Corey Smith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSD logo (a moderate opinion)

2010-08-01 Thread Olivier Nicole
Hi,

> I'd think there wouldn't be much hay surviving in a lake of fire,
> though.

If you go fishing in this lake of fire, can you use a trident instead
of a pitchfork?

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


Re: BSD logo (a moderate opinion)

2010-08-01 Thread Chad Perrin
On Sat, Jul 31, 2010 at 03:55:11PM +0100, Frank Shute wrote:
> 
> A pitchfork has 2 tines a trident (which is what Beastie carries) has
> 3.

Actually, pitchforks typically have four.  Two would be a fauchard or
military fork -- a weapon of war.  Tridents, meanwhile, are better suited
to fishing, while pitchforks are designed to sling hay on a farm.  None
of the above have anything to do with devils, per se, though pitchforks
are occasionally portrayed in devilish images for some reason.  I'd think
there wouldn't be much hay surviving in a lake of fire, though.


> 
> Interestingly, the trident seems to appear in a number of religions.
> 
> Shiva carries one:
> 
> http://en.wikipedia.org/wiki/File:Shiva_cropped.jpg
> 
> as does Poseidon IIRC.
> 
> So maybe Beastie is a disabled Hindu! (missing 2 arms).

Not all Hindu deities have that many arms, y'know.  Ayyappa, Rama, and
Krishna come to mind.  Maybe he's just among those Hindu deities.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp9viBbFKEay.pgp
Description: PGP signature


Re: Installing a system to use both gjournal and gmirror

2010-08-01 Thread perryh
Aram H??v??rneanu  wrote:
> On Sat, Jul 31, 2010 at 12:38 PM,   wrote:
> > I've read the Handbook sections on gmirror and gjournal, and
> > the gjournal-desktop article, and I'm still unclear on how to
> > go about setting up a configuration that uses both.
>
> I have GPT disks and do GEOM mirror for / plus GEOM stripe
> for everything else. Everything is using GEOM Journal and the
> filesystem is UFS2.
>
> excelsior% gpart show
> =>   34  625142381  ad4  GPT  (298G)
>  341281  freebsd-boot  (64K)
> 16241943042  freebsd-ufs  (2.0G)
> 419446641943043  freebsd-swap  (2.0G)
> 838877062914564  freebsd-ufs  (3.0G)
>14680226   209715205  freebsd-ufs  (10G)
>35651746   104857606  freebsd-ufs  (5.0G)
>46137506  5790049097  freebsd-ufs  (276G)
> 
> =>   34  625142381  ad6  GPT  (298G)
>  341281  freebsd-boot  (64K)
> 16241943042  freebsd-ufs  (2.0G)
> 419446641943043  freebsd-swap  (2.0G)
> 838877062914564  freebsd-ufs  (3.0G)
>14680226   209715205  freebsd-ufs  (10G)
>35651746   104857606  freebsd-ufs  (5.0G)
>46137506  5790049097  freebsd-ufs  (276G)
> 
> excelsior% gmirror status
>   NameStatus  Components
> mirror/rootmirror0  COMPLETE  ad4p2
>   ad6p2
>
> excelsior% gstripe status
> Name  Status  Components
>stripe/varstripe0  UP  ad4p4
>   ad6p4
>stripe/usrstripe0  UP  ad4p5
>   ad6p5
> stripe/usrobjstripe0  UP  ad4p6
>   ad6p6
>   stripe/tankstripe0  UP  ad4p7
>   ad6p7
>
> excelsior% gjournal status
> Name  Status  Components
>   mirror/rootmirror0.journal N/A  mirror/rootmirror0
>stripe/varstripe0.journal N/A  stripe/varstripe0
>stripe/usrstripe0.journal N/A  stripe/usrstripe0
> stripe/usrobjstripe0.journal N/A  stripe/usrobjstripe0
>   stripe/tankstripe0.journal N/A  stripe/tankstripe0
...



Very nice.  How did you go about installing the system, to produce
that configuration?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mrtg-2.16.2_6,1 does not run with perl-5.12.1_1

2010-08-01 Thread Jon Theil Nielsen
Hi list

After upgrading perl according to UPDATING, I cannot use mrtg anymore. The
error message is:

Bareword "P_DETACH" not allowed while "strict subs" in use at
/usr/local/lib/perl5/site_perl/5.12.1/MRTG_lib.pm line 1172.
Compilation failed in require at /usr/local/bin/mrtg line 89.
BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 89.

I filled a PR on this but haven't seen any answers/solutions:
http://www.freebsd.org/cgi/query-pr.cgi?pr=148914

Am I the only one having this problem?

If the port needs upgrading (as suggested in my PR), but this does not
happen, how can I fix it myself?

Cheers,
Jon
-- 
Jon Theil Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Setting Debug flag in /etc/make.conf

2010-08-01 Thread Anonymous
(resending, previous mail didn't show up in the list archive)

Jerry  writes:

> I have been having problems with several different programs lately.
> Would there be any serious drawback to simply setting: "WITH_DEBUG= "

You'd lose `-O2' compiler-specific optimization. If you want to retain
it use DEBUG_FLAGS, e.g.

  DEBUG_FLAGS = -ggdb
  CFLAGS += ${DEBUG_FLAGS}

Ports that build using bsdmake don't really need the second line as well
as buildworld.

> in the /etc/make.conf file to force everything I build/rebuild to be
> built with debug symbols? I am assuming that I can simply place that
> flag in the make.conf file. Do I have to also give it a value; i.e "=1"
> or "=yes" also?

Besides symbols some ports enable compile-time debugging and disable
optimization using WITH_DEBUG ifdef that may impact performance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing a system to use both gjournal and gmirror

2010-08-01 Thread Aram Hăvărneanu
On Sat, Jul 31, 2010 at 12:38 PM,   wrote:
> I've read the Handbook sections on gmirror and gjournal, and the
> gjournal-desktop article, and I'm still unclear on how to go about
> setting up a configuration that uses both.

I have GPT disks and do GEOM mirror for / plus GEOM stripe for
everything else. Everything is using GEOM Journal and the filesystem
is UFS2.

excelsior% gmirror status
  NameStatus  Components
mirror/rootmirror0  COMPLETE  ad4p2
  ad6p2
excelsior% clear
%
excelsior% gpart show
=>   34  625142381  ad4  GPT  (298G)
 341281  freebsd-boot  (64K)
16241943042  freebsd-ufs  (2.0G)
419446641943043  freebsd-swap  (2.0G)
838877062914564  freebsd-ufs  (3.0G)
   14680226   209715205  freebsd-ufs  (10G)
   35651746   104857606  freebsd-ufs  (5.0G)
   46137506  5790049097  freebsd-ufs  (276G)

=>   34  625142381  ad6  GPT  (298G)
 341281  freebsd-boot  (64K)
16241943042  freebsd-ufs  (2.0G)
419446641943043  freebsd-swap  (2.0G)
838877062914564  freebsd-ufs  (3.0G)
   14680226   209715205  freebsd-ufs  (10G)
   35651746   104857606  freebsd-ufs  (5.0G)
   46137506  5790049097  freebsd-ufs  (276G)

excelsior% gmirror status
  NameStatus  Components
mirror/rootmirror0  COMPLETE  ad4p2
  ad6p2
excelsior% gstripe status
Name  Status  Components
   stripe/varstripe0  UP  ad4p4
  ad6p4
   stripe/usrstripe0  UP  ad4p5
  ad6p5
stripe/usrobjstripe0  UP  ad4p6
  ad6p6
  stripe/tankstripe0  UP  ad4p7
  ad6p7
excelsior% gjournal status
Name  Status  Components
  mirror/rootmirror0.journal N/A  mirror/rootmirror0
   stripe/varstripe0.journal N/A  stripe/varstripe0
   stripe/usrstripe0.journal N/A  stripe/usrstripe0
stripe/usrobjstripe0.journal N/A  stripe/usrobjstripe0
  stripe/tankstripe0.journal N/A  stripe/tankstripe0
excelsior% mount
/dev/mirror/rootmirror0.journal on / (ufs, local, gjournal)
devfs on /dev (devfs, local, multilabel)
/dev/stripe/usrstripe0.journal on /usr (ufs, local, gjournal)
/dev/stripe/varstripe0.journal on /var (ufs, local, gjournal)
/dev/stripe/usrobjstripe0.journal on /usr/obj (ufs, local, gjournal)
/dev/stripe/tankstripe0.journal on /tank (ufs, local, gjournal)
excelsior% cat /boot/loader.conf
geom_mirror_load="YES"
geom_stripe_load="YES"
geom_journal_load="YES"

vfs.root.mountfrom="ufs:/dev/mirror/rootmirror0.journal"
vfs.root.mountfrom.options="rw"

excelsior% cat /etc/fstab
#Device MountPoint  FsType  Options DumpPass#
/dev/gpt/swap0  noneswapsw  0   0
/dev/gpt/swap1  noneswapsw  0   0
/dev/mirror/rootmirror0.journal /   ufs rw  1   1
/dev/stripe/usrstripe0.journal  /usrufs rw  2   2
/dev/stripe/varstripe0.journal  /varufs rw  2   2
/dev/stripe/usrobjstripe0.journal   /usr/objufs rw
 2   2
/dev/stripe/tankstripe0.journal /tank   ufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto 0 0

excelsior% ls /dev/mirror
rootmirror0 rootmirror0.journal
excelsior% ls /dev/stripe
tankstripe0 usrobjstripe0.journal   varstripe0
tankstripe0.journal usrstripe0  varstripe0.journal
usrobjstripe0   usrstripe0.journal
excelsior%

-- 
Aram Hăvărneanu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Typical Network Performance

2010-08-01 Thread David Kelly

On Aug 1, 2010, at 4:18 PM, Jason C. Wells wrote:

> I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex.  A 1 MiB file 
> transfers at 146.7 KiB/s via wput.  The same file transfers at 91.34 KiB/s 
> via samba.  That's less than 1% of available transfer rate.  Seems like my 
> transfers are slow.  I do better than that when installing via the internet.
> 
> Does the FTP performance compared to available bandwidth seem right?  Is the 
> relative performance of samba to FTP right?  I read a couple quick links on 
> the net which said, "It's complicated."

Gigabit ethernet from a 2.8 GHz P4 to or from MacPro I am only limited by disk 
data rate. About 60 MB/sec on one end of the disk, more on the other end of the 
disk. 

--
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.



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


Re: Installing 8.1-RELEASE from the memstick

2010-08-01 Thread bdsfbsd

On Sat, 31 Jul 2010 05:03:07 -0400,  wrote:


When installing from the 8.1-RELEASE memstick, what is the correct
selection for Installation Media?  I'm not finding any mention of
memstick in the Handbook.


You want USB (assuming you did put the image on an actual memstick and not  
a CD or some other such oddity), but you may have tried that and had the  
some problem I was.


I just did a memstick install yesterday and it wouldn't let me select USB  
as the install media, it said not found or something, but stumbled on the  
simple fix:


When it comes time to select the media, go to the 'View/Set various  
installation options' screen instead. Press up-arrow a couple times to get  
to 'Re-scan devices' and press the space bar. In my case, it happens so  
quick that it doesn't look like anything actually happens, but it did  
really do something. Press Q to go back to the install menu, and go ahead  
to 'Media' and pick USB. It should then say 'Using USB device: da0a'.



HTH,

Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: possible NFS lockups

2010-08-01 Thread Rick Macklem
> From: "Sam Fourman
> On Tue, Jul 27, 2010 at 10:29 AM, krad  wrote:
> > I have a production mail system with an nfs backend. Every now and
> > again we
> > see the nfs die on a particular head end. However it doesn't die
> > across all
> > the nodes. This suggests to me there isnt an issue with the filer
> > itself and
> > the stats from the filer concur with that.
> >
> > The symptoms are lines like this appearing in dmesg
> >
> > nfs server 10.44.17.138:/vol/vol1/mail: not responding
> > nfs server 10.44.17.138:/vol/vol1/mail: is alive again
> >
> > trussing df it seems to hang on getfsstat, this is presumably when
> > it tries
> > the nfs mounts
> >
> 
> I also have this problem, where nfs locks up on a FreeBSD 9 server
> and a FreeBSD RELENG_8 client
> 
If by RELENG_8, you mean 8.0 (or pre-8.1), there are a number
of patches for the client side krpc. They can be found at:
http://people.freebsd.org/~rmacklem/freebsd8.0-patches

(These are all in FreeBSD8.1, so ignore this if your client is
already running FreeBSD8.1.)

rick
ps: "lock up" can mean many things. The more specific you can
be w.r.t. the behaviour, the more likely it can be resolved.
For example:
- No more access to the subtree under the mount point is
  possible until the client is rebooted. When a "ps axlH"
  one process that was accessing a file in the mount point
  is shown with WCHAN rpclock and STAT DL.
vs
- All access to the mount point stops for about 1minute
  and then recovers.

Also, showing what mount options are being used by the
client and whether or not rpc.lockd and rpc.statd are
running can also be useful.
And if you can look at the net ttraffic with wireshark
when it is locked up and see if any NFS traffic is
happening can also be useful.

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


Re: make installworld fails

2010-08-01 Thread Gardner Bell
--- On Sun, 8/1/10, Caleb Stein  wrote:

> From: Caleb Stein 
> Subject: make installworld fails
> To: "freebsd-questions@freebsd.org" 
> Date: Sunday, August 1, 2010, 9:43 PM
> I am trying to update my FreeBSD 8.0
> to FreeBSD 8.1.  Here is the order I ran the commands
> in (all as root):
> 
> cd /usr/src
> make buildworld
> make buildkernel
> shutdown now
> make installkernel
> shutdown -r now
> adjkerntz -i
> mount -a -t ufs
> mergemaster -p
> cd /usr/src
> make installworld
> mergemaster
> reboot
> 
> But I didn't get to run the last two.  When I run make
> installworld, I get errors telling me that the filesystem is
> full.  Now, I can assure you it is not.  Well,
> basically, what I am asking is why is the filesystem full
> after installing the new kernel?

You are supposed to make installkernel before rebooting to single user.

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

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


Re: Typical Network Performance

2010-08-01 Thread David Brodbeck


On Aug 1, 2010, at 2:18 PM, Jason C. Wells wrote:

I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex.  A 1 MiB  
file transfers at 146.7 KiB/s via wput.  The same file transfers at  
91.34 KiB/s via samba.  That's less than 1% of available transfer  
rate.  Seems like my transfers are slow.  I do better than that when  
installing via the internet.


Does the FTP performance compared to available bandwidth seem  
right?  Is the relative performance of samba to FTP right?  I read a  
couple quick links on the net which said, "It's complicated."


Those figures do  seem a little low.  Some stuff to check:

Are transfers in one direction a lot faster than transfers in the  
other?  If so, the machines and the network switch may not all be  
agreeing on the duplex mode.  Auto-negotiation sometimes fails and can  
lead to a lot of silent collisions, slowing things down dramatically.


How about the disk you're transferring from? Is it limiting the speed?  
Those figures would be fairly normal for a USB 1.0 drive, for example.


Are you sure all the machines involved are operating at 100 mbps?   
I've seen them silently fall back to 10 when there's a bad cable  
involved.


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


Typical Network Performance

2010-08-01 Thread Jason C. Wells
I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex.  A 1 MiB file 
transfers at 146.7 KiB/s via wput.  The same file transfers at 91.34 
KiB/s via samba.  That's less than 1% of available transfer rate.  Seems 
like my transfers are slow.  I do better than that when installing via 
the internet.


Does the FTP performance compared to available bandwidth seem right?  Is 
the relative performance of samba to FTP right?  I read a couple quick 
links on the net which said, "It's complicated."


Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


make installworld fails

2010-08-01 Thread Caleb Stein
I am trying to update my FreeBSD 8.0 to FreeBSD 8.1.  Here is the order I  
ran the commands in (all as root):


cd /usr/src
make buildworld
make buildkernel
shutdown now
make installkernel
shutdown -r now
adjkerntz -i
mount -a -t ufs
mergemaster -p
cd /usr/src
make installworld
mergemaster
reboot

But I didn't get to run the last two.  When I run make installworld, I get  
errors telling me that the filesystem is full.  Now, I can assure you it  
is not.  Well, basically, what I am asking is why is the filesystem full  
after installing the new kernel?

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


Re: Question on Swapping

2010-08-01 Thread Doug Hardie

On 1 August 2010, at 03:42, RW wrote:

> On Sun, 1 Aug 2010 01:12:27 -0700
> Doug Hardie  wrote:
> 
>> I have a question about what I am seeing on several servers.  These
>> are 4 core machines with more than the needed memory.  Load is never
>> above .5 and memory usually shows over half free.  I have never seen
>> it even close to the limit (including buffers).  Basically these are
>> lightly used servers.  However, top often shows after a few weeks of
>> uptime that some of the unused gettys are swapped out. 
> 
> Do you have vm.swap_idle_enabled?

No it is set to 0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sudo -K/-k ineffective

2010-08-01 Thread Gurpreet Singh
I don't see anything suspicious in the timestamp directory:

foo% sudo ls -l /var/run/sudo/
total 12
drwx--  2 root  wheel  512 Aug  2 01:06 gurpreet
drwx--  2 root  wheel  512 Aug  2 00:37 other
drwx--  2 root  wheel  512 Aug  2 00:37 third

foo% sudo ls -l /var/run/sudo/gurpreet
total 8
-rw---  1 root  wheel  20 Aug  2 01:07 0
-rw---  1 root  wheel  20 Aug  2 00:59 1

also, the FS containing this directory (/ itself) is mounted without
noatime.

foo% mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local, multilabel)


2010/8/2 Michael Grünewald 

> Hi,
>
> Lowell Gilbert wrote:
>
>> me  writes:
>>
>>> Upon doing sudo  as a normal user (non-root), sudo asks for
>>>
>>> password only once, subsequent invocations of sudo doesn't ask for
>>> password
>>> - even though I do sudo -k or sudo -K in between.
>>> Although sudo starts asking for password after the time stamp expiry.
>>>
>> [...]
>>
>> I don't think sudo even knows about pam(3), so I'm not sure what could
>> be happening here...
>>
>
> Maybe there is something funny with sudo's timestamp directory?  If it is
> mounted with option `noatime' it may have consequences similar to what you
> discribe.
>
> Michael
>



-- 
Life is not fair. Get used to it.  Be nice to nerds. Chances are you'll
end up working for one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sudo -K/-k ineffective

2010-08-01 Thread Michael Grünewald

Hi,

Lowell Gilbert wrote:

me  writes:

Upon doing sudo  as a normal user (non-root), sudo asks for
password only once, subsequent invocations of sudo doesn't ask for password
- even though I do sudo -k or sudo -K in between.
Although sudo starts asking for password after the time stamp expiry.

[...]
I don't think sudo even knows about pam(3), so I'm not sure what could
be happening here...


Maybe there is something funny with sudo's timestamp directory?  If it 
is mounted with option `noatime' it may have consequences similar to 
what you discribe.


Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sudo -K/-k ineffective

2010-08-01 Thread Lowell Gilbert
me  writes:

> Hi,
>
> Upon doing sudo  as a normal user (non-root), sudo asks for
> password only once, subsequent invocations of sudo doesn't ask for password
> - even though I do sudo -k or sudo -K in between.
> Although sudo starts asking for password after the time stamp expiry.
>
> in other words:
>
> % sudo mkdir /newdir
>  successful authentication>
>
> % sudo -k
>
> % sudo -K
>
> % sudo mkdir /another_new_dir
> 
>
> In sudoers file, NOPASSWD is NOT set.
> here is my sudeors file: http://pastebin.com/WFnXCLE1
>
> Output of "uname -a":
> FreeBSD foo.bar 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
> 2010
> r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>
> Is this known bug? If not, then it might have security implications.

It certainly might, for anyone using the -[kK] options.

However, I can't reproduce it.  Works as advertised when I try your
example.  The only settings in my sudoers file are 
"timestamp_timeout=90,insults,!tty_tickets,!env_reset"
(for my own account only).

And your sudoers file seems to be factory standard.  

I don't think sudo even knows about pam(3), so I'm not sure what could
be happening here...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing 8.1-RELEASE from the memstick

2010-08-01 Thread Warren Block

On Sun, 1 Aug 2010, Samuel Mart?n Moro wrote:


I installed my 8.1 using an usb stick and the disc1.iso image**.
When I had to choose insallation media source, I couldn't choose USB drive
nor CD (media not found or so).


"USB drive" would probably mean a USB drive that's not the boot drive, 
maybe with a more common file system like FAT32 or NTFS.  That menu 
entry may need rewording.


An extracted CD image isn't a CD any more, so that's not it either.

"File System" is probably the right choice when the installation files 
are in a directory on the USB stick (untested by me, though).

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


TEKEN_UTF8 TEKEN_XTERM

2010-08-01 Thread Chris Telting

Just wondering if anyone else has played with this?

I compiled it into the kernel but the terms are still cons25.

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


Is VTC dead?

2010-08-01 Thread Chris Telting
Googling around I discovered VTC 
 and it looks interesting.  A 
graphical syscons terminal.


I'm surprised there isn't more interest.

Is the group that worked on this concept dead?

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


help for "elf_load_section: truncated ELF file"

2010-08-01 Thread 赵建凯
Deal All:
When I am compiling the kernel of FreeBSD-8.1RC2, I meet a problem.
In detail:
>>> stage 2.3: build tools
--
cd /usr/obj/usr/src/sys/MYKERNEL;
MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make SSP_CFLAGS=
-DNO_CPU_CFLAGS -DNO_CTF  -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original
/usr/obj/usr/src/sys/MYKERNEL
yacc -b aicasm_gram  -d -o aicasm_gram.c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
elf_load_section: truncated ELF file
cc: Internal error: Abort trap: 6 (program cc1)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html > for
instructions.
*** Error code 1
Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?

2010-08-01 Thread Roland Smith
On Tue, Jul 27, 2010 at 10:23:49AM +0100, Anton Shterenlikht wrote:
> Hi
> 
> I've HP Compaq 6715s laptop. I'm trying
> to get wireless working. The laptop has
> Intel 4965 4965AGN wireless WiFi PCI-E card 802.11N AGN
> which is supported by iwn(4). I compiled iwn support
> into the kernel as suggested by the man page.

Did you also compile in the correct firmware module?

> However, the card doesn't appear in dmesg or
> in pciconf -lv.

Hmm. My 5100 AGN is correctly detected and used;

i...@pci0:14:0:0:   class=0x028000 card=0x12018086 chip=0x42328086 rev=0x00 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Carte Intel WiFi Link 5100 AGN (Intel WiFi Link 5100)'
class  = network

iwn0:  mem 0xf220-0xf2201fff irq 18 at device 
0.0 on pci14
iwn0: MIMO 1T2R, MoW, address 00:22:fa:a3:b6:50
iwn0: [ITHREAD]
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M

> The laptop has a wireless toggle button, which is supposed
> to enable/disable wireless. There is also an LED, which
> lights on when wireless is enabled, and goes off
> when wireless is off. Well, at least this is what
> should happen.
> 
> On boot the LED is on.
> 
> If I press the button to disable wireless, the LED goes
> off and in dmesg I see:
> 
> ugen0.2:  at usbus0 (disconnected)
> 
> When I switch wireless back on again I see in dmesg:
> 
> ugen0.2:  at usbus0
> Does this mean that wireless sits on USB bus?

I don't think so. I think this is some kind of management interface? I get the
same messages when I switch off my 5100 AGN.
 
> Does this give me a clue about how to debug
> the problem further?

It puzzles me that it is not seen in the pciconf output. Could it be that the
wireless is disabled in the laptop's BIOS?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpo5SnleRoDv.pgp
Description: PGP signature


Re: Installing a system to use both gjournal and gmirror

2010-08-01 Thread krad
On 1 August 2010 05:10,  wrote:

> krad  wrote:
>
> > have a play with the latest pc-bsd disk if you are having issues.
> > It will install a native freebsd, and supports gmirror and
> > gjournal. You can do it via a script type install or GUI.
>
> I'm not to the point of having issues yet :)
>
> I haven't found any instructions on the pc-bsd site for setting up
> journalling -- only some dmesg excerpts which suggest that it is in
> fact available and (in at least one case) the journal and data were
> indeed on the same partition -- but maybe my google-fu is not strong
> enough.  Searches for info regarding mirroring are overwhelmed by
> mentions of the word in the context of download sites.
>


this is the standard pc-sysinstall config for gmirror. If you add a +J to
the ufs config it should do what you want


http://trac.pcbsd.org/browser/pcbsd/trunk/pc-sysinstall/examples/pcinstall.cfg.gmirror?rev=6228
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Setting Debug flag in /etc/make.conf

2010-08-01 Thread Jerry
I have been having problems with several different programs lately.
Would there be any serious drawback to simply setting: "WITH_DEBUG= "
in the /etc/make.conf file to force everything I build/rebuild to be
built with debug symbols? I am assuming that I can simply place that
flag in the make.conf file. Do I have to also give it a value; i.e "=1"
or "=yes" also?

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Which is worse: ignorance or apathy?  Who knows?  Who cares?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question on Swapping

2010-08-01 Thread RW
On Sun, 1 Aug 2010 01:12:27 -0700
Doug Hardie  wrote:

> I have a question about what I am seeing on several servers.  These
> are 4 core machines with more than the needed memory.  Load is never
> above .5 and memory usually shows over half free.  I have never seen
> it even close to the limit (including buffers).  Basically these are
> lightly used servers.  However, top often shows after a few weeks of
> uptime that some of the unused gettys are swapped out. 

 Do you have vm.swap_idle_enabled?

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


Re: Installing 8.1-RELEASE from the memstick

2010-08-01 Thread Samuel Martín Moro
I installed my 8.1 using an usb stick and the disc1.iso image**.
When I had to choose insallation media source, I couldn't choose USB drive
nor CD (media not found or so).

AFAIK, it was broken on 7.2, but the good news is that FTP install seems to
work pretty well.


**:
fdisk on your stick, creating a bootable partition, then newfs to create it
mount the disc1.iso file and copy its content in your new partition



Samuel Martín Moro
{EPITECH.} tek4
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 Allée de la Venelle
  92150 Suresnes
  FRANCE

"Nobody wants to say how this works.
  Maybe nobody knows ..."
  Xorg.conf(5)


On Sun, Aug 1, 2010 at 10:36 AM, Thomas Mueller
wrote:

> B is Install from a USB Drive.
> That seems to cover your situation.
>
> You can also install fro
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing 8.1-RELEASE from the memstick

2010-08-01 Thread Thomas Mueller
> When installing from the 8.1-RELEASE memstick, what is the correct
> selection for Installation Media?  I'm not finding any mention of
> memstick in the Handbook.

I went to the handbook online, and in 
Section 2.8, Figure 2.27. Choose Installation Media
Option 9 USB is Install from a USB Drive.
That seems to cover your situation.

You can also install from a DOS partition or from an existing filesystem, or
from floppy disk set or FTP server, or from a FreeBSD CD or DVD.


Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Question on Swapping

2010-08-01 Thread Doug Hardie
I have a question about what I am seeing on several servers.  These are 4 core 
machines with more than the needed memory.  Load is never above .5 and memory 
usually shows over half free.  I have never seen it even close to the limit 
(including buffers).  Basically these are lightly used servers.  However, top 
often shows after a few weeks of uptime that some of the unused gettys are 
swapped out.  I didn't really expect this as lack of memory is not an issue.  
Is there something in FreeBSD 7 and 8 that causes a process thats idle for very 
log times to get swapped out?  I haven't seen anything like that in the various 
documentation files, but it sure looks like thats the 
case.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Clear and FBSD

2010-08-01 Thread Christer Solskogen
On Sun, Aug 1, 2010 at 4:49 AM, Lars Eighner  wrote:
> Does Clear:
>
> 1) Work with FreeBSD --- you just plug it in.
>

No reason to plug in. It's already there.
(try 'man clear')

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"