Re: Cannot install php5-gd!!!

2009-01-16 Thread Manolis Kiagias

perikillo wrote:

  Hi people.

  I want to install some ports that depends this module php5-gd (phpmyadmin
example), I update my ports every day, but I still  getting this error:

  bacula# pwd
/usr/ports/graphics/php5-gd
bacula# make install clean
===  php5-gd-5.2.8 has known vulnerabilities:
= php5-gd -- uninitialized memory information disclosure vulnerability.
   Reference: 
http://www.FreeBSD.org/ports/portaudit/58a3c266-db01-11dd-ae30-001cc0377035.html
  
= Please update your ports tree and try again.

*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.

  I have been trying today, but no success, someone knows anything about
this?

  FreeBSD 6.1-p21

  Thanks for your support!!!
  


Well, it seems it suffers from an unpatched vulnerability.
You can  still install it if you really want to, using stg like:

make install clean -DDISABLE_VULNERABILITIES

but whether it would be wise to do so, is definitely questionable.
___
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 OpenSSL from ports, how to remove base-openssl?

2009-01-16 Thread Herbert J. Skuhra
Frederique Rijsdijk frederi...@isafeelin.org writes:

 For a certain customer that wants to use a later version of OpenSSL
 (base is at 'e' while ports is at 'j') I installed
 /usr/ports/security/openssl. This is all fine, but now I have two sets
 binaries and libraries of OpenSSL on that system.

To build you ports with the openssl version in /usr/ports:

# echo WITH_OPENSSL_PORT=yes  /etc/make.conf

 What is the proper way to remove the base openssl? I looked with
 sysinstall distributions but it's not listed there as something that you
 can add or remove.

# echo WITHOUT_OPENSSL=yes  /etc/src.conf
# cd /usr/src  make check-old
# make delete-old 
# make delete-old-libs

Read src.conf(5).

- Herbert
___
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: Help needed w/ HighPoint RocketRAID 3120 on FreeBSD 7.1-RELEASE

2009-01-16 Thread Michael Powell
ThinkDifferently wrote:

 
 
 Michael Powell-6 wrote:
 
 In your motherboard BIOS is there any entry that controls which
 controller boots first? If so set it to boot from the add-in card first
 instead of the
 onboard controller.
 
 
 In my BIOS there is the following...
 Hard Disk Boot Priority   [Press Enter]
  1. SCSI-0::  RocketRAID 3120 SATA C
  2. Bootable Add-in Cards

So what happens when you choose 2. Bootable Add-in Cards, save the 
setting and reboot with [Hard Disk] as First Boot Device?

 First Boot Device  [CDROM]
 Second Boot Device  [Hard Disk]
 Third Boot Device [USB-FDD]
 
 For grins, I tried making Hard Disk the first boot device and disabling
 the
 others.  I also tried moving the card to another PCI slot.  Finally, I
 tried shutting off any unnecessary devices on the mobo to include the
 unused serial  parallel headers, usb, firewire, etc.
 
 Nothing changed.
 
 On reset...
 1) The RocketRAID card beeps.
 2) The motherboard BIOS screen is displayed.
 3) The RocketRAID BIOS screen is displayed.
 4) It shows all devices that are enabled and their interrupt settings.
 5) It tries to boot from the Hard Disk, which is set to SCSI-0::
 RocketRAID 3120 SATA C.
 6) It resets and the above repeats.
 
 In the table of devices that I mention in #4, above, see the attached
 image.
 It shows up as RAID Cntrlr.  In this screenshot, just about everything
 else is turned off.
 http://www.nabble.com/file/p21489832/P1158072.jpg
 
 
 Michael Powell-6 wrote:
 
 Also ensure that in the Highpoint card BIOS INT 13 is
 on, should be this way by default.
 
 
 Yes, that is 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


can't work with a file starting with dash space '- ' ?

2009-01-16 Thread Anton Shterenlikht
By mistake I saved an email attachmed as it was called, probably
from MS world:
- Reviewer Comments - FFEMS - Closure paper.pdf

Now I cannot delete, or rename it.

% cp -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf z
cp: illegal option --  
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file
   cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... 
target_directory
% rm -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf 
rm: illegal option --  
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file
% 

I can view it with xpdf, but that's about all.
I tried wildcards and quotes, sh, csh, bash, tcsh and superuser but no luck.

How can I delete or rename this file?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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't work with a file starting with dash space '- ' ?

2009-01-16 Thread Yuri Pankov
On Fri, Jan 16, 2009 at 10:33:13AM +, Anton Shterenlikht wrote:
 By mistake I saved an email attachmed as it was called, probably
 from MS world:
 - Reviewer Comments - FFEMS - Closure paper.pdf
 
 Now I cannot delete, or rename it.
 
 % cp -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf z
 cp: illegal option --  
 usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... 
 target_directory
 % rm -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf 
 rm: illegal option --  
 usage: rm [-f | -i] [-dIPRrvW] file ...
unlink file
 % 
 
 I can view it with xpdf, but that's about all.
 I tried wildcards and quotes, sh, csh, bash, tcsh and superuser but no luck.
 
 How can I delete or rename this file?
 
 many thanks
 anton
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 928 8233 
 Fax: +44 (0)117 929 4423


Try cp/rm -- filename-with-dashes
-- here denotes the end of command options.


HTH,
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: FreeBSD Boot Manager

2009-01-16 Thread Da Rock
On Thu, 2009-01-08 at 21:44 -0500, Steve Bertrand wrote:
 Grant Peel wrote:
  Can I use a windows install cd's R option to do the fdisk /mbr ?
 
 I don't know.
 
 It's been $years since I've had to use a Windows install CD for such a
 thing.
 
 If it's win32, my experience would have me recommend just booting from a
 floppy of a win boot disk to restore the MBR. It's just quick that way.
 If my memory serves right, even a win98 boot disk should work.

If memory serves, I believe there is an option to simply go to cli and
all the tools are there on the cd ready for you. I could be wrong or
outdated though- probably both... :)

___
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: Sun sucks

2009-01-16 Thread Da Rock
On Fri, 2009-01-09 at 03:47 +, RW wrote:
 On Thu, 8 Jan 2009 17:10:10 -0500
 Ansar Mohammed ans...@gmail.com wrote:
 
 
  After registering Sun complains that they don't like my ID and I need
  to provide more information. I create another account. Same problem.
  After 3 months I finally get an email saying they want clarification
  on the acronym for my company. 
 
 
 Well there's your problem. You gave them too much information in the
 first place. I usually just make-up a name as a matter of principle.
 
 Just create a new account for some made-up name, don't specify any
 company, download your file, and then (if you really care) go through
 the hoops afterwards.

I'm finding that I'm actually running out of names... keeps coming back
saying it already exists!

I now keep a record of a crap name and reuse it every time.

___
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


est1 device_attach error 6

2009-01-16 Thread Da Rock
Similar to the age0 problem in my previous post the enhanced speed step
on this laptop on the second core of the cpu has the same problem-
athough this doesn't appear to be power related (ac or battery that is).
Where does this place the issue- acpi?

___
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: FreeBSD Boot Manager

2009-01-16 Thread Da Rock
On Fri, 2009-01-09 at 09:53 -0500, Grant Peel wrote:
 Hi Mike,
 
 I am not at all sure whate you are suggesting here?
 
 What I am asking, is, somehting like:
 
 Can I reboot the machine with the FreeBSD install disk, and using the 
 sysinstall utility, reinstall the freebsd boot manger so I wind up with:
 
 F1 Windows
 F2 FreeBSD
 F5 Disk1
 
 -Grant

Not a chance- why do you think you have to install Window$ first? Gates
and his cronies aren't going to make it easy for you to install free
software, and so they make it as hard as possible hoping you'll install
Window$ and give up.

I haven't heard of anywhere that any of the freeloaders (pardon the pun)
that can boot a M$ system- only paid for software like Bootmagic. Or use
the M$ loader in window$ to boot other systems- strange that it should
be able to do that, but then most of the OSS is KISS based rather than
the rigmarole M$ go to.

Again, I could be outdated and/or wrong on this, but I doubt it has
changed.

___
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


iwn driver on 7.1

2009-01-16 Thread Da Rock
I've tried the driver on 7.0- 8.0 current is out of the question as it
still doesn't fully function either- but I'm trying to sort out 7.1
(might as well, I have many other issues to work out so I might as well
fix them on this :) ).

The driver patches compiles (iwn-7 from gavin), but when I load it goes
through the channels and errors and finally dies with a full page fault.
SO, firstly what info is needed here to help resolve this issue? Second,
the full functionality of the card is not there- no encryption in
transmission (no wep, wpa, etc), a channels not working, etc. Again is
there someone who I could work with to help get this card working?

For reference (Wojciech will be happy to know his suspicions are indeed
correct :) ) linux has gone to the crapper and even debian can barely
hold its own with the intel 4965. Incidentally none of the linuxes have
consistent success at all, and I failed miserably on debian and fedora.
Although it did work somewhat with fedora 8- strange huh? And its not
the only area, drivers, kernel, software all seems deeply flawed now:
seems the project is starting to crumble! I'm struggling to keep my tv
server up and running on fedora 10 - there appears I may have a light at
the end of my tunnel in that I may be able to get drivers working for
freebsd!

___
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: programs...

2009-01-16 Thread Da Rock
What about Miro?

On Fri, 2009-01-09 at 23:19 -0800, Gary Kline wrote:
 On Fri, Jan 09, 2009 at 08:43:09AM -0600, David Kelly wrote:
  On Thu, Jan 08, 2009 at 11:03:29PM -0800, Gary Kline wrote:
 
 Guys,
   
 I've going to give away what I think could be at least a
 multi-thousand dollar idea, something we nearly have already.
 And a wish-list for a program that does not, AFAIK, exist.
  
  Its called iTunes.
  
 First, the wish-for:: given all the kinds of video and audio
 programs that are now on the web, how difficult would it be
 to have a GUI [interface] program pop up a screen with date of
 airing, and/or date of podcast?  Not to exceed several hours
 worth of recorded podcasts... or live recording.
  
  iTunes will suck them down and has settings for when (if ever) to delete
  old podcasts.
  
 I can only give examples of thing I watch, but this will give
 you some idea.  And bear in mind that at least FreeBSD cannot
 capture some programs.  Like FRONTLINE on PBS.
   
 But for the sake of argument, let's say that firefox or
 whatever browser or kmplayer or another player did have the
 proper codecs.
   
 This GUI app  would find, fetch, and store in /usr/local/tmp
 FRONTLINE, NOVA, In Our Time and Everyday Ethics [BBC],
 and Marketplace, Weekend, 10jan09.  
  
  iTunes stores in ~/Music/iTunes/iTunes Music/Podcasts/
 
 
   Music/audio only, or video too?
 
 
  
 When these programs were safely in /usr/local/tmp/Pods, the
 program would send mail or otherwise inform the user.
  
  Script from cron to detect presence of a new file in the above, send
  notification.
  
  There are FreeBSD ports for subscribing to podcasts that could do the
  same thing.
  
 How doable is this...?  and, yes, i know that many of these
 audio files can be subscribed to as podcasts.  I have several
 on my Google page.  
  
  Get A Mac!
  
   
   Ha!  Well, I stand to inherit my daughter's MacBook in a
   few years.  Okay, so if Apple has this, can I use it?  I
   mean for-free, not having to sub to some monthly deal or
   whatever?
 
   This is an idea I thought up a couple years ago when all
   the audio podcasts began appearing.  At any rate, seems to
   me that the open-* community could do at least as well as
   our brother hackers at Apple.
 
   Just a thought.  
 
   Come Monday, OZ-time, I'll let everybody know my major
   idea.  
 

___
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


USB problem during install

2009-01-16 Thread Da Rock
I was just running a check to see if I could install FreeBSD on my tv
server and check the driver situation, but the cdboot failed with a usb
issue- address not found. This occurred for 7.1, 7.0, and even 6.4. In
my search I found many different reasons why it could be, but they were
several years old (related to 5.x etc).

Its always the same address 0x7fef1620, and I believe its the same port
too.

Currently the usb devices connected are an APC UPS, a Shintaro usb
wireless keyboard with builtin mouse, a multi card reader, and I have
two dvico tuner cards (dual fusions) which a dual dibcomms on each card
connected to the system via their own usb chip.

Based on my observations its actually hard to say which port is the
problem, as the drivers are loaded and fork their own processes, so the
error can show up later.

Any ideas?

Cheers

___
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


How to copy only skeleton files while creating a existing user's homes directory?

2009-01-16 Thread O. Hartmann

Hello,
I have the following situation:

Users are stored in OpenLDAP. I need to create homes directories on new 
machine memebers in the pool of workstations and do not want the usage 
of an automated creation of loggin in user via pam_mkhomedir. Creation 
should be done manually.
My question: is it possible to use a FreeBSD tool/command like 'pw(8)' 
only for copying and initiating an existant user's home?


I tried simply pw useradd USER -m -b /homes/ for that purpose, but pw 
errors me saying the user USER already exists (is a OpenLDAP user).


Thanks in advance,
Oliver
___
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: Cannot get ethernet off the ground

2009-01-16 Thread Da Rock
On Mon, 2009-01-12 at 18:07 +0100, Roland Smith wrote:
 On Sun, Jan 11, 2009 at 08:08:16PM -0500, William Gordon Rutherdale wrote:
  I'm afraid it's gone from bad to worse.
  
  The 7.1 system may have recognised the ethernet adapter, but it seemed 
  to fail writing to the hard drive.
  
  I got this during installation:
  
 Progress
  Extracting GENERIC into /boot directory...
  
 Message
  Write failure on transfer! (wrote -1 bytes of 1425408 bytes)
  
  /mtrt: write failed, filesystem is full.
  
  -
  
  I think I allocated decent size partitions for /, /var, swap, /tmp, 
  /usr.  I made multiple attempts.  Kept getting errors.
 
 The 'filesystem is full' message might imply that the partition for root
 is too small. What were the filesystem sizes you chose? There should be
 an item in the main install menu to start a shell. If you take that
 option and use the 'df -h' command, you should see the sizes of the
 mounted partitions.
 
 What happens if you just make one giant partition?
 
 Roland

Going back to the original issue- the rtl 8111E is not really supported.
Buying another card does seem to be a bit redundant, but there is 6.x
sources for this card which work (albeit on 6.x). So maybe try 6.4?

