Re: System initialization

2012-04-19 Thread Bas Smeelen
On 04/19/2012 02:32 AM, Erich Dollansky wrote:
 Hi,

 I think you have had the list twice in the address list.

 On Thursday 19 April 2012 06:23:26 Brett Glass wrote:

 Has anyone out there worked on the problem of generating 
 configuration files for important daemons (e.g. mpd, dnscache from 
 are you sure that you really need this dynamically?

 I believed this too until I realised that a script manually run can do the 
 job for me.

 I created a central location for my configuration files and let a script do 
 the rest. Of course, it is all static.

 Erich
Hi

The people from pfSense have done this very nicely.
Maybe you can take a look at how they did this.
It has one configuration file which is in xml format.



Disclaimer: http://www.ose.nl/email

___
freebsd-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: System initialization

2012-04-19 Thread perryh
Brett Glass br...@lariat.net wrote:

 I have several nearly identical servers in my network, and would 
 like to control their configurations entirely from one file ...

You might find sysutils/puppet useful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mounting ext2fs

2012-04-19 Thread perryh
Julian H. Stacey j...@berklix.com wrote:

  what does lsvfs show ?

 Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t
 (it show interesting stuff on my /xp  anyway ).

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


Re: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-19 Thread Xavier
On Wed, Apr 18, 2012 at 02:12:41PM +0200, Julian H. Stacey wrote:

Hi Julian,

 Hi,
 Reference:
  From:Xavier xavierfreebsdquesti...@gmail.com
  Date:Sat, 7 Apr 2012 22:25:28 +0200
  Message-id:CALe6D=vpy0rk1=-
9rvtv46xp8zd4xvzngb1cbwwacdazwtq...@mail.gmail.com

 Xavier wrote:
  On Sat, Apr 07, 2012 at 04:15:41PM -0400, ill...@gmail.com wrote:
 
  Hi,
 
   On 7 April 2012 13:53, Xavier xavierfreebsdquesti...@gmail.com
wrote:
Hi to all,
   
I have:
   
casa# disktype /dev/da1
   
--- /dev/da1
Character device, size 3.771 GiB (4048551936 bytes)
FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
BSD disklabel (at sector 1), 8 partitions
Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
 Type 0 (Unused)
DOS/MBR partition map
Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
 Type 0x83 (Linux)
 Ext3 file system
   UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
   Last mounted at /
   Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from
7438095)
 Type 0x05 (Extended)
 Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from
7438095+63)
   Type 0x82 (Linux swap / Solaris)
   Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
 Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)
   
I'm running from FreeBSD 9.0-RELEASE
   
I try:
   
casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
mount: /dev/da1a : Invalid argument
   
How can I mount it ?
  
   mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
   perhaps?  Note---^^
  
   If that still doesn't work, try adding -r in there (as ext2fs might
not
   support r/w in your configuration).
  
 
  casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1s1 : No such file or directory
  casa#
  casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1s1 : No such file or directory
  casa#
 
  You have more ideas ?

 With 9.0-RELEASE generic kernel:
 man mount
 ...
 man 2 nmount
 The type argument names the file system.  The types of file
 systems known to the system can be obtained with lsvfs(1).
 lsvfs
 FilesystemRefs Flags
  - ---
 devfs1 synthetic
 msdosfs  0
 nfs  0 network
 procfs   0 synthetic
 cd9660   0 read-only
 ufs  1
 cd /boot/kernel ; find . -name \*ext\* -print
 kldload /boot/kernel/ext2fs.ko ; lsvfs
 # Adds
 ext2fs   0
 man ext2fs
 To link into the kernel:
 options EXT2FS
 To load as a kernel loadable module:
 kldload ext2fs
 No mention of ext3 there, nor from find (above).

 .. so you May be out of luck ..

 Divide the problem. Reduce simulltaneous testing of backslash  ext3.
 Delete all backslash junk during test.  Try
 su ; mkdir /mnt/test ; mount -r -t ext2fs /dev/da1a /mnt/test

