mount problems

2009-10-12 Thread Desmond da Peoples

How's it going?
I'm having probelms mounting media within the gnome environment.

The drive will grab the media but not read it nor unmount it.
I've edited policykit so that root:operator and perm 0660 are enabled.
Fstab has /dev/acd0 has been commented out.
Rc.conf has hal,dbus, and gnome enabled.
Kdm login manager if that helps any.



  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/___
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: best FBSD version for commercial use.

2009-10-12 Thread Nerius Landys
 Selected releases (normally every second release plus the last release from
 each -STABLE branch) will be supported by the Security Officer for a minimum
 of 24 months after the release, and for sufficient additional time (if
 needed) to ensure that there is a newer Extended release for at least 3
 months before the older Extended release expires.

OK for some reason I made the perhaps incorrect assumption that 7.2
was the last release in the 7.x line.  I don't know where I got that
from, but I do seem to recall seeing that somewhere.  Could be wrong.
___
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: error output redirection

2009-10-12 Thread Nerius Landys
 if error output of some program appear on screen,
 it is possible to print it also to some file simultaneously ?

Since you said simultaneously, it made me think of the command tee.  man tee?
___
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: error output redirection

2009-10-12 Thread Markiyan Kushnir
what is easily done with tee for stdout cannot be done for stderr. Looks 
like there is no easy way to make a pipeline using stderr separately 
from stdout. If you want to watch output of the stderr separately from 
stdout, you might manage for it in two consoles:


 % foo 2err

 % tail -f err

Markiyan.

Nerius Landys wrote:

if error output of some program appear on screen,
it is possible to print it also to some file simultaneously ?


Since you said simultaneously, it made me think of the command tee.  man tee?
___
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: error output redirection

2009-10-12 Thread Markiyan Kushnir

George Davidovich free...@optimis.net already gave an answer.

Markiyan Kushnir wrote:
what is easily done with tee for stdout cannot be done for stderr. Looks 
like there is no easy way to make a pipeline using stderr separately 
from stdout. If you want to watch output of the stderr separately from 
stdout, you might manage for it in two consoles:


 % foo 2err

 % tail -f err

Markiyan.

Nerius Landys wrote:

if error output of some program appear on screen,
it is possible to print it also to some file simultaneously ?


Since you said simultaneously, it made me think of the command tee.  
man tee?

___
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

___
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


Invitation to connect on LinkedIn

2009-10-12 Thread Leandro Silva
LinkedIn


Leandro Silva requested to add you as a connection on LinkedIn:
--

Jerry,

I'd like to add you to my professional network on LinkedIn.

- Leandro

Accept invitation from Leandro Silva
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1497860734_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYQcPsMdzwTejgNiiZzomF5tnBKriYOdz8Nd30NejsLrCBxbOYWrSlI/EML_comm_afe/

View invitation from Leandro Silva
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1497860734_2/39vd3cTc3oUdPAQckALqnpPbOYWrSlI/svi/

--

Why might connecting with Leandro Silva be a good idea?

Have a question? Leandro Silva's network will probably have an answer:
You can use LinkedIn Answers to distribute your professional questions to 
Leandro Silva and your extended network. You can get high-quality answers from 
experienced professionals.

http://www.linkedin.com/e/ash/inv19_ayn/

 
--
(c) 2009, LinkedIn Corporation

___
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


restore(8)ing new / -- boots on metal but not in a VM

2009-10-12 Thread Alex Jurkiewicz
Hi all,
A little background: I'm writing a script that will allow me to
restore(8) a standard FreeBSD partition to multiple machines. So far,
I'm at the 'see if it works in principle' stage, and I'm finding
something strange.

