[gentoo-user] /bin contains busybox executables after installing busybox-1.13.2

2009-11-25 Thread Amit Dor-Shifer

Hi.
I've just stumbled on an abnormality for which I've yet no explanation. 
Posting for possible general interest.


Yesterday ebuild unpack started to emit errors:

find: unrecognized: -mindepth
BusyBox v1.13.2 (2009-09-02 17:33:46 IDT) multi-call binary

Usage: find [PATH...] [EXPRESSION]


This happened because I had a /bin/find, identical to /bin/busybox

amit0 ~ # ls -la /bin/find /bin/busybox
-rwxr-xr-x 176 root root 981048 Sep  2 17:35 /bin/busybox*
-rwxr-xr-x 176 root root 981048 Sep  2 17:35 /bin/find*

/bin/find isn't associated with any package, but it's creation time 
coincides with the last emerge of busybox, 1.8.2 - 1.13.2.


It seems that all of busybox's embedded exe's (I have 130) were created 
on my FS.


FYI

Amit



Re: [gentoo-user] /bin contains busybox executables after installing busybox-1.13.2

2009-11-25 Thread Alan McKinnon
On Wednesday 25 November 2009 11:35:53 Amit Dor-Shifer wrote:
 Hi.
 I've just stumbled on an abnormality for which I've yet no explanation.
 Posting for possible general interest.
 
 Yesterday ebuild unpack started to emit errors:
 
 find: unrecognized: -mindepth
 BusyBox v1.13.2 (2009-09-02 17:33:46 IDT) multi-call binary
 
 Usage: find [PATH...] [EXPRESSION]
 
 
 This happened because I had a /bin/find, identical to /bin/busybox
 
 amit0 ~ # ls -la /bin/find /bin/busybox
 -rwxr-xr-x 176 root root 981048 Sep  2 17:35 /bin/busybox*
 -rwxr-xr-x 176 root root 981048 Sep  2 17:35 /bin/find*
 
 /bin/find isn't associated with any package, but it's creation time
 coincides with the last emerge of busybox, 1.8.2 - 1.13.2.
 
 It seems that all of busybox's embedded exe's (I have 130) were created
 on my FS.


This all happened because you didn't read this:

pkg_preinst() {
if use make-symlinks  [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == yes ]]  
[[ ${ROOT} == / ]] ; then
ewarn setting USE=make-symlinks and emerging to / is very 
dangerous.
ewarn it WILL overwrite lots of system programs like: ls bash 
awk grep (bug 60805 for full list).
ewarn If you are creating a binary only and not merging this 
is probably ok.
ewarn set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy 
what you want.
die silly options will destroy your system
fi

/bin/find is not associated with any packages because it's created in 
postinst()

And now you have a huge problem because (at least last time I tried) busybox 
does not implement tar -o; to test, try and emerge something. If it fails, 
this is the only way it will ever work:

boot off alternate media and chroot into your usual /. If you are lucky, you 
will have a tar binpkg as a backup which you can unpack into / on the chroot; 
if not then you have to get one from somewhere - some kind soul will likely 
send you one of you specify your arch and cpu type

Then remove busybox. You don't need it as you have GNU. Busybox is useful for 
embedded and rescue systems and not much use on desktops, hence the warnings 
in the ebuild about not writing to / with symlinks


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] [SOLVED] NFS poor performance, high system load

2009-11-25 Thread Robin Atwood
On Tuesday 24 November 2009, Hal Martin wrote:
 Roy Wright wrote:
  On Nov 23, 2009, at 8:11 PM, Hal Martin wrote:
  Hello all,
 
  Sorry if it seems like this is a repeat question, but I've gone through
  my Gentoo list for the past 2 years and none of the answers provided for
  previous threads on this seem to work for me. Here's the situation:
 
 
  /etc/exports:
  /mnt/daigo  192.168.0.31(rw,insecure)
  /etc/exports:
  /var/media
  192.168.80.0/24(async,no_subtree_check,rw,no_root_squash,insecure)
 
 That's fixed it! Thanks! I'm now getting ~50MB/s over NFS. System load
 is still up around 6, but I can live with that.

FWIW, I think it is the async option that makes the difference. It certainly 
fixed it for me when I had a similar problem.

