Re: [gentoo-user] Re: Downgrade glibc-2.11 to 2.10

2009-11-17 Thread Alan McKinnon
On Wednesday 18 November 2009 01:09:35 walt wrote:
> On 11/17/2009 10:45 AM, Alan McKinnon wrote:
> > So this is one of those times where why words come back to haunt me?? :-)
> 
> In another thread you just claimed that you plan to paint *one* bedroom.
> Speaking as a married man, I predict that you will be revisiting that one
> soon enough :o(

Bedroom's gonna have to wait. Yesterday morning I wheelied the bike as per my 
usual fashion over the bump at the office park front gate.

And snapped the drive belt when the back wheel came back down on the tar.

Bloody American bikes. I can buy 3 Hondukiyamasaki superbike chains for the 
price of one American drive belt.

Back on topic now :-) Apparently upstream is aware of this silly 
behaviour/bug, maybe I should wait a bit and see if they provide a knob to go 
back to the old behaviour

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: decrapify your kernel config

2009-11-17 Thread Alan McKinnon
On Wednesday 18 November 2009 01:16:04 Stefan G. Weichinger wrote:
> Volker Armin Hemmann schrieb:
> > Namespaces - you don't need it? Kick 'em out.
> 
> hmm, interesting ... ;-)
> 
> for sure I also want to decrapify my kernel-config ...
> 
> To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct?
> 
> This is rather counterintuitive to me, as my main workstation is far
> from an embedded or small system (ok, not compared to the
> 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for
> example, my embedded ALIX-PC I use as fw/router/something ...).
> 
> So you suggest I set CONFIG_EMBEDDED=y and in turn get several new
> options/defaults to choose and get right or wrong ... ?
> 
> ;-)
> 
> I am quite sure to have at least *some* crap in my config as I tend to
> always do something like
> 
> zcat /proc/config.gz >> /usr/src/linux-new-shiny-version/.config
> make oldconfig
> 
> 
> 
> This gives me expected results and a "it boots OK" experience, getting
> rid of unused crap is another issue, yes.
> 
> I wonder which EMBEDDED options would help me ...

Likely none of them.

The embedded menu is the most counter-intuitive thing in the whole kernel 
config. It does not supply a list of things you may enable, instead it 
activates a menu that allows you to switch stuff OFF that is normally ON.

The rationale is that embedded devices need to get by on a very slim kernel 
and with some magic trickery they can successfully disable some features that 
are usually considered perfectly normal for regular desktop use.

For example: CONFIG_HOTPLUG. It's unthinkable to remove this for a desktop, 
but does your TomTom need it? Does a GPS even have hotplug facilities? How 
about ADSL router/modems?

To disable namespace, enable embedded, leave everything on, and you will find 
you can now disable namespaces.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Alan McKinnon
On Wednesday 18 November 2009 07:49:40 Dale wrote:
> Albert Hopkins wrote:
> > On Tue, 2009-11-17 at 17:41 -0600, Dale wrote:
> >> Should I be turning some of those off as they are not needed?  This
> >> is
> >> my oldest install so I bet some are not even needed or can be done
> >> away
> >> with.  I most likely had a good reason for turning them on way back
> >> when
> >> but may not have a good reason now.
> >>
> >> Dale
> >
> > I think you go down the wrong path when you ask someone else what USE
> > flags *you* need.  We don't know you and your requirements/preferences
> > enough to know what is needed for you.  It's like going up to a random
> > person and asking them if you should have your kitchen repainted and if
> > so what color.  That rarely happens but for kitchens but confusingly
> > enough it's frequent for USE flags.
> >
> > Also, "emerge --info |grep USE" isn't very USEful (IMO) because it only
> > shows what USE flags you have turned on, not the ones you have turned
> > off.
> 
> I was thinking that someone may see some USE flags that are no longer
> needed in most cases.  Some may not even be still in use as far as
> portage is concerned.  In other words, portage doesn't even recognize
> them as a option.  Basically, I do some picture stuff, surf with
> Seamonkey, Firefox and sometimes Konqueror, sometimes get on chat with
> Kopete, play Solitaire, watch a video on youtube sometimes.  Oh, I print
> stuff with my HP printer and download pics from my Canon camera.
> 
> I never noticed that emerge --info doesn't show the USE flags I
> removed.  That is sort of weird.  I was thinking that it showed the USE
> flags with not only the profile but what I have set in make.conf which
> would include the ones turned on and turned off.   Neat info.

eix comes with some useful utilities like eix-test-obsolete which scans all 
your portage files and tells you which settings are redundant, duplicated and 
so on.

It takes a while to parse all of it, but a useful exercise nonetheless


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] configuring wlan0

2009-11-17 Thread Alan McKinnon
On Wednesday 18 November 2009 01:20:15 Michael P. Soulier wrote:
> Hi,
> 
> I recently moved from a wired ethernet interface to wireless via
>  ndiswrapper. I now have wlan0 interface, and configuring it by hand works
>  fine.
> 
> But, on boot, it's not coming up. The initscript gets as far as setting up
>  the essid, but then says that it cannot configure it. That's the only
>  feedback.
> 
> msoul...@anton:~$ cat /etc/conf.d/net
> essid_wlan0="digitaltorque"
> config_wlan0=( "192.168.0.5/24" )
> routes_wlan0=( "default via 192.168.0.1" )
> msoul...@anton:~$ ls -l /etc/init.d/net.wlan0
> lrwxrwxrwx 1 root root 6 Nov  8  2008 /etc/init.d/net.wlan0 -> net.lo
> 
> Do I need more here? I'm not yet running encryption, just a MAC filter, so
>  no other wireless params are needed.

Forget all about conf.d/net, and disable the init scripts for it.

Install and run wicd instead. 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Dale

Albert Hopkins wrote:

On Tue, 2009-11-17 at 17:41 -0600, Dale wrote:
  

Should I be turning some of those off as they are not needed?  This
is 
my oldest install so I bet some are not even needed or can be done
away 
with.  I most likely had a good reason for turning them on way back
when 
but may not have a good reason now. 

Dale 



I think you go down the wrong path when you ask someone else what USE
flags *you* need.  We don't know you and your requirements/preferences
enough to know what is needed for you.  It's like going up to a random
person and asking them if you should have your kitchen repainted and if
so what color.  That rarely happens but for kitchens but confusingly
enough it's frequent for USE flags.

Also, "emerge --info |grep USE" isn't very USEful (IMO) because it only
shows what USE flags you have turned on, not the ones you have turned
off.

  


I was thinking that someone may see some USE flags that are no longer 
needed in most cases.  Some may not even be still in use as far as 
portage is concerned.  In other words, portage doesn't even recognize 
them as a option.  Basically, I do some picture stuff, surf with 
Seamonkey, Firefox and sometimes Konqueror, sometimes get on chat with 
Kopete, play Solitaire, watch a video on youtube sometimes.  Oh, I print 
stuff with my HP printer and download pics from my Canon camera. 

I never noticed that emerge --info doesn't show the USE flags I 
removed.  That is sort of weird.  I was thinking that it showed the USE 
flags with not only the profile but what I have set in make.conf which 
would include the ones turned on and turned off.   Neat info.


Dale

:-)  :-) 



Re: [gentoo-user] kdm or kde won't login specific user, but "startx" works

2009-11-17 Thread Francisco Ares
On Wed, Nov 18, 2009 at 2:29 AM, Gmail  wrote:

> Have you added consolekit to the boot level? If you did then please post
> your xdm and kdm log file.
>
> Hung
>
> Francisco Ares wrote:
> > Hi, All
> >
> > After several upgrades, now kdm (apparently) doesn't login my wife's
> > user - or perhaps kde doesn't keep an open session for her: a few
> > seconds after password, the login windows reappears.
> >
> > But the strange thing is that logging in a text console and issuing
> > that old and good "startx" command, the kde session starts as expected.
> >
> > Anyone have any idea where should I start checking?
> >
> > Thanks
> > Francisco
> >
> > --
>
>
Hy, Hung, thanks for your answer.

I don't have consolekit at boot runlevel. Don't even have it emerged yet.
Didn't know I was supposed to. Doing so right now.

Meanwhile, I have no xdm log, but in kdm.log there is a difference during
my  login and my wife's login, it is this only two entries in
/var/log/kdm.log after my wife's user login:

(EE) XKB: No components provided for device Virtual core keyboard
(EE) XKB: No components provided for device Virtual core keyboard

I've done a search for "Virtual core" and didn't find a thing up to now.

Any hint?

Thanks again
Francisco


-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw


Re: [gentoo-user] kdm or kde won't login specific user, but "startx" works

2009-11-17 Thread Gmail
Have you added consolekit to the boot level? If you did then please post
your xdm and kdm log file.

Hung

Francisco Ares wrote:
> Hi, All
>
> After several upgrades, now kdm (apparently) doesn't login my wife's
> user - or perhaps kde doesn't keep an open session for her: a few
> seconds after password, the login windows reappears.
>
> But the strange thing is that logging in a text console and issuing
> that old and good "startx" command, the kde session starts as expected.
>
> Anyone have any idea where should I start checking?
>
> Thanks
> Francisco
>
> -- 
> "If you have an apple and I have an apple and we exchange apples then
> you and I will still each have one apple. But if you have an idea and
> I have one idea and we exchange these ideas, then each of us will have
> two ideas." - George Bernard Shaw




[gentoo-user] kdm or kde won't login specific user, but "startx" works

2009-11-17 Thread Francisco Ares
Hi, All

After several upgrades, now kdm (apparently) doesn't login my wife's user -
or perhaps kde doesn't keep an open session for her: a few seconds after
password, the login windows reappears.

But the strange thing is that logging in a text console and issuing that old
and good "startx" command, the kde session starts as expected.

Anyone have any idea where should I start checking?

Thanks
Francisco

-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw


Re: [gentoo-user] can't boot, chroot no help

2009-11-17 Thread Albert Hopkins
On Tue, 2009-11-17 at 20:46 -0700, Maxim Wexler wrote:
> Any one see a way past this impasse? I'm using ext2 with the journal
> option.

Why didn't you mount/fsck all the filesystems from outside the chroot?




Re: [gentoo-user] can't boot, chroot no help

2009-11-17 Thread Gmail
I had a similar problem before and I solved it by start my computer
using boot CD then reemerge e2fsprogs-libs and sys-fs/e2fsprogs.

Hung

Maxim Wexler wrote:
> Hi group,
>
> I ran  emerge -avuDN world and came up with blocked packages which I
> eliminated by  un-merging device-mapper and e2fsprogs-libs. When I
> rebooted was greeted by a maintenance console and the message
> "libblkid.so.1 cannot open shared object file". A little googling
> later I realized that e2fsprogs-libs should not have been removed. No
> problem, I'll chroot and fix it.
>
> After the chroot I was able to mount /dev/sda1 on /mnt/gentoo but
> couldn't mount /dev/sdb2
> on /var where portage is kept on this system. The error was identical
> to the original one when the pc was first rebooted:
>
> "mount: error while loading shared libraries: libblkid.so.1..."
>
> I tried to run e2fsck on /dev/sda2 but got this error msg:
>
> "e2fsck: error while loading shared libraries: libcom_err.so.2: cannot
> open shared object file..."
>
> Any one see a way past this impasse? I'm using ext2 with the journal option.
>
> Maxim
>
>   