For the developers out there, what is the difference between BSD
versions? Why wouldn't a driver for 6.x work on later versions- I need
technical detail or pointers to it not just a simple answer. I'm looking
at resolving some of the driver issues but I'm really green- yes, I'm
finally getting off my ass and doing something other than complaining...
not that I have the time, but I have my own problems to resolve here
which I can't wait on :)

Now, if the filesystem is full have you redone all the filesystem
through sysinstall or are you simply loading over the top of previous
versions?

___
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


age0 driver power issues - device_attach error 6

2009-01-16 Thread Da Rock
I'm getting issues similar to what others have seen in the pre-release
7.1. I'm using the release version because it supposedly has this
driver, but the issue is when I'm on battery it'll work and load the
driver, on ac forget it.

Its on a laptop with an iwn device so I'm in for real hell - but thats
for another post. The long and the short of it is: how do I fix it? What
do I need to look at (source wise) to fix the issue and where can I find
more precise info on it? Would an experienced developer (even the
original who wrote the driver) be willing to guide me so I can fix more
of these little issues with drivers until I can get the know how to
write my own?

Cheers

___
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: How to copy only skeleton files while creating a existing user's homes directory?

2009-01-16 Thread Jonathan McKeown
On Friday 16 January 2009 12:48:38 O. Hartmann wrote:
 Hello,
 I have the following situation:

 Users are stored in OpenLDAP. I need to create homes directories on new
 machine memebers in the pool of workstations and do not want the usage
 of an automated creation of loggin in user via pam_mkhomedir. Creation
 should be done manually.
 My question: is it possible to use a FreeBSD tool/command like 'pw(8)'
 only for copying and initiating an existant user's home?

 I tried simply pw useradd USER -m -b /homes/ for that purpose, but pw
 errors me saying the user USER already exists (is a OpenLDAP user).

Try usermod instead of useradd.

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


sysutils/gnome-power-manager fails to compile

2009-01-16 Thread Ewald Jenisch
Hi,

During upgrading gnome, done exactly as described in
/usr/ports/UPDATING (entry of 20090110), during the phase of
portupgrade -aOW the build process stops in sysutils/gnome-power-manager:

.
.
.
gmake[2]: Leaving directory 
`/usr/ports/sysutils/gnome-power-manager/work/gnome-power-manager-2.24.2/docs'
Making all in man
gmake[2]: Entering directory 
`/usr/ports/sysutils/gnome-power-manager/work/gnome-power-manager-2.24.2/man'
docbook2man gnome-power-statistics.sgml  gnome-power-statistics.1
gmake[2]: *** [gnome-power-statistics.1] Error 8
gmake[2]: Leaving directory 
`/usr/ports/sysutils/gnome-power-manager/work/gnome-power-manager-2.24.2/man'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/sysutils/gnome-power-manager/work/gnome-power-manager-2.24.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/gnome-power-manager.
#




I've tried to manually make deinstall followed by make reinstall -
same result. 

Please note that I've cvsup-ed, pkgdb -fF-ed - always the same
result. Even a make clean followed by a make in
sysutils/gnome-power-manager didn't help.

Is somebody else having similar problems? 

What can be done against it?

Thanks much in advance for your help,
-ewald

___
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: [Fwd: iwn driver on 7.1]

2009-01-16 Thread Jan Henrik Sylvester

Sam Fourman Jr. wrote:
 From: Da Rock rock_on_the_web at comcen.com.au
 I've tried the driver on 7.0- 8.0 current is out of the question as
[...]
 The driver patches compiles (iwn-7 from gavin), but when I load it
 goes through the channels and errors and finally dies with a full
 page fault.

 for what it is worth
 I too would very much like iwn working on freebsd 7.1, it works ok on
 8-current

See my previous post to stable@ in December, which was unfortunately 
unanswered: 
http://lists.freebsd.org/pipermail/freebsd-stable/2008-December/047142.html


Short: The version from gavin crashes for me, too, but the initial 
version from perforce (before vap was introduced) works -- with some 
issues. There are only very few differences between those 2 versions.


I guess someone with knowledge of vap would have to go through the 
perforce and current changes to find the stabilizing changes.


Cheers,
Jan Henrik
___
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: Bios chip update suggestions

2009-01-16 Thread Chris Whitehouse

Fbsd1 wrote:

I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is 
01/08/2002-694T-686-P6VXM2TC-00


All the internet bio's chip update url's found by Google search are 
customized for MS windows.


Suggestions on how or where to purchase the correct bio's chip update?



What do you mean the update url's are customised for windows? The bios 
doesn't know anything about operating system. Most likely you could 
download a dos boot disk image - google, there are plenty around - 
create a bootable floppy and copy your latest bios image and bios update 
program, eg awdflash.exe onto it. Just boot from the floppy and run the 
update.


Just be sure the bios image is really intended for your motherboard and 
don't interrupt the update.


Chris
___
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: FreeBSD USB Install

2009-01-16 Thread Da Rock
On Fri, 2009-01-09 at 14:11 -0200, Sergio de Almeida Lenzi wrote:
 Hello
 
 I notice that when you write zeros to the first sectors
 of the pen drive it gets mad about it
 and you must make fsck and disklabel TWICE...
 
 the first time, it complains,
 the second time it works fine
 
 I assume you have grub installed   (pkg_add -r grub)
 
 I use the folowing procedure:
 1) put the pen drive on the computer  it finds at da0
 2) dd bs=512 if=/dev/zero of=/dev/da0 count=20  
 2) fdisk  -BI /dev/da0
 3) disklabel -w -B /dev/da0s1
 4) fdisk -BI /dev/da0  
 5) disklabel -w -B  /dev/da0s1
 6) newfs -L FreeBSDstick /dev/da0s1a
 7) mount -o async /dev/da0s1a /mnt
 8) mkdir /mnt/boot/grub
 9) cd /usr/local/share/grub/*/
 10 cp * /mnt/boot/grub
 11) cat %  /mnt/boot/grub/menu.lst
 title FreeBSD on USB
 root (hd0,0,a)
 kernel /boot/loader
 %
 12) umount /mnt
 13) grub --batch %
 device (hd7) /dev/da0
 root (hd7,0,a)
 setup (hd7)
 %
 =
 now just populate the /mnt with bsd and your system 
 should come up...
 
 =
 
 
 Hope this will help...
 
 
 Here i use 4gb pen-drivers running FreeBSD 7 with zfs...
 it works fine and very fast...
 
 Sergio.

This seems to be a bit of a sideline... but how does it work if you move
the disk around? Assuming generic kernel, you should be boot that kernel
on practically any machine- right? But I had trouble with it not finding
the drive- boot manager ok, install fine, just won't boot. I assumed
that the da0xxx was simply a pointer (programming speak) so that if you
inserted the disk somewhere else (another port, another m/c, etc) it may
not point to the same place for booting. Would this be right?

___
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


no browser starts, possible dbus-launch problem?

2009-01-16 Thread Anton Shterenlikht
After recent upgrade of many ports I cannot start either
firefox2 or kazehakase on alpha FBSD 6.4-release. (Both
worked fine before the upgrade).

When I try to launch either browser I see something like this:

% ps ax|grep dbus
94452  ??  Ss 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
--print-address 9 --sessi
94448  p0  S+ 0:00.05 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
94451  p0  S+ 0:00.00 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
94463  p2  R+ 0:00.00 grep dbus
% 

The dbus-launch processes never exit, which they should do
according the man page. I wonder if this is the problem?

With kazehakase I get a further error message when I try to kill unresponsive
kazehakase process:

GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details -  1: Failed to get connection to session: Failed to 
execute dbus-launch to autolaunch D-Bus session)

Please help.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423

--8A9CA8FC08.1232111947/mx1.freebsd.org--

- End forwarded message -

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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


Runtime de/encryption

2009-01-16 Thread Marco
Hello List,

i'am using the geom framework for quite a time. I'am happy about
gbde/geli implementations(beside the race condition in geli) however, i
wonder since some time, as the data may get
exposed on a running server(as the partitions decrypted) is there a way
to do some kind of runtime de/encyrption, with keys? so that only
special users with the right handle can encrypt or decrypt data? so
talking about another filesystem layer...
Anyone?

Best regards,
 Marco
___
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


zfs on i386 trauma :P

2009-01-16 Thread B. Cook
Hello all,

We had a raid card die in a dell box and reinstalled FreeBSD 7 and
restored from backups.. the problem is amd64 didn't boot on the box and
the person doing the restore wanted to 'help' and changed from ufs2 to
zfs..

while being a noble effort, he was testing on amd64 and didn't think
that amd64 to i386 was that big a deal for zfs.. *sigh*

So here we are.. if I can't figure out how to make this 'stable' I will
dump and restore and reinstall i386 ufs2/gmirror..

So we have a box w/ 3G of ram running samba and squid for a few hundred
people.

I have tried to fix /boot/loader.conf:
# cat /boot/loader.conf
autoboot_delay=4
vm.kmem_size_max=1024M
vm.kmem_size=1024M

zfs_load=YES
vfs.zfs.prefetch_disable=1
vfs.root.mountfrom=zfs:tank/root

accf_http_load=YES
accf_data_load=YES

and rebuilt the kernel with many device drivers disabled..

I found a script on the zfs tuning page on the wiki, but I do not
understand what it is telling me..

TEXT=7031512, 6.70577 MB
DATA=514754560, 490.908 MB
TOTAL=521786072, 497.614 MB

kldstat yeilds this output:
Id Refs AddressSize Name
 19 0x8040 55f3e8   kernel
 21 0x8096 b23b0zfs.ko
 32 0x80a13000 23bc opensolaris.ko
 41 0x80a16000 191c accf_data.ko
 51 0x80a18000 22d4 accf_http.ko
 61 0x80a1b000 68394acpi.ko
 71 0x87ecb000 3000 pflog.ko
 81 0x87ed7000 32000pf.ko

We have updated to 7.1-p2 with the hopes of fixing somethings..

So the problems that we are having is that the machine stops responding..
ping never stops, it just stops answering tcp requests.

and we only have a few minor tweaks in sysctl.conf:

security.bsd.see_other_uids=0

net.inet.ip.random_id=1
kern.randompid=32768
kern.coredump=0

net.inet.tcp.delayed_ack=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.path_mtu_discovery=0
net.inet.tcp.recvbuf_auto=1
net.inet.tcp.rfc1323=1
net.inet.tcp.sendbuf_auto=1

and in rc.conf we have set some things on the bge0 interface:

ifconfig_bge0=inet 10.20.0.230 netmask 255.255.254.0 rxcsum txcsum media
1000baseTX mediaopt full-duplex polling

Is there something that is set, that is making the system stop responding?

is there something else that could be done?

If stability and performace are the goals (in that order) would it just
make sense to reinstall and go back to gmirror on ufs2?

Thanks in advance.

___
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: zfs on i386 trauma :P

2009-01-16 Thread Vincent Hoffman
B. Cook wrote:
 Hello all,

 We had a raid card die in a dell box and reinstalled FreeBSD 7 and
 restored from backups.. the problem is amd64 didn't boot on the box and
 the person doing the restore wanted to 'help' and changed from ufs2 to
 zfs..

 while being a noble effort, he was testing on amd64 and didn't think
 that amd64 to i386 was that big a deal for zfs.. *sigh*

 So here we are.. if I can't figure out how to make this 'stable' I will
 dump and restore and reinstall i386 ufs2/gmirror..

 So we have a box w/ 3G of ram running samba and squid for a few hundred
 people.

 I have tried to fix /boot/loader.conf:
 # cat /boot/loader.conf
 autoboot_delay=4
 vm.kmem_size_max=1024M
 vm.kmem_size=1024M

 zfs_load=YES
 vfs.zfs.prefetch_disable=1
 vfs.root.mountfrom=zfs:tank/root
   

Try adding
vfs.zfs.arc_max=100M
(or less possibly, tuning as you require it.)

I gather you've looked at the tuning guide on the wiki so cant really
suggest anything further. The gains from zfs are nice and there are
people running it in production, but its definitely still experimental.

Vince
 accf_http_load=YES
 accf_data_load=YES

 and rebuilt the kernel with many device drivers disabled..

 I found a script on the zfs tuning page on the wiki, but I do not
 understand what it is telling me..

 TEXT=7031512, 6.70577 MB
 DATA=514754560, 490.908 MB
 TOTAL=521786072, 497.614 MB

 kldstat yeilds this output:
 Id Refs AddressSize Name
  19 0x8040 55f3e8   kernel
  21 0x8096 b23b0zfs.ko
  32 0x80a13000 23bc opensolaris.ko
  41 0x80a16000 191c accf_data.ko
  51 0x80a18000 22d4 accf_http.ko
  61 0x80a1b000 68394acpi.ko
  71 0x87ecb000 3000 pflog.ko
  81 0x87ed7000 32000pf.ko

 We have updated to 7.1-p2 with the hopes of fixing somethings..

 So the problems that we are having is that the machine stops responding..
 ping never stops, it just stops answering tcp requests.

 and we only have a few minor tweaks in sysctl.conf:

 security.bsd.see_other_uids=0

 net.inet.ip.random_id=1
 kern.randompid=32768
 kern.coredump=0

 net.inet.tcp.delayed_ack=0
 net.inet.tcp.inflight.enable=0
 net.inet.tcp.path_mtu_discovery=0
 net.inet.tcp.recvbuf_auto=1
 net.inet.tcp.rfc1323=1
 net.inet.tcp.sendbuf_auto=1

 and in rc.conf we have set some things on the bge0 interface:

 ifconfig_bge0=inet 10.20.0.230 netmask 255.255.254.0 rxcsum txcsum media
 1000baseTX mediaopt full-duplex polling

 Is there something that is set, that is making the system stop responding?

 is there something else that could be done?

 If stability and performace are the goals (in that order) would it just
 make sense to reinstall and go back to gmirror on ufs2?

 Thanks in advance.

 ___
 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


Upgrading Jails

2009-01-16 Thread David Allen
I have a test system where I've accumulated a large number of jails.  To
update them (I'm not using the method outlined in the Handbook), I'd like
to avoid mounting /usr/src and /usr/obj within each and then jexec-ing a
shell but instead, perform everything on the host system directly.  Would
the following be appropriate?

 /etc/rc.d/jail stop
 cd /usr/src
 myjail=/home/jails/myjail
 mergemaster -p -t $myjail/var/tmp/temproot -D $myjail
 make installworld DESTDIR=$myjail
 mergemaster -t $myjail/var/tmp/temproot -D $myjail
 ...
 /etc/rc.d/jail start

The second question relates to applying patches.  One of the latest
security advisories, for example, provides these instructions:

 cd /usr/src
 patch  /path/to/patch
 cd /usr/src/lib/bind
 make obj  make depend  make  make install
 cd /usr/src/usr.sbin/named
 make obj  make depend  make  make install
 /etc/rc.d/named restart

Can the make install part be modified to include DESTDIR?

Thanks.
___
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


Importing into VMWare Workstation 6.5

2009-01-16 Thread Odhiambo Washington
Hi,

For those who are running FreeBSD inside VMWare, I have a FreeBSD-7.1 on a
hard disk. I also run VMware Wkstn 6.5 running on a Windows XP PC.
Is there an easy way to import from the hard disk to a guest OS? Suppose I
have the hard disk connected to the XP box?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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: Help needed w/ HighPoint RocketRAID 3120 on FreeBSD 7.1-RELEASE

2009-01-16 Thread ThinkDifferently


Michael Powell-6 wrote:
 
 
 ThinkDifferently wrote:
 
 In my BIOS there is the following...
 Hard Disk Boot Priority   [Press Enter]
  1. SCSI-0::  RocketRAID 3120 SATA C
  2. Bootable Add-in Cards
 
 
 So what happens when you choose 2. Bootable Add-in Cards, save the 
 setting and reboot with [Hard Disk] as First Boot Device?
 

No change.  :-(

-- 
View this message in context: 
http://www.nabble.com/Help-needed-w--HighPoint-RocketRAID-3120-on-FreeBSD-7.1-RELEASE-tp21479839p21501771.html
Sent from the freebsd-questions mailing list archive at Nabble.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


Re: FreeBSD USB Install

2009-01-16 Thread Brian McCann
On Thu, Jan 15, 2009 at 9:08 PM, Da Rock rock_on_the_...@comcen.com.au wrote:


 This seems to be a bit of a sideline... but how does it work if you move
 the disk around? Assuming generic kernel, you should be boot that kernel
 on practically any machine- right? But I had trouble with it not finding
 the drive- boot manager ok, install fine, just won't boot. I assumed
 that the da0xxx was simply a pointer (programming speak) so that if you
 inserted the disk somewhere else (another port, another m/c, etc) it may
 not point to the same place for booting. Would this be right?


I haven't had an issue with it finding the loader yet (but I'm not
using GRUB, I'm using the FreeBSD loader).  And following the
directions linked above, I used the geom label process, so I don't
have to worry about /dev/daXs1d or whatever it was detected on...just
use /dev/ufs/FreeBSDStick (or whatever you label it).

--Brian

_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
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: FreeBSD Boot Manager

2009-01-16 Thread Jerry
On Fri, 16 Jan 2009 11:20:50 +1000
Da Rock rock_on_the_...@comcen.com.au wrote:

On Fri, 2009-01-09 at 09:53 -0500, Grant Peel wrote:
 Hi Mike,
 
 I am not at all sure whate you are suggesting here?
 
 What I am asking, is, somehting like:
 
 Can I reboot the machine with the FreeBSD install disk, and using
 the sysinstall utility, reinstall the freebsd boot manger so I wind
 up with:
 
 F1 Windows
 F2 FreeBSD
 F5 Disk1
 
 -Grant

Not a chance- why do you think you have to install Window$ first? Gates
and his cronies aren't going to make it easy for you to install free
software, and so they make it as hard as possible hoping you'll install
Window$ and give up.

I haven't heard of anywhere that any of the freeloaders (pardon the
pun) that can boot a M$ system- only paid for software like Bootmagic.
Or use the M$ loader in window$ to boot other systems- strange that it
should be able to do that, but then most of the OSS is KISS based
rather than the rigmarole M$ go to.

Again, I could be outdated and/or wrong on this, but I doubt it has
changed.

This primarily applies to Vista, although it might work with other
versions of Windows. It is possible to install FreeBSD or Linux, and
possibly other OS's prior to the installation of Microsoft's Windows.

Check out these two URLs for further information.

http://neosmart.net/wiki/display/EBCD/Linux
http://administratosphere.wordpress.com/2008/02/25/installing-grub-on-freebsd/

You will also need the sysutils/grub port installed.


-- 
Jerry
ges...@yahoo.com

Do not believe in miracles -- rely on them.


signature.asc
Description: PGP signature


Re: Importing into VMWare Workstation 6.5

2009-01-16 Thread Odhiambo Washington
On Fri, Jan 16, 2009 at 6:40 PM, James Seward james...@gmail.com wrote:

 On Fri, Jan 16, 2009 at 2:56 PM, Odhiambo Washington odhia...@gmail.com
 wrote:
  For those who are running FreeBSD inside VMWare, I have a FreeBSD-7.1 on
 a
  hard disk. I also run VMware Wkstn 6.5 running on a Windows XP PC.
  Is there an easy way to import from the hard disk to a guest OS? Suppose
 I
  have the hard disk connected to the XP box?

 If you're happy to leave FreeBSD on its own disk (rather than
 importing into a .vmdk), simply create a new VM and tell VMware to
 Use a physical disk in the Select a Disk part of the
 configuration. Point it at the required drive and away you go. I have
 used this before to allow me to both boot my PC to FreeBSD, and to
 Windows with FreeBSD still available.


The thing is, I want to give the whole setup from that disk to a friend to
run as a server, and he's bent on running it under virtualization. I offered
to clone this to a disk for him but he says he wants me to help him run it
under VMWare as a guest OS.

Is it possible to make a DVD out of an already running server, which can be
used to install it anywhere you feel like?

If I cannot do any of the two above, then I have to install everything
afresh for him as a guest on his virtualization platform and that is
time-consuming!



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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


Did FreeBSD lose 83% of core developers?

2009-01-16 Thread Konrad Heuer


Hello everyone,

bsdconferen...@youtube (http://de.youtube.com/watch?v=g7tvI6JCXD0) 
presents a talk of Jason Dixon (BSD is Dying, Jason Dixon, NYCBSDCon 2007) 
mentioning what I ask within the subject:


Did FreeBSD lose 83% of core developers?

I never heard about that. What's the background of this message? Or is it 
just a joke?


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
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: FreeBSD Boot Manager

2009-01-16 Thread Jerry McAllister
On Fri, Jan 16, 2009 at 11:20:50AM +1000, Da Rock wrote:

 On Fri, 2009-01-09 at 09:53 -0500, Grant Peel wrote:
  Hi Mike,
  
  I am not at all sure whate you are suggesting here?
  
  What I am asking, is, somehting like:
  
  Can I reboot the machine with the FreeBSD install disk, and using the 
  sysinstall utility, reinstall the freebsd boot manger so I wind up with:
  
  F1 Windows
  F2 FreeBSD
  F5 Disk1
  
  -Grant
 
 Not a chance- why do you think you have to install Window$ first? Gates
 and his cronies aren't going to make it easy for you to install free
 software, and so they make it as hard as possible hoping you'll install
 Window$ and give up.

I don't think you read what he wrote carefully.
You are right in your statement about MS having to be first and
not accomodating any other system.   But, for those very reasons,
his statement is correct.   He has Win already on the disk.  He
wants to use the _FreeBSD_ system to write the _FreeBSD_ MBR
which will happily boot both MS-Win and FreeBSD.  

I boot MS quite regularly with the FreeBSD MBR.  It is the standard
recommended way of doing a dual boot.   The machine on which I am 
presently typing is dual boot with MS-XP and FreeBSD and it uses only 
the FreeBSD MBR with no problem.

jerry



 
 I haven't heard of anywhere that any of the freeloaders (pardon the pun)
 that can boot a M$ system- only paid for software like Bootmagic. Or use
 the M$ loader in window$ to boot other systems- strange that it should
 be able to do that, but then most of the OSS is KISS based rather than
 the rigmarole M$ go to.
 
 Again, I could be outdated and/or wrong on this, but I doubt it has
 changed.
 
 ___
 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: FreeBSD Boot Manager

2009-01-16 Thread Jerry McAllister
On Fri, Jan 16, 2009 at 10:08:02AM -0500, Jerry wrote:

 On Fri, 16 Jan 2009 11:20:50 +1000
 Da Rock rock_on_the_...@comcen.com.au wrote:
 
 On Fri, 2009-01-09 at 09:53 -0500, Grant Peel wrote:
  Hi Mike,
  
  I am not at all sure whate you are suggesting here?
  
  What I am asking, is, somehting like:
  
  Can I reboot the machine with the FreeBSD install disk, and using
  the sysinstall utility, reinstall the freebsd boot manger so I wind
  up with:
  
  F1 Windows
  F2 FreeBSD
  F5 Disk1
  
  -Grant
 
 Not a chance- why do you think you have to install Window$ first? Gates
 and his cronies aren't going to make it easy for you to install free
 software, and so they make it as hard as possible hoping you'll install
 Window$ and give up.
 
 I haven't heard of anywhere that any of the freeloaders (pardon the
 pun) that can boot a M$ system- only paid for software like Bootmagic.
 Or use the M$ loader in window$ to boot other systems- strange that it
 should be able to do that, but then most of the OSS is KISS based
 rather than the rigmarole M$ go to.
 
 Again, I could be outdated and/or wrong on this, but I doubt it has
 changed.
 
 This primarily applies to Vista, although it might work with other
 versions of Windows. It is possible to install FreeBSD or Linux, and
 possibly other OS's prior to the installation of Microsoft's Windows.
 
 Check out these two URLs for further information.
 
 http://neosmart.net/wiki/display/EBCD/Linux
 http://administratosphere.wordpress.com/2008/02/25/installing-grub-on-freebsd/
 
 You will also need the sysutils/grub port installed.

You can make it happen, but it is much more straightforward and less
troublesome to leave the MS stuff as the first slice on the disk
and put the other things after it reguardless of which MBR you use.

jerry


 
 
 -- 
 Jerry
 ges...@yahoo.com
 
 Do not believe in miracles -- rely on them.


___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread DAve

Odhiambo Washington wrote:

On Fri, Jan 16, 2009 at 6:40 PM, James Seward james...@gmail.com wrote:


On Fri, Jan 16, 2009 at 2:56 PM, Odhiambo Washington odhia...@gmail.com
wrote:

For those who are running FreeBSD inside VMWare, I have a FreeBSD-7.1 on

a

hard disk. I also run VMware Wkstn 6.5 running on a Windows XP PC.
Is there an easy way to import from the hard disk to a guest OS? Suppose

I

have the hard disk connected to the XP box?

If you're happy to leave FreeBSD on its own disk (rather than
importing into a .vmdk), simply create a new VM and tell VMware to
Use a physical disk in the Select a Disk part of the
configuration. Point it at the required drive and away you go. I have
used this before to allow me to both boot my PC to FreeBSD, and to
Windows with FreeBSD still available.



The thing is, I want to give the whole setup from that disk to a friend to
run as a server, and he's bent on running it under virtualization. I offered
to clone this to a disk for him but he says he wants me to help him run it
under VMWare as a guest OS.

Is it possible to make a DVD out of an already running server, which can be
used to install it anywhere you feel like?

If I cannot do any of the two above, then I have to install everything
afresh for him as a guest on his virtualization platform and that is
time-consuming!





While I have not tried it, it claims it can make a vmdk from a physical 
server. I have used it to move virtualized FreeBSD installs from one 
vmware server to another.


http://www.vmware.com/products/converter/overview.html

DAve

--
The whole internet thing is sucking the life out of me,
there ain't no pony in there.
___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread James Seward
On Fri, Jan 16, 2009 at 2:56 PM, Odhiambo Washington odhia...@gmail.com wrote:
 For those who are running FreeBSD inside VMWare, I have a FreeBSD-7.1 on a
 hard disk. I also run VMware Wkstn 6.5 running on a Windows XP PC.
 Is there an easy way to import from the hard disk to a guest OS? Suppose I
 have the hard disk connected to the XP box?

If you're happy to leave FreeBSD on its own disk (rather than
importing into a .vmdk), simply create a new VM and tell VMware to
Use a physical disk in the Select a Disk part of the
configuration. Point it at the required drive and away you go. I have
used this before to allow me to both boot my PC to FreeBSD, and to
Windows with FreeBSD still available.

/JMS
___
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: Help needed w/ HighPoint RocketRAID 3120 on FreeBSD 7.1-RELEASE

2009-01-16 Thread ThinkDifferently


Another user wrote:
 
 Try to reload a boot manager with the new boot order. It may be the bios
 is
 renumbering the drives with the boot order. I have several plug in cards
 and have
 had to to this. Boot manager is on ad0 but boot order looks to ad6 first.
 You could
 use another manager like GAG, my fav.
 You may need to force file system mount and edit the fstab after moving
 everything
 around. 
 

(Another user sent the above to me in e-mail, but I had trouble replying to
him, and I didn't see it on Nabble.)

OK, this is interesting, but I admit I don't know much about boot managers.

Can you please elaborate a little more on this?  Is this something I can do
from the FixIt shell?
-- 
View this message in context: 
http://www.nabble.com/Help-needed-w--HighPoint-RocketRAID-3120-on-FreeBSD-7.1-RELEASE-tp21479839p21502779.html
Sent from the freebsd-questions mailing list archive at Nabble.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


Re: age0 driver power issues - device_attach error 6

2009-01-16 Thread Paul B. Mahol
On 1/16/09, Da Rock rock_on_the_...@comcen.com.au wrote:
 I'm getting issues similar to what others have seen in the pre-release
 7.1. I'm using the release version because it supposedly has this
 driver, but the issue is when I'm on battery it'll work and load the
 driver, on ac forget it.

What is its output on battery and on ac? pciconv -lvc

-- 
Paul
___
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: age0 driver power issues - device_attach error 6

2009-01-16 Thread Paul B. Mahol
On 1/16/09, Paul B. Mahol one...@gmail.com wrote:
 On 1/16/09, Da Rock rock_on_the_...@comcen.com.au wrote:
 I'm getting issues similar to what others have seen in the pre-release
 7.1. I'm using the release version because it supposedly has this
 driver, but the issue is when I'm on battery it'll work and load the
 driver, on ac forget it.

 What is its output on battery and on ac? pciconv -lvc

s/pciconv/pciconf/

-- 
Paul
___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread James Seward
On Fri, Jan 16, 2009 at 4:10 PM, DAve dave.l...@pixelhammer.com wrote:
 While I have not tried it, it claims it can make a vmdk from a physical
 server. I have used it to move virtualized FreeBSD installs from one vmware
 server to another.

 http://www.vmware.com/products/converter/overview.html

I can't remember why I didn't use this when I last did P2V on a
FreeBSD box, but I ended up just creating a VM with a new vmdk of the
correct size and then using dd over nc to copy the disk from the
physical machine, which worked fine too. An important gotcha is if the
host is IDE but you create your VM with SCSI disks (e.g. for ESX) and
the disk devices change name :)

/JMS
___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread Odhiambo Washington
On Fri, Jan 16, 2009 at 7:28 PM, James Seward james...@gmail.com wrote:

 On Fri, Jan 16, 2009 at 4:10 PM, DAve dave.l...@pixelhammer.com wrote:
  While I have not tried it, it claims it can make a vmdk from a physical
  server. I have used it to move virtualized FreeBSD installs from one
 vmware
  server to another.
 
  http://www.vmware.com/products/converter/overview.html

 I can't remember why I didn't use this when I last did P2V on a
 FreeBSD box, but I ended up just creating a VM with a new vmdk of the
 correct size and then using dd over nc to copy the disk from the
 physical machine, which worked fine too. An important gotcha is if the
 host is IDE but you create your VM with SCSI disks (e.g. for ESX) and
 the disk devices change name :)


Hi JMS,

Could you kindly share the steps you followed? It looks like that's what I
have to do, as this app is commercial and I don't have that money now:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread Steve Polyack

DAve wrote:
While I have not tried it, it claims it can make a vmdk from a 
physical server. I have used it to move virtualized FreeBSD installs 
from one vmware server to another.


http://www.vmware.com/products/converter/overview.html

DAve



VMware Converter on supports source physical machines running 64-bit 
Windows XP/2003, WinNT SP4+, Windows 2000, Windows XP, Windows 2003.  
If you want to convert a FreeBSD machine, it's going to take some 
additional work.


There is probably a simpler way, but one option is to:
* Put the disk in a machine running VMWare Server
* Create a VM with both access to the physical disk and an appropriately 
sized virtual disk

* Boot a hard drive cloning ISO such as G4U inside the virtual machine
* Clone the physical disk to the VM's virtual disk
* Reconfigure the VM to use only the virtual disk; it should boot just fine
* Ship off the contents of the VM folder to your friend.



-Steve Polyack
___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread DAve

Odhiambo Washington wrote:



On Fri, Jan 16, 2009 at 7:28 PM, James Seward james...@gmail.com 
mailto:james...@gmail.com wrote:


On Fri, Jan 16, 2009 at 4:10 PM, DAve dave.l...@pixelhammer.com
mailto:dave.l...@pixelhammer.com wrote:
  While I have not tried it, it claims it can make a vmdk from a
physical
  server. I have used it to move virtualized FreeBSD installs from
one vmware
  server to another.
 
  http://www.vmware.com/products/converter/overview.html

I can't remember why I didn't use this when I last did P2V on a
FreeBSD box, but I ended up just creating a VM with a new vmdk of the
correct size and then using dd over nc to copy the disk from the
physical machine, which worked fine too. An important gotcha is if the
host is IDE but you create your VM with SCSI disks (e.g. for ESX) and
the disk devices change name :)


Hi JMS,

Could you kindly share the steps you followed? It looks like that's what 
I have to do, as this app is commercial and I don't have that money now:-)


Nope, the starter edition is free. Believe me, if we had to pay for it, 
my boss wouldn't let me use it 8^(


DAve

--
The whole internet thing is sucking the life out of me,
there ain't no pony in there.
___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread James Seward
On Fri, Jan 16, 2009 at 4:41 PM, DAve dave.l...@pixelhammer.com wrote:
 Nope, the starter edition is free. Believe me, if we had to pay for it, my
 boss wouldn't let me use it 8^(

What are the restrictions on the starter version? Maybe one of those
is why I ended up not using it.

If it will do it, it will definitely be the most efficient route.

/JMS
___
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: FreeBSD Boot Manager

2009-01-16 Thread michael



Da Rock wrote:

On Fri, 2009-01-09 at 09:53 -0500, Grant Peel wrote:
  

Hi Mike,

I am not at all sure whate you are suggesting here?

What I am asking, is, somehting like:

Can I reboot the machine with the FreeBSD install disk, and using the 
sysinstall utility, reinstall the freebsd boot manger so I wind up with:


F1 Windows
F2 FreeBSD
F5 Disk1

-Grant



Not a chance- why do you think you have to install Window$ first? Gates
and his cronies aren't going to make it easy for you to install free
software, and so they make it as hard as possible hoping you'll install
Window$ and give up.
  
That is completely off the wall wrong. You can install FreeBSD first and 
then Windows and you CAN fix the boot issue yourself with the cd OR you 
can add it to windows loader. you're just wrting the bootsector. not 
hard to do.

I haven't heard of anywhere that any of the freeloaders (pardon the pun)
that can boot a M$ system- only paid for software like Bootmagic. Or use
the M$ loader in window$ to boot other systems- strange that it should
be able to do that, but then most of the OSS is KISS based rather than
the rigmarole M$ go to.

Again, I could be outdated and/or wrong on this, but I doubt it has
changed.

___
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: Importing into VMWare Workstation 6.5

2009-01-16 Thread James Seward
On Fri, Jan 16, 2009 at 4:33 PM, Odhiambo Washington odhia...@gmail.com wrote:
 Could you kindly share the steps you followed? It looks like that's what I
 have to do, as this app is commercial and I don't have that money now:-)

Here's a page that describes the process:
http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html

The only change I'd suggest to that is adding something like bs=1M to
the dd command on the source to speed up reading a bit.

You can also achieve this with dump instead of dd if you want to
change the disk size, for example. When I did it I believe I booted
both sides off a FreeSBIE disc/ISO since it offers a nicer environment
than e.g. the recovery console. The LiveCD option in sysinstall may
also be a good way to go.

/JMS
___
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: Did FreeBSD lose 83% of core developers?

2009-01-16 Thread Fernando Apesteguía
On Fri, Jan 16, 2009 at 3:18 PM, Konrad Heuer kheu...@gwdg.de wrote:

 Hello everyone,

 bsdconferen...@youtube (http://de.youtube.com/watch?v=g7tvI6JCXD0) presents
 a talk of Jason Dixon (BSD is Dying, Jason Dixon, NYCBSDCon 2007) mentioning
 what I ask within the subject:

 Did FreeBSD lose 83% of core developers?

It actually says 93% ;)


 I never heard about that. What's the background of this message? Or is it
 just a joke?

 Best regards

 Konrad Heuer
 GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
 ___
 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: Runtime de/encryption

2009-01-16 Thread Roland Smith
On Fri, Jan 16, 2009 at 02:59:34PM +0100, Marco wrote:
 Hello List,
 
 i'am using the geom framework for quite a time. I'am happy about
 gbde/geli implementations(beside the race condition in geli) however, i
 wonder since some time, as the data may get
 exposed on a running server(as the partitions decrypted) 

On-disk encryption is not meant to secure access on a running machine.

File and directory contents are only decrypted in memory, not on disk
when you read them. You should use normal file permissions and possibly
ACL's to restrict access to mounted filesystems.

There are of course data structures in the kernel that contain decrypted
information about the volume. But if an attacker can grab that info from
a running kernel you've got bigger problems...

 is there a way
 to do some kind of runtime de/encyrption, with keys? so that only
 special users with the right handle can encrypt or decrypt data? so
 talking about another filesystem layer...

I don't think there is something like that can be easily done. You'd
have to alter the semantics of systems calls like open(2) and read(2) to use
passwords.

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)


pgpQa6d2OJ0Zj.pgp
Description: PGP signature


RAM/Memory resources on 7 STABLE

2009-01-16 Thread Tim Kellers

My Machine: Dell 2850 PE w/ 12 GB of Ram

www# uname -a
FreeBSD www 7.1-STABLE FreeBSD 7.1-STABLE #2: Tue Jan  6 19:24:57 EST 2009 
r...@www:/usr/obj/usr/src/sys/DELL64  amd64

When I boot this machine it usually shows (in top) about 11 G Free in the Mem: 
line

The machine, in this snippet, has been up for 5 days 22 hours and change and it 
now shows 1436M free in the Mem: line
I've been watching the number and it has been slowly decreasing over the 5 days 
since its last boot.  It looks like as the Free line trends down, the Inact 
value trends up to keep the total Mem used at the installed 12G

I've never noticed this (the slow decline of Free) before on any machine I've 
had.  Maybe that just means it has happened and I haven't noticed it, but I 
don't know.

Is anyone familiar with this or if it means trouble or what might be the cause?

Thanks

Tim



last pid: 67240;  load averages:  0.16,  0.14,  0.10
 up 5+22:44:26  12:32:54
109 processes: 1 running, 107 sleeping, 1 zombie
CPU 0:  0.0% user,  0.0% nice,  1.5% system,  0.0% interrupt, 98.5% idle
CPU 1:  0.0% user,  0.0% nice,  1.1% system,  0.0% interrupt, 98.9% idle
CPU 2:  0.0% user,  0.0% nice,  1.1% system,  0.8% interrupt, 98.1% idle
CPU 3:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 383M Active, 9507M Inact, 424M Wired, 129M Cache, 214M Buf, 1447M Free
Swap: 2014M Total, 2014M Free




___
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


BUG or FEATURE

2009-01-16 Thread KES
Здравствуйте, Questions.

I have two routing tables, three LAN: one internal, two external.
I have connected VIA VPN to server through internal LAN.
if in firewall I add:
setfib 1 all from internal.lan.ip to any

The packet inside VPN tunnel is marked to have fib 1 and will leave router 
acording routing table 2 (fib 1)

If client IP is 10.0.0.2 and router IP is 10.0.0.1 and LAN interface is rl2
If VPN interface on router is ng0 and framed IP for VPN client is 192.168.0.2

it seems that
setfib 1 all from internal.lan.ip to any in recv rl2
is equivalent to
setfib 1 all from 192.168.0.2 to any in recv ng0

Is this feature or bug that packet inside tunnel is also marked to have same 
fib as tunnel/transport packet has?

-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread Lowell Gilbert
Tim Kellers kell...@njit.edu writes:

 My Machine: Dell 2850 PE w/ 12 GB of Ram

 www# uname -a
 FreeBSD www 7.1-STABLE FreeBSD 7.1-STABLE #2: Tue Jan  6 19:24:57 EST 2009
  r...@www:/usr/obj/usr/src/sys/DELL64  amd64

 When I boot this machine it usually shows (in top) about 11 G Free in the 
 Mem: line

 The machine, in this snippet, has been up for 5 days 22 hours and change and 
 it now shows 1436M free in the Mem: line
 I've been watching the number and it has been slowly decreasing over the 5 
 days since its last boot.  It looks like as the Free line trends down, the 
 Inact value trends up to keep the total Mem used at the installed 12G

 I've never noticed this (the slow decline of Free) before on any machine I've 
 had.  Maybe that just means it has happened and I haven't noticed it, but I 
 don't know.

 Is anyone familiar with this or if it means trouble or what might be the 
 cause?

 Thanks

 Tim



 last pid: 67240;  load averages:  0.16,  0.14,  0.10  
up 5+22:44:26  12:32:54
 109 processes: 1 running, 107 sleeping, 1 zombie
 CPU 0:  0.0% user,  0.0% nice,  1.5% system,  0.0% interrupt, 98.5% idle
 CPU 1:  0.0% user,  0.0% nice,  1.1% system,  0.0% interrupt, 98.9% idle
 CPU 2:  0.0% user,  0.0% nice,  1.1% system,  0.8% interrupt, 98.1% idle
 CPU 3:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
 Mem: 383M Active, 9507M Inact, 424M Wired, 129M Cache, 214M Buf, 1447M Free
 Swap: 2014M Total, 2014M Free


See the FreeBSD FAQ entry titled Why does top show very little free
memory even when I have very few programs running?.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread RW
On Fri, 16 Jan 2009 12:35:33 -0500
Tim Kellers kell...@njit.edu wrote:


 I've never noticed this (the slow decline of Free) before on any
 machine I've had.  Maybe that just means it has happened and I
 haven't noticed it, but I don't know.

FreeBSD has worked like that for a long time, it doesn't free memory as
long as there's a better use for it. It just maintains a few percent
free for interrupt handling. 

It's in the FAQ.
___
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 7.1, PF errors - Cannot allocate memory

2009-01-16 Thread Mike Sweetser - Adhost
Hello,

We've recently upgraded our PF firewalls from FreeBSD 6.3 to FreeBSD
7.1-RELEASE-p2.  Since doing so, we are receiving intermittent errors on
reloading the PF configuration.

At first, we receive Cannot allocate memory errors on specific table
names.  These tables worked properly on FreeBSD 6.3, and are less than
60,000 entries each.  Sometimes, flushing the table will work, but
recently, we started getting the following error, even with every table
cleared:

DIOCADDRULE: Cannot allocate memory

The server has plenty of memory, and again, was running fine under 6.3.
Any idea what could be wrong?

Thanks,
Mike Sweetser
___
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: vipw and bash login shell

2009-01-16 Thread Daniel Howard
On Thu, Jan 15, 2009 at 11:16 PM, Kurt Bigler k...@breathsense.com wrote:

 Hi,

 When I used vipw to change the login shell to /usr/local/bin/bash (which is
 listed in /etc/shells, and was built from ports), subsequent ssh login
 attempts fail (password rejected).  If I change the shell back to /bin/sh
 or
 /bin/csh then login works again.

 If I instead use webmin Users and Groups to set the login shell to bash (or
 any other shell), everything is fine.  There is a delay of quite a few
 seconds for the webmin Save operation to complete, whereas after ZZ the
 vipw
 completes without any perceptible delay.


Kurt,

What happens if you change the shell via chsh?  What happens if you attempt
to set a different shell, like /bin/tcsh?  Do you get the same result when
you log in from within the shell using login or su?  What does the
user's login line look like in /etc/master.passwd after either vipw or
webmin?  Are you certain you aren't doing something silly with your editor
like a line wrap or DOS newlines?

If you want to debug, you can try doing ssh -v and / or sshd -d.

Good luck!

Sincerely,
-daniel

-- 
http://dannyman.toldme.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


Re: RAM/Memory resources on 7 STABLE

2009-01-16 Thread Tim Kellers
Thanks to all who responded. I am familiar with the FAQ and what it says 
about memory handling. This is my first time with installed RAM over 8 
Gig in an AMD environment so I was just making sure there wasn't 
something going on that looked odd to anyone else.


Tim


RW wrote:

On Fri, 16 Jan 2009 12:35:33 -0500
Tim Kellers kell...@njit.edu wrote:


  

I've never noticed this (the slow decline of Free) before on any
machine I've had.  Maybe that just means it has happened and I
haven't noticed it, but I don't know.



FreeBSD has worked like that for a long time, it doesn't free memory as
long as there's a better use for it. It just maintains a few percent
free for interrupt handling. 


It's in the FAQ.
___
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: Cannot install php5-gd!!!

2009-01-16 Thread perikillo
On Fri, Jan 16, 2009 at 12:14 AM, Manolis Kiagias sonic200...@gmail.comwrote:

 perikillo wrote:

  Hi people.

  I want to install some ports that depends this module php5-gd (phpmyadmin
 example), I update my ports every day, but I still  getting this error:

  bacula# pwd
 /usr/ports/graphics/php5-gd
 bacula# make install clean
 ===  php5-gd-5.2.8 has known vulnerabilities:
 = php5-gd -- uninitialized memory information disclosure vulnerability.
   Reference: 

 http://www.FreeBSD.org/ports/portaudit/58a3c266-db01-11dd-ae30-001cc0377035.html
  = Please update your ports tree and try again.
 *** Error code 1

 Stop in /usr/ports/graphics/php5-gd.
 *** Error code 1

 Stop in /usr/ports/graphics/php5-gd.

  I have been trying today, but no success, someone knows anything about
 this?

  FreeBSD 6.1-p21

  Thanks for your support!!!



 Well, it seems it suffers from an unpatched vulnerability.
 You can  still install it if you really want to, using stg like:

 make install clean -DDISABLE_VULNERABILITIES

 but whether it would be wise to do so, is definitely questionable.


   Thanks men.

   This is a internal server, will not be reachable from outside, but I need
some ports that need this package.

   Thanks for again for your advised, greetings!!!
___
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


skype permissions

2009-01-16 Thread Rem P Roberti
I have just installed Skype and the only way that I can launch the 
program is
as root.  I know that that is a permissions thing, but I can't figure 
out how to

bring up the program as user, or if that is even possible.

Rem
___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread Wojciech Puchar
When I boot this machine it usually shows (in top) about 11 G Free in the 
Mem: line


The machine, in this snippet, has been up for 5 days 22 hours and change and 
it now shows 1436M free in the Mem: line
I've been watching the number and it has been slowly decreasing over the 5 
days since its last boot.  It looks like as the Free line trends down, the 
Inact value trends up to keep the total Mem used at the installed 12G


ALL unused memory is used as disk cache in FreeBSD.
___
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: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
 I have just installed Skype and the only way that I can launch the
 program is
 as root.  I know that that is a permissions thing, but I can't figure
 out how to
 bring up the program as user, or if that is even possible.

 Rem

This problem only happens on certain setups and we have been unable to find 
out why it's happening. Skype should (and does) work as a normal user and 
shouldn't require any permission changes.

Please post the output of any errors you're seeing and the output of uname -a. 
Also, how are you starting skype? What linux_base are you running?

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.1R/announce.html
---




___
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: skype permissions

2009-01-16 Thread Rem P Roberti



On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem



This problem only happens on certain setups and we have been unable to find 
out why it's happening. Skype should (and does) work as a normal user and 
shouldn't require any permission changes.


Please post the output of any errors you're seeing and the output of uname -a. 
Also, how are you starting skype? What linux_base are you running?


Beech

  


The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD 
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


The only way that I can start Skype is via the command line as root.  If 
I try to launch
the program as user this results: /usr/local/bin/skype: 
/usr/local/share/skype/skype: Permission denied


I am currently running linux_base-fc6-6_5 which I installed as per 
UPDATING 20080318.


Rem






___
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: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  I have just installed Skype and the only way that I can launch the
  program is
  as root.  I know that that is a permissions thing, but I can't figure
  out how to
  bring up the program as user, or if that is even possible.
 
  Rem
 
  This problem only happens on certain setups and we have been unable to
  find out why it's happening. Skype should (and does) work as a normal
  user and shouldn't require any permission changes.
 
  Please post the output of any errors you're seeing and the output of
  uname -a. Also, how are you starting skype? What linux_base are you
  running?
 
  Beech

 The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 The only way that I can start Skype is via the command line as root.  If
 I try to launch
 the program as user this results: /usr/local/bin/skype:
 /usr/local/share/skype/skype: Permission denied

 I am currently running linux_base-fc6-6_5 which I installed as per
 UPDATING 20080318.

 Rem

What are the premissions of /usr/local/share/skype? Try doing chmod 755 
/usr/local/share/skype and start with:

skype --resources=/usr/local/share/skype

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.1R/announce.html
---




___
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: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  I have just installed Skype and the only way that I can launch the
  program is
  as root.  I know that that is a permissions thing, but I can't figure
  out how to
  bring up the program as user, or if that is even possible.
 
  Rem
 
  This problem only happens on certain setups and we have been unable to
  find out why it's happening. Skype should (and does) work as a normal
  user and shouldn't require any permission changes.
 
  Please post the output of any errors you're seeing and the output of
  uname -a. Also, how are you starting skype? What linux_base are you
  running?
 
  Beech

 The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 The only way that I can start Skype is via the command line as root.  If
 I try to launch
 the program as user this results: /usr/local/bin/skype:
 /usr/local/share/skype/skype: Permission denied

 I am currently running linux_base-fc6-6_5 which I installed as per
 UPDATING 20080318.

Also try chmod a+rx /usr/local/share/skype/skype

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.1R/announce.html
---




___
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: skype permissions

2009-01-16 Thread Jerry McAllister
On Fri, Jan 16, 2009 at 02:02:30PM -0800, Rem P Roberti wrote:

 
 On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
   
 I have just installed Skype and the only way that I can launch the
 program is
 as root.  I know that that is a permissions thing, but I can't figure
 out how to
 bring up the program as user, or if that is even possible.
 
 Rem
 
 
 This problem only happens on certain setups and we have been unable to 
 find out why it's happening. Skype should (and does) work as a normal user 
 and shouldn't require any permission changes.
 
 Please post the output of any errors you're seeing and the output of uname 
 -a. Also, how are you starting skype? What linux_base are you running?
 
 Beech
 
   
 
 The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD 
 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 The only way that I can start Skype is via the command line as root.  If 
 I try to launch
 the program as user this results: /usr/local/bin/skype: 
 /usr/local/share/skype/skype: Permission denied
 
 I am currently running linux_base-fc6-6_5 which I installed as per 
 UPDATING 20080318.

I have never used skype, (might try one of these days) but
is it possible you have to set the Set-UID bit?
eg  chmod 4755 /usr/local/bin/skype   ??
That's a little nasty, but...

jerry


 
 Rem
 
 
 
 
 
 
 ___
 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: Installing FreeBSD with Windows XP

2009-01-16 Thread Chris Whitehouse

Jerry McAllister wrote:

On Wed, Jan 14, 2009 at 01:05:42PM -0800, tsai wrote:


Jerry,

You read my mind.  That was going to be my next question; how to get around
the proprietary recovery section HP installed from the start.  You hit the
nail on the head!  I will try this soon.


Yup.   Basically, you just ignore it, leave it alone - anyway as long 
as MS-SP isn't bothered by it.


jerry


I have a HP laptop which came with a recovery partition. I don't have 
windows on the laptop now but I used to and:


a) somewhere there is a utility to make recovery dvds which do the same 
job so you can remove the recovery partition.
b) there is a HP backup and recovery utility - you might have to install 
it from the HP software. There is an option to remove the recovery 
partition with it.


The dvd creation utility might be part of the back and recovery 
partition. I've used the recovery dvd's 2 or 3 times, they work fine, 
including recreating the recovery partition.


Sorry i can't give you more exact details, HTH.

Chris
___
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 FreeBSD with Windows XP

2009-01-16 Thread Jerry McAllister
On Fri, Jan 16, 2009 at 10:19:00PM +, Chris Whitehouse wrote:

 Jerry McAllister wrote:
 On Wed, Jan 14, 2009 at 01:05:42PM -0800, tsai wrote:
 
 Jerry,
 
 You read my mind.  That was going to be my next question; how to get 
 around
 the proprietary recovery section HP installed from the start.  You hit the
 nail on the head!  I will try this soon.
 
 Yup.   Basically, you just ignore it, leave it alone - anyway as long 
 as MS-SP isn't bothered by it.
 
 jerry
 
 I have a HP laptop which came with a recovery partition. I don't have 
 windows on the laptop now but I used to and:
 
 a) somewhere there is a utility to make recovery dvds which do the same 
 job so you can remove the recovery partition.
 b) there is a HP backup and recovery utility - you might have to install 
 it from the HP software. There is an option to remove the recovery 
 partition with it.


Sure, you can nuke the vendor maintenance slice if you want to and get
rid of the MS stuff as well at the same time.   But, the OP seemed to
want to keep those and add FreeBSD to the system.

jerry



 
 The dvd creation utility might be part of the back and recovery 
 partition. I've used the recovery dvd's 2 or 3 times, they work fine, 
 including recreating the recovery partition.
 
 Sorry i can't give you more exact details, HTH.
 
 Chris
 ___
 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: age0 driver power issues - device_attach error 6

2009-01-16 Thread Da Rock
On Fri, 2009-01-16 at 17:19 +0100, Paul B. Mahol wrote:
 On 1/16/09, Da Rock rock_on_the_...@comcen.com.au wrote:
  I'm getting issues similar to what others have seen in the pre-release
  7.1. I'm using the release version because it supposedly has this
  driver, but the issue is when I'm on battery it'll work and load the
  driver, on ac forget it.
 
 What is its output on battery and on ac? pciconv -lvc
 

pciconf -lvc:

snip
a...@pci0:3:0:0:class=0x02 card=0x14e51043 chip=0x10481969
rev=0xb0 hdr=0x00
vendor  = 'Attansic (Now owned by Atheros)'
device  = 'L1 Gigabit Ethernet 10/100/1000Base-T Ethernet 
Controller'
class   = network
subclass= ethernet
cap 01[40]  = powerspec 2 supports D0 D3 current D0
cap 05[48]  = MSI supports 1 message, 64 bit
cap 10[58]  = PCI-Express 1 endpoint
cap 03[6c]  = VPD
/snip

dmesg:

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE-p2 #0: Thu Jan 15 16:27:55 EST 2009
ad...@laptop1.herveybayaustralia.com.au:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU T7500  @ 2.20GHz (2194.51-MHz
K8-class CPU)
  Origin = GenuineIntel  Id = 0x6fb  Stepping = 11

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

Features2=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
usable memory = 1051660288 (1002 MB)
avail memory  = 1013219328 (966 MB)
ACPI APIC Table: A_M_I_ OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413)
acpi0: _ASUS_ Notebook on motherboard
acpi0: [ITHREAD]
acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
unknown: I/O range not supported
unknown: I/O range not supported
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3f70 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on
acpi0
Timecounter HPET frequency 14318180 Hz quality 900
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xec00-0xec07 mem
0xfeb0-0xfebf,0xd000-0xdfff irq 16 at device 2.0 on pci0
agp0: Intel GM965 SVGA controller on vgapci0
agp0: detected 7676k stolen memory
agp0: aperture size is 256M
vgapci1: VGA-compatible display mem 0xfe90-0xfe9f at device
2.1 on pci0
uhci0: Intel 82801H (ICH8) USB controller USB-D port 0xe000-0xe01f irq
16 at device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: Intel 82801H (ICH8) USB controller USB-D on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801H (ICH8) USB controller USB-E port 0xdc00-0xdc1f irq
21 at device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: Intel 82801H (ICH8) USB controller USB-E on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: Intel 82801H (ICH8) USB 2.0 controller USB2-B mem
0xfeaff400-0xfeaff7ff irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: Intel 82801H (ICH8) USB 2.0 controller USB2-B on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
uhub2: 4 ports with 4 removable, self powered
ugen0: Syntek Semiconductor USB 2.0 Image Capture Controller, class
0/0, rev 2.00/0.05, addr 2 on uhub2
pci0: multimedia at device 27.0 (no driver attached)
pcib1: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 18 at device 28.2 on pci0
pci3: ACPI PCI bus on pcib3
age0: Attansic Technology Corp, L1 Gigabit Ethernet mem
0xfdcc-0xfdcf irq 18 at device 0.0 on pci3
age0: master reset timeout!
age0: reset timeout(0x)!
age0: PCI device revision : 0x00b0
age0: Chip id/revision : 0x
age0: invalid chip revision : 0x -- not initialized?
device_attach: age0 attach returned 6
pcib4: ACPI PCI-PCI bridge irq 19 at device 28.3 

Re: skype permissions

2009-01-16 Thread Rem P Roberti

Beech Rintoul wrote:

On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  

On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem


This problem only happens on certain setups and we have been unable to
find out why it's happening. Skype should (and does) work as a normal
user and shouldn't require any permission changes.

Please post the output of any errors you're seeing and the output of
uname -a. Also, how are you starting skype? What linux_base are you
running?

Beech
  

The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

The only way that I can start Skype is via the command line as root.  If
I try to launch
the program as user this results: /usr/local/bin/skype:
/usr/local/share/skype/skype: Permission denied

I am currently running linux_base-fc6-6_5 which I installed as per
UPDATING 20080318.

Rem



What are the premissions of /usr/local/share/skype? Try doing chmod 755 
/usr/local/share/skype and start with:


skype --resources=/usr/local/share/skype

Beech

  
Yeah, I tried 755 earlier, and a+rx.  No dice.  Regardless of how I set 
the permissions (so far)
when I try to launch as user I get the same Permission denied 
routine.  Weird.


Rem
___
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: skype permissions

2009-01-16 Thread Rem P Roberti

Jerry McAllister wrote:

On Fri, Jan 16, 2009 at 02:02:30PM -0800, Rem P Roberti wrote:

  

On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
 
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem
   

This problem only happens on certain setups and we have been unable to 
find out why it's happening. Skype should (and does) work as a normal user 
and shouldn't require any permission changes.


Please post the output of any errors you're seeing and the output of uname 
-a. Also, how are you starting skype? What linux_base are you running?


Beech

 
  
The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD 
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


The only way that I can start Skype is via the command line as root.  If 
I try to launch
the program as user this results: /usr/local/bin/skype: 
/usr/local/share/skype/skype: Permission denied


I am currently running linux_base-fc6-6_5 which I installed as per 
UPDATING 20080318.



I have never used skype, (might try one of these days) but
is it possible you have to set the Set-UID bit?
eg  chmod 4755 /usr/local/bin/skype   ??
That's a little nasty, but...

jerry


  


It was worth a shot, but nothing doing.  What's interesting is that on 
another system
that had PC-BSD installed the program would play alright, but if you 
closed down the
system and rebooted it would ask for root's password in order for Skype 
to play.  Something's

definitely weird here.

Rem
___
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 FreeBSD with Windows XP

2009-01-16 Thread Da Rock
On Fri, 2009-01-16 at 18:05 -0500, Jerry McAllister wrote:
 On Fri, Jan 16, 2009 at 10:19:00PM +, Chris Whitehouse wrote:
 
  Jerry McAllister wrote:
  On Wed, Jan 14, 2009 at 01:05:42PM -0800, tsai wrote:
  
  Jerry,
  
  You read my mind.  That was going to be my next question; how to get 
  around
  the proprietary recovery section HP installed from the start.  You hit the
  nail on the head!  I will try this soon.
  
  Yup.   Basically, you just ignore it, leave it alone - anyway as long 
  as MS-SP isn't bothered by it.
  
  jerry
  
  I have a HP laptop which came with a recovery partition. I don't have 
  windows on the laptop now but I used to and:
  
  a) somewhere there is a utility to make recovery dvds which do the same 
  job so you can remove the recovery partition.
  b) there is a HP backup and recovery utility - you might have to install 
  it from the HP software. There is an option to remove the recovery 
  partition with it.
 
 
 Sure, you can nuke the vendor maintenance slice if you want to and get
 rid of the MS stuff as well at the same time.   But, the OP seemed to
 want to keep those and add FreeBSD to the system.
 
 jerry

Thats how I read it too. That said I'll recognize you guys as the
experts- its been years since I had to dual boot! I seem to have
forgotten a lot of 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: skype permissions

2009-01-16 Thread Rem P Roberti

Joakim Fogelberg wrote:

On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org wrote:
  

What are the premissions of /usr/local/share/skype? Try doing chmod 755
/usr/local/share/skype and start with:



This did the trick for me. I just installed skype and:

will-try# ls -l /usr/local/share/ | grep skype
drwx--6 root  wheel   512 Jan 17 00:13 skype

After changing the permissions I am able to start skype from the Gnome menu.

  
Thanks for the shot, Joakim, but that didn't work either.  When calling 
Skype

from user's command prompt still get the same result.  BTW, I'm using Xfce
as my desktop.

Rem
___
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: skype permissions

2009-01-16 Thread Rem P Roberti

Beech Rintoul wrote:

On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  

On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem


This problem only happens on certain setups and we have been unable to
find out why it's happening. Skype should (and does) work as a normal
user and shouldn't require any permission changes.

Please post the output of any errors you're seeing and the output of
uname -a. Also, how are you starting skype? What linux_base are you
running?

Beech
  

The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

The only way that I can start Skype is via the command line as root.  If
I try to launch
the program as user this results: /usr/local/bin/skype:
/usr/local/share/skype/skype: Permission denied

I am currently running linux_base-fc6-6_5 which I installed as per
UPDATING 20080318.

Rem



What are the premissions of /usr/local/share/skype? Try doing chmod 755 
/usr/local/share/skype and start with:


skype --resources=/usr/local/share/skype

Beech

  


Oops.  I forgot to post this (gulp)...when I do the above this results:

ELF interpreter /lib/ld-linux.so.2 not found
Abort trap

Rem
___
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 standards compliance

2009-01-16 Thread Da Rock
I'm just in the middle of researching the core of Freebsd (for want of a
better term) so I can understand how to fix and create software and
drivers. Can people clarify my understanding here?

According to wikipedia Freebsd is only mostly compliant with POSIX, yet
BSD/OS is fully- why would this be?

From what I can tell ANSI C is the standard, and POSIX is an
implementation(?) of that standard (threads, i/o, etc)? Which version of
these standards is Freebsd at- c89, c90, c99, POSIX 1(b,c, etc)?

Excuse my ignorance- for reference I am reading the Developers guidebook
and the architecture book atm :)

___
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 with: atacontrol create RAID1 ad4 ad6

2009-01-16 Thread ThinkDifferently

I need help with this.  I'm trying to create a software RAID1.  I followed
the instructions in man page 
http://www.freebsd.org/cgi/man.cgi?query=atacontrolsektion=8apropos=0manpath=FreeBSD+7.1-RELEASE
atacontrol(8) 


atacontrol(8) wrote:
 
 [snip]
 A quick and dirty way to create such a mirrored array on a new system is
 to boot off the FreeBSD install CD, do a minimal scratch install, abort
 out of the post install questions, and at the command line issue the com-
 mand:
 
atacontrol create RAID1 ad4 ad6
 
 then immediately issue a reboot and boot from the installation CD again,
 and during the installation, you will now see ar0 listed as a disk to
 install on, and install on that instead of ad4, ad6, etc. 
 [snip]
 

I did the above exactly as stated, except when I reboot ar0 just disappears. 
What went wrong?  Or, please point out what I missed.  :confused:

I've tried setting the SATA type in BIOS to either Native IDE or AHCI
modes.  If I set it to RAID mode, the installation says no disks found. 
When I boot up, either from the CD or from ad4, I see both disks, ad4  ad6.

When I do the atacontrol create RAID1 ad4 ad6 command and then atacontrol
status ar0, it reports that ar0 is READY, but when I reboot, it's gone.
-- 
View this message in context: 
http://www.nabble.com/Help-with%3A--atacontrol-create-RAID1-ad4-ad6-tp21511186p21511186.html
Sent from the freebsd-questions mailing list archive at Nabble.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


Re: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net wrote:
 Joakim Fogelberg wrote:

 On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org wrote:


 What are the premissions of /usr/local/share/skype? Try doing chmod 755
 /usr/local/share/skype and start with:


 This did the trick for me. I just installed skype and:

 will-try# ls -l /usr/local/share/ | grep skype
 drwx--6 root  wheel   512 Jan 17 00:13 skype

 After changing the permissions I am able to start skype from the Gnome
 menu.



 Thanks for the shot, Joakim, but that didn't work either.  When calling
 Skype
 from user's command prompt still get the same result.  BTW, I'm using Xfce
 as my desktop.

 Rem


Just for the record... I'm also able to start Skype from the command prompt.

I'm not sure if I really understand makefiles, but it seems to me that
/usr/local/share/skype are created with the following directive in
/usr/ports/net/skype/Makefile:
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
${PREFIX}/${SKYPEDIR}/

Maybe the directory should be created first? I.e. change it to the following:
@${INSTALL} -d ${PREFIX}/${SKYPEDIR}
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
${PREFIX}/${SKYPEDIR}/


-- 

Joakim Fogelberg
___
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: skype permissions

2009-01-16 Thread Rem P Roberti

Joakim Fogelberg wrote:

On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net wrote:
  

Joakim Fogelberg wrote:


On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org wrote:

  

What are the premissions of /usr/local/share/skype? Try doing chmod 755
/usr/local/share/skype and start with:



This did the trick for me. I just installed skype and:

will-try# ls -l /usr/local/share/ | grep skype
drwx--6 root  wheel   512 Jan 17 00:13 skype

After changing the permissions I am able to start skype from the Gnome
menu.


  

Thanks for the shot, Joakim, but that didn't work either.  When calling
Skype
from user's command prompt still get the same result.  BTW, I'm using Xfce
as my desktop.

Rem




Just for the record... I'm also able to start Skype from the command prompt.

I'm not sure if I really understand makefiles, but it seems to me that
/usr/local/share/skype are created with the following directive in
/usr/ports/net/skype/Makefile:
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
${PREFIX}/${SKYPEDIR}/

Maybe the directory should be created first? I.e. change it to the following:
@${INSTALL} -d ${PREFIX}/${SKYPEDIR}
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
${PREFIX}/${SKYPEDIR}/


  

Joakim...

Which version of freebsd are you using?  With all of the chmods that 
I've been doing
things began to get a little bunged up.  Couldn't even bring Skype up as 
root.  So I
deinstalled Skype via pkg-cutleaves and reinstalled.  In the process I 
had to also do a
deinstall/reinstall of linux_base-fc6.  So now I'm back to the original 
setup.  I assume
that you followed the directives of UPDATING 20080318 in order for you 
to get Skype

to work.

Rem

___
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: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote:
 On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net 
wrote:
  Joakim Fogelberg wrote:
  On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 
wrote:
  What are the premissions of /usr/local/share/skype? Try doing chmod 755
  /usr/local/share/skype and start with:
 
  This did the trick for me. I just installed skype and:
 
  will-try# ls -l /usr/local/share/ | grep skype
  drwx--6 root  wheel   512 Jan 17 00:13 skype
 
  After changing the permissions I am able to start skype from the Gnome
  menu.
 
  Thanks for the shot, Joakim, but that didn't work either.  When calling
  Skype
  from user's command prompt still get the same result.  BTW, I'm using
  Xfce as my desktop.
 
  Rem

 Just for the record... I'm also able to start Skype from the command
 prompt.

What happens if you do: /usr/local/share/skype/skype as a normal user?


 I'm not sure if I really understand makefiles, but it seems to me that
 /usr/local/share/skype are created with the following directive in
 /usr/ports/net/skype/Makefile:
 @cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
 ${PREFIX}/${SKYPEDIR}/

 Maybe the directory should be created first? I.e. change it to the
 following: @${INSTALL} -d ${PREFIX}/${SKYPEDIR}
 @cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
 ${PREFIX}/${SKYPEDIR}/

copytree_share does create the dir first if it doesn't exist. FWIW, I loaded 
xfwm and tried to reproduce this, but it works fine as a normal user on my 
-current box. I doubt if it would be any different on a 7.x box. I've seen 
this problem once or twice before, but both me and Skype are at a loss to 
explain why it's happening. I'll chat with the Skype devs later this evening 
and see if one of them has any suggestions.

Beech
-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.1R/announce.html
---




___
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 FreeBSD with Windows XP

2009-01-16 Thread Chris Whitehouse

Jerry McAllister wrote:

On Fri, Jan 16, 2009 at 10:19:00PM +, Chris Whitehouse wrote:


Jerry McAllister wrote:

On Wed, Jan 14, 2009 at 01:05:42PM -0800, tsai wrote:


Jerry,

You read my mind.  That was going to be my next question; how to get 
around

the proprietary recovery section HP installed from the start.  You hit the
nail on the head!  I will try this soon.
Yup.   Basically, you just ignore it, leave it alone - anyway as long 
as MS-SP isn't bothered by it.


jerry
I have a HP laptop which came with a recovery partition. I don't have 
windows on the laptop now but I used to and:


a) somewhere there is a utility to make recovery dvds which do the same 
job so you can remove the recovery partition.
b) there is a HP backup and recovery utility - you might have to install 
it from the HP software. There is an option to remove the recovery 
partition with it.



Sure, you can nuke the vendor maintenance slice if you want to and get
rid of the MS stuff as well at the same time.   But, the OP seemed to
want to keep those and add FreeBSD to the system.

jerry



I meant to suggest that you can put the recovery slice onto DVD to 
reclaim an additional 5gb disk space. So my whole procedure would be


- create backup dvd's (with the HP backup and recovery manager software 
if I'm right in thinking that's where this utility lives). Test them!
- get rid of the recovery slice using the backup and recovery manager. 
XP should now be the first slice (primary partition) if it wasn't already

- use gparted or other suitable utility to shrink the XP slice
- install FreeBSD in the new free space.

If the laptop is still under warranty you probably need to be able to 
reinstall it to factory state before you can talk to them about a 
warranty claim - hence the recovery dvd's.


Chris
___
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: skype permissions

2009-01-16 Thread Rem P Roberti

Beech Rintoul wrote:

On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote:
  
On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net 


wrote:
  

Joakim Fogelberg wrote:
  
On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 


wrote:
  

What are the premissions of /usr/local/share/skype? Try doing chmod 755
/usr/local/share/skype and start with:
  

This did the trick for me. I just installed skype and:

will-try# ls -l /usr/local/share/ | grep skype
drwx--6 root  wheel   512 Jan 17 00:13 skype

After changing the permissions I am able to start skype from the Gnome
menu.


Thanks for the shot, Joakim, but that didn't work either.  When calling
Skype
from user's command prompt still get the same result.  BTW, I'm using
Xfce as my desktop.

Rem
  

Just for the record... I'm also able to start Skype from the command
prompt.



What happens if you do: /usr/local/share/skype/skype as a normal user?
  

Same thing: Permission denied.
  

I'm not sure if I really understand makefiles, but it seems to me that
/usr/local/share/skype are created with the following directive in
/usr/ports/net/skype/Makefile:
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
${PREFIX}/${SKYPEDIR}/

Maybe the directory should be created first? I.e. change it to the
following: @${INSTALL} -d ${PREFIX}/${SKYPEDIR}
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
${PREFIX}/${SKYPEDIR}/



copytree_share does create the dir first if it doesn't exist. FWIW, I loaded 
xfwm and tried to reproduce this, but it works fine as a normal user on my 
-current box. I doubt if it would be any different on a 7.x box. I've seen 
this problem once or twice before, but both me and Skype are at a loss to 
explain why it's happening. I'll chat with the Skype devs later this evening 
and see if one of them has any suggestions.


Beech
  


Thank you!



___
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: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 15:32:47 Rem P Roberti wrote:
 Beech Rintoul wrote:
  On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote:
  On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net
 
  wrote:
  Joakim Fogelberg wrote:
  On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org
 
  wrote:
  What are the premissions of /usr/local/share/skype? Try doing chmod
  755 /usr/local/share/skype and start with:
 
  This did the trick for me. I just installed skype and:
 
  will-try# ls -l /usr/local/share/ | grep skype
  drwx--6 root  wheel   512 Jan 17 00:13 skype
 
  After changing the permissions I am able to start skype from the Gnome
  menu.
 
  Thanks for the shot, Joakim, but that didn't work either.  When calling
  Skype
  from user's command prompt still get the same result.  BTW, I'm using
  Xfce as my desktop.
 
  Rem
 
  Just for the record... I'm also able to start Skype from the command
  prompt.
 
  What happens if you do: /usr/local/share/skype/skype as a normal user?

 Same thing: Permission denied.

Wierd, and you're sure that binary is executable by all?


  I'm not sure if I really understand makefiles, but it seems to me that
  /usr/local/share/skype are created with the following directive in
  /usr/ports/net/skype/Makefile:
  @cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
  ${PREFIX}/${SKYPEDIR}/
 
  Maybe the directory should be created first? I.e. change it to the
  following: @${INSTALL} -d ${PREFIX}/${SKYPEDIR}
  @cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
  ${PREFIX}/${SKYPEDIR}/
 
  copytree_share does create the dir first if it doesn't exist. FWIW, I
  loaded xfwm and tried to reproduce this, but it works fine as a normal
  user on my -current box. I doubt if it would be any different on a 7.x
  box. I've seen this problem once or twice before, but both me and Skype
  are at a loss to explain why it's happening. I'll chat with the Skype
  devs later this evening and see if one of them has any suggestions.
 
  Beech

 Thank you!

-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.1R/announce.html
---




___
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: skype permissions

2009-01-16 Thread Rem P Roberti



What happens if you do: /usr/local/share/skype/skype as a normal user?
  

Same thing: Permission denied.



Wierd, and you're sure that binary is executable by all?

  

-r-xr-xr-x  1 root  wheel   78 Jan 16 16:15 skype

Rem
___
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: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org wrote:
 What are the premissions of /usr/local/share/skype? Try doing chmod 755
 /usr/local/share/skype and start with:

This did the trick for me. I just installed skype and:

will-try# ls -l /usr/local/share/ | grep skype
drwx--6 root  wheel   512 Jan 17 00:13 skype

After changing the permissions I am able to start skype from the Gnome menu.

-- 

Joakim Fogelberg
___
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: Freebsd standards compliance

2009-01-16 Thread Giorgos Keramidas
On Sat, 17 Jan 2009 10:03:39 +1000, Da Rock rock_on_the_...@comcen.com.au 
wrote:
 According to wikipedia Freebsd is only mostly compliant with POSIX, yet
 BSD/OS is fully- why would this be?

There are parts of FreeBSD that are deliberately BSD compliant instead
of POSIX compliant, because this is how they traditionally worked.  I am
not a standards' expert, so if you want more details it may be better to
ask by email to the freebsd-standards mailing list.

 From what I can tell ANSI C is the standard, and POSIX is an
 implementation(?) of that standard (threads, i/o, etc)? Which version of
 these standards is Freebsd at- c89, c90, c99, POSIX 1(b,c, etc)?

ISO/IEC 9899:1999 is the standard for the C programming language (ANSI C
is a bit ambiguous, because it may refer to an older standard depending
on the context).

This standard has a non-zero intersection with more than one standard of
the IEEE 1003 series (what is commonly referred to as POSIX), but they
are not the same, and it is nto correct to say that one of them is just
an `implementation' of the other.

