Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-03-30 Thread Walter Dnes
On Wed, Mar 28, 2012 at 10:15:19AM -0400, Todd Goodman wrote
 I've been getting the following Ping-ponging of fltk for maybe a
 couple weeks now.
 
 What I mean is that I have x11-libs/fltk-2.0_pre6970-r1:2 installed and
 slotted.
 
 When I emerge -avD --changed-use world it wants to slot install
 x11-libs/fltk-1.3.0-r1
 
 x11-libs/fltk is in world.
 
 However after having both slots installed and emerge --depclean wants to
 remove x11-libs/fltk-1.3.0-r1.
 
 Then the next time I emerge world it wants to put it back, etc etc etc
 
 Is there something screwy with the slotting?

  Yes, there is something screwy with the slotting.  Are you running
dillo test builds or anything else that requires fltk?  There is extreme
brokeness in the numbering/versioning scheme.  Long story...

* in the beginning was fltk-0.x.y.z
* it was superceded by fltk-1.0.x.y.z
* which was superceded by fltk-1.1.x.y.z
* which was superceded by fltk-1.2.x.y.z

* someone came along and did *AN UNOFFICIAL VERSION* with a few
  additional goodies and in a fit of Firefoxity, bumped the major
  version number.  So it became fltk-2.0.x.y.z

* *THE OFFICIAL VERSION* superceded fltk-1.2.x.y.z and fltk-2.0.x.y.z
  with fltk-1.3.x.y.z

  So, yes, fltk-1.3.x.y.z is a newer version than fltk-2.0.x.y.z.
Unfortunately, Gentoo/Portage only knows version numbers, and as far as
it's concerned 2.0  1.3.  Gentoo is not responsible for this garbage.
You have to fix this problem manually by...

unmerge =x11-libs/fltk-2.0_pre6970-r1

  Note that fltk-2.0_pre6970-r1.ebuild contains the comments...

# NOTE: KEYWORDS removed in purpose since everything from gentoo-x86 is
# using
#   FLTK 1.3.0 series from SLOT=1 now
#KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86

  fltk-1.3 will handle what fltk-2.0 handled, unless you have some very
hard-coded software.

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



[gentoo-user] Re: InitRAMFS - boot expert sought

2012-03-30 Thread Nicolas Sebrecht
The 29/03/12, J. Roeleveld wrote:
 
 On Wed, March 28, 2012 12:49 am, Mark Knecht wrote:
 
 snipped
 
  Do nothing. Just read, watch, learn but most important don't do
  updates. Just wait. Patience is a virtue!
 
 I wonder how many threads we'll get with I haven't updated my Gentoo for
 over a year, how do I best do the upgrade? from people following this
 advice?

I think there is a better thing to do. Use an initramfs.

This is not hell! ;-)

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: InitRAMFS - boot expert sought

2012-03-30 Thread J. Roeleveld

On Fri, March 30, 2012 9:23 am, Nicolas Sebrecht wrote:
 The 29/03/12, J. Roeleveld wrote:

 On Wed, March 28, 2012 12:49 am, Mark Knecht wrote:

 snipped

  Do nothing. Just read, watch, learn but most important don't do
  updates. Just wait. Patience is a virtue!

 I wonder how many threads we'll get with I haven't updated my Gentoo
 for
 over a year, how do I best do the upgrade? from people following this
 advice?

 I think there is a better thing to do. Use an initramfs.

 This is not hell! ;-)

I'm not saying it is or isn't.

I just don't understand why not upgrading for a while is given as an
option considering the issues people will encounter when they try
upgrading a Gentoo installation that hasn't been updated in a long time.


-- 
Joost




[gentoo-user] Systemd systemctl : Failed to get D-Bus connection

2012-03-30 Thread Yohan Pereira
Hi,
Wanted to see whats all the fuss about so I tried installing Systemd on 
a 
laptop. following the guide on wiki.gentoo.org [1]. 

But I am having trouble running systemctl to configure the services I want 
started. Heres what I get (both as root and as a normal user).

# systemctl --all --full
Failed to get D-Bus connection: No connection to service manager.

I know Dbus is running for sure.

$ ps ax | grep dbus
 2094 ?Ss 0:09 /usr/bin/dbus-daemon --system
 2803 ?S  0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-
