Re: FreeBSD vs YouTube

2010-07-14 Thread Neil Short
Another alternative is to install the firefox plugin called DownloadHelper. It 
works very well with youtube and several other sites.
start here:
https://addons.mozilla.org/en-US/firefox/

and click the link for "Popular." It's near the top of the list.


  

___
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: os that rather uses the gpu?

2010-07-14 Thread Moises Castellanos
On Tue, Jul 13, 2010 at 5:56 PM, b. f.  wrote:

> > On Tue, 13 Jul 2010 22:46:15 +0200
> > Jozsi Avadkan  wrote:
> >
> > > Does someone know a distribution/operating system, that rather uses
> > > the GPU for "working", not the CPU? [by default]
>
> Not exclusively, no.  But there are developments, still mostly in the
> research stage, for software allowing heterogeneous computing
> platforms of CPUs and GPUs to offload more work onto the GPUs; and
> there are some experimental architectures, like Intel Larrabee, that
> are CPU/GPU hybrids.
>
> See, for example:
>
> http://en.wikipedia.org/wiki/GPGPU
> http://en.wikipedia.org/wiki/Larrabee_(microarchitecture)
>
>
> b.
>

 The only i've heard about is Yellow dog Linux enterprise for nvidia cuda
http://www.fixstars.com/en/products/ydel/cuda/

 Regards



> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
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"


ipnat.conf - map and rdr won't work!

2010-07-14 Thread alexus
I can't put my mind around it, before reboot I was able to ssh in from
outside to my jail and right now I can't!
I even rebuild the whole system and even that didn't help:(
anyone have any ideas?

su-3.2# cat /etc/ipnat.rules
map fxp0 lama -> 0/32
rdr fxp0 64.52.58.58 port ssh -> lama port ssh tcp
su-3.2# grep lama /etc/hosts
172.16.172.16   lama
su-3.2# ipnat -l
List of active MAP/Redirect filters:
map fxp0 172.16.172.16/32 -> 0.0.0.0/32
rdr fxp0 64.52.58.58/32 port 22 -> 172.16.172.16 port 22 tcp

List of active sessions:
su-3.2# ifconfig
vr0: flags=8943 metric
0 mtu 1500
options=2808
ether 00:19:5b:68:9b:01
inet 172.16.172.16 netmask 0x broadcast 172.16.172.16
media: Ethernet autoselect (none)
status: no carrier
fxp0: flags=8843 metric 0 mtu 1500
options=2009
ether 00:0f:fe:aa:f4:61
inet 64.52.58.58 netmask 0xffe0 broadcast 64.52.58.63
media: Ethernet autoselect (100baseTX )
status: active
plip0: flags=108810 metric 0 mtu 1500
lo0: flags=8049 metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
su-3.2# jls
   JID  IP Address  Hostname  Path
 1  172.16.172.16   lama  /usr/jail/lama
su-3.2# grep ^ipnat_enable /etc/rc.conf
ipnat_enable="YES"
su-3.2# grep ^gateway_enable /etc/rc.conf
gateway_enable="YES"
su-3.2# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1
su-3.2#

and this is me from outside trying to ssh to my box and getting time out...

mp:~ alexus$ ssh -v jothost.com
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to jothost.com [64.52.58.58] port 22.
debug1: connect to address 64.52.58.58 port 22: Operation timed out
ssh: connect to host jothost.com port 22: Operation timed out
mp:~ alexus$


-- 
http://alexus.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: Dell SAS5/IR

2010-07-14 Thread Grant Peel

I have seen some scuttlebutt white googling, about the SAS5/IR buuffer
problems, but have not seen a resolution yet.



I looked some more and it looks like that issue can also be caused by a
faulty drive, maybe even a bad cable.  Have you looked into that?



--
Adam Vande More
___
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"





Adam,

As I mentioned, the whole system, drive and all, passed every diagnostic I 
threw at it.


I will be going to the data center later, and was planning on opening it up 
and seeing if we might have a loose connection 


-Grant 



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


Re: Help with "ezjail-admin create" command

2010-07-14 Thread Ed Flecko
Thank you Peter!

Well in MY case, I'm not planning on running anything on this server
(at least at the moment) other than Apache, so I shouldn't have any
difficulties (I hope).

Also, what's the "ezjail-admin update -P -i" command? I've tried
"googling" it, but I don't see much.

Is it similar to the "ezjail-admin install" command somehow?

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


Re: Help with "ezjail-admin create" command

2010-07-14 Thread Peter Boosten

On 14 jul 2010, at 23:57, Ed Flecko wrote:

> Thank you.
> 
> :-)
> 
> What services are you referring to on the host that need to be reconfigured???
> 

ezjail tells you what services are running, which might conflict with the jail. 
But that highly depends on the services running on the host, and which you are 
planning to run in the jail.

In my case it was: sshd, openldap, apache, syslog-ng, postfix, nfs, netatalk, 
samba.

-- 
Peter Boosten
http://www.boosten.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: buffer starvation when recording DVDs

2010-07-14 Thread Alexander Best
2010/7/14 Alexander Best :
> 2010/7/14 Paul B Mahol :
>> On 7/14/10, Alexander Best  wrote:
>>> 2010/7/14 Paul B Mahol :
 On Wed, Jul 14, 2010 at 1:25 PM, Alexander Best
  wrote:
> 2010/7/14 Paul B Mahol :
>> On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best
>>  wrote:
>>> 2010/7/14 Alexander Best :
 hi there,

 my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
 maximum speed of 16x. however at speeds of more than ~12x the burner's
 buffer get's filled only ~20%. probably that's why the burner's speed
 get's reduced by `growisofs` (to prevent buffer starvation?). how can
 this happen? the iso i am using lies on my HDD which is quite fast
 (connected via SATA 2.0).

 this is the output of `camcontrol devlist -v`:

 scbus0 on ahcich0 bus 0:
 <>                                 at scbus0 target -1 lun -1 ()
 scbus1 on ahcich1 bus 0:
 <>                                 at scbus1 target -1 lun -1 ()
 scbus2 on ata2 bus 0:
     at scbus2 target 0 lun 0
 (cd0,pass0)
 <>                                 at scbus2 target -1 lun -1 ()
 scbus3 on ahcich2 bus 0:
          at scbus3 target 0 lun 0
 (ada0,pass1)
 <>                                 at scbus3 target -1 lun -1 ()
 scbus4 on ahcich3 bus 0:
 <>                                 at scbus4 target -1 lun -1 ()
 scbus5 on ahcich4 bus 0:
 <>                                 at scbus5 target -1 lun -1 ()
 scbus6 on ahcich5 bus 0:
 <>                                 at scbus6 target -1 lun -1 ()
 scbus7 on ahcich6 bus 0:
 <>                                 at scbus7 target -1 lun -1 ()
 scbus8 on ahcich7 bus 0:
 <>                                 at scbus8 target -1 lun -1 ()
 scbus-1 on xpt0 bus 0:
 <>                                 at scbus-1 target -1 lun -1 (xpt0)

 as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
 ada0 is SATA). the PATA and SATA controllers are:

 atapci0:  port
 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
 irq 16 at device 0.1 on pci3

 ahci0:  mem 0xf800-0xf8001fff
 irq 19 at device 0.0 on pci3
>>>
>>> sorry for the wrong information. just realized my HDD is connected to
>>> the intel controller!
>>>

 this is the output of `growisofs`:

 Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
 /dev/pass0: "Current Write Speed" is 16.4x1352KBps.
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
 0.0%
    1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU
   2.9%
    1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU
 100.0%
   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU
 100.0%
   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU
 100.0%
   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU
 100.0%
  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU
  97.1%
  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU
  97.1%
  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU
 100.0%
  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU
 100.0%
  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU
 100.0%
  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU
 100.0%
  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU
 100.0%
  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU
 100.0%
  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU
 100.0%
  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU
 100.0%
  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU
  97.1%
  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU
  97.1%
  574619648/469592473

Re: Help with "ezjail-admin create" command

2010-07-14 Thread Ed Flecko
Thank you.

:-)

What services are you referring to on the host that need to be reconfigured???

Ed
___
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: Tv-card for freebsd

2010-07-14 Thread Tim Judd
On 7/14/10, Bernt Hansson  wrote:
> Hello list!
>
> I'm in the process of buying a tv-card for dvb-t transmissions.
>
> Any tips on cards that have a driver for freebsd?
>
> Thank you.


For a built-in tuner card itself, no recommendations.

For an alternative solution, look at silicondust.com for the HDHomeRun
boxes.  I've had one for a long time and it is a beautiful device.
Simply stated, a dual (or more) digital tuner to ethernet bridge.

The consumer versions run only on DHCP, and they've recently announced
one that can accept tuner cards (for decoding a cable TV or satellite
broadcast, for example).


I haven't read the mechanics behind it, but it kinda looks like it's
tuned and channel data is sent to any ethernet-ready device by use of
ethernet frames.  You change settings by sending commands to the box.
There are frequent firmware updates but nothing that has yet applied
to me to fix a broken issue.



Enjoy!
___
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: buffer starvation when recording DVDs

2010-07-14 Thread Alexander Best
2010/7/14 Paul B Mahol :
> On 7/14/10, Alexander Best  wrote:
>> 2010/7/14 Paul B Mahol :
>>> On Wed, Jul 14, 2010 at 1:25 PM, Alexander Best
>>>  wrote:
 2010/7/14 Paul B Mahol :
> On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best
>  wrote:
>> 2010/7/14 Alexander Best :
>>> hi there,
>>>
>>> my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
>>> maximum speed of 16x. however at speeds of more than ~12x the burner's
>>> buffer get's filled only ~20%. probably that's why the burner's speed
>>> get's reduced by `growisofs` (to prevent buffer starvation?). how can
>>> this happen? the iso i am using lies on my HDD which is quite fast
>>> (connected via SATA 2.0).
>>>
>>> this is the output of `camcontrol devlist -v`:
>>>
>>> scbus0 on ahcich0 bus 0:
>>> <>                                 at scbus0 target -1 lun -1 ()
>>> scbus1 on ahcich1 bus 0:
>>> <>                                 at scbus1 target -1 lun -1 ()
>>> scbus2 on ata2 bus 0:
>>>     at scbus2 target 0 lun 0
>>> (cd0,pass0)
>>> <>                                 at scbus2 target -1 lun -1 ()
>>> scbus3 on ahcich2 bus 0:
>>>          at scbus3 target 0 lun 0
>>> (ada0,pass1)
>>> <>                                 at scbus3 target -1 lun -1 ()
>>> scbus4 on ahcich3 bus 0:
>>> <>                                 at scbus4 target -1 lun -1 ()
>>> scbus5 on ahcich4 bus 0:
>>> <>                                 at scbus5 target -1 lun -1 ()
>>> scbus6 on ahcich5 bus 0:
>>> <>                                 at scbus6 target -1 lun -1 ()
>>> scbus7 on ahcich6 bus 0:
>>> <>                                 at scbus7 target -1 lun -1 ()
>>> scbus8 on ahcich7 bus 0:
>>> <>                                 at scbus8 target -1 lun -1 ()
>>> scbus-1 on xpt0 bus 0:
>>> <>                                 at scbus-1 target -1 lun -1 (xpt0)
>>>
>>> as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
>>> ada0 is SATA). the PATA and SATA controllers are:
>>>
>>> atapci0:  port
>>> 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
>>> irq 16 at device 0.1 on pci3
>>>
>>> ahci0:  mem 0xf800-0xf8001fff
>>> irq 19 at device 0.0 on pci3
>>
>> sorry for the wrong information. just realized my HDD is connected to
>> the intel controller!
>>
>>>
>>> this is the output of `growisofs`:
>>>
>>> Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
>>> /dev/pass0: "Current Write Speed" is 16.4x1352KBps.
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU
>>> 0.0%
>>>    1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU
>>>   2.9%
>>>    1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU
>>> 100.0%
>>>   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU
>>> 100.0%
>>>   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU
>>> 100.0%
>>>   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU
>>> 100.0%
>>>  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU
>>>  97.1%
>>>  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU
>>>  97.1%
>>>  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU
>>> 100.0%
>>>  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU
>>> 100.0%
>>>  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU
>>> 100.0%
>>>  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU
>>> 100.0%
>>>  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU
>>> 100.0%
>>>  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU
>>> 100.0%
>>>  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU
>>> 100.0%
>>>  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU
>>> 100.0%
>>>  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU
>>>  97.1%
>>>  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU
>>>  97.1%
>>>  574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU  99.7% UBU
>>> 100.0%
>>>  61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU  99.9% UBU
>>