There is a bit of information about 'c89', 'c90' and 'ANSI C' in the
Texinfo manual of GCC.  It may help clarify some of the terms:

% info '(gcc)'

and look at the ``Language Standards Supported by GCC'' section.

Most of FreeBSD compiles in 'c90' mode.  There are a few parts of the
kernel and userland source that use GCC extensions.  There are also
parts that use C99 features, i.e. (a) declaration of local variables in
the block they are used, instead of the start of a function, (b) the C99
syntax for partially initializing structures, and so on.

Then there are ISO/IEC 9899:1999 features that are not available in the
combination of GCC version and our system libraries.

So you can't really say that the entire FreeBSD source is `at c90' or
`at c99'.

The `FreeBSD C99 and POSIX Comformance Project' is an effort to work on
these issues.  More information is available online at:

http://www.freebsd.org/projects/c99/index.html

___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread RW
On Fri, 16 Jan 2009 22:23:06 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

  When I boot this machine it usually shows (in top) about 11 G Free
  in the Mem: line
 
  The machine, in this snippet, has been up for 5 days 22 hours and
  change and it now shows 1436M free in the Mem: line
  I've been watching the number and it has been slowly decreasing
  over the 5 days since its last boot.  It looks like as the Free
  line trends down, the Inact value trends up to keep the total Mem
  used at the installed 12G
 
 ALL unused memory is used as disk cache in FreeBSD.

