Re: best archiver? (for music)

2009-03-14 Thread Gary Kline
On Sun, Mar 15, 2009 at 05:18:06AM +0100, Wojciech Puchar wrote:
> > listened-to (kttsd) the man lame.  Then surfed around; then came
> > back to the man page and read the several examples.  So: the idea
> > is that lame ["just"] converts WAV files to mp3.  There is a
> 
> as every good unix tool - it does exactly what is supposed to do.
> 
> nobody forbids you to make your script that do what you want with lame and 
> say cdda2wav
> 
> > Given the availability of compression these days, it makes me
> > wonder why telephone conversations still sound so 'tinny'.  But
> > then, that's another matter.
> >
> with right configured speex codec phone talks sounds actually better than 
> uncompressed :)


That's the idea: take telephone/voice @  what? 4kbps? -- it was 
something very narrow bandwidth so the phone companies could
squueze more speech into each wire.  Anyway, given 4k or whatever
bits/sec, built in a single chip into each new phone to compress
and uncompress.  And up the quality of the speaker!  

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


Re: GELI full disk, booting from thumb drive - can't get to /usr?

2009-03-14 Thread bob
Whoops - two mistakes in my original email:

First, the following fstab line is a typo (in my original email, not in
my actual fstab):

/dev/ad11.elif   /disk2  ufs rw 2 0

It actually ends in a "2", not a "0".

Second, when I typed the following:

"Here is my fstab, which is the same in /boot/etc of my thumb drive and
/boot/etc of the thing on the hard drive that should get mounted as root"

The copies of fstab are actually in "/etc", not "/boot/etc".  This is true
for both the thumb drive and the hard drive.

> I've been trying to set up a system (7.0 Release) with full-disk
> encryption, using GELI, and booting from a thumb drive.  When booting, it
> gets as far as asking me for the passphrases of the various encrypted
> disks; when I give them, GELI indicates that it successfully attached to
> each, but after I've entered the last of them, the system puts out a bunch
> of messages (most of which quickly scroll off my screen) looking like it's
> trying to continue booting, but having problems.
>
> Those that are left when it finally stops scrolling seem to indicate that
> it can't get to /usr.  Here is what remains on my screen when it stops
> scrolling:
>
> eval: /usr/sbin/sendmail: not found
> /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/cron
> Local package initialization:
> dirname: not found
> Starting background file system checks in 60 seconds.
> logger: not found
>
> After that is a blank line, then a line with the date and time, and then a
> bunch of lines like the following:
>
> Mar 14 22:39:06 init: can't exec getty '/usr/libexec/getty' for port
> /dev/ttyv4: No such file or directory
>
> The only difference between the "getty" lines is the ttyv* they show.
>
> Thereafter, once every thirty seconds, another eight copies of the "getty"
> line show.  This happens indefinitely thereafter (I let it go for an hour
> or so).
>
> If I start up Fixit from a LiveFS CD, geli attach and mount what should be
> /usr as something like "/myusr", I can see that all of the things I expect
> to be there really are there (including, for example, libexec/getty).
>
> Does anyone have any idea why this would be happening, or any idea on how
> to troubleshoot it? The fact that I can't get to getty makes it...
> difficult.
>
> Here is my fstab, which is the same in /boot/etc of my thumb drive and
> /boot/etc of the thing on the hard drive that should get mounted as root
> (again, I can confirm this by mounting it as /myslash via a LiveFS CD):
>
> /dev/ad10.elia   /   ufs rw 1 1
> /dev/ad10.elib   noneswapsw 0 0
> /dev/ad10.elid   /varufs rw 2 2
> /dev/ad10.elie   /tmpufs rw 2 2
> /dev/ad10.elif   /usrufs rw 2 2
> /dev/ad11.elib   noneswapsw 0 0
> /dev/ad11.elif   /disk2  ufs rw 2 0
> /dev/ad13.elib   noneswapsw 0 0
> /dev/ad13.elif   /disk3  ufs rw 2 2
> /dev/acd0/cdrom  cd9660  ro,noauto  0 0
>
> Thanks in advance for any help.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
>


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


Re: best archiver? (for music)

2009-03-14 Thread Gary Kline
On Sat, Mar 14, 2009 at 08:36:25AM +0100, Wojciech Puchar wrote:
> >
> >There is a special codec for speech. You'll find it the
> >audio/speex port. From the pkg-descr:
> 
> actually i use it with asterisk - at about 15kbps (VBR) there are audible 
> differences between this and standard 64kbps a-law - but the differences 
> are POSITIVE - speech sounds clearer!
> 

There's something I've been wanting to ask and a web search
hasn't told me very much.  What is the "mp4"? Is it == to "aac"
or "aacPlus"?  Some online stations carry the acc format and it
seems better than mp3.  I can't really tell. 

anybody?

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


GELI full disk, booting from thumb drive - can't get to /usr?

2009-03-14 Thread bob
I've been trying to set up a system (7.0 Release) with full-disk
encryption, using GELI, and booting from a thumb drive.  When booting, it
gets as far as asking me for the passphrases of the various encrypted
disks; when I give them, GELI indicates that it successfully attached to
each, but after I've entered the last of them, the system puts out a bunch
of messages (most of which quickly scroll off my screen) looking like it's
trying to continue booting, but having problems.

Those that are left when it finally stops scrolling seem to indicate that
it can't get to /usr.  Here is what remains on my screen when it stops
scrolling:

eval: /usr/sbin/sendmail: not found
/etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/cron
Local package initialization:
dirname: not found
Starting background file system checks in 60 seconds.
logger: not found

After that is a blank line, then a line with the date and time, and then a
bunch of lines like the following:

Mar 14 22:39:06 init: can't exec getty '/usr/libexec/getty' for port
/dev/ttyv4: No such file or directory

The only difference between the "getty" lines is the ttyv* they show.

Thereafter, once every thirty seconds, another eight copies of the "getty"
line show.  This happens indefinitely thereafter (I let it go for an hour
or so).

If I start up Fixit from a LiveFS CD, geli attach and mount what should be
/usr as something like "/myusr", I can see that all of the things I expect
to be there really are there (including, for example, libexec/getty).

Does anyone have any idea why this would be happening, or any idea on how
to troubleshoot it? The fact that I can't get to getty makes it...
difficult.

Here is my fstab, which is the same in /boot/etc of my thumb drive and
/boot/etc of the thing on the hard drive that should get mounted as root
(again, I can confirm this by mounting it as /myslash via a LiveFS CD):

/dev/ad10.elia   /   ufs rw 1 1
/dev/ad10.elib   noneswapsw 0 0
/dev/ad10.elid   /varufs rw 2 2
/dev/ad10.elie   /tmpufs rw 2 2
/dev/ad10.elif   /usrufs rw 2 2
/dev/ad11.elib   noneswapsw 0 0
/dev/ad11.elif   /disk2  ufs rw 2 0
/dev/ad13.elib   noneswapsw 0 0
/dev/ad13.elif   /disk3  ufs rw 2 2
/dev/acd0/cdrom  cd9660  ro,noauto  0 0

Thanks in advance for any help.

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


Re: best archiver? (for music)

2009-03-14 Thread Wojciech Puchar

listened-to (kttsd) the man lame.  Then surfed around; then came
back to the man page and read the several examples.  So: the idea
is that lame ["just"] converts WAV files to mp3.  There is a


as every good unix tool - it does exactly what is supposed to do.

nobody forbids you to make your script that do what you want with lame and 
say cdda2wav



Given the availability of compression these days, it makes me
wonder why telephone conversations still sound so 'tinny'.  But
then, that's another matter.

