Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Volker Armin Hemmann
On Samstag 05 Dezember 2009, Philip Webb wrote:

 
 Also, I never do a bald 'emerge world'. I look thro' the output of
  'eix-sync', write -- with a pencil+paper -- a list of installed pkgs which
  have changed, run 'emerge -Dup world' to see what order of emerging is
  recommended, then individually 'emerge -pv pkg'  -- if all looks well
  -- 'emerge pkg'. Yes, it takes a bit longer for my weekly update session
  (tomorrow Sat), but I don't risk the nightmare of reducing my system to
  chaos
 with all the extra frantic labor which would result.

which f*cks up world and is a very bad idea. Really, emmerging every single 
package? 'world' is useless for you and cleaning unused deps a nightmare.

Congratulation, you crippled your system.

The easy way to avoid problems are BINPKGs. Use it and a downgrade in case of 
problems only takes seconds.



Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread Marcus Wanner

On 12/4/2009 10:21 PM, Dale wrote:

Thanks goodness for Konsole and being able to scroll up.

Where I come from, we use  | less :p

Marcus



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Dale

Volker Armin Hemmann wrote:

On Samstag 05 Dezember 2009, Philip Webb wrote:

  

Also, I never do a bald 'emerge world'. I look thro' the output of
 'eix-sync', write -- with a pencil+paper -- a list of installed pkgs which
 have changed, run 'emerge -Dup world' to see what order of emerging is
 recommended, then individually 'emerge -pv pkg'  -- if all looks well
 -- 'emerge pkg'. Yes, it takes a bit longer for my weekly update session
 (tomorrow Sat), but I don't risk the nightmare of reducing my system to
 chaos
with all the extra frantic labor which would result.



which f*cks up world and is a very bad idea. Really, emmerging every single 
package? 'world' is useless for you and cleaning unused deps a nightmare.


Congratulation, you crippled your system.

The easy way to avoid problems are BINPKGs. Use it and a downgrade in case of 
problems only takes seconds.
  


Good catch Volker.  I didn't notice that part.  He needs to become very 
familiar with the -1 option but even that is not good in every case.  If 
it is a package that needs to be in world, then that option shouldn't be 
used either otherwise a --depclean would remove it. 


Dale

:-)  :-) 



Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread Dale

Marcus Wanner wrote:

On 12/4/2009 10:21 PM, Dale wrote:

Thanks goodness for Konsole and being able to scroll up.

Where I come from, we use  | less :p

Marcus



That works too and I do use it sometimes.  It is a must when in a plain 
console tho.  Of course some would argue for  | more too.  ;-) 


Dale

:-)  :-) 



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Neil Bothwick
On Sat, 5 Dec 2009 14:31:16 +0100, Volker Armin Hemmann wrote:

 The easy way to avoid problems are BINPKGs. Use it and a downgrade in
 case of problems only takes seconds.

Install demerge too and you can roll back to pre-breakage very easily.


-- 
Neil Bothwick

Old hitchhikers never die-they just throw in the towel.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread daid kahl
 To say that a person only needs to hear one sound at a time is like
 telling
 someone to close one eye.


 Hey man, you're display's only 2D.  What do you need that second eye for
 anyway?

 Regards,
 daid



 I say that because I have a bad eye.  I wish I could see good with both
 because things sure do look different.  I can't just distance for example.
  When the kids want to play baseball, I see the ball but it looks the same
 at a distance as it does just before it hits me in the forehead.  Well, it
 is a little bigger at that point.  O_o

Yeah, but that's a 3D effect!

~daid



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Yoav Luft
hmmm. I've managed to focus the problem: Some programs try to access
to sound device called hw:0,0 and there for do not allow it to be
shared. MPD was one of them, and when I changed the setting in
mpd.conf to using default it works. The flash player, though, still
tries to access the hardware directly. I'm not sure how to reconfigure
it. I'm using the adobe player.
Can anyone think of away of making all programs use default sound
output rather than hw:0,0?
Should I report that as a bug to the mpd package maintainer, that the
default setting try to access the sound device directly?

On Sat, Dec 5, 2009 at 6:12 AM, Joshua Murphy poiso...@gmail.com wrote:
 On Fri, Dec 4, 2009 at 4:43 PM, walt w41...@gmail.com wrote:
 On 12/03/2009 09:08 PM, Joshua Murphy wrote:
 ...

 Lately, I've had zero issues with alsa pretty much configuring itself
 properly, given I'm using the in kernel alsa drivers for my systems...
 and it hasn't required any manual configuration of dmix or similar to
 function properly. Last time I used a separate sound daemon (aside
 from a short stent with Ubuntu on my netbook that, I think, had me
 using pulseaudio), I was running esound to manage audio from a
 headless box over my network... and ESD was playing nicely with other
 straight alsa apps on the same box...

 I discovered a few weeks ago that I could completely delete all traces
 of arts, pulse, *and* esd, and still I can listen to a podcast from
 npr.org with firefox and play an mp3 using audacious at the same time.
 (Which drives me totally nuts, BTW, and I did it only as a test.)

 As you say, alsa seems to DTRT by itself these days.  The only thing
 I'm not sure about is whether the gnome-panel volume/mixer applet is
 now doing what esound used to do.

 If you still have esound installed you can try it yourself.  Just
 remove the arts, esd, and pulse USE flags first, then remove any/all
 of those packages from the machine and revdep-rebuild.  It's amazing
 how many packages are linked against esound and AFAICT they no longer
 need to be.  (This applies to gnome, of course.)

 OTOH, I haven't tested every sound-related app on my machine, so I
 might be missing some important exceptions.

 All Gnome's volume/mixer applet does, AFAIK, is the same as alsamixer,
 on a less cli/ncurses interface... just volume control for the
 channels the card tells the driver to tell the alsa subsystem it has
 ;) ... it doesn't have anything more, really, to do with the actual
 'mixing' than that, and it works just as well without it, as evidenced
 by my netbook with ratpoison, no arts, esd, pulseaudio, etc...
 listening to a radio stream on one aterm that's running mplayer
 (outputting to bare alsa) and getting prompt and proper alerts from
 Skype at the same time.

 'Course, all the anecdotal evidence in the world won't make the
 problem the OP is seeing.

 --
 Poison [BLX]
 Joshua M. Murphy





Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread daid kahl
  2  pieces of advice to avoid such problems:
 (1) never use the 'testing' versions of system pkgs;
 (2) never run 'emerge world' without the '-p' flag.
 I kindly disagree.

 ~[arch] is testing for Gentoo ebuild.  It's considered stable upstream.
 This was an upstream bug, not a Gentoo bug.

 Yes, my comments didn't respond exactly to the problem reported,
 but offered more general advice which might help avoid such problems.

 someone's got to be testing stuff and filing reports upstream.
 It doesn't mean you want to do it, but I really think
 considering ~ as a test of upstream is rather silly.

 The defective version of 'patch' had got into 'testing',
 where the only remaining problems are supposed to be in the ebuild;
 in fact in this case, there was still a serious problem upstream
  that version of 'patch' has been re-masked (I believe).

 Anyway, don't do testing on the machine you use for everyday computing.
 If you want to get into testing, use a dedicated machine for it.

