Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Adam Carter
> In other news...So 3.1.6 just went stable for amd64. I wonder what's special
> about that one that wasn't met by 3.0.{13|14} or 3.1.[0-5].

FWIW iwlagn is still broken in 3.1.6 (it broke in 3.1.5).



Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Peter Humphrey
On Friday 30 December 2011 21:43:54 Michael Mol wrote:

> Anyway, what are you using to try to play audio? A Pulse client? An ALSA
> client?

The BBC Radio 3 iPlayer, and of course the KDE start and stop sounds.

I've recompiled several packages today, in particular phonon, phonon-kde and 
phonon-gstreamer. Sound has suddenly reappeared. So whatever the problem 
was it seems to have been solved.

Incidentally, I had been having to keep turning the speaker volume control 
up to hear anything, but this evening it's almost fully down.

I wish I understood all this, but thank you anyway, all those who've offered 
help.

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


Re: [gentoo-user] Re: [OT] sendmail relay to gmail smtp server

2011-12-30 Thread Mick
On Saturday 31 Dec 2011 00:40:23 Harry Putnam wrote:
> Mick  writes:
> 
> [...]
> 
> >> | Athinfo:smtp.gmail.com "U:root" "I:hputn...@gmail.com" "P:??XX??" "M:
> >> | LOGIN PLAIN" Athinfo:smtp.gmail.com:587 "U:root"
> >> | "I:hputn...@gmail.com" "P:??XX??" "M: LOGIN PLAIN"
> >> 
> >> `
> > 
> > Did you try just "M: PLAIN" without the "LOGIN" ?
> > 
> > If PLAIN doesn't do it, then use just LOGIN.
> > 
> > Unless you have a typo in there, try starting the stanzas with: 
> > "AuthInfo:"
> 
> It was that silly typo causing my grief.  The various kinds of login
> do not seem to make any difference it just works now.
> 
> [...]
> 
> Mick Wrote:
> > I am going from memory here (no access to the server at this moment) but
> > I recall that this entry should be in /etc/mail/client-info instead, and
> > you
> 
> > will need of course to create the client-info.db after your changes:
> It seems not to matter where inside /etc/mail you keep authinfo as
> long as there is a line in sendmail.mc pointing to the location like
> mine does.
> 
> >>  FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl
> 
> Many thanks for the helpful input.  Your sharp I spotted the one fatal
> problem.  I doubt if I would have found that in a month of Sundays.

Glad you got it sorted and that I could be of help.

Happy New Year to all!
-- 
Regards,
Mick


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


[gentoo-user] Re: [OT] sendmail relay to gmail smtp server

2011-12-30 Thread Harry Putnam
Mick  writes:

[...]

>> | Athinfo:smtp.gmail.com "U:root" "I:hputn...@gmail.com" "P:??XX??" "M:
>> | LOGIN PLAIN" Athinfo:smtp.gmail.com:587 "U:root" "I:hputn...@gmail.com"
>> | "P:??XX??" "M: LOGIN PLAIN"
>> 
>> `
>
> Did you try just "M: PLAIN" without the "LOGIN" ?
>
> If PLAIN doesn't do it, then use just LOGIN.
>
> Unless you have a typo in there, try starting the stanzas with:  "AuthInfo:"

It was that silly typo causing my grief.  The various kinds of login
do not seem to make any difference it just works now.

[...]

Mick Wrote:
> I am going from memory here (no access to the server at this moment) but I 
> recall that this entry should be in /etc/mail/client-info instead, and you 
> will need of course to create the client-info.db after your changes:

It seems not to matter where inside /etc/mail you keep authinfo as
long as there is a line in sendmail.mc pointing to the location like
mine does.

>>  FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl

Many thanks for the helpful input.  Your sharp I spotted the one fatal
problem.  I doubt if I would have found that in a month of Sundays.




Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Michael Mol

Peter Humphrey wrote:

On Friday 30 December 2011 17:50:49 Michael Mol wrote:

 > I'm inclined to think you have something in your asoundrc (either

 > system-wide or user-local)

Neither of those exists on my system.

 > that's shunting ALSA clients over to Pulse, and that Pulse has a

 > misconfiguration.

/etc/pulse/daemon.conf hasn't changed since 8 Dec.