[gentoo-user] can't boot, chroot no help

2009-11-17 Thread Maxim Wexler
Hi group,

I ran  emerge -avuDN world and came up with blocked packages which I
eliminated by  un-merging device-mapper and e2fsprogs-libs. When I
rebooted was greeted by a maintenance console and the message
"libblkid.so.1 cannot open shared object file". A little googling
later I realized that e2fsprogs-libs should not have been removed. No
problem, I'll chroot and fix it.

After the chroot I was able to mount /dev/sda1 on /mnt/gentoo but
couldn't mount /dev/sdb2
on /var where portage is kept on this system. The error was identical
to the original one when the pc was first rebooted:

"mount: error while loading shared libraries: libblkid.so.1..."

I tried to run e2fsck on /dev/sda2 but got this error msg:

"e2fsck: error while loading shared libraries: libcom_err.so.2: cannot
open shared object file..."

Any one see a way past this impasse? I'm using ext2 with the journal option.

Maxim



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Albert Hopkins
On Tue, 2009-11-17 at 17:41 -0600, Dale wrote:
> Should I be turning some of those off as they are not needed?  This
> is 
> my oldest install so I bet some are not even needed or can be done
> away 
> with.  I most likely had a good reason for turning them on way back
> when 
> but may not have a good reason now. 
> 
> Dale 

I think you go down the wrong path when you ask someone else what USE
flags *you* need.  We don't know you and your requirements/preferences
enough to know what is needed for you.  It's like going up to a random
person and asking them if you should have your kitchen repainted and if
so what color.  That rarely happens but for kitchens but confusingly
enough it's frequent for USE flags.

Also, "emerge --info |grep USE" isn't very USEful (IMO) because it only
shows what USE flags you have turned on, not the ones you have turned
off.




[gentoo-user] USB auto mounting

2009-11-17 Thread sean
Using Windowmaker with Thunar as a file manager, with the volume manager
in place and that plugin is enabled.

For some reason Thunar is now not seeing any USB device when plugged
in. I am not sure when this stopped working.

My USB devices of keyboard, trackball, and webcam are working fine.
If I "lsusb" I can see the flash drive listed when inserted.

I have tried re-emerging various items hoping that it would bring it
back to life. Obviously no luck since I am posting.

Would anyone have any ideas on a possible cause and cure?

Thanks in advanced,
Sean



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Dale

James Ausmus wrote:



On Tue, Nov 17, 2009 at 1:53 PM, Dale > wrote:


Hi,

KDE 4 was having "issues" with sqlite not working correctly.
 After reading about and people telling me that mySql works
better, I installed mySql.  Its big and all but at least it works.
 Anyway, I changed the USE flags and have -sqlite in my USE flag
line.  I want to get rid of sqlite on here.  I see no need for me
to have two of these installed at the same time.  Here is what
depends on sqlite:

r...@smoker / # equery depends sqlite
[ Searching for packages depending on sqlite... ]
app-pda/libopensync-0.22 (>=dev-db/sqlite-3)
app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)
dev-lang/python-2.6.2-r1 (!build & sqlite? >=dev-db/sqlite-3)
dev-lang/python-3.1.1-r1 (!build & sqlite? >=dev-db/sqlite-3)
dev-libs/apr-util-1.3.9 (sqlite? dev-db/sqlite:0)
  (sqlite3? dev-db/sqlite:3)
dev-libs/cyrus-sasl-2.1.23-r1 (sqlite? dev-db/sqlite)
dev-libs/nspr-4.8 (>=dev-db/sqlite-3.5)
dev-libs/nss-3.12.3-r1 (>=dev-db/sqlite-3.5)
dev-libs/redland-1.0.9-r1 (sqlite? =dev-db/sqlite-3*)
dev-util/subversion-1.6.5 (>=dev-db/sqlite-3.4[threadsafe])
kde-base/kget-4.3.3 (sqlite? dev-db/sqlite:3)
kde-base/kopete-4.3.3 (statistics? dev-db/sqlite:3)
media-libs/libsndfile-1.0.20 (sqlite? >=dev-db/sqlite-3.2)
net-im/pidgin-2.6.3 (prediction? =dev-db/sqlite-3*)
net-libs/webkit-gtk-1.1.10 (>=dev-db/sqlite-3)
net-libs/xulrunner-1.9.1.4 (sqlite? >=dev-db/sqlite-3.6.16)
www-client/mozilla-firefox-3.5.4 (sqlite? >=dev-db/sqlite-3.6.10)
x11-libs/qt-sql-4.5.3 (sqlite? dev-db/sqlite:3)
r...@smoker / #

Those appear to be in the ebuild and MySql is not a option for
replacement.  Is there a way?  I have already emerged these with
the -sqlite and +mysql USE flag.  I notice something about sqlite3
in one of the ebuilds.  What is that?

Ideas?


Unfortunately, MySQL is not a drop-in replacement for sqlite - the 
programming APIs and DB capabilities are sufficiently different to not 
be able to "just replace one with the other" - the developer has to 
add in extra code/abstraction in order to be able to support one or 
the other or both.


As far as sqlite vs. sqlite3, the more recent major version of sqlite 
(sqlite-3.*) broke backwards compatibility with <=sqlite-2.*, and has, 
once again, a different programming API and different DB capabilities 
- some packages might still only be able to use be able to use either (hence the sqlite vs. sqlite3 USE flags), and 
some might only be able to use >=sqlite-3.*. If you look at the 
package list above, you'll see that pretty much all of them require 
some version of sqlite-3, and the only one that can optionally do 
either has the USE flag split out into sqlite (for the version) and sqlite-3 - I would guess w/o looking at the ebuild that 
sqlite-3 takes precedence if both are set, as it's a better and more 
robust DB system than the older sqlite.


HTH-

-James


So they do the same thing but in different ways.  Hmmm.  Oh well.

Dale

:-)  :-) 



Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1

2009-11-17 Thread Philip Webb
091118 Alan McKinnon wrote:
> On Tuesday 17 November 2009 23:56:00 Philip Webb wrote:
>> Are you using Nvidia ? -- someone else mentioned that as a possible cause.
> Yes, nvidia-190.42-r3
> I'll try downgrade nvidia tomorrow and see what happens

I'm using 185 & couldn't get 180 to compile with Kernel 2.6.31 ,
so it looks as if Nvidia isn't the problem.

> I've noticed recently that kdm takes looong to start -
> more than 30 seconds, and xterm is still taking over 3 seconds to load.

I've tried starting it from another Xterm & as root & there's no difference.
I don't use Kdm, but 'startx' from a raw terminal into Fluxbox.

It looks like a bug for the developers of X .

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Re: equery depends vs. emerge -pv --depclean

2009-11-17 Thread Dale

Daniel Pielmeier wrote:

Dale schrieb am 17.11.2009 22:53:
  

r...@smoker / # equery depends sqlite
[ Searching for packages depending on sqlite... ]
app-pda/libopensync-0.22 (>=dev-db/sqlite-3)



If you have this package installed and want to keep it you are forced to
keep sqlite as it is a hard dependency. Meaning this package needs
sqlite and there is no alternative.

  

app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)



Here sqlite is optional via use flag. So you can get rid of the
dependency it by disabling the use flag.

  

Those appear to be in the ebuild and MySql is not a option for
replacement.  Is there a way?  I have already emerged these with the
-sqlite and +mysql USE flag.  I notice something about sqlite3 in one of
the ebuilds.  What is that?



The main reason why I respond to this post is that there are still a lot
of people which are using "equery depends", although it is known to
print false positive by not taking use flags into account. You have to
scan through the output and check if the use flag is activated which
pulls in the package you want to check. Like for eix in the above
example. Eix only depends on sqlite if the sqlite use flag is activated.
"Equery depends" lists it in any case (activated or not) as it doesn't
take the use flags into account.

A more convenient way to find out the correct reverse dependencies with
portage is "emerge -pv --depclean "[1]. Running only "emerge -pv
--depclean" checks the complete world and system set, but if you pass a
package to it only the reverse dependencies of the package in question
are examined.

[1] http://www.gentoo.org/proj/en/portage/doc/faq.xml

  


I do know, because I have read about it, that equery is not 100% 
accurate.  It is a starting point tho.  Is it that equery needs a bit of 
rewriting or is it just that hard to do when taking USE flags into account?


Since one of those has a hard dependency on sqlite, it would have to 
stay anyway.  May as well leave it for the rest too.  Here is the output 
of --depclean for sqlite:


r...@smoker / # emerge -pv --depclean sqlite

Calculating dependencies... done!
 dev-db/sqlite-3.6.19 pulled in by:
   dev-util/subversion-1.6.5

>>> No packages selected for removal by depclean
Packages installed:   1199
Packages in world:109
Packages in system:   50
Required packages:202
Number to remove: 0
r...@smoker / # 

Going by that, I would *think* subversion is all that needs sqlite.  
Would that be correct?  Trying to have a learning moment here.  ;-)


It appears that subversion is needed by this:

r...@smoker / # emerge -pv --depclean subversion

Calculating dependencies... done!
 dev-util/subversion-1.6.5 pulled in by:
   app-admin/eselect-python-

>>> No packages selected for removal by depclean
Packages installed:   1199
Packages in world:109
Packages in system:   50
Required packages:202
Number to remove: 0
r...@smoker / #

That lead to this:

r...@smoker / # emerge -pv --depclean eselect-python

Calculating dependencies... done!
 app-admin/eselect-python- pulled in by:
   app-admin/gam-server-0.1.10
   dev-java/java-config-2.1.9-r1
   dev-lang/python-2.6.2-r1
   dev-lang/python-3.1.1-r1
   dev-libs/libgamin-0.1.10-r2
   dev-libs/libxml2-2.7.3-r2
   dev-libs/libxslt-1.1.24-r1
   dev-util/subversion-1.6.5
   sys-apps/file-5.03
   sys-apps/portage-2.2_rc50

>>> No packages selected for removal by depclean
Packages installed:   1199
Packages in world:109
Packages in system:   50
Required packages:202
Number to remove: 0
r...@smoker / # 

So in the end, it appears that a few things "depend" on sqlite. 


Dale

:-)  :-) 






Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Dale

Alan McKinnon wrote:

On Wednesday 18 November 2009 00:22:08 Dale wrote:
  

Some stuff uses sqlite for storage. If it works, leave it alone. Just
because  some parts of KDE  amarok  have issues
with it doesn;t mean all of KDE has issues with it


  
  
So basically I have to have it anyway?  It's just one more thing to 
update is why I want to gt rid of it.

 
You have better things to worry about, trust me :-)


Like, why do you have to have redland and lucene around when a) redland sucks 
b) lucene sucks much less despite being java?


Or XML parsers... why do you invariably have libxml and expat at the same 
time?


For that matter, I'll bet you have 3 SLOTTED versions of db in addition to 
gdbm (all in addition to sqlite of course)


Lets not even start with the scripting languages ... I often hear newbies 
complain about having bash, python, perl and ruby all at the same time. Can't 
the devs just stick to one language?


See where I'm going with this? At <10M for two versions of sqlite, it's not 
worth worrying about and you don't have to pay any attention to updating it - 
portage and --depclean will sort you out just fine


  