My procedure:
* Start with an empty hard drive (ad0).
* Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit
- Live CD Filesystem)
* Create a single slice with fdisk that spans the entire disk (fdisk
-i /dev/ad0)
* Create a single partition with bsdlabel that spans the entire slice
(bsdlabel -w /dev/ad0s1)
* Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0)
* Format and restore the dumpfile (newfs /dev/ad0s1a  mount
/dev/ad0s1a /mnt  cd /mnt  ssh storagebox dd
if=home/aj/image.dump | restore -rvf -
* Unmount /mnt and restart.

The steps work fine... on physical hardware. The restored image boots
up fine. As a VM guest, running in either VMWare or VirtualBox, it
don't work. Everything appears to go fine, but when I get to the boot
loader, pressing F1 just makes the PC speaker beep at me.

Any pointers would be appreciated. I'm using FreeBSD 6.4.

Cheers,
Alex Jurkiewicz
___
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


Fetchmail freaks out

2009-10-12 Thread herbert langhans
Hi Daemons,
there happen strange things when I boot my laptop, FreeBSD 7.2, Fetchmail 
6.3.11 (newest). 

..
Starting fetchmail.
Starting fetchmail.
fetchmail: can't accept options while a background fetchmail is running
.. (Yes, the 'Starting' appears twice)

My /etc/rc.conf contains:
fetchmail_enable=YES

My /usr/local/etc/fetchmailrc contains:
poll MYDOMAINNAME.COM, protocol pop3, no dns
user MYUSERNAME there with password XX is MYUSERNAME here

My /usr/local/etc/rc.d/fetchmail exists and is the default one from the 
port-install.

That should be all the files I have. Fetchmail even works, but:

What are these double starting-messages (#ps -ax shows just one fetchmail 
running)?
What am I doing wrong? How to get rid of it?

Thanks
herb langhans

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

___
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: best FBSD version for commercial use.

2009-10-12 Thread krad
2009/10/12 Nerius Landys nlan...@gmail.com

  Selected releases (normally every second release plus the last release
 from
  each -STABLE branch) will be supported by the Security Officer for a
 minimum
  of 24 months after the release, and for sufficient additional time (if
  needed) to ensure that there is a newer Extended release for at least 3
  months before the older Extended release expires.

 OK for some reason I made the perhaps incorrect assumption that 7.2
 was the last release in the 7.x line.  I don't know where I got that
 from, but I do seem to recall seeing that somewhere.  Could be wrong.
 ___
 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


ive seen 7.3 mentioned on release engineering docs. I doubt whether it will
go further than that though
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Mountable encrypted file? What to use?

2009-10-12 Thread Greg Morell
Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend for 
this:

I like to keep all of my sensitive stuff in a few encrypted mountable files.

Something where I can copy the file to a USB key for backup, but not worry if I 
lose the USB key since it's just an encrypted file.  But when on a computer, I 
can mount it as a volume.

On OS X, I use encrypted 'dmg' volumes.

On Linux and Windows, I use TrueCrypt.

What should I use on FreeBSD?

It doesn't have to be portable.  Something FreeBSD-only is fine.

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


[ports/science/paraview]: /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym

2009-10-12 Thread O. Hartmann
Before posting a PR I'll ask whether this error I receive after a fresh 
installation of paraview from ports today on FreeBSD 8.0-RC1/amd64 is an 
serious issue or something related on misconfiguration.


Besides, tcl/tk 8.4 is up to date and present on the system.
Hope someone can help,

regards,
Oliver

--


ParaView error: InitializeTcl failed
Tk_Init error: Can't find a usable tk.tcl in the following directories:
/usr/local/lib/paraview-2.4/tk8.4

/usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or 
keysym

no event type or button # or keysym
while executing
bind Listbox MouseWheel {
%W yview scroll [expr {- (%D / 120) * 4}] units
}
(file /usr/local/lib/paraview-2.4/tk8.4/listbox.tcl line 182)
invoked from within
source /usr/local/lib/paraview-2.4/tk8.4/listbox.tcl
(in namespace eval :: script line 1)
invoked from within
namespace eval :: [list source [file join $::tk_library $file.tcl]]
(procedure SourceLibFile line 2)
invoked from within
SourceLibFile listbox
(in namespace eval ::tk script line 4)
invoked from within
namespace eval ::tk {
SourceLibFile button
SourceLibFile entry
SourceLibFile listbox
SourceLibFile menu
SourceLibFile panedwindow
SourceLibFile ...
invoked from within
if {$::tk_library ne } {
if {[string equal $tcl_platform(platform) macintosh]} {
proc ::tk::SourceLibFile {file} {
if {[catch {
namesp...
(file /usr/local/lib/paraview-2.4/tk8.4/tk.tcl line 397)
invoked from within
source /usr/local/lib/paraview-2.4/tk8.4/tk.tcl
(uplevel body line 1)
invoked from within
uplevel #0 [list source $file]


This probably means that tk wasn't installed properly.

--
Oliver Hartmann
Freie Universitaet Berlin
Planetologie und Fernerkundung
Malteserstr. 74 - 100/Haus D
D-12249 Berlin

Tel.: +49 (0) 30 838 70 508
FAX:  +49 (0) 30 838 70 539

___
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


kdeutils4 compile problem w/ superkaramba

2009-10-12 Thread James Cole
I am trying to compile KDE4 but when it tries to compile the kdeutils4
dependency (doing so manually here), it croaks with superkaramba.
From what I can tell, superkaramba cannot find python.h or any other call in
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp
I have 7.1-RELEASE with updated ports as of Oct-6.
python26 is installed with threads. Using my friend Google, the only advise
I have found is installing the python-devel package (which doesn't seem to
exist in FreeBSD) on a superkaramba faq page. 
http://netdragon.sourceforge.net/faq.html

Any help would be great. 



Code:

#make install
EDIT
/EDIT
[ 88%] Built target sweeper
[ 88%] Built target superkaramba_automoc
[ 88%] Building CXX object
superkaramba/src/CMakeFiles/superkaramba.dir/python/karamba.o
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp:30:20: error: Python.h: No such file or directory
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp:65: error: 'PyMethodDef' does not name a type
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp: In constructor 'KarambaPython::KarambaPython(const ThemeFile,
bool)':
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp:355: error: 'PyRun_SimpleString' was not declared in this scope
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp:361: error: 'PyImport_AddModule' was not declared in this scope
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp:362: error: 'karamba_methods' was not declared in this scope
/usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/superkaramba/src/python/karamb
a.cpp:362: error: 'Py_InitModule' was not declared in this scope
EDIT
/EDIT
/superkaramba/src/python/karamba.cpp:630: error: 'Py_BuildValue' was not
declared in this scope
*** Error code 1
 
Stop in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/build.
*** Error code 1
 
Stop in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/build.
*** Error code 1
 
Stop in /usr/ports/misc/kdeutils4/work/kdeutils-4.3.1/build.
*** Error code 1
 
Stop in /usr/ports/misc/kdeutils4.
*** Error code 1
 
Stop in /usr/ports/misc/kdeutils4.

 

___
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: Mountable encrypted file? What to use?

2009-10-12 Thread Andrea Venturoli

Greg Morell ha scritto:

Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend for 
this:

I like to keep all of my sensitive stuff in a few encrypted mountable files.

Something where I can copy the file to a USB key for backup, but not worry if I 
lose the USB key since it's just an encrypted file.  But when on a computer, I 
can mount it as a volume.


What about GELI?
I've used it for a long time with no problems.

Check the handbook for details.

 bye
av.
___
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: Mountable encrypted file? What to use?

2009-10-12 Thread Roland Smith
On Mon, Oct 12, 2009 at 06:33:40AM -0700, Greg Morell wrote:
 Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend 
 for this:
 
 I like to keep all of my sensitive stuff in a few encrypted mountable files.
 
 Something where I can copy the file to a USB key for backup, but not worry if 
 I lose the USB key since it's just an encrypted file.  But when on a 
 computer, I can mount it as a volume.
 
 On OS X, I use encrypted 'dmg' volumes.
 
 On Linux and Windows, I use TrueCrypt.
 
 What should I use on FreeBSD?

You should use GELI, see geli(8). It can encrypt complete disks, partitions or
bsdlabels. If you want the encrypted stuff encased in a file, you should use 
md(4)
to create a vnode-backed memory disk, and encrypt that with GELI.

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)


pgp3bHAbuJCRC.pgp
Description: PGP signature


Re: Mountable encrypted file? What to use?

2009-10-12 Thread Geoff Fritz
On Mon, Oct 12, 2009 at 06:33:40AM -0700, Greg Morell wrote:
 
 I like to keep all of my sensitive stuff in a few encrypted mountable files.
 Something where I can copy the file to a USB key for backup, but not
 worry if I lose the USB key since it's just an encrypted file.  But when
 on a computer, I can mount it as a volume.
 
 What should I use on FreeBSD?

Combine geli with the md device:

dd if=/dev/zero of=/tmp/secret bs=1 count=0 seek=1G
mdconfig -a -t vnode -f /tmp/secret -u 1984
geli load
geli init /dev/md1984  geli attach /dev/md1984
newfs /dev/md1984.eli
mkdir /mnt/secret  mount /dev/md1984.eli /mnt/secret

echo the formula for Coke is...  /mnt/secret/secret_formula.txt

umount /mnt/secret
geli detach /dev/md1984.eli
mdconfig -d -u 1984
cp /tmp/secret /mnt/usbdrive

(I don't know off-hand the 'cp' options for copying sparse files correctly).

Read the man pages for all of the commands you are unfamiliar with.
geli(8) has a lot of flexible options.

-- Geoff


___
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


Trouble making a Tandberg LTO-2 HH S619 work with AMANDA 2.6.1p1 on 7.2-STABLE as of today

2009-10-12 Thread Trond Endrestøl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm having trouble making a Tandberg LTO-2 HH S619 work with AMANDA 
2.6.1p1 on 7.2-STABLE i386 cvsup'ed as of today local time.

The tape drive is connected to channel A on:

ahc0: Adaptec 3960D Ultra160 SCSI adapter port 0xec00-0xecff mem 
0xff8ff000-0xff8f irq 17 at device 8.0 on pci1
ahc0: [ITHREAD]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec 3960D Ultra160 SCSI adapter port 0xe800-0xe8ff mem 
0xff8fe000-0xff8fefff irq 18 at device 8.1 on pci1
ahc1: [ITHREAD]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

During (re)boot the following is recorded in dmesg:

(probe5:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe5:ahc0:0:5:0): CAM Status: SCSI Status Error
(probe5:ahc0:0:5:0): SCSI Status: Check Condition
(probe5:ahc0:0:5:0): UNIT ATTENTION asc:29,2
(probe5:ahc0:0:5:0): SCSI bus reset occurred
(probe5:ahc0:0:5:0): Retrying Command (per Sense Data)
sa0 at ahc0 bus 0 target 5 lun 0
sa0: TANDBERG LTO-2 HH S619 Removable Sequential Access SCSI-3 device 
sa0: 160.000MB/s transfers (80.000MHz DT, offset 64, 16bit)

Is these messages normal for this drive? A valid tape was present in 
the drive during reboot.

This is a brand new drive and in it's maiden voyage the other night 
AMANDA complained about running out of tape after a mere 10 GB worth 
of data. LTO2 tapes usually have a raw capacity of about 200 GB.

Next I ran amtapetype to get the new characteristics, but got the 
following instead:

ama...@xxx:~mt -f /dev/sa0 comp off
ama...@xxx:~mt -f /dev/sa0 status
Mode  Density  Blocksize  bpi  Compression
Current:  0x42 variable   0disabled
- -available modes-
0:0x42 variable   00x1
1:0x42 variable   00x1
2:0x42 variable   00x1
3:0x42 variable   00x1
- -
Current Driver State: at rest.
- -
File Number: 0  Record Number: 0Residual Count 0
ama...@xxx:~/usr/bin/time -l amtapetype -t 
TANDBERG-LTO2-HH-TANDBERG-200GB-WITHOUT-COMPRESSION /dev/sa0
Applying heuristic check for compression.
Wrote random (uncompressible) data at 22260042.3225806 bytes/sec
Wrote fixed (compressible) data at 22260042.3225806 bytes/sec
Compression: disabled
Writing one file to fill the volume.
Wrote less than 100MB to the device: Error writing block: Unknown 
error: 0
 9133,58 real  4747,35 user   316,77 sys
 11700  maximum resident set size
 3  average shared memory size
   730  average unshared data size
   127  average unshared stack size
  1614  page reclaims
 1  page faults
 0  swaps
18  block input operations
 2  block output operations
 0  messages sent
 0  messages received
 0  signals received
  44390062  voluntary context switches
  26325015  involuntary context switches
ama...@xxx:~

I managed to observe the block count rising well into 600 before 
the abrupt ending which usually indicates the tape being completely 
filled assuming a block size of 32K which is the default for 
amtapetype.

I can (re)boot the server with verbose logging turned on if that can 
improve the diagnosis.

I've ordered a new Adaptec 39320 to use with this drive.

If anyone has a better suggestion please let's have it.


Trond.

- -- 
- --
Trond Endrestøl  | trond.endres...@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX |FreeBSD 7.2-STABLE  Alpine 2.00

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkrTaNkACgkQbYWZalUoElvQUACaAqtSRuAFUJc84NTpZVuqKulY
Z4QAn1L0fZzRoXVPXQjA+NBuAgSYtBPZ
=6Bl5
-END PGP SIGNATURE-___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: restore(8)ing new / -- boots on metal but not in a VM

2009-10-12 Thread Tim Judd
On 10/12/09, Alex Jurkiewicz a...@bluebottle.net.au wrote:
 Hi all,
 A little background: I'm writing a script that will allow me to
 restore(8) a standard FreeBSD partition to multiple machines. So far,
 I'm at the 'see if it works in principle' stage, and I'm finding
 something strange.

 My procedure:
 * Start with an empty hard drive (ad0).
 * Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit
 - Live CD Filesystem)
 * Create a single slice with fdisk that spans the entire disk (fdisk
 -i /dev/ad0)
 * Create a single partition with bsdlabel that spans the entire slice
 (bsdlabel -w /dev/ad0s1)
 * Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0)
 * Format and restore the dumpfile (newfs /dev/ad0s1a  mount
 /dev/ad0s1a /mnt  cd /mnt  ssh storagebox dd
 if=home/aj/image.dump | restore -rvf -
 * Unmount /mnt and restart.

 The steps work fine... on physical hardware. The restored image boots
 up fine. As a VM guest, running in either VMWare or VirtualBox, it
 don't work. Everything appears to go fine, but when I get to the boot
 loader, pressing F1 just makes the PC speaker beep at me.

 Any pointers would be appreciated. I'm using FreeBSD 6.4.

 Cheers,
 Alex Jurkiewicz


Is the virtual machine using SCSI emulation to boot, or is it using IDE?

SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)]

If the boot blocks (maybe boot0 specific) point to an ad/ata device,
and the virtual machine is SCSI, it won't find the boot sectors.


Personally, I use the standard boot blocks which don't allow
multibooting but I don't multiboot BSD anyway.


The standard boot blocks work by finding the first bsd slice, and
booting it.  I like the keyword find because it doesn't direct the
boot blocks to something unfindable.  :D


Let me know the subsystem layout, and we'll work from 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: Mountable encrypted file? What to use?

2009-10-12 Thread Polytropon
On Mon, 12 Oct 2009 10:18:24 -0600, Geoff Fritz gfr...@gmail.com wrote:
 mdconfig -a -t vnode -f /tmp/secret -u 1984
  
Heheh... You plusgood coder. Continue scriptwrite fulwise! :-)


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


gmirror, gjournal and glabel - which order?

2009-10-12 Thread Daniel Bye
Hi all,

I'm having a hard time trying to work out which order I should set up
gmirror, glabel and gjournal on a new system. I want to journal my
/home partition, label all the partitions for ease of reference, and
use gmirror to save me in the event a disk goes bad. I am struggling
to fit the pieces together conceptually in my mind. I understand the
processes involved in setting each part separately - my problem is in
trying to build this up in the right order so that it all makes sense.

So far, I have labelled the primary drive and set up the journal. I have
edited fstab to reflect the labels and journalled file system on /home.
If I now build a mirror, don't I need to alter fstab to mount that and
not the stuff in /dev/label? In which case, I guess I need to build the
mirror first, and then set up labels and journals?

I'm going round and round in circles here and none of the stuff I've
read on the web enlightens me... :-/

Any insights or suggestions would be taken as a great kindness!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpDBqKL2AYI3.pgp
Description: PGP signature


Re: gmirror, gjournal and glabel - which order?

2009-10-12 Thread Manolis Kiagias
Daniel Bye wrote:
 Hi all,

 I'm having a hard time trying to work out which order I should set up
 gmirror, glabel and gjournal on a new system. I want to journal my
 /home partition, label all the partitions for ease of reference, and
 use gmirror to save me in the event a disk goes bad. I am struggling
 to fit the pieces together conceptually in my mind. I understand the
 processes involved in setting each part separately - my problem is in
 trying to build this up in the right order so that it all makes sense.

 So far, I have labelled the primary drive and set up the journal. I have
 edited fstab to reflect the labels and journalled file system on /home.
 If I now build a mirror, don't I need to alter fstab to mount that and
 not the stuff in /dev/label? In which case, I guess I need to build the
 mirror first, and then set up labels and journals?

 I'm going round and round in circles here and none of the stuff I've
 read on the web enlightens me... :-/

 Any insights or suggestions would be taken as a great kindness!

 Dan

   
When not mirroring,  I first create the journals and then label the
resulting ad.journal devices
In case you are doing a gmirror device, you would not really need the
separate label step - the gm device name won't change and gmirror is not
affected if the device names of the individual disks change (the disks
are marked as part of a mirror and scanned at startup).
When you are creating the composite gmirror device you are effectively
labeling it anyway i.e. gmirror label gm0...
Now if you follow the usual tutorials found in the web you would be
using gm0 / gm1 but you actually name it any way you wish.
If you really need to label the separate gmirrored partitions, do it
after setting up the mirror.

Concerning the order of journals and mirroring, I  create the journals
first, then mirror the result. This has always worked fine for me.
___
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


Demande de renseignements

2009-10-12 Thread Jérémy SALMERON
Bonsoir ,
Je souhaiterai distribuer une version modifiée de FreeBSD : non alteration
du code source mais avec modification d'ordre graphique . Je souhaiterai la
distribuer en bundle avec un périphérique nomade .

Puis-je utiliser librement le système d'exploitation et le distribuer de
cette manière ?
Le cas échéant , quelles sont les obligations que je dois respecter afin de
ne pas être en contradiction avec le copyright ?

Je ne trouve pas de réponses sur le net , je m'en remets à vous .

Cordialement

Jérémy Salmeron



I would like to sell a customized version of FreeBSD : no alteration but
only a template modification . I would like to sell this product on a
netbook.

Could i use the OS and distribute like this way ?
What are the rules that i must respect to be OK with the copyright ?

I'm seeking on the net without finding answers
I need your point

Best Regards
Jeremy Salmeron
___
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: gmirror, gjournal and glabel - which order?

2009-10-12 Thread Daniel Bye
On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote:
 Daniel Bye wrote:
  Hi all,
 
  I'm having a hard time trying to work out which order I should set up
  gmirror, glabel and gjournal on a new system. I want to journal my
  /home partition, label all the partitions for ease of reference, and
  use gmirror to save me in the event a disk goes bad. I am struggling
  to fit the pieces together conceptually in my mind. I understand the
  processes involved in setting each part separately - my problem is in
  trying to build this up in the right order so that it all makes sense.
 
  So far, I have labelled the primary drive and set up the journal. I have
  edited fstab to reflect the labels and journalled file system on /home.
  If I now build a mirror, don't I need to alter fstab to mount that and
  not the stuff in /dev/label? In which case, I guess I need to build the
  mirror first, and then set up labels and journals?
 
  I'm going round and round in circles here and none of the stuff I've
  read on the web enlightens me... :-/
 
  Any insights or suggestions would be taken as a great kindness!
 
  Dan
 

 When not mirroring,  I first create the journals and then label the
 resulting ad.journal devices
 In case you are doing a gmirror device, you would not really need the
 separate label step - the gm device name won't change and gmirror is not
 affected if the device names of the individual disks change (the disks
 are marked as part of a mirror and scanned at startup).
 When you are creating the composite gmirror device you are effectively
 labeling it anyway i.e. gmirror label gm0...
 Now if you follow the usual tutorials found in the web you would be
 using gm0 / gm1 but you actually name it any way you wish.
 If you really need to label the separate gmirrored partitions, do it
 after setting up the mirror.
 
 Concerning the order of journals and mirroring, I  create the journals
 first, then mirror the result. This has always worked fine for me.

Thanks much, Manoli. After posting, I came to more or less the same
conclusion, but it's good to get confirmation from someone who clearly
knows more about this stuff than I do!

I'd still be interested to hear what others think/do.

As ever, thanks for your time.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpH9gEpBAJ2C.pgp
Description: PGP signature


Re: restore(8)ing new / -- boots on metal but not in a VM

2009-10-12 Thread Alex Jurkiewicz
2009/10/13 Tim Judd taj...@gmail.com:
 Is the virtual machine using SCSI emulation to boot, or is it using IDE?

 SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)]


The dump was taken from an ad0 device on physical hardware, and I'm
attempting to restore to the same, just on virtual hardware.

 If the boot blocks (maybe boot0 specific) point to an ad/ata device,
 and the virtual machine is SCSI, it won't find the boot sectors.

So, if I make a dumpfile of / on an ad(4) device, I can't restore it
to a da(4) device and expect it to boot? I guess at minimum I'll need
two copies of this image if I want to roll it out on machines with
both sorts of drive, right?

Thanks,
AJ
___
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


Netbooks good for FreeBSD?

2009-10-12 Thread Yuri
I am thinking about buying a netbook. But I am afraid that WiFi wouldn't 
be supported. And all my previous attempts to make NDIS to work on 
FreeBD failed.


Anybody has good experiences making netbooks work?
Or better is there a hardware compatibility list for FreeBSD?

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: Netbooks good for FreeBSD?

2009-10-12 Thread Matthias Apitz
El día Monday, October 12, 2009 a las 08:42:08PM -0700, Yuri escribió:

 I am thinking about buying a netbook. But I am afraid that WiFi wouldn't 
 be supported. And all my previous attempts to make NDIS to work on 
 FreeBD failed.
 
 Anybody has good experiences making netbooks work?
 Or better is there a hardware compatibility list for FreeBSD?

Better post in freebsd-mobile such question. For your question see here:
http://wiki.freebsd.org/AsusEee

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: Netbooks good for FreeBSD?

2009-10-12 Thread Pierre-Luc Drouin

Hi,

So far I have been able to get WiFi working on most netbooks I got, but 
honestly, FreeBSD is not the best for laptops. WiFi drivers are often a 
bit buggy (connection is dropping because of driver problems) and ACPI 
sleep modes never worked on my laptops. WiFi, ACPI sleep modes and 
graphic card support are the weakest points of FreeBSD for non-server 
usage according to me...



Yuri wrote:
I am thinking about buying a netbook. But I am afraid that WiFi 
wouldn't be supported. And all my previous attempts to make NDIS to 
work on FreeBD failed.


Anybody has good experiences making netbooks work?
Or better is there a hardware compatibility list for FreeBSD?

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


___
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: Demande de renseignements

2009-10-12 Thread Pierre-Luc Drouin

Bonjour,

je crois bien que c'est possible. La license BSD est beaucoup plus 
permittive que la license GPL. En pratique je crois que la seule 
restriction est de ne pas alterer la notice. Il n'est pas obligatiore de 
rendre disponible le code source comme avec la license GPL. Le copyright 
complet est dans le fichier COPYRIGHT dans le dossier racine de FreeBSD.


Pierre-Luc Drouin

Jérémy SALMERON wrote:

Bonsoir ,
Je souhaiterai distribuer une version modifiée de FreeBSD : non alteration
du code source mais avec modification d'ordre graphique . Je souhaiterai la
distribuer en bundle avec un périphérique nomade .

Puis-je utiliser librement le système d'exploitation et le distribuer de
cette manière ?
Le cas échéant , quelles sont les obligations que je dois respecter afin de
ne pas être en contradiction avec le copyright ?

Je ne trouve pas de réponses sur le net , je m'en remets à vous .

Cordialement

Jérémy Salmeron



I would like to sell a customized version of FreeBSD : no alteration but
only a template modification . I would like to sell this product on a
netbook.

Could i use the OS and distribute like this way ?
What are the rules that i must respect to be OK with the copyright ?

I'm seeking on the net without finding answers
I need your point

Best Regards
Jeremy Salmeron
___
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


IUP port

2009-10-12 Thread Saifi Khan
Hi:

Does anybody know if there is a IUP port in FreeBSD ?

IUP is a portable toolkit for building graphical user interfaces
http://www.tecgraf.puc-rio.br/iup/


thanks
Saifi.

___
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


server specification.

2009-10-12 Thread Marwan Sultan

Hello gurus,

 

 Im going to a new server, and i donot want to have a problem..

 May please anyone advice me of any feed back of FreeBSD 7.2 with the following 
specification:

 any problems?

 

 

1x Intel Core 2 Quad Q6600
Kentsfield 2.4GHz 2x 4MB L2
Cache LGA 775

2GB DDR2 ECC

3WARE RAID SATA 2 ports

2x 250GB SATA in RAID 1

 

So any problems with quad kentsfield and FBSD 7.2 ?

 

 thank you in advance.

 

 Marwan Sultan 
  
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/___
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