What about per-user configuration? When I was running an unholy combo of 
Pulse, 64-bit WINE and 32-bit Adobe flash around a year ago, I regularly 
had quirks were Pulse would reset my ALSA master mixer to 0, and I'd 
have to go through and adjust a few levels before things worked properly 
again.


Anyway, what are you using to try to play audio? A Pulse client? An ALSA 
client? It's hard to narrow down where the fault is without knowing the 
path the data's trying to take.


I'd suggest using 'aplay' to try to play back some .wav files.



[gentoo-user] Re: Kernel 3.1.6 and loss of sound

2011-12-30 Thread walt

On 12/30/2011 09:35 AM, Peter Humphrey wrote:


Setting the master volume to 100% just gave me a faint hiss in the
speakers; no real sound, and no device detected by alsaconf.


You mentioned that switching back to the old kernel doesn't fix the
audio, but have you tried the old kernel since changing the volume
control?  Another data point, at least.

If you still don't have sound using the old kernel, then I think the
problem must lie with some other recently updated package, no?

One other data point to compare:

$ls -l /dev/snd
total 0
drwxr-xr-x 2 root root   60 Dec 30 03:26 by-path
crw-rw 1 root audio 116,  0 Dec 30 03:26 controlC0
crw-rw 1 root audio 116, 24 Dec 30 03:25 pcmC0D0c
crw-rw 1 root audio 116, 16 Dec 30 10:26 pcmC0D0p
crw-rw 1 root audio 116, 25 Dec 30 03:26 pcmC0D1c
crw-rw 1 root audio 116, 17 Dec 30 03:25 pcmC0D1p
crw-rw 1 root audio 116, 33 Dec 30 03:26 timer





Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Peter Humphrey
On Friday 30 December 2011 17:50:49 Michael Mol wrote:

> I'm inclined to think you have something in your asoundrc (either
> system-wide or user-local)

Neither of those exists on my system.

> that's shunting ALSA clients over to Pulse, and that Pulse has a
> misconfiguration.

/etc/pulse/daemon.conf hasn't changed since 8 Dec.

> FWIW, alsaconf doesn't see my sound cards, either. Here's what I've got:
> 
> kaylee shortcircuit # lspci -k|grep -i -A2 audio
> 00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition
> Audio Controller (rev 09)
>  Subsystem: Hewlett-Packard Company Device 3015
>  Kernel driver in use: HDA Intel
> --
> 40:00.1 Audio device: nVidia Corporation High Definition Audio
> Controller (rev a1)
>  Subsystem: Micro-Star International Co., Ltd. Device 2011
>  Kernel driver in use: HDA Intel

This is mine:

$ sudo lspci -k|grep -i -A2 audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High 
Definition Audio (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 8375
Kernel driver in use: HDA Intel

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


Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Michael Mol

Peter Humphrey wrote:

On Friday 30 December 2011 17:18:35 Aljosha Papsch wrote:

 > On Fri, Dec 30, 2011 at 12:00:11PM -0500, Michael Mol wrote:

 > > Peter Humphrey wrote:

 > > > On Friday 30 December 2011 14:34:16 Mark Knecht wrote:

 > > > > I guess you're going to need to provide some debug info. Maybe try

 > > > > a

 > > > >

 > > > > complete power down and not just a warm boot. Not finding the

 > > > > device

 > > > >

 > > > > at all is problematic. What's in lspci, etc.?

 > > >

 > > > Power cycle complete - no difference. Switching back to kernel 3.0.6

 > > > I now have no sound there either!

 > > >

 > > > Lspci shows the device ok. Output of alsa-info attached.

 > >

 > > Your ALSA stuff looks fine, by my eye. What happens when you run

 > > "alsamixer"? "alsamixer -c0"?

 >

 > Peter, according to your amixer output 'Master Front' is set to 0%. Maybe

 > this is your problem?

Well spotted, both you and Michael. However, that's not /the/ problem.
Setting the master volume to 100% just gave me a faint hiss in the
speakers; no real sound, and no device detected by alsaconf.


I'm inclined to think you have something in your asoundrc (either 
system-wide or user-local) that's shunting ALSA clients over to Pulse, 
and that Pulse has a misconfiguration.


FWIW, alsaconf doesn't see my sound cards, either. Here's what I've got:

kaylee shortcircuit # lspci -k|grep -i -A2 audio
00:1b.0 Audio device: Intel Corporation 631xESB/632xESB High Definition 
Audio Controller (rev 09)