I try:

casa# kldstat | grep ext
101 0xc93b9000 1ext2fs.ko

casa% lsvfs | grep ext
ext2fs   0

casa# disktype /dev/da0

--- /dev/da0
Character device, size 14.92 GiB (16025387008 bytes)
DOS/MBR partition map
Partition 1: 13.93 GiB (14961082368 bytes, 29220864 sectors from 2048,
bootable)
  Type 0x83 (Linux)
Ext3 file system
UUID DF70360E-9DD3-436D-9627-A614FB0FD24E (DCE, v4)
Last mounted at /
Volume size 13.93 GiB (14961082368 bytes, 3652608 blocks
of 4 KiB)
Partition 2: 0.988 GiB (1061159936 bytes, 2072578
sectors from 29224958)
  Type 0x05 (Extended)
Partition 5: 1012 MiB (1061158912 bytes, 2072576
sectors from 29224958+2)
Type 0x82 (Linux swap / Solaris)


casa% ls /dev/da0*
/dev/da0/dev/da0s1  /dev/da0s2  /dev/da0s5

How can get the correct da0 node for your mount(8) command ?

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


Re: mounting ext2fs

2012-04-19 Thread Matthias Apitz
El día Thursday, April 19, 2012 a las 09:42:22AM -0700, per...@pluto.rain.com 
escribió:

 Julian H. Stacey j...@berklix.com wrote:
 
   what does lsvfs show ?
 
  Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t
  (it show interesting stuff on my /xp  anyway ).
 
 Easier:  file -s /dev/da0s1

gives now:

# file -s /dev/da0s1 
/dev/da0s1: Linux rev 1.0 ext2 filesystem data (mounted or unclean)

and /dev/da0s1 is mounted:

# mount | fgrep /dev/da0s1
/dev/da0s1 on /mnt (ext2fs, local)

the problem with (this) cardreader seems to be that the card must
already inserted at boot time; a later switch to another card, for
example from a card with 'msdosfs' to a card with 'ext2fs', gives the
problem in my first mail; don't know if this is a bug or feature :-)

ext2fs.ko is loaded automagically by mount(8); I do not load it at boot,
but after the mount(8) it was loaded;

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-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: mounting ext2fs

2012-04-19 Thread Warren Block

On Thu, 19 Apr 2012, Matthias Apitz wrote:


the problem with (this) cardreader seems to be that the card must
already inserted at boot time; a later switch to another card, for
example from a card with 'msdosfs' to a card with 'ext2fs', gives the
problem in my first mail; don't know if this is a bug or feature :-)


Try forced retasting after loading a card.

  true  /dev/da0
___
freebsd-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: Re[4]: Problem with vlans on igb (was: fsck problem FreeBSD 8.3)

2012-04-19 Thread Damien Fleuriot
Well, you see me glad that this fixes your problems.


You might want to see with Jack Vogel who maintains the Intel drivers,
if you can track down the issue and perhaps even find a fix for it.

Taking the liberty of CCing you Jack.