with right configured speex codec phone talks sounds actually better than 
uncompressed :)

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


Re: best archiver? (for music)

2009-03-14 Thread Gary Kline
On Sat, Mar 14, 2009 at 08:26:02AM +0100, Roland Smith wrote:
> On Fri, Mar 13, 2009 at 08:05:59PM -0700, Gary Kline wrote:
> > > lame -h -V 3 - nobody could tell the difference, it gives <200kbps bitrate
> > > lame -h -b 192 - as above
> > > lame -h -b 128 - they were able to tell difference, but not on all 
> > > music/songs
> > > 
> > > lame -h -b 96 - i was able to tell the difference on every song, but it 
> > > wasn't really huge deal.
> 
> > my hearing is exceptionally good and while call myself an
> > audiophile,  having all my tunes right here at fingertips is 
> > a major win.  having said that, can you point me to a basic
> > tutorial on lame? 
> 
> man lame


GADGOOKS! that's no tutorial, that's *torture*.  After i finally 
got caught up on miised sleep, a few hours ago I read-thru and
listened-to (kttsd) the man lame.  Then surfed around; then came
back to the man page and read the several examples.  So: the idea
is that lame ["just"] converts WAV files to mp3.  There is a
gnome utility, sound-juicer than turns my CD's from wave to
ogg-vorbis.  I'm happy with ogg but would prefer flac ... but ogg
is fine.  mp4 is a dontknow.  What I've got is good enough for
now.


> 
> > i've got 1581620 blocks of mp3 @ 128kbit.
> > lectures.  when i tried to cut the quality even by a bit it was
> > evident immediately.  rar compresses these file to
> > 1482404 blocks very very slowly.  it probably makes sense to just
> > burn the mp3 files to a dvd and be safe.  
> 
> There is a special codec for speech. You'll find it the
> audio/speex port. From the pkg-descr:
> 
>   The Speex is a patent-free, Open Source/Free Software voice codec.
>   Unlike other codecs like MP3 and Ogg Vorbis, Speex is designed to
>   compress voice at bitrates in the 2-45 kbps range.  Possible
>   applications include VoIP, Internet audio streaming, archiving of
>   speech data (e.g. voice mail), and audio books. In some sense, it is
>   meant to be complementary to the Ogg Vorbis codec.
> 
> This might perform better at compressing lectures.


Sounds v promising, thanks.  

Given the availability of compression these days, it makes me
wonder why telephone conversations still sound so 'tinny'.  But
then, that's another matter.

gary


> 
> Roland
> -- 
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


RE: who broke snd_hda? SOLVED

2009-03-14 Thread Jimmie James
hw.snd.default_unit=1  <-- This has fixed everything, from the looks of 
it. Not 100% sure what =1 means, but I have sound now.

No line in/rec/CD volume controls, but working on that.

/back to man pages

mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer mix  is currently set to   0:0
Recording source:

Still have to fix this.



I have no sound anymore, from anything, no matter what device I point an
application at.



Today I have no sound with a new world/kernel:
from dmesg
hdac0: HDA Codec #0: Realtek ALC880
pcm0:  at cad 0 nid 1 on hdac0
pcm1:  at cad 0 nid 1 on hdac0
pcm2:  at cad 0 nid 1 on hdac0
pcm3:  at cad 0 nid 1 on hdac0
cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0:  at cad 0 nid 1 on hdac0  [MPSAFE]
pcm1:  at cad 0 nid 1 on hdac0  [MPSAFE]
pcm2:  at cad 0 nid 1 on hdac0  [MPSAFE]
pcm3:  at cad 0 nid 1 on hdac0  [MPSAFE]



mixer:
Mixer speaker  is currently set to  45:45
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer mix  is currently set to  30:30
Mixer monitor  is currently set to  35:35




Last kernel from mid Jan.09
pcm0: 
pcm0: 



--
Over the years I've come to regard you as people I've met.





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


who broke snd_hda?

2009-03-14 Thread Jimmie James
I have no sound anymore, from anything, no matter what device I point an 
application at.


Today I have no sound with a new world/kernel:
from dmesg
hdac0: HDA Codec #0: Realtek ALC880
pcm0:  at cad 0 nid 1 on hdac0
pcm1:  at cad 0 nid 1 on hdac0
pcm2:  at cad 0 nid 1 on hdac0
pcm3:  at cad 0 nid 1 on hdac0
cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0:  at cad 0 nid 1 on hdac0  [MPSAFE]
pcm1:  at cad 0 nid 1 on hdac0  [MPSAFE]
pcm2:  at cad 0 nid 1 on hdac0  [MPSAFE]
pcm3:  at cad 0 nid 1 on hdac0  [MPSAFE]

mixer:
Mixer speaker  is currently set to  45:45
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer mix  is currently set to  30:30
Mixer monitor  is currently set to  35:35


Last kernel from mid Jan.09
pcm0: 
pcm0: 


--
Over the years I've come to regard you as people I've met.

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


Linux Java Update?

2009-03-14 Thread Frank Jahnke
I'm setting up a new i386 computer, and I always include a complete
Linux browser (usually Opera), including plugins.  I went to the
linux-sun-jre16 port, and I find a disagreement on the jre version
number requested in the port (u3) versus what Sun has on their web site
as their latest (u12).  This is odd, since the native version runs u7.  

Why is this?  Update 3 is a couple of years old, which is fine I guess,
but is there a reason that update 12 is not used?

Frank

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


The FreeBSD Diary: 2009-03-14

2009-03-14 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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: bsd vs gpl

2009-03-14 Thread Chris Rees
2009/3/11 David Kelly :
> On Wed, Mar 11, 2009 at 01:20:18AM -0700, prad wrote:
>> i've not paid much attention to licensing philosophy i the past,
>> because for me it was always windoze vs the goodguys.
>>
>> however, recently i've become aware of there being a chasm within the
>> goodguys in that the bsd attitude is do what you want as long as you
>> give credit to the creator, whereas the gpl folks say do what you want
>> as long as you keep it free.
>>
>> is this a fair summation?
>
> No, too simple.
>
> The source code is always free under BSD, contrary to what GPL
> proponents claim. Just that under BSD you are free to keep ownership of
> your own work. To decide how *you* wish to distribute. You may limit the
> redistribution of your work which includes BSD components. GPL people
> seem to forget the base BSD code is still free, its just that they want
> your enhancements too. Its a lesson in how to lie the way they claim
> this is somehow "free" and/or "freedom."
>
> GPL states that if you make changes those changes must be made available
> under the same terms as the original source code. Yet somehow darlings
> of the GPL world such as Red Hat, MySQL, and others, skirt around that
> onerous requirement.
>
> --
> David Kelly N4HHE, dke...@hiwaay.net
> 
> Whom computers would destroy, they must first drive mad.
> ___
> 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"
>

Sorry, what do Red Hat et al do to 'skirt' around the requirements of
the GPL? They are some of the biggest supporters of free software.
They abide by the letter AND the spirit of the GPL. They are a model
free software business; charging for support etc is the most
legitimate way of making money from software.

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: bsd vs gpl