Subsystem: Hewlett-Packard Company Device 3015
Kernel driver in use: HDA Intel
--
40:00.1 Audio device: nVidia Corporation High Definition Audio 
Controller (rev a1)

Subsystem: Micro-Star International Co., Ltd. Device 2011
Kernel driver in use: HDA Intel



Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Peter Humphrey
On Friday 30 December 2011 17:18:35 Aljosha Papsch wrote:
> On Fri, Dec 30, 2011 at 12:00:11PM -0500, Michael Mol wrote:
> > Peter Humphrey wrote:
> > > On Friday 30 December 2011 14:34:16 Mark Knecht wrote:
> > >  > I guess you're going to need to provide some debug info. Maybe try
> > >  > a
> > >  > 
> > >  > complete power down and not just a warm boot. Not finding the
> > >  > device
> > >  > 
> > >  > at all is problematic. What's in lspci, etc.?
> > > 
> > > Power cycle complete - no difference. Switching back to kernel 3.0.6
> > > I now have no sound there either!
> > > 
> > > Lspci shows the device ok. Output of alsa-info attached.
> > 
> > Your ALSA stuff looks fine, by my eye. What happens when you run
> > "alsamixer"? "alsamixer -c0"?
> 
> Peter, according to your amixer output 'Master Front' is set to 0%. Maybe
> this is your problem?

Well spotted, both you and Michael. However, that's not /the/ problem. 
Setting the master volume to 100% just gave me a faint hiss in the speakers; 
no real sound, and no device detected by alsaconf.

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


Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Aljosha Papsch
On Fri, Dec 30, 2011 at 12:00:11PM -0500, Michael Mol wrote:
> Peter Humphrey wrote:
> > On Friday 30 December 2011 14:34:16 Mark Knecht wrote:
> >
> >  > I guess you're going to need to provide some debug info. Maybe try a
> >
> >  > complete power down and not just a warm boot. Not finding the device
> >
> >  > at all is problematic. What's in lspci, etc.?
> >
> > Power cycle complete - no difference. Switching back to kernel 3.0.6 I
> > now have no sound there either!
> >
> > Lspci shows the device ok. Output of alsa-info attached.
> 
> Your ALSA stuff looks fine, by my eye. What happens when you run 
> "alsamixer"? "alsamixer -c0"?

Peter, according to your amixer output 'Master Front' is set to 0%. Maybe this 
is your problem?

-- 



Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...

2011-12-30 Thread Alan McKinnon
On Fri, 30 Dec 2011 14:02:33 +0100
Alex Schuster  wrote:

> > The only thing that's keeping me from mutt is the zillion shortcut
> > commands that I need to learn ... old dog/new tricks and all that.  
> 
> Claws is okay, except that it does not work with maildirs, the is some
> import script or something to convert this to mbox format.
> Thunderbird also is a decent mail program.

I run an imap server (dovecot) locally to deal with that. It knows what
regular maildirs are and uses them. The main benefit is when changing
mail clients, NO migration is needed. Just point the new client at
localhost:143, and voila!

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



Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Michael Mol

Peter Humphrey wrote:

On Friday 30 December 2011 14:34:16 Mark Knecht wrote:

 > I guess you're going to need to provide some debug info. Maybe try a

 > complete power down and not just a warm boot. Not finding the device

 > at all is problematic. What's in lspci, etc.?

Power cycle complete - no difference. Switching back to kernel 3.0.6 I
now have no sound there either!

Lspci shows the device ok. Output of alsa-info attached.


Your ALSA stuff looks fine, by my eye. What happens when you run 
"alsamixer"? "alsamixer -c0"?




Re: [gentoo-user] Is it safe to get rid of python 2.x?

2011-12-30 Thread Alan McKinnon
On Fri, 30 Dec 2011 17:04:05 +0100
Jarry  wrote:

> Hi,
> after upgrading glib today I noticed new message from
> revdep-rebuild:
> -
> Not unmerging package dev-lang/python-2.7.2-r3 since there is no valid
> reason for Portage to unmerge currently used Python interpreter.
> -
> 
> And it removed nothing, despite of "Number removed:1" message.
> This is definitely something new, as I quickly compared it
> with another box where no such a message was printed.
> 
> So my question is: can we finally switch to python3.1 and
> uninstall python2.7?

No.

When it is *safe* to do so there will be all manner of news, blog and
list posts from the devs announcing that the time has come. This hasn't
happened.

