Re: [gentoo-user] What is the best audio system?

2012-02-28 Thread YoYo Siska
On Tue, Feb 28, 2012 at 03:30:24AM +0100, Frank Steinmetzger wrote:
 
  dmix *may* be able to handle multiple audio streams (in practice, in
  my personal experience, it always requires more work than PA); but it
  will never be able to do the other stuff PA handles.
 
 This seems like a dumb question (for I was a strict PA denier until recently
 and have been using alsa-only since always), but does PA handle OSS
 applications better than alsa/dmix? Whenever I want to use sidplay, which only
 speaks OSS, I need to stop all other audio programs (e.g. press Stop in the
 Clementine player if it's only paused), or else /dev/dsp was busy.

PA doesn't care about oss (/dev/dsp). It opens the soundcard through
normal alsa interface (which means /dev/dsp becomes busy). You can
either kill pulseaudio, or tell pulseaudio to suspend the correspondig
sink (not sure what exactly happens if an audio stream through PA is active
etc..).

Regarading oss (/dev/dsp) and plain alsa, it is the same, if something
opens the soundcard through alsa, /dev/dsp becomes busy... (even when
using dmix in alsa, because /dev/dsp is handled by a kernel modules,
dmix is userspace).

 There is however a way to amke oss work with dmix through aoss (a small
program that preloads a binary, that 'hijacks' calls to open /dev/dsp
and 'reroutes' that to alsa, works most of the time, but can have
problems if the program does some weird things...)
In that case aoss opens the alsa device pcm.dsp (or dsp0, i'm not sure
right now), which you can easily point to dmix...

from my /etc/asond.conf:

pcm.dsp {
type plug
slave.pcm duplex
}
pcm.dsp0 {
type plug
slave.pcm duplex
}
pcm.!default {
type plug
slave.pcm duplex
}
pcm.duplex {
type asym
playback.pcm dmix:0
capture.pcm dsnoop:0
}


Then you can run (even multiple) 'aoss mpg123 file.mp3 ...'


You can also make this to work alongside pulseaudio, if you configure
pulseaudio to use the dmix device instead of directyly using the hw
device.
Nnote that this might cause problems, you have to disable pulseaudio's
autodetect and configure all soundcards manually, and using dmix
introduces some additional overhead and probles, also such setup is most
probably not supported by pulseaudio etc... However it also enables you
tu run plain alsa apps alongside PA (officialy you should just configure the
!default device to use the PA alsa plugin is simpler and it should work
better, though I had some problems with some apps) and more importantly
to run multi PAs simultaneusly (ie for multiple users...)


yoyo





Re: [gentoo-user] Re: tools to clean up /usr/portage/packages?

2012-02-28 Thread Neil Bothwick
On Mon, 27 Feb 2012 16:45:16 -0800, Mark Knecht wrote:

 QUESTION: As for ensuring that every package actually has a
 corresponding tbz2 file in the packages directory, would
 
 emerge -ek @world
 
 install everything from packages except in the case of something not
 existing in which case it would build and store it?


Yes. And you can check that everything has a package by adding -p to that
command and grepping for ebuild. You could probably also use -eKp and
check for an error.


-- 
Neil Bothwick

CW music backward: get yer dog, wife, job, truck, kids, and sobriety
back.


signature.asc
Description: PGP signature


Re: [gentoo-user] portage updates

2012-02-28 Thread Alex Schuster
Peter Humphrey writes:

 Now can anyone tell me why clicking the first link in this e-mail
 opened it in Konqueror and the second in Firefox? 

Because KDE is so weird all over the place.

 I can't see any material difference between the two links.

Yes, there is none.

This doesn't happen here, but I'm using the new KMail.

Wonko



[gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread trevor donahue
Hi everyone,
I'm experiencing a major problem right now. I've been using gentoo for
several months now and I simply lllooove it!
So here's the thing. When I use gentoo for a long time, even without
updating the current pack of installed software (emerge -uD world), I am
left without disk space... In situations like this I start deleting
/var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
revdep-rebuild to fix something, but even then I'm left with no more then
100 mb, which obviously is not enough ...
So this time I googled a bit and I deleted all the /usr/share/doc/ and this
left me with 2.5 gb of space (wow).

So the questions are ... in cases like this, what should be done? what is
storing this much space? logs?


Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Alan McKinnon
On Tue, 28 Feb 2012 11:37:44 +
trevor donahue donahue.tre...@gmail.com wrote:

 Hi everyone,
 I'm experiencing a major problem right now. I've been using gentoo for
 several months now and I simply lllooove it!
 So here's the thing. When I use gentoo for a long time, even without
 updating the current pack of installed software (emerge -uD world), I
 am left without disk space... In situations like this I start deleting
 /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
 revdep-rebuild to fix something, but even then I'm left with no more
 then 100 mb, which obviously is not enough ...
 So this time I googled a bit and I deleted all the /usr/share/doc/
 and this left me with 2.5 gb of space (wow).
 
 So the questions are ... in cases like this, what should be done?
 what is storing this much space? logs?

The thing that is taking up your space is whatever is making big files
or lots of files.

Now that could be anything, you will have to look on your machine
yourself and tell us what it is.

Start here:

du -sh /*

Start with the biggest directory and recursively go deeper down into
the structure till you find the major space hogs.

Logs is one option, and a likely one. But by no means the only
possibility. So just run du and find what it is on *your* box.



-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Mick
On Tuesday 28 Feb 2012 11:37:44 trevor donahue wrote:
 Hi everyone,
 I'm experiencing a major problem right now. I've been using gentoo for
 several months now and I simply lllooove it!
 So here's the thing. When I use gentoo for a long time, even without
 updating the current pack of installed software (emerge -uD world), I am
 left without disk space... In situations like this I start deleting
 /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
 revdep-rebuild to fix something, but even then I'm left with no more then
 100 mb, which obviously is not enough ...
 So this time I googled a bit and I deleted all the /usr/share/doc/ and this
 left me with 2.5 gb of space (wow).
 
 So the questions are ... in cases like this, what should be done? what is
 storing this much space? logs?

Gentoo takes up more space than a conventional binary distro because of 
portage and source files in /usr/portage/distfiles.

Look at eclean to help you remove old package files no longer installed.

Also look at logrotate to help you automatically rotate, compress and delete 
old(er) log files.

As a matter of good practice I always fit /var/ on a different partition to 
guard against logs going overboard and running out of space.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Freeing up disk space problem!!

2012-02-28 Thread Nikos Chantziaras

On 28/02/12 13:37, trevor donahue wrote:

Hi everyone,
I'm experiencing a major problem right now. I've been using gentoo for
several months now and I simply lllooove it!
So here's the thing. When I use gentoo for a long time, even without
updating the current pack of installed software (emerge -uD world), I am
left without disk space... In situations like this I start deleting
/var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
revdep-rebuild to fix something, but even then I'm left with no more
then 100 mb, which obviously is not enough ...
So this time I googled a bit and I deleted all the /usr/share/doc/ and
this left me with 2.5 gb of space (wow).

So the questions are ... in cases like this, what should be done? what
is storing this much space? logs?


Install sys-fs/ncdu and run it as root with ncdu -x /.  It's gonna 
take a bit to scan everything, but after that you should be able to tell 
what's taking up all the space.





Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread YoYo Siska
On Tue, Feb 28, 2012 at 11:37:44AM +, trevor donahue wrote:
 Hi everyone,
 I'm experiencing a major problem right now. I've been using gentoo for
 several months now and I simply lllooove it!
 So here's the thing. When I use gentoo for a long time, even without
 updating the current pack of installed software (emerge -uD world), I am
 left without disk space... In situations like this I start deleting
 /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
 revdep-rebuild to fix something, but even then I'm left with no more then
 100 mb, which obviously is not enough ...
 So this time I googled a bit and I deleted all the /usr/share/doc/ and this
 left me with 2.5 gb of space (wow).

My usual suspect for disk space in /usr/share/doc is kdelibs, with the
doc use flag turned on it installs the whole kde api documentation,
which takes a lot of space ...  so I either set -doc for
kde-base/kdelibs, or just set -doc globally and just enable it for
things i now I might need... (note that that won't remove all of the
/usr/share/doc dirs / files, but removes most of the large ones...)


yoyo


 
 So the questions are ... in cases like this, what should be done? what is
 storing this much space? logs?



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread trevor donahue
wow that was fast
thanks a lot guys!

done some research, turns out in home there is a .cache and the folder
chromium there takes nearly 600mb, cleared chromium browsing / download
history, cleared the cache. that freed it.

Nikos Chantziaras, thanks, will test it tonight

YoYo Siska, thanks for the good idea, put -doc in make.conf and nodoc in
FEATURES

On Tue, Feb 28, 2012 at 12:24 PM, YoYo Siska y...@gl.ksp.sk wrote:

 On Tue, Feb 28, 2012 at 11:37:44AM +, trevor donahue wrote:
  Hi everyone,
  I'm experiencing a major problem right now. I've been using gentoo for
  several months now and I simply lllooove it!
  So here's the thing. When I use gentoo for a long time, even without
  updating the current pack of installed software (emerge -uD world), I am
  left without disk space... In situations like this I start deleting
  /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
  revdep-rebuild to fix something, but even then I'm left with no more then
  100 mb, which obviously is not enough ...
  So this time I googled a bit and I deleted all the /usr/share/doc/ and
 this
  left me with 2.5 gb of space (wow).

 My usual suspect for disk space in /usr/share/doc is kdelibs, with the
 doc use flag turned on it installs the whole kde api documentation,
 which takes a lot of space ...  so I either set -doc for
 kde-base/kdelibs, or just set -doc globally and just enable it for
 things i now I might need... (note that that won't remove all of the
 /usr/share/doc dirs / files, but removes most of the large ones...)


 yoyo


 
  So the questions are ... in cases like this, what should be done? what is
  storing this much space? logs?




Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Alex Schuster
trevor donahue writes:

 So here's the thing. When I use gentoo for a long time, even without
 updating the current pack of installed software (emerge -uD world), I am
 left without disk space... In situations like this I start deleting
 /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
 revdep-rebuild to fix something, but even then I'm left with no more
 then 100 mb, which obviously is not enough ...

Use eclean-dist and eclean-pkg (in app-portage/gentoolkit) to delete your
distfiles.

If you instantly need more space, reduce the amount of reserved space for
the superuser, which is 5% as default:
tune2fs -m 2 /dev/your/partition
Don't reduce it to 0, the lower this value is, the more fragmentation you
will get.

 So this time I googled a bit and I deleted all the /usr/share/doc/ and
 this left me with 2.5 gb of space (wow).
 
 So the questions are ... in cases like this, what should be done? what
 is storing this much space? logs?

You need to find out for yourself. I sometimes simply do a du -mx
--max-depth=1 / to see which directory has what amount of data in it.
Repeat for interesting directories like /usr/share/doc, and you will see
what takes big space. Add a '| sort -n' to get sorted output. Or better
use sys-fs/ncdu which is interactive.

If you prefer something graphical, there are many alternatives:

Baobab in gnome-extra/gnome-utils
kde-base/filelight
k4dirstat in kde-misc/kdirstat
Konqueror - View - View Mode - File Size View (or something like that
in English)
jdiskreport in sys-fs/jdiskreport-bin

Wonko



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Neil Bothwick
On Tue, 28 Feb 2012 12:50:02 +, trevor donahue wrote:

 YoYo Siska, thanks for the good idea, put -doc in make.conf and nodoc
 in FEATURES

You may want to reconsider the latter. The doc USE flag controls extra
documentation, such as API stuff, while still installing man ages etc.
FEATURES=nodoc gets rid of everything.


-- 
Neil Bothwick

Ultimate memory manager; Windows, it manages to use it all..


signature.asc
Description: PGP signature


Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Neil Bothwick
On Tue, 28 Feb 2012 14:01:50 +0100, Alex Schuster wrote:

 If you instantly need more space, reduce the amount of reserved space
 for the superuser, which is 5% as default:
 tune2fs -m 2 /dev/your/partition
 Don't reduce it to 0, the lower this value is, the more fragmentation
 you will get.

Why is that? I would have expected more usable space to reduce the need
for fragmentation. I routinely use 0 on non-system filesystems.


-- 
Neil Bothwick

The dark ages were caused by the Y1K problem.


signature.asc
Description: PGP signature


Re: [gentoo-user] gnome-shell behavior

2012-02-28 Thread Stefan G. Weichinger
Am 20.02.2012 21:23, schrieb Stefan G. Weichinger:
 Am 2012-02-20 19:29, schrieb Canek Peláez Valdés:
 
 What does ~/.xsession-errors says?
 
 checked that already, I didn't see anything obvious in there (at least
 for ME) ... will check back tomorrow, I am not at the particular machine
 right now.

I thought I had posted that already? wrong recipient maybe ...

here:



---

gnome-shell-calendar-server[12816]: Got HUP on stdin - exiting
gnome-session[8258]: WARNING: Application 'gnome-shell.desktop' killed
by signal
** Message: applet now removed from the notification area
(gnome-shell:12876): folks-DEBUG: individual-aggregator.vala:310:
Setting primary store IDs to defaults.
(gnome-shell:12876): folks-DEBUG: individual-aggregator.vala:338:
Primary store IDs are 'eds' and 'system'.
  JS LOG: GNOME Shell started at Tue Feb 28 2012 14:32:44 GMT+0100 (CET)
Fensterverwalter-Warnung:Log level 16: get_all_cb: couldn't retrieve
system settings properties: (25) Launch helper exited with unknown
return code 1.
** Message: applet now embedded in the notification area
Fensterverwalter-Warnung:Log level 16: fetch_connections_done: error
fetching connections: (25) Launch helper exited with unknown return code 1.
Fensterverwalter-Warnung:Log level 16: nm_client_get_devices: error
getting devices: Launch helper exited with unknown return code 1

  JS LOG: NetworkManager is not running, hiding...



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread William Kenworthy
On Tue, 2012-02-28 at 13:52 +0200, Alan McKinnon wrote:
 On Tue, 28 Feb 2012 11:37:44 +
 trevor donahue donahue.tre...@gmail.com wrote:
 
  Hi everyone,
  I'm experiencing a major problem right now. I've been using gentoo for
  several months now and I simply lllooove it!
  So here's the thing. When I use gentoo for a long time, even without
  updating the current pack of installed software (emerge -uD world), I
  am left without disk space... In situations like this I start deleting
  /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a
  revdep-rebuild to fix something, but even then I'm left with no more
  then 100 mb, which obviously is not enough ...
  So this time I googled a bit and I deleted all the /usr/share/doc/
  and this left me with 2.5 gb of space (wow).
  
  So the questions are ... in cases like this, what should be done?
  what is storing this much space? logs?
 
 The thing that is taking up your space is whatever is making big files
 or lots of files.
 
 Now that could be anything, you will have to look on your machine
 yourself and tell us what it is.
 
 Start here:
 
 du -sh /*
 
 Start with the biggest directory and recursively go deeper down into
 the structure till you find the major space hogs.
 
 Logs is one option, and a likely one. But by no means the only
 possibility. So just run du and find what it is on *your* box.
 
 
 

or du|sort -rn|less

hogs are at the top ...

BillK






Re: [gentoo-user] Re: tools to clean up /usr/portage/packages?

2012-02-28 Thread Mark Knecht
On Tue, Feb 28, 2012 at 2:40 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 27 Feb 2012 16:45:16 -0800, Mark Knecht wrote:

 QUESTION: As for ensuring that every package actually has a
 corresponding tbz2 file in the packages directory, would

 emerge -ek @world

 install everything from packages except in the case of something not
 existing in which case it would build and store it?


 Yes. And you can check that everything has a package by adding -p to that
 command and grepping for ebuild. You could probably also use -eKp and
 check for an error.


 --
 Neil Bothwick

Yep, I especially like the -epK version. Very clear what's missing.

Thanks!



[gentoo-user] old cyrus-imapd from overlay

2012-02-28 Thread Stefan G. Weichinger

Greets,

does anyone have experience with cyrus-imapd on gentoo?

I have to migrate an ancient suse-10.1-server, it runs:

# rpm -qa | grep cyrus
cyrus-sasl-2.1.21-3
cyrus-sasl-devel-2.1.21-3
cyrus-imapd-2.2.12-13

portage gives me cyrus-imapd-2.4.12 which is fine but I don't know if
upgrading this far is possible without problems.

I found the OSSDL-overlay, but cyrus-imapd-2.2.13 fails to build ...

* does anyone have experience with upgrading cyrus-imapd?

* does anyone have a running older release/ebuild where the migration
should be safe?

pls no advice to use dovecot etc, the job here is to possibly move over
/var/spool/imap and press play (simplified, you get the picture).

A change of software might be considered later, right now I have to
maintain a running server while moving to newer hardware and OS.

Thanks, Stefan



Re: [OT] Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-28 Thread James Broadhead
On 28 February 2012 00:39, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 On Monday 27 February 2012 23:29:35 Robin Atwood wrote:

 Ship me somewheres east of Suez, where the best is like the worst,

  Where there ain't no Ten Commandments an' a man can raise a thirst

  from Mandalay by Rudyard Kipling
 Please check the spelling of the third word in that quotation. I'm pretty
 certain that somewheres is purely American, which of course Kipling was
 not.


He was, however, a poet, which gives him the teensiest bit of lee-way.
http://en.wikipedia.org/wiki/East_of_Suez

Please don't send html emails to the list, nor correct the
grammar/spelling of a quotation that you have not googl'd for
verification. Alternately, you may contact Mr. Kipling directly.



Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-28 Thread James Broadhead
On 27 February 2012 23:29, Robin Atwood robin.atw...@attglobal.net wrote:
 I am glad we had this little chat! I always pass my kernel configs from
 release to release, so I went and checked the bluetooth section, and lo, it
 looks like it got reorganised some time after version 3.0.0 and lots of
 options were no longer checked. Fixed that and now bluetooth works: I can
 transfer files and browse the phones storage.

 Thanks for giving me a nudge. :)

Are you aware of make oldconfig, which will interactively walk you
through the changes to the config layout?



Re: [gentoo-user] portage updates

2012-02-28 Thread Peter Humphrey
On Tuesday 28 February 2012 11:23:40 Alex Schuster wrote:
 Peter Humphrey writes:
  Now can anyone tell me why clicking the first link in this e-mail
  opened it in Konqueror and the second in Firefox?
 
 Because KDE is so weird all over the place.

Well I just hope the team get it sorted out soon. I can't stand any of the 
Gnomes and the lighter desktops are just too thin on features.

  I can't see any material difference between the two links.
 
 Yes, there is none.
 
 This doesn't happen here, but I'm using the new KMail.

I'm not going to that version until it works. It was only careful backing up 
that avoided losing half my e-mails. As it was, the basic functions of an e-
mail client were almost completely absent.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread James Broadhead
On 28 February 2012 11:37, trevor donahue donahue.tre...@gmail.com wrote:
 In situations like this I start deleting
 /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a revdep-rebuild
 to fix something, but even then I'm left with no more then 100 mb, which
 obviously is not enough ...

Lots of good advice already, but I thought that I'd chime in to
suggest that you use `eclean` to free up space in distfiles, but only
removing downloaded files which aren't going to be used again. This
means that you don't need to re-download if you re-merge, and lightens
server load.

Another obvious suggestion: unless you're on a very constrained
system, consider re-partitioning to give yourself more root space -- I
very happily ran gentoo inside ~7 GiB for a very long time without
needing to shuffle things about. I recently bought one of these and a
16GiB SD card to quickly add space to my HTPC without disassembly (and
warranty-voiding).
http://www.dealextreme.com/p/kawau-world-s-smallest-microsd-transflash-tf-sd-sdhc-usb-2-0-card-reader-keychain-25558



Re: [gentoo-user] What is the best audio system?

2012-02-28 Thread Marc Joliet
Am Tue, 28 Feb 2012 10:06:16 +0100
schrieb YoYo Siska y...@gl.ksp.sk:

 On Tue, Feb 28, 2012 at 03:30:24AM +0100, Frank Steinmetzger wrote:
  
   dmix *may* be able to handle multiple audio streams (in practice, in
   my personal experience, it always requires more work than PA); but it
   will never be able to do the other stuff PA handles.
  
  This seems like a dumb question (for I was a strict PA denier until recently
  and have been using alsa-only since always), but does PA handle OSS
  applications better than alsa/dmix? Whenever I want to use sidplay, which 
  only
  speaks OSS, I need to stop all other audio programs (e.g. press Stop in the
  Clementine player if it's only paused), or else /dev/dsp was busy.
 
 PA doesn't care about oss (/dev/dsp). It opens the soundcard through
 normal alsa interface (which means /dev/dsp becomes busy). You can
 either kill pulseaudio, or tell pulseaudio to suspend the correspondig
 sink (not sure what exactly happens if an audio stream through PA is active
 etc..).

There is also padsp:

padsp  starts  the  specified  program and redirects its access to OSS
 compatible audio devices (/dev/dsp and auxiliary devices) to a PulseAudio
 sound server.

[...]
 
 yoyo
 
 

HTH
-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] What is the best audio system?

2012-02-28 Thread Frank Steinmetzger
On Tue, Feb 28, 2012 at 10:06:16AM +0100, YoYo Siska wrote:

  This seems like a dumb question (for I was a strict PA denier until recently
  and have been using alsa-only since always), but does PA handle OSS
  applications better than alsa/dmix? Whenever I want to use sidplay, which 
  only
  speaks OSS, I need to stop all other audio programs (e.g. press Stop in the
  Clementine player if it's only paused), or else /dev/dsp was busy.
 
 PA doesn't care about oss (/dev/dsp). It opens the soundcard through
 normal alsa interface (which means /dev/dsp becomes busy). You can
 either kill pulseaudio, or tell pulseaudio to suspend the correspondig
 sink (not sure what exactly happens if an audio stream through PA is active
 etc..).

I'm not using PA, I only said I denied it completety until recently. ;-)
(I just noticed it was running though, because I installed Gnome 3 a short
while ago to sneak a peak).

 Regarading oss (/dev/dsp) and plain alsa, it is the same, if something
 opens the soundcard through alsa, /dev/dsp becomes busy... (even when
 using dmix in alsa, because /dev/dsp is handled by a kernel modules,
 dmix is userspace).

Thanks for clearing that up.

  There is however a way to amke oss work with dmix through aoss
 [...]
 Then you can run (even multiple) 'aoss mpg123 file.mp3 ...'

Hooray for the combined knowledge of mailing lists. That makes me happy as to
my question.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Computer publishers produce computer books that explain
what you didn’t understand in computer magazines.


pgpxr9Gzr3tft.pgp
Description: PGP signature


Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-28 Thread Robin Atwood
On Tuesday 28 Feb 2012, James Broadhead wrote:
 On 27 February 2012 23:29, Robin Atwood robin.atw...@attglobal.net wrote:
  I am glad we had this little chat! I always pass my kernel configs from
  release to release, so I went and checked the bluetooth section, and lo,
  it looks like it got reorganised some time after version 3.0.0 and lots
  of options were no longer checked. Fixed that and now bluetooth works: I
  can transfer files and browse the phones storage.
  
  Thanks for giving me a nudge. :)
 
 Are you aware of make oldconfig, which will interactively walk you
 through the changes to the config layout?

Of course, but I am lazy and usually you get away with it. ;)

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] [OFF] string1!string2!string3 notation

2012-02-28 Thread Claudio Roberto França Pereira
Wow. Thanks for all this knowledge.



Re: [gentoo-user] Re: What is the best audio system?

2012-02-28 Thread Willie Matthews
On Tue, 28 Feb 2012 04:14:25 +0200
Nikos Chantziaras rea...@arcor.de wrote:

 On 28/02/12 04:07, Canek Peláez Valdés wrote:
  On Mon, Feb 27, 2012 at 4:44 PM, Mark Knechtmarkkne...@gmail.com
  wrote:
  On Mon, Feb 27, 2012 at 2:38 PM, Paul Hartman
  paul.hartman+gen...@gmail.com  wrote:
  On Mon, Feb 27, 2012 at 4:31 PM, Mark
  Knechtmarkkne...@gmail.com  wrote:
  On Mon, Feb 27, 2012 at 2:24 PM, Paul Hartman
  paul.hartman+gen...@gmail.com  wrote:
  On Mon, Feb 27, 2012 at 3:50 PM, Willie Matthews
  matthews.wil...@gmail.com  wrote:
  Right now I use pulseaudio on my laptop and desktop. Is there
  something else out there that can handle multiple audio
  streams?
 
  alsa dmix
 
 
  Isn't dmix pretty much automatic in als these days? I suspect
  that's how KDE supports multiple audio streams by default.
 
  Yep, I think it's automatic since alsa 1.0.9 or so.
 
 
  Yeah, when you wrote dmix the light turned on about how KDE (and I
  suspect most desktop managers) is likely doing it.
 
  GNOME uses PulseAudio by default, and since 3.0 is actually
  mandatory. I believe Xfce uses PA also, and (please, tell me if I'm
  wrong) KDE also by default uses PA.
 
 Nope.  KDE uses whatever is supported by the Phonon backend.  The 
 default is GStreamer, meaning that whatever GStreamer uses, KDE uses
 too.
 
 

Thanks for all of your help folks. Reading all the responses was quite
educational. It seems that I will be sticking with pulseaudio.

-- 

Willie Matthews
matthews.wil...@gmail.com



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Alex Schuster
Neil Bothwick writes:

 On Tue, 28 Feb 2012 14:01:50 +0100, Alex Schuster wrote:
 
  If you instantly need more space, reduce the amount of reserved space
  for the superuser, which is 5% as default:
  tune2fs -m 2 /dev/your/partition
  Don't reduce it to 0, the lower this value is, the more fragmentation
  you will get.
 
 Why is that? I would have expected more usable space to reduce the need
 for fragmentation. I routinely use 0 on non-system filesystems.

I read this often, and to me it seems to make sense. When a file system
is nearly full, writing a last big file will make the file being
cluttered along all those tiny places where some free space is still
left. And this probably already happens to some extent before the
filesystem is completely full. 

Now, which values for reserved percentage are good, I don't know.
This probably depends much on the typical size of files on that partition,
and usage patterns. For large movies on your data partition, it probably
does not matter, but for my system partitions (/root, /usr, /var, /tmp,
portage stuff) I just keep it at 5%.

With the benefit that I can instantly free some space in /var when it's
just become full, without needing to decide what to delete. Okay, in
practice this does not matter much because resizing the LVM and resizing
the FS is also a matter of seconds only.

Wonko



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Neil Bothwick
On Wed, 29 Feb 2012 00:25:00 +0100, Alex Schuster wrote:

   Don't reduce it to 0, the lower this value is, the more
   fragmentation you will get.  
  
  Why is that? I would have expected more usable space to reduce the
  need for fragmentation. I routinely use 0 on non-system filesystems.  
 
 I read this often, and to me it seems to make sense. When a file system
 is nearly full, writing a last big file will make the file being
 cluttered along all those tiny places where some free space is still
 left. And this probably already happens to some extent before the
 filesystem is completely full. 

But if you set m  0, the filesystem will become full sooner, so
fragmentation will begin sooner (for non-root processes). 


-- 
Neil Bothwick

Did you hear about the blind prostitute? You have to hand it to her.


signature.asc
Description: PGP signature


Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Dale
Alex Schuster wrote:

 If you instantly need more space, reduce the amount of reserved space for
 the superuser, which is 5% as default:
 tune2fs -m 2 /dev/your/partition
 Don't reduce it to 0, the lower this value is, the more fragmentation you
 will get.
 

I have a question on this.  I have a drive that I use for movies and
such.  There is nothing OS related on that drive.  Would it be safe to
set this to say 1% or even 0?  Also, it is already set up with LVM and
ext4.  Can I change it even while there is data on there?  I ask because
I don't want to change it and find out my collection is gone.  o_O

Thanks.

Dale

:-)  :-)


-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Alex Schuster
Dale writes:

 Alex Schuster wrote:
 
  If you instantly need more space, reduce the amount of reserved space
  for the superuser, which is 5% as default:
  tune2fs -m 2 /dev/your/partition
  Don't reduce it to 0, the lower this value is, the more fragmentation
  you will get.
 
 I have a question on this.  I have a drive that I use for movies and
 such.  There is nothing OS related on that drive.  Would it be safe to
 set this to say 1% or even 0? 

I'd say 1% is okay. For 0% I'm not sure, I avoid that, but maybe there
will be no noticeable difference at all. 

 Also, it is already set up with LVM and
 ext4.  Can I change it even while there is data on there?

Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or
something, and then resize2fs /dev/mapper/whatever.

 I ask because I don't want to change it and find out my collection is
 gone.  o_O

Of course, backups are always a good idea, but this is pretty safe. I
wouldn't worry about it.

Wonko



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Alex Schuster
Neil Bothwick writes:

 On Wed, 29 Feb 2012 00:25:00 +0100, Alex Schuster wrote:
 
Don't reduce it to 0, the lower this value is, the more
fragmentation you will get.  
   
   Why is that? I would have expected more usable space to reduce the
   need for fragmentation. I routinely use 0 on non-system
   filesystems.  
  
  I read this often, and to me it seems to make sense. When a file
  system is nearly full, writing a last big file will make the file
  being cluttered along all those tiny places where some free space is
  still left. And this probably already happens to some extent before
  the filesystem is completely full. 
 
 But if you set m  0, the filesystem will become full sooner, so
 fragmentation will begin sooner (for non-root processes). 

Uh, really? I wouldn't think so. With m  0, there is much space left, in
large contiguous chunks, even though the user cannot use it all. But there
should be no difference between writing files in terms of fragmentation.
The reserved stuff acts just like a quota, at least that's what I always
thought.

Wonko



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 4

2012-02-28 Thread Walter Dnes
On Mon, Feb 27, 2012 at 04:49:40PM +0700, Pandu Poluan wrote

 I suggest splitting this step into two:
 
 3a) Create /sbin/linuxrc containing at least ... chmod ...
 
 3b) Append init=/sbin/linuxrc to bootloader line
 
 Slightly less confusing :-)

  OK.  I'll modify it as suggested.  There is talk on the gentoo-dev
list that mod-utils will be replaced by virtual/mod-utils which will
default to kmod (required to build udev-181).  Note that mod-utils and
kmod are mutually exclusive.  That should be taken care of in the
ebuilds, but I'll monitor the situation.  I may have to modify the setup
instructions for conversion to mdev... i.e. an additional step, removing
kmod and installing mod-utils.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Dale
Alex Schuster wrote:
 Dale writes:
 
 I have a question on this.  I have a drive that I use for movies and
 such.  There is nothing OS related on that drive.  Would it be safe to
 set this to say 1% or even 0? 
 
 I'd say 1% is okay. For 0% I'm not sure, I avoid that, but maybe there
 will be no noticeable difference at all. 
 
 Also, it is already set up with LVM and
 ext4.  Can I change it even while there is data on there?
 
 Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or
 something, and then resize2fs /dev/mapper/whatever.


I was talking about the command to change the superuser reserves.  I
know how to make LVM bigger but wanted to make sure this can be run even
when there is data on there.  Basically, can I run:

tune2fs -m 1 /dev/data/data1

Which is where the ext4 file system is on the LVM.  After I run that
then I can expand LVM from there, I hope it works that easy.


   Wonko
 
 

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Neil Bothwick
On Tue, 28 Feb 2012 20:38:13 -0600, Dale wrote:

 tune2fs -m 1 /dev/data/data1
 
 Which is where the ext4 file system is on the LVM.  After I run that
 then I can expand LVM from there, I hope it works that easy.

It does.


-- 
Neil Bothwick

The human mind ordinarily operates at only ten per cent of its
capacity ... the rest is overhead for the operating system.


signature.asc
Description: PGP signature


Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Neil Bothwick
On Wed, 29 Feb 2012 02:05:41 +0100, Alex Schuster wrote:

  But if you set m  0, the filesystem will become full sooner, so
  fragmentation will begin sooner (for non-root processes).   
 
 Uh, really? I wouldn't think so. With m  0, there is much space left,
 in large contiguous chunks, even though the user cannot use it all. But
 there should be no difference between writing files in terms of
 fragmentation. The reserved stuff acts just like a quota, at least
 that's what I always thought.

Yeah, that makes sense, so why should the reserved setting affect
fragmentation at all, unless you write so much data that the filesystem
would be full with a larger m? In that case, I'd prefer fragmentation to
a failed write.


-- 
Neil Bothwick

Don't just do something, sit there!


signature.asc
Description: PGP signature


[gentoo-user] firefox shows as Aurora

2012-02-28 Thread Thanasis
Installed www-client/firefox-10.0.1-r1 and it shows as Aurora in
Help-About screen.



[gentoo-user] Re: firefox shows as Aurora

2012-02-28 Thread Nikos Chantziaras

On 29/02/12 08:42, Thanasis wrote:

Installed www-client/firefox-10.0.1-r1 and it shows as Aurora in
Help-About screen.


Yeah, I had that problem too.  It was an error in the mozconfig-3 
eclass.  This has been fixed, so simply resync your portage tree and 
rebuild firefox.





Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread Dale
Neil Bothwick wrote:
 On Tue, 28 Feb 2012 20:38:13 -0600, Dale wrote:
 
 tune2fs -m 1 /dev/data/data1

 Which is where the ext4 file system is on the LVM.  After I run that
 then I can expand LVM from there, I hope it works that easy.
 
 It does.
 
 


Apparently I am missing something then.  I looked at cfdisk for the
drive. It reported  right at 750Gb as it should with the change.  Thing
is, I can't get anything else to add it or to even show it is available.
 Some results somewhat shortened:

From cfdisk

 750156.38Mb

root@fireball / # pvs
  PV VG   Fmt  Attr PSize   PFree
  /dev/sdc1  data lvm2 a--  698.63g0
root@fireball / # vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  data   1   1   0 wz--n- 698.63g0
root@fireball / # lvs
  LVVG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  data1 data -wi-ao 698.63g
root@fireball / #


So, cfdisk is happy with the change but nothing else seems to see it.
What am I missing here?  Where did the 50Gbs go to?

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] old cyrus-imapd from overlay

2012-02-28 Thread J. Roeleveld
On Tue, February 28, 2012 4:34 pm, Stefan G. Weichinger wrote:

 Greets,

 does anyone have experience with cyrus-imapd on gentoo?

 I have to migrate an ancient suse-10.1-server, it runs:

 # rpm -qa | grep cyrus
 cyrus-sasl-2.1.21-3
 cyrus-sasl-devel-2.1.21-3
 cyrus-imapd-2.2.12-13

 portage gives me cyrus-imapd-2.4.12 which is fine but I don't know if
 upgrading this far is possible without problems.

 I found the OSSDL-overlay, but cyrus-imapd-2.2.13 fails to build ...

 * does anyone have experience with upgrading cyrus-imapd?

 * does anyone have a running older release/ebuild where the migration
 should be safe?

 pls no advice to use dovecot etc, the job here is to possibly move over
 /var/spool/imap and press play (simplified, you get the picture).

 A change of software might be considered later, right now I have to
 maintain a running server while moving to newer hardware and OS.

 Thanks, Stefan

Stefan,

I haven't had problems with upgrading, but I didn't wait this long.
Eg. I didn't migrate from 2.1 to 2.4 directly.

I would suggest you check on the cyrus-imap mailing list (see bottom of
email) for tips. Installing it is simple, but there are a few changes with
some of the files.

A safer method would be running the 2 versions in parallel and using
imapsync or something similar to copy the email over to the new version.

--
Joost

cyrus-imap list info:

List-Id: Discussion group for Cyrus email system
 info-cyrus.lists.andrew.cmu.edu
List-Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus,
 mailto:info-cyrus-requ...@lists.andrew.cmu.edu?subject=unsubscribe
List-Archive: http://lists.andrew.cmu.edu/pipermail/info-cyrus
List-Post: mailto:info-cy...@lists.andrew.cmu.edu
List-Help: mailto:info-cyrus-requ...@lists.andrew.cmu.edu?subject=help
List-Subscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus,
 mailto:info-cyrus-requ...@lists.andrew.cmu.edu?subject=subscribe





Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread J. Roeleveld

On Wed, February 29, 2012 2:01 am, Alex Schuster wrote:
 Dale writes:

 Alex Schuster wrote:


snipped

 Also, it is already set up with LVM and
 ext4.  Can I change it even while there is data on there?

 Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or
 something, and then resize2fs /dev/mapper/whatever.

I don't use ext4 (yet), so not sure about this. But, isn't resize2fs for
ext2/3 only?

-- 
Joost




Re: [gentoo-user] Freeing up disk space problem!!

2012-02-28 Thread J. Roeleveld

On Wed, February 29, 2012 8:10 am, Dale wrote:
 Neil Bothwick wrote:
 On Tue, 28 Feb 2012 20:38:13 -0600, Dale wrote:

 tune2fs -m 1 /dev/data/data1

 Which is where the ext4 file system is on the LVM.  After I run that
 then I can expand LVM from there, I hope it works that easy.

 It does.




 Apparently I am missing something then.  I looked at cfdisk for the
 drive. It reported  right at 750Gb as it should with the change.  Thing
 is, I can't get anything else to add it or to even show it is available.
  Some results somewhat shortened:

 From cfdisk

  750156.38Mb

 root@fireball / # pvs
   PV VG   Fmt  Attr PSize   PFree
   /dev/sdc1  data lvm2 a--  698.63g0
 root@fireball / # vgs
   VG   #PV #LV #SN Attr   VSize   VFree
   data   1   1   0 wz--n- 698.63g0
 root@fireball / # lvs
   LVVG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
   data1 data -wi-ao 698.63g
 root@fireball / #


 So, cfdisk is happy with the change but nothing else seems to see it.
 What am I missing here?  Where did the 50Gbs go to?

 Dale

What you're missing here is the fact that different tools report the sizes
differently.
Look into the difference between GiB and GB:

http://en.wikipedia.org/wiki/Mebibyte

you have:
750156.38 MiB =
750156380 KiB =
75015638 B =
732574589.8 KB =
715404.87 MB =
698.63 GB

(with the i the factor is 1000, without it, the factor is 1024)

HTH,

Joost