Although, looking at the output of top, most of the memory is in the
inactive state. As I understand it cache pages go from active to
cached, and the inactive queue contains pages that need to be written
out to swap before they can be reused.

The very high level of inactive memory looks suspiciously like a
memory-leak to me. Hopefully someone who knows more about this will
step in - don't take my word for 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: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 1:25 AM, Rem P Roberti remeg...@comcast.net wrote:
 Joakim Fogelberg wrote:

 On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net
 wrote:


 Joakim Fogelberg wrote:


 On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org
 wrote:



 What are the premissions of /usr/local/share/skype? Try doing chmod 755
 /usr/local/share/skype and start with:



 This did the trick for me. I just installed skype and:

 will-try# ls -l /usr/local/share/ | grep skype
 drwx--6 root  wheel   512 Jan 17 00:13 skype

 After changing the permissions I am able to start skype from the Gnome
 menu.




 Thanks for the shot, Joakim, but that didn't work either.  When calling
 Skype
 from user's command prompt still get the same result.  BTW, I'm using
 Xfce
 as my desktop.

 Rem



 Just for the record... I'm also able to start Skype from the command
 prompt.

 I'm not sure if I really understand makefiles, but it seems to me that
 /usr/local/share/skype are created with the following directive in
 /usr/ports/net/skype/Makefile:
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
 ${PREFIX}/${SKYPEDIR}/

 Maybe the directory should be created first? I.e. change it to the
 following:
@${INSTALL} -d ${PREFIX}/${SKYPEDIR}
@cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
 ${PREFIX}/${SKYPEDIR}/




 Joakim...

 Which version of freebsd are you using?  With all of the chmods that I've
 been doing
 things began to get a little bunged up.  Couldn't even bring Skype up as
 root.  So I
 deinstalled Skype via pkg-cutleaves and reinstalled.  In the process I had
 to also do a
 deinstall/reinstall of linux_base-fc6.  So now I'm back to the original
 setup.  I assume
 that you followed the directives of UPDATING 20080318 in order for you to
 get Skype
 to work.

 Rem



7.1-RELEASE-p2

will-try [~]  sysctl compat.linux.osrelease
compat.linux.osrelease: 2.6.16

linux_base-f8-8_10

linproc mounted

OVERRIDE_LINUX_BASE=f8 in /etc/make.conf

I didn't follow the directives in UPDATING, as I just recently
reinstalled all ports. Since I had to recompile many of them due to
gnome-2.24 anyway, I took the opportunity get a fresh installation.
However, looking at the entry in UPDATING I see that I have followed
the directives.

-- 

Joakim Fogelberg
___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread David Scheidt
On Sat, Jan 17, 2009 at 01:25:19AM +, RW wrote:
 
 On Fri, 16 Jan 2009 22:23:06 +0100 (CET)
 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 
   When I boot this machine it usually shows (in top) about 11 G Free
   in the Mem: line
  
   The machine, in this snippet, has been up for 5 days 22 hours and
   change and it now shows 1436M free in the Mem: line
   I've been watching the number and it has been slowly decreasing
   over the 5 days since its last boot.  It looks like as the Free
   line trends down, the Inact value trends up to keep the total Mem
   used at the installed 12G
  
  ALL unused memory is used as disk cache in FreeBSD.
 
 Although, looking at the output of top, most of the memory is in the
 inactive state. As I understand it cache pages go from active to
 cached, and the inactive queue contains pages that need to be written
 out to swap before they can be reused.