My point is that using things out of portage, stable or unstable,
shouldn't be considered as testing, as they are upstream stable
releases.  Doing testing is getting the latest stuff out of git, etc.
Of course, there will be bugs in upstream stable code as well, but
that's life I suppose.

 I've been using Gentoo for more than 6 years  it's never happened to me.
 I believe the reason is that I follow my own advice as above:
 I do install 'testing' versions of non-vital pkgs (eg 'eix')
  items which are well-supported upstream (eg KDE, kernel),
 but I am very cautious about installing testing versions of system pkgs
 whose collapse would do real damage to my everyday activities.
 Even when stuff is well-supported upstream, I give it a few weeks
 to see if there are reports anywhere of bad things happening.

There's nothing wrong with running stable gentoo, but as others have
commented, one ought to be careful about mixing and matching, for
example, ~x86 and x86.  Running a stable base system with unstable
packages can also lead to a lot of problems, since the code is never
really considered to run together on the same system.

Although I've only been at Gentoo about half the amount of time, I've
run full stable and unstable systems, and I can't say there is much
difference in my experience.  If I had to generalize, I'd say that on
unstable I might hit more bugs, but figuring out what to do to fix the
problem is usually much faster.  I was planning to switch back soon,
actually.

One can think of ~arch as either bad because it's so-called unstable,
or good because you don't wait 6 months to get something like Firefox
3.5.

I use a similar approach to you, and run EMERGE_DEFAULT_OPTS=--ask --verbose

If anything looks suspicious, not only will I take note with paper,
but I'll likely be sure to get a fresh system backup first as well
before proceeding.

Regards,
daid



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Volker Armin Hemmann
On Samstag 05 Dezember 2009, Neil Bothwick wrote:
 On Sat, 5 Dec 2009 14:31:16 +0100, Volker Armin Hemmann wrote:
  The easy way to avoid problems are BINPKGs. Use it and a downgrade in
  case of problems only takes seconds.
 
 Install demerge too and you can roll back to pre-breakage very easily.
 

of course



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Peter Humphrey

On 5/12/2009, Philip Webb purs...@ca.inter.net wrote:

Anyway, don't do testing on the machine you use for everyday computing.
If you want to get into testing, use a dedicated machine for it.

I've been using a separate partition on an existing machine to run a
~amd64 system for evaluation, and yesterday I got my comeuppance. I
wanted to go back to an earlier backup of the test system*, so I took a
backup of my home directory with its e-mail history, wiped the partition
and restored the old backup followed by the home directory. Wrong. I'd
mixed the home directories of the two systems and so I lost the last
five weeks' worth of e-mails.

And no, I hadn't been drinking or getting over-tired. Just goes to show
- you can't be too careful.

* The current test system had a series of KDE-4 problems, which I thought
must have been caused by the patch bug, but simply remerging everything
installed since then hadn't fixed them.



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Jesús Guerrero
On Fri, 04 Dec 2009 00:36:36 +0200, Nikos Chantziaras rea...@arcor.de
wrote:
 On 12/03/2009 11:23 PM, Yoav Luft wrote:
 Hi,
 On my dell Vostro 1520, with intel hda ICH9 82801I sound card
 (xSTAC92HD71B3, according to /proc/asound/card0/codec), only one
 application can access the sound card at a time. This probably means
 that applications access the hardware, and not some software mixer. I
 tried to follow information in the alsa wiki

