[gentoo-user] Strange problem with audio CDs

2011-01-10 Thread Jake Moe
I can't seem to get audio CDs to work with my drive.  Data CDs work
fine, I can mount the filesystem and read them.  Data and Video DVDs
seem to work fine as well.  But when I try to listen to an audio CD, I
get the attached errors in log.bz2.  I've tried using things from KsCD
to cdplay; everything gives the same errors.  Googling seems to indicate
that there might be a problem with udev somehow, but most of those that
I find have the fix as update to the latest udev using apt/rpm/other
binary distro package tool, which obviously won't work for Gentoo. 
Other solutions seem to be update to libATA, but I'm already using that.

I've gone through and tried to check anything obvious in my kernel
config, but I can't see anything that'd affect it like this.  Also, if I
reboot into Windows (this laptop is a work computer as well), it plays
and rips the same CDs just fine.

Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0. 
Controller is:

00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 30dc
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
I/O ports at 8118 [size=8]
I/O ports at 813c [size=4]
I/O ports at 8110 [size=8]
I/O ports at 8138 [size=4]
I/O ports at 8000 [size=32]
Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA ?
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
files; it gives the error in error.gif.

Any other info you need, please let me know.  This is driving me nuts.

Jake Moe


log.bz2
Description: BZip2 compressed data
attachment: error.gif

Re: [gentoo-user] Strange problem with audio CDs

2011-01-10 Thread Mick
On 10 January 2011 09:48, Jake Moe jakesaddr...@gmail.com wrote:
 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device 30dc
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
        I/O ports at 8118 [size=8]
        I/O ports at 813c [size=4]
        I/O ports at 8110 [size=8]
        I/O ports at 8138 [size=4]
        I/O ports at 8000 [size=32]
        Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA ?
        Capabilities: [b0] PCI Advanced Features
        Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.

 Jake Moe


Do you have this installed?

[I] kde-base/kdemultimedia-kioslaves
 Available versions:
(4.4)
4.4.5!t amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
[aqua debug
encode flac +handbook kdeenablefinal kdeprefix vorbis]
(4.5)
~   4.5.3!t ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux [aqua
debug encode flac +handbook kdeenablefinal kdeprefix vorbis]
~   4.5.4!t ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux [aqua
debug encode flac +handbook kdeenablefinal kdeprefix vorbis]
 Installed versions:  4.4.5(4.4)!t(15:15:46 18/12/10)(encode flac
handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix)
 Homepage:http://www.kde.org/
 Description: KDE kioslaves from the kdemultimedia package

-- 
Regards,
Mick



Re: [gentoo-user] Strange problem with audio CDs

2011-01-10 Thread Jake Moe
On 01/10/11 20:21, Mick wrote:
 On 10 January 2011 09:48, Jake Moe jakesaddr...@gmail.com wrote:
 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 30dc
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
I/O ports at 8118 [size=8]
I/O ports at 813c [size=4]
I/O ports at 8110 [size=8]
I/O ports at 8138 [size=4]
I/O ports at 8000 [size=32]
Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA ?
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.

 Jake Moe

 Do you have this installed?

 [I] kde-base/kdemultimedia-kioslaves
  Available versions:
   (4.4)
   4.4.5!t amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
 [aqua debug
 encode flac +handbook kdeenablefinal kdeprefix vorbis]
   (4.5)
   ~   4.5.3!t ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux 
 ~x86-linux [aqua
 debug encode flac +handbook kdeenablefinal kdeprefix vorbis]
   ~   4.5.4!t ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux 
 ~x86-linux [aqua
 debug encode flac +handbook kdeenablefinal kdeprefix vorbis]
  Installed versions:  4.4.5(4.4)!t(15:15:46 18/12/10)(encode flac
 handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix)
  Homepage:http://www.kde.org/
  Description: KDE kioslaves from the kdemultimedia package

Yep.

j...@aus8617 ~ $ emerge -pv kdemultimedia-kioslaves

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

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdemultimedia-kioslaves-4.4.5  USE=encode flac
handbook vorbis (-aqua) -debug (-kdeenablefinal) (-kdeprefix) 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

j...@aus8617 ~ $ eix kdemultimedia-kioslaves
[I] kde-base/kdemultimedia-kioslaves
 Available versions: 
