Using march=native in /etc/make.conf

2010-02-23 Thread Carmel
I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
dual processor. I want to set it up as a sort of test machine. There
does not seem to be a specific setting for 'cpu-type' or 'march' for
this machine. I have notices on some Linux forums that they recommend
using the 'native' keyword; i.e., march=native in the 'make.conf'
file to get the most optimization out of the CPU. Would that be correct
for FreeBSD also? Would it also be appropriate for other CPUs as well?

Thanks :-)

--
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

The hardest thing in the world to understand is the income tax.


Albert Einstein

___
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


Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread Angelin Lalev
Well, Windows 7 isn't playing nicely with FreeBSD (and some other OS systems).
I have my first primary partition (MBR scheme) installed with Windows 7
and I want to have FreeBSD as second primary partition. Eventually, I
want to have
Ubuntu on my first and second extended partitions.
Any suggestions?
___
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: Using march=native in /etc/make.conf

2010-02-23 Thread RW
On Tue, 23 Feb 2010 06:41:04 -0500
Carmel carmel...@hotmail.com wrote:

 I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
 dual processor. I want to set it up as a sort of test machine. There
 does not seem to be a specific setting for 'cpu-type' or 'march' for
 this machine. I have notices on some Linux forums that they recommend
 using the 'native' keyword; i.e., march=native in the 'make.conf'
 file to get the most optimization out of the CPU. Would that be
 correct for FreeBSD also? Would it also be appropriate for other CPUs
 as well?

FreeBSD sets march and other default settings based on CPUTYPE. It's
probably better to set that.
___
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: Raid

2010-02-23 Thread Sergio Tam
2010/2/22 Nick Mackowski nmackow...@new.rr.com:
 Hi I have a Hp Pavillion dv8 with dual sata drives.  What program do I need 
 to raid this thing.  I installed a second hard drive after I bought it..  I 
 am not sure what I need.


Hi Nick


http://lantech.geekvenue.net/chucktips/jason/chuck/1175552464/index_html


Regards.
___
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: Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread Polytropon
On Tue, 23 Feb 2010 14:20:27 +0200, Angelin Lalev lalev.ange...@gmail.com 
wrote:
 Well, Windows 7 isn't playing nicely with FreeBSD (and some other OS systems).
 I have my first primary partition (MBR scheme) installed with Windows 7
 and I want to have FreeBSD as second primary partition. Eventually, I
 want to have
 Ubuntu on my first and second extended partitions.
 Any suggestions?

FreeBSD brings its own boot manager that can be installed.
As far as I know, it should be installed after the Windows
installation, because it would be overwritten otherwise.

If you're planning to also use Linux, I think GRUB may
be a good solution.

As I am not using multi-boot environments, I can't be
more precise. But go ahead and try the presented suggestions.


-- 
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: Using march=native in /etc/make.conf

2010-02-23 Thread Ivan Voras

On 02/23/10 13:21, RW wrote:

On Tue, 23 Feb 2010 06:41:04 -0500
Carmelcarmel...@hotmail.com  wrote:


I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
dual processor. I want to set it up as a sort of test machine. There
does not seem to be a specific setting for 'cpu-type' or 'march' for
this machine. I have notices on some Linux forums that they recommend
using the 'native' keyword; i.e., march=native in the 'make.conf'
file to get the most optimization out of the CPU. Would that be
correct for FreeBSD also? Would it also be appropriate for other CPUs
as well?


FreeBSD sets march and other default settings based on CPUTYPE. It's
probably better to set that.


Yes but the old version of gcc in FreeBSD (4.2) is lacking support for 
modern CPUs. Using march=native is fine.


___
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: Physic to KVM VPS server FREEBSD 8.0 STABLE

2010-02-23 Thread Ivan Voras

On 02/22/10 23:17, Jeronimo Calvo wrote:


How can I get rid of this message, making the system ignore it? Is
not causing any apparent problem apart of the funny flooding...


Try commenting out or modifying the first active line in 
/etc/sylog.conf. If that doesn't work there's probably no simple way to 
do it.