(http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_dmix)
 for setting manually dmix, but couldn't configure anything working. I
 could find any good documentation (and I don't have plenty of time to
 dig in it, it's the middle of the semester). Does anyone can help on
 the topic?
 
 I think all you need to do is to put the alsasound service in your 
 default runlevel.
 
rc-update add alsasound default
 
 At least that's what I remember doing when I tried ALSA a few months 
 ago.  You might need to reboot though so that the card is freed first.

All alsasound does is to save and restore mixer settings, so you don't
have to modify them by hand each time you reboot. 

There are a number of problems with dmix in alsa, it's one of the reasons
why people keep inventing stuff like pulseaudio to work around these
issues, when they should be fixing the problem itself, which is in alsa. I
for one, use the ca0106 driver for an audigy card. dmix here works ok...
until you play a 5.1 stream. When the surround is enabled then dmix doesn't
work, and I can't play anything else. When I am in regular stereo mode I
can play as many streams as I want without a problem.

This is well known, reported, and it has hit a lot of people. But
unfortunately, there's no fix yet.

@Yoav Luft, I don't know if this is the same problem, maybe it doesn't
relate at all. You should start by checking that there's no pulseaudio or
something like that monopolizing the alsa output, because maybe the problem
is not alsa itself. But, if alsa is running alone, I'd start by checking
the alsa bug tracker and see if there's someone that has the same card/uses
the same driver and has the same problem.

-- 
Jesús Guerrero



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Jesús Guerrero
On Fri, 04 Dec 2009 04:44:50 +0200, Nikos Chantziaras rea...@arcor.de
wrote:
 On 12/04/2009 03:12 AM, walt wrote:
 Most people don't have any need for more than one application to use
 the sound card at the same time.
 
 I was under the impression that it's quite the opposite.  For example I 
 would still like to hear my MSN messenger go *ping* when someone talks 
 to me while I'm listening to some mp3 and/or am playing a game.

Definitely, *most* do need support for software mixing. I am not on the
boat of notifications or system sounds, but most users are, and all the
major desktops do enable sound notifications by default, and all the major
IM programs do as well. 

I like austerity so I don't use these little things, but even for me this
is a must. I might have many sound tracks playing at a given moment while I
practice with my guitar. Heck, even for youtube this is a must, because the
plugin likes to trap the sound card, and you can't even listen to another
video if you have another tab with youtube on it, even if the video in that
tab is not playing nor even paused.

So, yes. Definitely, 99% of the users need software mixing.

However, it is not true that you need pulse for that. That's what the dmix
alsa plugin is for. The problem is not that alsa can't do it. The problem
is that alsa is buggy as hell and should really be fixed. Or, it should be
simplified to provide only the basic functionality, rip out all the crap
and do it in user land, with either pulse, jack or whatever. The problem is
that there are many layers like alsa and pulse that don't have a clear
delimitation, they overlap functionality, duplicate code and bloat the
system making it prone to bugs and stuff like this. The sound system in
linux is in a pitiful state right now :P
-- 
Jesús Guerrero



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Jesús Guerrero
On Fri, 04 Dec 2009 23:47:18 +0200, App Des app4...@gmail.com wrote:
 On Fri, 2009-12-04 at 00:36 +0200, Nikos Chantziaras wrote:
 On 12/03/2009 11:23 PM, Yoav Luft wrote:
  Hi,
  On my dell Vostro 1520, with intel hda ICH9 82801I sound card
  (xSTAC92HD71B3, according to /proc/asound/card0/codec), only one
  application can access the sound card at a time. This probably means
  that applications access the hardware, and not some software mixer. I
  tried to follow information in the alsa wiki
 
(http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_dmix)
  for setting manually dmix, but couldn't configure anything working. I
  could find any good documentation (and I don't have plenty of time to
  dig in it, it's the middle of the semester). Does anyone can help on
  the topic?
 
 I think all you need to do is to put the alsasound service in your 
 default runlevel.
 
rc-update add alsasound default
 
 At least that's what I remember doing when I tried ALSA a few months 
 ago.  You might need to reboot though so that the card is freed first.
 
 
 
 I think it is best to add it to the boot runlevel intead of the
 default.

It really doesn't make any difference, unless you have one init script in
the boot level that plays an mp3 file or something ;)

As said on my other mail in this thread, all alsasound does is to set up
the mixer settings (volumes and such), so, as long as it's started before
you want to hear a sound then it's fine. It doesn't really need to be on
the boot level, default is fine. But, in any case, this doesn't effect the
capability to do soft mixing at all. The problem is elsewhere.
-- 
Jesús Guerrero



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Jesús Guerrero
On Sat, 5 Dec 2009 17:51:35 +0200, Yoav Luft yoav.l...@gmail.com wrote:
 hmmm. I've managed to focus the problem: Some programs try to access
 to sound device called hw:0,0 and there for do not allow it to be
 shared. MPD was one of them, and when I changed the setting in
 mpd.conf to using default it works. The flash player, though, still
 tries to access the hardware directly. I'm not sure how to reconfigure
 it. I'm using the adobe player.
 Can anyone think of away of making all programs use default sound
 output rather than hw:0,0?
 Should I report that as a bug to the mpd package maintainer, that the
 default setting try to access the sound device directly?

Couple of questions: did you try removing whatever customizations you have
done in ~/.asoundrc? If so, try to move that file elsewhere and see.

Do you have more than one sound chip? If you have an embedded sound chip
in your motherboard that you are not using for anything try disabling it in
your BIOS setup.

-- 
Jesús Guerrero



[gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Nikos Chantziaras
You didn't mention whether you tried running the alsasound service in 
order to get dmix.  If enabled, it doesn't matter what sound device the 
apps want to open.


On 12/05/2009 05:51 PM, Yoav Luft wrote:

hmmm. I've managed to focus the problem: Some programs try to access
to sound device called hw:0,0 and there for do not allow it to be
shared. MPD was one of them, and when I changed the setting in
mpd.conf to using default it works. The flash player, though, still
tries to access the hardware directly. I'm not sure how to reconfigure
it. I'm using the adobe player.
Can anyone think of away of making all programs use default sound
output rather than hw:0,0?
Should I report that as a bug to the mpd package maintainer, that the
default setting try to access the sound device directly?

On Sat, Dec 5, 2009 at 6:12 AM, Joshua Murphypoiso...@gmail.com  wrote:

On Fri, Dec 4, 2009 at 4:43 PM, waltw41...@gmail.com  wrote:

On 12/03/2009 09:08 PM, Joshua Murphy wrote:
...


Lately, I've had zero issues with alsa pretty much configuring itself
properly, given I'm using the in kernel alsa drivers for my systems...
and it hasn't required any manual configuration of dmix or similar to
function properly. Last time I used a separate sound daemon (aside
from a short stent with Ubuntu on my netbook that, I think, had me
using pulseaudio), I was running esound to manage audio from a
headless box over my network... and ESD was playing nicely with other
straight alsa apps on the same box...


I discovered a few weeks ago that I could completely delete all traces
of arts, pulse, *and* esd, and still I can listen to a podcast from
npr.org with firefox and play an mp3 using audacious at the same time.
(Which drives me totally nuts, BTW, and I did it only as a test.)

As you say, alsa seems to DTRT by itself these days.  The only thing
I'm not sure about is whether the gnome-panel volume/mixer applet is
now doing what esound used to do.

If you still have esound installed you can try it yourself.  Just
remove the arts, esd, and pulse USE flags first, then remove any/all
of those packages from the machine and revdep-rebuild.  It's amazing
how many packages are linked against esound and AFAICT they no longer
need to be.  (This applies to gnome, of course.)

OTOH, I haven't tested every sound-related app on my machine, so I
might be missing some important exceptions.


All Gnome's volume/mixer applet does, AFAIK, is the same as alsamixer,
on a less cli/ncurses interface... just volume control for the
channels the card tells the driver to tell the alsa subsystem it has
;) ... it doesn't have anything more, really, to do with the actual
'mixing' than that, and it works just as well without it, as evidenced
by my netbook with ratpoison, no arts, esd, pulseaudio, etc...
listening to a radio stream on one aterm that's running mplayer
(outputting to bare alsa) and getting prompt and proper alerts from
Skype at the same time.

'Course, all the anecdotal evidence in the world won't make the
problem the OP is seeing.

--
Poison [BLX]
Joshua M. Murphy











Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread Neil Bothwick
On Sat, 05 Dec 2009 08:12:01 -0600, Dale wrote:

 That works too and I do use it sometimes.  It is a must when in a plain 
 console tho.  Of course some would argue for  | more too.  ;-) 

less is more, most is better :)


-- 
Neil Bothwick

Mac screen message: Like, dude, something went wrong.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Neil Bothwick
On Sat, 05 Dec 2009 08:10:15 -0600, Dale wrote:

 Good catch Volker.  I didn't notice that part.  He needs to become very 
 familiar with the -1 option but even that is not good in every case.
 If it is a package that needs to be in world, then that option
 shouldn't be used either otherwise a --depclean would remove it. 

He's updating, so packages that need to be in world are already there.


-- 
Neil Bothwick

I don't have any solution, but I certainly admire the problem.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Philip Webb
091205 Volker Armin Hemmann wrote:
 On Samstag 05 Dezember 2009, Philip Webb wrote:
 Also, I never do a bald 'emerge world'. I look thro' the output of
 'eix-sync', write -- with a pencil+paper -- a list of installed pkgs which
 have changed, run 'emerge -Dup world' to see what order of emerging is
 recommended, then individually 'emerge -pv pkg'  -- if all looks well
 -- 'emerge pkg'. Yes, it takes a bit longer for my weekly update session
 (tomorrow Sat), but I don't risk the nightmare of reducing my system to
 chaos with all the extra frantic labor which would result.
 which f*cks up world and is a very bad idea.
 Really, emerging every single package?
 'world' is useless for you and cleaning unused deps a nightmare.

Please read what I said  hopefully think briefly before responding.
If the pkg is already in 'world', it's 'emerge pkg';
if not -- the more frequent case -- , it's 'emerge -1 pkg'.
That keeps everything in order (yes, you have to watch what you do).

 The easy way to avoid problems are BINPKGs.
 Use it and a downgrade in case of problems only takes seconds.

Yes, I do have 'FEATURES=buildsyspkg' in 'make.conf', of course,
but I've never needed to make use of those emergency files.

My general point is that Gentoo is about managing your own system
rather than relying on someone out there to do it for you;
IMO binary distros are closer to using M$ or Apple than they are to Gentoo
 relying on 'emerge world' is closer to binary distros than to true Gentoo.