(4.4)   4.4.5!t
(4.5)   ~4.5.3!t ~4.5.4!t
{aqua debug encode flac +handbook kdeenablefinal kdeprefix vorbis}
 Installed versions:  4.4.5(4.4)!t(13:15:06 01/09/11)(encode flac
handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix)
 Homepage:http://www.kde.org/
 Description: KDE kioslaves from the kdemultimedia package

j...@aus8617 ~ $

And anyway, that wouldn't account for the error with cdplay and dcd
(command-line cd-player utils) that throw the same errors.

Jake Moe



[gentoo-user] Re: A tiny titillating taste of grub2

2011-01-10 Thread walt

On 01/09/2011 11:07 AM, walt wrote:


NOTE: I can't recall exactly why but the ata* modules conflict with some
other modules, so *don't use them* unless you know what you are doing.

NOTE: if grub2 names your disks (ataN,N) instead of (hdN,N) that means
you are using the ata* grub2 modules -- I haven't figured out how to make
that configuration work yet.


I believe the ata*.mods conflict with biosdisk.mod.  The biosdisk.mod is
accepting what the BIOS announces about the drives, but ata.mod is probing
the hardware directly instead of listening to the BIOS.  I think.

Anyway after removing biosdkisk.mod, the ata.mod works very well (but
doesn't find any USB sticks, which are not ATA devices.  I think :)

BTW, the 'search' command (in the grub2 shell) will do the following:

search -l BOOT -s root

search -l BOOT finds the disk label of my /boot partition, which happens
to be BOOT in my case, and the -s root sets the shell variable 'root'
to point at the /boot partition, which happens to be (hd1,5) in my case.

In other words, that search command does at boot time what this menu item
root (hd1,5) does, but I don't need to know the (hd1,5) in advance, I
only need to know the disk label BOOT and grub2 will go find it in real
time.

Now I just need to look up what to put in grub.conf to make it automatic.

You guys may be losing interest in grub2, but I'm having fun, so...




Re: [gentoo-user] More locale oddness

2011-01-10 Thread Steffen Loos

Am 08.01.2011 14:24, schrieb Alan McKinnon:

Apparently, though unproven, at 18:33 on Friday 07 January 2011, Stroller did
opine thusly:


On 7/1/2011, at 6:26am, Alan McKinnon wrote:

...
Can anyone else reproduce this, please, or tell me what behaviour is
expected?

$ locale
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
...
$ date +%l:%M%P
1:39
$ LC_TIME=POSIX
$ date +%l:%M%P
1:39am
$


Your output looks fine, except for the last two commands. LC_TIME is an
envvar, you have set it without exporting it, then ran data again and got
a change. I don't understand how you managed that as LC_TIME would no
longer be POSIX at that stage:

because: LC_TIME is exported already as it was set via /etc/env.d/02locale.



...
Removing either (  rebooting, because I don't really understand this stuff)
removes the ability.

Only unset LANG and LC_TIME is sufficient to reproduce the behaviour.




The variable is lacking quotes in the `locale` output above; I have no idea
whether or not this makes any difference.

I think it doesn't.

Steffen



Re: [gentoo-user] Re: A tiny titillating taste of grub2

2011-01-10 Thread pk
On 2011-01-10 14:05, walt wrote:

 You guys may be losing interest in grub2, but I'm having fun, so...

Although I've not been involved in this discussion I still enjoy your
progress (I've been meaning to try out grub2 myself since grub1 is
basically EOLed but haven't had the time yet)... please continue!

Best regards

Peter K



[gentoo-user] Enabling debugging symbols only for specific packages

2011-01-10 Thread Nikos Chantziaras
Is there a way to enable debugging symbols only for some packages?  I 
need to do that for about 15 packages.  Currently, all I can do is edit 
make.conf all the time when emerging one of those and add -g to CFLAGS 
and splitdebug to FEATURES.  But I *always* forget about it the first 
time, ending up building twice.


Before anyone replies about enabling the debug USE flag on those 
package: No.  This is not what this USE flag is there for.





[gentoo-user] Re: Strange problem with audio CDs

2011-01-10 Thread Jörg Schaible
Hi Jake,

Jake Moe wrote:

 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.
 
 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.
 
 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:
 
 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci
 
 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.
 
 Any other info you need, please let me know.  This is driving me nuts.

Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

I still have my old box around just because of this problem :-/

00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI 
Controller (prog-if 01 [AHCI 1.0])
Subsystem: Acer Incorporated [ALI] Device 0198
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
I/O ports at c880 [size=8]
I/O ports at c800 [size=4]
I/O ports at c480 [size=8]
I/O ports at c400 [size=4]
I/O ports at c080 [size=32]
Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA ?
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

When I rip a CD it typically starts to read it slow permanently down and 
after ~ the 6th song the process is not profgressing anymore ...

You're also running 64-bit ?

- Jörg




[gentoo-user] xen-sources and igb (intel network) driver

2011-01-10 Thread Konstantinos Agouros
Hi,

I just upgraded my box to a phenom and an intel quad gbit card.
The card is a 82575GB. It is recognized (I use xen-sources 2.6.34-r4) and
also tried the latest driver available at intel (2.4.12). Ifconfig
show the interfaces mac addresses etc. 

However I do not get a link. Neither on a switch nor on a laptop
with gbit interface. 

I found googling that there seems to be an issue with xen and this card/
chip. Anybody knows a way out of it? Especially since the card should have
some virtualization optimizations?

Regards,

Konstantin

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] Enabling debugging symbols only for specific packages

2011-01-10 Thread Mike Edenfield
On 1/10/2011 1:11 PM, Nikos Chantziaras wrote:
 Is there a way to enable debugging symbols only for some packages?  I
 need to do that for about 15 packages.  Currently, all I can do is edit
 make.conf all the time when emerging one of those and add -g to CFLAGS
 and splitdebug to FEATURES.  But I *always* forget about it the first
 time, ending up building twice.

I think you can drop a file in /etc/portage/env for these packages to
change the variables, something like:

/etc/portage/env/sys-apps/portage/bashrc:
FEATURES=${FEATURES} splitdebug
CFLAGS=${CFLAGS} -g




[gentoo-user] Re: Enabling debugging symbols only for specific packages

2011-01-10 Thread Hartmut Figge
Nikos Chantziaras:

 Is there a way to enable debugging symbols only for some packages?  I 
 need to do that for about 15 packages.  Currently, all I can do is edit 
 make.conf all the time when emerging one of those and add -g to CFLAGS 
 and splitdebug to FEATURES.  But I *always* forget about it the first 
 time, ending up building twice.

*g*

I would probably do it this way. Having a make.conf-normal and a
make.conf-special and a file containing the names of the 15 packages.

Then an executable shell script with the name emerge in /usr/local/bin
with /usr/local/bin in the path before /usr/bin and in this script:

- test if the package to emerge is in the file
- if so, copy make.conf-special to make.conf else copy make.conf-normal
to make.conf.
- then execute /usr/bin/emerge for the package to emerge

But you have to avoid running multiple emerge at the same time. ;)

Hartmut
-- 
Notwendig, weil hier meine privaten Patche fehlen




Re: [gentoo-user] Endless mysql-update

2011-01-10 Thread meino . cramer
Dale rdalek1...@gmail.com [11-01-10 18:17]:
 meino.cra...@gmx.de wrote:
   Hi,
 
   since some time I got the same mysql update displayed after doing
 
  eix-sync  emerge --color=n -p -v --newuse --update --deep world
 
 . How can I stop mysql from this ?
 
 Best regards,
 mcc
 

 
 I don't use the package but this may help.  Have you ran revdep-rebuild 
 lately?  If that comes back clean and it does it even if you haven't 
 re-synced, then maybe it is a bug or something.
 
 Dale
 
 :-)  :-)
 

