[gentoo-user] Re: Enable scrolling on external USB IBM UltraNav keyboard

2009-05-07 Thread Mike Mazur
Hello,

On Thu, May 7, 2009 at 12:09 PM, Mike Mazur mma...@gmail.com wrote:
 I have an external USB IBM ThinkPad UltraNav keyboard[1] attached to
 my laptop and I'd like to get scrolling to work. Currently to scroll I
 mouse over the scrollbar, click and move the pointer. I have looked at
 some resources[2][3][4] but was unsuccessful.

 [...]

 [1] 
 http://fula.jp/blog/image/ThinkPlus_USB_Keyboard_with_UltraNav_Japanese.jpg
 [2] http://kaeru.my/journal/scrolling-with-thinkpad-keyboard-with-ultranav
 [2] 
 http://www.thinkwiki.org/wiki/Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29
 [4] http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/

 $ cat /etc/hal/fdi/policy/mouse-wheel.fdi
 ?xml version=1.0 encoding=ISO-8859-1?
 deviceinfo version=0.2
  device
  match key=info.product string=Lite-On Tech IBM USB Keyboard with
 UltraNav
  !--match key=info.product string=Synaptics Inc. Composite
 TouchPad / TrackPoint--
  !--match key=info.product string=SynPS/2 Synaptics TouchPad--
   merge key=input.x11_options.EmulateWheel type=stringtrue/merge
   merge key=input.x11_options.EmulateWheelButton type=string2/merge
   merge key=input.x11_options.ZAxsisMapping type=string4 5/merge
   merge key=input.x11_options.Emulate3Buttons type=stringtrue/merge
  /match
  /device
 /device

I found the problem: there's a tag mismatch in the fdi policy file. I
have two /device tags, but the second one needs to be a
/deviceinfo tag.

Mike



[gentoo-user] Restart net.wlan0 on rfkill event

2009-05-07 Thread Florian Philipp
Hi List!

I could need some directions for the following situation:

In order for my wifi to work, I have to restart the net.wlan0
init-script after I've pressed the rfkill-switch.

What would be the best way to do this automatially? I think udev is the
way to go but how do I define the event?

Thanks in advance!

Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Restart net.wlan0 on rfkill event

2009-05-07 Thread Neil Bothwick
On Thu, 07 May 2009 12:30:52 +0200, Florian Philipp wrote:

 In order for my wifi to work, I have to restart the net.wlan0
 init-script after I've pressed the rfkill-switch.

Does this switch generate an ACPI event?


-- 
Neil Bothwick

You sound reasonable...Time to up my medication.


signature.asc
Description: PGP signature


Re: [gentoo-user] Restart net.wlan0 on rfkill event

2009-05-07 Thread Florian Philipp
Neil Bothwick schrieb:
 On Thu, 07 May 2009 12:30:52 +0200, Florian Philipp wrote:
 
 In order for my wifi to work, I have to restart the net.wlan0
 init-script after I've pressed the rfkill-switch.
 
 Does this switch generate an ACPI event?
 
 

Unfortunately not. Nothing on dmesg, /var/log/messages or /var/log/acpid



signature.asc
Description: OpenPGP digital signature


[gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread Andrew Gaydenko
... or is it for me only?



Re: [gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread Ward Poelmans
On Thu, May 7, 2009 at 15:56, Andrew Gaydenko a...@gaydenko.com wrote:
 ... or is it for me only?

it's down here too.



Re: [gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread Patrick Holthaus
Hey!

On Thursday 07 May 2009 15:56:34 Andrew Gaydenko wrote:
 ... or is it for me only?

For me, it is also down.


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


Re: [gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread Xavier Parizet
On Thu, 7 May 2009 16:01:52 +0200, Ward Poelmans wpoel...@gmail.com
wrote:
 On Thu, May 7, 2009 at 15:56, Andrew Gaydenko a...@gaydenko.com wrote:
 ... or is it for me only?
 
 it's down here too.

same result here...

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4 
1C18 202F E575 4A5D 036D 1408



Re: [gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread KH
Andrew Gaydenko schrieb:
 ... or is it for me only?
 


http://downforeveryoneorjustme.com/packages.gentoo.org

;-)



Re: [gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 8:56 AM, Andrew Gaydenko a...@gaydenko.com wrote:
 ... or is it for me only?

It's not just you. In the meantime maybe you can use
http://www.gentoo-portage.com/Newest



[gentoo-user] Re: gentoo older versions

2009-05-07 Thread james
Nitin Kanaskar nitinvk04 at gmail.com writes:


 I would definitely give this a thought - sounds
 interesting and challenging.

OK,

If you like just pop onto gentoo embedded...


gentoo-embed...@lists.gentoo.org


James






[gentoo-user] KDE4 desktops interference

2009-05-07 Thread Andrew Gaydenko
Say, on desktop 1 I have started konsole with long emerging of something (i.e. 
konsole window is changing continuously). At the same time I have started 
supertuxkart for my son on the desktop 2. The game window has black blinking 
rectangular with the same position and size as the konsole window (canvas 
itself) has. The same effect takes place with replacing active konsole with. 
say, firefox download window (progress bar and text are blinking).

It iseems I have some gl tuning to perform. ~amd64 and intel video card are in 
use. Thoughts?



Re: [gentoo-user] KDE4 desktops interference

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 10:50 AM, Andrew Gaydenko a...@gaydenko.com wrote:
 Say, on desktop 1 I have started konsole with long emerging of something (i.e.
 konsole window is changing continuously). At the same time I have started
 supertuxkart for my son on the desktop 2. The game window has black blinking
 rectangular with the same position and size as the konsole window (canvas
 itself) has. The same effect takes place with replacing active konsole with.
 say, firefox download window (progress bar and text are blinking).

 It iseems I have some gl tuning to perform. ~amd64 and intel video card are in
 use. Thoughts?

I have the same problem, when running a full-screen game any pop-ups
(like new mail notifications, etc) well cause chaos...

So, I just make sure to close programs that cause pop-ups while
playing my game :) I think it must be related to the KDE4 desktop
effect, because it didn't happen before then.



[gentoo-user] Re: KDE4 desktops interference

2009-05-07 Thread Nikos Chantziaras

Paul Hartman wrote:

On Thu, May 7, 2009 at 10:50 AM, Andrew Gaydenko a...@gaydenko.com wrote:

Say, on desktop 1 I have started konsole with long emerging of something (i.e.
konsole window is changing continuously). At the same time I have started
supertuxkart for my son on the desktop 2. The game window has black blinking
rectangular with the same position and size as the konsole window (canvas
itself) has. The same effect takes place with replacing active konsole with.
say, firefox download window (progress bar and text are blinking).

It iseems I have some gl tuning to perform. ~amd64 and intel video card are in
use. Thoughts?


I have the same problem, when running a full-screen game any pop-ups
(like new mail notifications, etc) well cause chaos...

So, I just make sure to close programs that cause pop-ups while
playing my game :) I think it must be related to the KDE4 desktop
effect, because it didn't happen before then.


Hmm, pop-ups do cause chaos, but the problem the OP described (program 
on another desktop causing graphical glitches) does not occur here. 
AMD64 with an ATI Radeon 4870 here.  KDE 4 effects are on.





Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Dirk Heinrichs
Am Mittwoch, 6. Mai 2009 21:51:55 schrieb maxim wexler:

 Still panics

Sure, because of CONFIG_USB_[EOUW]HCI_HCD=m. If you want to boot from USB, 
kernel needs to have a means to access your USB device. Don't know if that 
matters, but I would also enable some/all sub-options of USB-Storage.

HTH...

Dirk


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


Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Dirk Heinrichs
Am Mittwoch, 6. Mai 2009 22:41:54 schrieb Masood Ahmed:
 maxim wexler bliss...@yahoo.com writes:
  Are you
  using an initrd?
 
  No, never used one on a gentoo box before. That's a fedora thing, isn't
  it?

 Nope! Its not distribution specific. It's a kernel feature.

But it's up to the distribution to use it.

Bye...

Dirk


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


Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Saphirus Sage

I've never managed to successfully boot a gentoo laptop without initrd.

On May 7, 2009, at 12:37 PM, Dirk Heinrichs dirk.heinri...@online.de  
wrote:



Am Mittwoch, 6. Mai 2009 22:41:54 schrieb Masood Ahmed:

maxim wexler bliss...@yahoo.com writes:

Are you
using an initrd?


No, never used one on a gentoo box before. That's a fedora thing,  
isn't

it?


Nope! Its not distribution specific. It's a kernel feature.


But it's up to the distribution to use it.

Bye...

   Dirk




Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Dirk Heinrichs
Am Donnerstag, 7. Mai 2009 18:48:15 schrieb Saphirus Sage:

 I've never managed to successfully boot a gentoo laptop without initrd.

Then you're doing something wrong. I boot mine without, even with encrypted / 
on logical volume.

Bye...

Dirk


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


[gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread maxim wexler

Hi group,

Will somebody please explain this:

kyzyl heathen # emerge -afv klibc
These are the packages that would be fetched, in order:
Calculating dependencies... done!
[ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
Total: 1 package (1 new), Size of downloads: 48,765 kB
Would you like to fetch the source files for these packages? [Yes/No] yes

 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
--10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
   = `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
...

Whatever portage is fetching is turning into something I didn't order. I 
checked in distfiles and sure enough, there's no klibc* but a growing 
linux-2.6.26.tar.bz2. Weird.

Maxim


  __
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers and share what you know at http://ca.answers.yahoo.com



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Boris Fersing
On Thu, May 7, 2009 at 18:59, maxim wexler bliss...@yahoo.com wrote:

 Hi group,

Hi,

 Will somebody please explain this:

 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N    ] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes

 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
           = `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...

 Whatever portage is fetching is turning into something I didn't order. I 
 checked in distfiles and sure enough, there's no klibc* but a growing 
 linux-2.6.26.tar.bz2. Weird.

I checked the ebuild and it seems that klibc needs the kernel sources to build.

Nothing wrong with portage ;)

regards,

Boris.

 Maxim


      __
 Ask a question on any topic and get answers from real people. Go to Yahoo! 
 Answers and share what you know at http://ca.answers.yahoo.com





-- 
42



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Daniel Pielmeier
maxim wexler schrieb am 07.05.2009 18:59:
 Hi group,
 
 Will somebody please explain this:
 
 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes
 
 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
= `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...
 
 Whatever portage is fetching is turning into something I didn't order. I 
 checked in distfiles and sure enough, there's no klibc* but a growing 
 linux-2.6.26.tar.bz2. Weird.

Well you did not order it but the ebuild. klibc needs this version of
the linux kernel.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Dirk Heinrichs
Am Donnerstag, 7. Mai 2009 18:59:54 schrieb maxim wexler:

 Whatever portage is fetching is turning into something I didn't order.

Yes, you did. Just guess where the k in klibc comes from?

Bye...

Dirk


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


Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 11:59 AM, maxim wexler bliss...@yahoo.com wrote:

 Hi group,

 Will somebody please explain this:

 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes

 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
   = `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...

 Whatever portage is fetching is turning into something I didn't order. I 
 checked in distfiles and sure enough, there's no klibc* but a growing 
 linux-2.6.26.tar.bz2. Weird.

Nothing is wrong. That file is required for klibc. From the ebuild notes:

 NOTES:
 ==
 We need to bring in the kernel sources seperately
 Because they have to be configured in a way that differs from the copy in
 /usr/src/. The sys-kernel/linux-headers are too stripped down to use
 unfortunetly.
 This will be able to go away once the klibc author updates his code
 to build again the headers provided by the kernel's 'headers_install' target.



Re: [gentoo-user] A networking question...

2009-05-07 Thread Steve

Anthony Metcalf wrote:
*That* depends on the exact specifics of what he is/isn't allowed to 
be showing.They may not even want the service to show as 
existing at that address for whatever reason.


Thanks for all your discussion...  I'll try to clarify - the PPP over 
SSH approach does seem to offer the best compromise.


I've a development site which hosts https and http services for existing 
applications both remotely and locally.  I'm developing an entirely new 
https service under Apache and want to be absolutely sure that I get no 
unexpected interactions between configurations for live services and 
the experimental in-development service - and I definitely don't want a 
random member of the public stumbling across the in-development site - 
which might expose unacceptable vulnerabilities as rough-cuts of code 
are trialled.


It is entirely acceptable for any host on my LAN to access the 
in-development service.  I want to allow collaborators to access the 
in-development service remotely over a SSH tunnel from their LAN, too 
(where I'm also not concerned about abuse...)


The snag I'm finding at the moment I'm sure I'll overcome... and relates 
to access from my LAN.  While I can sort-of see how to establish a new 
device with a new IP address on the remote LAN (with SSH and pppd) I'm 
not sure how to establish a second IP address for my single Ethernet 
adaptor to make this work on my LAN (though I'm sure it is do-able...)


I'm also curious to discover if there is a neat Gentooish way to 
establish my two instances of Apache.  I'm broadly familiar to doing 
this a hackish way - but I'd prefer it plays nicely with any emerge updates.





[gentoo-user] bind chrooting: mount permission denied...

2009-05-07 Thread Jarry

Hi,

I just emerged bind and at the end I tried to set-up chroot
for it just as it is adviced in messages:


# emerge --config '=net-dns/bind-9.4.3_p2'
Configuring pkg...
*
* Setting up the chroot directory...mount: permission denied
Done.


Where can I find that --config script to have a look at it
and to find out what is bind actually trying to mount?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread maxim wexler


  Whatever portage is fetching is turning into something
 I didn't order. I checked in distfiles and sure enough,
 there's no klibc* but a growing linux-2.6.26.tar.bz2.
 Weird.
 
 Nothing is wrong. That file is required for klibc. From the
 ebuild notes:

Yes, I saw that too, but 

1) why doesn't it list it from the start? 
2) the 2.6.28 source is already in my box, and it wants the 26? 

Oh well, there goes my phone line for 5 more hrs sob!

mw





  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Alan McKinnon
On Thursday 07 May 2009 21:07:57 maxim wexler wrote:
   Whatever portage is fetching is turning into something
 
  I didn't order. I checked in distfiles and sure enough,
  there's no klibc* but a growing linux-2.6.26.tar.bz2.
  Weird.
 
  Nothing is wrong. That file is required for klibc. From the
  ebuild notes:

 Yes, I saw that too, but

 1) why doesn't it list it from the start?

Q: How many packages have you ever installed that have multiple SRC_URIs and 
portage has given you a list of them up front?

A: None. You need emerge -pvf for that

 2) the 2.6.28 source is already in my box, and it wants the 26?

Read the ebuild notes. It fetches 26 because the ebuild says it must fetch 26, 
not any old version you feel like.

Why 26 specifically? Well, headers can change between versions. Obviously, 
either a) the developer's code will only build against that particular version 
or b) the developer feels that's the safest version.