'world' is a less important part of Gentoo than many users believe:
IIRC it was imitated from FreeBSD by Gentoo's founder in the early days.
My recommendation is to put a bit more time into regular updates
 thereby reduce the chance that you'll need to fix a major breakdown;
also as said, if you want to do real testing, use a dedicated system
on another partition or (safest) another machine altogether.

Otherwise, thanks for the thoughtful comments by others.

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




Re: [gentoo-user] X fails after new install

2009-12-05 Thread Walter Dnes
On Fri, Dec 04, 2009 at 06:36:25PM -0500, dhk wrote

 I started hald and rebuilt the drivers:  startx still fails.

  I've hard-masked hal and dbus (and pam) in /etc/portage/package.mask
and X runs OK.

  From your messages, I assume you've got some ATI card.  What exactly
is it?  As root, can you run...  lspci -v  xyz.txt, and find the
section in xyz.txt relating to your video card?  If your system doesn't
have lspci, emerge pciutils.  It's been my experience with ATI that
you may find 2 cards listed, so look carefully.  Here's what my Dell
D530 shows...

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express 
Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Device 020d
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fdf0 (32-bit, non-prefetchable) [size=512K]
I/O ports at ff00 [size=8]
Memory at d000 (32-bit, prefetchable) [size=256M]
Memory at fdc0 (32-bit, non-prefetchable) [size=1M]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Count=1/1 
Enable-
Capabilities: [d0] Power Management version 2

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Yoav Luft
alsasound is on boot runlevel, so it's running. Still, some apps, like
flash movies in firefox, don't behave nicely.

On Sat, Dec 5, 2009 at 7:15 PM, Nikos Chantziaras rea...@arcor.de wrote:
 You didn't mention whether you tried running the alsasound service in order
 to get dmix.  If enabled, it doesn't matter what sound device the apps want
 to open.

 On 12/05/2009 05:51 PM, Yoav Luft wrote:

 hmmm. I've managed to focus the problem: Some programs try to access
 to sound device called hw:0,0 and there for do not allow it to be
 shared. MPD was one of them, and when I changed the setting in
 mpd.conf to using default it works. The flash player, though, still
 tries to access the hardware directly. I'm not sure how to reconfigure
 it. I'm using the adobe player.
 Can anyone think of away of making all programs use default sound
 output rather than hw:0,0?
 Should I report that as a bug to the mpd package maintainer, that the
 default setting try to access the sound device directly?

 On Sat, Dec 5, 2009 at 6:12 AM, Joshua Murphypoiso...@gmail.com  wrote:

 On Fri, Dec 4, 2009 at 4:43 PM, waltw41...@gmail.com  wrote:

 On 12/03/2009 09:08 PM, Joshua Murphy wrote:
 ...

 Lately, I've had zero issues with alsa pretty much configuring itself
 properly, given I'm using the in kernel alsa drivers for my systems...
 and it hasn't required any manual configuration of dmix or similar to
 function properly. Last time I used a separate sound daemon (aside
 from a short stent with Ubuntu on my netbook that, I think, had me
 using pulseaudio), I was running esound to manage audio from a
 headless box over my network... and ESD was playing nicely with other
 straight alsa apps on the same box...

 I discovered a few weeks ago that I could completely delete all traces
 of arts, pulse, *and* esd, and still I can listen to a podcast from
 npr.org with firefox and play an mp3 using audacious at the same time.
 (Which drives me totally nuts, BTW, and I did it only as a test.)

 As you say, alsa seems to DTRT by itself these days.  The only thing
 I'm not sure about is whether the gnome-panel volume/mixer applet is
 now doing what esound used to do.

 If you still have esound installed you can try it yourself.  Just
 remove the arts, esd, and pulse USE flags first, then remove any/all
 of those packages from the machine and revdep-rebuild.  It's amazing
 how many packages are linked against esound and AFAICT they no longer
 need to be.  (This applies to gnome, of course.)

 OTOH, I haven't tested every sound-related app on my machine, so I
 might be missing some important exceptions.

 All Gnome's volume/mixer applet does, AFAIK, is the same as alsamixer,
 on a less cli/ncurses interface... just volume control for the
 channels the card tells the driver to tell the alsa subsystem it has
 ;) ... it doesn't have anything more, really, to do with the actual
 'mixing' than that, and it works just as well without it, as evidenced
 by my netbook with ratpoison, no arts, esd, pulseaudio, etc...
 listening to a radio stream on one aterm that's running mplayer
 (outputting to bare alsa) and getting prompt and proper alerts from
 Skype at the same time.

 'Course, all the anecdotal evidence in the world won't make the
 problem the OP is seeing.

 --
 Poison [BLX]
 Joshua M. Murphy











Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Volker Armin Hemmann
On Samstag 05 Dezember 2009, Philip Webb wrote:
 091205 Volker Armin Hemmann wrote:
  On Samstag 05 Dezember 2009, Philip Webb wrote:
  Also, I never do a bald 'emerge world'. I look thro' the output of
  'eix-sync', write -- with a pencil+paper -- a list of installed pkgs
  which have changed, run 'emerge -Dup world' to see what order of
  emerging is recommended, then individually 'emerge -pv pkg'  -- if
  all looks well -- 'emerge pkg'. Yes, it takes a bit longer for my
  weekly update session (tomorrow Sat), but I don't risk the nightmare of
  reducing my system to chaos with all the extra frantic labor which would
  result.
 
  which f*cks up world and is a very bad idea.
  Really, emerging every single package?
  'world' is useless for you and cleaning unused deps a nightmare.
 
 Please read what I said  hopefully think briefly before responding.
 If the pkg is already in 'world', it's 'emerge pkg';
 if not -- the more frequent case -- , it's 'emerge -1 pkg'.
 That keeps everything in order (yes, you have to watch what you do).

no, it isn't.

you are adding deps to world file. Deps aren't there until you emerge them 
manually.

Look up how world works.

 Yes, I do have 'FEATURES=buildsyspkg' in 'make.conf', of course,
 but I've never needed to make use of those emergency files.

buildsyspkg is not enough.

 
 My general point is that Gentoo is about managing your own system
 rather than relying on someone out there to do it for you;

there are smart ways to do so and there are stupid ways.


 IMO binary distros are closer to using M$ or Apple than they are to Gentoo
  relying on 'emerge world' is closer to binary distros than to true
  Gentoo. 'world' is a less important part of Gentoo than many users
  believe
wrong in all counts. Gentoo is about 'giving good tools to get the desired 
result'. You are not using the tools. Instead you are working against the 
tools and make your life and the work of the tools a lot harder.

And world is important. world is the difference between 'installed manually' 
and 'just a dependency'. What you are doing fucks this up. Result:
portage can not figure which package was installed because you want it and 
which one is just a dependency that can be removed by depclean.


  : IIRC it was imitated from FreeBSD by Gentoo's founder in the
  early days. My recommendation is to put a bit more time into regular
  updates