2012/4/18 Eugen Konkov kes-...@yandex.ru:
 Hi, Damien.

 With this configuration works without reboots

 ifconfig_igb0=-rxcsum -txcsum -lro -tso up
 ifconfig_igb1=-rxcsum -txcsum -lro -tso up
 ifconfig_igb2=-rxcsum -txcsum -lro -tso -vlanhwtag up
 ifconfig_igb3=-rxcsum -txcsum -lro -tso up


 igb0 has only one vlan
 igb1 has two vlans
 igb2 has 16 vlans
 igb3 has 4 vlans


 if igb2 has vlanhwtag enabled then server starts to reboot

 DF Yes, I suggest you try with -vlanhwtag as well.
 DF If that stops your unwanted reboots, you may want to remove it and see
 DF if the situation changes.


 DF 2012/4/12 Коньков Евгений kes-...@yandex.ru:
 Now i350 is configured as:

 /etc/rc.conf
 ## TCP/IP
 ifconfig_igb0=-rxcsum -txcsum -lro -tso up
 ifconfig_igb1=-rxcsum -txcsum -lro -tso up
 ifconfig_igb2=-rxcsum -txcsum -lro -tso up
 ifconfig_igb3=-rxcsum -txcsum -lro -tso up

 # ifconfig -m igb1
 igb1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
        
 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO
        
 capabilities=505bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO
        ether a0:36:9f:00:66:a5
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        supported media:
                media autoselect
                media 1000baseT
                media 1000baseT mediaopt full-duplex
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT/UTP mediaopt full-duplex
                media 10baseT/UTP

 #pciconf -lv
 igb0@pci0:1:0:0:        class=0x02 card=0x00018086 chip=0x15218086 
 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = network
    subclass   = ethernet



 Do I need to disable VLAN_HWCSUM, VLAN_HWFILTER,VLAN_HWTSO also?

 PS. I will try to disable those after the holidays

 DF Try disabling hardware VLAN tagging like so, I know we had problems a
 DF few years back with it.

 DF in /etc/rc.conf :
 DF ifconfig_igb2= -vlanhwtag -tso -lro up


 DF 2012/4/11 KES kes-...@yandex.ua:


  Пересылаемое сообщение  
 11.04.2012, 13:14, KES kes-...@yandex.ua:

 10.04.2012, 08:50, Da Rock 
 freebsd-questi...@herveybayaustralia.com.au:

  On 04/10/12 05:02, Коньков Евгений wrote:
   Yes, I have tested.
   and on this hardware on this OS it works from  Fri Feb 24 17:07:48 
 UTC 2012
   but last two days:
   reboot   ~ Mon Apr  9 19:50
   reboot   ~ Mon Apr  9 18:30
   reboot   ~ Sun Apr  8 20:55
   reboot   ~ Sun Apr  8 20:00
   reboot   ~ Sun Apr  8 19:49
   reboot   ~ Sun Apr  8 17:43
   reboot   ~ Sun Apr  8 10:58
   reboot   ~ Sat Apr  7 21:13
   reboot   ~ Sat Apr  7 16:37
   reboot   ~ Sat Apr  7 16:07

   I remembered. One thing changed.
   I add vlans to igb2, but no traffic flow on that devices yet.
  Perhaps you should test removing the vlans and see if things improve?

 I have removed vlans, two day server works without reboots

   Before this I have use: igb0, igb1, igb3
   igb0@pci0:1:0:0:    class=0x02 card=0x00018086 
 chip=0x15218086 rev=0x01 hdr=0x00
    vendor = 'Intel Corporation'
    class  = network
    subclass   = ethernet
   igb1@pci0:1:0:1:    class=0x02 card=0x00018086 
 chip=0x15218086 rev=0x01 hdr=0x00
    vendor = 'Intel Corporation'
    class  = network
    subclass   = ethernet
   igb2@pci0:1:0:2:    class=0x02 card=0x00018086 
 chip=0x15218086 rev=0x01 hdr=0x00
    vendor = 'Intel Corporation'
    class  = network
    subclass   = ethernet
   igb3@pci0:1:0:3:    class=0x02 card=0x00018086 
 chip=0x15218086 rev=0x01 hdr=0x00
    vendor = 'Intel Corporation'
    class  = network
    subclass   = ethernet

   ifconfig_vlan100=inet  192.168.0.1 netmask 255.255.255.0 vlan 100 
 vlandev igb2 #nALL
   ifconfig_vlan101=inet  192.168.1.1 netmask 255.255.255.0 vlan 101 
 vlandev igb2 #n2 p24
   ifconfig_vlan102=inet  192.168.2.1 netmask 255.255.255.0 vlan 102 
 vlandev igb2 #n1 p23
   ifconfig_vlan103=inet  192.168.3.1 netmask 255.255.255.0 vlan 103 
 vlandev igb2 #n3 p22
   ifconfig_vlan104=inet  192.168.4.1 netmask 255.255.255.0 vlan 104 
 vlandev igb2 #n7,9 p21
   ifconfig_vlan105=inet  192.168.5.1 netmask 255.255.255.0 vlan 105 
 vlandev igb2 #n11 p20
   ifconfig_vlan106=inet  192.168.6.1 netmask 255.255.255.0 