It's all right there in the notes - the very ones you chose the snip out of 
your reply..

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: gentoo older versions

2009-05-07 Thread Mark Shields
On Sat, May 2, 2009 at 1:23 PM, William Hubbs willi...@gentoo.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sat, May 02, 2009 at 10:14:45AM -0700, Nitin Kanaskar wrote:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 Gentoo, as a distribution, is versionless.  The 2004/2005 you are
 referring to are versions of our release media.  What you would have to
 do is find out which packages and which versions of the packages you
 want to work with and see if we still have them in the tree.

 William
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (GNU/Linux)

 iEYEARECAAYFAkn8gawACgkQblQW9DDEZThqXwCgs9ZSKvDZbRgd9bzmDxe9wA36
 ccUAoIrd1uKpHzEvlRXRbBEzearyYKYS
 =cPF9
 -END PGP SIGNATURE-



That isn't entirely accurate.  If you can get a livecd, or a minimal
cd + package cd (distfiles), and just not upgrade portage, he would be
able to use it fine.

-- 
- Mark Shields



Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Alan McKinnon
On Thursday 07 May 2009 18:48:15 Saphirus Sage wrote:
 I've never managed to successfully boot a gentoo laptop without initrd.

I've never managed to successfully boot a gentoo laptop with initrd.