no, your advise is to do something stupid that results in a lot more work for 
no (!) reward. You gain nothing doing it your way. You just screw up your 
system.

  thereby reduce the chance that you'll need to fix a major breakdown;

no.
You don't reduce anything. In fact, your way increases the chances of an epic 
fuckup.

I hope nobody is following your advise.



[gentoo-user] kde 4.3.4 crashing after login

2009-12-05 Thread Johannes Kimmel

Hi,

after yesterday's update kde won't work anymore. After login I get a 
message, that plasma-desktop got an segfault.
I tried to move the .kde folders somewhere else to start from a clean 
configuration, but it won't help. Starting kde as root (startx - 
startkde) works somehow. I'm little out of ideas now.


Here's what I get if I start start plasma-desktop manually again:

$ DISPLAY=:0.0 plasma-desktop
QDBusObjectPath: invalid path 
QLayout: Attempting to add QLayout  to QWidget , which already has a 
layout
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found 
while parsing introspection

QGraphicsLinearLayout::removeAt: invalid index 0
Unrecognized character: /
Unrecognized character: /
ERROR: syntax error
QGraphicsLinearLayout::removeAt: invalid index 0
Object::connect: No such signal 
SystemTray::Manager::jobStateChanged(SystemTray::Job*)

KCrash: Application 'plasma-desktop' crashing...
sock_file=/home/lea/.kde4/socket-kimmelbaer/kdeinit4__0
QDBusObjectPath: invalid path 
QLayout: Attempting to add QLayout  to QWidget , which already has a 
layout
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found 
while parsing introspection

QGraphicsLinearLayout::removeAt: invalid index 0
Unrecognized character: /
Unrecognized character: /
ERROR: syntax error
QGraphicsLinearLayout::removeAt: invalid index 0
Object::connect: No such signal 
SystemTray::Manager::jobStateChanged(SystemTray::Job*)


If you need more information please ask, as I want to fix this as soon 
as possible.






emerge --info:


Portage 2.1.7.10 (default/linux/amd64/10.0/desktop, gcc-4.4.2, 
glibc-2.11-r1, 2.6.32-gentoo x86_64)

=
System uname: 
Linux-2.6.32-gentoo-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.0.1

Timestamp of tree: Sat, 05 Dec 2009 21:45:01 +
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p35
dev-lang/python: 2.6.4, 3.1.1-r1
dev-util/ccache: 2.4-r8
dev-util/cmake:  2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.3
sys-apps/sandbox:2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ABI=amd64
ACCEPT_KEYWORDS=amd64 x86 ~amd64 ~x86
ACCEPT_LICENSE=* -...@eula
ACCEPT_PROPERTIES=*
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci
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
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon 
authn_dbm authn_default authn_file authz_dbm authz_default 
authz_groupfile authz_host authz_owner authz_user autoindex cache dav 
dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache 
filter headers include info log_config logio mem_cache mime mime_magic 
negotiation rewrite setenvif speling status unique_id userdir usertrack 
vhost_alias

ARCH=amd64
ASFLAGS_x86=--32
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CCACHE_DIR=/var/tmp/ccache
CCACHE_SIZE=2150M
CDEFINE_amd64=__x86_64__
CDEFINE_x86=__i386__
CFLAGS=-march=native -mtune=native -O2 -pipe -ftracer
CFLAGS_x86=-m32
CHOST=x86_64-pc-linux-gnu
CHOST_amd64=x86_64-pc-linux-gnu
CHOST_x86=i686-pc-linux-gnu
CLEAN_DELAY=5
COLLISION_IGNORE=/lib/modules
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c

CVS_RSH=ssh
CXXFLAGS=-march=native -mtune=native -O2 -pipe -ftracer
DEFAULT_ABI=amd64
DISTDIR=/usr/portage/distfiles
EDITOR=/bin/nano
ELIBC=glibc
EMERGE_DEFAULT_OPTS=-av -j2 --load-average=4 --keep-going
EMERGE_WARNING_DELAY=10
FEATURES=assume-digests ccache distlocks fixpackages news 
parallel-fetch protect-owned sandbox sfperms splitdebug strict 
unmerge-logs unmerge-orphans userfetch
FETCHCOMMAND=/usr/bin/wget -t 5 -T 60 --passive-ftp -O 
${DISTDIR}/${FILE} ${URI}

GDK_USE_XFT=1
GENTOO_MIRRORS=ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 

HOME=/root
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.2/info
INPUT_DEVICES=synaptics keyboard mouse
KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb 
ncurses text


[gentoo-user] adobe air working for anyone?

2009-12-05 Thread Grant
Has anyone gotten adobe air working?  I've got an .air file
(PandoraOne app) and I've installed adobe air from the ikelos overlay,
but I can't figure out how to run the app.

- Grant



Re: [gentoo-user] kde 4.3.4 crashing after login

2009-12-05 Thread Kenneth Prugh
On Sun, 06 Dec 2009 00:26:32 +0100
Johannes Kimmel johannes.kim...@gmx.de wrote:

There's a discussion on the forum about this issue currently at
https://forums.gentoo.org/viewtopic.php?p=6085003

Reports that downgrading hal to 0.5.13-r2 fixes the issue (it did
for me).


signature.asc
Description: PGP signature


[gentoo-user] Looking for x86 or AMD64 disassembler

2009-12-05 Thread David Relson
G'day,

I'm looking for a disassembler so that I can see the underlying
assembly code in a variety of files, for example elf executables, DOS
executables, binary files (such as the master boot record (MBR)), etc.

Portage doesn't seem to include any, leastways eix hasn't revealed any
to me.

Searching google for disassemblers, I find a variety exist, but I
haven't yet encountered any with ebuilds.  If needs be, I can build
direct from source or create a wrapper ebuild for the build.

What do you all recommend for disassemblers?   Are there any good ones
for Gentoo?

Regards,

David



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Dale

Neil Bothwick wrote:

On Sat, 05 Dec 2009 08:10:15 -0600, Dale wrote:

  
Good catch Volker.  I didn't notice that part.  He needs to become very 
familiar with the -1 option but even that is not good in every case.

If it is a package that needs to be in world, then that option
shouldn't be used either otherwise a --depclean would remove it. 



He's updating, so packages that need to be in world are already there.

  


If he is using the command he typed in, his world file is going to be 
huge.  Read what he wrote again.  He is doing the updates individually 
without a -u or a -1 or anything else.  That means every time he 
updates, that package goes into the world file.


I'm hoping he typed that in wrong.

Dale

:-)  :-) 



Re: [gentoo-user] Looking for x86 or AMD64 disassembler

2009-12-05 Thread Brandon Vargo
On Sat, 2009-12-05 at 19:33 -0500, David Relson wrote:
 I'm looking for a disassembler so that I can see the underlying
 assembly code in a variety of files, for example elf executables, DOS
 executables, binary files (such as the master boot record (MBR)), etc.
[snip]
 What do you all recommend for disassemblers?   Are there any good ones
 for Gentoo?

