xorg, xdm, desktop env

2010-03-04 Thread n dhert
Installed a fresh FreeBSD-8.0, xorg, configured xorg for my screen,
installed xdm.
After reboot I see a graphical login window. When entering username and
password, it seems to accept it, but immediatly present the graphical login
window again. (In console mode (Ctrl-Alt-F1) I can login at the login:
prompt with the
same username/password).
Has FreeSBD somewhere a default environment (in that case why does it not
appear after logging in at the
XDM graphical window) or do you still need to install a Desktop environment
(Gnome, KDE, Xfce) and is it
normal that after logging in at the XDM window, you are thrown out again..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / slice too small

2010-03-04 Thread krad
2010/3/4 Malcolm Kay malcolm@internode.on.net

 On Thu, 4 Mar 2010 02:44 am, krad wrote:
  On 3 March 2010 14:23, Malcolm Kay
 malcolm@internode.on.net wrote:
   On Mon, 1 Mar 2010 08:44 am, krad wrote:
On 28 February 2010 15:42, Elias Chrysocheris
  
   elias...@cha.forthnet.grwrote:
 On Sunday 28 of February 2010 15:26:54 Frank Shute wrote:
  I've got a machine here running 7.2 which I want to
  upgrade to 8.0 but looking at the root slice it is
  woefully small:
 
  $ df -h
  FilesystemSizeUsed   Avail Capacity  Mounted
  on /dev/ad4s2190M146M 29M84%/
  devfs 1.0K1.0K  0B   100%/dev
  /dev/ad4s4129G 15G104G12%/usr
  devfs 1.0K1.0K  0B   100%
  /var/named/dev
 
  I've got a CD/DVD writer on that machine along with a
  100MB ethernet connection to my desktop.
 
  How do I go about upgrading it? Dump/restore and
  change the partition table?
 
  Any suggestions gratefully received.
 
 
  Regards,

 Yes. The dump/restore should do the trick as long as you
 have another medium
 to store the dumps (such as another hard disk). You will
 store the images of
 your slices to the new medium using dump(8). You can
 then use FixIt console to
 re-partition and re-slice your hard disk and then
 restore(8) your images in the newly sliced hard disk.
 Actually, if you have another hard disk device, you can
 use piped dump/restore to copy the whole system from one
 disk to the other and make the second one your bootable
 disk. Of course you must have sliced the second device
 first.
 I've done this many times. The first was to remove an
 openSUSE partition I had,
 living in the same hard disk as my FreeBSD. The second
 time was to move my FreeBSD to another hard disk
 (physical device). The new disk became my boot disk.
 The third time was to move my system to another bigger
 hard disk device and at
 the same time be formated as ZFS.
 Now my system boots from this third hard disk device,
 having ZFS and the operating system is the same as that
 I first installed (of cource updated...)

 Elias
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questi
ons To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
   
You might well find it easier to use rsync rather than
dump. Just make sure you use the following flags
   
rsync -aHP --numeric-ids
  
   This is a bit questionable for copying live fs. Probably OK
   if you use snapshots. Leaves you in very similar situation
   as doing backups with tar. These schemes also alter the
   access times on files (which I guess doesn't usually matter
   too much).
  
   But dump/restore is no more complex to use than rsync and
   manages snapshots for you, so why mess about with
   questionable schemes.
 
  I understand what you mean about live file systems, but in
  this case its not a problem as he will be in single user mode.

 I'm not sure that single user mode avoids this problem.
 
  Also using the a flag means the modification times are
  intact.

 I did not mention modification times but access times which I
 admit are seldom put to any use. It is very difficult for any
 utility to avoid altering these -- dump is the only exception I
 know of.

 Sorry i misread


  I use rsync at work over 100s of systems and it is very
  effective, and the noc find it far easier to recover small
  numbers of files than having to go digging into dump files.
 

 I've not found this too difficult even when working with
 compressed dumps.

  The way we have got everything setup on a zfs backend mean we
  can do incremental forever, as well which is much more
  efficient than having to do regular level 0 dumps.

 Yes, rsync is great for updating incremental changes but
 this is quite irrelevant to the OP's problem.

 For backup it seems this also somewhat reduces the effectiveness.
 For example when you are asked to recover the original of a file
 that was changed before the lastest backup. Many of us think it
 desirable to regularly archive complete backups.


This is not a problem in our scenario as the backend storage is zfs and all
underpinned with snapshots. This enables us to retrieve and file from any
day for the last x days dependent on the retention period.



 But each to his own; backup methods and strategies have always
 been something of a controverial issues.

 
   Malcolm Kay
  
I use it in our backup setup at work, and have restored
countless freebsd boxes.
   
When you repartition the drive remember to add the boot
blocks
   
eg
   
fdisk -B ad0
bsdlabel -B ad0s1
___

Root on ZFS

2010-03-04 Thread Matthew Law
I am following this wiki page to move to zfs root:

http://wiki.freebsd.org/ZFSOnRoot

I got to this section:

Create bootdir directory where the boot file system will be mounted:

# mkdir /tank/bootdir
# ln -s bootdir/boot /tank/boot

I am confused about the symlink line - what is 'bootdir' ?

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


Automated kernel crash reporting system

2010-03-04 Thread Dan Naumov
Hello

I noticed the following on the FreeBSD website:
http://www.freebsd.org/projects/ideas/ideas.html#p-autoreport Has
there been any progress/work done on the automated kernel crash
reporting system? The current ways of enabling and gathering the
information required by developers for investigating panics and
similar issues are unintuitive and user-hostile to say the least and
anything to automate the process would be a very welcome addition.


- Sincerely,
Dan Naumov
___
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


RS232 / TCP converter and BSD.

2010-03-04 Thread Olivier GARNIER

Hi,