initrd's are there for the case where the distro builder does not know what 
the hardware is beforehand. Like binary distros - they must boot of almost 
anything so all modules must be detected and loaded at boot time.

Gentoo, almost by definition, is used in cases where the builder does know 
what the hardware is - [s]he usually owns it. So you can dispense with initrd 
and simply compile in the modules required to boot.

There's always exceptions of course - booting off a soft-raid volume, Sabayon, 
building one master copy of gentoo to use throughout your organization with a 
range of hardware.

And of course there's always our very own elephant in the room - genkernel.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] bind chrooting: mount permission denied...

2009-05-07 Thread Mark Shields
On Thu, May 7, 2009 at 2:43 PM, Jarry mr.ja...@gmail.com wrote:
 Hi,

 I just emerged bind and at the end I tried to set-up chroot
 for it just as it is adviced in messages:

 
 # emerge --config '=net-dns/bind-9.4.3_p2'
 Configuring pkg...
 *
 * Setting up the chroot directory...mount: permission denied
 Done.
 

 Where can I find that --config script to have a look at it
 and to find out what is bind actually trying to mount?

 Jarry

 --
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.




May be obvious, but are you running the command as root/sudo?

-- 
- Mark Shields



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 2:07 PM, maxim wexler bliss...@yahoo.com wrote:


  Whatever portage is fetching is turning into something
 I didn't order. I checked in distfiles and sure enough,
 there's no klibc* but a growing linux-2.6.26.tar.bz2.
 Weird.

 Nothing is wrong. That file is required for klibc. From the
 ebuild notes:

 Yes, I saw that too, but

 1) why doesn't it list it from the start?
 2) the 2.6.28 source is already in my box, and it wants the 26?

 Oh well, there goes my phone line for 5 more hrs sob!

 mw

It did include it in the total size estimate it gave in the first
output (48,765 kB). Your confusion may be from this: it is not
emerging a kernel package, it is simply downloading the kernel sources
as part of the klibc package.



Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Dirk Heinrichs
Am Donnerstag, 7. Mai 2009 21:37:39 schrieb Alan McKinnon:

 There's always exceptions of course - booting off a soft-raid volume

I doubt that :-)

Bye...

Dirk


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


Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Alan McKinnon
On Thursday 07 May 2009 22:46:59 Dirk Heinrichs wrote:
 Am Donnerstag, 7. Mai 2009 21:37:39 schrieb Alan McKinnon:
  There's always exceptions of course - booting off a soft-raid volume

 I doubt that :-)

Mirrored - no problem. But how else would you boot off a striped / with /boot 
*not* on a separate partition? 

Or does grub understand linux raid these days?


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: KDE4 desktops interference