I've used objdump (part of binutils) in the past for looking at ELF
files; look at the -d option for disassembly. A quick test shows that it
seems to work for exe files too, but I've never used it that way as I
don't use Windows much, so I don't know for sure.

For the MBR, I don't know of any disassemblers per-se, but hex editors
work well depending on what you are doing. hexdump (part of
sys-apps/util-linux) works well. You might want to make an image of the
MBR first with dd, depending on which tool you use, as some do not
support reading from the disk directly.

Regards,

Brandon Vargo




[gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread walt

On 12/05/2009 01:36 PM, Yoav Luft wrote:

alsasound is on boot runlevel, so it's running. Still, some apps, like
flash movies in firefox, don't behave nicely.


Can you give us a URL for a flash movie so I can test?






Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long

2009-12-05 Thread daid kahl
 I have a project which requires normalizing names, and by that, I mean
 converting to lower case etc, whatever eliminates redundancies.  I
 know Unicode has a different normalize meaning, but for my purposes,
 that has already been done.  Maybe I should call it standardization or
 make up a new cromulent word.

 By which I really mean I am confused by a lot of advice I have gotten
 from USAians who get by with the good old 7 bit ASCII character set on
 a daily basis, whether it be written in Unicode or not.

 Yes, I am something of an ignorant American.  I know some Japanese,
 French, and Spanish, but not the details of everyday usage.  I'd like
 to learn.

Your project sounds interesting, but I have little to contribute on
the technical side.

I'm curious about your handling of Japanese, just because I'm living
outside Tokyo these days.  My grasp on Japanese is basically rubbish,
but I can at least claim to know a thing or two.

To keep this in line with your stated application, I actually wonder
how you handle Tokyo.  For pronunciation purposes, if you put it in
hiragana and literally romanized it, you'd probably get Toukyou.  In
Japanese a double-vowel just extends the sound and isn't a dipthong
(and usually o is extended by u and only rarely another o).  For a lot
of cases on the double 'oo' they'll Romanize the second 'o' as an 'h',
since other wise someone will pronounce it like (a) fool.  So, take
a family name Ohshiro.  Probably it should be Romanized Oohshiro,
but then people would say something like seeing fireworks.

Tokyo is Romanized this way, according to one culture book I read,
because everyone knows both the o's are extended!  I'm sure all these
people also know that kyo is a single syllable, too!  So it's not
To-key-oh it's just To-kyo where both syllables are extended from
the double oo.

Osaka is also an extended O at the beginning as I recall, and Kyoto is
the same case as Tokyo (incidentally, the Chinese characters for those
two cities are the same and just reversed in order!).

Again to speak to the original application, I don't know who types
Tookyoo or Tohkyoh or Toukyou.  Probably no one because it's generally
Romanized as we all know it.  But for typing purposes, Japanese type
the pronunciation of words via hiragana and then a little list pops up
and they select the word they want.  So in this sense, they are typing
Toukyou into the keyboard...just it's in hiragana.

If you had any questions about Japanese things, I could ask a
colleague.  They are all happy to answer questions.

Regards,
daid



Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread daid kahl
 I'm not 100% sure but I think eix-test-obsolete will find things like this.
  It will also scan the /etc/portage/package.* files and a few other things
 as well.

 Be forewarned, the output can be pretty . . . . large.  lol  It mostly
 depends on how out of date things are.  Mine is usually huge.  Thanks
 goodness for Konsole and being able to scroll up.


You put no-limit on the scroll-back lines, right?

Sadly I switched away from KDE and so I'm using Terminal now and not
Konsole, and it doesn't seem to have the 'no-limit' scroll-back
option, so I think I just hit the 9 key a bunch and said ok.

Of course, I do like that Terminal has actual borderless mode, and
that if I go fullscreen I don't get a thin border drawn around the
screen.  Yeah...I'm a whiner...but if I say full screen, I mean full
screen!!

~daid



Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread daid kahl
 On 12/4/2009 10:21 PM, Dale wrote:

 Thanks goodness for Konsole and being able to scroll up.

 Where I come from, we use  | less :p

Meh, just  into /tmp and use anything you want to view it if you
really want to be hardcore.

Less is really crappy for emerges at console-login.  It requires you
to hold down the page-down button pretty much (unless there is some
option I don't know about?  Does captial G do it like in vi?)  I also
don't like that less makes my colors disappear.  Sure, it's not really
important, but I mostly say this so someone can tell me I'm wrong and
how to fix it.

This matters sometimes if I'm doing work at console to unbreak my
system and I'm getting an emerge error (not the colors, but the lack
of auto-refresh or tailing).

Regards,
daid



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Philip Webb
091205 Dale wrote:
 Neil Bothwick wrote:
 He's updating, so packages that need to be in world are already there.
 If he is using the command he typed in, his world file is going to be huge.
 He is doing the updates individually without a -u or a -1 or anything else.
 That means every time he updates, that package goes into the world file.
 I'm hoping he typed that in wrong.

I could take a whole day typing in exactly what I do,
but I assumed the otherwise intelligent subscribers to the list
would realise that I add '-1' to those pkgs which are not in 'world'.
My 'world' file contains  112  entries, incl  28  'sys' +  35  'kde'.

Really, does something like that need spelling out (tries to smile) ?

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




Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread daid kahl
 @Yoav Luft, I don't know if this is the same problem, maybe it doesn't
 relate at all. You should start by checking that there's no pulseaudio or
 something like that monopolizing the alsa output, because maybe the problem
 is not alsa itself. But, if alsa is running alone, I'd start by checking
 the alsa bug tracker and see if there's someone that has the same card/uses
 the same driver and has the same problem.

Just a suggestion on how to test easily.  Boot into console-login and
run mplayer in one ty and mpg321 in another.

I'm sure there are a million variants on ways to do this, but I assume
most have mplayer installed, and mpg321 is small enough for a quick
install, and it uses different libraries I believe, so it should
access separately.

Apparently I can't even follow my own advice, because mplayer is
disallowing mpg321 to access my soundcard!  Well, I guess that
explains my youtube issues!  Of course mpg321 isn't allowed access if
youtube is playing either.

I guess I should fix my own system

Regards,
daid



Re: [gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread daid kahl

 alsasound is on boot runlevel, so it's running. Still, some apps, like
 flash movies in firefox, don't behave nicely.

 Can you give us a URL for a flash movie so I can test?


Since I'm having trouble too, here is a youtube video.

http://www.youtube.com/watch?v=KoAbMfg9_Uk

Maybe you'll like the track.

:P

~daid



Re: [gentoo-user] adobe air working for anyone?

2009-12-05 Thread Mike Mazur
Hi,

On Sun, Dec 6, 2009 at 08:26, Grant emailgr...@gmail.com wrote:
 Has anyone gotten adobe air working?  I've got an .air file
 (PandoraOne app) and I've installed adobe air from the ikelos overlay,
 but I can't figure out how to run the app.

I installed the Adobe AIR SDK downloaded directly from Adobe. I put it
in /opt/AIR-SDK. I then created /opt/AIR-apps where I unzip the .air
files for my apps (.air is just a zip file).

I then run my app with a command like this:

$ /opt/AIR-SDK/bin/adl
/opt/AIR-apps/app_name/META-INF/AIR/application.xml
/opt/AIR-apps/app_name/

You might need to adjust that command line according to where AIR is
installed from the ikelos overlay.

HTH,
Mike



Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long

2009-12-05 Thread felix
On Sun, Dec 06, 2009 at 10:58:59AM +0900, daid kahl wrote:

 I'm curious about your handling of Japanese, just because I'm living
 outside Tokyo these days.  My grasp on Japanese is basically rubbish,
 but I can at least claim to know a thing or two.

Our handling is simple -- we don't yet.  I don't know how to handle
things like that, or the previous example of Copenhagen in different
languages.  Look at Naples -- that's not what Italins call it.  Venice
is really bad -- no idea how English got it so mangled.  Speaking of
Japanese, their word for Mexico (last time I checked) was taken from
the English MEKS-ih-ko and comes out as may-kee-shoo-ko rather than
the more more natural may-hee-ko if they had taken it straight from
Spanish.

As long a things stay in Unicode in the native language, we will do
alright.  It's covering accepted mistakes (I can't think of a better
term) that is the problem -- thus my worries I'd have to include all
the accented and unaccented versions.

I learned enough Japanese to travel and hold bare bones questions.

As for romanization of Japanese, how do you even know which system to
use?  Just as Peking is now Beijing, I have seen Tokyo with bars over
the Os and of course without.  That is the same problem as Rome and
Roma.

As for ToKyo being two syllables ... I think it depends on how one
defines syllables.  Ak a Japanese to pronounce three (san) slowly, and
it wil be two syllables, sa-n, saw uhn.  Ask for three hundred which
comes out as sambyaku because the n syllable changes sound when it
sounds better, and they will make quite a few syllables out of it,
such as (I am guessing now) saw-umm-bee-yaw-koo.  To write Tokyo in
the proper furigana is probably something like toh-o-kee-yoh-o.

 Kyoto is the same case as Tokyo (incidentally, the Chinese
 characters for those two cities are the same and just reversed in
 order!).

Nope -- Tokyo is ??, east capital.  Kyoto is ??, capital city.  Kyo
is the same, to is different.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long

2009-12-05 Thread daid kahl
 Our handling is simple -- we don't yet.  I don't know how to handle
 things like that, or the previous example of Copenhagen in different
 languages.  Look at Naples -- that's not what Italins call it.  Venice
 is really bad -- no idea how English got it so mangled.  Speaking of
 Japanese, their word for Mexico (last time I checked) was taken from
 the English MEKS-ih-ko and comes out as may-kee-shoo-ko rather than
 the more more natural may-hee-ko if they had taken it straight from
 Spanish.

Yeah, you get all kinds of crazy.  For a long time I couldn't
understand why 'computer' is in katakana (ie: taken from English) and
'calculus' isn't.  As it turns out, the Japanese invented calculus
independent of Newton and Leibniz.

 As for ToKyo being two syllables ... I think it depends on how one
 defines syllables.  Ak a Japanese to pronounce three (san) slowly, and
 it wil be two syllables, sa-n, saw uhn.  Ask for three hundred which
 comes out as sambyaku because the n syllable changes sound when it
 sounds better, and they will make quite a few syllables out of it,
 such as (I am guessing now) saw-umm-bee-yaw-koo.  To write Tokyo in
 the proper furigana is probably something like toh-o-kee-yoh-o.

Well, I don't think n is really a syllable.  It's a sound, and it's
the only part of the syllabary in Japanese that doesn't have a vowel.
I'm not really convinced this is a syllable in reality.

The proper way to write Tokyo for syllabary would be to-u-kyo-u I
think, but I'm not certain.  But really that's misleading because
you're *not* supposed to pronounce the sounds twice, you just extend
them, so they aren't really syllables either, they are just modifiers.


 Kyoto is the same case as Tokyo (incidentally, the Chinese
 characters for those two cities are the same and just reversed in
 order!).

 Nope -- Tokyo is 東京, east capital.  Kyoto is 京都, capital city.  Kyo
 is the same, to is different.

Huh.  I wonder how the hell I came up with that?  I'm convinced I did
not decide that on my own but that someone told me.  And they told me
I'm sure because I remember the story that went with it.  Very
strange.  But you're absolutely right.

Regards,
daid



Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long

2009-12-05 Thread daid kahl
 such as (I am guessing now) saw-umm-bee-yaw-koo.  To write Tokyo in
 the proper furigana is probably something like toh-o-kee-yoh-o.

Oh, I should mention that this is in writing correct.  But the yo is a
subscript, so it's also a modifier, so the ki part isn't pronounced,
it's modified into a different sound...

Good times.

~daid



Re: [gentoo-user] Looking for x86 or AMD64 disassembler

2009-12-05 Thread David Relson
On Sat, 05 Dec 2009 18:29:50 -0700
Brandon Vargo wrote:

 On Sat, 2009-12-05 at 19:33 -0500, David Relson wrote:
  I'm looking for a disassembler so that I can see the underlying
  assembly code in a variety of files, for example elf executables,
  DOS executables, binary files (such as the master boot record
  (MBR)), etc.
 [snip]
  What do you all recommend for disassemblers?   Are there any good
  ones for Gentoo?
 
 I've used objdump (part of binutils) in the past for looking at ELF
 files; look at the -d option for disassembly. A quick test shows that
 it seems to work for exe files too, but I've never used it that way
 as I don't use Windows much, so I don't know for sure.
 
 For the MBR, I don't know of any disassemblers per-se, but hex editors
 work well depending on what you are doing. hexdump (part of
 sys-apps/util-linux) works well. You might want to make an image of
 the MBR first with dd, depending on which tool you use, as some do not
 support reading from the disk directly.
 
 Regards,
 
 Brandon Vargo
 

Hi Brandon,

Indeed, hexdump mbr would show me the bytes but I want to see the code
as instructions.

objdump works fine for ELF.  Being greedy, the ideal tool would handle
all 3 formats.

The immediate need is pure binary (like the MBR).  A couple of weeks
ago I had to resort to an old DOS disassembler for a DOS executable.

I'd be much happier with a straight Linux solution.

Regards,

David



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread daid kahl
 I could take a whole day typing in exactly what I do,
 but I assumed the otherwise intelligent subscribers to the list
 would realise that I add '-1' to those pkgs which are not in 'world'.
 My 'world' file contains  112  entries, incl  28  'sys' +  35  'kde'.

 Really, does something like that need spelling out (tries to smile) ?

It probably doesn't, but since this thread has gotten slightly hot,
I'll only insult myself here.

I forget to add 1 a lot more than I should, and as a result my world
file is probably full of pollution.  This isn't to say I don't clean
it out from time to time, but in theory people are just posting
reminders to be sure you weren't forgetting yourself -- I know I'm
guilty of it sometimes.

On that note, I'd like to ask a question I was going to post or email
about.  Can I comment the world file.  More interestingly, is there a
way to pass portage a comment to stick in world above the package?
This would be really damn useful.

For example, sometimes I'm testing things, and I really do mean to
install a package without oneshot.  But I might be installing a bunch
of things to try to get some third-party dependencies resolved, and
later I don't need all them (or I'd like to know why I put it
there!!).