2009-03-14 Thread Chris Rees
2009/3/11 David Kelly :
> On Wed, Mar 11, 2009 at 01:20:18AM -0700, prad wrote:
>> i've not paid much attention to licensing philosophy i the past,
>> because for me it was always windoze vs the goodguys.
>>
>> however, recently i've become aware of there being a chasm within the
>> goodguys in that the bsd attitude is do what you want as long as you
>> give credit to the creator, whereas the gpl folks say do what you want
>> as long as you keep it free.
>>
>> is this a fair summation?
>
> No, too simple.
>
> The source code is always free under BSD, contrary to what GPL
> proponents claim. Just that under BSD you are free to keep ownership of
> your own work. To decide how *you* wish to distribute. You may limit the
> redistribution of your work which includes BSD components. GPL people
> seem to forget the base BSD code is still free, its just that they want
> your enhancements too. Its a lesson in how to lie the way they claim
> this is somehow "free" and/or "freedom."
>
> GPL states that if you make changes those changes must be made available
> under the same terms as the original source code. Yet somehow darlings
> of the GPL world such as Red Hat, MySQL, and others, skirt around that
> onerous requirement.
>
> --
> David Kelly N4HHE, dke...@hiwaay.net
> 
> Whom computers would destroy, they must first drive mad.
> ___
> 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"
>

Sorry, what do Red Hat et al do to 'skirt' around the requirements of
the GPL? They are some of the biggest supporters of free software.
They abide by the letter AND the spirit of the GPL. They are a model
free software business; charging for support etc is the most
legitimate way of making money from software.

Chris

-- 
R< $&h ! > $- ! $+  $@ $2 < @ $1 .UUCP. > (sendmail.cf)
___
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: issues in XFCE 4.6

2009-03-14 Thread Warren Block

On Sat, 14 Mar 2009, Keith Seyffarth wrote:



As i said the packages worked for me. Blow away the xfce and xorg ports
and do the xorg mega package and the xfce mega package. if that fails
then bkup your user data and install a clean virgin version of 7.1 and
the xorg and xfce packages.


It looks like this was a step in the WRONG direction. Having removed
XORG, it won't install. It appears that xorg requires xorg-drivers
(understandable), and xorg-drivers requires xf86-video-via (OK), and
xf86-video-via requires a PCI Video Card to be installed.

make clean install -k in x11-drivers/xorg-drivers will make
xorg-drivers install, but make clean install -k in x11/xorg won't
install because xf86-video-via is ignored.


That -k option to make is unnecessary and possibly bad.  Stop using it 
for now.


cd /usr/ports/x11/xorg
make clean
make config-recursive
(choose configuration for everything)
make install


Anyone have another suggestion? At this point, I need to get X
installed so I can even consider a window manager.


Instead of waiting for the ports to build, install the package:

pkg_add -r xorg

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: issues in XFCE 4.6

2009-03-14 Thread Erik Trulsson
On Sat, Mar 14, 2009 at 03:43:53PM -0600, Keith Seyffarth wrote:
> 
> > As i said the packages worked for me. Blow away the xfce and xorg ports 
> > and do the xorg mega package and the xfce mega package. if that fails 
> > then bkup your user data and install a clean virgin version of 7.1 and 
> > the xorg and xfce packages.
> 
> It looks like this was a step in the WRONG direction. Having removed
> XORG, it won't install. It appears that xorg requires xorg-drivers
> (understandable), and xorg-drivers requires xf86-video-via (OK), and
> xf86-video-via requires a PCI Video Card to be installed.

xorg-drivers requires the drivers it has been configured to depend on, which
does not necessarily include xf86-video-via.
Go to the xorg-drivers port and do a 'make config' to change which drivers
it will depend on.

> 
> make clean install -k in x11-drivers/xorg-drivers will make
> xorg-drivers install, but make clean install -k in x11/xorg won't
> install because xf86-video-via is ignored.
> 
> Anyone have another suggestion? At this point, I need to get X
> installed so I can even consider a window manager.
> 
> Keith S.
> ___
> 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"

-- 

Erik Trulsson
ertr1...@student.uu.se
___
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: issues in XFCE 4.6

2009-03-14 Thread Polytropon
On Sat, 14 Mar 2009 15:43:53 -0600 (MDT), Keith Seyffarth  wrote:
> Anyone have another suggestion? At this point, I need to get X
> installed so I can even consider a window manager.

What about using pkg_add for X and the other ports it depends
on? Check if the binary packages are "new enough" because they
may be dated some time behind the freshly updated ports tree.
Usually, pkg_add -r will install all dependencies.



-- 
Polytropon
>From 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: issues in XFCE 4.6

2009-03-14 Thread Keith Seyffarth

> As i said the packages worked for me. Blow away the xfce and xorg ports 
> and do the xorg mega package and the xfce mega package. if that fails 
> then bkup your user data and install a clean virgin version of 7.1 and 
> the xorg and xfce packages.

It looks like this was a step in the WRONG direction. Having removed
XORG, it won't install. It appears that xorg requires xorg-drivers
(understandable), and xorg-drivers requires xf86-video-via (OK), and
xf86-video-via requires a PCI Video Card to be installed.

make clean install -k in x11-drivers/xorg-drivers will make
xorg-drivers install, but make clean install -k in x11/xorg won't
install because xf86-video-via is ignored.

Anyone have another suggestion? At this point, I need to get X
installed so I can even consider a window manager.

Keith S.
___
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: Bizarre behaviour of Linux binary under 7.1

2009-03-14 Thread Boris Samorodov
On 14 Mar 2009 18:09:03 + Christopher Key wrote:
> On Mar 14 2009, Boris Samorodov wrote:

> >Please, compare /compat/linux/ directory structures between an
> >old and new installation.
> >
> >It seems to me that you have /compat/linux/tmp directory at the
> >new one. It shouldn't exist.

> Thanks Boris,

> On the new installation, I do have a /compat/linux/tmp, which I didn't
> on the previous installation, and the removal of which fixed the
> problem.

OK, glad to hear it.

> Do you have any idea what might have caused its creation?

None that I'm aware of.

> The other difference between the two installation is that previously
> /compat was symlinked to /usr/compat, whereas on the new system, the
> contents of /compat is all on my root partition. I guess that this is
> probably not desirable and should be fixed.

Yes.

> The previous installation was done entirely with sysinstall, including
> the partitioning, but this time I wanted to install straight into a
> gpt'd mirrored drive. I booted into mfsbsd, created partitions and
> mounted the structure under /mnt, then ran sysinstall (and chose /mnt
> as the install target). Perhaps I should have set up various symlinks
> whilst I was at it. Are there likely to be any other similar problems?

As for me so far I've never used gpt and always use sysinstall. Hence no
help from me here...


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
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: the pause that removes

2009-03-14 Thread Wojciech Puchar



indeed. FreeBSD actually postpones free space bitmap update. after
deleting many gigs of files you'll see disk working after a while.


excellent!
so is this a freebsd thing or a ufs filesystem thing?


for sure FreeBSD implementation of UFS ;)

i'm not sure how about UFS on other OS.
___
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: the pause that removes

2009-03-14 Thread prad
On Sat, 14 Mar 2009 20:34:39 +0100 (CET)
Wojciech Puchar  wrote:

> indeed. FreeBSD actually postpones free space bitmap update. after 
> deleting many gigs of files you'll see disk working after a while.
>
excellent!
so is this a freebsd thing or a ufs filesystem thing?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: the pause that removes

2009-03-14 Thread Wojciech Puchar


I've been under the impression that this (fast deletes) had something


indeed. FreeBSD actually postpones free space bitmap update. after 
deleting many gigs of files you'll see disk working after a while.

___
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: the pause that removes

2009-03-14 Thread andrew clarke
On Thu 2009-03-12 22:37:13 UTC-0700, prad (p...@towardsfreedom.com) wrote:

> one of the neat things i've found about freebsd vs linux is the
> 'instantaneous' rm.
> 
> when you remove a large file or a substantial directory, freebsd does
> it right away ard you get your prompt back, while with every linux i've
> tried, you wait and wait and wait.
> 
> i presume freebsd just takes the pointer to the file out so it can be
> overwritten, while may be the linuxes fill stuff with zeros or
> something like that??
> 
> is this instantaneity a result of the ufs file system vs say ext3 or
> reiser?

I've been under the impression that this (fast deletes) had something
to do with the "soft updates" feature of UFS.  Although, the Wikipedia
page doesn't talk about deleting files in particular, so I could be
completely wrong about that.

http://en.wikipedia.org/wiki/Soft_updates
___
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: Bizarre behaviour of Linux binary under 7.1

2009-03-14 Thread Christopher Key

On Mar 14 2009, Boris Samorodov wrote:



Please, compare /compat/linux/ directory structures between an
old and new installation.

It seems to me that you have /compat/linux/tmp directory at the
new one. It shouldn't exist.


WBR



Thanks Boris,

On the new installation, I do have a /compat/linux/tmp, which I didn't on 
the previous installation, and the removal of which fixed the problem. Do 
you have any idea what might have caused its creation?


The other difference between the two installation is that previously 
/compat was symlinked to /usr/compat, whereas on the new system, the 
contents of /compat is all on my root partition. I guess that this is 
probably not desirable and should be fixed.


The previous installation was done entirely with sysinstall, including the 
partitioning, but this time I wanted to install straight into a gpt'd 
mirrored drive. I booted into mfsbsd, created partitions and mounted the 
structure under /mnt, then ran sysinstall (and chose /mnt as the install 
target). Perhaps I should have set up various symlinks whilst I was at it. 
Are there likely to be any other similar problems?



Kind Regards,

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: the pause that removes

2009-03-14 Thread prad
On Sat, 14 Mar 2009 11:02:48 -0400
Lowell Gilbert  wrote:

> I've never noticed that large directory trees were "instantaneous" to
> remove on any filesystem.
>
that's true too. even fbsd isn't really quick on large trees, but on
large files, i get to use my prompt much faster than i do with say
debian.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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"


Portinstall insists on rebuilding openldap client

2009-03-14 Thread Robert Fitzpatrick
I was trying to install samba and it keeps wanting to build the openldap
client package that I already have installed. I really don't want to
mess with that as it is also supporting other packages for the mail
system. Why would it be wanting to build a package that is already
installed?

mx1# ls /var/db/pkg | grep ldap
openldap-sasl-client-2.3.43
openldap-sasl-server-2.3.43
p5-perl-ldap-0.34
php5-ldap-5.2.5_1
phpldapadmin-1.1.0.5_1,1
mx1# portinstall samba
--->  Found 3 ports matching 'samba':
net/samba3
net/samba32
net/samba33
Install 'net/samba3'? [yes] no
Install 'net/samba32'? [yes] no
Install 'net/samba33'? [yes]   
[Gathering depends for net/samba33 
 done]
--->  Installing 'openldap-sasl-client-2.3.43' from a port 
(net/openldap23-client)
--->  Building '/usr/ports/net/openldap23-client'
===>  Cleaning for openldap-sasl-client-2.3.43
===>  Vulnerability check disabled, database not found
===>  Extracting for openldap-sasl-client-2.3.43
=> MD5 Checksum OK for openldap-2.3.43.tgz.
=> SHA256 Checksum OK for openldap-2.3.43.tgz
-- 
Robert

see what I'm up to on my Live Journal tech blog at
--> http://saintcolumbus.livejournal.com

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


Unlimited storage?

2009-03-14 Thread Roger Olofsson

Dear Mailing List,

What would this look like for FreeBSD?

---
Many servers with local HDs
One (1) storage for all servers using local HDs on all servers (RAID)
File system that allows growth (also negative growth)
---

What components and software would be required?


/R

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


Re: best archiver? (for music)

2009-03-14 Thread ChenLong

I use ape :)
___
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: Logcheck errors after cvsup