Well that stirred up my curiosity.  Here is my USE line:

r...@smoker / # emerge --info | grep USE
USE="3dnow X aac acl acpi alsa amd automount berkdb bzip2 cairo cddb cdr 
chroot cli consolekit cracklib cups curl dbus dri dvd dvdr dvdread 
emboss encode esd evo exif fam fdftk flac fortran gdbm gif gimp gkrellm 
gphoto2 gpm gstreamer gtk hal hbci htmlhandbook iconv ipv6 java 
javascript jbig jpeg jpeg2k justify kde ldap libnotify libwww logrotate 
loop-aes mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap mysql 
ncurses nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam 
parport pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime 
readline realmedia reflection sdl seamonkey session spell spl sse ssl 
startup-notification svg sysfs syslog tcl tcpd thunar tiff tk truetype 
unicode usb vorbis webkit win32codecs wma wmf wmp x264 x86 xml xorg xv 
xvid yahoo zeroconf zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm 
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug 
ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route 
share shm softvol" CAMERAS="canon ptp2" ELIBC="glibc" 
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en_US en" 
SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia nv"

r...@smoker / #

Should I be turning some of those off as they are not needed?  This is 
my oldest install so I bet some are not even needed or can be done away 
with.  I most likely had a good reason for turning them on way back when 
but may not have a good reason now. 


Dale

:-)  :-) 



Re: [gentoo-user] Re: decrapify your kernel config

2009-11-17 Thread Volker Armin Hemmann
On Mittwoch 18 November 2009, Stefan G. Weichinger wrote:
> Volker Armin Hemmann schrieb:
> > Namespaces - you don't need it? Kick 'em out.
> 
> hmm, interesting ... ;-)
> 
> for sure I also want to decrapify my kernel-config ...
> 
> To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct?
> 
> This is rather counterintuitive to me, as my main workstation is far
> from an embedded or small system (ok, not compared to the
> 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for
> example, my embedded ALIX-PC I use as fw/router/something ...).
> 
> So you suggest I set CONFIG_EMBEDDED=y and in turn get several new
> options/defaults to choose and get right or wrong ... ?

yepp - and under embedded you might find some other stuff to turn off.




[gentoo-user] configuring wlan0

2009-11-17 Thread Michael P. Soulier
Hi,

I recently moved from a wired ethernet interface to wireless via ndiswrapper.
I now have wlan0 interface, and configuring it by hand works fine.

But, on boot, it's not coming up. The initscript gets as far as setting up the
essid, but then says that it cannot configure it. That's the only feedback.

msoul...@anton:~$ cat /etc/conf.d/net 
essid_wlan0="digitaltorque"
config_wlan0=( "192.168.0.5/24" )
routes_wlan0=( "default via 192.168.0.1" )
msoul...@anton:~$ ls -l /etc/init.d/net.wlan0 
lrwxrwxrwx 1 root root 6 Nov  8  2008 /etc/init.d/net.wlan0 -> net.lo

Do I need more here? I'm not yet running encryption, just a MAC filter, so no
other wireless params are needed.

Mike
-- 
Michael P. Soulier 
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpB0K1VhBgbA.pgp
Description: PGP signature


[gentoo-user] Re: decrapify your kernel config

2009-11-17 Thread Stefan G. Weichinger
Volker Armin Hemmann schrieb:
> Namespaces - you don't need it? Kick 'em out. 

hmm, interesting ... ;-)

for sure I also want to decrapify my kernel-config ...

To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct?

This is rather counterintuitive to me, as my main workstation is far
from an embedded or small system (ok, not compared to the
4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for
example, my embedded ALIX-PC I use as fw/router/something ...).

So you suggest I set CONFIG_EMBEDDED=y and in turn get several new
options/defaults to choose and get right or wrong ... ?

;-)

I am quite sure to have at least *some* crap in my config as I tend to
always do something like

zcat /proc/config.gz >> /usr/src/linux-new-shiny-version/.config
make oldconfig



This gives me expected results and a "it boots OK" experience, getting
rid of unused crap is another issue, yes.

I wonder which EMBEDDED options would help me ...

Stefan



[gentoo-user] Re: Downgrade glibc-2.11 to 2.10

2009-11-17 Thread walt

On 11/17/2009 10:45 AM, Alan McKinnon wrote:


So this is one of those times where why words come back to haunt me?? :-)


In another thread you just claimed that you plan to paint *one* bedroom.
Speaking as a married man, I predict that you will be revisiting that one
soon enough :o(




equery depends vs. emerge -pv --depclean (was: Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.)

2009-11-17 Thread Daniel Pielmeier
Dale schrieb am 17.11.2009 22:53:
>
> r...@smoker / # equery depends sqlite
> [ Searching for packages depending on sqlite... ]
> app-pda/libopensync-0.22 (>=dev-db/sqlite-3)

If you have this package installed and want to keep it you are forced to
keep sqlite as it is a hard dependency. Meaning this package needs
sqlite and there is no alternative.

> app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)

Here sqlite is optional via use flag. So you can get rid of the
dependency it by disabling the use flag.

> Those appear to be in the ebuild and MySql is not a option for
> replacement.  Is there a way?  I have already emerged these with the
> -sqlite and +mysql USE flag.  I notice something about sqlite3 in one of
> the ebuilds.  What is that?

The main reason why I respond to this post is that there are still a lot
of people which are using "equery depends", although it is known to
print false positive by not taking use flags into account. You have to
scan through the output and check if the use flag is activated which
pulls in the package you want to check. Like for eix in the above
example. Eix only depends on sqlite if the sqlite use flag is activated.
"Equery depends" lists it in any case (activated or not) as it doesn't
take the use flags into account.

A more convenient way to find out the correct reverse dependencies with
portage is "emerge -pv --depclean "[1]. Running only "emerge -pv
--depclean" checks the complete world and system set, but if you pass a
package to it only the reverse dependencies of the package in question
are examined.

[1] http://www.gentoo.org/proj/en/portage/doc/faq.xml

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 23:56:00 Philip Webb wrote:
> 091112 Alan McKinnon wrote:
> > On Thursday 12 November 2009 00:40:16 Alex Schuster wrote:
> >> Philip Webb writes:
> >>> There is a problem somewhere & it mb a small fix for my machine
> >>> & it wb nice to track it down if others are not experiencing it.
> >>
> >> Try 'strace xterm' in a terminal with long scrollback history, ...
> 
> Or better, use the '-o outputfile' option.
> 
> >> ... press Enter a couple of times when it hangs
> >> and analyze the output at these positions later.
> >
> > I did that earlier just for fun. The output is huge :-)
> >
>  > 2400 lines  when I did it with the same result as yours.
> >
> > I see here that while xterm is starting, the output stutters quite a lot
> > and each time there is a "resource unavailable" message just before.
> > It's trying to read fd3 which turns out to be the Unix socket in  /tmp .
> 
> Yes, there are  3  lock file/dirs there :
> 
>   root:527 tmp> ls -la
>   total 5
>   drwxrwxrwt  7 rootroot200 2009-11-17 16:41 .
>   drwxr-xr-x 23 rootroot560 2009-07-04 05:53 ..
>   drwxrwxrwt  2 rootroot 88 2009-11-17 12:50 .ICE-unix
>   drwx--  3 purslow purslow 192 2009-11-17 16:30 kde-purslow
>   drwx--  2 purslow purslow 240 2009-11-17 16:32 ksocket-purslow
>   -r--r--r--  1 rootpurslow  11 2009-11-17 12:47 .X0-lock
>   drwxrwxrwt  2 rootroot 72 2009-11-17 12:47 .X11-unix
> 
> Are you using Nvidia ? -- someone else mentioned that as a possible cause.

Yes, nvidia-190.42-r3

I've noticed recently that kdm takes looong to start - more than 30 
seconds, and xterm is still taking over 3 seconds to load.

I'll try downgrade nvidia tomorrow when I have a chance and see what happens

> 
> Otherwise, does anyone have further suggestions ?
> 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Alan McKinnon
On Wednesday 18 November 2009 00:22:08 Dale wrote:
> > Some stuff uses sqlite for storage. If it works, leave it alone. Just
> > because  some parts of KDE  amarok  have issues
> > with it doesn;t mean all of KDE has issues with it
> >
> >
> >   
> 
> So basically I have to have it anyway?  It's just one more thing to 
> update is why I want to gt rid of it.
 
You have better things to worry about, trust me :-)

Like, why do you have to have redland and lucene around when a) redland sucks 
b) lucene sucks much less despite being java?

Or XML parsers... why do you invariably have libxml and expat at the same 
time?

For that matter, I'll bet you have 3 SLOTTED versions of db in addition to 
gdbm (all in addition to sqlite of course)

Lets not even start with the scripting languages ... I often hear newbies 
complain about having bash, python, perl and ruby all at the same time. Can't 
the devs just stick to one language?

See where I'm going with this? At <10M for two versions of sqlite, it's not 
worth worrying about and you don't have to pay any attention to updating it - 
portage and --depclean will sort you out just fine

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] ~amd64 : X11 (?) crashing

2009-11-17 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:
> ... or it crashes again
> after I hit SEND for this message.
> 
> SEND
> 
> ;)

and as I said: within minutes after SEND I clicked gwibber and BANG ...

:-(

S



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Dale

Alan McKinnon wrote:

On Tuesday 17 November 2009 23:53:01 Dale wrote:
  

Hi,

KDE 4 was having "issues" with sqlite not working correctly.  After
reading about and people telling me that mySql works better, I installed
mySql.  Its big and all but at least it works.  Anyway, I changed the
USE flags and have -sqlite in my USE flag line.  I want to get rid of
sqlite on here.  I see no need for me to have two of these installed at
the same time.  Here is what depends on sqlite:

r...@smoker / # equery depends sqlite
[ Searching for packages depending on sqlite... ]
app-pda/libopensync-0.22 (>=dev-db/sqlite-3)
app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)
dev-lang/python-2.6.2-r1 (!build & sqlite? >=dev-db/sqlite-3)
dev-lang/python-3.1.1-r1 (!build & sqlite? >=dev-db/sqlite-3)
dev-libs/apr-util-1.3.9 (sqlite? dev-db/sqlite:0)
(sqlite3? dev-db/sqlite:3)
dev-libs/cyrus-sasl-2.1.23-r1 (sqlite? dev-db/sqlite)
dev-libs/nspr-4.8 (>=dev-db/sqlite-3.5)
dev-libs/nss-3.12.3-r1 (>=dev-db/sqlite-3.5)
dev-libs/redland-1.0.9-r1 (sqlite? =dev-db/sqlite-3*)
dev-util/subversion-1.6.5 (>=dev-db/sqlite-3.4[threadsafe])
kde-base/kget-4.3.3 (sqlite? dev-db/sqlite:3)
kde-base/kopete-4.3.3 (statistics? dev-db/sqlite:3)
media-libs/libsndfile-1.0.20 (sqlite? >=dev-db/sqlite-3.2)
net-im/pidgin-2.6.3 (prediction? =dev-db/sqlite-3*)
net-libs/webkit-gtk-1.1.10 (>=dev-db/sqlite-3)
net-libs/xulrunner-1.9.1.4 (sqlite? >=dev-db/sqlite-3.6.16)
www-client/mozilla-firefox-3.5.4 (sqlite? >=dev-db/sqlite-3.6.10)
x11-libs/qt-sql-4.5.3 (sqlite? dev-db/sqlite:3)
r...@smoker / #