No.  It just means they're not active -- nothing has touched them
recently.  They may be dirty.  They may not be.  Recently means the
last 20 seconds to a minute, depending.  


 
 The very high level of inactive memory looks suspiciously like a
 memory-leak to me. Hopefully someone who knows more about this will
 step in - don't take my word for it.

I have no data on the system in question, but it's very common for a
machine to have large amounts of inactive memory, particularly one
that's not under any sort of memory pressure. 

My basically idle workstation has 1.5 GB of memory, 5 MB free, and over
a gig inactive.  Since I'm not doing anything with it (I'm writing this
from another machine), and its just hanging out, this is what I'd expect.
Should it do something that requires memory, the pager will toss clean
inactive pages to the free list, and they'll be reused.  Of course, if
what they're required for is something they already have in them (like
the code segments of recently terminated application that's
restarted), they'll get reused, saving having to read them from disk.
The only time you'll large amounts of memory on the Free list is when
a machine is first booted and hasn't touched that memory for anything,
or when an application that's got a large dyanmically allocated block
of memory terminates.  The rest of the time, the free list should be
small.  

If the machine isn't swapping, there's usually nothing to worry about.
___
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: Freebsd standards compliance

2009-01-16 Thread Da Rock
On Sat, 2009-01-17 at 03:21 +0200, Giorgos Keramidas wrote:
 On Sat, 17 Jan 2009 10:03:39 +1000, Da Rock rock_on_the_...@comcen.com.au 
 wrote:
  According to wikipedia Freebsd is only mostly compliant with POSIX, yet
  BSD/OS is fully- why would this be?
 
 There are parts of FreeBSD that are deliberately BSD compliant instead
 of POSIX compliant, because this is how they traditionally worked.  I am
 not a standards' expert, so if you want more details it may be better to
 ask by email to the freebsd-standards mailing list.
 
  From what I can tell ANSI C is the standard, and POSIX is an
  implementation(?) of that standard (threads, i/o, etc)? Which version of
  these standards is Freebsd at- c89, c90, c99, POSIX 1(b,c, etc)?
 
 ISO/IEC 9899:1999 is the standard for the C programming language (ANSI C
 is a bit ambiguous, because it may refer to an older standard depending
 on the context).
 
 This standard has a non-zero intersection with more than one standard of
 the IEEE 1003 series (what is commonly referred to as POSIX), but they
 are not the same, and it is nto correct to say that one of them is just
 an `implementation' of the other.
 
 There is a bit of information about 'c89', 'c90' and 'ANSI C' in the
 Texinfo manual of GCC.  It may help clarify some of the terms:
 
 % info '(gcc)'
 
 and look at the ``Language Standards Supported by GCC'' section.
 
 Most of FreeBSD compiles in 'c90' mode.  There are a few parts of the
 kernel and userland source that use GCC extensions.  There are also
 parts that use C99 features, i.e. (a) declaration of local variables in
 the block they are used, instead of the start of a function, (b) the C99
 syntax for partially initializing structures, and so on.
 
 Then there are ISO/IEC 9899:1999 features that are not available in the
 combination of GCC version and our system libraries.
 
 So you can't really say that the entire FreeBSD source is `at c90' or
 `at c99'.
 
 The `FreeBSD C99 and POSIX Comformance Project' is an effort to work on
 these issues.  More information is available online at:
 
 http://www.freebsd.org/projects/c99/index.html

I'm glad I asked that and got the right answer otherwise I would have
started on the wrong preposition. That clarifies it for me nicely- I'll
have a look into those areas then... knowing my nature I'll probably
come back with a few more questions :P

Thanks

___
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: skype permissions

2009-01-16 Thread Rem P Roberti
OK...get this.  As stated earlier I did a complete reinstall of Skype.  
I shut down the
system for a while, and when I brought it back up and called Skype from 
a user's

command line the licensing window came up, followed by the sign on window .
But when I try to log on it tells me that another instance of Skype 
may be running.
That's as far as it goes.  But, of course, if I call Skype from root's 
command line the

program loads perfectly.

Rem
___
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: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 1:28 AM, Beech Rintoul be...@freebsd.org wrote:
 On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote:
 On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net
 wrote:
  Joakim Fogelberg wrote:
  On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org
 wrote:
  What are the premissions of /usr/local/share/skype? Try doing chmod 755
  /usr/local/share/skype and start with:
 
  This did the trick for me. I just installed skype and:
 
  will-try# ls -l /usr/local/share/ | grep skype
  drwx--6 root  wheel   512 Jan 17 00:13 skype
 
  After changing the permissions I am able to start skype from the Gnome
  menu.
 
  Thanks for the shot, Joakim, but that didn't work either.  When calling
  Skype
  from user's command prompt still get the same result.  BTW, I'm using
  Xfce as my desktop.
 
  Rem

 Just for the record... I'm also able to start Skype from the command
 prompt.

 What happens if you do: /usr/local/share/skype/skype as a normal user?

No problem for me. Skype is started without any problems.


 I'm not sure if I really understand makefiles, but it seems to me that
 /usr/local/share/skype are created with the following directive in
 /usr/ports/net/skype/Makefile:
 @cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
 ${PREFIX}/${SKYPEDIR}/

 Maybe the directory should be created first? I.e. change it to the
 following: @${INSTALL} -d ${PREFIX}/${SKYPEDIR}
 @cd ${WRKSRC}/${COPYTREE_SHARE} avatars icons sounds lang
 ${PREFIX}/${SKYPEDIR}/

 copytree_share does create the dir first if it doesn't exist. FWIW, I loaded
 xfwm and tried to reproduce this, but it works fine as a normal user on my
 -current box. I doubt if it would be any different on a 7.x box. I've seen
 this problem once or twice before, but both me and Skype are at a loss to
 explain why it's happening. I'll chat with the Skype devs later this evening
 and see if one of them has any suggestions.

I have 7.1-RELEASE-p2 installed.
compat.linux.osrelease: 2.6.16
linprocfs mounted
linux_base-f8-8_10

I changed to root (su -) before I installed skype. root's shell is
/bin/csh. umask is 22. I can\t recall that I should have done anything
creative with the root account.

I just removed skype, checked that /usr/local/share/skype were
removed, and reinstalled skype (this time I actually logged in as root
instead of using 'su -'. I also checked that the umask was 22) with:

make WITH_NVIDIA_GL=yes
make WITH_NVIDIA_GL=yes install

and:

will-try# ls -l /usr/local/share/|grep skype
drwx--6 root  wheel   512 Jan 17 04:03 skype