2009-03-14 Thread Marco Beishuizen
On Saturday 14 March 2009 14:35:36 Patrick Lamaizière wrote:
> Le Sat, 14 Mar 2009 10:48:58 +0100,
>
> Marco Beishuizen :
> > I cvsupped my portstree yesterday and updated my system with
> > portupgrade -a. All went well except for logcheck. Since the cvsup I
> > don't receive the normal hourly mail with the results of the checking
> > in my mailbox but the following (the subject of the mail is: Cron
> >  if [ -x /usr/local/sbin/logcheck ]; then nice
> > -n10 /usr/local/sbin/logcheck; fi):
> >
> > /usr/local/sbin/logcheck: command substitution: line 49: syntax error
> > near unexpected token `)'
>
> I guess it is related to the recent bash upgrade.
>
> Check the ports@ mailing list, there are some topics about bash4. Looks
> like it is broken.
>
> Regards.

Yes, bash seems to be the problem. I deinstalled bash 4 and reinstalled 3. 
Logcheck now works again.

I guess I will follow the bash developments.

Thanks for the help.

-- 
KANSAS:
Where the men are men and so are the women!
___
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: Bizarre behaviour of Linux binary under 7.1

2009-03-14 Thread Boris Samorodov
On 14 Mar 2009 12:29:39 + Christopher Key wrote:

> After appropriate use of truss invoking B directly, I found that the
> source of problems was B being unable to create its output file
> /tmp/...:

> linux_open("/tmp/1234.tmp",0x42,0600)ERR#13 'Permission denied'

> which is odd.  /tmp has suitable permissions:

> #ls -al /tmp
> drwxrwxrwt  12 root   wheel  720 14 Mar 11:25 .
> drwxr-xr-x  21 root   wheel  512 13 Mar 10:32 ..
> ...

> and I can quite happily create a identically named file in /tmp myself:
> #echo test >/tmp/1234.tmp
> #cat /tmp/1234.tmp
> test
> #rm /tmp/1234.tmp

Please, compare /compat/linux/ directory structures between an
old and new installation.

It seems to me that you have /compat/linux/tmp directory at the
new one. It shouldn't exist.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Anyone runs 7.1 with an IBM X3650 (64 bits ARCH) ?

2009-03-14 Thread Artis Caune
2009/3/13 Frank Bonnet :
> Hello
>
> Everything is in the subject :-)
>
> Thanks for any infos
>
> Purpose is migration of a mailhub

We have some weird problems with sata disks, sas works just great.
(ServeRAID 8k)
3Gbps not working, we get lot of aac cmd timeouts. IBM support cooked
new firmwares, no help, raid bios is now loading 3-4 minutes, finaly
they told to switch to 1.5Gbps. Works better, but anyway, we have
replaced 2 disks in last 6 months and now one is waiting for
replacement because of:
   aacd0: hard error cmd=write fsbn 455142322

btw, linux is freezing on ours x3650+sata (even their supported red
hat or whatever it was) :)
IBM support have also replaced IBM sata disks to non-IBM sata disks
for 15 x3550 boxes, works fine.

Before sata, we have only sas disks, no problems, ever.




-- 
regards,
Artis Caune

<. CCNA | BSDA
<|
<' didii FreeBSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: the pause that removes

2009-03-14 Thread Lowell Gilbert
prad  writes:

> one of the neat things i've found about freebsd vs linux is the
> 'instantaneous' rm.
>
> when you remove a large file or a substantial directory, freebsd does
> it right away ard you get your prompt back, while with every linux i've
> tried, you wait and wait and wait.
>
> i presume freebsd just takes the pointer to the file out so it can be
> overwritten, while may be the linuxes fill stuff with zeros or
> something like that??
>
> is this instantaneity a result of the ufs file system vs say ext3 or
> reiser?

I've never noticed that large directory trees were "instantaneous" to
remove on any filesystem.  I haven't done any benchmarks, either,
though.  I'm not going to accept it as a real FreeBSD advantage unless I
saw some solid benchmarks...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: issues in XFCE 4.6

2009-03-14 Thread Keith Seyffarth
> As i said the packages worked for me. Blow away the xfce and xorg ports 
> and do the xorg mega package and the xfce mega package. if that fails 
> then bkup your user data and install a clean virgin version of 7.1 and 
> the xorg and xfce packages.

Does anyone have an option other than blowing away XORG? I'd really
rather not spend the next several days trying to get XORG installed
again.

Really, if there's just a command line way to get to the XFCE settings
and change the resolution, it would probably be usable. I'm really not
too concerned about broken icons.

Keith S.
___
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: Bizarre behaviour of Linux binary under 7.1

2009-03-14 Thread Christopher Key

On Mar 14 2009, Michael Powell wrote:


Christopher Key wrote:


Hello,

I recently upgraded from 6.3 (i386) to 7.1p3 (amd64) with a view to 
experimenting with zfs. Mostly, everything went smoothly, but I am 
getting some very odd behaviour from a linux utility.


The program is very simple, it has two executables, A and B. A is 
invoked by the user, and based upon the options given builds a list of 
files to process. B is then repeatedly invoked by A with the name of a 
file to process, and the name of a non existent file to write the 
results to. When B returns, A reads the results from the output file, 
deletes it and moves on.


This all worked fine on 6.3, but cannot be made to work as intended on
7.1.

After appropriate use of truss invoking B directly, I found that the
source of problems was B being unable to create its output file /tmp/...:

linux_open("/tmp/1234.tmp",0x42,0600)ERR#13 'Permission
denied'

which is odd.  /tmp has suitable permissions:

#ls -al /tmp
drwxrwxrwt  12 root   wheel  720 14 Mar 11:25 .
drwxr-xr-x  21 root   wheel  512 13 Mar 10:32 ..
...

and I can quite happily create a identically named file in /tmp myself:
#echo test >/tmp/1234.tmp
#cat /tmp/1234.tmp
test
#rm /tmp/1234.tmp



Bizarrely, however, if I instead invoke B and request its output go to
/var/tmp/... instead of /tmp/..., it completes successfully.

As a temporary workaround, I therefore tried to create a wrapper around 
B:


#mv /usr/local/bin/B /usr/local/bin/B2

#cat /usr/local/bin/B #!/bin/sh B2 "$1" "$2" "/var$3" mv "/var$3" "$3"


the idea being that the file would be written to /var/tmp/... by (as now)
B2, then moved across by my script to where it was expected.

When invoked directly, this works quite happily. However, even more
bizarrely, when I now call A, allowing it to invoke (my) B, I get exactly
the same behaviour from my wrapper script as (the original) B was showing
previously, specifically, it is unable to create the file /tmp/

As a final workaround, I inserted instead added a sleep to my script in
place of mv ..., and instead had an external process detect the presence
of /var/tmp/... and move it across to /tmp. This, unsurprisingly, worked.

Interestingly, if I rewrote my wrapper script to,

B2 "$1" "$2" "/var$3"
sleep 3
cat "/var$3" > "$3" && rm "/var$3"

and had the external process simply touch /tmp/..., my wrapper script
worked, suggesting that the permissions problem is to do with creating a
new file, not writing to an existing one.


A few final points:
I've tried both an md based /tmp and tmpfs with the same result.
Everything worked perfectly on 6.3 i386.
If I run A as root, everything works without error.

My guess is that there's something a bit strange in linux_compat, either
as a result of going to amd64 or to 7.1, and that affects both linux
executables, and any processes that they create, but I'm not really sure
beyond that. Can anyone shed any light on what might be going on?


Kind Regards,

Christopher Key



Whenever you do an upgrade between major versions there is ABI breakage. 
This necessitates either the rebuild of all installed ports or 
deleting/reinstalling. 

Since my needs are relatively simple from a server perspective when I 
change from one major version to another I start over from scratch and 
then pull in configs from backups. When upgrading within a major version 
this is not required, e.g., from 7.0 to 7.1 or 6.3 to 6.4. It's only a 
consideration when it is a jump like 6.x to 7.x.


The other approach is to use portupgrade to force all ports to be rebuilt 
linked against 7.x libs. One thing to watch out for is if you're not 
careful it is possible for some ports in a dependency chain to not be 
rebuilt and still linked against 6.x and some do get rebuilt linked 
against the new 7.x libs. This can give you flaky behavior. Byt forcing a 
massive upgrade/rebuild of everything causes all ports will get linked 
against 7.x libs during the rebuild.


Don't know if this is the source of your problem, but it may be something 
you can easily rule out.  



Thanks Mike,

This was a fresh install to an effectively clean disk. I then csupped and 
rebuilt with a custom kernel, before installing ports. The application in 
question isn't in the ports tree, and distributed in binary form, 
containing only the two executables. If relevant, I'm using linux_base-fc4.


Having written the above, it occurs to me that I should probably try a 
generic kernel too. I'll give that a go and report back.


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: Logcheck errors after cvsup

2009-03-14 Thread Patrick Lamaizière
Le Sat, 14 Mar 2009 10:48:58 +0100,
Marco Beishuizen :

> I cvsupped my portstree yesterday and updated my system with
> portupgrade -a. All went well except for logcheck. Since the cvsup I
> don't receive the normal hourly mail with the results of the checking
> in my mailbox but the following (the subject of the mail is: Cron
>  if [ -x /usr/local/sbin/logcheck ]; then nice
> -n10 /usr/local/sbin/logcheck; fi):
> 
> /usr/local/sbin/logcheck: command substitution: line 49: syntax error
> near unexpected token `)'

I guess it is related to the recent bash upgrade.

Check the ports@ mailing list, there are some topics about bash4. Looks
like it is broken.

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"


Re: boot loader I/O through ethernet

2009-03-14 Thread Wojciech Puchar

question.

More and more systems are made without serial ports these days. This means I

can't access the loader prompt on FreeBSD without a monitor and keyboard,
which
is an annoyance. So my question is, is there a way to channel input and
output of
the loader through LAN / Ethernet by software only and somehow receiving it
on the
other side? Thanks in advance.

Regards,
FreeBSD can be PXE booted, but as it's PC, you have to connect keyboard 
and monitor to change BIOS settings to PXE.


It's as stupid as "keyboard not detected, press F1 to continue"

But it's PC anyway ;)
___
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: Bizarre behaviour of Linux binary under 7.1

2009-03-14 Thread Michael Powell
Christopher Key wrote:

> Hello,
> 
> I recently upgraded from 6.3 (i386) to 7.1p3 (amd64) with a view to
> experimenting with zfs. Mostly, everything went smoothly, but I am getting
> some very odd behaviour from a linux utility.
> 
> The program is very simple, it has two executables, A and B. A is invoked
> by the user, and based upon the options given builds a list of files to
> process. B is then repeatedly invoked by A with the name of a file to
> process, and the name of a non existent file to write the results to. When
> B returns, A reads the results from the output file, deletes it and moves
> on.
> 
> This all worked fine on 6.3, but cannot be made to work as intended on
> 7.1.
> 
> After appropriate use of truss invoking B directly, I found that the
> source of problems was B being unable to create its output file /tmp/...:
> 
> linux_open("/tmp/1234.tmp",0x42,0600)ERR#13 'Permission
> denied'
> 
> which is odd.  /tmp has suitable permissions:
> 
> #ls -al /tmp
> drwxrwxrwt  12 root   wheel  720 14 Mar 11:25 .
> drwxr-xr-x  21 root   wheel  512 13 Mar 10:32 ..
> ...
> 
> and I can quite happily create a identically named file in /tmp myself:
> #echo test >/tmp/1234.tmp
> #cat /tmp/1234.tmp
> test
> #rm /tmp/1234.tmp
> 
> 
> 
> Bizarrely, however, if I instead invoke B and request its output go to
> /var/tmp/... instead of /tmp/..., it completes successfully.
> 
> As a temporary workaround, I therefore tried to create a wrapper around B:
> 
> #mv /usr/local/bin/B /usr/local/bin/B2
> 
> #cat /usr/local/bin/B #!/bin/sh B2 "$1" "$2" "/var$3" mv "/var$3" "$3"
> 
> 
> the idea being that the file would be written to /var/tmp/... by (as now)
> B2, then moved across by my script to where it was expected.
> 
> When invoked directly, this works quite happily. However, even more
> bizarrely, when I now call A, allowing it to invoke (my) B, I get exactly
> the same behaviour from my wrapper script as (the original) B was showing
> previously, specifically, it is unable to create the file /tmp/
> 
> As a final workaround, I inserted instead added a sleep to my script in
> place of mv ..., and instead had an external process detect the presence
> of /var/tmp/... and move it across to /tmp. This, unsurprisingly, worked.
> 
> Interestingly, if I rewrote my wrapper script to,
> 
> B2 "$1" "$2" "/var$3"
> sleep 3
> cat "/var$3" > "$3" && rm "/var$3"
> 
> and had the external process simply touch /tmp/..., my wrapper script
> worked, suggesting that the permissions problem is to do with creating a
> new file, not writing to an existing one.
> 
> 
> A few final points:
> I've tried both an md based /tmp and tmpfs with the same result.
> Everything worked perfectly on 6.3 i386.
> If I run A as root, everything works without error.
> 
> My guess is that there's something a bit strange in linux_compat, either
> as a result of going to amd64 or to 7.1, and that affects both linux
> executables, and any processes that they create, but I'm not really sure
> beyond that. Can anyone shed any light on what might be going on?
> 
> 
> Kind Regards,
> 
> Christopher Key
> 

Whenever you do an upgrade between major versions there is ABI breakage. 
This necessitates either the rebuild of all installed ports or 
deleting/reinstalling. 

Since my needs are relatively simple from a server perspective when I change 
from one major version to another I start over from scratch and then pull in 
configs from backups. When upgrading within a major version this is not 
required, e.g., from 7.0 to 7.1 or 6.3 to 6.4. It's only a consideration 
when it is a jump like 6.x to 7.x.

The other approach is to use portupgrade to force all ports to be rebuilt 
linked against 7.x libs. One thing to watch out for is if you're not careful 
it is possible for some ports in a dependency chain to not be rebuilt and 
still linked against 6.x and some do get rebuilt linked against the new 7.x 
libs. This can give you flaky behavior. Byt forcing a massive 
upgrade/rebuild of everything causes all ports will get linked against 7.x 
libs during the rebuild.

Don't know if this is the source of your problem, but it may be something 
you can easily rule out.  

-Mike






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


Re: sys/vimage.h and net/opt_inet6 not exist on 7.1 release?

2009-03-14 Thread Nikos Vassiliadis

Jacky Oh wrote:

Hi,

Im trying to compile sys/netinet/ip_fw_pfil.c as example of KLD
firewall module. This file include net/opt_inet6.h and sys/vimage.h but the
compiler dont find it. This files seems that was deleted from the source
tree.

Anyone know something?. Thanks


sys/vimage.h is not part of the RELENG_7 branch. So, it's not
referenced in the RELENG_7 ip_fw_pfil.c.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip_fw_pfil.c?only_with_tag=RELENG_7

Do you by any chance have mixed up branches(HEAD and RELENG_7).
Did you get ip_fw_pfil.c from HEAD?

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


Re: best archiver? (for music)

2009-03-14 Thread Wojciech Puchar
For the same reason, you do not convert between lossy formats. Each might 
give different kinds of artifacts that you do not want to combine. (Of


especially true with mp3 and ogg

Are you sure you can hear the difference between your flac originals and 
"--preset standard" lame encoded mp3? Consider a "double blind" test.


i'm almost sure he can't.

I have never tested if I can hear the difference between an mp3 that come 
from the original or an mp3 that comes from a higher bitrate ogg. Actually, I


for me - hearing the difference between mp3 @ 128kbit CBR (compressed with 
lame) and uncompressed is on the edge of detection.


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


Bizarre behaviour of Linux binary under 7.1

2009-03-14 Thread Christopher Key

Hello,

I recently upgraded from 6.3 (i386) to 7.1p3 (amd64) with a view to 
experimenting with zfs. Mostly, everything went smoothly, but I am getting 
some very odd behaviour from a linux utility.


The program is very simple, it has two executables, A and B. A is invoked 
by the user, and based upon the options given builds a list of files to 
process. B is then repeatedly invoked by A with the name of a file to 
process, and the name of a non existent file to write the results to. When 
B returns, A reads the results from the output file, deletes it and moves 
on.


This all worked fine on 6.3, but cannot be made to work as intended on 7.1.

After appropriate use of truss invoking B directly, I found that the source 
of problems was B being unable to create its output file /tmp/...:


linux_open("/tmp/1234.tmp",0x42,0600)ERR#13 'Permission denied'

which is odd.  /tmp has suitable permissions:

#ls -al /tmp
drwxrwxrwt  12 root   wheel  720 14 Mar 11:25 .
drwxr-xr-x  21 root   wheel  512 13 Mar 10:32 ..
...

and I can quite happily create a identically named file in /tmp myself:
#echo test >/tmp/1234.tmp
#cat /tmp/1234.tmp
test
#rm /tmp/1234.tmp



Bizarrely, however, if I instead invoke B and request its output go to 
/var/tmp/... instead of /tmp/..., it completes successfully.


As a temporary workaround, I therefore tried to create a wrapper around B:

#mv /usr/local/bin/B /usr/local/bin/B2

#cat /usr/local/bin/B #!/bin/sh B2 "$1" "$2" "/var$3" mv "/var$3" "$3"


the idea being that the file would be written to /var/tmp/... by (as now) 
B2, then moved across by my script to where it was expected.


When invoked directly, this works quite happily. However, even more 
bizarrely, when I now call A, allowing it to invoke (my) B, I get exactly 
the same behaviour from my wrapper script as (the original) B was showing 
previously, specifically, it is unable to create the file /tmp/


As a final workaround, I inserted instead added a sleep to my script in 
place of mv ..., and instead had an external process detect the presence of 
/var/tmp/... and move it across to /tmp. This, unsurprisingly, worked.


Interestingly, if I rewrote my wrapper script to,

B2 "$1" "$2" "/var$3"
sleep 3
cat "/var$3" > "$3" && rm "/var$3"

and had the external process simply touch /tmp/..., my wrapper script 
worked, suggesting that the permissions problem is to do with creating a 
new file, not writing to an existing one.



A few final points:
I've tried both an md based /tmp and tmpfs with the same result.
Everything worked perfectly on 6.3 i386.
If I run A as root, everything works without error.

My guess is that there's something a bit strange in linux_compat, either as 
a result of going to amd64 or to 7.1, and that affects both linux 
executables, and any processes that they create, but I'm not really sure 
beyond that. Can anyone shed any light on what might be going on?



Kind Regards,

Christopher Key

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


Re: best archiver? (for music)

2009-03-14 Thread Jan Henrik Sylvester

Gary Kline wrote:
> my hearing is exceptionally good and while call myself an audiophile,
[...]
> lectures.  when i tried to cut the quality even by a bit it was
> evident immediately.  rar compresses these file to

If you care for quality (and call yourself an audiophile), you should 
read up on what you are doing before you start it.


To compare different compression rates, you have to do both from the 
original. Applying lossy compression twice -- even with the same codec 
-- might give you artifacts that will not appear with just one run.


For the same reason, you do not convert between lossy formats. Each 
might give different kinds of artifacts that you do not want to combine. 
(Of course, this does not really contradict the suggestions you got to 
try speex if you want to do a major reduction of bitrate for your voice 
mp3 files to save space.)


The difference between lame with good settings and a bad mp3 encoder is 
probably bigger than between some better codec and mp3. Considering 
that, you should always stick to some "--preset *" options with lame, if 
you do not know better.


Are you sure you can hear the difference between your flac originals and 
"--preset standard" lame encoded mp3? Consider a "double blind" test.


This is probably all in the lame FAQ or similar sources.

I do keep flac files after ripping CDs, too, but not because I think I 
can hear the difference between them and the ogg vorbis files I produce. 
I rather like the option to go to a different lossy format someday. (I 
must admit that I have never tested if I can hear the difference between 
an mp3 that come from the original or an mp3 that comes from a higher 
bitrate ogg. Actually, I doubt it.)


I really do not see the point in saving one or two percent space by 
applying lzma/7z, rar, or similar compression. The savings in 
electricity by not doing that are better invested in a new hard drive. ;-)