Re: how to add es_MX locale ?

2012-04-19 Thread jbiskofski
Matt, Thanks for the help I was able to build the locale I needed with your
instructions. I will be submitting it. Thanks again for your help.

- Jose

On Wed, Apr 18, 2012 at 5:09 PM, Matthew Seaman matt...@freebsd.org wrote:

 On 18/04/2012 21:27, jbiskofski wrote:
  I dont see it in the response from locale -a. How can I add this
 locale?

 You'ld have to generate the appropriate locale data files for es_MX.
 Look at the equivalents for es_ES in
 /usr/share/locale/{es_ES.ISO8859-1,es_ES.ISO8859-15,es_ES.UTF-8} --
 although as ISO8859-15 is actually identical to ISO8859-1 apart from the
 addition of the Euro (€) currency symbol you can probably skip that for
 es_MX.

 These LC_* files have sources in the following sub-directories of
 /usr/src/share:

 LC_CTYPEmklocale
 LC_COLLATE  colldef
 LC_MESSAGES msgdef
 LC_MONETARY monetdef
 LC_NUMERIC  numericdef
 LC_TIME timedef

 If you look at the Makefiles in those directories you can see how the
 different output files are generated.  Note that where the source would
 be the same for many locales, only one source file is used, and the
 Makefile copies the result appropriately for other locales.

 For example, the LC_CTYPE files for languages written in the latin
 alphabet are generated from generic sources in /usr/src/share/mklocale
 -- so for the ISO8859-1 character set, the source code is in
 /usr/src/share/mklocale/la_LN.ISO8859-1.src

 Once you've got the es_MX files sorted out, submit your changes as a
 diff by using send-pr(1), and try and get a committer interested in
 adding them to the tree.  You probably won't need to write many es_MX
 specific files -- it could be just monetdef/es_MX.UTF-8.src [*] to
 specify the currency -- but you will need to add the right bits to the
 Makefiles to get the other es_MX LC_* files properly generated.

Cheers,

Matthew

 [*] I believe UTF-8 is preferred nowadays, rather than ISO8859-1 or
 ISO8859-15.

 --
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey



___
freebsd-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: blu ray recorders

2012-04-19 Thread Shane Ambler

On 16/04/2012 18:04, Wojciech Puchar wrote:

today BD recordable disks have prices that make sense as well as recorders.

but as i never had one i want to ask - how it is used under FreeBSD.

Does growisofs work just like with DVD-R or other tools are needed?


I have an LG BH12LS38 blu-ray burner in a machine I bought in december. 
Running 9.0-RELEASE


I haven't burnt a BD-R yet but I have used k3b (which is just a gui 
front end to growisofs,mkisofs,cdrecord,cdrdao,etc) to burn plenty of 
single layer dvd's.


From the info I can see that cdrecord and growisofs list blu-ray in 
features.


The prefs show the drive info with BD-R BD-RE listed in write 
capabilities. Available space jumps in sizes up to 50GB and it asks you 
to insert a blu-ray medium if file sizes total over 8GB


It looks to have all the support needed.

As for authoring a blu-ray to play in your home theatre it could be 
another story - I haven't looked into that.

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


pcre library linking issues

2012-04-19 Thread Aleksandr Miroslav
I inadvertently updated my PCRE library and in the process broke a number of
things that depended on the old library.

I now have a number of binaries that look like this:

/usr/local/bin$ $ ldd gtester
gtester:
libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x2809)
libintl.so.9 = /usr/local/lib/libintl.so.9 (0x28168000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28171000)
libpcre.so.0 = not found (0x0)
libc.so.7 = /lib/libc.so.7 (0x28267000)
libpcre.so.0 = not found (0x0)