Hi, 

revdep comes without problems.
This evening mysql was again to be updated...
But I dont think, that this is a bug. I do 
more tend to believe that it is something...

Best regards,
mcc




Re: [gentoo-user] Enabling debugging symbols only for specific packages

2011-01-10 Thread Alex Schuster
Nikos Chantziaras writes:

 Is there a way to enable debugging symbols only for some packages?  I 
 need to do that for about 15 packages.  Currently, all I can do is edit 
 make.conf all the time when emerging one of those and add -g to CFLAGS 
 and splitdebug to FEATURES.  But I *always* forget about it the first 
 time, ending up building twice.

This is possible. I have the problem that older GCCs do not know about
the -march=k8-sse3 CFLAG, so I had to change this to build them. So, I
created the file /etc/portage/env/sys-devel/gcc:3.4, containing this:

  touch /tmp/package.env-gcc:3.4
  CFLAGS=-march=k8
  CXXFLAGS=$CFLAGS

The files can contain any bash code. I added the touch comand in order
to verify that this code is actually being used. You could put this
inside there:

  CFLAGS=$CFLAGS -g
  CXXFLAGS=$CFLAGS
  FEATURES=$FEATURES splitdebug

This seems to work for me. The portage man page has some info about
this, it also mentions /etc/portage/package.env containing lines like
  category/package conffile