2009-05-07 Thread Andrew Gaydenko
On Thursday 07 May 2009 19:50:19 you wrote:
 Say, on desktop 1 I have started konsole with long emerging of something
 (i.e. konsole window is changing continuously). At the same time I have
 started supertuxkart for my son on the desktop 2. The game window has black
 blinking rectangular with the same position and size as the konsole window
 (canvas itself) has. The same effect takes place with replacing active
 konsole with. say, firefox download window (progress bar and text are
 blinking).

 It iseems I have some gl tuning to perform. ~amd64 and intel video card are
 in use...

More simple and more exciting :-) - just have started glxgears and switched a 
desktop - glxgears' canvas is visible on any desktop!!



Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Volker Armin Hemmann
On Donnerstag 07 Mai 2009, Alan McKinnon wrote:
 On Thursday 07 May 2009 22:46:59 Dirk Heinrichs wrote:
  Am Donnerstag, 7. Mai 2009 21:37:39 schrieb Alan McKinnon:
   There's always exceptions of course - booting off a soft-raid volume
 
  I doubt that :-)

 Mirrored - no problem. But how else would you boot off a striped / with
 /boot *not* on a separate partition?

 Or does grub understand linux raid these days?

well, you just put boot on a seperate partition. is there any good reason not 
to do so?




[gentoo-user] Re: KDE4 desktops interference

2009-05-07 Thread Nikos Chantziaras

Andrew Gaydenko wrote:

On Thursday 07 May 2009 19:50:19 you wrote:

Say, on desktop 1 I have started konsole with long emerging of something
(i.e. konsole window is changing continuously). At the same time I have
started supertuxkart for my son on the desktop 2. The game window has black
blinking rectangular with the same position and size as the konsole window
(canvas itself) has. The same effect takes place with replacing active
konsole with. say, firefox download window (progress bar and text are
blinking).

It iseems I have some gl tuning to perform. ~amd64 and intel video card are
in use...


More simple and more exciting :-) - just have started glxgears and switched a 
desktop - glxgears' canvas is visible on any desktop!!


OK, that's definitely a driver problem.  It seems the driver does not 
support accelerated 3D while compositing (Desktop Effects) is enabled.





Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Alan McKinnon
On Thursday 07 May 2009 23:00:06 Volker Armin Hemmann wrote:
 On Donnerstag 07 Mai 2009, Alan McKinnon wrote:
  On Thursday 07 May 2009 22:46:59 Dirk Heinrichs wrote:
   Am Donnerstag, 7. Mai 2009 21:37:39 schrieb Alan McKinnon:
There's always exceptions of course - booting off a soft-raid volume
  
   I doubt that :-)
 
  Mirrored - no problem. But how else would you boot off a striped / with
  /boot *not* on a separate partition?
 
  Or does grub understand linux raid these days?

 well, you just put boot on a seperate partition. is there any good reason
 not to do so?

No, of course not :-)

But I'm not talking about me. Wandering around the company I find it very 
common for inexperienced admins to install Red Hat on their servers with 
everything on one file system and both internal drives mirrored with Linux 
raid.

I don't think that's especially clever. But Red Hat's installer lets you do 
it, and for that you need an initrd. Besides, we're talking about what's 
possible, whether it's good or bad isn't part of the topic.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Neil Bothwick
On Thu, 7 May 2009 23:16:27 +0200, Alan McKinnon wrote:

 But I'm not talking about me. Wandering around the company I find it
 very common for inexperienced admins to install Red Hat on their
 servers with everything on one file system and both internal drives
 mirrored with Linux raid.
 
 I don't think that's especially clever. But Red Hat's installer lets
 you do it, and for that you need an initrd.

Not if they're RAID1, nor do you need a separate /boot. GRUB can load
itself and the kernel from either of the disks and the kernel will then
assemble the RAID, so you can pass root=/dev/md0 to the kernel


-- 
Neil Bothwick

If your VCR still flashes 12:00 - then Linux is not for you.


signature.asc
Description: PGP signature


Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Alan McKinnon
On Thursday 07 May 2009 23:34:17 Neil Bothwick wrote:
 On Thu, 7 May 2009 23:16:27 +0200, Alan McKinnon wrote:
  But I'm not talking about me. Wandering around the company I find it
  very common for inexperienced admins to install Red Hat on their
  servers with everything on one file system and both internal drives
  mirrored with Linux raid.
 
  I don't think that's especially clever. But Red Hat's installer lets
  you do it, and for that you need an initrd.

 Not if they're RAID1, nor do you need a separate /boot. GRUB can load
 itself and the kernel from either of the disks and the kernel will then
 assemble the RAID, so you can pass root=/dev/md0 to the kernel

Silly me. I said mirrored, I meant striped

Ever since day 1, when I need to use those words or the RAID level numbers, I 
can't recall which is which. So, I usually get it wrong.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] A networking question...

2009-05-07 Thread Mick
On Thursday 07 May 2009, Steve wrote:
 Anthony Metcalf wrote:
  *That* depends on the exact specifics of what he is/isn't allowed to
  be showing.They may not even want the service to show as
  existing at that address for whatever reason.

 Thanks for all your discussion...  I'll try to clarify - the PPP over
 SSH approach does seem to offer the best compromise.

 I've a development site which hosts https and http services for existing
 applications both remotely and locally.  I'm developing an entirely new
 https service under Apache and want to be absolutely sure that I get no
 unexpected interactions between configurations for live services and
 the experimental in-development service - and I definitely don't want a
 random member of the public stumbling across the in-development site -
 which might expose unacceptable vulnerabilities as rough-cuts of code
 are trialled.

Have your development https service set up as a virtual host on a webroot of 
your choice, listening to a random port and also set up user authentication 
for the webroot fs.

In this way, whether accessed via the Internet or LAN, visitors will need to 
know the port to connect to and will also have to provide suitable 
credentials.  You can even control access to parts of the development https 
fs using location tags to define them and setting different user defined 
access to them.  If you use AuthDigest you can also set separate realms if 
the fs is extensive and access requirements complex.

 It is entirely acceptable for any host on my LAN to access the
 in-development service.  I want to allow collaborators to access the
 in-development service remotely over a SSH tunnel from their LAN, too
 (where I'm also not concerned about abuse...)

For collaboration setting DAV on is probably a better option as it uses 
lockfiles and won't have one developer overwritting (un)wittingly changes 
made by others.

 The snag I'm finding at the moment I'm sure I'll overcome... and relates
 to access from my LAN.  While I can sort-of see how to establish a new
 device with a new IP address on the remote LAN (with SSH and pppd) I'm
 not sure how to establish a second IP address for my single Ethernet
 adaptor to make this work on my LAN (though I'm sure it is do-able...)

An adaptor can have more than one public IP address (multi-homing) and you can 
use something like: ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0 up to 
set them up (increment eth0:1, eth0:2, etc accordingly).  However, if your 
SSL vhost is listening on a random port you don't need binding of many 
addresses to one NIC.  You can use the same ip address.

 I'm also curious to discover if there is a neat Gentooish way to
 establish my two instances of Apache.  I'm broadly familiar to doing
 this a hackish way - but I'd prefer it plays nicely with any emerge
 updates.

Other than vhost I guest you can run a second instance by reading section 5 
here (but I'm not sure you need to do that anyway):

http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml
-- 
Regards,
Mick


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


[gentoo-user] Cursor keys stopped working in VMware workstation

2009-05-07 Thread Jim Cunning
I have been using VMware workstation V. 5.5.9 and a Logitech wireless keyboard 
for some time.  Today I somehow mistyped a Ctrl-something sequence while in 
the VM window, meaning to enter it elsewhere instead of the VM.  Now, the 
cursor keys between the main keys and the keypad have stopped working 
correctly.  Most do nothing, but the down arrow key causes Windows to raise 
the Start menu, as if I had pressed the windows key near left-alt.

The cursor movement keys on the keypad still work, with numlock off.  I have 
tried restarting windows, restarting VMware workstation, restarting the X 
(KDE) session, and rebooting the computer.  The only thing I haven't done is 
a complete power off/on.

All cursor keys work fine in non-VMware applications, so I suspect VMware 
and/or Windows, but I've been wrong blaming MS or VM before, so..

Does anyone have a clue what might be wrong, and how to fix this?
Thanks,
-- 
Jim


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


[gentoo-user] WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name

2009-05-07 Thread Jorge Morais
When starting evince from a terminal, I get a message like this:
** (evince:3597): WARNING **: Failed to create dbus proxy for 
org.gnome.SettingsDaemon: Could not get owner of name 
'org.gnome.SettingsDaemon': no such name

3597 is evince's pid.

Does anybody know what causes this?
Should I worry about this?

Some info:

$ emerge -qpv evince
[ebuild   R   ] app-text/evince-2.24.2  USE=dbus tiff -debug -djvu -doc -dvi 
-gnome-keyring -nautilus -t1lib

$ emerge --info  emerge-output.txt
emerge-output.txt:

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.1.2, 
glibc-2.8_p20080602-r1, 2.6.27.22 i686)
=
System uname: Linux-2.6.27.22-i686-AMD_Athlon-tm-_XP_2600+-with-glibc2.0
Timestamp of tree: Tue, 05 May 2009 12:45:02 +
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python: 2.5.4-r2
dev-util/cmake:  2.6.2-r1
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d 
/etc/terminfo /etc/udev/rules.d
CXXFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer
DISTDIR=/usr/local/slowpart/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--nospinner
FEATURES=collision-protect distlocks fixpackages parallel-fetch protect-owned 
sandbox sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://ftp.las.ic.unicamp.br/pub/gentoo/ 
http://cudlug.cudenver.edu/gentoo http://mirrors.usu.edu/mirrors/gentoo/ 
http://gentoo.osuosl.org/ http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/;
LANG=pt_BR
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu
LINGUAS=en
MAKEOPTS=-j2
PKGDIR=/usr/local/slowpart/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/usr/local/slowpart/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/jorgeportage
SYNC=rsync://rsync.samerica.gentoo.org/gentoo-portage
USE=3dnow 3dnowext X a52 aac aalib acpi alsa aotuv bash-completion bluetooth 
branding bzip2 cairo cdio cdr cli cracklib dbus dvd dvdr dvdread emacs emboss 
encode evo exif fam ffmpeg firefox flac fortran gif glibc-omitfp gnuplot gnutls 
gpm gstreamer gzip-el hddtemp iceweasel iconv imap isdnlog jpeg libcaca 
libsamplerate logrotate lzma mad matroska midi mikmod mmx mmxext mng moznopango 
mp3 mpeg mplayer mudflap ncurses network-cron nptl nptlonly nsplugin offensive 
ogg opengl openmp pam pcre pdf png ppds pppd python qt3support quicktime 
readline reflection sdl session sox speex spell spl sse ssl svg symlink sysfs 
tcpd theora tiff toolkit-scroll-bars truetype unicode usb v4l2 vorbis x264 x86 
xml xorg xosd xulrunner xv zlib
commentLINE BROKEN BECAUSE CLAWS-MAIL WARNED THE LINE WAS TOO LONG/comment
 ALSA_CARDS=cmipci 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 ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev 
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text LINGUAS=en USERLAND=GNU VIDEO_CARDS=nv vesa
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, 
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ emerge -qpev evince  emerge-output.txt
emerge-output.txt : 

[ebuild   R   ] sys-apps/portage-2.1.6.11  USE=-build -doc -epydoc (-selinux) 
LINGUAS=-pl 
[ebuild   R   ] sys-apps/sed-4.1.5-r1  USE=-nls -static 
[ebuild   R   ] sys-libs/zlib-1.2.3-r1 
[ebuild   R   ] sys-devel/gnuconfig-20080928 
[ebuild   R   ] dev-libs/expat-2.0.1-r1 
[ebuild   R   ] sys-devel/flex-2.5.35  USE=-nls -static 
[ebuild   R   ] virtual/libiconv-0 
[ebuild   R   ] app-misc/pax-utils-0.1.19  USE=-caps 
[ebuild   R   ] sys-devel/automake-wrapper-3-r1 
[ebuild   R   ] app-arch/bzip2-1.0.5-r1  USE=-static 
[ebuild   R   ] sys-devel/autoconf-wrapper-6 
[ebuild   R   ] sys-devel/gcc-config-1.4.0-r4 
[ebuild   R   ] dev-libs/gmp-4.2.4  USE=-nocxx 

RE: [gentoo-user] Cursor keys stopped working in VMware workstation

2009-05-07 Thread Adam Carter
 I have been using VMware workstation V. 5.5.9 and a Logitech
 wireless keyboard for some time.  Today I somehow mistyped a Ctrl-something
 sequence while in the VM window, meaning to enter it elsewhere instead of the
 VM.  Now, the cursor keys between the main keys and the keypad have stopped 
 working
 correctly.  Most do nothing, but the down arrow key causes
 Windows to raise the Start menu, as if I had pressed the windows key near 
 left-alt.

 The cursor movement keys on the keypad still work, with
 numlock off.  I have tried restarting windows, restarting VMware workstation,
 restarting the X (KDE) session, and rebooting the computer.  The only thing I
 haven't done is a complete power off/on.

 All cursor keys work fine in non-VMware applications, so I
 suspect VMware and/or Windows, but I've been wrong blaming MS or VM before, 
 so..

Interesting - the same thing happened to me a couple of days ago. I tried a 
second Windows guest and it had the same problem, so it appears to affect all 
guest OSes. FWIW I'm running 2.6.28-r5, xorg 1.5.3 with latest stable vmware 
server (1.0.8?).



Re: [gentoo-user] Re: gentoo older versions

2009-05-07 Thread Nitin Kanaskar
I may need more time for doing this -
currently for time constraint i have switched
over to some other distro.
Thanks for the info Mark.

On Thu, May 7, 2009 at 12:37 PM, Mark Shields laebsh...@gmail.com wrote:
 On Sat, May 2, 2009 at 1:23 PM, William Hubbs willi...@gentoo.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sat, May 02, 2009 at 10:14:45AM -0700, Nitin Kanaskar wrote:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 Gentoo, as a distribution, is versionless.  The 2004/2005 you are
 referring to are versions of our release media.  What you would have to
 do is find out which packages and which versions of the packages you
 want to work with and see if we still have them in the tree.

 William
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (GNU/Linux)

 iEYEARECAAYFAkn8gawACgkQblQW9DDEZThqXwCgs9ZSKvDZbRgd9bzmDxe9wA36
 ccUAoIrd1uKpHzEvlRXRbBEzearyYKYS
 =cPF9
 -END PGP SIGNATURE-



 That isn't entirely accurate.  If you can get a livecd, or a minimal
 cd + package cd (distfiles), and just not upgrade portage, he would be
 able to use it fine.

 --
 - Mark Shields





Re: [gentoo-user] Cursor keys stopped working in VMware workstation

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 5:35 PM, Jim Cunning jcunn...@cunning.ods.org wrote:
 I have been using VMware workstation V. 5.5.9 and a Logitech wireless keyboard
 for some time.  Today I somehow mistyped a Ctrl-something sequence while in
 the VM window, meaning to enter it elsewhere instead of the VM.  Now, the
 cursor keys between the main keys and the keypad have stopped working
 correctly.  Most do nothing, but the down arrow key causes Windows to raise
 the Start menu, as if I had pressed the windows key near left-alt.

I wonder if you accidentally enabled mouse keys? alt-leftshift-numlock



Re: [gentoo-user] Cursor keys stopped working in VMware workstation

2009-05-07 Thread Mike Mazur
Hi,

On Fri, May 8, 2009 at 6:35 AM, Jim Cunning jcunn...@cunning.ods.org wrote:
 I have been using VMware workstation V. 5.5.9 and a Logitech wireless keyboard
 for some time.  Today I somehow mistyped a Ctrl-something sequence while in
 the VM window, meaning to enter it elsewhere instead of the VM.  Now, the
 cursor keys between the main keys and the keypad have stopped working
 correctly.  Most do nothing, but the down arrow key causes Windows to raise
 the Start menu, as if I had pressed the windows key near left-alt.

I have also experienced this recently when I installed new VMs. I did
some research and found a post on the vmware forums[1]. The solution
for me was to add this line to /etc/vmware-server-console/config:

xkeymap.nokeycodeMap = true

I thought my issue was related to the fact that I'm using
vmware-server-console on my 32-bit Gentoo laptop and trying to send
commands to a 64-bit CentOS VM running on a 64-bit CentOS host on my
LAN. But since you're seeing this issue too with existing VMs, perhaps
it's related to the recent Xorg upgrade?

HTH,
Mike


[1] http://communities.vmware.com/thread/177321



[gentoo-user] CVS ebuild not working: Connection refused

2009-05-07 Thread Grant
The dvda-author-cvs ebuild here:

http://gentoo.zugaina.org/portage/media-sound/dvda-author-cvs/dvda-author-cvs-0.1.ebuild

gives me this:

* Running  cvs -q -f -z1 -d
:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/dvd-audio login
Logging in to :pserver:anonym...@cvs.sourceforge.net:2401/cvsroot/dvd-audio
cvs [login aborted]: connect to
cvs.sourceforge.net(216.34.181.96):2401 failed: Connection refused

Does it look like there may be an easy way to modify the ebuild to fix this?

- Grant



[gentoo-user] no scroll back on eee

2009-05-07 Thread maxim wexler

Hi group,

I checked my kernel config and found that console scrollback is enabled and 
given 64k capacity. Guess that's the default. But the console can't be scrolled 
back a single line. I upped the capcity to 128k, same thing. On the desktop I 
can hold down the shift and up-arrow keys and scroll back from the login to the 
grub prompt. On the eee it just re-cycles the history if I've logged in, prints 
[A[A[A... if not.

Maxim


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.



Re: [gentoo-user] OpenOffice 3.0.0 with dead keys

2009-05-07 Thread Jim Cunning
On Monday 04 May 2009 18:10:50 Saphirus Sage wrote:
 Jim Cunning wrote:
  I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented
  characters (e.g., ´   + e or ^ + a , etc.) I´ve set up KDE keyboard
  layouts and can get the proper characters displayed on console, xterm,
  kmail and other windows, but the dead key combinations in OpenOffice are
  simply dead--no characters produced at all.  When switching back to the
  US layout without dead keys, the same key presses to OpenOffice produce
  two characters, as one would expect.
 
  I do this all the time with OpenOffice on my laptop with openSUSE 10.3. 
  Is there something I´ve not setup correctly on my gentoo system?

 Did you remember to compile OpenOffice with LINGUAS=fr? May be
 something to consider adding to your make.conf to get around
 language/localization issues.

I'm not sure that's what I need.  I would like OpenOffice to be in English, 
not French, but do want to be able to enter accented characters as used in 
French, German, etc., when I select the us-intl keyboard layout.  

Where can I get documentation on the environment variables OpenOffice build 
uses, and how OpenOffice uses alternate keyboard layouts?  I've googled, but 
nothing I've encountered describes how to avoid my situation.
-- 
Jim


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