Those appear to be in the ebuild and MySql is not a option for
replacement.  Is there a way?  I have already emerged these with the
-sqlite and +mysql USE flag.  I notice something about sqlite3 in one of
the ebuilds.  What is that?



Look at it:

# equery size sqlite
 * dev-db/sqlite-2.8.16-r4
 Total files : 48
 Total size  : 2.50 MiB
 * dev-db/sqlite-3.6.20-r1
 Total files : 518
 Total size  : 7.49 MiB

10M. Why are you worried? Pretend it's not there.

sqlite is SLOTted 0 and 3 (usual reasons for SLOTs)

There is no package called sqlite3, there are bindings in other languages with 
that string in the name. sqlite-3 in ebuilds is not a package, it's a version 
atom, like


  

=dev-db/sqlite-3



Some stuff uses sqlite for storage. If it works, leave it alone. Just because 
some parts of KDE  amarok  have issues with it doesn;t 
mean all of KDE has issues with it



  


So basically I have to have it anyway?  It's just one more thing to 
update is why I want to gt rid of it.


I also noticed the sqlite3 USE flag.  Changing that next.

Dale

:-)  :-) 



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread James Ausmus
On Tue, Nov 17, 2009 at 1:53 PM, Dale  wrote:

> Hi,
>
> KDE 4 was having "issues" with sqlite not working correctly.  After reading
> about and people telling me that mySql works better, I installed mySql.  Its
> big and all but at least it works.  Anyway, I changed the USE flags and have
> -sqlite in my USE flag line.  I want to get rid of sqlite on here.  I see no
> need for me to have two of these installed at the same time.  Here is what
> depends on sqlite:
>
> r...@smoker / # equery depends sqlite
> [ Searching for packages depending on sqlite... ]
> app-pda/libopensync-0.22 (>=dev-db/sqlite-3)
> app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)
> dev-lang/python-2.6.2-r1 (!build & sqlite? >=dev-db/sqlite-3)
> dev-lang/python-3.1.1-r1 (!build & sqlite? >=dev-db/sqlite-3)
> dev-libs/apr-util-1.3.9 (sqlite? dev-db/sqlite:0)
>   (sqlite3? dev-db/sqlite:3)
> dev-libs/cyrus-sasl-2.1.23-r1 (sqlite? dev-db/sqlite)
> dev-libs/nspr-4.8 (>=dev-db/sqlite-3.5)
> dev-libs/nss-3.12.3-r1 (>=dev-db/sqlite-3.5)
> dev-libs/redland-1.0.9-r1 (sqlite? =dev-db/sqlite-3*)
> dev-util/subversion-1.6.5 (>=dev-db/sqlite-3.4[threadsafe])
> kde-base/kget-4.3.3 (sqlite? dev-db/sqlite:3)
> kde-base/kopete-4.3.3 (statistics? dev-db/sqlite:3)
> media-libs/libsndfile-1.0.20 (sqlite? >=dev-db/sqlite-3.2)
> net-im/pidgin-2.6.3 (prediction? =dev-db/sqlite-3*)
> net-libs/webkit-gtk-1.1.10 (>=dev-db/sqlite-3)
> net-libs/xulrunner-1.9.1.4 (sqlite? >=dev-db/sqlite-3.6.16)
> www-client/mozilla-firefox-3.5.4 (sqlite? >=dev-db/sqlite-3.6.10)
> x11-libs/qt-sql-4.5.3 (sqlite? dev-db/sqlite:3)
> r...@smoker / #
>
> Those appear to be in the ebuild and MySql is not a option for replacement.
>  Is there a way?  I have already emerged these with the -sqlite and +mysql
> USE flag.  I notice something about sqlite3 in one of the ebuilds.  What is
> that?
>
> Ideas?
>
>
Unfortunately, MySQL is not a drop-in replacement for sqlite - the
programming APIs and DB capabilities are sufficiently different to not be
able to "just replace one with the other" - the developer has to add in
extra code/abstraction in order to be able to support one or the other or
both.

As far as sqlite vs. sqlite3, the more recent major version of sqlite
(sqlite-3.*) broke backwards compatibility with <=sqlite-2.*, and has, once
again, a different programming API and different DB capabilities - some
packages might still only be able to use =sqlite-3.*. If you look at the package list above, you'll see
that pretty much all of them require some version of sqlite-3, and the only
one that can optionally do either has the USE flag split out into sqlite
(for the  Dale
>
> :-)  :-)
>


Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 23:53:01 Dale wrote:
> Hi,
> 
> KDE 4 was having "issues" with sqlite not working correctly.  After
> reading about and people telling me that mySql works better, I installed
> mySql.  Its big and all but at least it works.  Anyway, I changed the
> USE flags and have -sqlite in my USE flag line.  I want to get rid of
> sqlite on here.  I see no need for me to have two of these installed at
> the same time.  Here is what depends on sqlite:
> 
> r...@smoker / # equery depends sqlite
> [ Searching for packages depending on sqlite... ]
> app-pda/libopensync-0.22 (>=dev-db/sqlite-3)
> app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)
> dev-lang/python-2.6.2-r1 (!build & sqlite? >=dev-db/sqlite-3)
> dev-lang/python-3.1.1-r1 (!build & sqlite? >=dev-db/sqlite-3)
> dev-libs/apr-util-1.3.9 (sqlite? dev-db/sqlite:0)
> (sqlite3? dev-db/sqlite:3)
> dev-libs/cyrus-sasl-2.1.23-r1 (sqlite? dev-db/sqlite)
> dev-libs/nspr-4.8 (>=dev-db/sqlite-3.5)
> dev-libs/nss-3.12.3-r1 (>=dev-db/sqlite-3.5)
> dev-libs/redland-1.0.9-r1 (sqlite? =dev-db/sqlite-3*)
> dev-util/subversion-1.6.5 (>=dev-db/sqlite-3.4[threadsafe])
> kde-base/kget-4.3.3 (sqlite? dev-db/sqlite:3)
> kde-base/kopete-4.3.3 (statistics? dev-db/sqlite:3)
> media-libs/libsndfile-1.0.20 (sqlite? >=dev-db/sqlite-3.2)
> net-im/pidgin-2.6.3 (prediction? =dev-db/sqlite-3*)
> net-libs/webkit-gtk-1.1.10 (>=dev-db/sqlite-3)
> net-libs/xulrunner-1.9.1.4 (sqlite? >=dev-db/sqlite-3.6.16)
> www-client/mozilla-firefox-3.5.4 (sqlite? >=dev-db/sqlite-3.6.10)
> x11-libs/qt-sql-4.5.3 (sqlite? dev-db/sqlite:3)
> r...@smoker / #
> 
> Those appear to be in the ebuild and MySql is not a option for
> replacement.  Is there a way?  I have already emerged these with the
> -sqlite and +mysql USE flag.  I notice something about sqlite3 in one of
> the ebuilds.  What is that?

Look at it:

# equery size sqlite
 * dev-db/sqlite-2.8.16-r4
 Total files : 48
 Total size  : 2.50 MiB
 * dev-db/sqlite-3.6.20-r1
 Total files : 518
 Total size  : 7.49 MiB

10M. Why are you worried? Pretend it's not there.

sqlite is SLOTted 0 and 3 (usual reasons for SLOTs)

There is no package called sqlite3, there are bindings in other languages with 
that string in the name. sqlite-3 in ebuilds is not a package, it's a version 
atom, like

>=dev-db/sqlite-3

Some stuff uses sqlite for storage. If it works, leave it alone. Just because 
some parts of KDE  amarok  have issues with it doesn;t 
mean all of KDE has issues with it


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1

2009-11-17 Thread Philip Webb
091112 Alan McKinnon wrote:
> On Thursday 12 November 2009 00:40:16 Alex Schuster wrote:
>> Philip Webb writes:
>>> There is a problem somewhere & it mb a small fix for my machine
>>> & it wb nice to track it down if others are not experiencing it.
>> Try 'strace xterm' in a terminal with long scrollback history, ...

Or better, use the '-o outputfile' option.

>> ... press Enter a couple of times when it hangs
>> and analyze the output at these positions later.
> I did that earlier just for fun. The output is huge :-)

 > 2400 lines  when I did it with the same result as yours.

> I see here that while xterm is starting, the output stutters quite a lot
> and each time there is a "resource unavailable" message just before.
> It's trying to read fd3 which turns out to be the Unix socket in  /tmp .

Yes, there are  3  lock file/dirs there :

  root:527 tmp> ls -la
  total 5
  drwxrwxrwt  7 rootroot200 2009-11-17 16:41 .
  drwxr-xr-x 23 rootroot560 2009-07-04 05:53 ..
  drwxrwxrwt  2 rootroot 88 2009-11-17 12:50 .ICE-unix
  drwx--  3 purslow purslow 192 2009-11-17 16:30 kde-purslow
  drwx--  2 purslow purslow 240 2009-11-17 16:32 ksocket-purslow
  -r--r--r--  1 rootpurslow  11 2009-11-17 12:47 .X0-lock
  drwxrwxrwt  2 rootroot 72 2009-11-17 12:47 .X11-unix

Are you using Nvidia ? -- someone else mentioned that as a possible cause.

Otherwise, does anyone have further suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Dale

Hi,

KDE 4 was having "issues" with sqlite not working correctly.  After 
reading about and people telling me that mySql works better, I installed 
mySql.  Its big and all but at least it works.  Anyway, I changed the 
USE flags and have -sqlite in my USE flag line.  I want to get rid of 
sqlite on here.  I see no need for me to have two of these installed at 
the same time.  Here is what depends on sqlite:


r...@smoker / # equery depends sqlite
[ Searching for packages depending on sqlite... ]
app-pda/libopensync-0.22 (>=dev-db/sqlite-3)
app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)
dev-lang/python-2.6.2-r1 (!build & sqlite? >=dev-db/sqlite-3)
dev-lang/python-3.1.1-r1 (!build & sqlite? >=dev-db/sqlite-3)
dev-libs/apr-util-1.3.9 (sqlite? dev-db/sqlite:0)
   (sqlite3? dev-db/sqlite:3)
dev-libs/cyrus-sasl-2.1.23-r1 (sqlite? dev-db/sqlite)
dev-libs/nspr-4.8 (>=dev-db/sqlite-3.5)
dev-libs/nss-3.12.3-r1 (>=dev-db/sqlite-3.5)
dev-libs/redland-1.0.9-r1 (sqlite? =dev-db/sqlite-3*)
dev-util/subversion-1.6.5 (>=dev-db/sqlite-3.4[threadsafe])
kde-base/kget-4.3.3 (sqlite? dev-db/sqlite:3)
kde-base/kopete-4.3.3 (statistics? dev-db/sqlite:3)
media-libs/libsndfile-1.0.20 (sqlite? >=dev-db/sqlite-3.2)
net-im/pidgin-2.6.3 (prediction? =dev-db/sqlite-3*)
net-libs/webkit-gtk-1.1.10 (>=dev-db/sqlite-3)
net-libs/xulrunner-1.9.1.4 (sqlite? >=dev-db/sqlite-3.6.16)
www-client/mozilla-firefox-3.5.4 (sqlite? >=dev-db/sqlite-3.6.10)
x11-libs/qt-sql-4.5.3 (sqlite? dev-db/sqlite:3)
r...@smoker / #

