Re: [gentoo-user] power management cannot change LCD brightness

2010-03-05 Thread roundyz
Xi Shen wrote:

 
 On Tue, Mar 2, 2010 at 5:58 PM, Xi Shen davidshe...@googlemail.com wrote:
  On Sun, Feb 28, 2010 at 9:32 PM, ??roun...@hotmail.ru wrote:
  Hi,
  fisrt see if proc and your kernel has it right, do:
  ??cat ??/proc/acpi/video/GFX0/DD02/brightness
 
 echo 20 /proc/acpi/video/VID1/LCD0/brightness can change the
 brightness of my lcd. but dragging the power management tool still
 cannot work.
 

Hi,

Whats the name of the tool and what use flags are set?
It's most likely that you are going to need to re-emerge it, or some
component that it depends upon if it is part of gnome or kde, etc.

I use a little script with wmbutton along with some menu entries on
blackboxwm.  Works nice.

-- 
Regards,
Roundyz



Re: [gentoo-user] mysql is being pulled in again!

2010-03-05 Thread Neil Bothwick
On Fri, 5 Mar 2010 06:53:15 +, Mick wrote:

 I was trying to understand why a virtual package like virtual/mysql is
 pulling in dev-db/mysql and I used the syslog virtual/real
 relationship as an analogy.

The clue is in the name of the virtual, it is satisfied by one of the
MySQL packages in portage. You canot simply replace one SQL database with
another, otherwise there's be a virtual/sqldb that would be satisfied by
any of them.


-- 
Neil Bothwick

Last yur I kudnt spel modjerater now I are won.


signature.asc
Description: PGP signature


[gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Stroller

Hi there,

I have this /etc/portage/bin/post_sync file on a couple of systems,  
and strangely `equery b /etc/portage/bin/post_sync` doesn't tell me  
what package it belongs to. I might guess `eix`, but who knows?


Does anyone else experience this, please?
Can anyone tell me what package it belongs to, or what its purpose is?

It attracted my attention because /etc seems a funny place to keep a / 
bin.


Stroller.




Re: [gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Alex Schuster
Stroller writes:

 I have this /etc/portage/bin/post_sync file on a couple of systems,
 and strangely `equery b /etc/portage/bin/post_sync` doesn't tell me
 what package it belongs to. I might guess `eix`, but who knows?

It's part of portage, and it's called after a sync of the portage tree.

 Does anyone else experience this, please?
 Can anyone tell me what package it belongs to, or what its purpose is?
 
 It attracted my attention because /etc seems a funny place to keep a /
 bin.

Here's some explanation:
http://forum.soft32.com/linux/gentoo-portage-ftopict333785.html

Wonko



Re: [gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Neil Bothwick
On Fri, 5 Mar 2010 10:01:37 +, Stroller wrote:

 I have this /etc/portage/bin/post_sync file on a couple of systems,  
 and strangely `equery b /etc/portage/bin/post_sync` doesn't tell me  
 what package it belongs to. I might guess `eix`, but who knows?

equery shows its suckiness once again :(

% qfile post_sync
app-portage/portage-utils (/etc/portage/bin/post_sync)

This means you also have qfile installed, so you could have found it
yourself :P


-- 
Neil Bothwick

What Aussies lack in Humour they make up for in Beer!


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Frank Steinmetzger
Am Freitag 05 März 2010 schrieb Neil Bothwick:
 On Fri, 5 Mar 2010 10:01:37 +, Stroller wrote:
  I have this /etc/portage/bin/post_sync file on a couple of systems,
  and strangely `equery b /etc/portage/bin/post_sync` doesn't tell me
  what package it belongs to. I might guess `eix`, but who knows?
 
 equery shows its suckiness once again :(
 
 % qfile post_sync
 app-portage/portage-utils (/etc/portage/bin/post_sync)

My qfile doesn’t find it, neither with nor without full path. And yes, I have 
that bin file.
suckiness[qfile]++; ;-)
-- 
Gruß | Greetings | Qapla'
I wish my lawn was emo, so it would cut itself.


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


Re: [gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Stroller


On 5 Mar 2010, at 10:57, Neil Bothwick wrote:


On Fri, 5 Mar 2010 10:01:37 +, Stroller wrote:


I have this /etc/portage/bin/post_sync file on a couple of systems,
and strangely `equery b /etc/portage/bin/post_sync` doesn't tell me
what package it belongs to. I might guess `eix`, but who knows?


equery shows its suckiness once again :(

% qfile post_sync
app-portage/portage-utils (/etc/portage/bin/post_sync)

This means you also have qfile installed, so you could have found it
yourself :P


:P

I will try to get into the habit of using qfile.

Thanks for your help, Neil  Alex.

Stroller.




Re: [gentoo-user] mysql is being pulled in again!

2010-03-05 Thread Mick
On 5 March 2010 09:42, Neil Bothwick n...@digimed.co.uk wrote:
 On Fri, 5 Mar 2010 06:53:15 +, Mick wrote:

 I was trying to understand why a virtual package like virtual/mysql is
 pulling in dev-db/mysql and I used the syslog virtual/real
 relationship as an analogy.

 The clue is in the name of the virtual, it is satisfied by one of the
 MySQL packages in portage. You canot simply replace one SQL database with
 another, otherwise there's be a virtual/sqldb that would be satisfied by
 any of them.

Of course!  It was all in the pkg_name.  Thank you Neil.
-- 
Regards,
Mick



Re: [gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Neil Bothwick
On Fri, 5 Mar 2010 12:13:54 +0100, Frank Steinmetzger wrote:

  % qfile post_sync
  app-portage/portage-utils (/etc/portage/bin/post_sync)  
 
 My qfile doesn’t find it, neither with nor without full path. And yes,
 I have that bin file.

Is /etc/portage/postsync.d/q-reinitialize executable?


-- 
Neil Bothwick

I am a Cub Ranger. We dib dib dib for the One. We dob dob dob for the
One.


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Frank Steinmetzger
Am Freitag 05 März 2010 schrieb Neil Bothwick:
 On Fri, 5 Mar 2010 12:13:54 +0100, Frank Steinmetzger wrote:
   % qfile post_sync
   app-portage/portage-utils (/etc/portage/bin/post_sync)
  
  My qfile doesn’t find it, neither with nor without full path. And yes,
  I have that bin file.
 
 Is /etc/portage/postsync.d/q-reinitialize executable?

nope
-- 
Gruß | Greetings | Qapla'
Q: What’s the proper plural of a Net-connected Windows machine?
A: A Botnet.


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


[gentoo-user] equery warnings

2010-03-05 Thread Jacques Montier
Hi all,

While using equery, i get this warning :
/usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning:
The 'myroot' parameter for portage.config.getvirtuals() is deprecated
result = lazy_item.func(*pargs, **kwargs)
Nevertheless equery 's working fine.

Any idea ?
Thank you

Regards

--
Jacques 





Re: OT: CVS [WAS: Re: [gentoo-user] Need help discovering what's using a port (for cvsd)]

2010-03-05 Thread Paul Hartman
On Thu, Mar 4, 2010 at 5:54 PM, Michael Sullivan msulli1...@gmail.com wrote:
 On Thu, 2010-03-04 at 17:30 -0600, Paul Hartman wrote:
 On Thu, Mar 4, 2010 at 5:02 PM, Michael Sullivan msulli1...@gmail.com 
 wrote:
  netstat: no support for `AF IPX' on this system.
  netstat: no support for `AF AX25' on this system.
  netstat: no support for `AF X25' on this system.
  netstat: no support for `AF NETROM' on this system.
 
 
  I assume these are kernel options, but without knowing specific symbol
  names, I'm not sure how to compile them into the kernel.  Can anyone
  give me any advice on this situation?

 I think if you don't have support for those protocols the chances of a
 program using them is probably zero. :) FWIW i get the exact same
 messages. I don't think it is meaningful.

 I use a similar command (omitting all the unix sockets stuff): netstat
 -lnp --inet

 With regard to your original problem, try to edit the cvsd.conf and
 specify an actual IP address to listen on (instead of 0.0.0.0 or * or
 however it is defined there) and see if that helps.


 Now I've got the server running, but I can't connect to it:

 mich...@camille ~ $ cvs login
 Logging in to :pserver:mich...@carter.espersunited.com:2401/root
 CVS password:
 cvs [login aborted]: connect to
 carter.espersunited.com(192.168.1.2):2401 failed: Connection refused

Hmm, does cvsd use inetd? maybe it needs to be added to allowed port
list or something like that.



Re: [gentoo-user] Logitech WebCam Pro 9000 and sound card

2010-03-05 Thread Paul Hartman
2010/3/5 Dmitry Makovey mldi...@makovey.net:
 On 03/04/2010 08:37 AM, Paul Hartman wrote:
 2010/3/4 Dmitry S. Makovey di...@makovey.net:

 Hi everybody,

 I have just bought Logitech WebCam Pro 9000 and much to my suprise
 things pretty much worked out of the box... almost. As I have discovered
 - even though video is working flawlessly, my audio has gone AWOL.
 I have the same webcam. My work-around is to unplug the webcam before
 you reboot. Real fix would be set up alsa so it knows the proper order
 of soundcards... I've never been able to get it to do that, though, so
 I just unplug webcam until I want to use it. If someone else has
 figured out how, I'd be happy to hear it too.

 well I've figured it out half-way (based on
 http://alsa.opensrc.org/index.php/MultipleCards )

 alias char-major-116 snd
 alias char-major-14 soundcore

 options snd major=116 cards_limit=4

 alias /dev/mixer snd-mixer-oss
 alias /dev/dsp snd-pcm-oss
 alias /dev/midi snd-seq-oss

 alias sound-service-0-0 snd-mixer-oss
 alias sound-service-0-1 snd-seq-oss
 alias sound-service-0-3 snd-pcm-oss
 alias sound-service-0-8 snd-seq-oss
 alias sound-service-0-12 snd-pcm-osshree
 alias snd-card-0 snd-hda-intel
 alias sound-slot-0 snd-hda-intel
 options snd-hda-intel index=0

 alias snd-card-1 snd-usb-audio
 alias sound-slot-1 snd-usb-audio
 options snd-usb-audio index=1
 options snd slots=snd-hda-intel,snd-usb-audio

 Now my problem is that the only control ALSA shows for my built-in
 hda-intel is Master with no sub-channles available. Anybody
 knowledgeable enough to suggest where is the problem?

To make ALSA show the proper controls for my sound card I had to tell
it which model I'm using /etc/modprobe.d/modprobe.conf:

options snd-hda-intel model=6stack-dig

Look in /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt to
see the list of models. Hopefully then it will show things appropriate
to yours.



[gentoo-user] Changed behavior of portage when using FEATURES=getbinpkg

2010-03-05 Thread Dan Johansson
I have a setup where I have one development host and one production host. 
On the dev-host I have FEATURES=buildpkg and on the prod-host I have 
FEATURES=getbinpkg and PORTAGE_BINHOST=http://192.168.4.4/portage-i686/; 
(this is my dev-host) set. 

A few days ago, after the two hosts has been down for an extended time (since 
Nov last year) I can no longer install/update an packages on the prod-host.

Here is an example of how it looks like :
---8-
# emerge --update --deep --verbose --reinstall changed-use --with-bdeps y 
world

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

Calculating dependencies
Fetching bininfo from http://192.168.4.4/portage-i686/
Loaded metadata pickle.
cache miss: '0' --- cache hit: '470'
... done!
[binary U ] sys-apps/portage-2.1.7.17 [2.1.7.16] USE=-build -doc -epydoc 
(-python3) (-selinux) LINGUAS=-pl

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


 Emerging binary (1 of 1) sys-apps/portage-2.1.7.17
--2010-03-05 17:54:15--  http://192.168.4.4/portage-i686/portage-2.1.7.17.tbz2
Connecting to 192.168.4.4:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 568929 (556K) [text/plain]
Saving to: `/usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2'

 0K .. .. .. .. ..  8% 1.75M 0s
50K .. .. .. .. .. 17% 4.30M 0s
   100K .. .. .. .. .. 26% 20.8M 0s
   150K .. .. .. .. .. 35% 6.12M 0s
   200K .. .. .. .. .. 44% 2.16M 0s
   250K .. .. .. .. .. 53% 1.84M 0s
   300K .. .. .. .. .. 62% 2.60M 0s
   350K .. .. .. .. .. 71% 84.4M 0s
   400K .. .. .. .. .. 80% 72.0M 0s
   450K .. .. .. .. .. 89% 12.5M 0s
   500K .. .. .. .. .. 98%  135M 0s
   550K . 100% 2.73M=0.1s

2010-03-05 17:54:15 (4.42 MB/s) - `/usr/portage/packages/sys-
apps/portage-2.1.7.17.tbz2' saved [568929/568929]


!!! Digest verification failed:
!!! /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2
!!! Reason: Filesize does not match recorded size
!!! Got: 568929
!!! Expected: 2224676
File renamed to '/usr/portage/packages/sys-
apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY'

 Failed to emerge sys-apps/portage-2.1.7.17, Log file:

  '/var/log/portage/sys-apps:portage-2.1.7.17:20100305-165414.log'
---8-

The size 568929 matches the size on dev and prod:
dev:
# ll /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2  
/usr/portage/packages/All/portage-2.1.7.17.tbz2
-rw-r--r-- 1 root root 568929 Mar  5 17:53 
/usr/portage/packages/All/portage-2.1.7.17.tbz2
lrwxrwxrwx 1 root root 28 Mar  5 17:53 /usr/portage/packages/sys-
apps/portage-2.1.7.17.tbz2 - ../All/portage-2.1.7.17.tbz2

prod:
# ll /usr/portage/packages/sys-
apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY
-rw-r--r-- 1 root root 568929 Mar  5 17:53 /usr/portage/packages/sys-
apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY

What has happened and how to solve it?

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Re: /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Nikos Chantziaras

On 03/05/2010 04:06 PM, Frank Steinmetzger wrote:

Am Freitag 05 März 2010 schrieb Neil Bothwick:

On Fri, 5 Mar 2010 12:13:54 +0100, Frank Steinmetzger wrote:

% qfile post_sync
app-portage/portage-utils (/etc/portage/bin/post_sync)


My qfile doesn’t find it, neither with nor without full path. And yes,
I have that bin file.


Is /etc/portage/postsync.d/q-reinitialize executable?


nope


It should be.




[gentoo-user] How can this be blocking my emerge -uD world if it's not installed

2010-03-05 Thread Michael Sullivan
I'm trying to run emerge -uD world:

[blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
blocking sys-power/pm-utils-1.2.5)

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

  ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
=sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
'sys-apps/apmd-3.2.2_p5', 'merge')

  ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
sys-power/pm-utils required by ('ebuild', '/',
'kde-base/powerdevil-4.3.5', 'merge')


For more information about Blocked Packages, please refer to the
following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

camille kde-base # emerge -C sys-power/powermgmt-base

--- Couldn't find 'sys-power/powermgmt-base' to unmerge.

 No packages selected for removal by unmerge

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

camille kde-base # 

As you can see powermgmt-base isn't even installed.  How can I get it to
stop blocking my emerge if it's not actually there???





[gentoo-user] Multiple Update Issues - what order should things be done?

2010-03-05 Thread Tanstaafl
Hello,

I've got a concern with some updates that I need to get done. I'm sorry
to say I put a few things off a bit too long, and now I'm uncertain as
to what I should do first, or if it even matters.

Here are the issues:

1. I'm on an older kernel (gentoo-sources, 2.6.23-r9)

For reasons I won't go into now, the boss would rather wait on updating
this, but he said if we have to, we have to...

2. I've currently got the lvm2 update blocker problem due to the
device-mapper being merged into lvm2. I know how to fix this (according
to the bug I found):

 emerge -C device-mapper  emerge -vuDN lvm2

(/ is not on lvm2, but /usr and /var are)

but...

3. For some reason mysql wants to be rebuilt, and when I tried, it
failed saying that it now requires gcc-4.3.4...

I had already installed gcc-4.3.4 a while back, but still haven't
switched to it, so currently everything is compiled with 4.1.2.

So, what should I do first? Will the new version of lvm2 work ok with
the older kernel? If so I could switch to gcc-4.3.4, fix/update lvm2,
then rebuild world, then update the kernel later once the boss is ok
with it?

Also - when you switch compilers, do you need to reboot right away
(after rebuilding world (and thus the kernel)?

Thanks for any suggestions/pointers... :)

-- 

Charles



[gentoo-user] Re: How can this be blocking my emerge -uD world if it's not installed [SOLVED]

2010-03-05 Thread Michael Sullivan
On Fri, 2010-03-05 at 13:02 -0600, Michael Sullivan wrote:
 I'm trying to run emerge -uD world:
 
 [blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
 blocking sys-power/pm-utils-1.2.5)
 
  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.
 
   ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
 =sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
 'sys-apps/apmd-3.2.2_p5', 'merge')
 
   ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
 sys-power/pm-utils required by ('ebuild', '/',
 'kde-base/powerdevil-4.3.5', 'merge')
 
 
 For more information about Blocked Packages, please refer to the
 following
 section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 
  * IMPORTANT: 7 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 camille kde-base # emerge -C sys-power/powermgmt-base
 
 --- Couldn't find 'sys-power/powermgmt-base' to unmerge.
 
  No packages selected for removal by unmerge
 
  * IMPORTANT: 7 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 camille kde-base # 
 
 As you can see powermgmt-base isn't even installed.  How can I get it to
 stop blocking my emerge if it's not actually there???
 

I added =sys-power/powermgmt-base-1.22 to
my /etc/portage/package.mask and the block went away.




Re: [gentoo-user] How can this be blocking my emerge -uD world if it's not installed

2010-03-05 Thread Alan McKinnon
On Friday 05 March 2010 21:02:44 Michael Sullivan wrote:
 I'm trying to run emerge -uD world:
 
 [blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
 blocking sys-power/pm-utils-1.2.5)
 
  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.
 
   ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
 
 =sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
 
 'sys-apps/apmd-3.2.2_p5', 'merge')
 
   ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
 sys-power/pm-utils required by ('ebuild', '/',
 'kde-base/powerdevil-4.3.5', 'merge')
 
 
 For more information about Blocked Packages, please refer to the
 following
 section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 
  * IMPORTANT: 7 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 camille kde-base # emerge -C sys-power/powermgmt-base
 
 --- Couldn't find 'sys-power/powermgmt-base' to unmerge.
 
  No packages selected for removal by unmerge
 
  * IMPORTANT: 7 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 camille kde-base #
 
 As you can see powermgmt-base isn't even installed.  How can I get it to
 stop blocking my emerge if it's not actually there???

Where did you read that a blocker has to be present to block? You 
misunderstand what a blocker is. Here's what it really means:

Two or more packages that are mutually exclusive in some way, and to resolve 
the emerge you ran both would somehow need to end up being installed, which is 
not feasible.

As you can see, they don't have to be there yet. To be blockers, they would 
only have to be there at the completion of the emerge.

In your case, apmd wants powermgmt-base, and powerdevil wants pm-utils.
pm-utils-1.2.5 has this in RDEPEND:
!sys-power/powermgmt-base

None of the DEPENDS are optional, so you are going to have to do without apmd 
or powerdevil. As powerdevil is a KDE app, I suspect you want this. laptop-
mode-tools DEPENDS on apmd if USE=apm, so I recommend you disable that flag as 
pm-utils can replace apmd. Then remove apmd and powermgmt-base from world if 
they are there.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Multiple Update Issues - what order should things be done?

2010-03-05 Thread Alan McKinnon
On Friday 05 March 2010 21:09:33 Tanstaafl wrote:
 Hello,
 
 I've got a concern with some updates that I need to get done. I'm sorry
 to say I put a few things off a bit too long, and now I'm uncertain as
 to what I should do first, or if it even matters.
 
 Here are the issues:
 
 1. I'm on an older kernel (gentoo-sources, 2.6.23-r9)
 
 For reasons I won't go into now, the boss would rather wait on updating
 this, but he said if we have to, we have to...
 
 2. I've currently got the lvm2 update blocker problem due to the
 device-mapper being merged into lvm2. I know how to fix this (according
 to the bug I found):
 
  emerge -C device-mapper  emerge -vuDN lvm2
 
 (/ is not on lvm2, but /usr and /var are)
 
 but...
 
 3. For some reason mysql wants to be rebuilt, and when I tried, it
 failed saying that it now requires gcc-4.3.4...
 
 I had already installed gcc-4.3.4 a while back, but still haven't
 switched to it, so currently everything is compiled with 4.1.2.

Then switch to 4.3.4

 So, what should I do first? Will the new version of lvm2 work ok with
 the older kernel? 

Dunno, what does the ebuild say?

 If so I could switch to gcc-4.3.4, fix/update lvm2,
 then rebuild world, then update the kernel later once the boss is ok
 with it?

Just update the kernel and be done with it. This is the thing to do first and 
you already know that. So just do it.


 Also - when you switch compilers, do you need to reboot right away
 (after rebuilding world (and thus the kernel)?

What does rebooting have to do with the compiler? The compiler only builds 
code then stops. Rebooting does nothing to it.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Dual booting Dell with Windows 7

2010-03-05 Thread Mick
On Tuesday 02 March 2010 23:31:16 Peter Ruskin wrote:

 Thanks for your help, Mick.  

You're welcome.  Sorry it took me some time to get to it:

 Here's the bcdedit /v before I started:
 C:\Windows\System32\bcdedit /v C:\bcdedit-orig.txt

It may be better to use the /export function to back up the BCD file.

 Windows Boot Loader
 ---
[snip ...]

 
 Resume from Hibernate
 -
[snip ...]

 Windows Memory Tester
 -
[snip ...]

I can't see in there your MSWindows Boot Manager entry.  This BCD will not be 
able to boot MSWindows natively, or chainload Linux from it ... you'll need to 
repair it with your Vista CD as I suggested in the previous message.

 And here it is after I followed your procedure:
 C:\Windows\System32\bcdedit /v C:\bcdedit.txt
 
 Windows Boot Manager
 
 identifier  {9dea862c-5cdd-4e70-acc1-f32b344d4795}
 displayorder{150a4189-2608-11df-b94d-00248cc04424}
 timeout 10

I suspect that's not enough to load the boot manager.  Compare it to my entry:
==
Windows Boot Manager

identifier  {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device  partition=\Device\HarddiskVolume2
path\bootmgr
description Windows Boot Manager
locale  en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {fda5ebf3-119b-11df-969c-f924691e8117}
resumeobject{5744906c-0bf4-11df-8e08-0026b920b49c}
displayorder{fda5ebf3-119b-11df-969c-f924691e8117}
{fda5ebf6-119b-11df-969c-f924691e8117}
toolsdisplayorder   {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 3
==

 Real-mode Boot Sector
 -
 identifier  {150a4189-2608-11df-b94d-00248cc04424}
 device  boot
 pathC:\linux.bin
 description Gentoo Linux
 locale  en-US

That's good, but I suspect it won't work because your Boot Manager entry is 
not correct.  

 After reboot it reverts to the original - just as well, because the
 Windows Boot Manager looks suspect to me.

Yes, it looks dodgy to me too.  If it reverts to the original then that means 
that you are not actually editing the BCD file that is being used for booting.  
I suspect that what's happening here is that Acronis OSS has taken over the 
MBR and the boot files (I think it saves them in a BOOTWIZ folder or something 
similar).  So the BCD file you are editing is not the one Acronis is using.  
My method implies that you have restored your Vista to its original state as 
far as MBR and MSWindows boot files are concerned.  So, for it to work you 
will need to uninstal Acronis OSS I'm afraid and repair the start up files as 
I described in my previous email.

Alternatively, you may want to try using bcdedit to edit the correct BCD file,  
*but* I am not sure that Acronis will allow you to do that (it probably 
altered the access rights to it, that's why a reboot shows up the original 
file).
-- 
Regards,
Mick


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


Re: [gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown

2010-03-05 Thread Mick
On Thursday 04 March 2010 07:54:40 Damian wrote:
 On Thu, Mar 4, 2010 at 7:51 AM, Damian damian.o...@gmail.com wrote:
  On Wed, Mar 3, 2010 at 5:08 PM, Mick michaelkintz...@gmail.com wrote:
  Can you make any sense of this?
  ===
  kernel BUG at kernel/time/clockevents.c:262!
  invalid opcode:  [#1] PREEMPT SMP
  [snip ...]
 
  note: halt[12361] exited with preempt_count 2
  /etc/init.d/shutdown.sh: line 9: 12361 Segmentation fault  /sbin/halt
  ${opts}
  ===
 
  I had the same problem with the 2.6.32-r1 version. It is fixed as of
  version 2.6.32-r7
 
  The bug was reported, but I cannot find it.
 
 Now in my computer I could find it:
 http://bugzilla.kernel.org/show_bug.cgi?id=15005

Thank you very much!  I will upgrade accordingly.

-- 
Regards,
Mick


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


Re: [gentoo-user] Multiple Update Issues - what order should things be done?

2010-03-05 Thread Sebastian Beßler
Am 05.03.2010 20:20, schrieb Alan McKinnon:
 On Friday 05 March 2010 21:09:33 Tanstaafl wrote:

 Also - when you switch compilers, do you need to reboot right away
 (after rebuilding world (and thus the kernel)?
 
 What does rebooting have to do with the compiler? The compiler only builds 
 code then stops. Rebooting does nothing to it.

As far as I read the post from Tanstaafl the question is not if he has
to restart after the switch to the new compiler but if he has to restart
after the rebuild of world with the new compiler, because he also
rebuilds the kernel.

My experience is that you don't need to restart right away after a
kernel rebuild as long as you don't want to (re)load modules because
that would not do 'cause kernel and modules must both be build with the
same compiler to work.

But to be sure it is possible to postpone the kernel rebuild to be near
of a time where a restart can be done.

Greetings

Sebastian



Re: [gentoo-user] equery warnings

2010-03-05 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Hi all,

While using equery, i get this warning :
/usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning:
The 'myroot' parameter for portage.config.getvirtuals() is deprecated
result = lazy_item.func(*pargs, **kwargs)
Nevertheless equery 's working fine.

Any idea ?
Thank you

Regards

--
Jacques

   


Upgrade to the latest gentoolkit.

[IP-] [  ] app-portage/gentoolkit-0.3.0_rc9:

I had the same error and the problem appears to be that I had portage in 
keyword/unmask but not gentoolkit.  There appears to be a mismatch for 
this version.  After I updated to the version above, it works fine.  The 
latest portage and the latest gentoolkit likes each other and no more 
error message.


Hope that helps.

Dale

:-)  :--)





Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-05 Thread Paul Hartman
On Fri, Feb 26, 2010 at 12:24 PM, Kyle Bader kyle.ba...@gmail.com wrote:
 - SSD vs 1rpm vs big-and-cheap hard drive for rootfs/system files.
 I lean toward the latter since RAM caches it anyway.

 SSDs can make things snappier for boot times.  Having lots of ram for
 disk cache eliminates the benefit after booted since ram is even
 faster than a SSD.

I decided on a hard drive for the primary disk rather than SSD. For a
combination of size (1TB), performance (according to benchmarks) and
price (according to my pockets) I chose a Samsung HD103SJ (7200rpm,
1TB, 32MB cache, 2x500gb platters) drive which appears to have great
overall performance and low operating temperatures.

I haven't received the disks yet so for now I'm just playing with an
old spare drive and installed Windows 7 (trial) for
configuring/testing the overclock settings since all of the
motherboard tools are in Windows only. Once I have it running fast 
cool, it's Gentoo time!

I also tried the Gentoo LiveDVD 10.1, written to a USB flash drive
(with unetbootin), and it worked great. I had the PC hooked up to my
TV with HDMI and it used proper 16:9 resolution, got DHCP address
automatically and everything seemed to simply work properly. It will
be great to use Konsole and Firefox during install, compared to having
a 80x25 terminal like I did many years ago in my last install. Good
job to the LiveDVD team!



Re: [gentoo-user] Multiple Update Issues - what order should things be done?

2010-03-05 Thread Tanstaafl
On 3/5/2010 2:20 PM, Alan McKinnon wrote:
 On Friday 05 March 2010 21:09:33 Tanstaafl wrote:
 I had already installed gcc-4.3.4 a while back, but still haven't 
 switched to it, so currently everything is compiled with 4.1.2.

 Then switch to 4.3.4

Very helpful - not. I don't know if it is safe having userspace lvm2
tools compiled with a newer/different version of gcc than the kernel
(which has lvm2 compiled in). Maybe someone here knows - and maybe
that's why I asked.

 So, what should I do first? Will the new version of lvm2 work ok
 with the older kernel?

 Dunno, what does the ebuild say?

I'm a user, not a programmer. I looked in an ebuild once - it was
interesting, but didn't tell me a whole lot. I also have been bitten
more than once by major changes to a package that came in a minor
version bump that wasn't documented in the ebuild or anywhere else, so
I've learned to be careful, especially where critical system updates are
concerned (like lvm2, gcc and the kernel).

My question was directed toward people who use lvm2 and (hopefully) know
the answer... googling didn't reveal an answer (or at least I didn't
find the proper incantation)...

So, again, does anyone know if the new version of lvm2 (with integrated
device-mapper) will work ok on the 2.6.23 kernel, or is there a minimum
version required?

 If so I could switch to gcc-4.3.4, fix/update lvm2, then rebuild
 world, then update the kernel later once the boss is ok with it?

 Just update the kernel and be done with it. This is the thing to do 
 first and you already know that. So just do it.

Ever heard of a PHB?

I don't upgrade the kernel very often, nor have to fix blockers
manually, so I'd rather ask a few questions (admitting I don't know
everything - or even much of anything - in the process - try it Alan,
it's actually quite liberating), and not dig myself into a hole I may
not be able to dig myself out of easily.

 Also - when you switch compilers, do you need to reboot right away 
 (after rebuilding world (and thus the kernel)?

 What does rebooting have to do with the compiler? The compiler only
 builds code then stops. Rebooting does nothing to it.

What does your question have to do with mine? Look, I appreciate any
help I can get here, but try reading the question you're responding to
if you're going to take the time to respond (you missed the stuff in
parenthesis)...

On 3/5/2010 3:40 PM, Sebastian Beßler wrote:
 As far as I read the post from Tanstaafl the question is not if he
 has to restart after the switch to the new compiler but if he has to 
 restart after the rebuild of world with the new compiler, because he
 also rebuilds the kernel.

Exactly - thank you Sebastian...

 My experience is that you don't need to restart right away after a
 kernel rebuild as long as you don't want to (re)load modules because
 that would not do 'cause kernel and modules must both be build with
 the same compiler to work.

Interesting - I don't use modules on a server, I only build with with
what I need compiled in... so no modules/module support at all, but
that's good to know if I ever decide to use Gentoo on the desktop - thanks.

 But to be sure it is possible to postpone the kernel rebuild to be
 near of a time where a restart can be done.

Yes, that I was planning on doing when I got approval to upgrade the
kernel, but I figured I'd include the kernel version out of concern for
the newer version of lvm2...

I was already leaning toward the kernel upgrade first as being the
safest solution (then fix lvm2, then switch compilers, update everything
else, then rebuild world), but I have to justify it to the boss, which
is why I asked in the first place...

-- 

Best regards,

Charles



Re: [gentoo-user] xfce4 tray icon problems

2010-03-05 Thread Grant
 I'm having a problem with xfce4 tray icons all of a sudden.  The
 wicd-client icon won't show up, even though the binary executes in a
 terminal without error.  I've tried restarting wicd and rebooting.
 The twinkle icon shows up in the center of the screen instead of the
 tray, and it has its own panel button which is separate from the main
 app's panel button.  Does anyone know what could be wrong?


 I didn't understand very well what happen with you, possible because my
 bad english vocabulary, but have you tried run wicd-client with  --no-tray
 parameter ?

 Another guess, when I upgraded to xfce 4.6 it was necessarily emerge
 x11-themes/tango-icon-theme and set xfce to use it. This package fixed every
 icon problemthat I had in xfce menu.

I'm sorry, I just saw your post now for some reason.  I don't think
the problem is with tango-icon-theme because I have 2 identical
laptops with very similar configurations and neither of them have that
package installed.  Only 1 of the laptops is having this problem.

The problem is with system tray icons that are not panel plugins.  For
example: wicd, twinkle, blueman, orage.  The icons for those do not
appear at all except for the twinkle icon which appears right in the
center of the screen.  All other icons work fine, and system tray
icons that are panel plugins such as xfce4-mixer and clipman work
fine.

Any ideas?

- Grant



Re: [gentoo-user] xfce4 tray icon problems

2010-03-05 Thread Mark Knecht
On Fri, Mar 5, 2010 at 5:42 PM, Grant emailgr...@gmail.com wrote:
 I'm having a problem with xfce4 tray icons all of a sudden.  The
 wicd-client icon won't show up, even though the binary executes in a
 terminal without error.  I've tried restarting wicd and rebooting.
 The twinkle icon shows up in the center of the screen instead of the
 tray, and it has its own panel button which is separate from the main
 app's panel button.  Does anyone know what could be wrong?


 I didn't understand very well what happen with you, possible because my
 bad english vocabulary, but have you tried run wicd-client with  --no-tray
 parameter ?

 Another guess, when I upgraded to xfce 4.6 it was necessarily emerge
 x11-themes/tango-icon-theme and set xfce to use it. This package fixed every
 icon problemthat I had in xfce menu.

 I'm sorry, I just saw your post now for some reason.  I don't think
 the problem is with tango-icon-theme because I have 2 identical
 laptops with very similar configurations and neither of them have that
 package installed.  Only 1 of the laptops is having this problem.

 The problem is with system tray icons that are not panel plugins.  For
 example: wicd, twinkle, blueman, orage.  The icons for those do not
 appear at all except for the twinkle icon which appears right in the
 center of the screen.  All other icons work fine, and system tray
 icons that are panel plugins such as xfce4-mixer and clipman work
 fine.

 Any ideas?

 - Grant



Please feel to contribute data and ideas here if appropriate:

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

It doesn't sound exactly like what I've seen but it's very similar.

- Mark



Re: [gentoo-user] xfce4 tray icon problems

2010-03-05 Thread Grant
 I'm having a problem with xfce4 tray icons all of a sudden.  The
 wicd-client icon won't show up, even though the binary executes in a
 terminal without error.  I've tried restarting wicd and rebooting.
 The twinkle icon shows up in the center of the screen instead of the
 tray, and it has its own panel button which is separate from the main
 app's panel button.  Does anyone know what could be wrong?


 I didn't understand very well what happen with you, possible because my
 bad english vocabulary, but have you tried run wicd-client with  --no-tray
 parameter ?

 Another guess, when I upgraded to xfce 4.6 it was necessarily emerge
 x11-themes/tango-icon-theme and set xfce to use it. This package fixed every
 icon problemthat I had in xfce menu.

 I'm sorry, I just saw your post now for some reason.  I don't think
 the problem is with tango-icon-theme because I have 2 identical
 laptops with very similar configurations and neither of them have that
 package installed.  Only 1 of the laptops is having this problem.

 The problem is with system tray icons that are not panel plugins.  For
 example: wicd, twinkle, blueman, orage.  The icons for those do not
 appear at all except for the twinkle icon which appears right in the
 center of the screen.  All other icons work fine, and system tray
 icons that are panel plugins such as xfce4-mixer and clipman work
 fine.

 Any ideas?

 - Grant



 Please feel to contribute data and ideas here if appropriate:

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

 It doesn't sound exactly like what I've seen but it's very similar.

 - Mark

Thanks Mark.  I really think this is a different issue.  I emerged
tango-icon-theme with no change.  I have all icons except those that
should be in the system tray, and even those missing system tray icons
do appear in the xfce4 menu.  There are no blank placeholders or
anything like that.  They just don't show up in the system tray at
all.

I did notice this from Twinkle:

X Error: BadWindow (invalid Window parameter) 3

I researched it on Google but got nowhere.

- Grant



Re: [gentoo-user] Multiple Update Issues - what order should things be done?

2010-03-05 Thread Alan McKinnon
On Saturday 06 March 2010 01:30:38 Tanstaafl wrote:
 On 3/5/2010 2:20 PM, Alan McKinnon wrote:
  On Friday 05 March 2010 21:09:33 Tanstaafl wrote:
  I had already installed gcc-4.3.4 a while back, but still haven't
  switched to it, so currently everything is compiled with 4.1.2.
  
  Then switch to 4.3.4
 
 Very helpful - not. I don't know if it is safe having userspace lvm2
 tools compiled with a newer/different version of gcc than the kernel
 (which has lvm2 compiled in). Maybe someone here knows - and maybe
 that's why I asked.

user space tools do not interact with kernel internals. They interact through 
an API which is very stable.It's the internal kernel stuff that is unstable.

As a comparison, login does not care what syslogger you use or it's version, 
so you can change them at will. I have used lvm2 on multiple machine over many 
years with multiple versions and multiple compilers. Never had a compatibility 
issue. This is as it should be and the behaviour I expect.

  So, what should I do first? Will the new version of lvm2 work ok
  with the older kernel?
  
  Dunno, what does the ebuild say?
 
 I'm a user, not a programmer. I looked in an ebuild once - it was
 interesting, but didn't tell me a whole lot. I also have been bitten
 more than once by major changes to a package that came in a minor
 version bump that wasn't documented in the ebuild or anywhere else, so
 I've learned to be careful, especially where critical system updates are
 concerned (like lvm2, gcc and the kernel).
 
 My question was directed toward people who use lvm2 and (hopefully) know
 the answer... googling didn't reveal an answer (or at least I didn't
 find the proper incantation)...
 
 So, again, does anyone know if the new version of lvm2 (with integrated
 device-mapper) will work ok on the 2.6.23 kernel, or is there a minimum
 version required?

Again, this is in the ebuild. You can ignore most of the weird details and 
look for important stuff. Dependencies are in DEPEND, and in the case of the 
latest lvm2, the only important limits are:

!!sys-fs/device-mapper
=sys-apps/util-linux-2.16

lvm now does device-mapper itself, so you must unmerge device-mapper and merge 
lvm2. These are userspace tools so it's safe, you won't lose data or 
functionality as long as you don't reboot in the middle.

util-linux is pretty normal too, this will be upgraded when you upgrade lvm.

If the gentoo maintainer knows about incompatibilities, they often put it in 
an elog in the ebuild, which displays when the ebuild runs. That doesn't help 
you now, you want to know this before the ebuild runs, not after, so look in 
the ebuild for elog statements. Easily recognisable - large hunks of plain 
text. The only messages there concern baselayout2 - see the end

  If so I could switch to gcc-4.3.4, fix/update lvm2, then rebuild
  world, then update the kernel later once the boss is ok with it?
  
  Just update the kernel and be done with it. This is the thing to do
  first and you already know that. So just do it.
 
 Ever heard of a PHB?
 
 I don't upgrade the kernel very often, nor have to fix blockers
 manually, so I'd rather ask a few questions (admitting I don't know
 everything - or even much of anything - in the process - try it Alan,
 it's actually quite liberating), and not dig myself into a hole I may
 not be able to dig myself out of easily.
 
  Also - when you switch compilers, do you need to reboot right away
  (after rebuilding world (and thus the kernel)?
  
  What does rebooting have to do with the compiler? The compiler only
  builds code then stops. Rebooting does nothing to it.
 
 What does your question have to do with mine? Look, I appreciate any
 help I can get here, but try reading the question you're responding to
 if you're going to take the time to respond (you missed the stuff in
 parenthesis)...

You were talking about switching compilers then rebooting. There's no 
requirement for a reboot in that step.

Once you have successfully updated the box and it's kernel, then reboot it to 
load the new kernel, but you can do that step whenever you are ready.

You mention a PHB.

PHB's don't like updates/upgrades - they imagine all kinds of dragons lurking 
inside chips which eat babies etc etc etc. The way out of this is to make the 
problem his problem. Pretty fair, as he caused it.

You get a spare machine and set it up just like the one you plan to update, 
and run tests on that. Make all your mistakes on a test box so they don;t 
happen on a live box. The PHB now has two choices:

1. Not pay for a machine and suffer the consequences if things bork
2. Provide a machine and have proven data to hand to use when authorizing the 
update

All kinds of emotional crap interferes with this process, but it is manifestly 
impossible to get the benefits of both choices. It is impossible in the same 
way that apples do not fall up. Worded correctly, the PHB can be brought to an 
understanding that is he wants certainty, then he