Thoughts?

Regards,
daid



Re: [gentoo-user] [OT] Need advice from people who use non-ascii all day long

2009-12-05 Thread felix
On Sun, Dec 06, 2009 at 11:45:43AM +0900, daid kahl wrote:
 Well, I don't think n is really a syllable.  It's a sound, and it's
 the only part of the syllabary in Japanese that doesn't have a vowel.
 I'm not really convinced this is a syllable in reality.

It's certainly a syllable in their syllabaries, and their opinion is
all that counts ... it is *their* language ...

 The proper way to write Tokyo for syllabary would be to-u-kyo-u I

No, they don't have kyo in the syllabaries.  The furigana I have seen
say that is ki-yo, two syllables.

Now I may be full of it, as most of what I learned was 30 years ago,
and I never got beyond reading and writing at a third or fourth grade
level.  I imagine Japanese readers of this are snickering at the crazy
foreigners.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread Joshua Murphy
On Sat, Dec 5, 2009 at 9:16 PM, daid kahl daid...@gmail.com wrote:
 On 12/4/2009 10:21 PM, Dale wrote:

 Thanks goodness for Konsole and being able to scroll up.

 Where I come from, we use  | less :p

 Meh, just  into /tmp and use anything you want to view it if you
 really want to be hardcore.

 Less is really crappy for emerges at console-login.  It requires you
 to hold down the page-down button pretty much (unless there is some
 option I don't know about?  Does captial G do it like in vi?)  I also
 don't like that less makes my colors disappear.  Sure, it's not really
 important, but I mostly say this so someone can tell me I'm wrong and
 how to fix it.

In less, pressing F will put it in follow mode, to act like tail.
Not sure how that'd work for monitoring emerges and such on the fly
(never really used that feature, just know of it), but less is, in
general, very handy for sifting through emerge --pretend.

emerge --color y ... will override disabling color when the output
isn't a tty (which is the default because it doesn't know whether
you're piping to something that can handle the color codes or not).

 This matters sometimes if I'm doing work at console to unbreak my
 system and I'm getting an emerge error (not the colors, but the lack
 of auto-refresh or tailing).