Those appear to be in the ebuild and MySql is not a option for 
replacement.  Is there a way?  I have already emerged these with the 
-sqlite and +mysql USE flag.  I notice something about sqlite3 in one of 
the ebuilds.  What is that?


Ideas?

Dale

:-)  :-) 



Re: [gentoo-user] ~amd64 : X11 (?) crashing

2009-11-17 Thread Stefan G. Weichinger
Alan McKinnon schrieb:

> I can attest to xorg-server-1.7.1 working just fine here with latest nvidia-
> drivers in the tree on amd64

Update: no more crashes for 2 days now (ok, I wasn't working full days
on the machine, but for several hours today, seems OK now).

Maybe some of the newer updates fixed something, or it crashes again
after I hit SEND for this message.

SEND

;)





Re: [gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread Volker Armin Hemmann
On Dienstag 17 November 2009, Alan McKinnon wrote:
> Yes, I have read this in
> /var/portage/sys-libs/glibc/files/eblits/pkg_setup.eblit
> and I understand the risks.
> 
> if has_version '>'${CATEGORY}/${PF} ; then
>   eerror "Sanity check to keep you from breaking your system:"
>   eerror " Downgrading glibc is not supported and a sure way to
>  destruction" die "aborting to save your system"
> fi
> 
> I want to do it anyway.
> 
> A multitude of apps that used to run just fine now give "free(): invalid
> pointer" errors since I upgraded to glibc-2.11
> 
> A simple downgrade doesn't work - too many apps will not start including
>  bash. Has anyone done this or knows of a howto? I'm happy to rebuild a few
>  critical apps statically if that's what it takes. I'm not happy chasing
>  down half the system to do it :-)
> 

try setting 
MALLOC_CHECK
to 0



Re: [gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread Mike Edenfield

On 11/17/2009 11:06 AM, Alan McKinnon wrote:

Yes, I have read this in
/var/portage/sys-libs/glibc/files/eblits/pkg_setup.eblit
and I understand the risks.

if has_version '>'${CATEGORY}/${PF} ; then
   eerror "Sanity check to keep you from breaking your system:"
   eerror " Downgrading glibc is not supported and a sure way to destruction"
   die "aborting to save your system"
fi

I want to do it anyway.


I have never done this on a package-managed system but I did have to 
downgrade glibc on a slackware system once.  It's very VERY ugly; all 
kinds of implementation details get exposed as special symbols, or new 
symbol versions, or whatever, that make going backwards a mess.


The way I was told to do it was to get a compiled copy of lower glibc 
version into an alternative install path, like /usr/local/glibc, and 
rebuild everything against that copy.  You could have emerge build 2.10 
into an alternative --root, or go get a binary package of 2.10 and 
uncompress it somewhere.  Then update CFLAGS and LDFLAGS to include the 
correct -L and -I parameters pointing to 
/usr/local/glibc/{lib,usr/lib,include}.


When I did it, I rebuilt everything on my system twice, just to be safe. 
 First time through, you build against the extra copy of glibc, 
including building a downgraded glibc in the proper system location, and 
having the build tools link to the correct lower version.  Then you 
remove the CFLAGS/LDFLAGS and rebuild everything again, this time 
against the downgraded version in the correct location, and then you can 
remove your extra copy.  I'm not entire positive that second one was 
strictly necessary but it worked.


Or you can just back up your data and reinstall :)


A multitude of apps that used to run just fine now give "free(): invalid
pointer" errors since I upgraded to glibc-2.11


Make sure you file bug reports on these.  The programs are probably 
doing buggy things that glibc used to be rather forgiving about.  I 
believe in 2.11 they added extra checks to the memory management used by 
C++ programs, though I don't know specifics.  This would catch things 
like using delete where they meant delete[], or free() on something 
allocated with new.


The standard says the behavior of this type of operation is undefined, 
so glibc is technically free to do "anything it wants".  Unfortunately, 
when glibc is nice and make that "anything" be "what you wanted it to do 
anyway" it encourages people do keep doing bad things, thus the 
ever-increasing strictness of the library.


--Mike



Re: [gentoo-user] amarok can't use mysql collection

2009-11-17 Thread James Ausmus
On Mon, Nov 16, 2009 at 4:44 PM, Alan McKinnon wrote:

>
> Amarok, it was nice knowing you. One day you might build and play music
> again
> on all sane systems out there. Meanwhile, I think I want to hear songs play
> so
> some other player is going on this machine and you are coming off.
>
>
I've been fairly happy with Juk - it's already installed if you are running
KDE (depended on by the kde-base/kdemultimedia-meta package). It's fairly
simple, not nearly as powerful as Amarok, but it's been a decent substitute
while Amarok has been having its growing pains... I haven't tried 2.2 yet,
but it sounds like there are still a few too many issues... :(

-James


Re: [gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread daid kahl
> So this is one of those times where why words come back to haunt me?? :-)
>
> What I think I shall do first, is downgrade binutils to 1.19.x and rebuild a
> few apps I've noticed that are affected. I think the odds of success are
> pretty good. If not, well, a reinstall-rebuild is the certain route to go
>

Haunt haunt haunt...

It was good advice!

Lucky for you, it doesn't involve going to glibc-2.35 and trying to
find a stage from 2006...

~daid



Re: [gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 18:57:21 daid kahl wrote:
> > if has_version '>'${CATEGORY}/${PF} ; then
> >  eerror "Sanity check to keep you from breaking your system:"
> >  eerror " Downgrading glibc is not supported and a sure way to
> > destruction" die "aborting to save your system"
> > fi
> >
> > I want to do it anyway.
> 
> I had a circumstance where I also had to downgrade glibc.  It was a
> giant pain in the ass.
> 
> The advice you gave me in July for the same question (from me that time):
> > 1. Backup all user data, configs and critical files
> > 2. Download a recent stage that suits your needs
> > 3. Rebuild world plus add all the extra packages you use
> 
> I followed your advice and it worked very well.  From my experience,
> you're only going to do the same thing if you actually try to
> downgrade, and it's going to be much harder and take much longer.
> 
> What better advice to follow than your own!!

So this is one of those times where why words come back to haunt me?? :-)

What I think I shall do first, is downgrade binutils to 1.19.x and rebuild a 
few apps I've noticed that are affected. I think the odds of success are 
pretty good. If not, well, a reinstall-rebuild is the certain route to go

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread Nagatoro
On Tuesday 17 November 2009 17.06.45 Alan McKinnon wrote:
> Yes, I have read this in
> /var/portage/sys-libs/glibc/files/eblits/pkg_setup.eblit
> and I understand the risks.
> 
> if has_version '>'${CATEGORY}/${PF} ; then
>   eerror "Sanity check to keep you from breaking your system:"
>   eerror " Downgrading glibc is not supported and a sure way to
>  destruction" die "aborting to save your system"
> fi
> 
> I want to do it anyway.
> 
> A multitude of apps that used to run just fine now give "free(): invalid
> pointer" errors since I upgraded to glibc-2.11
> 
> A simple downgrade doesn't work - too many apps will not start including
>  bash. Has anyone done this or knows of a howto? I'm happy to rebuild a few
>  critical apps statically if that's what it takes. I'm not happy chasing
>  down half the system to do it :-)

http://bugs.gentoo.org/show_bug.cgi?id=293527

Fixed in upstream so should be fix in Gentoo soon.

/Naga



[gentoo-user] Re: amarok can't use mysql collection

2009-11-17 Thread Doug Hunley
On Mon, Nov 16, 2009 at 17:19, Alan McKinnon  wrote:
> On Monday 16 November 2009 21:26:02 Doug Hunley wrote:
>> On Mon, Nov 16, 2009 at 03:24, Alan McKinnon 
> wrote:
>> > Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?
>>
>> I haven't had any issues w/ amarok 2.2.0 and mysql 5.0.84-r1 (once I
>> figured out how to get amarok to _not_ use the embedded mysql)
>
> That's a common complaint about amarok lately. The devs reckon they must use
> multi-user mysql because it's almost impossible to get sqlite to do it
> properly and totally impossible to get it to do it remotely.
>
> This puzzles me. How many users out their use their music player in multi-user
> mode with a collection db on a remote machine? Apart from LTSP installs, I'll
> bet it's none. And LTSP is better off using mpd, so why didn't the amarok devs
> simply include mpd support?
>
> To answer your question, does Settings -> Collection -> enable check box &
> fill in bottom half of dialog do what you want?

I had done that actually, and it completely *ignored* it until I
killed all amarok processes and removed the mysqle directory (I think
that was the name). Thankfully, I found this solution on some random
blog somewhere that google pointed me to


-- 
Douglas J Hunley, RHCT
doug.hun...@gmail.com : http://douglasjhunley.com : Twitter: @hunleyd

Obsessively opposed to the typical.



Re: [gentoo-user] setting up wireless on gentoo using wireless-tools

2009-11-17 Thread Neil Bothwick
On Wed, 18 Nov 2009 02:06:00 +0900, daid kahl wrote:

> I think wicd is nicer, but NetworkManager will work, and the nm-applet
> has not failed me to connect to any wireless networks that were either
> open or that I had the passwords for.  The disadvantage of NM compared
> to wicd is it won't work without X.  The advantage is it will take
> care of the conf.d/net

Wicd doesn't need anything in conf.d/net.


-- 
Neil Bothwick

Duct tape is the just like the Force: it has a light side, a dark side,
and binds the universe together.


signature.asc
Description: PGP signature


Re: [gentoo-user] amarok can't use mysql collection

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 18:52:00 Alex Schuster wrote:
> Alan McKinnon writes:
> > On Monday 16 November 2009 21:40:42 Alex Schuster wrote:
> > > Alan McKinnon writes:
> > > > I get errors like this whenever amarok updates the collection:
> > > >
> > > > amarok:  [ERROR!] GREPME MySQL query failed! No database
> > > >  selected  on "INSERT INTO images SELECT * FROM images_temp;"
> > >
> > > Not here. Sometimes the collection gets screwed up a little, but I do
> > > not get any output when re-scanning the collection.
> 
> It just happened again. I added a new folder to my /data/mp3 hierarchy
> (metal), put some folders of music into it, marked it as collection folder
> and told amarok to re-scan the collection. When I search for 'metallica',
> it finds 'Rapoon'. When I drag a metallica album folder directly into
> amarok, it shows the album's name correctly, but the artist is 'Rapoon'.
> 
> I unmarked all of my collection's folders, let amarok re-scan, and now the
> collection is empty. I added all the folders again, scanned, and I have
> the same problem.
> 
> I deleted ~/.kde4/share/apps/amarok/mysqle, started amarok and let it
> scan, now all is fine again. Seems I have to do this once in a while.

To me, that is intolerable on production code with a version number of 2.2.0. 
It' supposed to be mature, it's not supposed to trash it's own data store! 
What o you think would happen if Firefox dumped it's browser history and 
cookies once a week in sync with phases of the moon?