___
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: Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread Leslie Jensen


Angelin Lalev skrev 2010-02-23 13:20:

Well, Windows 7 isn't playing nicely with FreeBSD (and some other OS systems).
I have my first primary partition (MBR scheme) installed with Windows 7
and I want to have FreeBSD as second primary partition. Eventually, I
want to have
Ubuntu on my first and second extended partitions.
Any suggestions?
___



I use the following boot manager because when I set this up there was 
new behaviour of the Windows Vista boot method and it didn't play well 
with Freebsd's bootmanager. Today I run Windows 7 and Freebsd 8 on this 
system.


http://neosmart.net/dl.php?id=1

You can find instructions in bsdmag on how to set it up.

http://bsdmag.org/app/files/download?attachment=attachment1model=Articlemodel_id=9300portal_id=134

Or

http://bsdmag.org/pdf-articles

And choose

Download Free Issue: FreeBSD Ins  Outs

/Leslie

___
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


Netgraph VLan support

2010-02-23 Thread Ross Cameron
Hi there all

I've trying to setup nested VLans using netgraph and most of my
googling suggests that this can be done.
But alas it is not working on this side. I'm running a standard
FreeBSD 8.0-RELEASE-p2 AMD64.

The below works just fine and creates a perfectly functional Vlan
interface ngeth0:

ifconfig bge0 10.123.0.1 netmask 255.255.255.0
kldload ng_ether
kldload ng_vlan
ngctl mkpeer bge0: vlan lower downstream
ngctl name bge0:lower vlanL1
ngctl connect bge0: vlanL1: upper nomatch
ngctl mkpeer vlanL1: eiface vlan3555 ether
ngctl msg vlanL1: addfilter '{ vlan=3555 hook=vlan3555 }'
ifconfig ngeth0 link 00:1a:4b:d4:3e:c2
ifconfig ngeth0 10.124.0.1 netmask 255.255.255.0

The below however does not and just throws an error :
-
ngctl mkpeer ngeth0: vlan lower downstream
ngctl name ngeth0:lower vlanL2
ngctl connect ngeth0: vlanL2: upper nomatch
ngctl mkpeer vlanL2: eiface vlan2555 ether
ngctl msg vlanL2: addfilter '{ vlan=2555 hook=vlan2555 }'
ifconfig ngeth1 link 00:1a:4b:d4:3e:c2
ifconfig ngeth1 10.125.0.1 netmask 255.255.255.0

The error is:

ngctl: send msg: Protocol family not supported
ngctl: send msg: No such file or directory



Any advice?





-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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: Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread Rod Person

On Tue, 23 Feb 2010 08:23:44 -0500, Leslie Jensen les...@eskk.nu wrote:



Angelin Lalev skrev 2010-02-23 13:20:
Well, Windows 7 isn't playing nicely with FreeBSD (and some other OS  
systems).

I have my first primary partition (MBR scheme) installed with Windows 7
and I want to have FreeBSD as second primary partition. Eventually, I
want to have
Ubuntu on my first and second extended partitions.
Any suggestions?
___



I use the following boot manager because when I set this up there was  
new behaviour of the Windows Vista boot method and it didn't play well  
with Freebsd's bootmanager. Today I run Windows 7 and Freebsd 8 on this  
system.


http://neosmart.net/dl.php?id=1

You can find instructions in bsdmag on how to set it up.



I'm using GAG
http://gag.sourceforge.net/


--
Using Opera's 10.50 pre-Alpha -- because I'm a f*cking maniac!
___
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: Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread AngryWolf
Even if you installed FreeBSD *before* Windows, you can restore the 
FreeBSD boot manager with sysinstall (select the Custom installation 
from the main menu), for example. Or GRUB can also be another way to go, 
of course.


--
AngryWolf

On 2010.02.23. 13:58, Polytropon wrote:

FreeBSD brings its own boot manager that can be installed.
As far as I know, it should be installed after the Windows
installation, because it would be overwritten otherwise.

If you're planning to also use Linux, I think GRUB may
be a good solution.

As I am not using multi-boot environments, I can't be
more precise. But go ahead and try the presented suggestions.
   

___
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


A recent update to vlc requires gnme-vfs, which requires kerberos

2010-02-23 Thread Steven Friedrich
Can anyone shed light on this?

I don't want to run kerberos...
___
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: Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread krad
or simply do an

fdisk -B
bsdlabel -B /dev/ad0s2

or similar

On 23 February 2010 13:16, AngryWolf angrywolf2...@gmail.com wrote:

 Even if you installed FreeBSD *before* Windows, you can restore the FreeBSD
 boot manager with sysinstall (select the Custom installation from the main
 menu), for example. Or GRUB can also be another way to go, of course.

 --
 AngryWolf


 On 2010.02.23. 13:58, Polytropon wrote:

 FreeBSD brings its own boot manager that can be installed.
 As far as I know, it should be installed after the Windows
 installation, because it would be overwritten otherwise.

 If you're planning to also use Linux, I think GRUB may
 be a good solution.

 As I am not using multi-boot environments, I can't be
 more precise. But go ahead and try the presented suggestions.


 ___
 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: IDE ZIP100 Drive

2010-02-23 Thread Programmer In Training
On 02/22/10 14:32, Programmer In Training wrote:
 Second attempt to post this to the list. Please bear with me as I'm
 having issues with my posts to the list not always making it through.
 
 OK, after some searching I've come up (almost) empty handed[0-1].
 Everything else I've found so far for IOMEGA ZIP100 drives deals with
 the external drive (either USB or parallel port). I've not seen anything
 in dmesg or /var/log/messages that would indicate that the device is
 being detected by anything on boot aside from the BIOS. I'm not sure of
snip

OK, upon a second reboot (for something unrelated), the device is
detected (but I think only because I had the disk in the drive at the
time). Now I'm having mount issues. First, it's entry in dmesg:

afd0: 95MB IOMEGA ZIP 100 ATAPI 13.A at ata0-slave PIO0

I'm issuing the following command with the following results:

mount_msdosfs /dev/afd0 /mnt/zip
mount_msdosfs: /dev/afd0: Invalid argument

The man page for mount and mount_msdosfs gives no clue on why that's an
invalid argument. When executed, the drive is accessed, then a moment
later it errors out as above. I've tried afd1 through afd4, I just get
no such file or directory errors.

I'd like to use the zip drive to back up my private keys from GnuPG and
other important data.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Re: Dual booting Windows 7 and FreeBSD (and possibly GRUB)

2010-02-23 Thread Polytropon
On Tue, 23 Feb 2010 14:16:53 +0100, AngryWolf angrywolf2...@gmail.com wrote:
 Even if you installed FreeBSD *before* Windows, you can restore the 
 FreeBSD boot manager with sysinstall (select the Custom installation 
 from the main menu), for example.

Well... in fact, that's not restoring the boot manager,
this is re-installing the boot manager. :-)

You can install the boot manager also from a FreeBSD
live file system or fixit console, using the boot0cfg
command, if I remember that procedure correctly.



 Or GRUB can also be another way to go, 
 of course.

Especially in conjunction with Linux as another OS on
the disk, I think this would be the most comfortable
solution.



But as I said, I'm no multi-booter. =^_^=



-- 
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: IDE ZIP100 Drive

2010-02-23 Thread Tim Judd
On 2/23/10, Programmer In Training p...@joseph-a-nagy-jr.us wrote:
 On 02/22/10 14:32, Programmer In Training wrote:
 Second attempt to post this to the list. Please bear with me as I'm
 having issues with my posts to the list not always making it through.

 OK, after some searching I've come up (almost) empty handed[0-1].
 Everything else I've found so far for IOMEGA ZIP100 drives deals with
 the external drive (either USB or parallel port). I've not seen anything
 in dmesg or /var/log/messages that would indicate that the device is
 being detected by anything on boot aside from the BIOS. I'm not sure of
 snip

 OK, upon a second reboot (for something unrelated), the device is
 detected (but I think only because I had the disk in the drive at the
 time). Now I'm having mount issues. First, it's entry in dmesg:

 afd0: 95MB IOMEGA ZIP 100 ATAPI 13.A at ata0-slave PIO0

 I'm issuing the following command with the following results:

 mount_msdosfs /dev/afd0 /mnt/zip
 mount_msdosfs: /dev/afd0: Invalid argument