What can I do to fix this in the meantime?

Alex
___
freebsd-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: pcre library linking issues

2012-04-19 Thread Lars Eighner

On Thu, 19 Apr 2012, Aleksandr Miroslav wrote:


I inadvertently updated my PCRE library and in the process broke a number of
things that depended on the old library.


Not the right answer but works:

Create a symbolic link in the library so libpcre.so.0 points to libpcre.so.1

The old library should have been moved to a compatibility library so that
things that still depended on it could find it.  This did not happen for
some reason.  Fortunately, it appears that libpcre.so.1 is (largely)
backwards compatible, so much (all?) of what depended on it will work if
fooled by a symbolic link.  Some upgrades will wipe out the link so it may
be necessary to recreate it until things get straightened out.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: blu ray recorders

2012-04-19 Thread Dean E. Weimer

On 19.04.2012 09:55, Shane Ambler wrote:

On 16/04/2012 18:04, Wojciech Puchar wrote:
today BD recordable disks have prices that make sense as well as 
recorders.


but as i never had one i want to ask - how it is used under FreeBSD.

Does growisofs work just like with DVD-R or other tools are needed?


I have an LG BH12LS38 blu-ray burner in a machine I bought in
december. Running 9.0-RELEASE

I haven't burnt a BD-R yet but I have used k3b (which is just a gui
front end to growisofs,mkisofs,cdrecord,cdrdao,etc) to burn plenty of
single layer dvd's.

From the info I can see that cdrecord and growisofs list blu-ray in 
features.


The prefs show the drive info with BD-R BD-RE listed in write
capabilities. Available space jumps in sizes up to 50GB and it asks
you to insert a blu-ray medium if file sizes total over 8GB

It looks to have all the support needed.

As for authoring a blu-ray to play in your home theatre it could be
another story - I haven't looked into that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


I am not sure about the ISO formatting needed for this, the blu-Ray 
specifications I believe call for the file system to be UDF version 
2.5/2.6.  I don't believe FreeBSD supports greater than UDF 1.5.  I ran 
into this issue a while back after building an ISO image server to 
present an NFS volume to VMware ESX servers to allow O/S and Software 
installation media for mounting as guest Machines CDROMS.  I also chose 
to write scripts and mount the ISO images as file systems to allow 
access to them via Samba when mounting the CD Wasn't necessary.  A few 
software DVDs we had at the time used UDF 2.0, and I was unable to read 
them.


This server was built on FreeBSD 7.2, but I haven't noticed anything in 
release notes since stating an update to the UDF version support.  Of 
course that doesn't mean it hasn't been updated, and either not 
included, or I missed them.  Just something that I think you should 
check into before getting to far into any project with Blu-Ray burning 
on FreeBSD.


--
Thanks,
 Dean E. Weimer
 http://www.dweimer.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: pcre library linking issues

2012-04-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/19/12 11:28 AM, Lars Eighner wrote:
 On Thu, 19 Apr 2012, Aleksandr Miroslav wrote:
 
 I inadvertently updated my PCRE library and in the process broke
 a number of things that depended on the old library.
 
 Not the right answer but works:
 
 Create a symbolic link in the library so libpcre.so.0 points to 
 libpcre.so.1
 
 The old library should have been moved to a compatibility library
 so that things that still depended on it could find it.  This did
 not happen for some reason.  Fortunately, it appears that
 libpcre.so.1 is (largely) backwards compatible, so much (all?) of
 what depended on it will work if fooled by a symbolic link.  Some
 upgrades will wipe out the link so it may be necessary to recreate
 it until things get straightened out.
 

Another option that works well is the /etc/libmap.conf file:
http://www.freebsd.org/cgi/man.cgi?query=libmap.conf

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+QQ60ACgkQ0sRouByUApDj6QCgtKl1kymoGvmKgy/rE1TOCTxg
glUAn0/nq+fmmluDLiM3meAjxdgUJsRZ
=H3uc
-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: /usr/local/java/jboss5 fails to build

2012-04-19 Thread vermaden
Hi and thank You very much ;)

I will try this process tomorrow at 9.0 amd64.

Also, about the provided HOWTO ...
 how to patch, i run make install in /usr/ports/java/jboss5
 when jboss-src is downloaded and extracted i interrupted the build

This should be possible by typing *make extract* instead? ;p

Regards,
vermaden

Horst Leitenmueller horst.leitenmuel...@liwest.at pisze:
 hi vermaden,
 
 here is the howto and all needed changes...
 
 
 installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6
 
 what is missing is a settings.xml which must be located in the home directory 
 of root, or the one who is installing ports
 
 /root/.m2/settings.xml
 
 file is attached in this file the depricated jboss dependencies are kept; 
 otherwise you will not be able to build
 
 second thing is i removed/changed things from the pom.xml file in the 
 portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/
 
 there are changes for 
   
 and 
 
 
 
 the entries glassfish i have removed 
 http://maven.glassfish.org/content/groups/glassfish they just deliver not 
 working response
 
 how to patch, i run make install in /usr/ports/java/jboss5
 when jboss-src is downloaded and extracted i interrupted the build
 
 patched the pom.xml   (problem was, i thougth install will work, but it was 
 running and downloading garbage from glassfish repo...)
 rm -rf /root/.m2/repository/ helps also if some garbage is collected
 
 jboss-team has announced there will be a repo change already some time ago, 
 but i also did not recognize it :-) until it was turned off...
 
 for the portmaintainer ? how to handle the settings.xml ? the other things 
 can be patched…
 
 
 and settings.xml
 



-- 








































...
___
freebsd-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: Changing psm (mouse) resolution?

2012-04-19 Thread Polytropon
On Thu, 19 Apr 2012 14:25:48 -0700, Ronald F. Guilmette wrote:
 
 
 The man page for the psm driver says:
 
 ... The current resolution can be changed at runtime.
 
 Unfortunately, it fails to mention any sort of command line utility
 that would provide this functionality.

It's mentioned as

SEE ALSO
 ioctl(2), syslog(3), atkbdc(4), mouse(4), mse(4), sysmouse(4), moused(8),
 syslogd(8)

in the manpage, even though it doesn't explicitely state that moused
is the binary to run.



 Is there a command line utility that provides this functionality?  Or do
 I need to write one from scratch, using the ioctl calls that are documented
 in the man page?

See man moused for details, especially the -r resolution option
should be useful. You can combine it with -f for testing. According
to the manpage, something like

# moused -f -r 300 -a 2.0 -p /dev/psm0 -t ps/2

should be good for testing. To make the settings permanent, you can
code them into /etc/rc.conf, using

moused_enable=YES
moused_port=
moused_type=
moused_flags=

with the required values.


-- 
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: mounting ext2fs

2012-04-19 Thread perryh
Warren Block wbl...@wonkity.com wrote:
 On Thu, 19 Apr 2012, Matthias Apitz wrote:
  the problem with (this) cardreader seems to be that the card must
  already inserted at boot time; a later switch to another card, for
  example from a card with 'msdosfs' to a card with 'ext2fs', gives the
  problem in my first mail; don't know if this is a bug or feature :-)

 Try forced retasting after loading a card.

true  /dev/da0

and/or unplugging/replugging the reader, if it is hot-pluggable (e.g. USB).
___
freebsd-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: pcre library linking issues

2012-04-19 Thread Warren Block

On Thu, 19 Apr 2012, Aleksandr Miroslav wrote:


On Thu, Apr 19, 2012 at 11:28 AM, Lars Eighner l...@larseighner.com wrote:

Create a symbolic link in the library so libpcre.so.0 points to
libpcre.so.1


Thank you, this worked.


It's a temporary measure, so rebuild everything that wants the old 
library, then remove the link.

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