with file being /etc/portage/env/conffile. It suggests to use this
instead of my approach I described above. I did not use this yet, I
assume it should be used when making generic changes for a package, but
as I want the change not for all GCCs, but only for certain slots, I use
the method I described.

I'm using portage-2.2 BTW.

Wonko



Re: [gentoo-user] Re: A tiny titillating taste of grub2

2011-01-10 Thread Dale

pk wrote:

On 2011-01-10 14:05, walt wrote:

   

You guys may be losing interest in grub2, but I'm having fun, so...
 

Although I've not been involved in this discussion I still enjoy your
progress (I've been meaning to try out grub2 myself since grub1 is
basically EOLed but haven't had the time yet)... please continue!

Best regards

Peter K

   


Same here.  I'm noticing how complicated this thing is.  This sort of 
feels like installing a OS to boot a OS.  lol   Does it have audio too?  
I'm expecting you to post that you turned up the volume and realized it 
is talking to you.  o_O


Dale

:-)  :-)



[gentoo-user] Re: Enabling debugging symbols only for specific packages

2011-01-10 Thread Nikos Chantziaras

On 01/10/2011 09:28 PM, Mike Edenfield wrote:

On 1/10/2011 1:11 PM, Nikos Chantziaras wrote:

Is there a way to enable debugging symbols only for some packages?  I
need to do that for about 15 packages.  Currently, all I can do is edit
make.conf all the time when emerging one of those and add -g to CFLAGS
and splitdebug to FEATURES.  But I *always* forget about it the first
time, ending up building twice.


I think you can drop a file in /etc/portage/env for these packages to
change the variables, something like:

/etc/portage/env/sys-apps/portage/bashrc:
FEATURES=${FEATURES} splitdebug
CFLAGS=${CFLAGS} -g


Doesn't seem to work.  When emerging, I get:

/usr/lib64/portage/bin/ebuild.sh: line 1676: source: 
/etc/portage/env/sys-apps/portage: is a directory





[gentoo-user] Re: Enabling debugging symbols only for specific packages

2011-01-10 Thread Nikos Chantziaras

On 01/10/2011 09:54 PM, Hartmut Figge wrote:

Nikos Chantziaras:


Is there a way to enable debugging symbols only for some packages?  I
need to do that for about 15 packages.  Currently, all I can do is edit
make.conf all the time when emerging one of those and add -g to CFLAGS
and splitdebug to FEATURES.  But I *always* forget about it the first
time, ending up building twice.


*g*

I would probably do it this way. Having a make.conf-normal and a
make.conf-special and a file containing the names of the 15 packages.

Then an executable shell script with the name emerge in /usr/local/bin
with /usr/local/bin in the path before /usr/bin and in this script:

- test if the package to emerge is in the file
- if so, copy make.conf-special to make.conf else copy make.conf-normal
to make.conf.
- then execute /usr/bin/emerge for the package to emerge

But you have to avoid running multiple emerge at the same time. ;)


This won't help with emerge -u world, which is my primary concern.




[gentoo-user] Re: Enabling debugging symbols only for specific packages

2011-01-10 Thread Nikos Chantziaras

On 01/10/2011 10:29 PM, Alex Schuster wrote:

Nikos Chantziaras writes:


Is there a way to enable debugging symbols only for some packages?  I
need to do that for about 15 packages.  Currently, all I can do is edit
make.conf all the time when emerging one of those and add -g to CFLAGS
and splitdebug to FEATURES.  But I *always* forget about it the first
time, ending up building twice.


This is possible. I have the problem that older GCCs do not know about
the -march=k8-sse3 CFLAG, so I had to change this to build them. So, I
created the file /etc/portage/env/sys-devel/gcc:3.4, containing this:

   touch /tmp/package.env-gcc:3.4
   CFLAGS=-march=k8
   CXXFLAGS=$CFLAGS