Could be due to that the zip disks have a partition defined.
ls /dev/afd0*

file -s /dev/afd0



 The man page for mount and mount_msdosfs gives no clue on why that's an
 invalid argument. When executed, the drive is accessed, then a moment
 later it errors out as above. I've tried afd1 through afd4, I just get
 no such file or directory errors.

 I'd like to use the zip drive to back up my private keys from GnuPG and
 other important data.
___
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: IDE ZIP100 Drive

2010-02-23 Thread Polytropon
On Tue, 23 Feb 2010 11:05:20 -0600, Programmer In Training 
p...@joseph-a-nagy-jr.us wrote:
 OK, upon a second reboot (for something unrelated), the device is
 detected (but I think only because I had the disk in the drive at the
 time). Now I'm having mount issues. First, it's entry in dmesg:
 
 afd0: 95MB IOMEGA ZIP 100 ATAPI 13.A at ata0-slave PIO0

That look okay. By the way, it shouldn't matter if there's
actually a disk in the drive for the detection. The OS will
try to identify the media, or report no media if there
isn't a disk in the drive - but the drive will be present.



 I'm issuing the following command with the following results:
 
 mount_msdosfs /dev/afd0 /mnt/zip
 mount_msdosfs: /dev/afd0: Invalid argument

For diagnostics, check the output of fdisk afd0 to see
if the MBR partition data can be retrieved.

If you have an MS-DOS formatted media, I doubt that /dev/afd0
will be the correct device to access. Are there more /dev/afd0*
devices present? Maybe accessing /dev/afd0s1 will work. It
depends on the partitioning of the disk.

Then, a command like mount_msdosfs /dev/afd0s1 /mnt/zip should
be working correctly; consider using -noatime and useful
masks (-m, -M) because MS-DOS file systems can't deal with
file attributes properly.

If you're planning to use the ZIP drive with modern OSes
only - i. e. such understanding UFS file systems - then
you could format the disk with UFS, with a slice containing
the partition, or omiting the slice (dedicated)... just
an additional idea.



 I've tried afd1 through afd4, I just get
 no such file or directory errors.

Those devices are refering to a second, third, fourth and
fifth ZIP drive, which obviously isn't present.



 I'd like to use the zip drive to back up my private keys from GnuPG and
 other important data.

I wouldn't trust important data to a ZIP drive. I still
have hardware virus in mind, and a fast search revealed
this:

I like the fact that the old zip drives were
vulnerable to the infamous click of death.
Leave it to Iomega to inadvertantly create
what was essentially a hardware virus. We've
lost two of our old zip drives in the office
to infected zip disks. What are the odds of
accidentally creating a device that can both
damage itself and all other compatible devices
it comes in contact with?

Basically, it's a broken spring in the sliding
aluminum part of the disc that would also damage
any drive the disc was used in - those drives often
times would end up damaging more discs - thereby
spreading the problem. Damaged discs were usually
totally unreadable without a little hardware hack
that basically involved more or less taking them
apart. Doesn't happen to the new drives, but the
new discs can still break in the same way.

http://www.consolecity.com/forum/archive/index.php/t-12717.html

Are you sure your drive isn't affected?

I've never owned a ZIP drive, so I can't speak from my
own experiences.



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


[SOLVED] Re: IDE ZIP100 Drive

2010-02-23 Thread Programmer In Training
On 02/23/10 11:42, Tim Judd wrote:
 Could be due to that the zip disks have a partition defined.
 ls /dev/afd0*
 
 file -s /dev/afd0
 

That did it. I didn't know how to define the partition. Now to format it.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Re: Dump questions