I have a weather station (Lacross WS2350). (can be connect by USB / RS232).
I want to get data from a FreeBSD server 70 meter from the weather 
station (with http://www.wviewweather.com/ software).

I already have a RJ45 cable between the two objects.

I wish i could get a RS232 to RJ45 connecter like this one :
http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html
And use it to connect the weather station to the RJ45 network, and then 
get data from my BSD.


The bad point is that the soft witch are given with the RS232 to RJ45 
translater are for windows, and it make a virtual port on windows.

I don't know if it will work on BSD.
If it does not work, i'll be oblige to buy another RJ45 to RS232 
translater... and it's not cheap.


Has anybody already done a such network ?

Thanks,

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


Re: IBM DS4800 Storage

2010-03-04 Thread David Rawling

On 2/03/2010 2:40 AM, Dan Nelson wrote:

In the last episode (Mar 01), Omer Faruk Sen said:
   

(da0:isp1:0:0:6): Vendor Specific ASC
(da0:isp1:0:0:6): Unretryable error
(da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0
(da0:isp1:0:0:6): CAM Status: SCSI Status Error
(da0:isp1:0:0:6): SCSI Status: Check Condition
(da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1
(da0:isp1:0:0:6): Vendor Specific ASC
(da0:isp1:0:0:6): Unretryable error
 

According to the DS4000 Problem Determination Guide at
ftp://ftp.software.ibm.com/systems/support/system_x_pdf/gc27207600.pdf#page=104
, ASC/ASCQ 94/01 corresponds to Invalid Request Due to Current Logical Unit
Ownership.  Maybe the DS4800 thinks that the lun has been assigned to a
different host, and that's why it won't let the FreeBSD machine access it.

Other web searches indicate that this may be an attempt to access the
passive path of multipathed device on an active/passive RAID array.  If
that's the case, FreeBSD should have found another disk (da1 possibly?) that
you should be able to use.

   
That being the case, it's also possible that the LUN is accessible to 
the FreeBSD system, but another application or system has applied a 
SCSI-2 reservation or a SCSI-3 persistent reservation to the disk; 
that would prevent the FreeBSD system from accessing the LUN.


Perhaps see what servers or devices the DS4800 thinks is connected to 
the LUN.


Dave.

--
David Rawling
PD Consulting And Security
Mob: +61 412 135 513
Email: d...@pdconsec.net

___
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: 802.11QinQ support

2010-03-04 Thread Ross Cameron
On Wed, Mar 3, 2010 at 9:31 PM, Sam Fourman Jr. sfour...@gmail.com wrote:
 On Wed, Mar 3, 2010 at 1:17 PM, Ross Cameron
 ross.came...@linuxpro.co.za wrote:
 Hi there all

 Does anyone know off hand if FreeBSD 8.0 or -CURRENT supports
 802.1QinQ aka netsted VLans?


 I don't believe FreeBSD supports QinQ yet, however it apparently has
 always been possible to do nested vlans with netgraph.
 My trouble with netgraph has always been that there was never a
 sufficient amount of examples on the web to be able to do anything
 useful with it.

I've also read that netgraph can apparently do QinQ, but I can only
get normal VLan's working :(



-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RS232 / TCP converter and BSD.

2010-03-04 Thread Chris Hill

On Thu, 4 Mar 2010, Olivier GARNIER wrote:

I have a weather station (Lacross WS2350). (can be connect by USB / 
RS232). I want to get data from a FreeBSD server 70 meter from the 
weather station (with http://www.wviewweather.com/ software). I already 
have a RJ45 cable between the two objects.


I wish i could get a RS232 to RJ45 connecter like this one : 
http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html 
And use it to connect the weather station to the RJ45 network, and then 
get data from my BSD.


The bad point is that the soft witch are given with the RS232 to RJ45 
translater are for windows, and it make a virtual port on windows. I 
don't know if it will work on BSD. If it does not work, i'll be oblige 
to buy another RJ45 to RS232 translater... and it's not cheap.


Has anybody already done a such network ?


I have used this:

http://www.extron.com/product/product.aspx?id=iplts6s=0

...with no issues. This one has six RS232 ports; they also make versions 
with one, two and four ports. The interface is software-neutral - just 
open a TCP connection to the device on port 2001, and everything you send 
and receive from the socket goes through the RS232 port. There is an 
embedded web server for configuration.


I don't know what the pricing is on these things, but I'm sure they are 
not cheap (being Extron and all). But they are easy to use, work right and 
don't break. Just my opinion; hope this helps.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: Automated kernel crash reporting system

2010-03-04 Thread jhell


On Thu, 4 Mar 2010 07:09, dan.naumov@ wrote:

Hello

I noticed the following on the FreeBSD website:
http://www.freebsd.org/projects/ideas/ideas.html#p-autoreport Has
there been any progress/work done on the automated kernel crash
reporting system? The current ways of enabling and gathering the
information required by developers for investigating panics and
similar issues are unintuitive and user-hostile to say the least and
anything to automate the process would be a very welcome addition.


- Sincerely,
Dan Naumov



Hi Dan,

I am assuming that the output of crashinfo_enable=YES is not what you 
are talking about is it ? are you aware of it ?


The info contained in the crashinfo.txt.N is pretty informative for 
developers, maybe your talking about another way of submitting it ?


Regards,

--

 jhell

___
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: Automated kernel crash reporting system

2010-03-04 Thread Gary Jennejohn
On Thu, 4 Mar 2010 08:06:50 -0500
jhell jh...@dataix.net wrote:

 
 On Thu, 4 Mar 2010 07:09, dan.naumov@ wrote:
  Hello
 
  I noticed the following on the FreeBSD website:
  http://www.freebsd.org/projects/ideas/ideas.html#p-autoreport Has
  there been any progress/work done on the automated kernel crash
  reporting system? The current ways of enabling and gathering the
  information required by developers for investigating panics and
  similar issues are unintuitive and user-hostile to say the least and
  anything to automate the process would be a very welcome addition.
 
 
  - Sincerely,
  Dan Naumov
 
 
 Hi Dan,
 
 I am assuming that the output of crashinfo_enable=YES is not what you 
 are talking about is it ? are you aware of it ?
 
 The info contained in the crashinfo.txt.N is pretty informative for 
 developers, maybe your talking about another way of submitting it ?
 

This feature is mentioned as a mechanism which could be used as part of
the automatic reporting functionality.  So it's not quite the same thing.

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


Loader.conf mfs statements

2010-03-04 Thread Fbsd1

Tyring to understand what mfsbsd is doing.
In its loader.conf file i see these statements
geom_uzip_load=YES
mfs_load=YES
mfs_type=mfs_root
mfs_name-/mfsroot
tmpfs_laod=YES
vfs.root.mountfrom=ufs:/dev/mdo

Where do I find documentation on the meaning of these statements?
___
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: / slice too small

2010-03-04 Thread Malcolm Kay
On Thu, 4 Mar 2010 08:23 pm, krad wrote:
 2010/3/4 Malcolm Kay malcolm@internode.on.net

  On Thu, 4 Mar 2010 02:44 am, krad wrote:
   On 3 March 2010 14:23, Malcolm Kay
 
  malcolm@internode.on.net wrote:
On Mon, 1 Mar 2010 08:44 am, krad wrote:
 On 28 February 2010 15:42, Elias Chrysocheris
   
elias...@cha.forthnet.grwrote:


 You might well find it easier to use rsync rather than
 dump. Just make sure you use the following flags

 rsync -aHP --numeric-ids
   
This is a bit questionable for copying live fs. Probably
OK if you use snapshots. Leaves you in very similar
situation as doing backups with tar. These schemes also
alter the access times on files (which I guess doesn't
usually matter too much).
   
But dump/restore is no more complex to use than rsync
and manages snapshots for you, so why mess about with
questionable schemes.
  
   I understand what you mean about live file systems, but in
   this case its not a problem as he will be in single user
   mode.
 
  I'm not sure that single user mode avoids this problem.
 
   Also using the a flag means the modification times are
   intact.
 
  I did not mention modification times but access times which
  I admit are seldom put to any use. It is very difficult for
  any utility to avoid altering these -- dump is the only
  exception I know of.
 
  Sorry i misread
 
   I use rsync at work over 100s of systems and it is very
   effective, and the noc find it far easier to recover small
   numbers of files than having to go digging into dump
   files.
 
  I've not found this too difficult even when working with
  compressed dumps.
 
   The way we have got everything setup on a zfs backend mean
   we can do incremental forever, as well which is much more
   efficient than having to do regular level 0 dumps.
 
  Yes, rsync is great for updating incremental changes but
  this is quite irrelevant to the OP's problem.
 
  For backup it seems this also somewhat reduces the
  effectiveness. For example when you are asked to recover the
  original of a file that was changed before the lastest
  backup. Many of us think it desirable to regularly archive
  complete backups.

 This is not a problem in our scenario as the backend storage
 is zfs and all underpinned with snapshots. This enables us to
 retrieve and file from any day for the last x days dependent
 on the retention period.

Sounds good. I have no experience with zfs. But I suggest that 
'x' needs to be quite large.

Anyway I think we (or rather I) have done the subject to death,
and it is time for me to keep quiet.

Regards,
Malcolm


___
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: Loader.conf mfs statements

2010-03-04 Thread Daniel Bye
On Thu, Mar 04, 2010 at 09:48:27PM +0800, Fbsd1 wrote:
 Tyring to understand what mfsbsd is doing.
 In its loader.conf file i see these statements
 geom_uzip_load=YES
 mfs_load=YES
 mfs_type=mfs_root
 mfs_name-/mfsroot
 tmpfs_laod=YES
 vfs.root.mountfrom=ufs:/dev/mdo
 
 Where do I find documentation on the meaning of these statements?

loader.conf(5) and /boot/defaults/loader.conf

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \
___
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: Automated kernel crash reporting system

2010-03-04 Thread sean connolly
Hi Dan, 

Automatic reporting would end up being a mess given that panics can be caused 
by hardware problems. Having an autoreport check if memtest was run before it 
reports, or having it only run with -CURRENTmight be useful.

Sean





From: jhell jh...@dataix.net
To: Dan Naumov dan.nau...@gmail.com
Cc: FreeBSD Hackers freebsd-hack...@freebsd.org; freebsd-questions@freebsd.org
Sent: Thu, March 4, 2010 8:06:50 AM
Subject: Re: Automated kernel crash reporting system


On Thu, 4 Mar 2010 07:09, dan.naumov@ wrote:
 Hello

 I noticed the following on the FreeBSD website:
 http://www.freebsd.org/projects/ideas/ideas.html#p-autoreport Has
 there been any progress/work done on the automated kernel crash
 reporting system? The current ways of enabling and gathering the
 information required by developers for investigating panics and
 similar issues are unintuitive and user-hostile to say the least and
 anything to automate the process would be a very welcome addition.


 - Sincerely,
 Dan Naumov


Hi Dan,

I am assuming that the output of crashinfo_enable=YES is not what you 
are talking about is it ? are you aware of it ?

The info contained in the crashinfo.txt.N is pretty informative for 
developers, maybe your talking about another way of submitting it ?

Regards,

-- 

  jhell

___
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: Root on ZFS

2010-03-04 Thread Craig Butler

On 04/03/2010 11:53, Matthew Law wrote:

I am following this wiki page to move to zfs root:

http://wiki.freebsd.org/ZFSOnRoot

I got to this section:

Create bootdir directory where the boot file system will be mounted:

# mkdir /tank/bootdir
# ln -s bootdir/boot /tank/boot

I am confused about the symlink line - what is 'bootdir' ?

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
   


Hi Matt

bootdir is where the ufs boot partition gets mounted on further down in 
the instructions...  The symbolic link is to keep everything in order when;

* upgrading or installing a new kernel
* updating any of the boot configs.

Regards

/Craig B
___
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


Virtual RS232 port link on IP or on network card

2010-03-04 Thread Olivier GARNIER

Hi,

Is it possible to create a virtual COM port on FreeBSD.
And to link it to a network card, or what whould be better to an ip 
adress on my network ?


Thanks,

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


Re: install.cfg for Documentation Installation Menu on 8.0-RELEASE

2010-03-04 Thread Ross

dJ What come up with 8.0-RELEASE is the new FreeBSD
dJ Documentation Installation Menu in sysinstall. I would like to know
dJ what command for install.cfg to configure my installation with, say,
dJ English Documentation.

It's undocumented (and breaks non-interactive installs) so I ended up
going through the source to find the answer for myself a while ago.

The option you want is:

distDoc=

Where the  is a bitfield for which versions of the doc packages
you want installed.  Also the bitfield must be in _decimal_, not 0x##
format, or it won't correctly select what you want.  You need to view
version 1.75 or higher of dist.h (from sysinstall's source) to get the
full listing.  URL: 
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/dist.h?rev=1.75.2.1.2.1;content-type=text%2Fplain

0 (zero) disables installation.  16 is english.

*** WARNING/RANT: If you use any of the distSetxx (eg:
distSetKernDeveloper) options to select what to install, it doesn't
matter what you've selected above - you _will_ be prompted with a menu
to select a doc package upon running sysinstall.  (Those options reset
distDoc option above).

Non-interactive sysinstall is effectively broken in FreeBSD 8.0
distribution disks. (There is a way around it, but it's a pain in the
butt)

That being said: sysinstall has been patched in source last month (Feb
2010), so should be good for 8.1, with the default of no docs
installed if nonInteractive=yes is set in your sysinstall.cfg file.


R.

-- 


___
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: Root on ZFS

2010-03-04 Thread Matthew Law

On Thu, March 4, 2010 3:44 pm, Randal L. Schwartz wrote:
 Matthew == Matthew Law m...@webcontracts.co.uk writes:

 Matthew I am following this wiki page to move to zfs root:
 Matthew http://wiki.freebsd.org/ZFSOnRoot

 If you're running RELEASE-8 or later, I've gotten this to work just fine:

   http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

Thanks, guys.

Yes, I am on 8-RELEASE.  I was really looking to create a 3-disk raidz or
raidz2 volume with 1 hot spare.  I happened across this page:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2

and started to follow that.

 Currently live on two slices at arpnetworks.com with that.

 The trickiest part is that Arp installs an existing system on the disk,
 and the instructions there don't tell how to remove it. :(

 I can't remember the workaround, but someone in IRC told me.
 (gpart destroy didn't work, because it said already in use)

I ran into this and figured out I need to remove each slice first.  But it
did take a little head scratching.

I installed a minimal OS from a USB stick onto a single SATA drive.  After
testing it was installed and running OK, I rebooted and chose the fixit
option from sysinstall and followed the above guide.

I've got to this part:

7. 'Create ZFS Pool zroot'

Fixit# mkdir /boot/zfs
Fixit# zpool create zroot raidz2 /dev/gpt/disk0 /dev/gpt/disk1 /dev/gpt/disk2
Fixit# zpool set bootfs=zroot zroot

The zpool create command fails because I don't have '/dev/gpt' - I take it
I haven't actually installed with gpt in the first place?  Can I go back
and do that and what's the advantage of gpt?

Finally, I had problems with the SAS card in this box, which is a bog
standard LSI SAS8041E.  I can install OK, but on rebooting it can't find
the root slice, panics and drops me into mountroot.  Where I get stuck.

Any help much appreciated,

Matt.


___
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


Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Tim Daneliuk
Is there a recommended procedure I can read somewhere on how to upgrade an
entire production system from Perl 5.8 to 5.10 (or whatever is current) 
cleanly? 
-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Root on ZFS

2010-03-04 Thread Randal L. Schwartz
 Matthew == Matthew Law m...@webcontracts.co.uk writes:

Matthew I am following this wiki page to move to zfs root:
Matthew http://wiki.freebsd.org/ZFSOnRoot

If you're running RELEASE-8 or later, I've gotten this to work just fine:

  http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

Currently live on two slices at arpnetworks.com with that.

The trickiest part is that Arp installs an existing system on the disk,
and the instructions there don't tell how to remove it. :(

I can't remember the workaround, but someone in IRC told me.
(gpart destroy didn't work, because it said already in use)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
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: Can I share the port options in /var/db/ports?

2010-03-04 Thread Christopher Hilton
I'm sharing my /usr/ports directory via NFS among several machines. One problem 
that I have is with port options set in /var/db/ports. Is there a ports 
environment variable that I could set in /etc/make.conf which would force these 
to be somewhere in /usr/ports/vindaloo-port-options so that setting options on 
one machine would carry through to others sharing my build environment?

-- Chris

Chris Hilton   tildeChris -- http://myblog.vindaloo.com
e: -- chris /at/ vindaloo /dot/ com
.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.
I'm on the outside looking inside, What do I see?
  Much confusion, disillusion, all around me.
-- Ian McDonald / Peter Sinfield

___
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: RS232 / TCP converter and BSD.

2010-03-04 Thread Chuck Swiger

Olivier GARNIER wrote:

I have a weather station (Lacross WS2350). (can be connect by USB / RS232).
I want to get data from a FreeBSD server 70 meter from the weather 
station (with http://www.wviewweather.com/ software).

I already have a RJ45 cable between the two objects.


You can simply connect a RS-232 serial port via ethernet cable using 9-pin DIN 
to RJ-45 connector adaptors at both ends.  No need to convert the serial data 
stream into TCP/IP over ethernet.


Data centers use that for serial connections to stuff like Cisco routers and 
other terminal applications all the time.  However, if the device is truly 
RS-232 rather than 422/423, it's nominally out of spec past 50 meters and 
possibly won't go past 9600 baud.


Regards.
--
-Chuck
___
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: Ports: Can I share the port options in /var/db/ports?

2010-03-04 Thread Matthew Seaman
On 04/03/2010 16:07:33, Christopher Hilton wrote:
 I'm sharing my /usr/ports directory via NFS among several machines. 
 One problem that I have is with port options set in /var/db/ports.
 Is there a ports environment variable that I could set in
 /etc/make.conf which would force these to be somewhere in 
 /usr/ports/vindaloo-port-options so that setting options on one 
 machine would carry through to others sharing my build environment?

$PORT_DBDIR

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.  7 Priory Courtyard, Flat 3
Black Earth Consulting   Ramsgate
 Kent, CT11 9PW
Free and Open Source Solutions   Tel: +44 (0)1843 580647



signature.asc
Description: OpenPGP digital signature


Re: Solved - Was: Ports: Can I share the port options in /var/db/ports?

2010-03-04 Thread Christopher Hilton

On Mar 4, 2010, at 11:07 AM, Christopher Hilton wrote:

 I'm sharing my /usr/ports directory via NFS among several machines. One 
 problem that I have is with port options set in /var/db/ports. Is there a 
 ports environment variable that I could set in /etc/make.conf which would 
 force these to be somewhere in /usr/ports/vindaloo-port-options so that 
 setting options on one machine would carry through to others sharing my build 
 environment?
 

A little creative greping found it. Sorry to bother the list should have 
grepped first.

# PORT_DBDIR- Where port configuration options are recorded.
# Default: /var/db/ports




  There will be an answer, Let it be.
   e: chris -at- vindaloo -dot- 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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Glen Barber
Hi,

Tim Daneliuk wrote: 
 Is there a recommended procedure I can read somewhere on how to upgrade an
 entire production system from Perl 5.8 to 5.10 (or whatever is current) 
 cleanly? 

Have a look at the 20100205 entry of ports/UPDATING.

Regards,

-- 
Glen Barber
___
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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Leslie Jensen



On 2010-03-04 17:06, Tim Daneliuk wrote:

Is there a recommended procedure I can read somewhere on how to upgrade an
entire production system from Perl 5.8 to 5.10 (or whatever is current)
cleanly?


/usr/ports/UPDATING ;-)

___
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


Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Robert Huff

Tim Daneliuk writes:

  Is there a recommended procedure I can read somewhere on how to
  upgrade an entire production system from Perl 5.8 to 5.10 (or
  whatever is current) cleanly?

/usr/ports/UPDATING ?


Robert Huff





___
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: RS232 / TCP converter and BSD.

2010-03-04 Thread Martin McCormick
Olivier GARNIER writes:
 I have a weather station (Lacross WS2350). (can be connect by USB / 
 RS232).
 
 I want to get data from a FreeBSD server 70 meter from the weather station
 (with http://www.wviewweather.com/ software).
 
 I already have a RJ45 cable between the two objects.
 
 I wish i could get a RS232 to RJ45 connecter like this one :
 http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html
 
 And use it to connect the weather station to the RJ45 network, and then 
 get
 data from my BSD.
 
 
 
 The bad point is that the soft witch are given with the RS232 to RJ45
 translater are for windows, and it make a virtual port on windows.
 
 I don't know if it will work on BSD.
 
 If it does not work, i'll be oblige to buy another RJ45 to RS232
 translater... and it's not cheap.

You did not say what version of FreeBSD you are using
and it does make a difference. The usb port stack was rewritten
for FreeBSD8.0 so that probably works best. I tried to attach a
usb converter to a FreeBSD6.3 system and it never worked.
Different models of RS-232 converters may work fine. I just
could not get these to work at all under 6.3.

RJ45 plugs and CAT3 or CAT5 Ethernet-style cables are
frequently used to carry RS-232 signals so the only somewhat
unusual device you will need to procure is a plug adaptor such
as one made by Modtap which simply has a RJ45 female on one edge
and a male or female RS-232 9 or 25-pin plug or socket on the
other edge.

These adaptors have no IC's or intelligence built in to
them. They just route the conductors in the CATx cable to the
right pins. You may have to actually build the adaptor to your
needs but these things at least used to be fairly common.

The actual RS-232 to usb port converters are relatively
inexpensive these days and they do have processors built in to
them as well as charge pumps to generate the +-12 volts for
RS-232 devices. Some of them are built to work fine under
systems other than Windows boxes and others may only work under
Windows so you will need to be sure that the one you want to use
works.

So, in short, you need a plug adaptor to make the RJ45
cable useble with RS-232 devices and you also need any of the
common RS-232 to usb converters to actually connect the cable to your
FreeBSD computer.

As long as the usb-RS-232 converter actually works and
produces a new ttyUSBx device, the brand is not that critical.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
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: Virtual RS232 port link on IP or on network card

2010-03-04 Thread Mike Tancsa


Hi,
Not sure if this is what you want to do or not, but if you want to
connect a device to a serial port on FreeBSD and then access that 
serial device over the network from a remote machine, try 
/usr/ports/comms/ser2net


---Mike

At 10:08 AM 3/4/2010, Olivier GARNIER wrote:

Hi,

Is it possible to create a virtual COM port on FreeBSD.
And to link it to a network card, or what whould be better to an ip 
adress on my network ?


Thanks,

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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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: RS232 / TCP converter and BSD.

2010-03-04 Thread Martin McCormick
Chuck Swiger writes:
 Data centers use that for serial connections to stuff like Cisco routers
 and other terminal applications all the time. However, if the device is
 truly RS-232 rather than 422/423, it's nominally out of spec past 50 
 meters
 and possibly won't go past 9600 baud.

I was wondering about that when I wrote my long-winded
response. I was confused and thought the maximum length for
RS-232 was longer than it is. 70 meters is almost 25% out of
range which is kind of pushing things.
___
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: RS232 / TCP converter and BSD.

2010-03-04 Thread Gary Gatten
They make line drivers to sit inline and boost the signals to extend the range, 
similar to T1 repeaters I suppose.  I had to use some 10'ish years ago. They 
weren't too expensive then, can't imagine the would be now.

But back to OP ?, I'm sure someone has a program that takes an RS-232 stream 
and sticks it in tcp or udp.  If I'm bored today I'll poke around the ports and 
google and such.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Thu Mar 04 10:41:00 2010
Subject: Re: RS232 / TCP converter and BSD. 

Chuck Swiger writes:
 Data centers use that for serial connections to stuff like Cisco routers
 and other terminal applications all the time. However, if the device is
 truly RS-232 rather than 422/423, it's nominally out of spec past 50 
 meters
 and possibly won't go past 9600 baud.

I was wondering about that when I wrote my long-winded
response. I was confused and thought the maximum length for
RS-232 was longer than it is. 70 meters is almost 25% out of
range which is kind of pushing things.
___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: Virtual RS232 port link on IP or on network card

2010-03-04 Thread Eric Masson
Mike Tancsa m...@sentex.net writes:

Hello,

 Not sure if this is what you want to do or not, but if you want to
 connect a device to a serial port on FreeBSD and then access that serial
 device over the network from a remote machine, try
 /usr/ports/comms/ser2net

Nope, seems to be the opposite.

In OP's context, I'd try to check whether the application he wants to
use could be configured to access a remote device over ip (the manual
talks about connections to remote weather stations).

Generally, is there any way to create a virtual serial device that would
be backed by a userland daemon implementing rfc2217 for example ?

Regards

-- 
 J'ai essayé de creer un news un alt.west.virginia ou sur d'autres
 alt.west.wirginia.xxx mais quand je vais sur ces forums rien n'apparait?
 l'emetteur d'un new recoit il un avertissement si celui ci est censuré?
 -+- LM in: http://www.le-gnu.net - Bien sansurer ses news sur C-I -+-
___
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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Tim Daneliuk
On 3/4/2010 10:13 AM, Leslie Jensen wrote:
 
 
 On 2010-03-04 17:06, Tim Daneliuk wrote:
 Is there a recommended procedure I can read somewhere on how to
 upgrade an
 entire production system from Perl 5.8 to 5.10 (or whatever is current)
 cleanly?
 
 /usr/ports/UPDATING ;-)


Thanks to all for pointing to this.

However, when I run:

  portupgrade -o lang/perl5.10 -f perl-5.8\.*

I get this problem:

---  Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
---  Building '/usr/ports/lang/perl5.10'
===  Cleaning for perl-5.10.1

===  perl-5.10.1 conflicts with installed package(s): 
  perl-5.8.9_3

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1


I supposed I could do a forced manual removal of perl, but isn't that what the 
'-f'
arg in the portupgrade is supposed to do?

 


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/03/2010 17:05:08, Tim Daneliuk wrote:
 On 3/4/2010 10:13 AM, Leslie Jensen wrote:


 On 2010-03-04 17:06, Tim Daneliuk wrote:
 Is there a recommended procedure I can read somewhere on how to
 upgrade an
 entire production system from Perl 5.8 to 5.10 (or whatever is current)
 cleanly?

 /usr/ports/UPDATING ;-)
 
 
 Thanks to all for pointing to this.
 
 However, when I run:
 
   portupgrade -o lang/perl5.10 -f perl-5.8\.*
 
 I get this problem:
 
 ---  Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
 ---  Building '/usr/ports/lang/perl5.10'
 ===  Cleaning for perl-5.10.1
 
 ===  perl-5.10.1 conflicts with installed package(s): 
   perl-5.8.9_3
 
   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1
 
 
 I supposed I could do a forced manual removal of perl, but isn't that what 
 the '-f'
 arg in the portupgrade is supposed to do?
 

You got bitten by an ill-considered change introduced after the UPDATING
instructions were written.  To work around it, you need to set
DISABLE_CONFLICTS when rebuilding the port, eg like this:

   # portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*

Please feel free to complain volubly about this: it's hand-holding for
newbies which annoys and incoveniences the vastly larger number of
non-newbies (ie. anyone who has been using the ports for more than a few
weeks.)

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuP6kAACgkQ8Mjk52CukIzOFwCcDWkYxJrX+nPwWpzhrWGBuLTO
MIIAn1wVGgCJc4nFdDdxmyXnuzbJ3kni
=LfKt
-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


Booting MFS from Secondary Partition

2010-03-04 Thread Martin McCormick
I have hit one of these impenetrable walls in which nothing
seems to work but I know it should. I have tried several
versions of /boot.config to no avail. The idea is exactly the
same principle as described in depenguinator which is software
that lets one use grub in Linux to install FreeBSD on a working
Linux system. The idea is to steal the swap partition, put mfsboot
there, and then tell grub to boot from that partition rather than the
normal active one.

The manual for boot.config makes me think I should be
able to just put in the information describing the secondary
partition and it should cause a boot from that one but:

/boot.config: 1:ad(0,b)/boot/loader -P

FreeBSD/i386 boot
Default: 1:ad(0,b)/boot/loader
boot:
error 1 lba 0
No /boot/loader

The mfsboot image works when started from the primary
partition so I am stuck as to why boot.config is not starting
from that secondary partition.
The present boot.config is:

1:ad(0,b)/boot/loader -P

If mfsbsd was starting, shouldn't it see its boot
loader?

Is there a mfsbsd discussion list? Surely, somebody else
has hit this brick wall, also.
___
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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Tim Daneliuk
On 3/4/2010 11:13 AM, Matthew Seaman wrote:
 portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*
 

Thanks for that.  I'm not sure to whom I'd complain and/or if it would
make any difference ;)


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Automated kernel crash reporting system

2010-03-04 Thread Jason

On Thu, Mar 04, 2010 at 05:50:56AM -0800, sean connolly thus spake:

Hi Dan,

Automatic reporting would end up being a mess given that panics can be caused 
by hardware problems. Having an autoreport check if memtest was run before it 
reports, or having it only run with -CURRENTmight be useful.

Sean



I only slightly disagree, in that in a production environment it may be
useful to have the information regardless of the branch to report to an
internal company e-mail address.

But, maybe there is a routine for -CURRENT to go to @freebsd, in addition to
an internal address.

Just some thoughts...

-j







From: jhell jh...@dataix.net
To: Dan Naumov dan.nau...@gmail.com
Cc: FreeBSD Hackers freebsd-hack...@freebsd.org; freebsd-questions@freebsd.org
Sent: Thu, March 4, 2010 8:06:50 AM
Subject: Re: Automated kernel crash reporting system


On Thu, 4 Mar 2010 07:09, dan.naumov@ wrote:

Hello

I noticed the following on the FreeBSD website:
http://www.freebsd.org/projects/ideas/ideas.html#p-autoreport Has
there been any progress/work done on the automated kernel crash
reporting system? The current ways of enabling and gathering the
information required by developers for investigating panics and
similar issues are unintuitive and user-hostile to say the least and
anything to automate the process would be a very welcome addition.


- Sincerely,
Dan Naumov



Hi Dan,

I am assuming that the output of crashinfo_enable=YES is not what you
are talking about is it ? are you aware of it ?

The info contained in the crashinfo.txt.N is pretty informative for
developers, maybe your talking about another way of submitting it ?

Regards,

--

 jhell

___
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: Virtualbox on Freebsd

2010-03-04 Thread Paul Schmehl
I'm trying to build it from ports right now and running into all sorts of 
issues with qt4 stuff.


--On Wednesday, March 03, 2010 20:50:32 -0500 Glen Barber 
glen.j.bar...@gmail.com wrote:



Hi,

Chris Hill wrote:

On Wed, 3 Mar 2010, Thomas Lawrence wrote:

   Hello Guys and Gals,
   Can you clear something up for me.
   Is it possible to install the closed source version of Virtualbox on
   Freebsd8.

Glen Barber posted this...

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg217302.html

...last summer. I have not tried it, just saying it's there.



It is a (horribly outdated) pkg_add(1) installer.  I haven't had a chance
to update it yet; hopefully this weekend now that my attention has been
drawn to it.

For the record, it is not the closed-source version.  It is
emulators/virtualbox before it was repocopied to
emulators/virtualbox-ose-*.

Regards,




--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

___
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: RS232 / TCP converter and BSD.

2010-03-04 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Thu Mar  4 10:41:36 2010
 To: freebsd-questions@freebsd.org
 Date: Thu, 04 Mar 2010 10:41:00 -0600
 From: Martin McCormick mar...@dc.cis.okstate.edu
 Subject: Re: RS232 / TCP converter and BSD. 

 Chuck Swiger writes:
  Data centers use that for serial connections to stuff like Cisco routers
  and other terminal applications all the time. However, if the device is
  truly RS-232 rather than 422/423, it's nominally out of spec past 50 
  meters
  and possibly won't go past 9600 baud.

   I was wondering about that when I wrote my long-winded
 response. I was confused and thought the maximum length for
 RS-232 was longer than it is. 70 meters is almost 25% out of
 range which is kind of pushing things.

The 'standard' way to get around that distance limitation is to use a
RS-232 to current-loop adapter, often referred to as a 'short haul modem'.
see: 
http://www.blackbox.com/Store/Detail.aspx/Short-Haul-Modem-Nonpowered-Async-SHM-NPR-DB25-Male/ME721A-M-R3

for one example from a quality, but fairly pricey, source.

Note: you need one of these on each end of the wire.


___
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: Virtualbox on Freebsd

2010-03-04 Thread Kevin Wilcox
On 4 March 2010 14:15, Paul Schmehl pschmehl_li...@tx.rr.com wrote:

 I'm trying to build it from ports right now and running into all sorts of
 issues with qt4 stuff.

This doesn't exactly inspire confidence when it comes time for me to
do my next round of updates.

I remember running into an issue with qt when building Virtualbox but
I *believe* a forced removal of everything qt related and letting it
start the process from scratch fixed the issue.

I'll keep better notes next time :-\

kmw

-- 
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
___
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: Virtualbox on Freebsd

2010-03-04 Thread Warren Block

On Thu, 4 Mar 2010, Paul Schmehl wrote:

I'm trying to build it from ports right now and running into all sorts of 
issues with qt4 stuff.


VirtualBox builds fine here, but on a recent 8-stable it locks the 
system when starting a FreeBSD VM.  Maybe on all VMs, but fscks are no 
fun so I haven't tried.  There's a probably-related thread in 
-emulation.


-Warren Block * Rapid City, South Dakota USA
___
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: xorg, xdm, desktop env

2010-03-04 Thread Polytropon
On Thu, 4 Mar 2010 09:30:05 +0100, n dhert ndhert...@gmail.com wrote:
 Installed a fresh FreeBSD-8.0, xorg, configured xorg for my screen,
 installed xdm.
 After reboot I see a graphical login window. When entering username and
 password, it seems to accept it, but immediatly present the graphical login
 window again. (In console mode (Ctrl-Alt-F1) I can login at the login:
 prompt with the
 same username/password).
 Has FreeSBD somewhere a default environment (in that case why does it not
 appear after logging in at the
 XDM graphical window) or do you still need to install a Desktop environment
 (Gnome, KDE, Xfce) and is it
 normal that after logging in at the XDM window, you are thrown out again..

As far as I know, earlier X installations came with the
tab window manager - twm. This doesn't seem to be the case
anymore. Because neither X or FreeBSD itself do include
a complete desktop environment (such as KDE, Gnome, Xfce),
you need to install it yourself, and then make it available
to your user using ~/.xsession or ~/.xinitrc respectively.

If those files are not present, a default should be used by
X. According to which version of X you have installed, those
defaults could launch twm with some xterms (the default is
somewhere in /usr/local/lib/X11, ex /usr/X11R6/lib/X11), or
just recognize that X program initialisation is missing and
then exit - which is still a bit strange, because the X server
should run anyway, without programs.

Check /var/log/Xorg.0.log for possible errors.

What does happen if you don't run xdm, but instead log in
with your user account and then run the startx command?


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


Re: xorg, xdm, desktop env

2010-03-04 Thread Warren Block

On Fri, 5 Mar 2010, Polytropon wrote:

On Thu, 4 Mar 2010 09:30:05 +0100, n dhert ndhert...@gmail.com wrote:

Installed a fresh FreeBSD-8.0, xorg, configured xorg for my screen,
installed xdm.
After reboot I see a graphical login window. When entering username and
password, it seems to accept it, but immediatly present the graphical login
window again. (In console mode (Ctrl-Alt-F1) I can login at the login:
prompt with the
same username/password).
Has FreeSBD somewhere a default environment (in that case why does it not
appear after logging in at the
XDM graphical window) or do you still need to install a Desktop environment
(Gnome, KDE, Xfce) and is it
normal that after logging in at the XDM window, you are thrown out again..


As far as I know, earlier X installations came with the
tab window manager - twm. This doesn't seem to be the case
anymore.


twm is still enabled by default as part of the x11/xorg-apps port.

-Warren Block * Rapid City, South Dakota USA
___
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: xorg, xdm, desktop env

2010-03-04 Thread Programmer In Training
On 03/04/10 17:43, Warren Block wrote:
 On Fri, 5 Mar 2010, Polytropon wrote:
snip
 As far as I know, earlier X installations came with the
 tab window manager - twm. This doesn't seem to be the case
 anymore.
 
 twm is still enabled by default as part of the x11/xorg-apps port.

I can confirm that, and I too have problems with XDM despite having
'exec wmaker' in my .xinitrc in my home directory (sometimes XDM will
kick me out to the login, sometimes it will just take me to a blank
session wherein I can do nothing). I'd like to use XDM and have it start
on boot so I'm interested in the outcome of this.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


[ fbsd_questions ] tar(1) vs. msdos_fs: a death_spiral ?

2010-03-04 Thread spellberg_robert

greetings, all ---

i confess that this one has me flummoxed.
the short question:  does tar(1) spit_up when extracting onto an msdos_fs 
hard_drive ?

[ i tried the mailing_list archives tar AND msdos, for -questions, -chat, 
-bugs, -newbies, -performance ]
[ other research as indicated ]



i have no problem using tar(1) on ufs.
large files, small files; if i am on ufs, everything is fine.

i have been creating tarballs from medium_size msdos_fs drives, also.
this worked fine.
i would check them by extracting into a ufs root_point.
no problem.

this week, i tried to do something new.
i wanted to take a tarball, already on ufs, that was created from an msdos_fs 
drive and
  extract it onto an msdos_fs drive.
this, to me, actually seems like a reaasonable idea; but, what do i know ?

well, it starts out just fine, but, it rapidly degenerates into what is, 
normally, infinite_loop land.
when ps(1) says cpu_% of 1%, 2%, 5%; ok, it is an active process.
in about ten minutes, tar(1) enters 90% cpu.
after 20 minutes, 99%.

i does not matter if X_windows is running.
foreground or background process, no difference.

it seems to be working correctly because the error_file is always of zero_size.
i suspect that if i left it alone, after a few days, it would finish.



some details
  [ everything is ufs, using 8kB/1kB, except /mnt, which is clustered as 
indicated;
of course, the tarball is not named ball,
nor is the path, to the tarball, named path, but, then, you knew that
  ].


mkdir /path_c
mkdir /path_c/88_x

mkdir /path_d
mkdir /path_d/88_x


mount -v -t msdos /dev/ad1s1 /mnt   [ fat_32, about 6_GB, 4_KB cluster, 
the c:\ drive, primary partition. ]
cd /mnt
( tar cvplf /path_c/99_ball.tar .
   /path_c/90_cvpl.out   )
  /path_c/91_cvpl.err[ real time 16m 07s, 
exit_status 0 ]
cd / ; umount /mnt


mount -v -t msdos /dev/ad1s5 /mnt   [ fat_32, about 12_GB, 8_KB cluster, 
the d:\ drive, extended partition. ]
cd /mnt
( tar cvplf /path_d/99_ball.tar .
   /path_d/90_cvpl.out   )
  /path_d/91_cvpl.err[ real time 20m 15s, 
exit_status 0 ]
cd / ; umount /mnt


cd /path_c/88_x
( tar xvplf ../99_ball.tar
   ../92_xvpl.out )
  ../93_xvpl.err [ real time 08m 11s; 
exit_status 0 ]
diff ../9[02]*  [ exit_status 0; the 
tables_of_contents are the same ]
ls -l ..[ visually inspect the 
error_files to be of zero_size - verified ]


cd /path_d/88_x
( tar xvplf ../99_ball.tar
   ../92_xvpl.out )
  ../93_xvpl.err [ real time 12m 37s; 
exit_status 0 ]
diff ../9[02]*  [ exit_status 0; the 
tables_of_contents are the same ]
ls -l ..[ visually inspect the 
error_files to be of zero_size - verified ]


[ note that this approach works; it is a good excuse to refill my coffee_cup. ]


[ physically replace the source hard_drive w/ 80_GB capacity, 32_KB cluster, 
primary_partition only, virgin hard_drive.
  this destination hard_drive was fdisked and formated yesterday_morning;
  this drive was scandisked yesterday for 12 hours, using the thorough 
option,
  it has zero bad clusters [ i wanted to eliminate the drive as the problem ]
].


mount -v -t msdos /dev/ad1s1 /mnt

mkdir /mnt/path_cc
cd/mnt/path_cc

( tar xvplf /path_c/99_ball.tar
../92_xvpl.out )
   ../93_xvpl.err[ started this at 
18:05_utc, it is now about 21:35_utc;
  the toc_file, from the 
8_minute extraction above, has 87517 lines in it;
  the current toc_file has 
only 12667 lines.
]

[ this is the second hard_drive i have tried this on, this week;
  i will probably kill the process as xterm is being updated about 8 seconds 
apart, now.
]


on the first hard_drive [ i have not done this on the second drive, yet ]
  i noted that i had a successful extraction on the ufs drive.
not being the smartest person around, i had, what i thought to be, a 
--brilliant-- idea,
  what if i try a recursive copy of the successful extraction ?

this is interesting;
  the recursive copy started_out like gang_busters, then, just like the 
extraction, slowly bogged_down to 99%_cpu.

hmmm..., two different msdos_fs hard_drives, two different normally_reliable 
utilities, same progressive_hogging of the cpu.
this makes me wonder about the msdos_fs hard_drive, which is, rapidly, becoming 
the only remaining common factor.



ok.
i tried the mailing lists.
right now, i am web_page searching;
  tar(1) seems to be slow in some situations, but, i have not, yet, found 
--this-- situation.
also, in reading the 

Re: Loader.conf mfs statements

2010-03-04 Thread Fbsd1

Daniel Bye wrote:

On Thu, Mar 04, 2010 at 09:48:27PM +0800, Fbsd1 wrote:

Tyring to understand what mfsbsd is doing.
In its loader.conf file i see these statements
geom_uzip_load=YES
mfs_load=YES
mfs_type=mfs_root
mfs_name-/mfsroot
tmpfs_laod=YES
vfs.root.mountfrom=ufs:/dev/mdo

Where do I find documentation on the meaning of these statements?


loader.conf(5) and /boot/defaults/loader.conf



All ready checked those sources before posting with no joy.
IE: your are wrong. Those sources have no info on the mfs* statements.

___
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: Virtualbox on Freebsd

2010-03-04 Thread Paul Schmehl
--On Thursday, March 04, 2010 17:12:26 -0500 Kevin Wilcox 
kevin.wil...@gmail.com wrote:



On 4 March 2010 14:15, Paul Schmehl pschmehl_li...@tx.rr.com wrote:


I'm trying to build it from ports right now and running into all sorts of
issues with qt4 stuff.


This doesn't exactly inspire confidence when it comes time for me to
do my next round of updates.

I remember running into an issue with qt when building Virtualbox but
I *believe* a forced removal of everything qt related and letting it
start the process from scratch fixed the issue.

I'll keep better notes next time :-\


I'm running portupgrade now.  (It's been a while.)  If that doesn't fix it, 
I'll try to forced deletion of everything qt and see if that fixes it.


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

___
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: Booting MFS from Secondary Partition

2010-03-04 Thread Fbsd1

Martin McCormick wrote:

I have hit one of these impenetrable walls in which nothing
seems to work but I know it should. I have tried several
versions of /boot.config to no avail. The idea is exactly the
same principle as described in depenguinator which is software
that lets one use grub in Linux to install FreeBSD on a working
Linux system. The idea is to steal the swap partition, put mfsboot
there, and then tell grub to boot from that partition rather than the
normal active one.

The manual for boot.config makes me think I should be
able to just put in the information describing the secondary
partition and it should cause a boot from that one but:

/boot.config: 1:ad(0,b)/boot/loader -P

FreeBSD/i386 boot
Default: 1:ad(0,b)/boot/loader
boot:
error 1 lba 0
No /boot/loader

The mfsboot image works when started from the primary
partition so I am stuck as to why boot.config is not starting
from that secondary partition.
The present boot.config is:

1:ad(0,b)/boot/loader -P

If mfsbsd was starting, shouldn't it see its boot
loader?

Is there a mfsbsd discussion list? Surely, somebody else
has hit this brick wall, also.




From what I read in this freebsd.org article
http://www.freebsd.org/doc/en/articles/remote-install/index.html

There is hard coded logic that is stopping you from doing what you want.
Looks like you are SOL.

Booting mfsBSD
Now that the mfsBSD image is ready, it must be uploaded to the remote 
system running a live rescue system or pre-installed Linux® 
distribution. The most suitable tool for this task is scp:


# scp disk.img r...@192.168.0.2:.
To boot mfsBSD image properly, it must be placed on the first (bootable) 
device of the given machine. This may be accomplished using this example 
providing that sda is the first bootable disk device:


# dd if=/root/disk.img of=/dev/sda bs=1m
If all went well, the image should now be in the MBR of the first device 
and the machine can be rebooted. Watch for the machine to boot up 
properly with the ping(8) tool. Once it has came back on-line, it should 
be possible to access it over ssh(1) as user root with the configured 
password.



The mfsbsd process has new maintainer,  Martin Matuska m...@freebsd.org
Email him for help.

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


Flash viewer for FBSD

2010-03-04 Thread Pongthep Kulkrisada
Hi all,

I have been using FBSD since 5.4 until now 8.0.
Mostly, I use it as a server and coding C (as my hobby).
All the time I stay in console without fancy of any GUI.
For GUI applications, I mostly use Windows.

Now I want to use only FBSD for web browsing and don't want to use Windows.
I installed FBSD 7.1 with KDE 3.5 from CD.
Then I csup(ed) and buildworld to FBSD 7.2 and then finally FBSD 8.0
while remaining KDE unchanged.
I use opera-10.10 for web browsing.

The problem is that ``flash viewer'' is not installed.
Shockwave/Adobe/Macromedia flash viewers are not shipped with FBSD CD.
It looks very bad for browsing web without flash viewer.
I tried installing from ports.
- opera-linuxplugins-10.10.
- linux-f10-flashplugin-10.0
- f4l-0.2.1.4 (I guess it stands for ``flash for linux''.)
But they do not fix the problem.
Anyone who can fix this problem please point me out.

Thanks,
Pongthep
___
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 viewer for FBSD

2010-03-04 Thread Polytropon
On Fri, 5 Mar 2010 12:14:15 +0700, Pongthep Kulkrisada ptkris...@gmail.com 
wrote:
 I installed FBSD 7.1 with KDE 3.5 from CD.
 Then I csup(ed) and buildworld to FBSD 7.2 and then finally FBSD 8.0
 while remaining KDE unchanged.

Do you have compat7x installed? If you already updated 
to OS 8.0, you should update your ports tree, too, and
use the current ports.



 I use opera-10.10 for web browsing.

An excellent web browser. Good choice. :-)



 It looks very bad for browsing web without flash viewer.

Sad... but with HTML 5, it may be a chance that the web world
can finally say goodbye to this idiotic Flash that is mostly
used by inexperienced or lazy Internet programmers (they
often call theirselves that way) to make the web intendedly
unaccessible... as if the web would consist of Flash only...



 I tried installing from ports.
 - opera-linuxplugins-10.10.
 - linux-f10-flashplugin-10.0
 - f4l-0.2.1.4 (I guess it stands for ``flash for linux''.)
 But they do not fix the problem.

Just installing isn't enough, there's some configuration work
to be done.

By the way, you may be interested in checking how gnash
(a GNU based Flash implementation) or swfdec may fit
your needs.



 Anyone who can fix this problem please point me out.

Sure. Maybe the handbook can help here:

http://www.freebsd.org/doc/handbook/desktop-browsers.html

See 6.2.3 for detailed information.



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


Re: Flash viewer for FBSD

2010-03-04 Thread Sabine Baer
On Fri, Mar 05, 2010 at 12:14:15PM +0700, Pongthep Kulkrisada wrote:

[...]

 I use opera-10.10 for web browsing.
 
 It looks very bad for browsing web without flash viewer.
 I tried installing from ports.
 - opera-linuxplugins-10.10.
 - linux-f10-flashplugin-10.0
 - f4l-0.2.1.4 (I guess it stands for ``flash for linux''.)
 But they do not fix the problem.
 Anyone who can fix this problem please point me out.

I have installed 
emulators/linux_base-f10, 
www/linux-opera-10.10  and
linux-f10-flashplugin-10.0r45 
on a 7.2 FreeBSD an can now look at and listen to flash movies on
youtube and other sites.  

Sabine

-- 
/\ 
\ / ASCII ribbon campaign
 X  against HTML in mail and news
/ \ 
___
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


OT: how to reset high scores on gnome games

2010-03-04 Thread Aryeh M. Friedman

See subject
___
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: Perl 5.8 - 5.10 On Current Production System

2010-03-04 Thread Jonathan McKeown
On Thursday 04 March 2010 19:13:36 Matthew Seaman wrote:

 You got bitten by an ill-considered change introduced after the UPDATING
 instructions were written.  To work around it, you need to set
 DISABLE_CONFLICTS when rebuilding the port, eg like this:

# portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*

 Please feel free to complain volubly about this: it's hand-holding for
 newbies which annoys and incoveniences the vastly larger number of
 non-newbies (ie. anyone who has been using the ports for more than a few
 weeks.)

Has this absolutely ludicrous change not been reverted with extreme prejudice 
yet? And is there a PR where we can add interesting suggestions as to what 
miseries should be inflicted on the person responsible 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