The files can contain any bash code. I added the touch comand in order
to verify that this code is actually being used. You could put this
inside there:

   CFLAGS=$CFLAGS -g
   CXXFLAGS=$CFLAGS
   FEATURES=$FEATURES splitdebug

This seems to work for me.


Seems to work here too.  Though it seems to be sourced four times.  The 
packages are being compiled with -g -g -g -g :P  But in this case it 
doesn't harm anything.




The portage man page has some info about
this, it also mentions /etc/portage/package.env containing lines like
   category/package  conffile
withfile  being /etc/portage/env/conffile. It suggests to use this
instead of my approach I described above. I did not use this yet, I
assume it should be used when making generic changes for a package, but
as I want the change not for all GCCs, but only for certain slots, I use
the method I described.


Thanks for the pointer.  It looks like this is even better since you 
only need one file to deal with.




I'm using portage-2.2 BTW.


2.1 here.




[gentoo-user] Re: Enabling debugging symbols only for specific packages

2011-01-10 Thread Nikos Chantziaras

On 01/11/2011 12:59 AM, Nikos Chantziaras wrote:

On 01/10/2011 10:29 PM, Alex Schuster wrote:
[...]

The portage man page has some info about
this, it also mentions /etc/portage/package.env containing lines like
category/package conffile
withfile being /etc/portage/env/conffile. It suggests to use this
instead of my approach I described above. I did not use this yet, I
assume it should be used when making generic changes for a package, but
as I want the change not for all GCCs, but only for certain slots, I use
the method I described.


Thanks for the pointer. It looks like this is even better since you only
need one file to deal with.


OK, just tried that.  Works perfectly and without the -g -g -g -g glitch.

Thanks everyone for the responses :-)




Re: [gentoo-user] Re: A tiny titillating taste of grub2

2011-01-10 Thread Dale

walt wrote:

On 01/10/2011 01:37 PM, Dale wrote:

pk wrote:

On 2011-01-10 14:05, walt wrote:


You guys may be losing interest in grub2, but I'm having fun, so...



Although I've not been involved in this discussion I still enjoy your
progress (I've been meaning to try out grub2 myself since grub1 is
basically EOLed but haven't had the time yet)... please continue!



Same here. I'm noticing how complicated this thing is.


I'm sorry I've given that impression -- the complicated part is finding
comprehensible examples to copy, but thanks to your previous links I'm
gaining on it.   I'm now able to write a functioning grub.cfg file for
grub2, but I don't want to publish prematurely ;)


It wasn't just you, it was other things I read too.




Does it have audio too?


Yes, but very primitive.  No speech, but you can give it a series of
numbers representing tones and durations -- to make it sound like a
video game arcade.  If you really want to.  But I don't.





Oh God, it can make sounds.  O_O

Dale

:-)  :-)



Re: [gentoo-user] Re: Strange problem with audio CDs

2011-01-10 Thread Jake Moe
On 01/11/11 04:38, Jörg Schaible wrote:
 Hi Jake,

 Jake Moe wrote:

 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.
 Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

 I still have my old box around just because of this problem :-/

 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI 
 Controller (prog-if 01 [AHCI 1.0])
 Subsystem: Acer Incorporated [ALI] Device 0198
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
 I/O ports at c880 [size=8]
 I/O ports at c800 [size=4]
 I/O ports at c480 [size=8]
 I/O ports at c400 [size=4]
 I/O ports at c080 [size=32]
 Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 When I rip a CD it typically starts to read it slow permanently down and 
 after ~ the 6th song the process is not profgressing anymore ...

 You're also running 64-bit ?

 - Jörg
Well, mine is a bit different.  I typically run FVWM from a SLIM logon,
so there's no KDE or Gnome auto-anything running.  I only used Konqueror
as an example of another way of accessing the CDs that might have
worked, but didn't.   I can even stop XDM, log in from a console prompt
with no X running, and try to play a CD with cdplay or dcd, and I'll get
the same results.  And with me, it doesn't start to work and then slow
down; it never works.  It can only read track listings, but not any of
the music.

And no, I'm on 32-bit stable Gentoo, with only unstable packages
being ones that don't have stable ebuilds.

Thanks for trying, though.  :-)  Anyone else have any ideas?

Jake Moe