2010-02-23 Thread Jerry McAllister
On Mon, Feb 22, 2010 at 03:10:01PM +, Matthew Seaman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 22/02/2010 14:30, Jerry McAllister wrote:
  No.   In multi-user, files are still changing.   The snapshot could
  possibly be made between parts of a change - between different writes
  to the file, so there could be some inconsistency.  In practice this 
  is not a big problem, but, single user with filesystems unmounted is 
  still the most absolute way of making sure a filesystem is quiescent 
  during a dump.   
 
 Umm you don't *need* to go to single user to ensure a consistent
 filesystem dump: unmounting the partition is sufficient, or remounting
 it read-only.  

True.  But, the problem with that, as you follow with is that it can 
produce a lot of fudd from parts of the running system that expect to 
find that file system mountable and writable.  Plus some filesystems
such as maybe /usr, etc may be needed for the multi-user system to 
operate at all.  So, you either don't dump them or go to single user
just for them or use -L and not worry about it, or whatever.

jerry


It's just that shutting the system down and rebooting to
 single user mode can save you a deal of faffing about trying to kill
 off any processes still using the filesystem, which would otherwise
 block your ability to unmount it.
 
 Note too, it's *reboot* into single user ('shutdown -r now', then press
 4 at the boot menu) not *drop* into single user ('shutdown now') which
 doesn't unmount filesystems for you, although it should kill almost all
 processes.
 
 Single user has it's own disadvantages: generally there's no network
 configured, and with the root partition mounted read-only, you can't
 update /etc/dumpdates.
 
 Whenever you boot into single user, remember to run 'fsck -p' to ensure
 filesystem integrity.  I'm not sure what happens if you attempt to
 dump'n'restore a dirty filesystem, but it's certainly going to have
 unintended consequences if the filesystem is actually damaged rather
 than just dirty.
 
   Cheers,
 
   Matthew
 
 - -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
   Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkuCnkkACgkQ8Mjk52CukIyR+gCfX9rep9S9DQcIcRDqSoAptQX9
 gMkAoIV/zhe4kRRlRN8fjn5+W7CS1csM
 =6J2U
 -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
___
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 there a command to load all swap into the memory?

2010-02-23 Thread Yuri

I am asking out of curiosity.
'top' describes the memory state on my machine like this:
Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free
Swap: 16G Total, 757M Used, 16G Free, 4% Inuse

There is enough space in memory to load back all swap. Is there a 
command to do that for all swap?

This will speed up immediate system response in the future.

Yuri
___
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: Is there a command to load all swap into the memory?

2010-02-23 Thread Bill Moran
In response to Yuri y...@rawbw.com:

 I am asking out of curiosity.
 'top' describes the memory state on my machine like this:
 Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free
 Swap: 16G Total, 757M Used, 16G Free, 4% Inuse
 
 There is enough space in memory to load back all swap. Is there a 
 command to do that for all swap?
 This will speed up immediate system response in the future.

You could use swapoff, then swapon to readd the device.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Is there a command to load all swap into the memory?

2010-02-23 Thread John
On Tue, Feb 23, 2010 at 12:24:15PM -0800, Yuri wrote:
 I am asking out of curiosity.
 'top' describes the memory state on my machine like this:
 Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free
 Swap: 16G Total, 757M Used, 16G Free, 4% Inuse
 
 There is enough space in memory to load back all swap. Is there a 
 command to do that for all swap?
 This will speed up immediate system response in the future.

Well, you have assumed that the furture demand on the system will
involve the pages which are swapped out.  If that assumption is
false, bringing them back into memory now will dramatically slow
down system responsiveness in the future, because the scarce resoure
will be free memory pages, which was the reason they were swapped
out in the first place.  The reason that they are still out there
with a bunch of free memory is that nothing has referenced them
since they were written out - so maybe it will be a long time yet
(if ever) before many/some/all of them are referenced again?  If
the same situation occurs again which caused them to be swapped
out to begin with, before a situation occurs which references them,
you'll be hurting your future system response time, not helping
it.

You may know these things are so and will happen in that way, but
it is not self-evident from the e-mail.

 Yuri
 ___
 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

-- 

John Lind
j...@starfire.mn.org