I don't follow why you asked the question given the data to hand though.
Portage told you that revdep-rebuild listed python-2.7 as a candidate
for deletion, and portage refused to do it, quite correctly. 



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



Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Peter Humphrey
On Friday 30 December 2011 14:34:16 Mark Knecht wrote:

> I guess you're going to need to provide some debug info. Maybe try a
> complete power down and not just a warm boot. Not finding the device
> at all is problematic. What's in lspci, etc.?

Power cycle complete - no difference. Switching back to kernel 3.0.6 I now 
have no sound there either!

Lspci shows the device ok. Output of alsa-info attached.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23
upload=true&script=true&cardinfo=
!!
!!ALSA Information Script v 0.4.60
!!

!!Script ran on: Fri Dec 30 16:35:48 UTC 2011


!!Linux Distribution
!!--

Gentoo Base System release 2.0.3


!!DMI Information
!!---

Manufacturer:  System manufacturer
Product Name:  System Product Name
Product Version:   System Version


!!Kernel Information
!!--

Kernel release:3.0.6-gentoo
Operating System:  GNU/Linux
Architecture:  x86_64
Processor: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
SMP Enabled:   Yes


!!ALSA Version
!!

Driver version: 1.0.24
Library version:1.0.24.1
Utilities version:  1.0.24.2


!!Loaded ALSA modules
!!---

snd_hda_intel


!!Sound Servers on this system
!!

Pulseaudio:
  Installed - Yes (/usr/bin/pulseaudio)
  Running - Yes

ESound Daemon:
  Installed - Yes (/usr/bin/esd)
  Running - No


!!Soundcards recognised by ALSA
!!-

 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xf7ff8000 irq 46


!!PCI Soundcards installed in the system
!!--

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High 
Definition Audio (rev 05)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!

00:1b.0 0403: 8086:3b56 (rev 05)
Subsystem: 1043:8375


!!Loaded sound module options
!!--

!!Module: snd_hda_intel
bdl_pos_adj : 
1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : 
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : 
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
model : 
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
position_fix : 
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
probe_mask : 
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only : 
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
single_cmd : N


!!HDA-Intel Codec information
!!---
--startcollapse--