If any vendor tried to sell me crap code like that at work, they would be out 
the door on their arse
 
[snip]

> > Amarok, it was nice knowing you. One day you might build and play music
> >  again on all sane systems out there. Meanwhile, I think I want to hear
> >  songs play so some other player is going on this machine and you are
> >  coming off.
> 
> What about using amarok 1.4, until 2.x works fine for you?

1.4 links to kdelibs-3.5 right? I just spent nearly a year getting rid of 3.5 
apps...

> Mine does not work any longer, though. Just noted this when I started it
> to compare with the 2.2 one, did not do this a while ago.
> /usr/kde/3.5/bin/amarok immediately throws an 'illegal instruction' error.
> Huh? I did not change my CFLAGS, they are "-march=k8-sse3 -mfpmath=sse -O2
> -pipe -fomit-frame-pointer" on a AMD Athlon 4850e. The k8-sse3 should be
> sane, gcc -Q --help=target -march=native lists it. I am not sure where I
> got the -mfpmath=sse from. I rebuilt amarok 1.4, and get the same error,
> probably somewhere in kdelibs or such stuff. Strange. Let's see if this
> happens with other stuff, too.

that looks like you built amarok with binutils-2.20. It affects many apps. Try 
downgrade binutils, rebuild offending apps and see if it makes a difference.
Or you could try rebuild current binutils with USE=gold. I have no idea what 
it does, but there's a few references on b.g.o. about this working in some 
cases.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] setting up wireless on gentoo using wireless-tools

2009-11-17 Thread Dominic Kexel
I can recommend wicd, it's a nice and easy way to handle your wireless-setup 
and can be run either with a gui or curses.


On Wed, 18 Nov 2009 02:06:00 +0900
daid kahl  wrote:

> > Hey guys
> >
> > I'm Strugling to set up wireless, have recompiled kernel to include wireless
> > i have folowed all the documentation and read and folowed tutorials on
> > gentoo wiki and also i have folowed the /net.examples and wireless.examples
> > but it keeps giving me errors when i want to start init.d/net.wlan0
> > my question is: what should a working /etc/init.d/net look like if I want to
> > connect to dhcp enabled open wireless dslmodem/router ?
> 
> I've heard great things about wicd, but I never managed to get it
> work.  NetworkManager worked out-of-the-box for me once I had the
> correct drivers (now in the kernels by default).
> 
> I think wicd is nicer, but NetworkManager will work, and the nm-applet
> has not failed me to connect to any wireless networks that were either
> open or that I had the passwords for.  The disadvantage of NM compared
> to wicd is it won't work without X.  The advantage is it will take
> care of the conf.d/net
> 
> ~daid


-- 




Re: [gentoo-user] (SOLVED) lxappearance and commonbox-styles?

2009-11-17 Thread Marcus Wanner
Works great, thanks. I'm now running a great Marrina theme with some 
great gnome-themes-extras icons and a great ClearLooks window manager. 
No more Redmond!


Marcus

On 11/17/2009 2:45 AM, App Des wrote:

the themes you installed are for openbox (title bar and borders), those can
be changed with "obconf" (emerge it if you don't have it). lxappearance
changes the gtk and icon themes. (gnome-themes, gtk-engines-* etc)

On Tue, Nov 17, 2009 at 12:39 AM, Marcus Wanner  wrote:

  

I installed lxde and am really liking it (stabilization soon? install went
without a hitch...). I also installed commonbox-styles because I didn't
really like the default theme, so I installed commonbox-themes and
commonbox-themes-extra. I opened lxappearance and tried to switch to one of
my shiny new themes, but there was still only the default one available. Am
I missing something here? I tried googleing, but didn't find anything
besides some irrelevant build logs. Rebooting did not produce any new themes
either...

Thanks.

Marcus





  




Re: [gentoo-user] sound on intel imac

2009-11-17 Thread daid kahl
>> # emerge alsa-util alsa oss

...and "alsa-utils"

I should go to sleep...



Re: [gentoo-user] sound on intel imac

2009-11-17 Thread daid kahl
> # emerge alsa-util alsa oss

Sorry, that should be "alsa-oss"

~daid



Re: [gentoo-user] sound on intel imac

2009-11-17 Thread daid kahl
> I have a 20 inch aluminum imac:
>
>  uname -a
> Linux pyrope 2.6.30-gentoo-r5 #9 SMP Sat Nov 14 14:04:55 NST 2009 x86_64
> Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux
>
> I'm using the in-kernel alsa drivers.  I have tried compiling into the
> kernel and as modules.  I cannot get any output from speakers or
> headphone. (Yes, I have run alsamixer and un-muted everything).

I also use a Mac (though a different model).

My suggestions might be naive, but did you be sure to do all the following?

# emerge alsa-util alsa oss
# alsaconf
# /etc/init.d/alsasound start
# rc-update add alsasound default

If you don't run alsaconf, it won't work...I had that problem for a
few days in 2007.

Regards,
daid



Re: [gentoo-user] setting up wireless on gentoo using wireless-tools

2009-11-17 Thread daid kahl
> Hey guys
>
> I'm Strugling to set up wireless, have recompiled kernel to include wireless
> i have folowed all the documentation and read and folowed tutorials on
> gentoo wiki and also i have folowed the /net.examples and wireless.examples
> but it keeps giving me errors when i want to start init.d/net.wlan0
> my question is: what should a working /etc/init.d/net look like if I want to
> connect to dhcp enabled open wireless dslmodem/router ?

I've heard great things about wicd, but I never managed to get it
work.  NetworkManager worked out-of-the-box for me once I had the
correct drivers (now in the kernels by default).

I think wicd is nicer, but NetworkManager will work, and the nm-applet
has not failed me to connect to any wireless networks that were either
open or that I had the passwords for.  The disadvantage of NM compared
to wicd is it won't work without X.  The advantage is it will take
care of the conf.d/net

~daid



Re: [gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread daid kahl
> if has_version '>'${CATEGORY}/${PF} ; then
>  eerror "Sanity check to keep you from breaking your system:"
>  eerror " Downgrading glibc is not supported and a sure way to destruction"
>  die "aborting to save your system"
> fi
>
> I want to do it anyway.

I had a circumstance where I also had to downgrade glibc.  It was a
giant pain in the ass.

The advice you gave me in July for the same question (from me that time):

> 1. Backup all user data, configs and critical files
> 2. Download a recent stage that suits your needs
> 3. Rebuild world plus add all the extra packages you use

I followed your advice and it worked very well.  From my experience,
you're only going to do the same thing if you actually try to
downgrade, and it's going to be much harder and take much longer.

What better advice to follow than your own!!

Regards,
daid



[gentoo-user] Re: Reading a DVD as an ISO image

2009-11-17 Thread Grant Edwards
On 2009-11-17, Marcus Wanner  wrote:

> My guess is that he has a slow internet connection, he
> downloaded a large iso, burned it, deleted it, and now wants
> to get the iso back without downloading it again, but he has
> access to the checksum/filesize of the original iso from the
> place he downloaded it, and when he makes an iso, the
> checksum/filesize does not match.

In my experience that happens because one or the other of the
images has "extra" garbage blocks past the end of the actual
ISO filesystem image.  If you look at the ISO filesystem header
and find the actual size of the image, it's probably smaller
than the "image file".  If you only compare the bytes within
the ISO image itself, I bet the two will match.

-- 
Grant Edwards   grante Yow! Oh, I get it!!
  at   "The BEACH goes on", huh,
   visi.comSONNY??




Re: [gentoo-user] amarok can't use mysql collection

2009-11-17 Thread Alex Schuster
Alan McKinnon writes:

> On Monday 16 November 2009 21:40:42 Alex Schuster wrote:
> > Alan McKinnon writes:

> > > I get errors like this whenever amarok updates the collection:
> > >
> > > amarok:  [ERROR!] GREPME MySQL query failed! No database
> > >  selected  on "INSERT INTO images SELECT * FROM images_temp;"
> >
> > Not here. Sometimes the collection gets screwed up a little, but I do
> > not get any output when re-scanning the collection.

It just happened again. I added a new folder to my /data/mp3 hierarchy 
(metal), put some folders of music into it, marked it as collection folder 
and told amarok to re-scan the collection. When I search for 'metallica', 
it finds 'Rapoon'. When I drag a metallica album folder directly into 
amarok, it shows the album's name correctly, but the artist is 'Rapoon'.

I unmarked all of my collection's folders, let amarok re-scan, and now the 
collection is empty. I added all the folders again, scanned, and I have 
the same problem.

I deleted ~/.kde4/share/apps/amarok/mysqle, started amarok and let it 
scan, now all is fine again. Seems I have to do this once in a while.


> I have now made a decision. I was a faithful amarok user for 5 years.
>  In the kde-3.5 days it worked flawlessly and never gave a day's
>  trouble. The switch to KDE-4 has been fraught with problems from day 1
>  - all the decent features went away, then the devs spent two years
>  fiddling with the gui while the palyer didn't *actually* play music
>  (gee whizz, whodathunkedit? That a user might actually play music on
>  his media player). Then the monumental cock-up with MySQL and -fPIC,
>  the jumping through hoops that caused with every single distro out
>  there, mysql-5.1.* is still not in the tree un-hardmasked, and now
>  this crap.

I had my bunch of problems with the new amarok, too. And still, I like it. 
I got used to it, I like the new layout, it gets song texts fine (which 
stopped working for the old amarok some time ago).

> Amarok, it was nice knowing you. One day you might build and play music
>  again on all sane systems out there. Meanwhile, I think I want to hear
>  songs play so some other player is going on this machine and you are
>  coming off.

What about using amarok 1.4, until 2.x works fine for you?

Mine does not work any longer, though. Just noted this when I started it 
to compare with the 2.2 one, did not do this a while ago. 
/usr/kde/3.5/bin/amarok immediately throws an 'illegal instruction' error. 
Huh? I did not change my CFLAGS, they are "-march=k8-sse3 -mfpmath=sse -O2 
-pipe -fomit-frame-pointer" on a AMD Athlon 4850e. The k8-sse3 should be 
sane, gcc -Q --help=target -march=native lists it. I am not sure where I 
got the -mfpmath=sse from. I rebuilt amarok 1.4, and get the same error, 
probably somewhere in kdelibs or such stuff. Strange. Let's see if this 
happens with other stuff, too.

Wonko



Re: [gentoo-user] Re: Reading a DVD as an ISO image

2009-11-17 Thread Marcus Wanner

On 11/17/2009 10:40 AM, Grant Edwards wrote:

On 2009-11-17, Jos? Romildo Malaquias  wrote:

  

Once I have written a dvd ISO image to a dvd-r disk and then I have
deleted the image from the hard disk. Now I need the image again, but
reading the image from disk does not give me an identical image to the
original one.

I have used the commands

$ readcd -vvv dev=/dev/dvd f=image.iso

and

$ dd if=/dev/dvd of=image.iso

With both commands, the resulting image is 99.9% identical to the
original one.



If you deleted the original, how do you know? the one you're
creating from the DVD isn't identical?

  

Is there anything I can do to get an image identical to the
original one?



Since you still seem to have a copy of the original ISO, just
use it.
  
My guess is that he has a slow internet connection, he downloaded a 
large iso, burned it, deleted it, and now wants to get the iso back 
without downloading it again, but he has access to the checksum/filesize 
of the original iso from the place he downloaded it, and when he makes 
an iso, the checksum/filesize does not match.


Marcus



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 18:08:21 Neil Bothwick wrote:
> > Hectic day at work? :)
> 
> I' m not working today, decorating is even more stressful :(
 
Sign in my local paint store:

"Husbands choosing colours must have a note from their wives"

I feel your pain. I redid a bathroom sink the other day and am deftly avoiding 
the looming repaint of the living room and one bedroom :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Neil Bothwick
On Tue, 17 Nov 2009 17:25:02 +0200, Eray Aslan wrote:

> > How does sending a SIGHUP to smtpd increase the load on the syslog
> > server?  
> 
> Ugh, smtpd?  Where did that come from?  There was no mention of smtpd in
> the thread.

destination mail {
file("/var/log/mail/$YEAR/$MONTH/$DAY/$HOUR"
template("$ISODATE $HOST $MSG\n") template_escape(no)
owner("root") group("log") perm(0640)
dir_owner("root") dir_group("log")
dir_perm(02750) create_dirs(yes));
};

I assumed that a destination called mail was for a mail server, not
general syslog messages :)