I'm not really sure if I understand the COPY_SHARE routine in bsd.port.mk:

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null \
21)  \
${CHOWN} -R
${SHAREOWN}:${SHAREGRP} $$1  \
${FIND} -d $$0 $$2 -type d
-exec chmod 755 $$1/{} \;  \
${FIND} -d $$0 $$2 -type f
-exec chmod ${SHAREMODE} $$1/{} \;' --

but it seems to me that the 4:th row change the permission on all
directories below /usr/local/share/skype/. However, the permissions
for the directory /usr/local/share/skype are not changed. I also made
a quick test with cpio, to simulate how /usr/local/share/skype are
created:

will-try# ls -lR
total 0
will-try# mkdir subdir
will-try# find subdir | cpio -dumpl rootdir/
0 blocks
will-try# ls -lR
total 4
drwx--  3 root  wheel  512 Jan 17 04:24 rootdir
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir:
total 2
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir/subdir:
total 0

./subdir:
total 0

It seems that the directory created by cpio do indeed get the wrong
permissions. Maybe there should be an explicit change of the
permission in COPYTREE_SHARE ? (chmod 755 $$1)


 Beech
 --
 ---
 Beech Rintoul - FreeBSD Developer - be...@freebsd.org
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.1R/announce.html
 ---








-- 

Joakim Fogelberg
___
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: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 4:35 AM, Joakim Fogelberg
joafog.li...@gmail.com wrote:
 COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null 
 \
21)  \
${CHOWN} -R
 ${SHAREOWN}:${SHAREGRP} $$1  \
${FIND} -d $$0 $$2 -type d
 -exec chmod 755 $$1/{} \;  \
${FIND} -d $$0 $$2 -type f
 -exec chmod ${SHAREMODE} $$1/{} \;' --

Sorry for the line wrappings. I'll give it another try...

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null \
  21)  \
  ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1  \
  ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \;  \
  ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' --

-- 

Joakim Fogelberg
___
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: skype permissions

2009-01-16 Thread Rem P Roberti



I have 7.1-RELEASE-p2 installed.
compat.linux.osrelease: 2.6.16
linprocfs mounted
linux_base-f8-8_10

I changed to root (su -) before I installed skype. root's shell is
/bin/csh. umask is 22. I can\t recall that I should have done anything
creative with the root account.

I just removed skype, checked that /usr/local/share/skype were
removed, and reinstalled skype (this time I actually logged in as root
instead of using 'su -'. I also checked that the umask was 22) with:

make WITH_NVIDIA_GL=yes
make WITH_NVIDIA_GL=yes install

and:

will-try# ls -l /usr/local/share/|grep skype
drwx--6 root  wheel   512 Jan 17 04:03 skype

I'm not really sure if I understand the COPY_SHARE routine in bsd.port.mk:

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null \
21)  \
${CHOWN} -R
${SHAREOWN}:${SHAREGRP} $$1  \
${FIND} -d $$0 $$2 -type d
-exec chmod 755 $$1/{} \;  \
${FIND} -d $$0 $$2 -type f
-exec chmod ${SHAREMODE} $$1/{} \;' --

but it seems to me that the 4:th row change the permission on all
directories below /usr/local/share/skype/. However, the permissions
for the directory /usr/local/share/skype are not changed. I also made
a quick test with cpio, to simulate how /usr/local/share/skype are
created:

will-try# ls -lR
total 0
will-try# mkdir subdir
will-try# find subdir | cpio -dumpl rootdir/
0 blocks
will-try# ls -lR
total 4
drwx--  3 root  wheel  512 Jan 17 04:24 rootdir
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir:
total 2
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir/subdir:
total 0

./subdir:
total 0

It seems that the directory created by cpio do indeed get the wrong
permissions. Maybe there should be an explicit change of the
permission in COPYTREE_SHARE ? (chmod 755 $$1)

  

Yes, when I change /usr/local/share/skype from drwx-- to
drwxr-xr-x I am able to get some response as user.  But, as posted
earlier, it only goes so far, ending by telling me that another
instance of skype may be running (which, of course, it isn't).

Rem
___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread RW
On Fri, 16 Jan 2009 21:14:10 -0500
David Scheidt dsche...@panix.com wrote:

 On Sat, Jan 17, 2009 at 01:25:19AM +, RW wrote:

  Although, looking at the output of top, most of the memory is in the
  inactive state. As I understand it cache pages go from active to
  cached, and the inactive queue contains pages that need to be
  written out to swap before they can be reused.
 
 No.  It just means they're not active -- nothing has touched them
 recently.  They may be dirty.  They may not be.  

Do you know that for a fact, because it contradicts the description in
Matt Dillon's VM-design article. The article say that clean pages go to
the cache queue and dirty pages go to the inactive queue, and
emphasizes the need to keep then separated. If clean pages do go to the
inactive queue I'd be interested to know the reason. 


  Since I'm not doing anything with it (I'm
 writing this from another machine), and its just hanging out, this is
 what I'd expect. Should it do something that requires memory, the
 pager will toss clean inactive pages to the free list, and they'll be
 reused.  

IIRC, according to the article when you're short of free memory (i.e.
most of the time) it's allocated from the cache queue. The queues are
rebalanced by flushing inactive pages and moving then to the cache
queue, and by pages coming off the active queue. AFAIK pages are taken
off the active queue when there is a significant need for rebalancing.
I've seen memory hang about there pretty much indefinitely after I shut
down kde/xorg - much longer than 20-60 seconds.
___
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: [Fwd: Re: programs...]

2009-01-16 Thread Gary Kline
On Fri, Jan 16, 2009 at 03:22:40PM +1000, Da Rock wrote:
 

 What about Miro?
 
Somelike like miro is a start, but may need a special or 
different kind of interface.   Say that you KNOW you want to hear
a show on the BBC every week.  [Sure, just set it up on Google,
right...?]  Have the same podcast-storing//link caching deal on
miro.  Or say that you missing a broadcast of NOVA on a few
days,weeks back.  You don't knoe if the show is webcast, it's
name, it's date(s).

Miro is one of the few streams that always just-works.  Be great
to have just-one-program whose stream never failed.  If it were
available for d/load, or if I could intercept/capture the stream
somehow for when I had TIME to watch/listen... Outstanding.


Feedback, anybody??

gary



Guys,

I've going to give away what I think could be at least a
multi-thousand dollar idea, something we nearly have already.
And a wish-list for a program that does not, AFAIK, exist.
   
   Its called iTunes.
   
First, the wish-for:: given all the kinds of video and audio
programs that are now on the web, how difficult would it be
to have a GUI [interface] program pop up a screen with date of
airing, and/or date of podcast?  Not to exceed several hours
worth of recorded podcasts... or live recording.
   
   iTunes will suck them down and has settings for when (if ever) to delete
   old podcasts.
   
I can only give examples of thing I watch, but this will give
you some idea.  And bear in mind that at least FreeBSD cannot
capture some programs.  Like FRONTLINE on PBS.

But for the sake of argument, let's say that firefox or
whatever browser or kmplayer or another player did have the
proper codecs.

This GUI app  would find, fetch, and store in /usr/local/tmp
FRONTLINE, NOVA, In Our Time and Everyday Ethics [BBC],
and Marketplace, Weekend, 10jan09.  
   
   iTunes stores in ~/Music/iTunes/iTunes Music/Podcasts/
  
  
  Music/audio only, or video too?
  
  
   
When these programs were safely in /usr/local/tmp/Pods, the
program would send mail or otherwise inform the user.
   
   Script from cron to detect presence of a new file in the above, send
   notification.
   
   There are FreeBSD ports for subscribing to podcasts that could do the
   same thing.
   
How doable is this...?  and, yes, i know that many of these
audio files can be subscribed to as podcasts.  I have several
on my Google page.  
   
   Get A Mac!
   
  
  Ha!  Well, I stand to inherit my daughter's MacBook in a
  few years.  Okay, so if Apple has this, can I use it?  I
  mean for-free, not having to sub to some monthly deal or
  whatever?
  
  This is an idea I thought up a couple years ago when all
  the audio podcasts began appearing.  At any rate, seems to
  me that the open-* community could do at least as well as
  our brother hackers at Apple.
  
  Just a thought.  
  
  Come Monday, OZ-time, I'll let everybody know my major
  idea.  
  

 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a 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: portupgrade - portmaster?

2009-01-16 Thread Tim Judd

Ewald Jenisch wrote:

Hi,

Having used portupgrade for several years I'm thinking to make the
switch to portmaster since both of them seem to be fully supported as
far as upgrading ports is concerned.

Anything to consider when going from portupgrade to portmaster?

Caveats/pitfalls?

Is there also a way back, i.e. from portmaster to portupgrade?

What are your experiences with portmaster, esp. in terms of stability,
handling, features?

Thanks much in advance,
-ewald



I'll be honest -- I've tried portupgrade, then portmaster, then dabbled 
with porteasy.  Then a buddy mentioned pkg_replace.  I never tried 
pkg_replace but the documented and recommended way to upgrade ports were 
not followed (in my eyes) by any of those... so I made my own based from 
the borne shell only.  It relies 100% on the ports subsystem to do it's 
work and it doesn't try to shortcut the process.


So what my system does (which isn't released, won't be released in the 
forseeable future)...
	Forces a warning of the upgrading process may loose some package if 
you cancel out of it

Forces a display of the UPGRADING file... then the MOVED file.
	Asks the user if it's OK to proceed, given the UPDATING and MOVED files 
may have given special instructions for something.

Scans for the outdated ports, optionally using the INDEX file
Re-calls itself to upgrade each port in turn found above
Gives options to do stages, such as building without installing
	Logs the process in memory, and logs the final result in a logfile and 
prints it to the screen


Most importantly, I love the concept that it has no external prerequisites.

In the end, I think it works really well but since I don't feel 
confident that it's bugfree and ready for dedicated and production 
servers -- I am not releasing it to the public (yet?).


/soapbox

But if I were to recommend anything, go through the ports-mgmt category 
and find something that works for you, or roll your own.


--Tim
___
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: Flash for FreeBSD - GNOME - Firefox

2009-01-16 Thread Tim Judd

Grant Peel wrote:

Hi all,

Is there a port that emulates Adobe Flash? i.e. Adobe's download site 
says 'Platform not supported' is there a port or package thats can be 
used to view Flash content in Firefox?


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


http://bugs.adobe.com/jira/browse/FP-1060

Official bug to support it natively.  Please register and vote for 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: Replace SCSI Drive

2009-01-16 Thread Tim Judd

Grant Peel wrote:

Jerry McAllister wrote:

On Mon, Jan 12, 2009 at 11:09:54PM -0700, Tim Judd wrote:

 

snip

Not to be presumptious, or rude, but I've read the first part of this 
thread (a bit late, yes) and I'm just confused.


If you're going to go so far as to prep the drive at home, before 
driving to the NOC, with a unrunnable OS on a labeled disk, it seems 
silly.


I propose:
Do a typical install of FreeBSD 6.4/7.1 on this disk.  Let it be 
as full as to boot an operating system (but maybe skip out on the 
networking blah blah setups).

Bring this (verified) bootable disk to the NOC, install it as da0
Move the old, 73GB failing disk to da1
Boot the Dell, maybe running in single-user mode
You've got a pristine format (or pristine enough) to restore the 
filesystems on top of it.
Rebooting with da0 again to see if your network settings, 
startup, apps, etc etc etc all start as appropriate.


Only if this method fails, do you use the Fixit CD and fix it



This is good, especially if he wants to upgrade to the next
version of FreeBSD at the same time.

But IIRC the problem is not that the OS currently on the disk does
not work, but that there are some problems with the disk itself - but 
that it is still readable.   It is more about replacing the

disk with another presumed more reliable than the current one.
So, in that case, it is much easier to take the few minutes to
build the disk slice  partitions and then just do the dump/restores
than to build everything new and then hand pick the things he wants
to save from the old disk.   
But, if an upgrade is done at the same time - probably a good idea

actually - then that hand picking will be done anyway, so might as
well do it as you say.   I took it straight from his original
question rather than from the notion of doing an upgrade along the way.

jerry


 
Am I crazy to think this is the more logical, more straightforward 
way to perform this migration?  If Grant has already done the job, 
more power to him, but I just found it a little confusing that one 
would label a drive, format it, and possibly spend more time with the 
slower CD-ROM based Fixit than running off a nice, new 10k/15k RPM 
drive to drive everything.


If my method above is failing a point, I'd be more than happy to hear 
your statements and correct my procedures for it.  My method above 
has only one tricky part, is to restore the 'a' partition from 
olddrive to newdrive. -- and that is probably a piece of cake.



Grant, good luck (if you haven't done it yet).

--Tim


___
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



  

Hi Jerry,

Since you original reply to my email is still my prefered method, could 
you please resent it (if you have a copy in your sent items mailbox). I 
am wrestling with Thunderbird (on freebsd) to import all my email 
folders from OE, with no success).


I do understand all the various methods though and thanks to all for the 
replies!


-Grant


You can visit the mail archives.

just attach the .txt file to an email to yourself.

___
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: vipw and bash login shell

2009-01-16 Thread Kurt Bigler
on 1/16/09 11:16 AM, Daniel Howard danny...@toldme.com wrote:

 On Thu, Jan 15, 2009 at 11:16 PM, Kurt Bigler k...@breathsense.com wrote:
 
 When I used vipw to change the login shell to /usr/local/bin/bash (which is
 listed in /etc/shells, and was built from ports), subsequent ssh login
 attempts fail (password rejected).  If I change the shell back to /bin/sh
 or /bin/csh then login works again.
 
 If I instead use webmin Users and Groups to set the login shell to bash (or
 any other shell), everything is fine.

[snip]
 
 What happens if you change the shell via chsh?  What happens if you attempt
 to set a different shell, like /bin/tcsh?  Do you get the same result when
 you log in from within the shell using login or su?  What does the
 user's login line look like in /etc/master.passwd after either vipw or
 webmin?  Are you certain you aren't doing something silly with your editor
 like a line wrap or DOS newlines?

Apologies, I *was* doing something very silly.

In vipw, I didn't actually do what I described.  Instead I was inserting
ba before sh to make bash.  But bash doesn't live in /bin, so I had
the wrong path as a result.  Webmin just gives me a multiple-choice popup,
and so I was unable to make the same mistake there.

Thanks for your response, which somehow helped me to focus and discover my
mistake.

-Kurt


___
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