Codec: VIA VT1828S
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11064441
Subsystem Id: 0x104383d0
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=1, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x08 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="VT1828S Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals:  [0x2a 0x2a]
  Converter: stream=5, channel=0
  PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x09 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals:  [0x2a 0x2a]
  Converter: stream=5, channel=0
  PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x0a [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals:  [0x2a 0x2a]
  Con

[gentoo-user] Is it safe to get rid of python 2.x?

2011-12-30 Thread Jarry

Hi,
after upgrading glib today I noticed new message from
revdep-rebuild:
-
Not unmerging package dev-lang/python-2.7.2-r3 since there is no valid
reason for Portage to unmerge currently used Python interpreter.
-

And it removed nothing, despite of "Number removed:1" message.
This is definitely something new, as I quickly compared it
with another box where no such a message was printed.

So my question is: can we finally switch to python3.1 and
uninstall python2.7?

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



[gentoo-user] Re: Gnome 3 + Notification Daemon [OFFTOPIC]

2011-12-30 Thread Carlos Sura
On 30 December 2011 08:51, Carlos Sura  wrote:

> Hello mates,
>
> I'm using now Gnome 3,
> Whenever I login and when I'm connected to my wifi router I get a
> notification message, I clicked "Don't show this message again".
>
> Is there a way to revert this action, I mean I want to be notified when
> connected to a network.
>
> But I clicked accidentally in "don't show this message again"
>
> --
> Carlos Sura.-
> www.carlossura.com
>
>
I found a way:

/apps/nm-applet/suppress-wireless-networks-available

set the value to FALSE (untick) with GCONF-EDITOR


-- 
Carlos Sura.-
www.carlossura.com


[gentoo-user] Gnome 3 + Notification Daemon [OFFTOPIC]

2011-12-30 Thread Carlos Sura
Hello mates,

I'm using now Gnome 3,
Whenever I login and when I'm connected to my wifi router I get a
notification message, I clicked "Don't show this message again".

Is there a way to revert this action, I mean I want to be notified when
connected to a network.

But I clicked accidentally in "don't show this message again"

-- 
Carlos Sura.-
www.carlossura.com


Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Mark Knecht
On Fri, Dec 30, 2011 at 6:10 AM, Peter Humphrey
 wrote:
> Hello list,
>
>
>
> Today I upgraded my kernel from 3.0.6 to 3.1.6 and promptly lost sound. This
> motherboard has Intel HDA. All the required modules are loaded, and I hear a
> thud as they're loaded, but alsaconf can't find the device.
>
>
>
> I tried recompiling all the alsa drivers into the kernel instead of as
> modules but it made no difference.
>
>
>
> Has anyone a fix for this?
>
>
>
> --
>
> Rgds
>
> Peter Linux Counter 5290, 1994-04-23
>
>

I just did a quick update on my wife's machine which also uses Intel
HDA and have sound in KDE so at least it's not a generic problem.

I guess you're going to need to provide some debug info. Maybe try a
complete power down and not just a warm boot. Not finding the device
at all is problematic. What's in lspci, etc.?

Post back with more info.

- Mark



Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Michael Mol

Peter Humphrey wrote:

Hello list,

Today I upgraded my kernel from 3.0.6 to 3.1.6 and promptly lost sound.
This motherboard has Intel HDA. All the required modules are loaded, and
I hear a thud as they're loaded, but alsaconf can't find the device.

I tried recompiling all the alsa drivers into the kernel instead of as
modules but it made no difference.

Has anyone a fix for this?


I think the first step for something like this is to run 
/usr/bin/alsa-info to get some debugging detail.


In other news...So 3.1.6 just went stable for amd64. I wonder what's 
special about that one that wasn't met by 3.0.{13|14} or 3.1.[0-5].





Re: [gentoo-user] To swap or not to swap? Is it really needed?

2011-12-30 Thread Dale

Michael Mol wrote:

On Fri, Dec 30, 2011 at 2:31 AM, Dale  wrote:

Michael Mol wrote:

On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto França Pereira
wrote:

ZRAM is a compressed ramdisk for swap, right? I'm really not
interested currently.
My next system will have 16gb of ram, and I'll create an 8gb ramdisk
on it to increase emerge performance. Other than that, I'm pretty
happy with my system performance, disabling swap and compositing
effects (remember, open source radeon drivers, I might try fglrx again
but I really liked KMS) did the trick.

8GB isn't enough for some packages. Though putting it on top of zram
might work. I don't know how you'd calculate the free space, though,
and portage would check in advance.


I have portages work directory on tmpfs and it works fine.  I don't have it
set to a specific amount so it uses whatever it needs.  It even works fine
with LOo.  I have 16Gbs in all but it rarely uses more than 4Gbs.  Of
course, I don't just sit here and watch it either.  I start my updates and
usually go to bed.

Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
What do you have for mount options in fstab?

I used to put portage's work directory on tmpfs, but I had to stop
when LO ran out of space in a pre-check, IIRC. Now I have it on top of
a RAID5 it shares with /home.



This is my fstab line:

tmpfs/var/tmp/portage tmpfsnoatime  0 0

According to df it is this size:

tmpfs82329403008   8229932   1% /var/tmp/portage

So it defaults to half the ram you have.  I read that somewhere so I set 
mine up that way since from what I read, it can grow if needed.  So far, 
I have had no problems with it set this way.  Even LOo compiles with no 
problems.


Right now, I'm having a issue with phonon-gstreamer-4.5.1 so the failed 
emerge is still there.  If it hadn't failed, it would be using 0 space.


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] To swap or not to swap? Is it really needed?

2011-12-30 Thread Paul Hartman
On 12/30/2011 08:11 AM, Peter Humphrey wrote:
> On Friday 30 December 2011 14:02:46 Paul Hartman wrote:
> 
>> On 12/30/2011 07:32 AM, Michael Mol wrote:
> 
>> > Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
> 
>> > What do you have for mount options in fstab?
> 
>>
> 
>> You can set the size with size= parameter. For example I have mine
> 
>> set to 10G:
> 
>>
> 
>> none /dev/shm tmpfs defaults,size=10G 0 0
> 
>>
> 
>> It is shared memory, so that 10G is not actually used unless it is...
> 
>> well, actually used. :)
> 
>  
> 
> ...and you can set the size to be more than the RAM you have; any used
> excess gets swapped out.
> 

Though, if you get to that point, performance would probably be better
if you used disk for tmp in the first place. :)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...

2011-12-30 Thread Michael Mol

Mick wrote:

On Friday 30 Dec 2011 13:02:33 Alex Schuster wrote:

Mick writes:

For now I have masked KDEPIM 4.7 on all of my remaining boxen.  This is
too messy to have to fix more than once, if I can fix it at all that is!

The only thing that's keeping me from mutt is the zillion shortcut
commands that I need to learn ... old dog/new tricks and all that.


Claws is okay, except that it does not work with maildirs, the is some
import script or something to convert this to mbox format.
Thunderbird also is a decent mail program.


I have tried Claws (although I did not like mbox) and found myself cursing
after every other key press.  I also tried T'bird and found it better than
Claws, but worse than Kmail.  It's not just keyboard short cuts, but also how
it integrates with the address book, pgp and s/mime, etc.

I started looking into getting used to mutt again.  Not sure how I can modify
its shortcuts, because some them are not intuitive enough for me and some are
duplicated/redundant.


On a Windows box where I need to be conscientious about memory usage, 
I've started using Seamonkey instead of Thunderbird+Chrome. If you can 
find Thunderbird tolerable, Seamonkey isn't far off. The browser side 
got some long-needed TLC earlier this year with the release of 2.5, so 
it's functional on the modern Internet. It still needs more work[1], but 
it handles most of my web needs, now.


I haven't tried it on Gentoo yet, and I don't know if or when I will; 
none of my Gentoo boxes (four out of eight! Whee!) are low on memory yet.


It also comes with an "address book" component that's somehow viewed on 
the same tier as its browser, email, calendar and IRC client 
component[2]...I'd guess it's worth a try, at least.


[1] It's got some issues with blocking the UI thread on things that 
should be background operations, and it has some weird glitches when I 
load up GMail--which I only do for my address book there...


[2] Seamonkey is the descendant of the old Mozilla suite. The IRC client 
is still called "Chatzilla". Perhaps there's a way to turn off the 
components you don't need in the ebuild.




Re: [gentoo-user] To swap or not to swap? Is it really needed?

2011-12-30 Thread Peter Humphrey
On Friday 30 December 2011 14:02:46 Paul Hartman wrote:
> On 12/30/2011 07:32 AM, Michael Mol wrote:
> > Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
> > What do you have for mount options in fstab?
> 
> You can set the size with size= parameter. For example I have mine
> set to 10G:
> 
> none/dev/shm  tmpfs   defaults,size=10G  0 0
> 
> It is shared memory, so that 10G is not actually used unless it is...
> well, actually used. :)

...and you can set the size to be more than the RAM you have; any used 
excess gets swapped out.

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


[gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Peter Humphrey
Hello list,

Today I upgraded my kernel from 3.0.6 to 3.1.6 and promptly lost sound. This 
motherboard has Intel HDA. All the required modules are loaded, and I hear a 
thud as they're loaded, but alsaconf can't find the device.

I tried recompiling all the alsa drivers into the kernel instead of as 
modules but it made no difference.

Has anyone a fix for this?

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


Re: [gentoo-user] To swap or not to swap? Is it really needed?

2011-12-30 Thread Paul Hartman
On 12/30/2011 07:32 AM, Michael Mol wrote:
> Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
> What do you have for mount options in fstab?

You can set the size with size= parameter. For example I have mine
set to 10G:

none/dev/shm  tmpfs   defaults,size=10G  0 0

It is shared memory, so that 10G is not actually used unless it is...
well, actually used. :)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...

2011-12-30 Thread Mick
On Friday 30 Dec 2011 13:02:33 Alex Schuster wrote:
> Mick writes:

> > The auto-migration did not work.  It only worked partially for some mail
> > account settings, but did not leave behind a workable system, with half
> > the account settings missing.
> 
> I had a problem with mysql stuff missing, so Akonadi did not start and
> the migration failed. I had to add the mysql USE flag to x11-libs/qt-sql.