> Hectic day at work? :)

I' m not working today, decorating is even more stressful :(


-- 
Neil Bothwick

And if you say "No", I shall be forced to shoot you.


signature.asc
Description: PGP signature


[gentoo-user] Downgrade glibc-2.11 to 2.10

2009-11-17 Thread Alan McKinnon
Yes, I have read this in 
/var/portage/sys-libs/glibc/files/eblits/pkg_setup.eblit
and I understand the risks.

if has_version '>'${CATEGORY}/${PF} ; then
  eerror "Sanity check to keep you from breaking your system:"
  eerror " Downgrading glibc is not supported and a sure way to destruction"
  die "aborting to save your system"
fi

I want to do it anyway.

A multitude of apps that used to run just fine now give "free(): invalid 
pointer" errors since I upgraded to glibc-2.11

A simple downgrade doesn't work - too many apps will not start including bash. 
Has anyone done this or knows of a howto? I'm happy to rebuild a few critical 
apps statically if that's what it takes. I'm not happy chasing down half the 
system to do it :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] lxappearance and commonbox-styles?

2009-11-17 Thread Marcus Wanner
Oh, I understand now. I will look into obconf and the other packages you 
mentioned.


Thank you!

Marcus

On 11/17/2009 2:45 AM, App Des wrote:

the themes you installed are for openbox (title bar and borders), those can
be changed with "obconf" (emerge it if you don't have it). lxappearance
changes the gtk and icon themes. (gnome-themes, gtk-engines-* etc)

On Tue, Nov 17, 2009 at 12:39 AM, Marcus Wanner  wrote:

  

I installed lxde and am really liking it (stabilization soon? install went
without a hitch...). I also installed commonbox-styles because I didn't
really like the default theme, so I installed commonbox-themes and
commonbox-themes-extra. I opened lxappearance and tried to switch to one of
my shiny new themes, but there was still only the default one available. Am
I missing something here? I tried googleing, but didn't find anything
besides some irrelevant build logs. Rebooting did not produce any new themes
either...

Thanks.

Marcus





  




[gentoo-user] Re: Reading a DVD as an ISO image

2009-11-17 Thread Grant Edwards
On 2009-11-17, Jos? Romildo Malaquias  wrote:

> Once I have written a dvd ISO image to a dvd-r disk and then I have
> deleted the image from the hard disk. Now I need the image again, but
> reading the image from disk does not give me an identical image to the
> original one.
>
> I have used the commands
>
> $ readcd -vvv dev=/dev/dvd f=image.iso
>
> and
>
> $ dd if=/dev/dvd of=image.iso
>
> With both commands, the resulting image is 99.9% identical to the
> original one.

If you deleted the original, how do you know? the one you're
creating from the DVD isn't identical?

> Is there anything I can do to get an image identical to the
> original one?

Since you still seem to have a copy of the original ISO, just
use it.

-- 
Grant Edwards   grante Yow! I'm also pre-POURED
  at   pre-MEDITATED and
   visi.compre-RAPHAELITE!!




[gentoo-user] Re: Keyboard Mapping Issues

2009-11-17 Thread daid kahl
>Is there some
> simple tool in portage to report 1) The local build date of an
> installed package 2) Display the emerge history?  Such tools would
> assist me in locating the problem, which I assume resulted from an
> upgrade.

Sorry, I am looking at /var/log/emerge.log now.

~daid



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Eray Aslan
On 17.11.2009 17:08, Neil Bothwick wrote:
>>> You wouldn't miss a log messsage by sending a SIGHUP to your mail
>>> server, the logger would keep running.
>> When syslog-ng cannot process messages for whatever reason, it will
>> buffer them.  When the buffer is full, it will drop the messages.  There
>> is no need to add to the load and increase message loss probability with
>> SIGHUP (think of a central log server).
> 
> How does sending a SIGHUP to smtpd increase the load on the syslog server?

Ugh, smtpd?  Where did that come from?  There was no mention of smtpd in
the thread.

Hectic day at work? :)

-- 
Eray





[gentoo-user] Keyboard Mapping Issues

2009-11-17 Thread daid kahl
Hello,

After some recent updates, my keyboard shows some strange and
undesirable behavior.  It is a MacBook (no previous keyboard
problems), with US mapping and UTF-8 mode.

Examples: During console login, the key-combination Shift+2 deletes
the whole line, and Shift+3 is a backspace, rather than the characters
'@' and '#' respectively.  However, once logged-in, these keys behave
as expected.  All other keys appear to work correctly.  However, the
"Function" behavior is toggled opposite to previous settings where
they are normal F1-12 keys unless I hit the laptop's Fn key.  Usually
this would be controlled by something like pommed (a small daemon for
Apple computers) or X, but those settings are not respected, and there
seems to be no way to switch the keyboard Function modes anymore.

Yesterday, I updated 18 packages and also the kernel.  Is there some
simple tool in portage to report 1) The local build date of an
installed package 2) Display the emerge history?  Such tools would
assist me in locating the problem, which I assume resulted from an
upgrade.

I know some of the updates included things like removing
device-mapper, updating lvm2 & udev, as well as perhaps kbd.  I
expected these packages could be the problem, but I downgraded all of
them and restored the /etc directory from backup, and the strange
keyboard behavior remains.  (Once I determined nothing in /etc causes
this behavior, I restored the recent /etc directory.)  revdep-rebuild
doesn't show any broken dependencies that I might have missed through
the downgrades.

It is not the kernel or modules, since this behavior is now seen on
all my kernels.

Searching the internet and user-lists did not bring any solutions to
my attention.

Does anyone have some wisdom for me?

Regards,
daid



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Neil Bothwick
On Tue, 17 Nov 2009 14:08:00 +0200, Eray Aslan wrote:

> > I didn't miss it. My question was how to you get the process to USE
> > the new file. Unless you SIGHUP the process, it will continue using
> > the config in pace when it started.
> 
> Last sentence is correct.  What you are missing is that the config says
> to start a new file each day/hour/etc.  syslog-ng does not evaluate the
> file() expression once at startup and then treat it as a constant.

Ah, it makes sense now.

> > You wouldn't miss a log messsage by sending a SIGHUP to your mail
> > server, the logger would keep running.
> 
> When syslog-ng cannot process messages for whatever reason, it will
> buffer them.  When the buffer is full, it will drop the messages.  There
> is no need to add to the load and increase message loss probability with
> SIGHUP (think of a central log server).

How does sending a SIGHUP to smtpd increase the load on the syslog server?


-- 
Neil Bothwick

Warp 5.. engage. No, no, Mr. Data, more clutch!


signature.asc
Description: PGP signature


[gentoo-user] smime files opened with kmail

2009-11-17 Thread Mick
Hi All,

I used to be able to decrypt, open and read smime files (pkcs7) with
Kmail 3.5, but with Kmail 4.3 this is not working as expected.  This
is how it used to be:

I would right click on the smime.p7m file and select open with kmail,
which would open a new blank mail message with the smime.p7m file
shown as an attachment.  I would then save the message as draft and
thereafter open it in kmail.  The encrypted smime part would be
readable as an inline attachment in the draft message after I entered
my decryption passphrase.

I have the same kmail settings with KDE4.3, but the draft message
always shows the smime.p7m file as an icon, not inline.  Changing the
preferences in kmail to view attachments as 'smart' or 'inline' makes
no difference.  When I download the smime message from the mail server
with kmail I can decrypt it and read it without a problem - but that's
the only way I can read it.

Trying to decrypt the message directly using Kleopatra gets me an
ascii piece of text (I assume it is mime'd(?) and I can't read it).

Is there some configuration I need to apply to be able to read the
smime.p7m attachment in kmail, or failing that is there a manual way
of decrypting and reading a SSL signed and encrypted message?

PS.  I've also tried using openssl smime -decrypt and it fails with
some indecipherable errors.
-- 
Regards,
Mick



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 14:08:00 Eray Aslan wrote:
> > You wouldn't miss a log messsage by sending a SIGHUP to your mail server,
> > the logger woulsd keep running.
> 
> When syslog-ng cannot process messages for whatever reason, it will
> buffer them.  When the buffer is full, it will drop the messages.  There
> is no need to add to the load and increase message loss probability with
> SIGHUP (think of a central log server).
> 

s/syslog-ng/syslog-ng Premium Version (paid for)/

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] amarok can't use mysql collection