session
 2804 ?Ss 0:06 /usr/bin/dbus-daemon --fork --print-pid 5 --print-
address 7 --session

I tried booting with systemd to see what happens. It starts booting fine up to 
the point where it starts mounting the partitions. It just stops after 
mounting my /home partition. Nothing works at this point apart from a hard 
reboot. My partitioning is simple separate partitions for boot, home, root and 
the portage tree (all ext4). No separate /usr (phew). Also I do not have an 
initramfs.

What am I missing? do I need to modify any of the systemd config files? etc?


Here are the details of some of the packages.
 
sys-fs/udev-182-r2 (gudev hwdb keymap openrc rule_generator -build -debug -doc 
-floppy -introspection -selinux -static-libs)

sys-apps/systemd-43 (acl pam tcpd -audit -cryptsetup -gtk -lzma -plymouth -
selinux)

Thanks.

[1] http://wiki.gentoo.org/wiki/Systemd

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain

Re: [gentoo-user] InitRAMFS - boot expert sought

2012-03-30 Thread David W Noon
On Fri, 30 Mar 2012 07:26:43 +0800, wdk@moriah wrote about Re:
[gentoo-user] InitRAMFS - boot expert sought:

 On 29/03/2012, at 20:01, David W Noon dwn...@ntlworld.com wrote:
[snip]
  At present, the first thing I see when udev starts is a failed
  attempt to run /usr/sbin/alsactl to restore the audio levels on my
  sound card. This occurs before localmount or any other services in
  the sysinit run-level have been started.
[snip]
 that error was what clued me up to genkernels initramfs failing to
 mount /usr - the mount failure wasnt on screen long enough to see ...
 
 error reporting for the initramfs method needs fixing so users can
 faultfind problems more easily.  flashing something on screen for a
 second and immediately pushing it offscreen doesnt count when there
 is lo logging to dmesg etc.

The machine in question is not currently running an initramfs.  This
one reason why the udev developers believe that having /usr physically
separate from / is broken.

No error messages from udev or any of its scripts are logged.  Perhaps
dmesg logging is broken too.

 par for the course - run an initramfs (complexity) means more WILL go
 wrong so ways to fix it for normal users need to be in place..

Yes, it is a chore, debugging an initramfs.
-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


[gentoo-user] Happy 10th birthday (in advance)

2012-03-30 Thread Axel
Hello,

I would like to wish you all a happy birthday, 10 years already since
first release (Gentoo 1.0)! Here is a little thing [1] we made to
celebrate it. Recipe: two layers of Génoise (for each: 6 eggs, 180g
sucre, 180g farine, vanilla sugar), between layers and on top: full
cream with beaten eggs and caramel. Add between the middle layers on
top of the cream: raspberry. ENJOY ;)

[1]: http://imgur.com/iMjLi



Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-03-30 Thread Todd Goodman
* Walter Dnes waltd...@waltdnes.org [120330 02:53]:
[..]
 You have to fix this problem manually by...
 
 unmerge =x11-libs/fltk-2.0_pre6970-r1
 
   Note that fltk-2.0_pre6970-r1.ebuild contains the comments...
 
 # NOTE: KEYWORDS removed in purpose since everything from gentoo-x86 is
 # using
 #   FLTK 1.3.0 series from SLOT=1 now
 #KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86
 
   fltk-1.3 will handle what fltk-2.0 handled, unless you have some very
 hard-coded software.
 
 -- 
 Walter Dnes waltd...@waltdnes.org

Thanks Walter for the description of what the real problem is here.

Todd



Re: [gentoo-user] Happy 10th birthday (in advance)

2012-03-30 Thread Michael Mol
On Fri, Mar 30, 2012 at 9:00 AM, Axel a...@james-b.ch wrote:
 Hello,

 I would like to wish you all a happy birthday, 10 years already since
 first release (Gentoo 1.0)! Here is a little thing [1] we made to
 celebrate it. Recipe: two layers of Génoise (for each: 6 eggs, 180g
 sucre, 180g farine, vanilla sugar), between layers and on top: full
 cream with beaten eggs and caramel. Add between the middle layers on
 top of the cream: raspberry. ENJOY ;)

 [1]: http://imgur.com/iMjLi