Re: libSM Configure Script Failure

2010-07-14 Thread Chris Maness
On Wed, Jul 14, 2010 at 1:45 PM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Maness wrote:
>> On Wed, Jul 14, 2010 at 12:42 PM, Chris Maness  wrote:
>>> On Wed, Jul 14, 2010 at 12:41 PM, Greg Larkin  wrote:
>> Chris Maness wrote:
>> On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin  
>> wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.

 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

>>> Hi Chris,
>>>
>>> Since we've been conversing privately for a bit, I went back to your
>>> original message and found something that might benefit you and the list
>>> as a whole, if someone else runs into this problem.
>>>
>>> I see this error message:
>>>
>>> ...
>>> ...
>>> configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
>>> suspicious cache-id, must contain _cv_ to be cached
>>> ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
>>> ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
>>> /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
>>> expanded from...
>>> /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
>>> is expanded from...
>>> /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
>>> expanded from...
>>> ...
>>> ...
>>>
>>> Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
>>> emailed me privately with the list of your installed packages, and you
>>> have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
>>> with that version of libtool, so please post the output of this command:
>>>
>>> pkg_which /usr/local/share/aclocal/libtool15.m4
>>>
>>> Thank you,
>>> Greg
>> It just returned a ?.  So does that mean that it is not referenced by
>> any package?  If it is not, can I just delete it?  Also, this seems to
>> be the issue with libX11.  Someone gave me a similar response for
>> libX11 on the X11 list.  However, they have not gotten back to me on
>> what I should do with it.
>>
>> Thanks,
>> Chris Maness
>> Yes, I believe you can safely delete it.  Just to be 100% sure, rename
>> it temporarily, and then try the build again.  It should also fix the
>> libX11 issue.
>>
>> Regards,
>> Greg


>>> It made it past the hang up ;o)
>>>
>>> Thanks,
>>> Chris Maness
>>>
>
>> It is all working now.  I am forcing a rebuild of all downstream deps
>> for libX11.  Is libSM down stream from libX11 as well?  Hopefully
>> after that is done I can get virtualbox-ose to compile.
>
>> Thanks,
>> Chris Maness
>
> Hi Chris,
>
> Good news!  Try pkg_info to find up- and downstream dependencies for libX11:
>
> pkg_info -r libX11-\*  # Upstream
> pkg_info -R libX11-\*  # Downstream
>
> It doesn't look like libX11 and libSM depend on each other on my machine.
>
> Regards,
> Greg
> - --
> Greg Larkin

It looks like they are not directly related to one another.  I guess
my machine will have to huff and puff on those deps too.

Thanks for all the help,
Chris Maness
___
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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
> On Wed, Jul 14, 2010 at 12:42 PM, Chris Maness  wrote:
>> On Wed, Jul 14, 2010 at 12:41 PM, Greg Larkin  wrote:
> Chris Maness wrote:
> On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Chris Maness wrote:
>>> What would cause a configure script to fail?  See output bellow.
>>>
>>> Chris Maness
>>> (909) 223-9179
>>> http://www.chrismaness.com
>>>
>> Hi Chris,
>>
>> Since we've been conversing privately for a bit, I went back to your
>> original message and found something that might benefit you and the list
>> as a whole, if someone else runs into this problem.
>>
>> I see this error message:
>>
>> ...
>> ...
>> configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
>> suspicious cache-id, must contain _cv_ to be cached
>> ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
>> ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
>> /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
>> expanded from...
>> /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
>> is expanded from...
>> /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
>> expanded from...
>> ...
>> ...
>>
>> Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
>> emailed me privately with the list of your installed packages, and you
>> have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
>> with that version of libtool, so please post the output of this command:
>>
>> pkg_which /usr/local/share/aclocal/libtool15.m4
>>
>> Thank you,
>> Greg
> It just returned a ?.  So does that mean that it is not referenced by
> any package?  If it is not, can I just delete it?  Also, this seems to
> be the issue with libX11.  Someone gave me a similar response for
> libX11 on the X11 list.  However, they have not gotten back to me on
> what I should do with it.
>
> Thanks,
> Chris Maness
> Yes, I believe you can safely delete it.  Just to be 100% sure, rename
> it temporarily, and then try the build again.  It should also fix the
> libX11 issue.
> 
> Regards,
> Greg
>>>
>>>
>> It made it past the hang up ;o)
>>
>> Thanks,
>> Chris Maness
>>

> It is all working now.  I am forcing a rebuild of all downstream deps
> for libX11.  Is libSM down stream from libX11 as well?  Hopefully
> after that is done I can get virtualbox-ose to compile.

> Thanks,
> Chris Maness

Hi Chris,

Good news!  Try pkg_info to find up- and downstream dependencies for libX11:

pkg_info -r libX11-\*  # Upstream
pkg_info -R libX11-\*  # Downstream

It doesn't look like libX11 and libSM depend on each other on my machine.

Regards,
Greg
- --
Greg Larkin

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

iD8DBQFMPiHh0sRouByUApARAmStAJ0U86k1yHlstVVlCZ+6ZMQLWZc/QgCfWSe+
fBSgkQ/aMElvotqDmTkOcJ8=
=UnUp
-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"


Sata Tape Drives

2010-07-14 Thread Michael Anderson

Hello,

I'm looking to replace a busted tape drive with a Quantum DLT SATA  
drive. Is this supported?


Thanks!

--
Michael Anderson
IT Services & Support

elego Software Solutions GmbH
Gustav-Meyer-Allee 25
Building 12.3 (BIG) room 227
13355 Berlin, Germany

phone +49 30 23 45 86 96  michael.anderson at elegosoft.com
fax   +49 30 23 45 86 95  http://www.elegosoft.com

Geschaeftsfuehrer: Olaf Wagner, Sitz Berlin
Amtsgericht Berlin-Charlottenburg, HRB 77719, USt-IdNr: DE163214194


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


Re: Help with "ezjail-admin create" command

2010-07-14 Thread Peter Boosten

On 14 jul 2010, at 22:18, Ed Flecko wrote:

> Peter,
> I don't quite understand what you mean "I think you're better off
> creating a fresh jail, and install apache via the ports collection.
> for the templates to work you need to specify all dependencies by
> hand."
> 


> Are you suggesting NOT using ezjail?


No, that's not what I'm suggesting. from the start:

first thing is to create the base:

(one time)
ezjail-admin update -P -i

After reconfiguring the services on the host machine (one time), you can add an 
alias to your existing ip address (see ifconfig how to to that)

then create a jail:
ezjail-admin create  

assuming your ezjail.conf is oke. replace hostname with a name you want to 
identify the jail with, and the ipaddress should be replaced by the alias ip 
address in the previous step.

You will then have a good jail. You can start this jail with 
/usr/local/etc/rc.d/ezjail.sh onestart (or start, if you edited /etc/rc.conf) 
and access the running jail with:

ezjail-admin console 

after that you go to the ports collection and install apache, including all its 
dependencies (which are a lot)

cd /usr/ports/www/apache22
make all install clean

jsut like you would do on a non-jailed machine.



> Or do you mean just install
> Apache into a jail (created by ezjail) and don't worry about creating
> a "template" like this website shows? How would I do that? I'm new to
> the whole "jail" thing so it's a little confusing. I like the idea of
> using the ezjail, because is seems more "idiot proof" for a relative
> newbie.

ezjail is good.

> 
> :-)
> 
> Also, what do you mean "for the templates to work you need to specify
> all dependencies by hand"? I'm not stuck on following this website,
> but IF the steps are fairly accurate, it seems to be a good roadmap
> and it doesn't mention anything about specifying any dependencies by
> hand.


That's what I read from the creators website:

The default flavour demonstrates how to pkg_add some prefetched packages. Since 
no remote fetching of missing packages is requested, you need to provide all 
package dependencies yourself. 


-- 
Peter Boosten
http://www.boosten.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: Help with "ezjail-admin create" command

2010-07-14 Thread Ed Flecko
Peter,
I don't quite understand what you mean "I think you're better off
creating a fresh jail, and install apache via the ports collection.
for the templates to work you need to specify all dependencies by
hand."

Are you suggesting NOT using ezjail? Or do you mean just install
Apache into a jail (created by ezjail) and don't worry about creating
a "template" like this website shows? How would I do that? I'm new to
the whole "jail" thing so it's a little confusing. I like the idea of
using the ezjail, because is seems more "idiot proof" for a relative
newbie.

:-)

Also, what do you mean "for the templates to work you need to specify
all dependencies by hand"? I'm not stuck on following this website,
but IF the steps are fairly accurate, it seems to be a good roadmap
and it doesn't mention anything about specifying any dependencies by
hand.

Comments?

Thank you,
Ed
___
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"


Quantum DLT SATA tape drive

2010-07-14 Thread alpha-lemming
Hello,

I'm looking to replace a busted tape ATA DAT drive with a Quantum DLT SATA 
drive. Is this supported?

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


Re: libSM Configure Script Failure

2010-07-14 Thread Chris Maness
On Wed, Jul 14, 2010 at 12:42 PM, Chris Maness  wrote:
> On Wed, Jul 14, 2010 at 12:41 PM, Greg Larkin  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Chris Maness wrote:
>>> On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin  wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Chris Maness wrote:
> What would cause a configure script to fail?  See output bellow.
>
> Chris Maness
> (909) 223-9179
> http://www.chrismaness.com
>
 Hi Chris,

 Since we've been conversing privately for a bit, I went back to your
 original message and found something that might benefit you and the list
 as a whole, if someone else runs into this problem.

 I see this error message:

 ...
 ...
 configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
 suspicious cache-id, must contain _cv_ to be cached
 ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
 ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
 /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
 expanded from...
 /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
 is expanded from...
 /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
 expanded from...
 ...
 ...

 Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
 emailed me privately with the list of your installed packages, and you
 have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
 with that version of libtool, so please post the output of this command:

 pkg_which /usr/local/share/aclocal/libtool15.m4

 Thank you,
 Greg
>>>
>>> It just returned a ?.  So does that mean that it is not referenced by
>>> any package?  If it is not, can I just delete it?  Also, this seems to
>>> be the issue with libX11.  Someone gave me a similar response for
>>> libX11 on the X11 list.  However, they have not gotten back to me on
>>> what I should do with it.
>>>
>>> Thanks,
>>> Chris Maness
>>
>> Yes, I believe you can safely delete it.  Just to be 100% sure, rename
>> it temporarily, and then try the build again.  It should also fix the
>> libX11 issue.
>>
>> Regards,
>> Greg
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.7 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iD8DBQFMPhLP0sRouByUApARApp8AJ4tN38JkCTOe+JoMc7e0kiz93HCzACfVHph
>> c0JKvpDEIBPvF9rTxtdTnaQ=
>> =V1Sb
>> -END PGP SIGNATURE-
>>
>>
>
> It made it past the hang up ;o)
>
> Thanks,
> Chris Maness
>

It is all working now.  I am forcing a rebuild of all downstream deps
for libX11.  Is libSM down stream from libX11 as well?  Hopefully
after that is done I can get virtualbox-ose to compile.

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


Re: Help with "ezjail-admin create" command

2010-07-14 Thread Peter Boosten

On 14 jul 2010, at 21:49, Ed Flecko wrote:

> Hi folks,
> I've found a website ( http://wiki.freebsd.org/AppserverJailsHOWTO )
> with a tutorial that steps me through most if what I'm trying to
> set-up; I'm trying to use ezjail to set up the latest version of
> Apache with my website. I've carefully followed the steps, and the
> only step that I've found that seems to be wrong is the author's
> reference to "default" which doesn't seem to exist; it's actually
> "example" so I've changed my commands accordingly.
> 
> I'm confused about the "ezjail-admin create" command.
> 
> When I installed FreeBSD, I set up a partition called "www", because I
> thought it might be easier for me to backup all of my web sites, etc.,
> and it's easier for me to remember where I installed Apache.
> 
> I've modified my ezjail.conf file and the ezjail_jaildir line to read:
> ezjail_jaildir=/www/jails
> 
> When I issue this command:
> 
> ezjail-admin create -f example apache 192.168.225.128
> 
> I get this error:
> 
> find: /www/jails/apache/pkg/: no such file or directory
> Note: Shell scripts for flavour example installed, flavourizing on
> jails first startup.


I think you're better off creating a fresh jail, and install apache via the 
ports collection. for the templates to work you need to specify all 
dependencies by hand.

> 
> It also throws an error about "some services already seem to be
> listening on IP 192.168.225.128"
> 
> 1.) What did I screw up? This isn't normal, is it?

This is a normal thing. By default services on FreeBSD listen on all 
interfaces, and since jails use an alias on an existing interface, it'll listen 
on that as well. You will need to change the configurations of the services on 
the host for at least all services you will run on the jail as well (so if your 
host runs apache, you'll need to reconfigure apache to listen only on one IP 
address, or have apache in the jail listen on another port than 80). Same goes 
for sshd and other services.

> 
> 2.) When using the "ezjail-admin create" command, the IP address that
> I'm passing is supposed to be the IP address of the HOST machine
> (because it has the "basejail", right?), isn't it?

No, the IP address the jail will have (but you have to create an alias on the 
host to that IP address)

> 
> 3.) When I type:  find / -name apache
> 
> I get:
> 
> /usr/local/etc/ezjail/apache and /www/jails/apache
> 
> Does the ezjail program create TWO instances of what will be my
> "jailed" Apache? Why does it do that? Did I goof something else up, or
> is that "normal"?


Those are probably symlinks...

Peter
-- 
Peter Boosten
http://www.boosten.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: login.conf: passwordtime not enforced?

2010-07-14 Thread Fernan Aguero
On Wed, Jul 14, 2010 at 1:25 PM, b. f.  wrote:
> On 7/14/10, Fernan Aguero  wrote:
>> On Tue, Jul 13, 2010 at 10:19 PM, b. f.  wrote:
>
>> I'm sorry about that. My apologies. I just assumed that you assumed
>> that I was doing the right thing(TM). :)
>
> That would be a very bad assumption to make, when attempting to track
> down a problem.
> ...

Right, I thought it was simpler than it really is ... this is getting scary.



>>> Next time you make a change like this, test it with a short expiration
>>> time (a minute or
>>> two, say) on a non-critical account to see if works instead of waiting
>>> three months to discover that it does not.
>>
>> I usually assume that the docs are correct, and don't go about
>> checking and re-checking that everything works as expected ... unless
>> not for these trivial config tweaks. Of course I've checked that the
>> newly created passwords (now using blf instead of md5) worked, but I
>> just assumed that the rest of the config settings for this login class
>> didn't require further checking ... if the blf change worked, why not
>> the rest?
>>
>> Do you suggest that I should now go and check if the
>> 'mixpasswordcase', 'minpasswordlen', 'idletime' or the 'umask'
>> settings are honored? I just hope I don't need to ... :)
>
> The docs can be outdated, incomplete, or misinterpreted.  Or your
> system could be misconfigured or broken.  How much time and energy you
> put into your testing is up to you.  If you're serious about security,
> you'll check your changes.  Some of the above-mentioned are fairly
> easy to check.

Right, should have checked before talking ... see below,

>> I just added a new class in login.conf:
>>
>> test:\
>>         :tc=default:\
>>         ::passwordtime=2m:
>>
>> And then added a new user 'testaccount', using adduser(1). I've
>> verified that its login class was OK in /etc/master.passwd (BTW again
>> the 6th field is '0'). And I never got any message about the password
>> being expired, after several succesful login attempts that, obvioulsy,
>> spanned more than 2 minutes.


> Bravo. The above is more of the kind of thing that needs to be done
> when trying to diagnose a problem.  But I think you want:
>  test:\
>    :passwordtime=2m:\
>     :tc=default:
>
> See the default login.conf and getcap(3).

OK, changed this, but got mixed results, see below.

>> Who is responsible for filling in the password expiration time/date in
>> master.passwd, according to the login class config? passwd(1)?
>> adduser(1)? Myself, manually?
>
> The first time you have to change it manually for each account, with
> passwd(1);

Sorry if I'm getting dense but do you mean 'manually' as in editing
master.passwd with vipw?
Or do you really mean 'manually with passwd(1)? My passwd(1) only
allows me to change the user password and even doing this doesn't
update the expiration time in master.passwd. Is there a hidden
functionality in passwd that allows me to set the expiration time for
the password?

BTW, this is on FreeBSD-6.4-p10. And so far all my tests fail to make
passwords expire.

But I just tested the same changes on a recent 7.3-STABLE. And:

i) the first time, passwd(1) doesn't update the expiration time in
master.passwd, I have to enter it manually using vipw
ii) using ssh and trying to log in after the expiration period makes
the system prompt for a new password, with no further explanation
about what's going on, i.e.:

[fer...@localhost] ssh testacco...@otherhost
Password:
New Password:


So, the password is getting expired. However,

iii) the 6th field in master.passwd for this account is reset to '0'
after setting the new password. This happens if I set the new password
as prompted using ssh, or if I run passwd(1) on a terminal. And,

iv) I was able to enter a 5 character password, no mixed case, all
letters, completely ignoring the other settings in the default login
class (minpasswordlen=8, mixpasswordcase=true).

> thereafter pam_unix(8) checks for expiration at login time:
> if a password has expired, you are prompted to change it,

correct in FreeBSD-7.3-STABLE

> and the new password will have the appropriate expiration time.

not in my case.

> It works for me locally, with the default security settings; I've never tried 
> it over
> a remote connection.

which FreeBSD version are you using?