-Robin
-- 
--
Robin Atwood.

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











Re: [gentoo-user] /bin contains busybox executables after installing busybox-1.13.2

2009-11-25 Thread Amit Dor-Shifer
amit0 ~ # fgrep make-symlinks /var/log/portage/elog/summary.log 
/var/log/emerge.log;echo $?

1
amit0 ~ # euse -a make-symlinks
amit0 ~ #

amit0 ~ # grep -i -A 8 busybox-1.13.2 /var/log/portage/elog/summary.log
 Messages generated by process 17234 on 2009-09-02 17:35:08 IDT for 
package sys-apps/busybox-1.13.2:


WARN: unpack
Could not locate user configfile, so we will save a default one

LOG: install
Your configuration for sys-apps/busybox-1.13.2 has been saved in
/etc/portage/savedconfig/sys-apps/busybox-1.13.2 for your editing pleasure.
You can edit these files by hand and remerge this package with
USE=savedconfig to customise the configuration.
You can rename this file/directory to one of the following for
its configuration to apply to multiple versions:
${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
[${CTARGET}|${CHOST}|]/${CATEGORY}/[${PF}|${P}|${PN}]


 Messages generated by process 17234 on 2009-09-02 17:36:00 IDT for 
package media-sound/alsa-utils-1.0.20-r4:


FWIW, exing the excess exe-s from /bin/ helped relieve my pains.
Amit


Alan McKinnon wrote:

On Wednesday 25 November 2009 11:35:53 Amit Dor-Shifer wrote:
  

Hi.
I've just stumbled on an abnormality for which I've yet no explanation.
Posting for possible general interest.

Yesterday ebuild unpack started to emit errors:

find: unrecognized: -mindepth
BusyBox v1.13.2 (2009-09-02 17:33:46 IDT) multi-call binary

Usage: find [PATH...] [EXPRESSION]


This happened because I had a /bin/find, identical to /bin/busybox

amit0 ~ # ls -la /bin/find /bin/busybox
-rwxr-xr-x 176 root root 981048 Sep  2 17:35 /bin/busybox*
-rwxr-xr-x 176 root root 981048 Sep  2 17:35 /bin/find*

/bin/find isn't associated with any package, but it's creation time
coincides with the last emerge of busybox, 1.8.2 - 1.13.2.

It seems that all of busybox's embedded exe's (I have 130) were created
on my FS.




This all happened because you didn't read this:

pkg_preinst() {
if use make-symlinks  [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == yes ]]  
[[ ${ROOT} == / ]] ; then
ewarn setting USE=make-symlinks and emerging to / is very 
dangerous.
ewarn it WILL overwrite lots of system programs like: ls bash 
awk grep (bug 60805 for full list).
ewarn If you are creating a binary only and not merging this 
is probably ok.
ewarn set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy 
what you want.

die silly options will destroy your system
fi

/bin/find is not associated with any packages because it's created in 
postinst()


And now you have a huge problem because (at least last time I tried) busybox 
does not implement tar -o; to test, try and emerge something. If it fails, 
this is the only way it will ever work:


boot off alternate media and chroot into your usual /. If you are lucky, you 
will have a tar binpkg as a backup which you can unpack into / on the chroot; 
if not then you have to get one from somewhere - some kind soul will likely 
send you one of you specify your arch and cpu type


Then remove busybox. You don't need it as you have GNU. Busybox is useful for 
embedded and rescue systems and not much use on desktops, hence the warnings 
in the ebuild about not writing to / with symlinks



  




Re: [gentoo-user] /bin contains busybox executables after installing busybox-1.13.2

2009-11-25 Thread daid kahl
 This all happened because you didn't read this:

 pkg_preinst() {
        if use make-symlinks  [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == yes ]] 
 [[ ${ROOT} == / ]] ; then
                ewarn setting USE=make-symlinks and emerging to / is very
 dangerous.
                ewarn it WILL overwrite lots of system programs like: ls bash
 awk grep (bug 60805 for full list).
                ewarn If you are creating a binary only and not merging this
 is probably ok.
                ewarn set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy
 what you want.
                die silly options will destroy your system
        fi

 /bin/find is not associated with any packages because it's created in
 postinst()


This was the best fragment of an ebuild I ever read.  What a riot!
~daid



[gentoo-user] KDE3 removal

2009-11-25 Thread James
Hello,

I've been updating a kde3 workstation to kde4
off and on for a few days now. KDE4 is installed
and seem to work, no extensive testing yet.

However, when I run revdep-rebuild, it complains
about numerous kde3 based packages. Most, if not all
had the kde4 equivalent packages installed. So I just
manually deleted the list of kde3.5.x based packages.
snip

So a few more manual passes of removing the offending kde-3.5.x
packages and I'm down to this list of packages that
revdep-rebuild wants to rebuild:

I get the list from revdep-rebuild, research if I want the 
packages and then clean out the (crufted) revdep-rebuild 
list and continue until I'm down to these packages:


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

Calculating dependencies... done!
[ebuild  N] sys-fs/device-mapper-1.02.24-r1  USE=(-selinux)
[ebuild U ] media-libs/lcms-1.18-r1 [1.17]
[ebuild   R   ] sys-fs/cryptsetup-1.0.6-r2
[ebuild   R   ] net-libs/xulrunner-1.8.1.19
[ebuild U ] net-libs/xulrunner-1.9.1.4 [1.9.0.7] USE=alsa%* python%*
-debug% -sqlite% -startup-notification*
[ebuild   R   ] sys-apps/hal-0.5.12_rc1-r8


So far so good. I did not actually allow revdep-rebuild to
complete, as I want all vestiges of kde3 and other cruft gone.

Now I have a list I can focus on, except, I'm confused about
device-mapper, ,cryptsetup, and xulrunner as my research suggest 
device-mapper is not needed, but it is being call by:
[ Searching for packages depending on device-mapper... ]
sys-fs/cryptsetup-1.0.6-r2 (=sys-fs/device-mapper-1.00.07-r1)


Research suggests that I can install lvm2 and be done with that? But it 
first wants to call back device-mapper?


Now, guidance here is appreciated.


James











Re: [gentoo-user] what is overloaded my X server?

2009-11-25 Thread daid kahl
2009/11/25 Helmut Jarausch jarau...@igpm.rwth-aachen.de:
 Hi,

 on one of several machines and only occasionally
 my X-server (/usr/bin/X) takes nearly 100% CPU.
 I have killed some applications but this didn't help
 unless I killed X itself and restarted it.

 Is there any way to find out what is hogging my X server?


Running accelerated graphics on my intel card (945GM) for things like
compiz would always make X eat my processor time like mad.

The workaround I used was not to accelerate graphics on a crappy card.

Not sure if this applies to you.

Regards,
daid



Re: [gentoo-user] Moving root filesystem to a new partition

2009-11-25 Thread daid kahl
 Just restore your latest backup to the new partition, then edit /etc/fstab
 to specify the proper layout. Easy - I do it often.

A good idea.  If for some reason you don't have disk image
backups...grab something like system rescue cd, and partimage the
whole drive and the restore from it...

~daid



Re: [gentoo-user] eclipse portage package

2009-11-25 Thread Chuck Robey
Mark Knecht wrote:
 On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey chu...@telenix.org wrote:
 I was checking to see what version of eclipse seems to have a portage 
 package,
 and I was kinda shocked that the package seems a bit outdated.  3.4 is the
 current portage package, but eclipse has been at 3.5 for a good while now.
 Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
 overlooked something available from gentoo (I would be overjoyed to have made
 that mistake) then I'm going to be forced to see how to coax portage to 
 allow me
 to use that eclipse site binary package to sub for ALL eclipse packages.

 Anyone know how to get portage to make externally supplied binaries to supply
 portage eclipse dependencies?  All of the huge number of eclipse plugins can 
 be
 done without using portage just fine, but the eclipse itself, that I would
 really rather use a portage ebuild for installation.



 
 I don't know about installing binary stuff - probably wouldn't work
 unless you have exactly the right libraries and what not. Anyway, I
 seem to see a 3.5 version masked with ~ . Note that I would unmask it
 in portage.keywords and not the way I'm showing it below.
 
 HTH,
 Mark
 
 m...@dragonfly ~/Desktop $ eix eclipse
 * dev-java/ant-eclipse-ecj
  Available versions:
 (3.3)   3.3.0-r1
 (3.4)   3.4
 (3.5)   ~3.5.1
 {elibc_FreeBSD}
  Homepage:http://www.eclipse.org/
  Description: Ant Compiler Adapter for Eclipse Java Compiler
 
 * dev-java/eclipse-ecj
  Available versions:
 (3.3)   3.3.0-r3
 (3.4)   3.4-r4
 (3.5)   ~3.5.1
 {ant elibc_FreeBSD java6}
  Homepage:http://www.eclipse.org/
  Description: Eclipse Compiler for Java
 
 * dev-util/eclipse-sdk
  Available versions:  (3.4)  3.4-r2
 {doc elibc_FreeBSD java6}
  Homepage:http://www.eclipse.org/
  Description: Eclipse Tools Platform
 
 Found 3 matches.
 m...@dragonfly ~/Desktop $
 
 
 dragonfly ~ # emerge -pv eclipse-ecj
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
 [ebuild  N] dev-java/eclipse-ecj-3.4-r4  USE=-java6 1,251 kB
 
 Total: 2 packages (2 new), Size of downloads: 1,251 kB
 dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
 [ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
 [ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
 [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
 [ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
 [ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB
 
 Total: 6 packages (6 new), Size of downloads: 8,111 kB
 dragonfly ~
 

Mark, I could be responsible for this (the fact that it seems that neither of
the things I really wanted to know are covered) because sometimes I am not clear
in what I'm asking, so let me try again.

I need to get an up-to-date version of eclipse working on my gentoo box.  First
question is, is there a Galileo (3.5+) version of eclipse available as a portage
package?  I can't find it, so I'd really appreciate a pointer.  The only thing I
can see is a fairly old eclipse version (I think a year or more out of date).

Second question, at the eclipse website, I see a binary version of the latest
Linux-eclipse (the version I'm after).  If I *can't* get a portage package
version of Galileo-eclipse, then if I install the binary package (non-portage)
from the eclipse website, can I get (and how can I get) portage to consider this
package as supplying any dependency which would be otherwise supplied by the
latest (ganymede, 3.4+) portage version of the eclipse tool
.

Unless I'm completely misreading your stuff, your examples tell me how to
install the (too old) portage version, which is in all cases just too old for
me, so my 2 questions boil down to (1) must I?, and (2) How do I?

Thanks for your time, Mark.



[gentoo-user] Re: eclipse portage package

2009-11-25 Thread Jörg Schaible
Chuck Robey wrote:

[snip]
 
 Mark, I could be responsible for this (the fact that it seems that neither
 of the things I really wanted to know are covered) because sometimes I am
 not clear in what I'm asking, so let me try again.
 
 I need to get an up-to-date version of eclipse working on my gentoo box. 
 First question is, is there a Galileo (3.5+) version of eclipse available
 as a portage
 package?  I can't find it, so I'd really appreciate a pointer.  The only
 thing I can see is a fairly old eclipse version (I think a year or more
 out of date).
 
 Second question, at the eclipse website, I see a binary version of the
 latest
 Linux-eclipse (the version I'm after).  If I *can't* get a portage package
 version of Galileo-eclipse, then if I install the binary package
 (non-portage) from the eclipse website, can I get (and how can I get)
 portage to consider this package as supplying any dependency which would
 be otherwise supplied by the latest (ganymede, 3.4+) portage version of
 the eclipse tool .
 
 Unless I'm completely misreading your stuff, your examples tell me how to
 install the (too old) portage version, which is in all cases just too old
 for me, so my 2 questions boil down to (1) must I?, and (2) How do I?

The binary is self-contained, simply install it in /opt and you're done. As
long as you have X running, it's enough and you don't need to tell portage
anything about it.

- Jörg




Re: [gentoo-user] eclipse portage package

2009-11-25 Thread Marcus Wanner

On 11/25/2009 12:20 PM, Chuck Robey wrote:

Mark Knecht wrote:
  

m...@dragonfly ~/Desktop $ eix eclipse
* dev-java/ant-eclipse-ecj
 Available versions:
(3.3)   3.3.0-r1
(3.4)   3.4
(3.5)   ~3.5.1
{elibc_FreeBSD}
 Homepage:http://www.eclipse.org/
 Description: Ant Compiler Adapter for Eclipse Java Compiler


This shows that 3.5.1 is available, but is masked by a ~arch keyword. 
This means that the ebuild for 3.5.1 is not stable yet, and is not 
guaranteed to work (though it most likely will).

* dev-java/eclipse-ecj
 Available versions:
(3.3)   3.3.0-r3
(3.4)   3.4-r4
(3.5)   ~3.5.1
{ant elibc_FreeBSD java6}
 Homepage:http://www.eclipse.org/
 Description: Eclipse Compiler for Java



Same for eclipse-ecj...

* dev-util/eclipse-sdk
 Available versions:  (3.4)  3.4-r2
{doc elibc_FreeBSD java6}
 Homepage:http://www.eclipse.org/
 Description: Eclipse Tools Platform



But not eclipse-sdk.

dragonfly ~ # emerge -pv eclipse-ecj

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

Calculating dependencies... done!
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.4-r4  USE=-java6 1,251 kB

Total: 2 packages (2 new), Size of downloads: 1,251 kB


Here, he shows what would be installed if you ran emerge elipse-ecj.

dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj

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

Calculating dependencies... done!
[ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
[ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
[ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
[ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB

Total: 6 packages (6 new), Size of downloads: 8,111 kB

This is what would happen if you temporarily told the system to allow 
the installation of ~arch packages. Temporarily setting ~arch is a Bad Idea!

I need to get an up-to-date version of eclipse working on my gentoo box.  First
question is, is there a Galileo (3.5+) version of eclipse available as a portage
package?  I can't find it, so I'd really appreciate a pointer.  The only thing I
can see is a fairly old eclipse version (I think a year or more out of date).
  
That is because the newer version is keyworded with ~arch. Emerge will 
not tell you that there is a newer, keyworded version available.

Second question, at the eclipse website, I see a binary version of the latest
Linux-eclipse (the version I'm after).  If I *can't* get a portage package
version of Galileo-eclipse,

Don't worry, I'll show you how in a little bit!

then if I install the binary package (non-portage)
from the eclipse website, can I get (and how can I get) portage to consider this
package as supplying any dependency which would be otherwise supplied by the
latest (ganymede, 3.4+) portage version of the eclipse tool
  

As far as I know of, that is not possible without ugly hacks.

Unless I'm completely misreading your stuff, your examples tell me how to
install the (too old) portage version, which is in all cases just too old for
me, so my 2 questions boil down to (1) must I?, and (2) How do I?
  
I don't know what you mean by must I?, but the answer to How do I? 
is right here:
First, you need to create a folder called /etc/portage as root. Then, 
create a file called package.keywords in that directory. When you want 
to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in this 
case), you run


ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj

to see what packages are needed for the keyworded version. Then, you 
copy the the package names mentioned to package.keywords. In the example 
above, the command outputted:


[ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
[ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
[ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
[ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB

So you would add this:

dev-python/pyxml-0.8.4-r2
dev-java/javatoolkit-0.3.0-r3
dev-java/ant-core-1.7.1-r4
app-admin/eselect-ecj-0.3
dev-java/eclipse-ecj-3.5.1
dev-java/ant-eclipse-ecj-3.5.1

to the package.keywords file (note that this will probably be different 
for your system, you should run the command yourself and use that output 
to find out what you should put in the file). I would also put a note 
above the lines to say why and when they were added, in case I forget.


Then you can run emerge -av eclipse-ecj and see if it lists the new 
versions of everything.


Marcus



Re: [gentoo-user] eclipse portage package

2009-11-25 Thread Alan McKinnon
On Wednesday 25 November 2009 19:20:43 Chuck Robey wrote:
 I need to get an up-to-date version of eclipse working on my gentoo
  box.  First question is, is there a Galileo (3.5+) version of eclipse
  available as a portage package?  I can't find it, so I'd really appreciate
  a pointer.  The only thing I can see is a fairly old eclipse version (I
  think a year or more out of date).
 
 Second question, at the eclipse website, I see a binary version of the
  latest Linux-eclipse (the version I'm after).  If I *can't* get a portage
  package version of Galileo-eclipse, then if I install the binary package
  (non-portage) from the eclipse website, can I get (and how can I get)
  portage to consider this package as supplying any dependency which would
  be otherwise supplied by the latest (ganymede, 3.4+) portage version of
  the eclipse tool

Have you considered simply installing the binary eclipse into ~ and 
maintaining it using the bundled eclipse tools? This removes portage out of 
the equation entirely - no fooling around with *provided

That is the method used by most Linux users and it's highly unlikely it won't 
work - gentoo doesn't do weird things with where libs etc are stored.

Plus, you have the advantage of being to install plugins directly from eclipse 
without having to become root and run emerge. It the same order of magnitude 
as using Firefox to install it's own plugins.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] KDE3 removal

2009-11-25 Thread Alan McKinnon
On Wednesday 25 November 2009 18:54:54 James wrote:
 Hello,
 
 I've been updating a kde3 workstation to kde4
 off and on for a few days now. KDE4 is installed
 and seem to work, no extensive testing yet.
 
 However, when I run revdep-rebuild, it complains
 about numerous kde3 based packages. Most, if not all
 had the kde4 equivalent packages installed. So I just
 manually deleted the list of kde3.5.x based packages.
 snip
 
 So a few more manual passes of removing the offending kde-3.5.x
 packages and I'm down to this list of packages that
 revdep-rebuild wants to rebuild:
 
 I get the list from revdep-rebuild, research if I want the
 packages and then clean out the (crufted) revdep-rebuild
 list and continue until I'm down to these packages:
 
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] sys-fs/device-mapper-1.02.24-r1  USE=(-selinux)
 [ebuild U ] media-libs/lcms-1.18-r1 [1.17]
 [ebuild   R   ] sys-fs/cryptsetup-1.0.6-r2
 [ebuild   R   ] net-libs/xulrunner-1.8.1.19
 [ebuild U ] net-libs/xulrunner-1.9.1.4 [1.9.0.7] USE=alsa%* python%*
 -debug% -sqlite% -startup-notification*
 [ebuild   R   ] sys-apps/hal-0.5.12_rc1-r8
 
 
 So far so good. I did not actually allow revdep-rebuild to
 complete, as I want all vestiges of kde3 and other cruft gone.
 
 Now I have a list I can focus on, except, I'm confused about
 device-mapper, ,cryptsetup, and xulrunner as my research suggest
 device-mapper is not needed, but it is being call by:
 [ Searching for packages depending on device-mapper... ]
 sys-fs/cryptsetup-1.0.6-r2 (=sys-fs/device-mapper-1.00.07-r1)
 
 
 Research suggests that I can install lvm2 and be done with that? But it
 first wants to call back device-mapper?

device-mapper has been moved into lvm2 as only it and crypt really use it. 
Just bypass revdep-rebuild for this and install lvm2, then possibly reboot and 
remove device-mapper.

I find it odd that you have two SLOTs of xulrunner. These days we tend to need 
only one at a time. Perhaps you have both in world; what does equery depends 
have to say about those packages?

For the rest, just let revdep-rebuild rebuild them

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] /bin contains busybox executables after installing busybox-1.13.2

2009-11-25 Thread Alan McKinnon
On Wednesday 25 November 2009 14:33:29 Amit Dor-Shifer wrote:
 amit0 ~ # fgrep make-symlinks /var/log/portage/elog/summary.log
 /var/log/emerge.log;echo $?
 1

[snip]

Do you perhaps have a minimal elog config? I get that message every time here

 FWIW, exing the excess exe-s from /bin/ helped relieve my pains.

You're lucky :-)

When the same thing happened to me long ago, I needed recovery tools to get a 
working system back


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] No sound after suspend to ram + resume...

2009-11-25 Thread Marcus Wanner
I just set up suspend to ram on my old Dell Dimension 8200. It has a 
Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio 
Accelerator] sound card which uses the snd_cs46xx kernel driver. After 
suspending to ram (using hibernate-ram) and resuming, sound no longer works.

I checked out dmesg, and it says that (among other things):

   during suspend:
[  354.947535] Sound Fusion CS46xx :02:07.0: PCI INT A disabled
   during resume:
[  355.029211] Sound Fusion CS46xx :02:07.0: restoring config space 
at offset 0xf (was 0x18040100, writing 0x18040103)
[  355.029231] Sound Fusion CS46xx :02:07.0: restoring config space 
at offset 0x5 (was 0x0, writing 0xfe10)
[  355.029239] Sound Fusion CS46xx :02:07.0: restoring config space 
at offset 0x4 (was 0x0, writing 0xfe2ff000)
[  355.029246] Sound Fusion CS46xx :02:07.0: restoring config space 
at offset 0x3 (was 0x0, writing 0x4000)
[  355.029256] Sound Fusion CS46xx :02:07.0: restoring config space 
at offset 0x1 (was 0x410, writing 0x4100102)
[  355.128883] Sound Fusion CS46xx :02:07.0: PCI INT A - GSI 16 
(level, low) - IRQ 16

   this is the interesting bit:
[  365.672980] cs46xx: failure waiting for FIFO command to complete

I searched the web, but found nothing relevant. Any help would be very 
much appreciated.


Marcus



[gentoo-user] Re: Moving root filesystem to a new partition

2009-11-25 Thread walt

On 11/24/2009 09:39 AM, Peter Humphrey wrote:

On Monday 23 November 2009 20:35:34 Alan E. Davis wrote:

Can someone tell me what steps are necessary to move the / filesystem to
  a new partition?


Just restore your latest backup to the new partition, then edit /etc/fstab
to specify the proper layout. Easy - I do it often.


Okay, I just can't resist asking this nosy question: Why do you need to
restore from backup often?




Re: [gentoo-user] /bin contains busybox executables after installing busybox-1.13.2

2009-11-25 Thread Amit Dor-Shifer



Alan McKinnon wrote:

On Wednesday 25 November 2009 14:33:29 Amit Dor-Shifer wrote:
  

amit0 ~ # fgrep make-symlinks /var/log/portage/elog/summary.log
/var/log/emerge.log;echo $?
1



[snip]

Do you perhaps have a minimal elog config? I get that message every time here
  


amit0 ~ # portageq envvar PORTAGE_ELOG_CLASSES
log warn error

Defined in /etc/make.globals, which was last-modified before the busybox 
update.


Also, I did get messages from that upgrade. Both a WARN  a LOG, which I 
pasted earlier. Doesn't make sense to me that one WARN message would 
find its way to summary.log, while another wouldn't.


  

FWIW, exing the excess exe-s from /bin/ helped relieve my pains.



You're lucky :-)

When the same thing happened to me long ago, I needed recovery tools to get a 
working system back



  




Re: [gentoo-user] No sound after suspend to ram + resume...

2009-11-25 Thread Mick
On Wednesday 25 November 2009 19:29:43 Marcus Wanner wrote:
 I just set up suspend to ram on my old Dell Dimension 8200. It has a
 Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio
 Accelerator] sound card which uses the snd_cs46xx kernel driver. After
 suspending to ram (using hibernate-ram) and resuming, sound no longer
  works. I checked out dmesg, and it says that (among other things):
 
 during suspend:
 [  354.947535] Sound Fusion CS46xx :02:07.0: PCI INT A disabled
 during resume:
 [  355.029211] Sound Fusion CS46xx :02:07.0: restoring config space
 at offset 0xf (was 0x18040100, writing 0x18040103)
 [  355.029231] Sound Fusion CS46xx :02:07.0: restoring config space
 at offset 0x5 (was 0x0, writing 0xfe10)
 [  355.029239] Sound Fusion CS46xx :02:07.0: restoring config space
 at offset 0x4 (was 0x0, writing 0xfe2ff000)
 [  355.029246] Sound Fusion CS46xx :02:07.0: restoring config space
 at offset 0x3 (was 0x0, writing 0x4000)
 [  355.029256] Sound Fusion CS46xx :02:07.0: restoring config space
 at offset 0x1 (was 0x410, writing 0x4100102)
 [  355.128883] Sound Fusion CS46xx :02:07.0: PCI INT A - GSI 16
 (level, low) - IRQ 16
 this is the interesting bit:
 [  365.672980] cs46xx: failure waiting for FIFO command to complete
 
 I searched the web, but found nothing relevant. Any help would be very
 much appreciated.

Check the various hybernation/acpi config files.  There should be the option 
somewhere in there to stop alsasound when it hybernates and start it again on 
resume.
-- 
Regards,
Mick


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


[gentoo-user] Re: KDE3 removal

2009-11-25 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 device-mapper has been moved into lvm2 as only it and crypt really use it. 
 Just bypass revdep-rebuild for this and install lvm2, then possibly reboot 
 and 
 remove device-mapper.

Well revdep-rebuild finally shows clear.

After updating and syncing, I get this upon trying to update world:

[ebuild U ] sys-apps/kbd-1.15 [1.13-r1]
[ebuild U ] sys-fs/udev-147-r1 [147]
[uninstall] sys-fs/device-mapper-1.02.24-r1
[blocks b ] sys-fs/device-mapper (sys-fs/device-mapper is blocking
sys-fs/udev-147-r1)
[blocks B ] sys-fs/lvm2-2.02.45 (sys-fs/lvm2-2.02.45 is blocking
sys-fs/udev-147-r1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'sys-fs/lvm2-2.02.36', 'nomerge') pulled in by
sys-fs/lvm2 required by world

  ('ebuild', '/', 'sys-fs/udev-147-r1', 'merge') pulled in by
virtual/dev-manager required by world



 I find it odd that you have two SLOTs of xulrunner. These days we tend to 
 need 
 only one at a time. Perhaps you have both in world; what does equery depends 
 have to say about those packages?


Installed versions:  1.8.1.19(1.8)(16:50:24 11/25/09)(gnome ipv6 java -debug
-elibc_FreeBSD -xinerama) 1.9.1.4(1.9)(17:22:06 11/25/09)(alsa dbus gnome java
python -custom-optimization -debug -elibc_FreeBSD -sqlite -startup-notification)
 Homepage:http://developer.mozilla.org/en/docs/XULRunner
 Description: Mozilla runtime package that can be used to bootstrap
XUL+XPCOM applications



I think swt and eclispe 3.4 are calling for the second xulrunner?

using equery depends ..


James





Re: [gentoo-user] No sound after suspend to ram + resume...

2009-11-25 Thread Marcus Wanner

On 11/25/2009 5:10 PM, Mick wrote:

On Wednesday 25 November 2009 19:29:43 Marcus Wanner wrote:
  

I just set up suspend to ram on my old Dell Dimension 8200. It has a
Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio
Accelerator] sound card which uses the snd_cs46xx kernel driver. After
suspending to ram (using hibernate-ram) and resuming, sound no longer
 works. I checked out dmesg, and it says that (among other things):

during suspend:
[  354.947535] Sound Fusion CS46xx :02:07.0: PCI INT A disabled
during resume:
[  355.029211] Sound Fusion CS46xx :02:07.0: restoring config space
at offset 0xf (was 0x18040100, writing 0x18040103)
[  355.029231] Sound Fusion CS46xx :02:07.0: restoring config space
at offset 0x5 (was 0x0, writing 0xfe10)
[  355.029239] Sound Fusion CS46xx :02:07.0: restoring config space
at offset 0x4 (was 0x0, writing 0xfe2ff000)
[  355.029246] Sound Fusion CS46xx :02:07.0: restoring config space
at offset 0x3 (was 0x0, writing 0x4000)
[  355.029256] Sound Fusion CS46xx :02:07.0: restoring config space
at offset 0x1 (was 0x410, writing 0x4100102)
[  355.128883] Sound Fusion CS46xx :02:07.0: PCI INT A - GSI 16
(level, low) - IRQ 16
this is the interesting bit:
[  365.672980] cs46xx: failure waiting for FIFO command to complete

I searched the web, but found nothing relevant. Any help would be very
much appreciated.



Check the various hybernation/acpi config files.  There should be the option 
somewhere in there to stop alsasound when it hybernates and start it again on 
resume.
  
That doesn't work, thanks for the suggestion though. I even tried 
running /etc/init.d/alsasound stop from a terminal, and sound kept 
playing. I added RestartServices alsasound to common.conf, and suspend 
+ resumed. Going down, audio continued until the screen went black, then 
it jittered until the computer actually turned off (1/2 second later). 
When I pressed the power button to resume, I heard a pop, but nothing 
else. I think I need to actually restart the drivers and the hardware 
after resuming...and ideas?


Marcus