Pretty slick.


-- 
:wq



[gentoo-user] Re: AMD hdaudio: why do I have two audio devices and two mixers?

2012-03-30 Thread masterprometheus
walt wrote:

 Fresh gentoo install on new lenovo desktop.  Both linux and win7
 (lenovo installed) tell me that this machine has two audio devices:
 
 00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI BeaverCreek
 HDMI Audio [Radeon HD 6500D and 6400G-6600G series] Subsystem: Lenovo
 Device 3625 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel

That's the HDMI output of your integrated GPU. All AMD graphics, 
including the APU you have, come with integrated HDMI Audio. 

 00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia
 Controller (rev 01) Subsystem: Lenovo Device 3625
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel

This is the one you have to use for laptop audio.

 I spent an entire frustrating day discovering that the reason I
 have no sound is that every app wants to use /dev/mixer when only
 /dev/mixer1 actually works :(
 
 Only some apps (like audacious) will let me choose which mixer to
 use, and those apps work perfectly.

 Anyone else seen this before, I hope?  Got a fix?

I think you have to make the second one the default audio device. 
Possibly by editing the alsa.conf files found in /etc/modprobe.d and 
/usr/share/alsa. This thread may help :
http://www.linuxquestions.org/questions/gentoo-87/set-default-sound-
card-796566/

HTH




Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?

2012-03-30 Thread Todd Goodman
* Dale rdalek1...@gmail.com [120329 17:39]:
[..]
 I already tried making one from scratch and also making the one inside
 the kernel.  Both belly flopped and left me with nothing but errors.  It
 never even tried to leave the init thingy environment.  I think I posted
 them a good long while back but no clue what they were know.  I just
 moved on to what was supposed to be easy.  Yea, right.  :/
 
 My concern is this, if it is this hard for me to get one working, if it
 ever breaks, I'm screwed.  I know myself pretty well, if it breaks and I
 can't figure it out, I'll be looking for a install CD/DVD and fix it on
 a grand scale.  This is how I got to Gentoo.  I couldn't get Mandrake to
 work right and be stable, I switched.
 
 Well, it's supper time here.  Maybe that will help, me at least.  lol
 
 Dale


Do you want to try again to make one from scratch?

If you're not using LVM or RAID for root or /usr and you compile your
filesystem into the kernel then it's very simple and should be about
a five line (tops) init script (and even if those don't hold for you,
it's not that much tougher.)

If you spend the time now to do it yourself I think you'll find you have
the tools and knowledge to track down any problems later.

If you're willing to try again, I'm willing to work with you.

If you can find your hand-rolled initramfs and the errors you were
having we can figure it out.

And for the record.  I hate this whole /usr must be mounted in an
initramfs or on /.  It seems that all these arguments about bluetooth
keyboards and such have it all exactly bass ackwards.  If you have some
flavor of hardware that isn't supported in the base kernel then you
should be creating an initramfs for support.

But I can't argue with people who donate their time getting to work on
what they want to and supporting only what they want to.

And I'm not ready to make and maintain an overlay that doesn't require
this so it's time for me to stop gnashing my teeth and suck it up and get
on with life.

Todd

P.S. - If you don't want to get an hand-rolled initramfs working, it
would be interesting to see what an ls -lr /dev shows for the cases
where everything works for you and where it doesn't.



Re: [gentoo-user] AMD hdaudio: why do I have two audio devices and two mixers?

2012-03-30 Thread Alex Schuster
walt writes:

 00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI BeaverCreek
 HDMI Audio [Radeon HD 6500D and 6400G-6600G series] Subsystem: Lenovo
 Device 3625 Kernel driver in use: snd_hda_intel
   Kernel modules: snd-hda-intel
 
 00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia
 Controller (rev 01) Subsystem: Lenovo Device 3625
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd-hda-intel

Probably those are HDMI and 'normal' device. I had similar problems on my
sister's PC.


 I spent an entire frustrating day discovering that the reason I
 have no sound is that every app wants to use /dev/mixer when only
 /dev/mixer1 actually works :(
 
 Only some apps (like audacious) will let me choose which mixer to
 use, and those apps work perfectly.
 
 Anyone else seen this before, I hope?  Got a fix?

My solution was to edit /usr/share/alsa/alsa.conf, and change
defaults.ctl.card and defaults.pcm.card from 0 to 1. Add this file to
CONFIG_PROTECT in make.conf, or else the next alsa update will overwrite
the file.

Wonko



Re: [gentoo-user] emerge haskell-opengl-2.2.1.1 failed

2012-03-30 Thread Sergei Trofimovich
 I tried to install haskell-platform (the overlay, that is) and it got  
 me into the following problem: emerging haskell-opengl-2.2.1.1 failed.  
 I append the build.log.

First off, thanks for the report!
I've pushed the fix this morning, so it should already be on mirrors:

  30 Mar 2012; Sergei Trofimovich sly...@gentoo.org
  +files/opengl-2.2.1.1-ghc-7.4.patch, opengl-2.2.1.1.ebuild:
  Fix build failure against ghc-7.4 (reported by Christian Lask).

Another note: you are mixing stable (opengl) and unstable (ghc) packages.
It is usually fine, but in order to use anything from overlay you'll
need to set unstable keywords for packages there.

https://github.com/gentoo-haskell/gentoo-haskell/blob/master/README.rst
contains some notes on adding haskell repo via layman.

-- 

  Sergei


signature.asc
Description: PGP signature


Re: [gentoo-user] Systemd systemctl : Failed to get D-Bus connection

2012-03-30 Thread Canek Peláez Valdés
On Fri, Mar 30, 2012 at 3:50 AM, Yohan Pereira yohan.pere...@gmail.com wrote:
 Hi,

 Wanted to see whats all the fuss about so I tried installing Systemd on a
 laptop. following the guide on wiki.gentoo.org [1].



 But I am having trouble running systemctl to configure the services I want
 started. Heres what I get (both as root and as a normal user).



 # systemctl --all --full

 Failed to get D-Bus connection: No connection to service manager.

This will only work if you boot into systemd. Otherwise it doesn't.

 I know Dbus is running for sure.



 $ ps ax | grep dbus

 2094 ? Ss 0:09 /usr/bin/dbus-daemon --system

 2803 ? S 0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session

 2804 ? Ss 0:06 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7
 --session



 I tried booting with systemd to see what happens. It starts booting fine up
 to the point where it starts mounting the partitions. It just stops after
 mounting my /home partition. Nothing works at this point apart from a hard
 reboot. My partitioning is simple separate partitions for boot, home, root
 and the portage tree (all ext4). No separate /usr (phew). Also I do not have
 an initramfs.

Can I see your kernel command line as specified in /boot/grub/grub.cfg
(or /boot/grub2/grub.cfg)? The whole GRUB config would be useful.

Also, a cat /etc/fstab should shed some light on the issue.

 What am I missing? do I need to modify any of the systemd config files? etc?





 Here are the details of some of the packages.

 sys-fs/udev-182-r2 (gudev hwdb keymap openrc rule_generator -build -debug
 -doc -floppy -introspection -selinux -static-libs)



 sys-apps/systemd-43 (acl pam tcpd -audit -cryptsetup -gtk -lzma -plymouth
 -selinux)



 Thanks.



 [1] http://wiki.gentoo.org/wiki/Systemd

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [solved] Systemd systemctl : Failed to get D-Bus connection

2012-03-30 Thread Yohan Pereira
On Friday 30 Mar 2012 12:06:52 Canek Peláez Valdés wrote:
  # systemctl --all --full
  
  Failed to get D-Bus connection: No connection to service manager.
 
 This will only work if you boot into systemd. Otherwise it doesn't.

Oh the wiki page instructed me to configure systemd before enabling it .. 
weird. 

 Can I see your kernel command line as specified in /boot/grub/grub.cfg
 (or /boot/grub2/grub.cfg)? The whole GRUB config would be useful.
 
 Also, a cat /etc/fstab should shed some light on the issue.
 

Ok after reading your mail I looked into my fstab and tried disabling 
everything one by one. Turns out this line in my fstab was the culprit.

#tmp in ram
none /tmp tmpfs defaults 1 2

Found this bug report [1] and so I changed the above entry to 

#tmp in ram
tmpfs /tmp tmpfs defaults 0 0 

works fine now. Like the fast boot and shut down.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=717794

Thanks for the hint.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain