Re: [gentoo-user] Re: Adobe flash warning and tree

2016-01-14 Thread Peter Weilbacher
On Wed, 13 Jan 2016, Nikos Chantziaras wrote:

> On 12/01/16 23:10, Róbert Čerňanský wrote:
> > https://get.adobe.com/flashplayer/ page:
> >
> > "Adobe Flash Player 11.2 will be the last version to target Linux as a
> > supported platform. Adobe will continue to provide security backports
> > to Flash Player 11.2 for Linux."
>
> That's ancient. The version that comes with Chrome is v20.0.

No, Google just likes to increase their version numbers in big steps so
that you think that they make quick progress. v11.2.202.559 on Linux is
from 28th of December, see 
.

   Peter.



Re: [gentoo-user] Re: firefox profile uses 100% CPU

2015-11-15 Thread Peter Weilbacher
On Thu, 12 Nov 2015, walt wrote:

> On Wed, 11 Nov 2015 17:38:45 -0700 the...@sys-concept.com wrote:
>
> > When I start one of my firefox profile (even in "-save-mode")

That would be "-safe-mode" by the way, with an "f".

> I had a bad problem with the firefox profile manager about a year ago
> and I decided that the devs at mozilla are not maintaining that code
> any more, so I stopped using the profile manager.

What made you decide that? Are you a manager at Mozilla?

> Firefox/mozilla is a very old project with limited resources.

Yes, as a multi-million dollar company they are severely limited...

> The current developers are working full speed on security updates,
> which is good, but there is a lot of bitrot in their huge codebase.

Huh? What do you call "bitrot" and what indication for that do you see?
   Peter.



Re: [gentoo-user] Re: Experiences with gtk3-nocsd?

2015-09-30 Thread Peter Weilbacher
On Wed, 30 Sep 2015, Grant Edwards wrote:

> [Actually, I don't recall ever using evince or atril for filling out
> PDF forms -- so that might be another reason I'd have to keep acroread
> around.]

In my experience, at least evince is great with forms! Since that's
provided by the same backend library (I think), atril should be able to
handle them nicely as well. [The only reason to keep acrobat around are
some documents with PDF comments filled out by people on Macs. evince
does not always show all of those.]

   Peter.



Re: [gentoo-user] broken seamonkey :(

2015-09-04 Thread Peter Weilbacher
On Fri, 4 Sep 2015, lee wrote:

> Thank you.  The problem is that it doesn't let me add an exception. Only
> the older versions do that.  All options to add an exception are
> disabled.
>
> There is 'browser.ssl_override_behavior', the value of which is
> 2. Guessing by what that means from [2], that should allow me to add an
> exception.

Are you sure that diving right into about:config is the best way? In
SeaMonkey, take a look under Preferences -> Privacy & Security ->
Certificates. Under "Manage Certificates..." you can import your own
certificates which I think is the right way to proceed (although I
haven't tried that in a while). In the same dialog, you can also
manually add exceptions before you even go to the server.
Firefox and Thunderbird have similar dialogs.

   Peter.



Re: [gentoo-user] Lost tabs links in Firefox

2015-09-01 Thread Peter Weilbacher

On 2015-09-01 08:33, gevisz wrote:

I have a bad habit of leaving too many tabs open
when closing Firefox relying on its feature to open them
again next time I start it.

[...]

I still believe that at least links for them can be found
somewhere inside ~/.mozilla directory.


Search for sessionstore.{json,bak} in ~/.mozilla/firefox. One of
those should contain the URLs of your tabs. (Unless you started
too many times after the error. Then they might have gotten
overwritten.)

Maybe it's just a matter of having started with a different
profile than normal? There were such cases on this list recently.
Try starting with |firefox -P|...

   Peter.



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-31 Thread Peter Weilbacher
On Sun, 30 Aug 2015, Fernando Rodriguez wrote:

> And you should still try suggestion #2 because it's very likely to only affect
> one specific configuration.

Thanks, I did that just now. Took another, but didn't give me any more
data to go by. Getting set up for bisecting and doing real work on this
would probably fill my evenings until end of next week.

Nowadays I just don't have the time to fiddle around with computers any
more (and it's not fun any more, either). I guess, I'll just go back to
a kernel version with longterm support.

Thanks anyway for your help!
   Peter.



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Peter Weilbacher
On Sat, 29 Aug 2015, Alexander Kapshuk wrote:

 You probably did look into this yourself, but did you double-check
 your /etc/lilo.conf? Is everything fine there?

At least it's identical between 4.0.5 and 4.1.6:

image=/boot/kernel-genkernel-x86_64-4.0.5
   label=Linux405
   read-only # read-only for checking
   root=/dev/ram0
   append=init=/linuxrc keymap=de ramdisk=8192 real_root=/dev/sda6
   splash=verbose,theme:default console=tty1 quiet
   radeon.modeset=1 video=radeon:mtrr:3,ywrap,1680x1050-32@60
   ahci.marvell_enable=0
   initrd=/boot/initramfs-genkernel-x86_64-4.0.5

Don't ask me where all those options came from, they grew with time...

 Here are my RCU kernel config options. What do yours look like?
 % uname -r
 4.1.6-vanilla
 % grep RCU .config
 # RCU Subsystem
 CONFIG_TREE_RCU=y
 CONFIG_SRCU=y
 # CONFIG_TASKS_RCU is not set
 CONFIG_RCU_STALL_COMMON=y
 CONFIG_RCU_FANOUT=32
 CONFIG_RCU_FANOUT_LEAF=16
 # CONFIG_RCU_FANOUT_EXACT is not set
 # CONFIG_RCU_FAST_NO_HZ is not set
 # CONFIG_TREE_RCU_TRACE is not set
 CONFIG_RCU_KTHREAD_PRIO=0
 # CONFIG_RCU_NOCB_CPU is not set
 # CONFIG_RCU_EXPEDITE_BOOT is not set
 # RCU Debugging
 # CONFIG_PROVE_RCU is not set
 # CONFIG_SPARSE_RCU_POINTER is not set
 # CONFIG_RCU_TORTURE_TEST is not set
 CONFIG_RCU_CPU_STALL_TIMEOUT=21
 # CONFIG_RCU_CPU_STALL_INFO is not set
 # CONFIG_RCU_TRACE is not set

Thanks. The only difference to my config there is that I have
CONFIG_RCU_FANOUT=64 and CONFIG_RCU_CPU_STALL_TIMEOUT=60 (don't ask me
where the values come from, I don't remember ever setting them different
from the default). But since that is all the same between 4.0.5 and
4.1.6, I don't think it has anything to do with my problem. Could the
RCU message just be telling me that since the machine doesn't properly
boot, it doesn't have anything to do?

Cheers,
   Peter.



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Peter Weilbacher
Hi Fernando,

On Sun, 30 Aug 2015, Fernando Rodriguez wrote:

 1. Add loglevel=7 to your kernel parameters and see what it prints before it
 hangs.

That helped, it showed me something about drm, so...

 3. From your kernel parameters I assume you're using the radeon free driver
 right? If that's the case disable it (don't compile it in or just delete the
 module) and try to boot wiith a framebuffer.

... this was a good suggestion. Switching off DRM/Radeon gets me a
kernel that boots. However, with that config I cannot run X (which then
complains about missing kernel mode switching). If I follow
wiki.gentoo.org/wiki/Xorg/Guide#Kernel_modesetting I again arrive at the
kernel settings that I previously had and which didn't work with 4.1.x.

Any more suggestions?
   Peter.



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-29 Thread Peter Weilbacher
On Tue, 25 Aug 2015, Alexander Kapshuk wrote:

 I've never experienced this particular kernel trouble myself, so I'm
 not sure if my input would be of much help.
 Here's what the kernel documentation has to say about this kind of issue:

 /usr/src/linux/Documentation/RCU/stallwarn.txt:29,33
[...]
 Have a look for possibly stack traces in these log files:
 /var/log/{messages,dmesg}.

 Hopefully, someone else with more kernel debugging experience will
 have something more substantial to say about this.

Thanks for the reply, Alex. I had googled for those messages, too, and
had found that RCU info. Unfortunately, I have no idea what to do with
it, since it stops right at the booting stage, right before init starts,
so before I can do anything interactive.

I have posted a message to the LKML, maybe someone there has a hint.
(The machine is old and rarely used, but I would still like to run the
newest software because it is connected to the net.)

   Peter.



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-25 Thread Peter Weilbacher
Hi Alexander,

On Sun, 23 Aug 2015, Alexander Kapshuk wrote:

 On Sun, Aug 23, 2015 at 4:08 PM, Peter Weilbacher newss...@weilbacher.org 
 wrote:
 
  after successfully using kernel 4.0.5 (vanilla-sources) for a while, I
  upgraded to 4.1.5 last week and 4.1.6 today. I cannot boot either of
  them. On the screen I see
 
 Decompressing Linux... Parsing ELF... done.
 Booting the kernel.
 
  as the last thing, then it just sits there.

 I am running vanilla-sources 4.1.6, and so far I have not had any
 trouble booting it.

 Are you able to boot some of your previous kernels? If so, what does
 your '/boot/grub/grub.cfg' look like?
 What is the output of 'cat /etc/fstab' and 'ls -1 /boot'?

I can still boot 4.0.5 fine, with the same setup. I use lilo, and I
checked that I changed the two/four digits correctly in /etc/lilo.conf.

By chance I left the boot sit there for more than the typical minute,
and got multiple messages like

  INFO: rcu_sched self-detected stall on CPU { 3}  (t=6 jiffies g=-256 
c=-257 q=193)
  rcu_sched kthread starved for 50027 jiffies!

right after the above Booting the kernel. line.

Do I need to activate a different kind of clocking or a CPU feature in
4.1.x?

   Peter.



[gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-23 Thread Peter Weilbacher
Dear all,

after successfully using kernel 4.0.5 (vanilla-sources) for a while, I
upgraded to 4.1.5 last week and 4.1.6 today. I cannot boot either of
them. On the screen I see

   Decompressing Linux... Parsing ELF... done.
   Booting the kernel.

as the last thing, then it just sits there.

To upgrade I copy the previously used .config to the new kernel
directory and run genkernel with --no-clean and --menuconfig so that I
get the same config as before -- unless I change something, which in
this case I didn't. (This has worked very nicely since 3.1.x or so).

Does that ring a bell with someone?
   Peter.



Re: [gentoo-user] OT: new thinkpad with Gentoo

2014-11-21 Thread Peter Weilbacher
On Thu, 20 Nov 2014, thegeezer wrote:

 On 20/11/14 18:19, Stefan G. Weichinger wrote:
  But I like that trackpoint 
 yeah at first it's odd, but then when you start getting used to
 navigating without removing hands from keyboard it does become almost a
 prerequisite.

Just that it's pretty useless with the touchpad below that's now missing
real mouse buttons to use together with the trackpoint.
At least I haven't managed to configure it in a useful way for my T540p.
   P.



Re: [gentoo-user] Re: WEFT Why Every F Time ?

2014-04-18 Thread Peter Weilbacher

On 2014-04-18 02:11, Alan McKinnon wrote:

On 17/04/2014 18:32, James wrote:

alpine? (I guess is the current form/derivative of pine?REALLY?


Alpine itself is now abandonware and replaced with some other *pine* 
app :-)


No, Eduardo Chappa still does Alpine releases every now and then,
2.11 is of last August and it's in portage. And who needs new versions
more often when a program works that well? :-)
   P.



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-26 Thread Peter Weilbacher

On 2013-11-26 13:20, Marc Stürmer wrote:

Zitat von Peter Weilbacher newss...@weilbacher.org:

One more thing that happens to me is that apparently gnome-terminal  
does not notify console apps of new window size. For me this happens  
to Alpine. (The only reason why I didn't simply switch to xfce  
terminal is that there I cannot switch off the scrollbar with  
parameters.)


Well I've found one possibility for that strange behaviour could be
the proprietary Nvidia driver. There's already some bug open in the
Gentoo Bugtracker.

Downgraded from 331 to 319, but it did not really change at all, so
still diggin'!


Yes, my Alpine-related problem was solved by downgrading the NVidia 
driver from 331.20 to 331.17. The problem with the terminals that don't 
want to close on Ctrl-D stays the same. (I also tried 331.13 but that 
didn't help. And the problem started to appear after Oct 7th for me 
which is when I installed 331.13.)


   Peter.



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-25 Thread Peter Weilbacher

On 2013-11-25 17:15, Marc Stürmer wrote:

Am 25.11.2013 15:15, schrieb Randy Barlow:

Did you find out what was causing this issue? I've been experiencing 
it

as well in my Gnome 2 system (gnome-terminal). I haven't put much
effort into figuring out what is happening, but I'm curious now that I
know it has affected someone else as well.


Not yet, e.g. Xfce Terminal 0.6.X works as I want it, version 0.4.8
does not. Mate Terminal also does not. Still diggin'!


Don't have Mate, but I can otherwise confirm this behavior: xfce 
terminal works, gnome-terminal does weird things.


One more thing that happens to me is that apparently gnome-terminal does 
not notify console apps of new window size. For me this happens to 
Alpine. (The only reason why I didn't simply switch to xfce terminal is 
that there I cannot switch off the scrollbar with parameters.)


I found about the time when this started happening, x11-libs/vte was 
updated on my system. I tried downgrading it but that didn't change 
anything.


   Peter.



Re: [gentoo-user] Firefox not killing processes on close

2013-11-11 Thread Peter Weilbacher

On 2013-11-11 23:40, Frank Steinmetzger wrote:

On Sun, Nov 10, 2013 at 04:07:34PM -0600, Dale wrote:


 What version of Firefox? What addons (if any) do you use with Firefox?


Oh good heavens.  I have lots of add ons installed.  It would take me 
a

while to list them all, heck, just to get a list much list post them
here.


There’s an addon for that. ;-)


No need for that, just go to Help - Troubleshooting Information and 
copy  paste the Extensions table.


Not that it seems to be central to answering the original problem...
   Peter.



Re: [gentoo-user] Avidemux does not display dialogue boxes

2013-10-30 Thread Peter Weilbacher

On 2013-10-30 16:44, Andrew Lowe wrote:


I've just installed the video tool avidemux but when I load a video,
the video loads, but there is no sound. A Google search offered a 
remedy

which required opening the preferences dialogue box. I attempted to do
this, but low and behold, no dialogue box will open. Further
investigation reveals that File-Open, File-Save, File-Information 
and

more don't display their dialogue boxes.


I am not deeply familiar with it but I use it a lot, in version 
media-video/avidemux-2.5.6-r2, with the gtk interface. I have tried to 
also compile and use with the qt4 UI with less good results. I also 
found the 2.6.x version to be broken in several ways, but that was a few 
months ago. So although the 2.5.x version has security holes, I tend to 
not work on videos with unknown origin, so I am still using that.


Maybe this helps you,
   Peter.



[gentoo-user] Re: Continuous beeping with kernel 3.10 and 3.11

2013-10-15 Thread Peter Weilbacher

On 2013-09-26 14:42, Peter Weilbacher wrote:

On one of my machines, I get continuous beeping from the internal
loudspeaker when I boot a newer kernel (I'm using vanilla-sources). I
first had that with 3.10.8 and also with 3.10.10, and it continues
with 3.11.1.

[...]

In the meantime I left the machine on long enough to discover that it
stops beeping whenever it is idle long enough and blanks the display.


Well, this is embarrassing: Since this began I switched the machine on 
even less often than before, but yesterday I found out by chance that 
the sound did not come from the internal speaker but from the speakers 
built into my screen. Now I traced it to the snd-hda-intel kernel module 
(noise there if loaded, sound gone when removed with |modprobe -r|).


Why was the sound never heard on bootup in 3.8.x kernels but is starting 
with 3.10.1?


   Peter.

P.S.: At least now I know that the easy workaround is to tune the 
(hardware) speaker volume down to 0...




Re: [gentoo-user] Continuous beeping with kernel 3.10 and 3.11

2013-10-01 Thread Peter Weilbacher

On 2013-09-26 15:35, Bruce Hill wrote:
Check the manual for your BIOS/motherboard to see if it's some 
indication of

hardware failure.


Hmm, I'm sure that I have seen some beeps documented, but I cannot find 
that anywhere in the manual now. But I have a hard time believing that 
it's the hardware when going back to kernel 3.8.x fixes the beeping.


   Peter.



Re: [gentoo-user] Continuous beeping with kernel 3.10 and 3.11

2013-10-01 Thread Peter Weilbacher

On 2013-09-26 15:24, the wrote:


Might be related with some kind of io error.
What does dmesg show?


Nothing out of the ordinary. :-(

Can it have something to do with the graphics card instead? Because it 
stops right when the screen blanks?

   Peter.



[gentoo-user] Continuous beeping with kernel 3.10 and 3.11

2013-09-26 Thread Peter Weilbacher
On one of my machines, I get continuous beeping from the internal 
loudspeaker when I boot a newer kernel (I'm using vanilla-sources). I 
first had that with 3.10.8 and also with 3.10.10, and it continues with 
3.11.1.


When I first had that problem I tried to remove all config options that 
had to do with the internal speaker, like

  CONFIG_HAVE_PCSPKR_PLATFORM
  CONFIG_PCSPKR_PLATFORM
  CONFIG_INPUT_PCSPKR
but that didn't help.

In the meantime I left the machine on long enough to discover that it 
stops beeping whenever it is idle long enough and blanks the display.


Does that ring a bell with someone?
   Peter.



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2013-01-04 Thread Peter Weilbacher

On 2013-01-03 13:59, Bruce Hill wrote:


xorg-server-1.13.1 (25 Dec 2012)

Your mirror must be *really* lagging.  :(


Not so much:
  30 Dec 2012; Agostino Sarubbo a...@gentoo.org 
xorg-server-1.13.1.ebuild:

  Stable for amd64, wrt bug #448562

This was the second update since then, maybe the first time (around Jan 
1st)

the mirror was lagging a bit. (Since I didn't know for sure that it was
xorg-server's fault or if it was fixed there I didn't keyword that 
package.)

   Peter.



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2013-01-03 Thread Peter Weilbacher

On 2012-12-04 19:52, Peter Weilbacher wrote:

Right, I did that now, and have the framebuffer splash back. X also 
starts
but the whole system locks hard once gdm tries to paint the login 
area.
Unfortunately, after rebooting the log doesn't give me any useful 
output.
I have to fiddle around with the setup a bit to see what's wrong, 
maybe

something's still missing.


I didn't find out anything after that, although I rebooted quite a few 
times.


But I'm happy to see that today's update of x11-base/xorg-server-1.13.1 
(from

1.13.0-r1) fixed my crashes. Now I'm a happy X user again. :-)

   Peter.



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-12-04 Thread Peter Weilbacher

On 2012-11-30 18:47, Mick wrote:

On Friday 30 Nov 2012 09:01:35 Peter Weilbacher wrote:

I have the same problem and this solution sucks. :-(
Before this update I had such a nice console setup with framebuffer
splash, a nice small font, and a Gentoo decoration around it. Really
sad to see that go.


KMS should provide framebuffer now, so have you set KMS and firmware
correctly?


I just didn't realize that this is the case, so maybe my setup is 
wrong.

I'll study the documentation again.

Cheers,
   Peter.



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-12-04 Thread Peter Weilbacher

On 2012-12-04 11:05, Jacques Montier wrote:

2012/12/4 Peter Weilbacher newss...@weilbacher.org


On 2012-11-30 18:47, Mick wrote:

KMS should provide framebuffer now, so have you set KMS and 
firmware

correctly?


I just didn't realize that this is the case, so maybe my setup is 
wrong.

I'll study the documentation again.


Don't forget to disable all the drivers in Support for frame buffer
devices of your kernel configuration.


Right, I did that now, and have the framebuffer splash back. X also 
starts

but the whole system locks hard once gdm tries to paint the login area.
Unfortunately, after rebooting the log doesn't give me any useful 
output.

I have to fiddle around with the setup a bit to see what's wrong, maybe
something's still missing.

Cheers,
   Peter.



Re: [gentoo-user] xfig won't compile

2012-11-30 Thread Peter Weilbacher

On 2012-11-27 12:34, Hinnerk van Bruinehsen wrote:

On Tue, Nov 27, 2012 at 12:20:02PM +0100, Alain Didierjean wrote:
I cannot emerge xfig. Both versions (amd64  ~amd64) return that 
informative message:


* Messages for package media-gfx/xfig-3.2.5b-r2:

[...]

So:
- known bug ?
- tip available ?
or should I fill a bug report ?


[...]


Otherwise you could file a bugreport (where you should attach the
build.log nonetheless)


There is https://bugs.gentoo.org/show_bug.cgi?id=405475.
   Peter.



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-11-30 Thread Peter Weilbacher

On 2012-11-28 00:08, Mick wrote:

On Tuesday 27 Nov 2012 17:18:43 design [depois das dez] wrote:
My video driver is an ATI Radeon 9600 (RV350) and somebody has 
already

updated the section on the Gentoo wiki
http://en.gentoo-wiki.com/wiki/Radeon#Kernels_.3E.3D3.0.0 informing 
that
there might be incompatibilities concerning the RV350 firmware. I 
just
don't have enough understanding of the video related parts of the 
system to
tweak and fix this issue. How should I proceed when I have a problem 
of

this sort?

[...]
The link you provided says that you should disable framebuffer in 
your kernel

config.  Have you tried that?


I have the same problem and this solution sucks. :-(
Before this update I had such a nice console setup with framebuffer 
splash,
a nice small font, and a Gentoo decoration around it. Really sad to see 
that

go.
   Peter.



Re: [gentoo-user] openmp flag

2012-09-28 Thread Peter Weilbacher

On 2012-09-26 20:25, Florian Philipp wrote:

Am 25.09.2012 17:01, schrieb Michael Mol:
On Tue, Sep 25, 2012 at 10:42 AM, James wirel...@tampabay.rr.com 
wrote:

OH, anyone is encouraged to chime in about openmp
and your thoughts as to it's viability and usefulness.
Do you believe it will become a core technology,
embedded into GCC? Used widely?


I didn't understand this statement. It is a core technology and has 
been
part of GCC since 4.2 or so. I certainly have used it since several 
years
in some of my projects. But it certainly needs some little 
modifications

to the code to work.


If you can use it, use it. OpenMP is little more than a set of
extensions to C (and C++) which allows the normally-scalar language 
to
do some things in a parallel fashion without resorting to the costs 
of

multithreading. This is good, because vector instructions have been
available in x86 since MMX came out, and improvements to the vector
instructions available to x86 still goes on.


I guess this is just poorly phrased but to clarify: OpenMP *does* use
multithreading and nothing else. It does not, in any way, make more 
use
of vector instructions than GCC without -fopenmp. I guess what you 
mean
is avoiding the costs of *manual* multithreading using POSIX threads 
and

the like.


To get GCC to try and use vectorization pass -ftree-vectorize.
(You can see what loops it optimized using vectorization with
-ftree-vectorizer-verbose=1).

Cheers,
   Peter.



[gentoo-user] Re: Recent networking problems

2012-02-22 Thread Peter Weilbacher
Paul Hartman paul.hartman+gentoo at gmail.com writes:

 On Wed, Feb 15, 2012 at 3:32 AM, Peter Weilbacher
 newsspam at weilbacher.org wrote:
  Hi all,
 
  since about two weeks I have been fighting with networking problems on a
  laptop. It all started with a big sync  world update that gave me new
  udev-171-r5, wicd-1.7.1_pre20120127, tuxonice-sources-3.0.17,
  openrc-0.9.8.2, among other things (I'm mostly running stable). Symptoms are
  that I cannot even get wired _listed_ in wicd, and when connecting to
  various different wireless routers, the connection died quickly. The e1000e
  driver (for wired) apparently never detects when a cable is connected, and
  when trying it through /etc/init.d/net.eth0, dhcpcd times out when waiting
  for a carrier... I tried alternating kernels (tuxonice- and gentoo-sources,
  both older and new ones between 2.3.38-r1 and 3.2.1) and kernel
  configurations as well as downgrades of several suspect packages, without
  success.
 
  Does that ring a bell with someone? Any advice how I can track down these
  problems?
 
 There was a thread a while back about wicd quit working. The solution
 then was to edit /etc/wicd/manager-settings.conf and change the
 backend from external to ioctl.

Yes, I had seen that. Of course that doesn't help with my problem, since I
cannot connect wired even when bypassing wicd.

I was hoping for some hints which packages might be involved with finding a
wired connection. The kernel certainly, maybe udev, openrc (when using 
/etc/init.d/net.eth0), but which others? And how can I reconfigure those to
let me debug what's going on?

Cheers,
   Peter.




[gentoo-user] Recent networking problems

2012-02-15 Thread Peter Weilbacher

Hi all,

since about two weeks I have been fighting with networking problems on 
a laptop. It all started with a big sync  world update that gave me new 
udev-171-r5, wicd-1.7.1_pre20120127, tuxonice-sources-3.0.17, 
openrc-0.9.8.2, among other things (I'm mostly running stable). Symptoms 
are that I cannot even get wired _listed_ in wicd, and when connecting 
to various different wireless routers, the connection died quickly. The 
e1000e driver (for wired) apparently never detects when a cable is 
connected, and when trying it through /etc/init.d/net.eth0, dhcpcd times 
out when waiting for a carrier... I tried alternating kernels (tuxonice- 
and gentoo-sources, both older and new ones between 2.3.38-r1 and 3.2.1) 
and kernel configurations as well as downgrades of several suspect 
packages, without success.


Does that ring a bell with someone? Any advice how I can track down 
these problems?


Cheers,
   Peter.



[gentoo-user] wicd fails to set wireless connection

2011-07-05 Thread Peter Weilbacher

Since yesterday I cannot use wicd any more to get a wireless connection (wired
still works fine). I think this has to do with a dbus update, but I'm not sure.
I have done several restarts, re-emerged all relevant packages (dbus, 
dbus-python,
wicd) but still it stops shortly after clicking the connect button in the GUI
window, saying Disconnecting active connections... in the status bar (even 
though
no connections were active).

If I start wicd-gtk from the command line I sometimes get the errors below, but
often it just hangs. wicd-curses always fails reliably with the output below.
Does that ring a bell with someone?

Cheers,
   Peter.

$ wicd-gtk
Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.
Traceback (most recent call last):
  File /usr/share/wicd/gtk/wicd-client.py, line 645, in network_selected
wireless.ConnectWireless(net_id)
  File /usr/lib64/python2.7/site-packages/dbus/proxies.py, line 140, in 
__call__
**keywords)
  File /usr/lib64/python2.7/site-packages/dbus/connection.py, line 630, in 
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.MemoryError: 
Traceback (most recent call last):
  File /usr/lib64/python2.7/site-packages/dbus/service.py, line 702, in 
_message_cb
retval = candidate_method(self, *args, **keywords)
  File /usr/share/wicd/daemon/wicd-daemon.py, line 1168, in ConnectWireless
self.SaveWirelessNetworkProfile(id)
  File /usr/share/wicd/daemon/wicd-daemon.py, line 1278, in 
SaveWirelessNetworkProfile
self.config.write()
  File /usr/lib64/python2.7/site-packages/wicd/configmanager.py, line 218, in 
write
p.set(sname, iname, value)
  File /usr/lib64/python2.7/site-packages/wicd/configmanager.py, line 87, in 
set
self.set_option(*args, **kargs)
  File /usr/lib64/python2.7/site-packages/wicd/configmanager.py, line 77, in 
set_option
value = to_unicode(value)
  File /usr/lib64/python2.7/site-packages/wicd/misc.py, line 390, in 
to_unicode
ret = x.decode(encoding).encode('utf-8')
MemoryError


$ wicd-curses


DBus failure! This is most likely caused by the wicd daemon stopping while 
wicd-curses is running. Please restart the daemon, and then restart wicd-curses.
Traceback (most recent call last):
  File /usr/share/wicd/curses/wicd-curses.py, line 905, in call_update_ui
self.update_ui(True)
  File /usr/share/wicd/curses/wicd-curses.py, line 89, in wrapper
return func(*args, **kargs)
  File /usr/share/wicd/curses/wicd-curses.py, line 916, in update_ui
self.handle_keys(input_data[1])
  File /usr/share/wicd/curses/wicd-curses.py, line 837, in handle_keys
self.connect(wireless,pos)
  File /usr/share/wicd/curses/wicd-curses.py, line 930, in connect
wireless.ConnectWireless(networkid)
  File /usr/lib64/python2.7/site-packages/dbus/proxies.py, line 140, in 
__call__
**keywords)
  File /usr/lib64/python2.7/site-packages/dbus/connection.py, line 630, in 
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.MemoryError: 
Traceback (most recent call last):
  File /usr/lib64/python2.7/site-packages/dbus/service.py, line 702, in 
_message_cb
retval = candidate_method(self, *args, **keywords)
  File /usr/share/wicd/daemon/wicd-daemon.py, line 1168, in ConnectWireless
self.SaveWirelessNetworkProfile(id)
  File /usr/share/wicd/daemon/wicd-daemon.py, line 1278, in 
SaveWirelessNetworkProfile
self.config.write()
  File /usr/lib64/python2.7/site-packages/wicd/configmanager.py, line 218, in 
write
p.set(sname, iname, value)
  File /usr/lib64/python2.7/site-packages/wicd/configmanager.py, line 87, in 
set
self.set_option(*args, **kargs)
  File /usr/lib64/python2.7/site-packages/wicd/configmanager.py, line 77, in 
set_option
value = to_unicode(value)
  File /usr/lib64/python2.7/site-packages/wicd/misc.py, line 390, in 
to_unicode
ret = x.decode(encoding).encode('utf-8')
MemoryError


$ emerge -vp wicd dbus dbus-python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] sys-apps/dbus-1.4.12  USE=X -debug -doc (-selinux) -static-libs 
-test 0 kB
[ebuild   R] dev-python/dbus-python-0.83.2  USE=-doc -examples -test 0 kB
[ebuild   R] net-misc/wicd-1.7.1_beta2-r4  USE=X gtk libnotify ncurses nls 
pm-utils (-ioctl) 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB




[gentoo-user] Re: wicd fails to set wireless connection

2011-07-05 Thread Peter Weilbacher
On 05.07.2011 15:22, Mick wrote:
 On Tuesday 05 Jul 2011 09:32:44 Peter Weilbacher wrote:
 Since yesterday I cannot use wicd any more to get a wireless connection
 (wired still works fine). I think this has to do with a dbus update, but
 I'm not sure. 
 
 If you have emerged python recently and switched to 2.7, did you remember to 
 run python-updater?

No, I switched to 2.7 months ago and it has worked fine since then. I noticed
that python 2.7.2 also got installed yesterday, but reverting to 2.7.1-r1 does
not change the behavior or the message.
python-updater only complains about libreoffice-bin and emul-linux-x86-baselibs,
probably because they contain their own binary copies of some non-2.7 python
stuff.

 I have done several restarts, re-emerged all relevant
 packages (dbus, dbus-python, wicd) but still it stops shortly after
 clicking the connect button in the GUI window, saying Disconnecting
 active connections... in the status bar (even though no connections were
 active).
 
 Did you restart dbus? (you'll need to log out of X to do this or it will 
 crash 
 you out of it).

I actually meant reboot above where I wrote restart.

Cheers,
   Peter.




[gentoo-user] Re: firefox-bin optimizations?

2010-10-09 Thread Peter Weilbacher
On 05.10.2010 07:49, Walter Dnes wrote:
 On Thu, Sep 30, 2010 at 12:37:10PM -0700, walt wrote
 On 09/30/2010 05:30 AM, Mark David Dumlao wrote:
 On Thu, Sep 30, 2010 at 8:00 PM, Johannes Kimmeljohannes.kim...@gmx.de  
 wrote:
 On 09/30/2010 12:58 PM, Mark David Dumlao wrote:

 Heya,
 I noticed that my firefox-bin is a lot smaller in memory footprint
 compared to ordinary gentoo-compiled firefox.

 Does anyone know what compiler flags upstream applies to their
 firefox?

 Try entering about:buildconfig in the URL bar.
 
   I tried it, and for good measure, did some spelunking in the
 .configure file in the firefox tarball.  I have some questions, before
 possibly tweaking the Firefox ebuild and/or .configure on my machine...
 
 --enable-application=xulrunner
 will Firefox run without this?
 
 --enable-pango
 will Firefox run without this?  I have the moznopango flag set, which
 is supposed to speed things up, but about:buildconfig indicates that
 pango is enabled.
 
 --disable-strip --disable-strip-libs --disable-install-strip
 Why?  I thought most packages stripped code after install.
 
 --enable-default-toolkit=cairo-gtk2
 will Firefox run without this?
 
 --enable-oji
 will Firefox run without this?  And what is oji?  I can't find any
 mention of what it does.
 
 --enable-mathml
 I don't really need it right now.
 
 --enable-storage
 will Firefox run without this?  The help says...
 Enable mozStorage module and related components.  Can someone please
 give a short explanation in plain English what this does?
 
 --disable-ogg
 One thing I might consider enabling.  Is there a problem with Firefox's
 ogg support, or any other reason to disable it?

And you see all those options listed in firefox-bin buildconfig? Then this
is surely not the Firefox built by upstream (mozilla.com). They would only
use a minimal set of build options not all the rubbish (most of which is
currently ignored or just obsolete) that the Gentoo non-bin ebuilds set.
   Peter.




[gentoo-user] Re: firefox-bin optimizations?

2010-10-09 Thread Peter Weilbacher
On 05.10.2010 17:16, walt wrote:
 
 --enable-default-toolkit=cairo-gtk2
 will Firefox run without this?

Yes, it will. cairo-gtk2 is the default (last I looked).

 You need to pick either that one or cairo-qt if you are building on linux.
 
 --enable-oji
 will Firefox run without this?  And what is oji?  I can't find any
 mention of what it does.
 
 Open JVM Integration:  it enables support for the java plugin named
 libjavaplugin_oji.so

But that will only work until FF 3.5.x. 3.6 has OJI support removed.
And as all up-to-date Java plugins without security problems on Linux
are not OJI, you will want to not set this one.

 --enable-mathml
 I don't really need it right now.
 
 Add ac_add_options --disable-mathml to your .mozconfig file.

Don't bother, or does it matter if you save 15 kB in the binaries? Nothing
will run faster if you disable it.

 --enable-storage
 will Firefox run without this?  The help says...
 Enable mozStorage module and related components.  Can someone please
 give a short explanation in plain English what this does?
 
 'storage' is the mozilla wrapper for SQLite, but configure.in doesn't
 eplain what that means.  I don't see where '--disable-storage' is even
 defined, but you can always try it and see what happens.

This is the default, and I think one cannot disable it any more. SQLite
is an integral part of Firefox by now. The flag above is probably ignored.

 --disable-ogg
 One thing I might consider enabling.  Is there a problem with Firefox's
 ogg support, or any other reason to disable it?
 
 I notice that my own firefox builds do compile the code for ogg support,
 but I have no idea what it does or if it works correctly.

Use --disable-ogg is you don't want HTML5-like Ogg-Theora movies in
webpages.

   Peter.




[gentoo-user] Re: Gnome audio (mixer) question [SOLVED YET AGAIN]

2009-10-26 Thread Peter Weilbacher
On 25.10.2009 18:07, walt wrote:
 On 10/25/2009 08:19 AM, walt wrote:
 
 Merging gnome-media with the pulseaudio USE flag breaks
 gnome-volume-control most horribly IMO, but OTOH I don't
 understand pulseaudio, so maybe I'm wrong.
 
 I found the gnome 2.26 upgrade guide, which points to the
 pulseaudio documentation.
 
 It seems that pulseaudio has its own mixer control (not
 included in gentoo's pulseaudio package) so maybe it does
 make sense to remove that function from gnome's volume
 control applet.

Looking at the pulseaudio documentation it seems to be a very
well-designed system. But there are so many components to it that I
found it very confusing to configure. In fact, after fiddling around
with it for two days, I gave up on that, removed USE=pulseaudio
again, and rebuilt world.
Now I only have the problem that I cannot start the GNOME Volume
Control applet any more. When I try I get

   Some panel items are no longer available
   One or more panel items (also referred to as applets) are
   no longer available in the GNOME desktop.

   These items will now be removed from your configuration:
• Volume Control
   You will not receive this message again.

so I have to go to the full mixer in the menu instead.

My problem was that I never got any sound out of it, with any
application. And I lost all but one mixer slider. With the alsa-based
backend, my system has the peculiarity that it starts up with Front
and Headphone levels at 100% but muted and Master at 100% (unmuted),
I always have to unmute Front before I want any sound. With
pulseaudio active, all but the Master slider were gone, so I didn't
have any way to influence the levels on the other components. At
least that's what I am thinking might have been going on, but maybe
I'm wrong.

   Peter.




[gentoo-user] Re: Gnome audio (mixer) question [SOLVED YET AGAIN]

2009-10-26 Thread Peter Weilbacher
On 26.10.2009 14:19, walt wrote:

 You say you rebuilt world.  Was gnome-media actually rebuild without
 the pulseaudio Use flag?  That's where gnome-volume-control comes
 from, not from the panel applets package.

Yes, I used the usual |emerge -vpDNu world| and that did remerge
gnome-media.

 BTW, you can also do nicely without the esd USE flag and esound also,
 but you'll need to revdep-rebuild after because lots of packages will
 break (but they all still work perfectly after the rebuild.)

Interesting, nice tip. I just finished getting rid of it. It was a bit
of a mess because revdep-rebuild didn't discover a -lesd in
libgoffice-0.6.la and hence gnumeric failed to emerge until I finally
removed that by hand. But it's great to have one dependency less. And
sound still seems to work. :-)

Cheers,
   Peter.




[gentoo-user] Re: Machine reboots immediately when suspended-to-disk

2009-10-24 Thread Peter Weilbacher
On 24.10.2009 03:37, waltd...@waltdnes.org wrote:
 On Fri, Oct 23, 2009 at 10:04:52AM +0200, Peter Weilbacher wrote
 
 How would you do history searches without a database?
 
   If you don't know how, I suggest checking the Firefox 2.x code.  It
 worked somehow.

Yeah, I am reading the sources daily and have done so for several years
nw. FF 2.x used a different database. One which was far less efficient,
more crash prone, and has been unmaintained for several years before.

 On Linux using SQLite in Firefox actually slimmed down the browser
 code (compared to the version that still used mork), as it uses the
 system version for the database.
 
   Yeah sure, just like ie.exe isn't bloated.  Mind you, the system
 libraries that ie.exe calls are another story.

OK, so you are just screaming without having any clue.
   P.




[gentoo-user] Re: Machine reboots immediately when suspended-to-disk

2009-10-23 Thread Peter Weilbacher
On 21.10.2009 23:22, waltd...@waltdnes.org wrote:
 If I had a bunch of money lying around, I'd hire some
 programmers to seriously slim down Firefox while I was at it.  There is
 no reason a browser should need an SQL database.

How would you do history searches without a database? On Linux using SQLite
in Firefox actually slimmed down the browser code (compared to the version
that still used mork), as it uses the system version for the database.
   P.




[gentoo-user] Re: less cannot work with emerge

2009-10-16 Thread Peter Weilbacher
On 16.10.2009 14:05, Xi Shen wrote:
 when i use emerge, there are too many packaged that they cannot
 displayed in one screen. but i cannot use less to separate it into
 pages. why? please help ;)

Be sure to pipe both stdout and stderr to less, i.e.
   emerge options 21 | less
when you are using bash.
   P.




[gentoo-user] Re: qt-dbus blocker

2009-10-13 Thread Peter Weilbacher
On 13.10.2009 14:48, Allan Gottlieb wrote:
 I just started getting this blocker yesterday (was away for the weekend)
 
 [blocks B ]  x11-libs/qt-dbus-4.5.1-r 
 (x11-libs/qt-dbus-4.5.1-r is blocking x11-libs/qt-script-4.5.1, 
 x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, 
 x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1)
 
 (the entire output from emerge world is below 
 EMERGE_DEFAULT_OPTS=--ask --deep --tree --verbose --with-bdeps=y)
 
 I read the news article and was directed to
 http://www.linuxized.com/p192, which said to add dbus and qt3support to
 my USE flags.  I already had dbus and adding qt3support did not change
 the result.  The std handbook recommendation is to remove qt-dbus, but
 the news article suggests this one is more complicated.  Should I
 perhaps mask qu-dbus-4.5.2 and if so do I then remove the mask when the
 rest has installed.

I just solved a similar block, also involving PyQt4, by adding
   dev-python/PyQt4 -dbus
to my /etc/portage/package.use. (I also added -qt3support to USE in
/etc/make.conf to get rid of the mess where some packages have that
defined, and some not.)

But I am already at qt-*-4.5.2 the upgrade to which is a longer
procedure as Alan points out.

Cheers,
   Peter.

P.S.: Sorry, if this appears twice. I sent a similar reply half an hour
  ago and it hasn't shown up yet...