> You may have some configuration settings that
> are causing problems.  Have you tinkered with /etc/pam.d/* ?

No.

> What other configuration changes have you made?

Some mentioned in http://tuxtraining.com/2009/04/26/how-to-harden-freebsd

> After using cap_mkdb, have /etc/pwd.db and /etc/spwd.db changed?  Do they 
> have the right
> timestamps?

After using cap_mkdb on /etc/login.conf, /etc/login.conf.db gets changed, yes.
And after editing master.passwd with vipw, all of /etc/pwd.db,
/etc/spwd.db and /etc/passwd all get changed.

Timestamps are OK and reasonable.

> Does the password change mechanism work properly if you
> are logging in locally, as oppo

Help with "ezjail-admin create" command

2010-07-14 Thread Ed Flecko
Hi folks,
I've found a website ( http://wiki.freebsd.org/AppserverJailsHOWTO )
with a tutorial that steps me through most if what I'm trying to
set-up; I'm trying to use ezjail to set up the latest version of
Apache with my website. I've carefully followed the steps, and the
only step that I've found that seems to be wrong is the author's
reference to "default" which doesn't seem to exist; it's actually
"example" so I've changed my commands accordingly.

I'm confused about the "ezjail-admin create" command.

When I installed FreeBSD, I set up a partition called "www", because I
thought it might be easier for me to backup all of my web sites, etc.,
and it's easier for me to remember where I installed Apache.

I've modified my ezjail.conf file and the ezjail_jaildir line to read:
ezjail_jaildir=/www/jails

When I issue this command:

ezjail-admin create -f example apache 192.168.225.128

I get this error:

find: /www/jails/apache/pkg/: no such file or directory
Note: Shell scripts for flavour example installed, flavourizing on
jails first startup.

It also throws an error about "some services already seem to be
listening on IP 192.168.225.128"

1.) What did I screw up? This isn't normal, is it?

2.) When using the "ezjail-admin create" command, the IP address that
I'm passing is supposed to be the IP address of the HOST machine
(because it has the "basejail", right?), isn't it?

3.) When I type:  find / -name apache

I get:

/usr/local/etc/ezjail/apache and /www/jails/apache

Does the ezjail program create TWO instances of what will be my
"jailed" Apache? Why does it do that? Did I goof something else up, or
is that "normal"?

Suggestions???

Thank you,
Ed
___
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: libSM Configure Script Failure

2010-07-14 Thread Chris Maness
On Wed, Jul 14, 2010 at 12:41 PM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Maness wrote:
>> On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin  wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.

 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

>>> Hi Chris,
>>>
>>> Since we've been conversing privately for a bit, I went back to your
>>> original message and found something that might benefit you and the list
>>> as a whole, if someone else runs into this problem.
>>>
>>> I see this error message:
>>>
>>> ...
>>> ...
>>> configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
>>> suspicious cache-id, must contain _cv_ to be cached
>>> ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
>>> ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
>>> /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
>>> expanded from...
>>> /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
>>> is expanded from...
>>> /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
>>> expanded from...
>>> ...
>>> ...
>>>
>>> Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
>>> emailed me privately with the list of your installed packages, and you
>>> have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
>>> with that version of libtool, so please post the output of this command:
>>>
>>> pkg_which /usr/local/share/aclocal/libtool15.m4
>>>
>>> Thank you,
>>> Greg
>>
>> It just returned a ?.  So does that mean that it is not referenced by
>> any package?  If it is not, can I just delete it?  Also, this seems to
>> be the issue with libX11.  Someone gave me a similar response for
>> libX11 on the X11 list.  However, they have not gotten back to me on
>> what I should do with it.
>>
>> Thanks,
>> Chris Maness
>
> Yes, I believe you can safely delete it.  Just to be 100% sure, rename
> it temporarily, and then try the build again.  It should also fix the
> libX11 issue.
>
> Regards,
> Greg
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFMPhLP0sRouByUApARApp8AJ4tN38JkCTOe+JoMc7e0kiz93HCzACfVHph
> c0JKvpDEIBPvF9rTxtdTnaQ=
> =V1Sb
> -END PGP SIGNATURE-
>
>

It made it past the hang up ;o)

Thanks,
Chris Maness
___
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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
> On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Chris Maness wrote:
>>> What would cause a configure script to fail?  See output bellow.
>>>
>>> Chris Maness
>>> (909) 223-9179
>>> http://www.chrismaness.com
>>>
>> Hi Chris,
>>
>> Since we've been conversing privately for a bit, I went back to your
>> original message and found something that might benefit you and the list
>> as a whole, if someone else runs into this problem.
>>
>> I see this error message:
>>
>> ...
>> ...
>> configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
>> suspicious cache-id, must contain _cv_ to be cached
>> ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
>> ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
>> /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
>> expanded from...
>> /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
>> is expanded from...
>> /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
>> expanded from...
>> ...
>> ...
>>
>> Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
>> emailed me privately with the list of your installed packages, and you
>> have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
>> with that version of libtool, so please post the output of this command:
>>
>> pkg_which /usr/local/share/aclocal/libtool15.m4
>>
>> Thank you,
>> Greg
> 
> It just returned a ?.  So does that mean that it is not referenced by
> any package?  If it is not, can I just delete it?  Also, this seems to
> be the issue with libX11.  Someone gave me a similar response for
> libX11 on the X11 list.  However, they have not gotten back to me on
> what I should do with it.
> 
> Thanks,
> Chris Maness

Yes, I believe you can safely delete it.  Just to be 100% sure, rename
it temporarily, and then try the build again.  It should also fix the
libX11 issue.

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMPhLP0sRouByUApARApp8AJ4tN38JkCTOe+JoMc7e0kiz93HCzACfVHph
c0JKvpDEIBPvF9rTxtdTnaQ=
=V1Sb
-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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greg Larkin wrote:
> Chris Maness wrote:
>> What would cause a configure script to fail?  See output bellow.
> 
>> Chris Maness
>> (909) 223-9179
>> http://www.chrismaness.com
> 
> 
> Hi Chris,
> 
> Since we've been conversing privately for a bit, I went back to your
> original message and found something that might benefit you and the list
> as a whole, if someone else runs into this problem.
> 
> I see this error message:
> 
> ...
> ...
> configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
> suspicious cache-id, must contain _cv_ to be cached
> ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
> ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
> /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
> expanded from...
> /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
> is expanded from...
> /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
> expanded from...
> ...
> ...
> 
> Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
> emailed me privately with the list of your installed packages, and you
> have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
> with that version of libtool, so please post the output of this command:
> 
> pkg_which /usr/local/share/aclocal/libtool15.m4
> 
> Thank you,
> Greg

To complete the circle, I finally found these postings that describe the
problem and the solution, in case anyone else runs into this:

http://groups.google.com/group/muc.lists.freebsd.ports/browse_thread/thread/57a734d1196f30ef/2170682ff163b273?lnk=raot
http://lists.freebsd.org/pipermail/freebsd-x11/2009-August/008751.html

The likely cause was an incorrect pkg-plist file in the libtool15 port
at one time, and some files were not removed during the
libtool15->libtool22 upgrade.

Hope that helps,
Greg
- --
Greg Larkin

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

iD8DBQFMPhJA0sRouByUApARAqG4AKCR2RMpVgRJpfvZIxsKOOygxKl2EgCfeVPx
2GicbmOFhGMuAoN5rBdwNRc=
=AM1v
-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: libSM Configure Script Failure

2010-07-14 Thread Chris Maness
On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Maness wrote:
>> What would cause a configure script to fail?  See output bellow.
>>
>> Chris Maness
>> (909) 223-9179
>> http://www.chrismaness.com
>>
>
> Hi Chris,
>
> Since we've been conversing privately for a bit, I went back to your
> original message and found something that might benefit you and the list
> as a whole, if someone else runs into this problem.
>
> I see this error message:
>
> ...
> ...
> configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
> suspicious cache-id, must contain _cv_ to be cached
> ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
> ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
> /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
> expanded from...
> /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
> is expanded from...
> /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
> expanded from...
> ...
> ...
>
> Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
> emailed me privately with the list of your installed packages, and you
> have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
> with that version of libtool, so please post the output of this command:
>
> pkg_which /usr/local/share/aclocal/libtool15.m4
>
> Thank you,
> Greg

It just returned a ?.  So does that mean that it is not referenced by
any package?  If it is not, can I just delete it?  Also, this seems to
be the issue with libX11.  Someone gave me a similar response for
libX11 on the X11 list.  However, they have not gotten back to me on
what I should do with it.

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


Re: FreeBSD vs YouTube

2010-07-14 Thread Chris Whitehouse

Warren Block wrote:

On Wed, 14 Jul 2010, paul wrote:

Is it possible to watch youtube on a FreeBSD system ? And if it is, 
someone would be so kind to guide me to a FAQ / Article / wiki / or 
tell me how to do it ?


Yes: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html#MOZ-FLASH-PLUGIN 


Running fine here on 8.0-RELEASE. I would recommend installing 
flashblock http://flashblock.mozdev.org/ once you have got it working.


Chris

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


Re: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
> What would cause a configure script to fail?  See output bellow.
> 
> Chris Maness
> (909) 223-9179
> http://www.chrismaness.com
> 

Hi Chris,

Since we've been conversing privately for a bit, I went back to your
original message and found something that might benefit you and the list
as a whole, if someone else runs into this problem.

I see this error message:

...
...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
/usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
expanded from...
/usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
is expanded from...
/usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
expanded from...
...
...

Notice the pathname "/usr/local/share/aclocal/libtool15.m4".  You
emailed me privately with the list of your installed packages, and you
have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
with that version of libtool, so please post the output of this command:

pkg_which /usr/local/share/aclocal/libtool15.m4

Thank you,
Greg
- --
Greg Larkin

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

iD8DBQFMPhAu0sRouByUApARAsUiAJ9FcXm5VaXuSTOG5Ypweg3Mq0gnoQCghzuG
iJUiUN8Tm71XCFbKu6SvHPA=
=Jyyp
-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: FreeBSD vs YouTube

2010-07-14 Thread Warren Block

On Wed, 14 Jul 2010, paul wrote:

Is it possible to watch youtube on a FreeBSD system ? And if it is, 
someone would be so kind to guide me to a FAQ / Article / wiki / or 
tell me how to do it ?


Yes: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html#MOZ-FLASH-PLUGIN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD vs YouTube

2010-07-14 Thread Polytropon
On Wed, 14 Jul 2010 20:06:14 +0300, Odhiambo Washington  
wrote:
> Is this the same way the Linux users have it?:-)

I don't think so. The Linux "Flash" plugin seems to work better on
Linux than it does on FreeBSD. Linux, as well as OpenSolaris, is
a platform with better support, so I think the regular way on using
"Flash" stuff on Linux is to have this plugin installed for Firefox.
As I'm not a regular Linux user, I can't be sure, but at least that's
my opinion. :-)


-- 
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: FreeBSD vs YouTube

2010-07-14 Thread b. f.
>I'm pretty new to this mailing list, and FreeBSD, in the last 2 weeks i was 
>trying to use
>FreeBSD as alternative to Windows, but i can't make the flash videos work on 
>most of the
>popular flash video sites. I've tried to pkg_add, compile from source, 
>swfdec-plugin,
>gnash on FreeBSD 7.3 and 8.1 ... but nothing worked, i can use mplayer to play 
>movies
>so this shouldn't be a problem, when i use swfdec, there are some unhandled 
>event
>(usually unhandled event 19) and sometimes can't write to a 
>$HOME/.config/filename file,
>and with gnash i see an error occurred, please try again later message on the 
>site. I've
>tried googling but most of the articles i found seemed outdated. So finally i 
>came here
>with the question: Is it possible to watch youtube on a FreeBSD system ? And 
>if it is,
>someone would be so kind to guide me to a FAQ / Article / wiki /

The open-source alternatives are improving, but for the moment, you
may have to use

www/linux-f10-flashplugin10

(or an earlier version) for Flash.  That means you'll have to enable
Linux emulation.  See Chapter 10 of the Handbook for details.  Or you
could bypass the Flash requirements of some sites, with one or more
of:

multimedia/cclive
multimedia/clive
multimedia/clive-utils
www/youtube_dl


There is hope for the future:

http://www.youtube.com/html5

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"


FreeBSD vs YouTube

2010-07-14 Thread Robert Huff

paul writes:

>  So finally i came here with the question: Is it possible
>  to watch youtube on a FreeBSD system ?

Yes.
I have it running on 

FreeBSD 9.0-CURRENT #0: Fri Apr 23 11:34:17 EDT 2010 amd64 

>  And if it is, someone would be so kind to guide me to a FAQ /
>  Article / wiki / or tell me how to do it ?

AS far as I know, there is no stand-alone player.  
Foe use with SeaMonkey (and presumably FireFox), the magic
components are:

huff@>> dir /var/db/pkg | grep flas
drwxr-xr-x2 root  wheel   512 Jun 16 07:45 linux-f10-flashplugin-10.1r53
huff@>> dir /var/db/pkg | grep splug
drwxr-xr-x2 root  wheel   512 Jul  2 07:59 nspluginwrapper-1.2.2_7




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: FreeBSD vs YouTube

2010-07-14 Thread Odhiambo Washington
On Wed, Jul 14, 2010 at 8:01 PM, Polytropon  wrote:

> On Wed, 14 Jul 2010 18:26:02 +0200 (CEST), paul  wrote:
> > Hy
> > I'm pretty new to this mailing list, and FreeBSD, in the last
> > 2 weeks i was trying to use FreeBSD as alternative to Windows,
> > but i can't make the flash videos work on most of the popular
> > flash video sites.
>
> Oh... "Flash" video, the purpose of "Windows"... :-)
>
>
>
> > I've tried to pkg_add, compile from source, swfdec-plugin,
> > gnash on FreeBSD 7.3 and 8.1 ... but nothing worked,
>
> Have a look here:
>
> http://www.freebsd.org/doc/en/books/handbook/desktop-browsers.html
>
> See 6.2.3 - "Firefox and Macromedia® Flash™ Plugin". I had such
> a setup working on FreeBSD 7, but due to the fact that the web
> is much more annoying with "Flash", I wiped it off the disk very
> soon. But this setting should work.
>
> There are other ideas, such as using wine and a "Windows" based
> browser and plugin.
>
>
>
> > i can use mplayer to play movies so this shouldn't be a problem,
>
> You can use mplayer together with the program youtube-dl. It will
> download "Flash" video in swf format (or avi if -a is given).
>
>
>
> > when i use swfdec, there are some unhandled event (usually
> > unhandled event 19) and sometimes can't write to a
> > $HOME/.config/filename file,
>
> I never was lucky using swfdec...
>
>
>
> > and with gnash i see an error occurred, please try again later
> > message on the site.
>
> I don't think gnash is sufficiently developed.
>
>
>
> > I've tried googling but most of the articles i found seemed outdated.
> > So finally i came here with the question: Is it possible to watch
> > youtube on a FreeBSD system ? And if it is, someone would be so kind
> > to guide me to a FAQ / Article / wiki / or tell me how to do it ?
>
> As I said, if it's just youtube, use youtube-dl and mplayer. It
> works *perfectly*.
>
>
>

Is this the same way the Linux users have it?:-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
   -- Lucky Dube
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD vs YouTube

2010-07-14 Thread Brian Callahan
Depends on how you want to do it. You can use www/youtube_dl to get the
movies, then watch on your player of choice. Or if you really want to watch
in a browser can go to youtube.com/html5 and sign up for the HTML5 beta.
Then on a (very) modern browser, any videos with HTML5 will work.
Unfortunately, videos done in just HTML5 will have no sound but ones with
HTML5 + WebM will have sound. I believe that the HTML5 + WebM for the moment
is only available on HD movies.
A word of caution though: the HTML5 youtube will only work well on
high-powered computers, so don't expect it to work well/at all on older
hardware.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD vs YouTube

2010-07-14 Thread Polytropon
On Wed, 14 Jul 2010 18:26:02 +0200 (CEST), paul  wrote:
> Hy
> I'm pretty new to this mailing list, and FreeBSD, in the last
> 2 weeks i was trying to use FreeBSD as alternative to Windows,
> but i can't make the flash videos work on most of the popular
> flash video sites.

Oh... "Flash" video, the purpose of "Windows"... :-)



> I've tried to pkg_add, compile from source, swfdec-plugin,
> gnash on FreeBSD 7.3 and 8.1 ... but nothing worked,

Have a look here:

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

See 6.2.3 - "Firefox and Macromedia® Flash™ Plugin". I had such
a setup working on FreeBSD 7, but due to the fact that the web 
is much more annoying with "Flash", I wiped it off the disk very
soon. But this setting should work.

There are other ideas, such as using wine and a "Windows" based
browser and plugin.



> i can use mplayer to play movies so this shouldn't be a problem,

You can use mplayer together with the program youtube-dl. It will
download "Flash" video in swf format (or avi if -a is given).



> when i use swfdec, there are some unhandled event (usually
> unhandled event 19) and sometimes can't write to a
> $HOME/.config/filename file,

I never was lucky using swfdec...



> and with gnash i see an error occurred, please try again later
> message on the site.

I don't think gnash is sufficiently developed.



> I've tried googling but most of the articles i found seemed outdated.
> So finally i came here with the question: Is it possible to watch
> youtube on a FreeBSD system ? And if it is, someone would be so kind
> to guide me to a FAQ / Article / wiki / or tell me how to do it ?

As I said, if it's just youtube, use youtube-dl and mplayer. It
works *perfectly*.




-- 
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: libSM Configure Script Failure

2010-07-14 Thread Chris Maness
On Wed, Jul 14, 2010 at 9:51 AM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Maness wrote:
>> What would cause a configure script to fail?  See output bellow.
>>
>> Chris Maness
>> (909) 223-9179
>> http://www.chrismaness.com
>
> Hi Chris,
>
> Please post a link to the configure and config.log files from your work
> directory somewhere, and that will help someone troubleshoot the problem.
>
> Thank you,
> Greg
> - --
> Greg Larkin
>

Here they are:

http://chrismaness.com/backend/config.log
http://chrismaness.com/backend/configure
___
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 vs YouTube

2010-07-14 Thread paul
Hy
I'm pretty new to this mailing list, and FreeBSD, in the last 2 weeks i was 
trying to use FreeBSD as alternative to Windows, but i can't make the flash 
videos work on most of the popular flash video sites. I've tried to pkg_add, 
compile from source, swfdec-plugin, gnash on FreeBSD 7.3 and 8.1 ... but 
nothing worked, i can use mplayer to play movies so this shouldn't be a 
problem, when i use swfdec, there are some unhandled event (usually unhandled 
event 19) and sometimes can't write to a $HOME/.config/filename file, and with 
gnash i see an error occurred, please try again later message on the site. I've 
tried googling but most of the articles i found seemed outdated. So finally i 
came here with the question: Is it possible to watch youtube on a FreeBSD 
system ? And if it is, someone would be so kind to guide me to a FAQ / Article 
/ wiki / or tell me how to do it ?

paul

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


Re: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
> What would cause a configure script to fail?  See output bellow.
> 
> Chris Maness
> (909) 223-9179
> http://www.chrismaness.com

Hi Chris,

Please post a link to the configure and config.log files from your work
directory somewhere, and that will help someone troubleshoot the problem.

Thank you,
Greg
- --
Greg Larkin

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

iD8DBQFMPer+0sRouByUApARAkfoAKCY1c/sGacLtiQbELtMWwnW6cuWygCfVcn/
nbVHX3ugYZk2c5YYUVY9/j8=
=aV7e
-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: Dell SAS5/IR

2010-07-14 Thread Adam Vande More
On Wed, Jul 14, 2010 at 7:29 AM, Grant Peel  wrote:

>
> I have seen some scuttlebutt white googling, about the SAS5/IR buuffer
> problems, but have not seen a resolution yet.
>

I looked some more and it looks like that issue can also be caused by a
faulty drive, maybe even a bad cable.  Have you looked into that?



-- 
Adam Vande More
___
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: login.conf: passwordtime not enforced?

2010-07-14 Thread b. f.
On 7/14/10, Fernan Aguero  wrote:
> On Tue, Jul 13, 2010 at 10:19 PM, b. f.  wrote:

> I'm sorry about that. My apologies. I just assumed that you assumed
> that I was doing the right thing(TM). :)

That would be a very bad assumption to make, when attempting to track
down a problem.

...

>> and check the sixth colon-delimited field in /etc/master.passwd with 'date
>> -r' for each account changed, to see if
>> the appropriate expiration date was registered?
>
> I don't quite get what 'date -r' does here ... but yes I've checked
> the 6th field in /etc/master.passwd, all accounts (regular users and
> system accounts) have a '0' in that field.

It transforms the password expiration time to a more convenient
format, for those of us who aren't counting machines.  A 0 in the
sixth field indicates that there is no expiration time, and something
is wrong.

>> Next time you make a change like this, test it with a short expiration
>> time (a minute or
>> two, say) on a non-critical account to see if works instead of waiting
>> three months to discover that it does not.
>
> I usually assume that the docs are correct, and don't go about
> checking and re-checking that everything works as expected ... unless
> not for these trivial config tweaks. Of course I've checked that the
> newly created passwords (now using blf instead of md5) worked, but I
> just assumed that the rest of the config settings for this login class
> didn't require further checking ... if the blf change worked, why not
> the rest?
>
> Do you suggest that I should now go and check if the
> 'mixpasswordcase', 'minpasswordlen', 'idletime' or the 'umask'
> settings are honored? I just hope I don't need to ... :)

The docs can be outdated, incomplete, or misinterpreted.  Or your
system could be misconfigured or broken.  How much time and energy you
put into your testing is up to you.  If you're serious about security,
you'll check your changes.  Some of the above-mentioned are fairly
easy to check.

> I just added a new class in login.conf:
>
> test:\
> :tc=default:\
> ::passwordtime=2m:
>
> And then added a new user 'testaccount', using adduser(1). I've
> verified that its login class was OK in /etc/master.passwd (BTW again
> the 6th field is '0'). And I never got any message about the password
> being expired, after several succesful login attempts that, obvioulsy,
> spanned more than 2 minutes.
>

Bravo. The above is more of the kind of thing that needs to be done
when trying to diagnose a problem.  But I think you want:
 test:\
:passwordtime=2m:\
 :tc=default:

See the default login.conf and getcap(3).


> Who is responsible for filling in the password expiration time/date in
> master.passwd, according to the login class config? passwd(1)?
> adduser(1)? Myself, manually?

The first time you have to change it manually for each account, with
passwd(1); thereafter pam_unix(8) checks for expiration at login time:
if a password has expired, you are prompted to change it, and the new
password will have the appropriate expiration time.  It works for me
locally, with the default security settings; I've never tried it over
a remote connection.  You may have some configuration settings that
are causing problems.  Have you tinkered with /etc/pam.d/* ? What
other configuration changes have you made? After using cap_mkdb, have
/etc/pwd.db and /etc/spwd.db changed?  Do they have the right
timestamps?  Does the password change mechanism work properly if you
are logging in locally, as opposed to remotely via ssh?  Are your
system clocks keeping the right time?

> and entering that value into the 6th field of /etc/master.passwd. But
> then, I'll have to do this regularly using a script, because,

This shouldn't be necessary.  It would be better to try to find out
what is wrong.

> Is it at all possible to enforce password expiration times in FreeBSD?

Yes.  But it will take some patience to track down your problem.

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"


libSM Configure Script Failure

2010-07-14 Thread Chris Maness

What would cause a configure script to fail?  See output bellow.

Chris Maness
(909) 223-9179
http://www.chrismaness.com===>  License check disabled, port has not defined LICENSE
===>  Extracting for libSM-1.1.1_1,1
=> MD5 Checksum OK for xorg/lib/libSM-1.1.1.tar.bz2.
=> SHA256 Checksum OK for xorg/lib/libSM-1.1.1.tar.bz2.
===>  Patching for libSM-1.1.1_1,1
===>  Applying FreeBSD patches for libSM-1.1.1_1,1
===>   libSM-1.1.1_1,1 depends on file: /usr/local/share/aclocal/xorg-macros.m4 
- found
===>   libSM-1.1.1_1,1 depends on file: /usr/local/libdata/pkgconfig/xtrans.pc 
- found
===>   libSM-1.1.1_1,1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - 
found
===>   libSM-1.1.1_1,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc 
- found
===>   libSM-1.1.1_1,1 depends on file: /usr/local/bin/automake-1.10 - found
===>   libSM-1.1.1_1,1 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   libSM-1.1.1_1,1 depends on package: libtool>=2.2 - found
===>   libSM-1.1.1_1,1 depends on executable: pkg-config - found
===>  Configuring for libSM-1.1.1_1,1
/usr/local/share/aclocal/oaf.m4:4: warning: underquoted definition of 
AM_PATH_OAF
/usr/local/share/aclocal/oaf.m4:4:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/oaf.m4:4:   or see 
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
/usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is 
expanded from...
/usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC is 
expanded from...
/usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is expanded 
from...
/usr/local/share/aclocal/libtool15.m4:2650: AC_LIBTOOL_LANG_C_CONFIG is 
expanded from...
/usr/local/share/aclocal/libtool15.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/local/share/aclocal/libtool15.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/local/share/aclocal/libtool15.m4:25: AC_PROG_LIBTOOL is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/local/share/aclocal/libtool15.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded 
from...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/local/share/aclocal/libtool15.m4:2732: _LT_AC_LANG_CXX_CONFIG is expanded 
from...
/usr/local/share/aclocal/libtool15.m4:2731: AC_LIBTOOL_LANG_CXX_CONFIG is 
expanded from...
/usr/local/share/aclocal/libtool15.m4:1787: _LT_AC_TAGCONFIG is expanded from...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/local/share/aclocal/libtool15.m4:3899: _LT_AC_LANG_F77_CONFIG is expanded 
from...
/usr/local/share/aclocal/libtool15.m4:3898: AC_LIBTOOL_LANG_F77_CONFIG is 
expanded from...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/local/share/aclocal/libtool15.m4:4001: _LT_AC_LANG_GCJ_CONFIG is expanded 
from...
/usr/local/share/aclocal/libtool15.m4:4000: AC_LIBTOOL_LANG_GCJ_CONFIG is 
expanded from...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:1517: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:5705: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:3553: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:3552: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:982: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:962: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:927: AC_PROG_LIBTOOL is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:1562: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3630: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:3629: AC_LIBTOOL_LANG_CXX_

Re: login.conf: passwordtime not enforced?

2010-07-14 Thread Fernan Aguero
On Tue, Jul 13, 2010 at 10:19 PM, b. f.  wrote:
>
> >after reading some docs about hardening freebsd installations, I
> > decided to enforce password expiration after 90days. I've added the
> > corresponding line to /etc/login.conf and ... after quite some time
> > (way more than 3 months already!) nothing happens ...
>
> If you want help, you'll have to be more specific.

Thanks bf1783,

I'm sorry about that. My apologies. I just assumed that you assumed
that I was doing the right thing(TM). :)

> Exactly what changes did you make to login.conf, in what sections?

I've changed only the default login class, and added and/or changed these lines:

:passwd_format=blf:\
:minpasswordlen=8:\
:mixpasswordcase=true:\
:passwordtime=90d:\
:idletime=30:\
:umask=027:


> Did you run 'cap_mkdb /etc/login.conf' afterwards?

Of course I did.

> Did you then reset your account passwords

Of course. Now they all begin with $2a, as expected for blowfish-hashed passwds.

> and check the sixth colon-delimited field in /etc/master.passwd with 'date 
> -r' for each account changed, to see if
> the appropriate expiration date was registered?

I don't quite get what 'date -r' does here ... but yes I've checked
the 6th field in /etc/master.passwd, all accounts (regular users and
system accounts) have a '0' in that field.

> Next time you make a change like this, test it with a short expiration time 
> (a minute or
> two, say) on a non-critical account to see if works instead of waiting
> three months to discover that it does not.

I usually assume that the docs are correct, and don't go about
checking and re-checking that everything works as expected ... unless
not for these trivial config tweaks. Of course I've checked that the
newly created passwords (now using blf instead of md5) worked, but I
just assumed that the rest of the config settings for this login class
didn't require further checking ... if the blf change worked, why not
the rest?

Do you suggest that I should now go and check if the
'mixpasswordcase', 'minpasswordlen', 'idletime' or the 'umask'
settings are honored? I just hope I don't need to ... :)

> > Any ideas on how to enforce this? Do I have to manually use pw(1) every 90 
> > days?
>
> No, you shouldn't have to if you use the feature properly.  You'll be
> prompted immediately after login for a new password if your old one
> has expired.
>
> b.

I just added a new class in login.conf:

test:\
:tc=default:\
::passwordtime=2m:

And then added a new user 'testaccount', using adduser(1). I've
verified that its login class was OK in /etc/master.passwd (BTW again
the 6th field is '0'). And I never got any message about the password
being expired, after several succesful login attempts that, obvioulsy,
spanned more than 2 minutes.

Who is responsible for filling in the password expiration time/date in
master.passwd, according to the login class config? passwd(1)?
adduser(1)? Myself, manually?

I guess this is the question I wanted answered in my first email.

After reading, again the man page for master.passwd(5), saying that
"The expire field is the number of seconds from the epoch, UTC, until
the account expires."

It's now clear to me that

i) I can do it manually, eg. by running something like
%date -j -f "%a %b %d %T %Z %Y" "`date -v+90d`" "+%s"
1286895815
and entering that value into the 6th field of /etc/master.passwd. But
then, I'll have to do this regularly using a script, because,

ii) passwd(1) fails to read the setting in login.conf and then add the
corresponding expiration time (in seconds since the epoch) in
/etc/master.passwd

Unless, of course, I'm missing something ... after setting the
expiration time to
%date -j -f "%a %b %d %T %Z %Y" "`date -v+2M`" "+%s"
1279120340

And then waiting until this time has passed, nothing happens (I'm
logging in remotely using SSH) ... no warning, no refuse to log me in,
nothing.

Is it at all possible to enforce password expiration times in FreeBSD?

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


Re: How can i know if the freebsd kernel need to be updated ?

2010-07-14 Thread Diego Arias
On Wed, Jul 14, 2010 at 8:45 AM, Lowell Gilbert <
freebsd-questions-lo...@be-well.ilk.org> wrote:

> zaxis  writes:
>
> > Now i use the following commands to maintain my freebsd box.
> >
> >>portsnap fetch update
> >>pkg_version -vIL=
> >>portupgrade -R xxx
> >
> > It works great for software installed through ports. However, how can i
> know
> > if the kernel needs to be updated ?
>
> That procedure *only* updates your ports.  Unless you do something else
> to update the base system (e.g., csup or freebsd-update), you won't need
> to update the kernel.
> ___
> 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"
>

Or just use freebsd-update fetch

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


Re: How can i know if the freebsd kernel need to be updated ?

2010-07-14 Thread Lowell Gilbert
zaxis  writes:

> Now i use the following commands to maintain my freebsd box.
>
>>portsnap fetch update
>>pkg_version -vIL=
>>portupgrade -R xxx
>
> It works great for software installed through ports. However, how can i know
> if the kernel needs to be updated ?

That procedure *only* updates your ports.  Unless you do something else
to update the base system (e.g., csup or freebsd-update), you won't need
to update the kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How can i know if the freebsd kernel need to be updated ?

2010-07-14 Thread Polytropon
On Wed, 14 Jul 2010 15:40:28 +0200, Bernt Hansson  wrote:
> zaxis said the following on 2010-07-13 10:12:
> > Now i use the following commands to maintain my freebsd box.
> > 
> >> portsnap fetch update
> >> pkg_version -vIL=
> >> portupgrade -R xxx
> > 
> > It works great for software installed through ports. However, how can i know
> > if the kernel needs to be updated ?
> 
> You can't, unless you subscribe to annou...@freebsd.org and 
> secur...@freebsd.org

There is an alternative way: If you use "make update" (uses csup),
you can easily see it from the messages. If anything related to
/usr/src/sys has a delta -> kernel has been updated. :-)


-- 
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: How can i know if the freebsd kernel need to be updated ?

2010-07-14 Thread Bernt Hansson

zaxis said the following on 2010-07-13 10:12:

Now i use the following commands to maintain my freebsd box.


portsnap fetch update
pkg_version -vIL=
portupgrade -R xxx


It works great for software installed through ports. However, how can i know
if the kernel needs to be updated ?


You can't, unless you subscribe to annou...@freebsd.org and 
secur...@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: buffer starvation when recording DVDs

2010-07-14 Thread Alexander Best
2010/7/14 Paul B Mahol :
> On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best
>  wrote:
>> 2010/7/14 Alexander Best :
>>> hi there,
>>>
>>> my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
>>> maximum speed of 16x. however at speeds of more than ~12x the burner's
>>> buffer get's filled only ~20%. probably that's why the burner's speed
>>> get's reduced by `growisofs` (to prevent buffer starvation?). how can
>>> this happen? the iso i am using lies on my HDD which is quite fast
>>> (connected via SATA 2.0).
>>>
>>> this is the output of `camcontrol devlist -v`:
>>>
>>> scbus0 on ahcich0 bus 0:
>>> <>                                 at scbus0 target -1 lun -1 ()
>>> scbus1 on ahcich1 bus 0:
>>> <>                                 at scbus1 target -1 lun -1 ()
>>> scbus2 on ata2 bus 0:
>>>     at scbus2 target 0 lun 0 (cd0,pass0)
>>> <>                                 at scbus2 target -1 lun -1 ()
>>> scbus3 on ahcich2 bus 0:
>>>          at scbus3 target 0 lun 0 (ada0,pass1)
>>> <>                                 at scbus3 target -1 lun -1 ()
>>> scbus4 on ahcich3 bus 0:
>>> <>                                 at scbus4 target -1 lun -1 ()
>>> scbus5 on ahcich4 bus 0:
>>> <>                                 at scbus5 target -1 lun -1 ()
>>> scbus6 on ahcich5 bus 0:
>>> <>                                 at scbus6 target -1 lun -1 ()
>>> scbus7 on ahcich6 bus 0:
>>> <>                                 at scbus7 target -1 lun -1 ()
>>> scbus8 on ahcich7 bus 0:
>>> <>                                 at scbus8 target -1 lun -1 ()
>>> scbus-1 on xpt0 bus 0:
>>> <>                                 at scbus-1 target -1 lun -1 (xpt0)
>>>
>>> as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
>>> ada0 is SATA). the PATA and SATA controllers are:
>>>
>>> atapci0:  port
>>> 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
>>> irq 16 at device 0.1 on pci3
>>>
>>> ahci0:  mem 0xf800-0xf8001fff
>>> irq 19 at device 0.0 on pci3
>>
>> sorry for the wrong information. just realized my HDD is connected to
>> the intel controller!
>>
>>>
>>> this is the output of `growisofs`:
>>>
>>> Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
>>> /dev/pass0: "Current Write Speed" is 16.4x1352KBps.
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>>    1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU   2.9%
>>>    1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0%
>>>   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0%
>>>   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU 100.0%
>>>   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0%
>>>  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU  97.1%
>>>  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU  97.1%
>>>  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0%
>>>  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0%
>>>  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0%
>>>  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0%
>>>  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0%
>>>  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0%
>>>  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU 100.0%
>>>  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0%
>>>  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU  97.1%
>>>  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU  97.1%
>>>  574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU  99.7% UBU 100.0%
>>>  61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU  99.9% UBU  97.1%
>>>  658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU  94.1%
>>>  701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU  97.1%
>>>  744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU  99.9% UBU  97.1%
>>>  788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU  97.1%
>>>  833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU  97.1%
>>>  878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU  97.1%
>>>  923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU  97.1%
>>>  969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU  97.1%
>>>  1011908608/4695924736 (21.5%) @9.1x, remaining 7:1

Tv-card for freebsd

2010-07-14 Thread Bernt Hansson

Hello list!

I'm in the process of buying a tv-card for dvb-t transmissions.

Any tips on cards that have a driver for freebsd?

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


Re: buffer starvation when recording DVDs

2010-07-14 Thread Paul B Mahol
On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best
 wrote:
> 2010/7/14 Alexander Best :
>> hi there,
>>
>> my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
>> maximum speed of 16x. however at speeds of more than ~12x the burner's
>> buffer get's filled only ~20%. probably that's why the burner's speed
>> get's reduced by `growisofs` (to prevent buffer starvation?). how can
>> this happen? the iso i am using lies on my HDD which is quite fast
>> (connected via SATA 2.0).
>>
>> this is the output of `camcontrol devlist -v`:
>>
>> scbus0 on ahcich0 bus 0:
>> <>                                 at scbus0 target -1 lun -1 ()
>> scbus1 on ahcich1 bus 0:
>> <>                                 at scbus1 target -1 lun -1 ()
>> scbus2 on ata2 bus 0:
>>     at scbus2 target 0 lun 0 (cd0,pass0)
>> <>                                 at scbus2 target -1 lun -1 ()
>> scbus3 on ahcich2 bus 0:
>>          at scbus3 target 0 lun 0 (ada0,pass1)
>> <>                                 at scbus3 target -1 lun -1 ()
>> scbus4 on ahcich3 bus 0:
>> <>                                 at scbus4 target -1 lun -1 ()
>> scbus5 on ahcich4 bus 0:
>> <>                                 at scbus5 target -1 lun -1 ()
>> scbus6 on ahcich5 bus 0:
>> <>                                 at scbus6 target -1 lun -1 ()
>> scbus7 on ahcich6 bus 0:
>> <>                                 at scbus7 target -1 lun -1 ()
>> scbus8 on ahcich7 bus 0:
>> <>                                 at scbus8 target -1 lun -1 ()
>> scbus-1 on xpt0 bus 0:
>> <>                                 at scbus-1 target -1 lun -1 (xpt0)
>>
>> as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
>> ada0 is SATA). the PATA and SATA controllers are:
>>
>> atapci0:  port
>> 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
>> irq 16 at device 0.1 on pci3
>>
>> ahci0:  mem 0xf800-0xf8001fff
>> irq 19 at device 0.0 on pci3
>
> sorry for the wrong information. just realized my HDD is connected to
> the intel controller!
>
>>
>> this is the output of `growisofs`:
>>
>> Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
>> /dev/pass0: "Current Write Speed" is 16.4x1352KBps.
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>>    1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU   2.9%
>>    1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0%
>>   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0%
>>   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU 100.0%
>>   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0%
>>  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU  97.1%
>>  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU  97.1%
>>  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0%
>>  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0%
>>  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0%
>>  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0%
>>  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0%
>>  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0%
>>  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU 100.0%
>>  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0%
>>  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU  97.1%
>>  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU  97.1%
>>  574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU  99.7% UBU 100.0%
>>  61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU  99.9% UBU  97.1%
>>  658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU  94.1%
>>  701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU  97.1%
>>  744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU  99.9% UBU  97.1%
>>  788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU  97.1%
>>  833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU  97.1%
>>  878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU  97.1%
>>  923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU  97.1%
>>  969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU  97.1%
>>  1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU  97.1%
>>  1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU  97.1%
>>  1106903040

Re: buffer starvation when recording DVDs

2010-07-14 Thread Alexander Best
2010/7/14 Alexander Best :
> hi there,
>
> my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
> maximum speed of 16x. however at speeds of more than ~12x the burner's
> buffer get's filled only ~20%. probably that's why the burner's speed
> get's reduced by `growisofs` (to prevent buffer starvation?). how can
> this happen? the iso i am using lies on my HDD which is quite fast
> (connected via SATA 2.0).
>
> this is the output of `camcontrol devlist -v`:
>
> scbus0 on ahcich0 bus 0:
> <>                                 at scbus0 target -1 lun -1 ()
> scbus1 on ahcich1 bus 0:
> <>                                 at scbus1 target -1 lun -1 ()
> scbus2 on ata2 bus 0:
>     at scbus2 target 0 lun 0 (cd0,pass0)
> <>                                 at scbus2 target -1 lun -1 ()
> scbus3 on ahcich2 bus 0:
>          at scbus3 target 0 lun 0 (ada0,pass1)
> <>                                 at scbus3 target -1 lun -1 ()
> scbus4 on ahcich3 bus 0:
> <>                                 at scbus4 target -1 lun -1 ()
> scbus5 on ahcich4 bus 0:
> <>                                 at scbus5 target -1 lun -1 ()
> scbus6 on ahcich5 bus 0:
> <>                                 at scbus6 target -1 lun -1 ()
> scbus7 on ahcich6 bus 0:
> <>                                 at scbus7 target -1 lun -1 ()
> scbus8 on ahcich7 bus 0:
> <>                                 at scbus8 target -1 lun -1 ()
> scbus-1 on xpt0 bus 0:
> <>                                 at scbus-1 target -1 lun -1 (xpt0)
>
> as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
> ada0 is SATA). the PATA and SATA controllers are:
>
> atapci0:  port
> 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
> irq 16 at device 0.1 on pci3
>
> ahci0:  mem 0xf800-0xf8001fff
> irq 19 at device 0.0 on pci3

sorry for the wrong information. just realized my HDD is connected to
the intel controller!

>
> this is the output of `growisofs`:
>
> Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
> /dev/pass0: "Current Write Speed" is 16.4x1352KBps.
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>          0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
>    1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU   2.9%
>    1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0%
>   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0%
>   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU 100.0%
>   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0%
>  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU  97.1%
>  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU  97.1%
>  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0%
>  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0%
>  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0%
>  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0%
>  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0%
>  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0%
>  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU 100.0%
>  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0%
>  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU  97.1%
>  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU  97.1%
>  574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU  99.7% UBU 100.0%
>  61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU  99.9% UBU  97.1%
>  658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU  94.1%
>  701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU  97.1%
>  744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU  99.9% UBU  97.1%
>  788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU  97.1%
>  833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU  97.1%
>  878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU  97.1%
>  923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU  97.1%
>  969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU  97.1%
>  1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU  97.1%
>  1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU  97.1%
>  1106903040/4695924736 (23.6%) @10.4x, remaining 6:48 RBU 100.0% UBU  97.1%
>  1155203072/4695924736 (24.6%) @10.5x, remaining 6:35 RBU 100.0% UBU  97.1%
>  1204

Re: Dell SAS5/IR

2010-07-14 Thread Grant Peel

Hi all,

I was attempiting to restage a server last night to no avail. It is a 
Dell

860 with a LSI SAS (Dell SAS5/SI) controller.

This was happening when I was dumping the filesystems from a USB memory
stick (da1s1) to the hard drive (Seagate 76 GIG SAS - da0s1).

Can anyone tell me if they have seen this before? or if it is a Hard disk
problem, or a problem with the SAS controller, or is it a FreeBSD 
problem?


I ahve donwloaded the latest SAS firmware and installed it, ran the Dell 
32
Bit diags,  ran the drive diagnostics, etc etc and everything passes with 
no

errors.

I simply cant install dumps, or install a fresh copy of freebsd.

I have snapshots of what the console iis showing, but in a nutshell:

(da0:mpt:0:0:0:0): Synchonize cahce failed, status =0x4a, scsi status = 
0x0

(da0:mpt:0:0:0:0): removing device entry
Device /da0s1e went missing before all of the data could be written to 
it,

expect data loss

I have snapshots if anyone wants me to send them off list.

Any possible resalutions ?



The way I read your problem is that you are dumping a slice with 
partitions

to another slice correct?

I don't think that works, dump(1) works on the filesystem level, so a
partition by partition dump and restore is needed.

--
Adam Vande More
___
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"





Adam,

Sorry I should have been clearer in my original post.

I had made dumps from one machine from each individual file system

/(dev/da0s1a)
/var(dev/da0s1d)
/usr(/dev/da0s1e)
/home(/dev/da0s1f)

Then, on a different machine, was dumping them using the LIVE FS CD boot 
disk, to it's primary drive that was pre fdisk'd and the filesystems 
created.


The root, var filesystem restored fine, but, as I said, the usr filesystem 
keep crapping out with the errors mentioned.


I even get the same error when trying to actually install freebsd from CD, 
from scratch.


Yesterday, I ran every diagnostic available to the system (Dell 32 Bit 
Diags, on board controller diags, etc) and they all passed with no errors.


I have seen some scuttlebutt white googling, about the SAS5/IR buuffer 
problems, but have not seen a resolution yet.


-Grant


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


FreeBSD 8.0 and KDE Fonts

2010-07-14 Thread What you get is Not what you see
On 8.0 with KDE 4.3.1 package installed I have problems with Firefox fonts.
Though I installed URW and freetype fonts according to handbook and
declared them on xorg.conf,
Firefox 3.5.4 cant display some pages properly,ie text is not
displayed. So that must be a problem with fonts,
because those pages are displayed (well) with Konqueror.
What would be the resolution?
___
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"


buffer starvation when recording DVDs

2010-07-14 Thread Alexander Best
hi there,

my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a
maximum speed of 16x. however at speeds of more than ~12x the burner's
buffer get's filled only ~20%. probably that's why the burner's speed
get's reduced by `growisofs` (to prevent buffer starvation?). how can
this happen? the iso i am using lies on my HDD which is quite fast
(connected via SATA 2.0).

this is the output of `camcontrol devlist -v`:

scbus0 on ahcich0 bus 0:
<> at scbus0 target -1 lun -1 ()
scbus1 on ahcich1 bus 0:
<> at scbus1 target -1 lun -1 ()
scbus2 on ata2 bus 0:
at scbus2 target 0 lun 0 (cd0,pass0)
<> at scbus2 target -1 lun -1 ()
scbus3 on ahcich2 bus 0:
 at scbus3 target 0 lun 0 (ada0,pass1)
<> at scbus3 target -1 lun -1 ()
scbus4 on ahcich3 bus 0:
<> at scbus4 target -1 lun -1 ()
scbus5 on ahcich4 bus 0:
<> at scbus5 target -1 lun -1 ()
scbus6 on ahcich5 bus 0:
<> at scbus6 target -1 lun -1 ()
scbus7 on ahcich6 bus 0:
<> at scbus7 target -1 lun -1 ()
scbus8 on ahcich7 bus 0:
<> at scbus8 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
<> at scbus-1 target -1 lun -1 (xpt0)

as you can see cd0 and ada0 don't share the same cable (cd0 is PATA,
ada0 is SATA). the PATA and SATA controllers are:

atapci0:  port
0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f
irq 16 at device 0.1 on pci3

ahci0:  mem 0xf800-0xf8001fff
irq 19 at device 0.0 on pci3

this is the output of `growisofs`:

Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0'
/dev/pass0: "Current Write Speed" is 16.4x1352KBps.
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
  0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU   2.9%
1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0%
   19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0%
   52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU  99.9% UBU 100.0%
   86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0%
  121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU  97.1%
  156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU  99.9% UBU  97.1%
  191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0%
  228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0%
  264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0%
  298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0%
  336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0%
  374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0%
  413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU  99.9% UBU 100.0%
  452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0%
  492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU  97.1%
  533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU  97.1%
  574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU  99.7% UBU 100.0%
  61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU  99.9% UBU  97.1%
  658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU  94.1%
  701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU  97.1%
  744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU  99.9% UBU  97.1%
  788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU  97.1%
  833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU  97.1%
  878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU  97.1%
  923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU  97.1%
  969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU  97.1%
 1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU  97.1%
 1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU  97.1%
 1106903040/4695924736 (23.6%) @10.4x, remaining 6:48 RBU 100.0% UBU  97.1%
 1155203072/4695924736 (24.6%) @10.5x, remaining 6:35 RBU 100.0% UBU  97.1%
 1204092928/4695924736 (25.6%) @10.6x, remaining 6:22 RBU  99.9% UBU  97.1%
 1253507072/4695924736 (26.7%) @10.7x, remaining 6:13 RBU 100.0% UBU  97.1%
 1303511040/4695924736 (27.8%) @10.8x, remaining 6:01 RBU 100.0% UBU  97.1%
 1354039296/4695924736 (28.8%)

Sec.Update -p4 and /boot/GENERIC

2010-07-14 Thread n dhert
A sec.update (8.0-p4) was released yeterday.
I have a system which
- feb 2010 : first install (with 8.0-RELEASE (using generic kernel))
- 19 feb 2010 : updated to 8.0-RELEASE-p2
- 25 feb 2010 : I made a Custom kernel (enabling disk quota)
   then a /boot/kernel.old was created (the original generic kernel)
   At that time I ought to have renamed /boot/kernel.old
to /boot/GENERIC but forgot it
- 1 jun 2010 : updated to 8.0-RELEASE-p3
  ( this was an sec.update without changes to kernel files)

The latest sec/update (8.0-RELEASE-p4) was released yesterday
During the night via cron job # freebsd-update fetch was performed
Today, I executed (too hasty..)
# freebsd-update install

Only after that, I remarked that on another system, with a generic
kernel,
the mail message about the -p4 update mentionned changes to
/boot/kernel/kernel and /boot/kernel.symbols.
Normally, on this system, if I did have a directory /boot/GENERIC,
I would have been warned in the mail , on this system, I guess,
that /boot/GENERIC/kernel and /boot/GENERIC/kernel.symbols were
among the changed files, but didnt get that warning
because I have no /boot/GENERIC directory. Correct ?'

What is the best thing to do now?
I renamed /boot/kernel.old to /boot/GENERIC
and ran
# freebsd-update install
once more, but it just simply says:
No updates are available to install

How can I achieve that /boot/GENERIC/kernel and /boot/GENERIC/kernel.symbols
are replaced by what it should be for 8.0-RELEASE-p4 ?
___
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: Clarification: "Jail" -vs- "Chroot"

2010-07-14 Thread Vincent Hoffman
On 14/07/2010 00:30, Aiza wrote:
> Ed Flecko wrote:
>> Hi folks,
>> I'm reading about "jails" and "chroot", and I'm not clear about the
>> differences so I'm hoping someone can clarify this for me.
>>
>> Here's what I "think" is correct:
>>
>> 1.) FreeBSD has both "chroot" capability as well as "jail" capability.
>>
>> 2.) Only FreeBSD has true, "jail" functionality? Yes?...No?
>>
>> 3.) When reading something (book, article, etc.), is there a way to
>> determine if the author is, in fact, talking about truly a "jail" or
>> are they really just referring to a "chroot" environment? For example,
>> I have a book ("Preventing web attacks with Apache") that says:
>>
>> "Chroot is short for change root and essentially allows you to run
>> programs in a protected or jailed environment. The main benefit of a
>> chroot jail is that the jail will limit the portion of the file system
>> the daemon can see to the root directory of the jail. Additionally,
>> since the jail only needs to support Apache, the programs available in
>> the jail can be extremely limited."
>>
>> 4.) Jail is the more secure of the two options?
>>
>> 5.) When would you "typically" use a jail -vs- a chroot? The new, 2nd
>> edition of "Absolute FreeBSD" says:
>>
>> "Chrooting is useful for web servers that have multiple clients on one
>> machine—that is, web servers with many virtual hosts."
>>
>> Comments??? Suggestions???
>>
>> Thank you!
>>
>> Ed
>
> Well let me take a shot at this. First of all we are only talking
> about the FreeBSD operating system. The ability to chroot a directory
> tree has been available since RELEASES 2.0. The jail utility first
> appeared in RELEASE 4.0. The jail utility is just a basic effort to
> automate the building and administration of an chrooted directory tree
> which is pretty much useless unless it contains a complete copy of the
> Freebsd operating system binaries. 
Actually as the manpage says  "In the other extreme case a jail might
contain only one file: the executable to be run in the jail."
you put in a jail what you need. It doesnt have to be a complete install
its just commonly for that purpose. Also a jail offers more features
than chroot, such as sperate securelevels from the host, limits on
number of child jails (Hierarchical Jails) etc.
> The major short coming of the jail command jail system is each jail
> has it's own copy of the hosts running system binaries. Freebsd
> reserves a limited number of control structures for storing files and
> directories, called inodes. Creating a few jails consumes many of
> these valuable inodes, eventually preventing the creation of new jails
> and new files on the host. Worst yet is each jail loads it's own copy
> of it's running binaries into memory which causes thrashing on the
> swap device as memory pages are swapped in and out as the limited
> memory is shared between the host and jails. Besides consuming
> resources and creating performance degradation, this also causes a
> major administration headache when wanting to update the host running
> system, because the host and the jails all have to be running the same
> RELEASE version.
>
you can run other (lower) version userland if you want to as long as the
host has the correct COMPAT options in its kernel config. I'll agree on
the administration headache though.
> Now with some considerable hand jobbing per the jail section of the
> handbook, a jail environment can be created where by a single copy of
> the jailed running binaries are shared among all the jails. But this
> still leaves you with an administration nightmare as the number of
> jails deployed grows past 5. Now there are some ports in the port
> system that are utility wrappers around the jail command that tries to
> address this administration nightmare. My experience with these are
> they are very poorly documented and you really need to have a good
> grasp on how jails work and network ip address usage before they are
> useful. Their easy of use quickly evaporates as the number of jails
> deployed reaches 10.
>
> The next generation of a jail utility for the deployment of a large
> number of jails is in project phase right now. Keep checking the ports
> system for qjail.
>
I quite like ezjail but I'll be sure to keep an eye open for qjail.

Vince
> Now about what to run in a jail. Well since each jail is like a
> complete stand-a-lone operating system, you can populate it with any
> application you want. The real limitation is how is that jail going to
> gain public internet access so the domain name of your apache website
> can be found and accessed. A static ip address is pretty much
> required, though with some creative ip address assignments this can be
> circumvented. Thats a whole other subject area.
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questi

Why googleearth keeps crashing when photo window is closed?

2010-07-14 Thread Yuri


For some reason googleearth crashes when the popup with photo is closed.
Crashes are intermittent, depending on system updates and port updates. 
After some crashes disappear and after other updates crashes come back 
again.


Crash stack is below.

Yuri


Major Version 5
Minor Version 2
Build Number 0001
Build Date Jun 10 2010
Build Time 16:15:55
OS Type 3
OS Major Version 2
OS Minor Version 6
OS Build Version 16
OS Patch Version 0
Crash Signal 11
Crash Time 1279103869
Up Time 31.366

Stacktrace from glibc:
./libgoogleearth_free.so[0x33d3c30b]
[0xbfbfffbb]
./libQtWebKit.so.4[0x34bf7f23]
./libQtWebKit.so.4[0x34bf7f5f]
./libQtWebKit.so.4[0x34bf7f79]
./libQtWebKit.so.4[0x34bf7fd3]
./libQtWebKit.so.4[0x34cb5da8]
./libQtWebKit.so.4[0x34cb5d1c]
./libQtWebKit.so.4[0x35057709]
./libQtWebKit.so.4[0x350577ad]
./libQtWebKit.so.4[0x3516a908]
./libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x112)[0x33fdbfca]
./libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa0)[0x3423ae20]
./libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x22e)[0x34244962]
./libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x70)[0x33fcdd50]
./libQtCore.so.4[0x33ff3743]
./libQtCore.so.4(_ZN20QEventDispatcherUNIX14activateTimersEv+0x17)[0x33ff381f]
./libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xd9)[0x33ff39ed]
./libQtGui.so.4[0x342cfca4]
./libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x47)[0x33fccfbf]
./libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xff)[0x33fcd223]
./libQtCore.so.4(_ZN16QCoreApplication4execEv+0x9d)[0x33fcec05]
./libQtGui.so.4(_ZN12QApplication4execEv+0x25)[0x3423a7a1]
./libgoogleearth_free.so(_ZN5earth6client11Application3runEv+0x4bc)[0x33d4750c]
./libgoogleearth_free.so(earthmain+0x27d)[0x33d3b73d]
./googleearth-bin(_init+0x122)[0x80486c2]
/lib/libc.so.6(__libc_start_main+0xe5)[0x358596e5]
./googleearth-bin(_init+0x91)[0x8048631]

___
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: Clarification: "Jail" -vs- "Chroot"

2010-07-14 Thread Valentin Bud
On Wed, Jul 14, 2010 at 2:30 AM, Aiza  wrote:

> Ed Flecko wrote:
>
>> Hi folks,
>> I'm reading about "jails" and "chroot", and I'm not clear about the
>> differences so I'm hoping someone can clarify this for me.
>>
>> Here's what I "think" is correct:
>>
>> 1.) FreeBSD has both "chroot" capability as well as "jail" capability.
>>
>> 2.) Only FreeBSD has true, "jail" functionality? Yes?...No?
>>
>> 3.) When reading something (book, article, etc.), is there a way to
>> determine if the author is, in fact, talking about truly a "jail" or
>> are they really just referring to a "chroot" environment? For example,
>> I have a book ("Preventing web attacks with Apache") that says:
>>
>> "Chroot is short for change root and essentially allows you to run
>> programs in a protected or jailed environment. The main benefit of a
>> chroot jail is that the jail will limit the portion of the file system
>> the daemon can see to the root directory of the jail. Additionally,
>> since the jail only needs to support Apache, the programs available in
>> the jail can be extremely limited."
>>
>> 4.) Jail is the more secure of the two options?
>>
>> 5.) When would you "typically" use a jail -vs- a chroot? The new, 2nd
>> edition of "Absolute FreeBSD" says:
>>
>> "Chrooting is useful for web servers that have multiple clients on one
>> machine—that is, web servers with many virtual hosts."
>>
>> Comments??? Suggestions???
>>
>> Thank you!
>>
>> Ed
>>
>
> Well let me take a shot at this. First of all we are only talking about the
> FreeBSD operating system. The ability to chroot a directory tree has been
> available since RELEASES 2.0. The jail utility first appeared in RELEASE
> 4.0. The jail utility is just a basic effort to automate the building and
> administration of an chrooted directory tree which is pretty much useless
> unless it contains a complete copy of the Freebsd operating system binaries.
> The major short coming of the jail command jail system is each jail has it's
> own copy of the hosts running system binaries. Freebsd reserves a limited
> number of control structures for storing files and directories, called
> inodes. Creating a few jails consumes many of these valuable inodes,
> eventually preventing the creation of new jails and new files on the host.
> Worst yet is each jail loads it's own copy of it's running binaries into
> memory which causes thrashing on the swap device as memory pages are swapped
> in and out as the limited memory is shared between the host and jails.
> Besides consuming resources and creating performance degradation, this also
> causes a major administration headache when wanting to update the host
> running system, because the host and the jails all have to be running the
> same RELEASE version.
>
> Now with some considerable hand jobbing per the jail section of the
> handbook, a jail environment can be created where by a single copy of the
> jailed running binaries are shared among all the jails. But this still
> leaves you with an administration nightmare as the number of jails deployed
> grows past 5. Now there are some ports in the port system that are utility
> wrappers around the jail command that tries to address this administration
> nightmare. My experience with these are they are very poorly documented and
> you really need to have a good grasp on how jails work and network ip
> address usage before they are useful. Their easy of use quickly evaporates
> as the number of jails deployed reaches 10.
>
> The next generation of a jail utility for the deployment of a large number
> of jails is in project phase right now. Keep checking the ports system for
> qjail.
>
> Now about what to run in a jail. Well since each jail is like a complete
> stand-a-lone operating system, you can populate it with any application you
> want. The real limitation is how is that jail going to gain public internet
> access so the domain name of your apache website can be found and accessed.
> A static ip address is pretty much required, though with some creative ip
> address assignments this can be circumvented. Thats a whole other subject
> area.


Hello community,

 Aiza could you please tell us more about qjail. google isn't very helpful
and I am very interested in the subject.

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


Hard disk on its way west ?

2010-07-14 Thread Graeme Dargie
Something caught my eye on a dmesg output the other day, and it got me
wondering if this was going to cause me a problem in the near future.

 

ad4: 476940MB  at ata2-master SATA300

ad8: 476938MB  at ata4-master SATA300

 

I had a check of another machine I have with the same make and model of
hard disk and they all seem to report 476940MB. 

 

ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)

ada0: Native Command Queueing enabled

ada1 at ahcich1 bus 0 target 0 lun 0

ada1:  ATA/ATAPI-8 SATA 2.x device

ada1: 300.000MB/s transfers

ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)

ada1: Native Command Queueing enabled

ada2 at ahcich2 bus 0 target 0 lun 0

ada2:  ATA/ATAPI-8 SATA 2.x device

ada2: 300.000MB/s transfers

ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)

ada2: Native Command Queueing enabled

ada3 at ahcich3 bus 0 target 0 lun 0

ada3:  ATA/ATAPI-8 SATA 2.x device

ada3: 300.000MB/s transfers

ada3: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)

ada3: Native Command Queueing enabled

 

 

I have recently run the Hitachi drive fitness test on both ad4 and ad8
as I was getting timeout error, both drives passed without any errors. 

 

Regards

Graeme

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