I am not using mysql.  I use sqlite3 which the KDE devs say it's not up to the 
job (can't handle the multi-threaded-access/read/write that mysql does).  So I 
have the sqlite USE flag enabled.  Akonadi and nepomuk started but never 
managed the migration.  No sqlite errors on the terminal that I started kmail 
from.

BTW, this is not a suggestion to use sqlite!  If you are happy to run a full 
blown mysql database on a desktop machine carry on with mysql or postgress.  I 
use mysql on a production box, because it's already running mysql for some 
other apps.  However, on this old laptop I'm using sqlite because this is an 
asthmatic PIII laptop with rather limited resources.  I don't need/want 
desktop semantic tagging, GUI search, or any of the new KDE design philosophy 
features and functions (find and egrep have served me nicely for years now, 
thank you).  Kmail 3.5 was fine, stable and relatively light footed.  It met 
perfectly my needs.  :-(


> > The kmail-migrator --interactive also did not work.
> 
> It refuses to start again with an already existing kmailrc.

You will need to restart the migration process.  For this you will need to 
shut down nepomuk and akonadi.  Then remove their respective config and db 
files.  Then restart them and fire up kmail afresh.  You'll have to be patient 
though, assuming the migration starts correctly this time.  Read more here:

http://userbase.kde.org/Akonadi_4.4/Troubleshooting

If not, then remove their files all the same, restart them and proceed to 
importing the mail directories from your Mail one at a time.

They are usually imported in a kmail-import.0 type of folder.  You can rename 
that, or select any subfolders and move them where you want them.

On every such physical move you will have to be patient.  Small subfolders 
will move and the akonadi with resync its tables within a few seconds, but 
larger folders with thousands of messages will take ages to complete.

After the whole import, sync, move, sync process has completed things will 
move smoother (only a few seconds delay when you open or access a large 
folder).


> > I had to change the location pointing to the local mail folders - I keep
> > mine under ~/Mail.  Then after pressing F5 on each folder akonadi
> > scanned the respective mail directory and my stored messages showed up! 
> > :-)
> 
> You're lucky. I created a 'KMail Maildir' resource for the mail folder
> that was used with KMail1 in KDE 3.5, and while the folder structure is
> imported, I see no mails. Akonadi says it is syncing the folder I
> clicked at, but it never finishes. When I drop a mail into a folder
> (this workaround had been suggested to my on the KDE mailing list when I
> did my own migration (and it worked)), I only see this mail, others
> still do not show up.

This is a game of patience.  It helps if you imagine slwly ringing the 
neck of those devs who released this half baked piece of C.R.A.P. on us.  
(Cannot Retail at Any Price).

I suggest you try one move at a time and then wait until it finishes.  
Completely.


> Then I created a 'Maildir' resource. Some folders sync, but nothing
> happens when I select the inbox. I restarted Akonadi, now there are some
> 13,000 thousand mails in the inbox, and I can view them. The other
> folders get populated after pressing F5, but it takes long until they
> are actually shown. And switching the folders takes some seconds.

Yes, there may be a couple of seconds delay between large folders, when kmail 
first starts.  Fewer seconds lag after the first time.


> So I started moving folders from the 'Maildir' resource to the default
> 'Local Folders' Resource. Rather than simply changing the 'Local
> Folders' resource path to the Works, but the inbox has some 40,000
> mails, and after over one hour only 4000 were copied to their
> destination, so I logged out.
> The next login, mysqld again eats 150 percent of the three CPU  cores,
> and two akonadi_agent processes take another 100, the migration is still
> happening. At a rate of < 100 Mails per minute. So it will probably take
>  more than 7 hours until it's complete. I do not even know how to abort
> this. I deleted the 'Maildir' resource, and the 'Local Folders'
> resource, logged out an in again, and had to kill the mysqld process.
> The 'Local Folders' resource is being recreated automatically by KMail2
> I guess, finally I pointed its directory to the original Mail directory,
> and things start to work. At least KDEPIM stuff, the rest of KDE still
> has its problems.

Not all of my maildir ~/Mail folders were p

Re: [gentoo-user] To swap or not to swap? Is it really needed?

2011-12-30 Thread Michael Mol
On Fri, Dec 30, 2011 at 2:31 AM, Dale  wrote:
> Michael Mol wrote:
>>
>> On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto França Pereira
>>   wrote:
>>>
>>> ZRAM is a compressed ramdisk for swap, right? I'm really not
>>> interested currently.
>>> My next system will have 16gb of ram, and I'll create an 8gb ramdisk
>>> on it to increase emerge performance. Other than that, I'm pretty
>>> happy with my system performance, disabling swap and compositing
>>> effects (remember, open source radeon drivers, I might try fglrx again
>>> but I really liked KMS) did the trick.
>>
>> 8GB isn't enough for some packages. Though putting it on top of zram
>> might work. I don't know how you'd calculate the free space, though,
>> and portage would check in advance.
>>
>
> I have portages work directory on tmpfs and it works fine.  I don't have it
> set to a specific amount so it uses whatever it needs.  It even works fine
> with LOo.  I have 16Gbs in all but it rarely uses more than 4Gbs.  Of
> course, I don't just sit here and watch it either.  I start my updates and
> usually go to bed.

Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
What do you have for mount options in fstab?

I used to put portage's work directory on tmpfs, but I had to stop
when LO ran out of space in a pre-check, IIRC. Now I have it on top of
a RAID5 it shares with /home.

-- 
:wq



Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...

2011-12-30 Thread Alex Schuster
Mick writes:

> ... or what the unbelievable lack of maturity of KDEPIM devs has landed us in:
> 
> I have upgraded KDE on my old laptop to see what gives.  Surprisingly, it was 
> not *too* bad; i.e. my old emails were not corrupted, deleted or otherwise 
> affected.

I am doing the same on my sister's PC. It doesn't work too well.

> However, the following are things that didn't really work as a rational human 
> being would expect with a PIM setup, let alone anyone who's running this in a 
> production environment with loads of users!
> 
> The auto-migration did not work.  It only worked partially for some mail 
> account settings, but did not leave behind a workable system, with half the 
> account settings missing.

I had a problem with mysql stuff missing, so Akonadi did not start and
the migration failed. I had to add the mysql USE flag to x11-libs/qt-sql.

> The kmail-migrator --interactive also did not work.

It refuses to start again with an already existing kmailrc.

> I had to change the location pointing to the local mail folders - I keep mine 
> under ~/Mail.  Then after pressing F5 on each folder akonadi scanned the 
> respective mail directory and my stored messages showed up!  :-)