BTW: lzma is the default compression of 7z. GNU tar offers lzma, too, 
but without the 7z container. If you look at archivers/gtar history, you 
will see that it seems not to have finalized on the library (and 
format?): 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/gtar/Makefile.diff?r1=1.63;r2=1.64


I am not an expert at all. You better read the lame (and ogg, speex, 
...) manual and FAQ yourself that is hopefully written by some "expert".


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


Re: error in php5 make install

2009-03-14 Thread Fbsd1

Peter wrote:


Fbsd1 wrote:

Turn off all options accept Apache module

===>   php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   php5-5.2.9 depends on executable: pkg-config - found
===>   php5-5.2.9 depends on shared library: xml2.5 - found
===>  Configuring for php5-5.2.9
cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such
file or directory
*** Error code 2

Script didn't even look for m4 dependent. m4 is installed already.



are you using root account when performing the install ?

Type: id, this will give you the current account you are using.


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



Yes i am using root to install.

I fixed the problem by doing make clean  then make install.
Must have been trash left over from first try.
It worked ok now.
Thanks any way.
___
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: boot loader I/O through ethernet

2009-03-14 Thread Olivier Nicole
Hi,

> More and more systems are made without serial ports these days. This means I
> 
> can't access the loader prompt on FreeBSD without a monitor and keyboard,
> which
> is an annoyance. So my question is, is there a way to channel input and
> output of
> the loader through LAN / Ethernet by software only and somehow receiving it
> on the
> other side? Thanks in advance.

I may be wrong but...

I think that depends on the hardware (and the BIOS), not on the
specific OS that you are using.

The loader is in charge of loading the OS, it is not possible to
launch a redirection program at the loader stage.

Any plateform that do not offer PS/2 port (but I expet them to offer
USB port anyway) will offer some kind of keayboard/screen redirection
(on serial, ethernet...)

Bests,

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


boot loader I/O through ethernet

2009-03-14 Thread Cipta H
Hello,

First of all, I'm new around here so please forgive me if I asked a stupid
question.

More and more systems are made without serial ports these days. This means I

can't access the loader prompt on FreeBSD without a monitor and keyboard,
which
is an annoyance. So my question is, is there a way to channel input and
output of
the loader through LAN / Ethernet by software only and somehow receiving it
on the
other side? Thanks in advance.

Regards,

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


make installworld fails on RELEASE6.4 amd64

2009-03-14 Thread Olivier Nicole
Hi,

I am facing a problem that I cannot solve when trying to reinstall
wolrd on 6.4 amd 64.

On a brand new machine (Dell powerEdge 2950) I install RELEASE 6.4 amd64:

   FreeBSD ufo2.cs.ait.ac.th 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed
   Nov 26 08:37:42 UTC 2008
   r...@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64

Then I buildworld.

Reboot in single user, adjkerntz -i

Then make installworld and it fails with:

===> sys/boot/i386/boot2 (install)
cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer  
-fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2  -DUFS1_AND_UFS2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3 
 -DSIOSPD=9600  -I/usr/src/sys/boot/i386/boot2/../../common  
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return 
-Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings 
-ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse 
-mno-sse2 -m32 -march=i386  -S -o boot2.s.tmp 
/usr/src/sys/boot/i386/boot2/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
as  --32 -o boot2.o boot2.s
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o 
boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b 
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld 
-P 1 boot2.bin
btxld:No such file or directory
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

I don't see any reason why installworld is trying to rebuild boot2.s


Below are extracts of what has been going on...
--
Part of buildworld

===> sys/boot/i386/boot2 (all)
objcopy -S -O binary boot1.out boot1
dd if=/dev/zero of=boot2.ldr bs=276 count=1
1+0 records in
1+0 records out
276 bytes transferred in 0.44 secs (6291456 bytes/sec)
cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer  
-fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2  -DUFS1_AND_UFS2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3 
 -DSIOSPD=9600  -I/usr/src/sys/boot/i386/boot2/../../common  
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return 
-Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings 
-ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse 
-mno-sse2 -m32 -march=i386  -S -o boot2.s.tmp 
/usr/src/sys/boot/i386/boot2/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
as  --32 -o boot2.o boot2.s
cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer  
-fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2  -DUFS1_AND_UFS2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3 
 -DSIOSPD=9600  -I/usr/src/sys/boot/i386/boot2/../../common  
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return 
-Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings 
-ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse 
-mno-sse2 -m32 -march=i386  -c /usr/src/sys/boot/i386/boot2/sio.S
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o 
boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b 
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld 
-P 1 boot2.bin
kernel: ver=1.02 size=680 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=14f9 text=0 data=0 bss=0 entry=0
output: fmt=bin size=1c8d text=114 data=1b79 org=0 entry=0
371 bytes available
dd if=boot2.ld of=boot2 obs=7680 conv=osync
14+1 records in
1+0 records out
7680 bytes transferred in 0.61 secs (125829120 bytes/sec)
cat boot1 boot2 > boot

produces the files in /usr/obj/usr/src/sys/boot/i386/boot2:

total 94
lrwxr-xr-x  1 root  wheel 50 Mar 14 15:26 machine -> 
/usr/src/sys/boot/i386/boot2/../../../i386/include
-rw-r--r--  1 root  wheel 23 Mar 14 15:26 boot2.h
-rwxr-xr-x  1 root  wheel   2345 Mar 14 15:26 boot1.out
-rw-r--r--  1 root  wheel   2316 Mar 14 15:26 boot1.o
-rw-r--r--  1 root  wheel   2056 Mar 14 15:26 .depend
-rw-r--r--  1 root  wheel   1028 Mar 14 15:39 sio.o
-rw-r--r--  1 root  wheel  26549 Mar 14 15:39 boot2.s
-rwxr-xr-x  1 root  wheel   8059 Mar 14 15:39 boot2.out
-rw-r--r--  1 root  wheel   9080 Mar 14 15:39 boot2.o
-rw-r--r--  1 root  wheel276 Mar 14 15:39 boot2.ldr
-rw-r--r--  1 root  wheel   7309 Mar 14 15:39 boot2.ld
-rwxr-xr-x  1 root  wheel   5369 Mar 14 15:39 boot2.bin
-rw-r--r--  1 root  wheel   7680 Mar 14 15:39 boot2
-rwxr-xr-x  1 root  wheel512 Mar 14 15:39 boot1
-rw