Color's sometimes helpful too, since it provides added visual queues
so you can process what you're looking at just a hair faster ;)

 Regards,
 daid

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Re: [OT] Acer Core2Duo only sees 3G of RAM

2009-12-05 Thread Drew
Isn't the memory hole above 3GB present even in the 64bit systems?
Something about the MMIO reservations for the PCI bus taking up the
top gig of the first four Gigs?


-- 
Drew

Nothing in life is to be feared. It is only to be understood.
--Marie Curie



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Alan McKinnon
On Saturday 05 December 2009 21:09:50 Philip Webb wrote:
 Please read what I said  hopefully think briefly before responding.
 If the pkg is already in 'world', it's 'emerge pkg';
 if not -- the more frequent case -- , it's 'emerge -1 pkg'.
 That keeps everything in order (yes, you have to watch what you do).
 

Rather *always* use -1, then you don't have to keep track in your head what is 
and isn't in world. You will likely finish your update session with 
-p --depclean anyway, so anything that should have gone into world can be 
fixed with a quick -n followed by a --depclean for real

Much easier than trying to keep world in your head and avoids world pollution 
when you will inevitably get it wrong, which requires you to examine all 128 
entries in world and hand-edit the file.

Some things in this world humans are exceptionally bad at and computers are 
exceptionally good at. Let portage do what portage does best.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-05 Thread Alan McKinnon
On Saturday 05 December 2009 22:14:48 Volker Armin Hemmann wrote:
 And world is important. world is the difference between 'installed
  manually'  and 'just a dependency'. What you are doing fucks this up.
  Result: portage can not figure which package was installed because you
  want it and which one is just a dependency that can be removed by
  depclean.
 

It also removes portage's ability to manually resolve b blockers
-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: Sound card is only usable by one application at a time

2009-12-05 Thread Nikos Chantziaras
You *might* want to look into OSS4 if your card is supported by it :P 
It will require a rebuild of many packages though (oss -alsa in 
make.conf) and it requires using non-portage packages from an overlay 
and rebuilding your kernel with sound support completely disabled.


For what it's worth, that's what I use for a quite some time now.

On 12/05/2009 11:36 PM, Yoav Luft wrote:

alsasound is on boot runlevel, so it's running. Still, some apps, like
flash movies in firefox, don't behave nicely.

On Sat, Dec 5, 2009 at 7:15 PM, Nikos Chantziarasrea...@arcor.de  wrote:

You didn't mention whether you tried running the alsasound service in order
to get dmix.  If enabled, it doesn't matter what sound device the apps want
to open.





Re: [gentoo-user] kde 4.3.4 crashing after login

2009-12-05 Thread Dirk Heinrichs
Am Sonntag 06 Dezember 2009 01:27:49 schrieb Kenneth Prugh:
 On Sun, 06 Dec 2009 00:26:32 +0100
 Johannes Kimmel johannes.kim...@gmx.de wrote:
 
 There's a discussion on the forum about this issue currently at
 https://forums.gentoo.org/viewtopic.php?p=6085003
 
 Reports that downgrading hal to 0.5.13-r2 fixes the issue (it did
 for me).

Good to know.

Ah, just as I saw this, my sync has finished and paludis reports it would like 
to downgrade hal. So it seems Gentoo devs did already react to the problem.

Bye...

Dirk



Re: [gentoo-user] Re: Baffled by Perl dependancies

2009-12-05 Thread Dale

daid kahl wrote:

I'm not 100% sure but I think eix-test-obsolete will find things like this.
 It will also scan the /etc/portage/package.* files and a few other things
as well.

Be forewarned, the output can be pretty . . . . large.  lol  It mostly
depends on how out of date things are.  Mine is usually huge.  Thanks
goodness for Konsole and being able to scroll up.




You put no-limit on the scroll-back lines, right?
  


Yep, it was set to like 1000 or something but I changed it.  I can 
scroll back to the start of OOo for example.  It does take a while tho.  
lol



Sadly I switched away from KDE and so I'm using Terminal now and not
Konsole, and it doesn't seem to have the 'no-limit' scroll-back
option, so I think I just hit the 9 key a bunch and said ok.

Of course, I do like that Terminal has actual borderless mode, and
that if I go fullscreen I don't get a thin border drawn around the
screen.  Yeah...I'm a whiner...but if I say full screen, I mean full
screen!!

~daid
  


This is why I'm sticking with KDE I guess.  I'm a little upset that they 
are dropping KDE 3 long before KDE 4 is ready and usable for me but 
kde-sunset is working so far.  Bad thing is, if I end up switching, I 
most likely won't switch back.  Sort of reminds me of my ex, when I left 
I was done. 
When I have had enough of something, I've had enough.


Dale

:-)  :-)