The inherent vice of capitalism is the unequal sharing of blessings;
the inherent virtue of socialism is the equal sharing of miseries.
  - Winston Churchill
___
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: Is there a command to load all swap into the memory?

2010-02-23 Thread RW
On Tue, 23 Feb 2010 14:59:28 -0600
John j...@starfire.mn.org wrote:

 On Tue, Feb 23, 2010 at 12:24:15PM -0800, Yuri wrote:
  I am asking out of curiosity.
  'top' describes the memory state on my machine like this:
  Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf,
  1366M Free Swap: 16G Total, 757M Used, 16G Free, 4% Inuse
  
  There is enough space in memory to load back all swap. Is there a 
  command to do that for all swap?
  This will speed up immediate system response in the future.
 
 Well, you have assumed that the furture demand on the system will
 involve the pages which are swapped out.  If that assumption is
 false, bringing them back into memory now will dramatically slow
 down system responsiveness in the future, because the scarce resoure
 will be free memory pages, which was the reason they were swapped
 out in the first place.  

And AFAIK pages that are read back into memory are retained in swap to
avoid haing to page them out again.
___
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: Gvinum RAID1+0

2010-02-23 Thread Andrew Klaassen
From the lack of response, am I correct to conclude that Gvinum can't do 
RAID1+0 (as opposed to RAID0+1)?

Thanks.

Andrew


--- On Mon, 2/22/10, Andrew Klaassen claws...@yahoo.com wrote:

 Hi.
 
 Newbie question:  I'm trying to figure out how to
 create a stripe-over-mirrors, aka RAID1+0, with
 Gvinum.  The manual gives an example for a
 mirror-over-stripes, aka RAID0+1, but I can't for the life
 of me figure out from that example or others I've feebly
 Googled how to do a RAID1+0.  I'm using 112 drives, so
 I'd much rather have RAID1+0 than RAID0+1.
 
 Does anyone have an example kicking around they could
 kindly send me?
 
 Thanks.
 
 Andrew
 
 
 
 
      
 __
 Ask a question on any topic and get answers from real
 people. Go to Yahoo! Answers and share what you know at 
 http://ca.answers.yahoo.com
 
 ___
 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
 


  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca

___
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


can I do away with most things-java?

2010-02-23 Thread Gary Kline


Some years ago I thought that future java tools would have
BSD ports that did not demand that we fetch them ourselves?
Now, among the few things left to rebuild/update is
diablo-jdk16.  The makefile sez to fetch
tzupdater-1_3_25-2009u.zip.

Can somebody please give me the exact URL that points to this
file?

More to the point, will a java port like openjdk free me from
any Sun ports?  Right now, a test pkg_delete of d-jdk16 gave
me:



t...@tao:/var/db/pkg# pkg_delete diablo-jdk-1.6.0.07.02_7/
pkg_delete: package 'diablo-jdk-1.6.0.07.02_7' is required by these other 
packages
and may not be deinstalled:
apache-ant-1.7.1
freemind-0.8.1_1,1
swt-3.5.1

Anybody?

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: can I do away with most things-java?

2010-02-23 Thread Torgeir Hoffmann
Hi Gary,

On 23 February 2010 23:28, Gary Kline kl...@thought.org wrote:



Some years ago I thought that future java tools would have
BSD ports that did not demand that we fetch them ourselves?
Now, among the few things left to rebuild/update is
diablo-jdk16.  The makefile sez to fetch
tzupdater-1_3_25-2009u.zip.

Can somebody please give me the exact URL that points to this
file?

More to the point, will a java port like openjdk free me from
any Sun ports?  Right now, a test pkg_delete of d-jdk16 gave
me:



 t...@tao:/var/db/pkg# pkg_delete diablo-jdk-1.6.0.07.02_7/
 pkg_delete: package 'diablo-jdk-1.6.0.07.02_7' is required by these other
 packages
 and may not be deinstalled:
 apache-ant-1.7.1
 freemind-0.8.1_1,1
 swt-3.5.1

Anybody?