Re: sed error "unescaped newline inside substitute pattern"

2009-03-14 Thread Mike Clarke
On Friday 13 March 2009, David Banning wrote:

> Yes - I have control of that - so I could filter out the problem in
> php. The only problem is that I don't know what I am filtering.
> If I know exactly what the erroneous characters are I could filter
> them - I have looked at the file in vi but the problematic characters
> are invisible there.

Would the php addcslashes() function do what you need?



This results in:

string(42) "This\nis\nthe\ninput\nfrom the\nweb server" 

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


Logcheck errors after cvsup

2009-03-14 Thread Marco Beishuizen
Hi,

I cvsupped my portstree yesterday and updated my system with portupgrade -a. 
All went well except for logcheck. Since the cvsup I don't receive the normal 
hourly mail with the results of the checking in my mailbox but the following 
(the subject of the mail is: Cron  if 
[ -x /usr/local/sbin/logcheck ]; then nice -n10 /usr/local/sbin/logcheck; 
fi):

/usr/local/sbin/logcheck: command substitution: line 49: syntax error near 
unexpected token `)'
/usr/local/sbin/logcheck: command substitution: line 49: `date +'%Y-%m-%d %H:
%M')"'
/usr/local/sbin/logcheck: command substitution: line 530: syntax error near 
unexpected token `)'
/usr/local/sbin/logcheck: command substitution: line 530: `hostname -f)"'
/usr/local/sbin/logcheck: command substitution: line 621: syntax error near 
unexpected token `)'
/usr/local/sbin/logcheck: command substitution: line 621: 
`mktemp -d /tmp/logcheck.XX)'
mkdir: /cracking: Permission denied
/usr/local/sbin/logcheck: command substitution: line 145: syntax error near 
unexpected token `)'
/usr/local/sbin/logcheck: command substitution: line 145: `export)'
Null message body; hope that's ok
usage: rm [-f | -i] [-dIPRrvW] file ...
       unlink file


Has someon perhaps an idea what happened here? I couldn't find anything that 
suggested that the logcheck files had changed or something.

Thanks in advance for the help.

Marco

-- 
You will soon meet a person who will play an important role in your life.
___
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"


make buildworld in parallel

2009-03-14 Thread Olivier Nicole
Hi,

Is it valid to use the option -j in the make of buildworld? Like:

make -j 8 buildworld

TIA

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


Re: best archiver? (for music)

2009-03-14 Thread Wojciech Puchar


There is a special codec for speech. You'll find it the
audio/speex port. From the pkg-descr:


actually i use it with asterisk - at about 15kbps (VBR) there are audible 
differences between this and standard 64kbps a-law - but the differences 
are POSITIVE - speech sounds clearer!




 The Speex is a patent-free, Open Source/Free Software voice codec.
 Unlike other codecs like MP3 and Ogg Vorbis, Speex is designed to
 compress voice at bitrates in the 2-45 kbps range.  Possible
 applications include VoIP, Internet audio streaming, archiving of
 speech data (e.g. voice mail), and audio books. In some sense, it is
 meant to be complementary to the Ogg Vorbis codec.

This might perform better at compressing lectures.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


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


Re: best archiver? (for music)

2009-03-14 Thread Roland Smith
On Fri, Mar 13, 2009 at 08:05:59PM -0700, Gary Kline wrote:
> > lame -h -V 3 - nobody could tell the difference, it gives <200kbps bitrate
> > lame -h -b 192 - as above
> > lame -h -b 128 - they were able to tell difference, but not on all 
> > music/songs
> > 
> > lame -h -b 96 - i was able to tell the difference on every song, but it 
> > wasn't really huge deal.

>   my hearing is exceptionally good and while call myself an
>   audiophile,  having all my tunes right here at fingertips is 
>   a major win.  having said that, can you point me to a basic
>   tutorial on lame? 

man lame

>   i've got 1581620 blocks of mp3 @ 128kbit.
>   lectures.  when i tried to cut the quality even by a bit it was
>   evident immediately.  rar compresses these file to
>   1482404 blocks very very slowly.  it probably makes sense to just
>   burn the mp3 files to a dvd and be safe.  

There is a special codec for speech. You'll find it the
audio/speex port. From the pkg-descr:

  The Speex is a patent-free, Open Source/Free Software voice codec.
  Unlike other codecs like MP3 and Ogg Vorbis, Speex is designed to
  compress voice at bitrates in the 2-45 kbps range.  Possible
  applications include VoIP, Internet audio streaming, archiving of
  speech data (e.g. voice mail), and audio books. In some sense, it is
  meant to be complementary to the Ogg Vorbis codec.

This might perform better at compressing lectures.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpaSmqhF33K3.pgp
Description: PGP signature


Re: error in php5 make install

2009-03-14 Thread Peter


Fbsd1 wrote:
> Turn off all options accept Apache module
> 
> ===>   php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found
> ===>   php5-5.2.9 depends on executable: pkg-config - found
> ===>   php5-5.2.9 depends on shared library: xml2.5 - found
> ===>  Configuring for php5-5.2.9
> cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such
> file or directory
> *** Error code 2
> 
> Script didn't even look for m4 dependent. m4 is installed already.


are you using root account when performing the install ?

Type: id, this will give you the current account you are using.


Peter
___
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: Anonymizer tool like Tor?

2009-03-14 Thread Wojciech Puchar

through a GELI encrypted GEOM. (No plain-text ever touches the disk.)


much better - use keyboard password.


Edit the rc.conf file to spoof the Ethernet (MAC) hardware address to
be a new pseudo-random value at each boot. Configure the system to
automatically receive an IP address via DHCP. Dissable the wireless
card. (Most have a physical switch.) Boot the system with the USB
stick at home. Leave the USB stick at home! Plug the laptop it into a
cigarette lighter adapter in your car. Go perusing through urban areas
during daylight hours looking for un-secured wireless networks. (There
are many to be found.) Once you find a connection, do your business.


this works well in Poland.
___
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: issues in XFCE 4.6

2009-03-14 Thread Fbsd1

Keith Seyffarth wrote:
Your problem is not xfce but xorg. It went through massive changes in 
7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add
Option "AllowEmptyInput" "Off" statement as last line in "ServerLayout" 
section. Doing console command Xorg -config /etc/X11/xorg.conf will 
build you one.  By the way i used the package version of xfce4 on 7.1 
and it's working just fine after i added the above xorg fixes.


That line was already in xorg.conf (it was necessary to get a mouse to
work after the last xorg update in January). However, I did not have
it as the last line in the ServerLayout section. I moved it to the
last line, but that didn't make a difference.

There's still no XFCE menu, and without the ability to update the
settings in XFCE, it's pretty much unusable...

Keith


As i said the packages worked for me. Blow away the xfce and xorg ports 
and do the xorg mega package and the xfce mega package. if that fails 
then bkup your user data and install a clean virgin version of 7.1 and 
the xorg and xfce packages.

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