You're lucky. I created a 'KMail Maildir' resource for the mail folder
that was used with KMail1 in KDE 3.5, and while the folder structure is
imported, I see no mails. Akonadi says it is syncing the folder I
clicked at, but it never finishes. When I drop a mail into a folder
(this workaround had been suggested to my on the KDE mailing list when I
did my own migration (and it worked)), I only see this mail, others
still do not show up.

Then I created a 'Maildir' resource. Some folders sync, but nothing
happens when I select the inbox. I restarted Akonadi, now there are some
13,000 thousand mails in the inbox, and I can view them. The other
folders get populated after pressing F5, but it takes long until they
are actually shown. And switching the folders takes some seconds.

So I started moving folders from the 'Maildir' resource to the default
'Local Folders' Resource. Rather than simply changing the 'Local
Folders' resource path to the Works, but the inbox has some 40,000
mails, and after over one hour only 4000 were copied to their
destination, so I logged out.
The next login, mysqld again eats 150 percent of the three CPU  cores,
and two akonadi_agent processes take another 100, the migration is still
happening. At a rate of < 100 Mails per minute. So it will probably take
 more than 7 hours until it's complete. I do not even know how to abort
this. I deleted the 'Maildir' resource, and the 'Local Folders'
resource, logged out an in again, and had to kill the mysqld process.
The 'Local Folders' resource is being recreated automatically by KMail2
I guess, finally I pointed its directory to the original Mail directory,
and things start to work. At least KDEPIM stuff, the rest of KDE still
has its problems.

> The migration of the email account Settings was even less successful.  The 
> settings for Sending transferred across, but the account settings for 
> Receiving did not survive.  Well, let me be more precise here.  They did 
> survive, as they were all still in the kmailrc file.  I checked this against 
> a 
> back up.  No matter, they didn't show up under accounts.

Nothing of this has been auto-migrated here.

> The IMAP4 accounts were less of a success however.  I recreated them from 
> scratch, but no messages showed up under Inbox.  Sent and Trash work fine.

At least this is working.

> Having ran out of time I was wondering if you came across such breakages and 
> if so how did you fix them.

Personally, I have switched to Claws. It has its own issues, but that's
nothing compared to KMail2. But my sister is used to KMail, and so I try
to make it work for her.

> For now I have masked KDEPIM 4.7 on all of my remaining boxen.  This is too 
> messy to have to fix more than once, if I can fix it at all that is!
> 
> The only thing that's keeping me from mutt is the zillion shortcut commands 
> that I need to learn ... old dog/new tricks and all that.

Claws is okay, except that it does not work with maildirs, the is some
import script or something to convert this to mbox format.
Thunderbird also is a decent mail program.

Wonko