I simply use the package for 7 with compatibility. I have no idea what is
going on with FreeBSD Foundation and why no new
packages for 8-RELEASE have been built. OpenJDK will partially free you. I
tried it too, but I recall correctly you cannot build
it without bootstrapping it with the Diablo the first time (subsequently, it
can be built with the old version of OpenJDK on each update - please correct
me if this is wrong).

However, I never succeeded in making any browser plugin for openjdk work.

If you have a problem with 'tzupdater', download the latest one from Sun's
site and alter the checksums in
/usr/ports/java/diablo-jdk16/distinfo with the correct checksums and size.

Hope this helps,


Regards,

//T
___
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: Gvinum RAID1+0

2010-02-23 Thread Pieter de Goeje
On Tuesday 23 February 2010 23:11:37 Andrew Klaassen wrote:
 From the lack of response, am I correct to conclude that Gvinum can't do
  RAID1+0 (as opposed to RAID0+1)?

I'll bite.

Is there a particular reason why you want to use gvinum instead of a 
combination of gmirror and gstripe?

I don't have any experience with vinum and can only come to the same 
conclusion as you have after reading the docs. It seems vinum does mirrored 
stripes by design.

- Pieter


 Thanks.

 Andrew

 --- On Mon, 2/22/10, Andrew Klaassen claws...@yahoo.com wrote:
  Hi.
 
  Newbie question:  I'm trying to figure out how to
  create a stripe-over-mirrors, aka RAID1+0, with
  Gvinum.  The manual gives an example for a
  mirror-over-stripes, aka RAID0+1, but I can't for the life
  of me figure out from that example or others I've feebly
  Googled how to do a RAID1+0.  I'm using 112 drives, so
  I'd much rather have RAID1+0 than RAID0+1.
 
  Does anyone have an example kicking around they could
  kindly send me?
 
  Thanks.
 
  Andrew
 
 
 
 
       
  __
  Ask a question on any topic and get answers from real
  people. Go to Yahoo! Answers and share what you know at
  http://ca.answers.yahoo.com
 
  ___
  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

   __
 Be smarter than spam. See how smart SpamGuard is at giving junk email the
 boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to
 New Mail today or register for free at http://mail.yahoo.ca

 ___
 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


Raid0 second question

2010-02-23 Thread Nick Mackowski
Thanks for the first reply and the link. it helped.

My second question is if I do the bsd raid0 thing, will it affect windows 7, 
the protectsmart harddrive feature, the imprint reader, and other misc 
features.   IE: will it run like it does now in exception for the changes to 
the sata setup.  I know it will be faster but I am not to familiar with this 
and plan to have a friend w more experience do the mods for me.  I just want to 
know what to expect before I buy.

Thanks, Nick



E-mail message checked by Spyware Doctor (7.0.0.514)
Database version: 6.14420
http://www.pctools.com/en/spyware-doctor-antivirus/
___
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 Turbo Boost

2010-02-23 Thread Gautham Ganapathy
On Thu, Feb 18, 2010 at 2:18 AM, Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
 Andreas Nilsson andrn...@gmail.com writes:

 is the scheduler and acpi system aware of the Intel Turbo Boost technology?

 I don't know much more about it than the advertising material, but I
 don't really see what the scheduler would be able to do with the
 information.  It's automatically applied by the chip on any core in P0
 state, no?


won't it be affected by CPU affinity?

-- 
Gautham Ganapathy
http://lisphacker.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: A recent update to vlc requires gnme-vfs, which requires kerberos

2010-02-23 Thread Craig Whipp

On 2/23/10 8:23 AM, Steven Friedrich wrote:

Can anyone shed light on this?

I don't want to run kerberos...
   
I think you posted this on the freebsd-ports list, and Gary Jennejohn 
provided the following reply, have you tried?


   On 2/10/10 11:59 AM, Gary Jennejohn wrote:
   Run make config and make sure that the box for Gnome VFS does_not_
   have an 'X' in it.

   I'm using vlc without Gnome VFS and it works just fine.

   ---
   Gary Jennejohn

  



___
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