2009-11-17 Thread Volker Armin Hemmann
On Dienstag 17 November 2009, Alan McKinnon wrote:
> On Monday 16 November 2009 21:40:42 Alex Schuster wrote:
> > Alan McKinnon writes:
> > > Does anyone here successfully use amarok-2.2.0 with mysql-5.0.84-r1?
> >
> > Sort of.
> >
> > > I get errors like this whenever amarok updates the collection:
> > >
> > > amarok:  [ERROR!] GREPME MySQL query failed! No database
> > >  selected  on "INSERT INTO images SELECT * FROM images_temp;"
> >
> > Not here. Sometimes the collection gets screwed up a little, but I do not
> > get any output when re-scanning the collection.
> >
> > > $ eix -e amarok
> > >  Installed versions:  2.2.0(4)(20:08:42 15/11/09)(cdda ipod
> > >  linguas_en_GB mp3tunes mtp opengl semantic-desktop -aqua -daap -debug
> > >  -lastfm -linguas_bg - linguas_ca -linguas_cs -linguas_da -linguas_de
> > >  -linguas_es -linguas_et - linguas_eu -linguas_fi -linguas_fr
> > >  -linguas_it -linguas_ja -linguas_km - linguas_nb -linguas_nds
> > >  -linguas_nl -linguas_pa -linguas_pl -linguas_pt - linguas_pt_BR
> > >  -linguas_ru -linguas_sl -linguas_sr -linguas...@latin - linguas_sv
> > >  -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW)
> >
> >   2.2.0(4)(10:58:59 10.10.2009)(linguas_de opengl
> > semantic-desktop -aqua -cdda -daap -debug -ipod -lastfm -linguas_bg -
> > linguas_ca -linguas_cs -linguas_da -linguas_en_GB -linguas_es -linguas_et
> > -linguas_eu -linguas_fi -linguas_fr -linguas_it -linguas_ja -linguas_km -
> > linguas_nb -linguas_nds -linguas_nl -linguas_pa -linguas_pl -linguas_pt -
> > linguas_pt_BR -linguas_ru -linguas_sl -linguas_sr -linguas...@latin -
> > linguas_sv -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW
> > -mp3tunes -mtp)
> >
> > > $ eix -e mysql
> > >  Installed versions:  5.0.84-r1(04:18:46 14/11/09)(community
> > >  embedded perl ssl -berkdb -big-tables -cluster -debug -extraengine
> > >  -latin1 -max-idx-128 - minimal -profiling -selinux -static)
> >
> >  Installed versions:  5.0.84-r1(15:58:02 12.11.2009)(berkdb community
> > embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-
> > idx-128 -minimal -profiling -selinux -static)
> 
> 
> 
> My stuff is similar to yours and Volker's, didn't work with mysqle.
> 
> Even tried downgrading binutils, which fixed one error and revealed
>  another.
> 
> I have now made a decision. I was a faithful amarok user for 5 years. In
>  the kde-3.5 days it worked flawlessly and never gave a day's trouble. The
>  switch to KDE-4 has been fraught with problems from day 1 - all the decent
>  features went away, then the devs spent two years fiddling with the gui
>  while the palyer didn't *actually* play music (gee whizz, whodathunkedit?
>  That a user might actually play music on his media player). Then the
>  monumental cock-up with MySQL and -fPIC, the jumping through hoops that
>  caused with every single distro out there, mysql-5.1.* is still not in the
>  tree un-hardmasked, and now this crap.
> 
> Amarok, it was nice knowing you. One day you might build and play music
>  again on all sane systems out there. Meanwhile, I think I want to hear
>  songs play so some other player is going on this machine and you are
>  coming off.
> 
> Bye bye now, and don't bump your head on the door when you leave.
> 

qmmp
is nice
alsaplayer
is my favorite for 'keep it simple'



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Eray Aslan
On 17.11.2009 10:59, Neil Bothwick wrote:
>>> Then how do you get the server to use the new logfile names each
>>> day/week?
>> It creates and uses a new file each hour/day/etc.  Perhaps, you missed
>> the file(...) directive?
> 
> I didn't miss it. My question was how to you get the process to USE the
> new file. Unless you SIGHUP the process, it will continue using the
> config in pace when it started.

Last sentence is correct.  What you are missing is that the config says
to start a new file each day/hour/etc.  syslog-ng does not evaluate the
file() expression once at startup and then treat it as a constant.

# ls /var/log/HOSTS/north/|tail -n5
north.2009.07.log.gz
north.2009.08.log.gz
north.2009.09.log.gz
north.2009.10.log.gz
north.2009.11.log

There was no SIGHUP involved.

>>> You only need to send a SIGHUP to the server using that log
>>> facility, so syslog would not be affected in your example.
>> I can't parse this.  The point is avoiding SIGHUP so that we do not miss
>> any log messages.
> 
> You wouldn't miss a log messsage by sending a SIGHUP to your mail server,
> the logger woulsd keep running.

When syslog-ng cannot process messages for whatever reason, it will
buffer them.  When the buffer is full, it will drop the messages.  There
is no need to add to the load and increase message loss probability with
SIGHUP (think of a central log server).

-- 
Eray



[gentoo-user] Looking for a iCalendar (ICS), CalDAV, or WCAP-SERVER

2009-11-17 Thread Christian Könitzer
Hi,

I installed Lightning in my Mozilla Thunderbird. Lightening supports iCalendar 
(ICS), CalDAV, and Sun Java System Calendar Server (WCAP).

How can I install one of those Servers on my Gentoo Linux (HowTo?, Package?)? I 
searched with eix -S wcap etc. but did nothing found nor did I found a server 
with google. I prefere to instal a WCAP-Server, than a iCalendar Server, and if 
both is not possible a CalDAV-Server...


Thanks for any answer!
Christian Könitzer 
-- 
Ch.Könitzer CK

Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser



Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread Joerg Schilling
Daniel Pielmeier  wrote:

> 2009/11/17 Sebastian Beßler :
> >> What about mounting the iso and create it again from the mountpoint.
> >
> > That he has deleted the iso?
>
> Well, he then can create the iso again from the mounted DVD, without
> readcd or dd, but with the same program (mkisofs?) he used before.

This works only in case that the OS correctly supports all features in the 
filesystem. As Linux does not support hard links correctly, callig mkisofs
again will not always result in an identical image and the new image might
not fit on the medium

I recommend readcd as it reads directly from the medium and as it correctly 
informs you whether there was a read problem.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



[gentoo-user] Re: Reading a DVD as an ISO image

2009-11-17 Thread Nikos Chantziaras

On 11/17/2009 08:24 AM, José Romildo Malaquias wrote:

Hello.

Once I have written a dvd ISO image to a dvd-r disk and then I have
deleted the image from the hard disk. Now I need the image again, but
reading the image from disk does not give me an identical image to the
original one.

I have used the commands

$ readcd -vvv dev=/dev/dvd f=image.iso

and

$ dd if=/dev/dvd of=image.iso

With both commands, the resulting image is 99.9% identical to the
original one.

Is there anything I can do to get an image identical to the original one?


For what it's worth, K3b does create ISO images that are bit-exact with 
the ISO image I used to burn the DVD.





Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread Daniel Pielmeier
2009/11/17 Sebastian Beßler :
>> What about mounting the iso and create it again from the mountpoint.
>
> That he has deleted the iso?

Well, he then can create the iso again from the mounted DVD, without
readcd or dd, but with the same program (mkisofs?) he used before.

-- 
Daniel Pielmeier



Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Neil Bothwick
On Mon, 16 Nov 2009 17:55:51 +0200, Eray Aslan wrote:

> On 16.11.2009 14:46, Neil Bothwick wrote:
> > On Mon, 16 Nov 2009 09:05:18 +0200, Eray Aslan wrote:
> > 
> >> - No need to logrotate with time based filenames.  Hence, no
> >> need to "kill -HUP" the syslog daemon.  No missed logs.
> > 
> > Then how do you get the server to use the new logfile names each
> > day/week?
> 
> It creates and uses a new file each hour/day/etc.  Perhaps, you missed
> the file(...) directive?

I didn't miss it. My question was how to you get the process to USE the
new file. Unless you SIGHUP the process, it will continue using the
config in pace when it started.

> > You only need to send a SIGHUP to the server using that log
> > facility, so syslog would not be affected in your example.
> 
> I can't parse this.  The point is avoiding SIGHUP so that we do not miss
> any log messages.

You wouldn't miss a log messsage by sending a SIGHUP to your mail server,
the logger woulsd keep running.

> OP asked how one manages log files without logrotate and the answer is
> with time based file names.  It has the additional benefit of avoiding
> SIGHUP.

I understood both the question and answer, but it seems like you are
avoiding logrotate by re-implementing it in your scripts.


-- 
Neil Bothwick

An example of hard water is ice.


signature.asc
Description: PGP signature


Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread Sebastian Beßler
Am 17.11.2009 09:09, schrieb Daniel Pielmeier:
> 2009/11/17 José Romildo Malaquias :
>> With both commands, the resulting image is 99.9% identical to the
>> original one.
>>
>> Is there anything I can do to get an image identical to the original one?
> 
> What about mounting the iso and create it again from the mountpoint.

That he has deleted the iso?

How do you check the correctness of the new written iso?
Have you a checksum of the old iso or do you check against the DVD?

Greetings

Sebastian Beßler




Re: [gentoo-user] strange cron messages...

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 04:35:23 Neil Walker wrote:
> Alan McKinnon wrote:
> > I have to ask - what the blazes are those servers doing???  :-)
> 
> HTTP, SMTP and IMAP, mostly. ;)

Which raises another question I have to ask - why are those logging to wtmp? 
Do all your users have shell accounts and do the services use Unix auth?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] scrollback using framebuffer

2009-11-17 Thread Alan McKinnon
On Tuesday 17 November 2009 07:48:21 Maxim Wexler wrote:
> > CONFIG_FB=y
> > CONFIG_FB_BOOT_VESA_SUPPORT=y
> > CONFIG_FB_CFB_FILLRECT=y
> > CONFIG_FB_CFB_COPYAREA=y
> > CONFIG_FB_CFB_IMAGEBLIT=y
> > CONFIG_FB_VESA=y
> > CONFIG_VGACON_SOFT_SCROLLBACK=y
> > CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256
> 
> Identical to mine.
> 
> > I have no settings for scrollback on the kernel command line, just this
> > to set
> > the resolution etc:
> >
> > vga=0x37D ywrap mtrr:4
> 
> Sure about this? 0x37D is not  a recognized mode. Are you missing some
> punctuation?

Nope, that's exactly how it is in grub. I have a 1920x1440 screen and I get as 
many 8x8 characters as can fit

I got the 0x37D parameter by the table shown with vga=ask

> my line is:  video=vesafb:ywrap,mtrr vga=0x318. Is this syntax
> correct? There seems to be a variety out there. Mine only scrolls a
> few lines, doesn't matter If I give scrollback 128 or 256k. But there
> are no errors, so I must be doing something right. Tried ypan too, no
> luck.

And I get 32k worth of scrollback. There's a setting for this in menuconfig:

Device Drivers -> Graphics support -> Console display driver support

what is yours set to?

I must admit, the fb situation is very confusing and the Documentation 
directory seems to be a mixture of old, new, wrong and just flat out obsolete 
stuff. One has to read the code to find out what is supported it seems

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread Daniel Pielmeier
2009/11/17 José Romildo Malaquias :
> With both commands, the resulting image is 99.9% identical to the
> original one.
>
> Is there anything I can do to get an image identical to the original one?

What about mounting the iso and create it again from the mountpoint.

-- 
Daniel Pielmeier



Re: [gentoo-user] lxappearance and commonbox-styles?

2009-11-17 Thread App Des
the themes you installed are for openbox (title bar and borders), those can
be changed with "obconf" (emerge it if you don't have it). lxappearance
changes the gtk and icon themes. (gnome-themes, gtk-engines-* etc)

On Tue, Nov 17, 2009 at 12:39 AM, Marcus Wanner  wrote:

> I installed lxde and am really liking it (stabilization soon? install went
> without a hitch...). I also installed commonbox-styles because I didn't
> really like the default theme, so I installed commonbox-themes and
> commonbox-themes-extra. I opened lxappearance and tried to switch to one of
> my shiny new themes, but there was still only the default one available. Am
> I missing something here? I tried googleing, but didn't find anything
> besides some irrelevant build logs. Rebooting did not produce any new themes
> either...
>
> Thanks.
>
> Marcus
>
>


[gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread José Romildo Malaquias
Hello.

Once I have written a dvd ISO image to a dvd-r disk and then I have
deleted the image from the hard disk. Now I need the image again, but
reading the image from disk does not give me an identical image to the
original one.

I have used the commands

$ readcd -vvv dev=/dev/dvd f=image.iso

and

$ dd if=/dev/dvd of=image.iso

With both commands, the resulting image is 99.9% identical to the
original one.

Is there anything I can do to get an image identical to the original one?

Regards,

Romildo