[gentoo-ppc-user] Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL

2009-06-10 Thread Johannes Geiss
Hi there,

I updated my xorg-server to the latest version 1.5.3-r6 and now my X11
performance for OpenGL (Mesa 7.3-r1) is bad and has wrong colours (eg.
glxgears).

grep -e \[drm\] Xorg.0.log

(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEON(0): [drm] framebuffer handle = 0xc000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [drm] register handle = 0x2900
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] failure adding irq handler, there is a device
already using that irq
[drm] falling back to irq-free operation
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf1076000 at
0x48024000
(II) RADEON(0): [drm] Closed DRM master.

grep -e ^(EE) Xorg.0.log

(EE) Failed to load module fbdev (module does not exist, 0)
(EE) Failed to load module vesa (module does not exist, 0)
(EE) AIGLX error: drmOpenOnce failed (Operation not permitted)
(EE) AIGLX: reverting to software rendering
(EE) PreInit returned NULL for MOSIC  SPEED-LINK Competition Pro
(EE) config/hal: NewInputDeviceRequest failed
(EE) PreInit returned NULL for MOSIC  USB 2A4K  GamePad
(EE) config/hal: NewInputDeviceRequest failed

It seems to be a problem with AIGLX (drmOpenOnce failed). But I have

Section DRI
Mode 0666
EndSection

and

Option  BusType   PCI

in my xorg.conf

Does anybody have a suggestion?

Thanks for any help
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-


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


[gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread James Homuth
Hello all,
 
First off I'll admit to not knowing as much as I should about my system, and
am hoping to correct that as I go (that's part of the reason I'm actually
doing it this way). I'm trying to set up X on my system, and am not entirely
sure which video card I have. I've already checked out lspci and lsmod, but
nothing that appears, at least to me, to be specific to my video card jumps
out at me. I accept that it may not have been compiled into the kernel,
which is actually a lot of why I'm posting here. If anyone can lend a hand
in this general area, that'd be greatly appreciated. I did do some looking
on google, but didn't find a whole lot beyond folks just guessing and hoping
they got it right. Sorry if this comes off as far too newbie-ish for this
list, but I am quite new to this aspect of linux. Again, thank you in
advance for any help you can provide.


[gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread Nikos Chantziaras

On 06/10/2009 09:50 AM, James Homuth wrote:


Hello all,
First off I'll admit to not knowing as much as I should about my system,
and am hoping to correct that as I go (that's part of the reason I'm
actually doing it this way). I'm trying to set up X on my system, and am
not entirely sure which video card I have.


You open the case of the PC, remove the graphics card and take a good 
look at it :P





Re: [gentoo-user] Re: Trying SRC_URI first during fetching

2009-06-10 Thread Neil Bothwick
On Wed, 10 Jun 2009 02:36:04 +0300, Nikos Chantziaras wrote:

 Understandable, but my problem lies in ebuild digest of my own
 ebuilds and ebuilds of third-party overlays.  Along the URLs tried by
 portage is one that seems to need over a minute to reply with 401 not
 found. This is highly annoying.  I would want to try SRC_URI in those
 cases first.

With your own ebuilds there's no point in them trying to contact the
mirrors, so put RESTRICT=nomirror in the ebuild.


-- 
Neil Bothwick

Criminal Lawyer is a redundancy.


signature.asc
Description: PGP signature


RE: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Adam Carter
lspci | grep VGA

Or if that doesn't work

lshw -class display




Re: [gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Neil Bothwick
On Tue, 09 Jun 2009 20:52:26 -0500, Harry Putnam wrote:

 Yes,  just the first few `blah   [ok]' lines... maybe 3.
 
  Assuming that's the scenario, boot with your install media, enter the
  chroot, then take a peek at the logs in /var/log.  Hopefully you can
  find
  a hint.
   
 
 In progress on you suggestion now. 
 But no syslog is running in the chroot.(is it?)  But still looking
 around. 

Have you got rc_logger=YES in /etc/rc.conf? If so, look
at /var/log/rc.log.


-- 
Neil Bothwick

Daddy? What's this little red button for?


signature.asc
Description: PGP signature


[gentoo-user] Re: Trying SRC_URI first during fetching

2009-06-10 Thread Nikos Chantziaras

On 06/10/2009 10:11 AM, Neil Bothwick wrote:

On Wed, 10 Jun 2009 02:36:04 +0300, Nikos Chantziaras wrote:


Understandable, but my problem lies in ebuild digest of my own
ebuilds and ebuilds of third-party overlays.  Along the URLs tried by
portage is one that seems to need over a minute to reply with 401 not
found. This is highly annoying.  I would want to try SRC_URI in those
cases first.


With your own ebuilds there's no point in them trying to contact the
mirrors, so put RESTRICT=nomirror in the ebuild.


Thanks.  That's pretty much what I was looking for.




RE: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread James Homuth
 

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Nikos Chantziaras
Sent: June 10, 2009 2:55 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Best way to determine what video card I have?

On 06/10/2009 09:50 AM, James Homuth wrote:

 Hello all,
 First off I'll admit to not knowing as much as I should about my 
 system, and am hoping to correct that as I go (that's part of the 
 reason I'm actually doing it this way). I'm trying to set up X on my 
 system, and am not entirely sure which video card I have.

You open the case of the PC, remove the graphics card and take a good look
at it :P


And if you can't see the card, nevermind well enough to open the case? :P




Re: [gentoo-user] Fresh install on reboot endless scrolling text

2009-06-10 Thread Neil Bothwick
On Tue, 09 Jun 2009 19:50:23 -0500, Harry Putnam wrote:

 Mounted the new root and emerged a few things while still chrooted.
 
 It'd be difficult to list quickly since I can't boot it, but the
 highlights are:

You can find this from /var/log/emerge.log, if the install system has
genlop installed, you can get a list with

genlop -l -f /chroot/path/var/log/emerge.log


-- 
Neil Bothwick

How do you know that honesty is the best policy until you have tried
some of the others?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Trying SRC_URI first during fetching

2009-06-10 Thread Neil Bothwick
On Wed, 10 Jun 2009 10:19:11 +0300, Nikos Chantziaras wrote:

  With your own ebuilds there's no point in them trying to contact the
  mirrors, so put RESTRICT=nomirror in the ebuild.  
 
 Thanks.  That's pretty much what I was looking for.

That's what I thought, which is why I posted it when you first asked ;-)


-- 
Neil Bothwick

Top Oxymorons Number 47: Act naturally


signature.asc
Description: PGP signature


RE: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread James Homuth
 

-Original Message-
From: Adam Carter [mailto:adam.car...@optus.com.au] 
Sent: June 10, 2009 3:18 AM
To: gentoo-user@lists.gentoo.org
Subject: RE: [gentoo-user] Best way to determine what video card I have?

lspci | grep VGA

Or if that doesn't work

lshw -class display


Lspci worked. Now to figure out how in the hell to get my apparently intel
integrated graphics card to play nice with Gnome+X. Is there a video_card=
option for that? The only examples the docs give are for ATI and Nvidia.
This is a laptop, if it makes any kind of difference.




Re: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Mike Kazantsev
On Wed, 10 Jun 2009 02:50:24 -0400
James Homuth ja...@the-jdh.com wrote:

 I'm trying to set up X on my system, and am not entirely
 sure which video card I have.

These days X is clever enough to choose appropriate driver for you.
I'd suggest to build X with following video drivers: intel radeon nv
nvidia sis via xgi vesa, since that covers 90% (or even more) of modern
built-in video adapters.
Then issue X -configure as root and X will produce appropriate
xorg.conf in /root/xorg.conf.new with all the possible parameters for
your card, so you won't have to figure them out yourself.
You can also remove all the drivers but the one chosen by X and vesa
(in case something breaks or you get a new card) afterwards.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Mike Kazantsev
On Wed, 10 Jun 2009 03:35:58 -0400
James Homuth ja...@the-jdh.com wrote:

 Lspci worked. Now to figure out how in the hell to get my apparently intel
 integrated graphics card to play nice with Gnome+X. Is there a video_card=
 option for that? The only examples the docs give are for ATI and Nvidia.
 This is a laptop, if it makes any kind of difference.

  echo 'VIDEO_CARDS=i810 intel'  /etc/make.conf

(i810 is for older ebuilds only)

This page might also be of some use tou you:
http://en.gentoo-wiki.com/wiki/Intel_GMA

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Dale
James Homuth wrote:
  

 -Original Message-
 From: Adam Carter [mailto:adam.car...@optus.com.au] 
 Sent: June 10, 2009 3:18 AM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] Best way to determine what video card I have?

 lspci | grep VGA

 Or if that doesn't work

 lshw -class display


 Lspci worked. Now to figure out how in the hell to get my apparently intel
 integrated graphics card to play nice with Gnome+X. Is there a video_card=
 option for that? The only examples the docs give are for ATI and Nvidia.
 This is a laptop, if it makes any kind of difference.



   

These are the available options that I know of:

VIDEO_CARDS=nv nvidia -apm -ark -chips -cirrus -cyrix -dummy -epson
-fbdev -fglrx -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga
-neomagic (-newport) -nsc -r128 -radeon -rendition -s3 -s3virge -savage
-siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6)
(-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga
-via -vmware -voodoo

I would start with intel but I think i128 and i740 are Intel as well. 
You may want to enable vesa as a second option.  Sort of a back up to
intel and vesa.  At least you will have some sort of driver while trying
to get the best one working.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread Roy Wright


On Jun 10, 2009, at 2:20 AM, James Homuth wrote:


On 06/10/2009 09:50 AM, James Homuth wrote:


Hello all,
First off I'll admit to not knowing as much as I should about my
system, and am hoping to correct that as I go (that's part of the
reason I'm actually doing it this way). I'm trying to set up X on my
system, and am not entirely sure which video card I have.


You open the case of the PC, remove the graphics card and take a  
good look

at it :P


And if you can't see the card, nevermind well enough to open the  
case? :P


I can testify that this method does not always work.  I had bought a  
name brand
video card, but it turned out to be a generic card that did not have a  
manufacturers

name, logo or even model number on it, not even a sticker.

lshw usually works.  If needed, emerge lshw






Re: [gentoo-user] Finding orphaned libs

2009-06-10 Thread Dale
Mike Kazantsev wrote:
 On Mon, 08 Jun 2009 19:27:39 -0500
 Dale rdalek1...@gmail.com wrote:

   
 Also, be careful when you parse the output of the command. Most of the
 .pyc and .pyo files in the python2.5 directories are byte-compiled
 version that python generated dynamically the first time they are
 used. For example: /Numeric/numeric_version.py was installed by
 the ebuild and thuse qfile tells me it belongs to dev-python/numeric,
 but .../Numeric/numeric_version.pyc is listed as an orphan. While it
 is safe to delete, it will just be regenerated again later, wasting
 computing cycles. 
   
 That's sort of what I was thinking.  It was generated when it was
 started up the first time.  I also noticed some things that I installed
 in the Seamonkey directory too.  Adblock was one of those.
 

 That's not quite correct: .py[co] are generated by emerge right after
 package installaton and these won't come back unless you use these libs
 as root, since python won't have write access to these paths and will
 be byte-compiling each script on-the-fly.

   

All the more reason for me to leave them alone then huh?  ;-)  We all
know what happens to portage when python pukes up last weeks meal.  :/

Dale

:-)  :-) 



[gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread Nikos Chantziaras

On 06/10/2009 10:20 AM, James Homuth wrote:

On 06/10/2009 09:50 AM, James Homuth wrote:

Hello all,
First off I'll admit to not knowing as much as I should about my
system, and am hoping to correct that as I go (that's part of the
reason I'm actually doing it this way). I'm trying to set up X on my
system, and am not entirely sure which video card I have.


You open the case of the PC, remove the graphics card and take a good look
at it :P


And if you can't see the card, nevermind well enough to open the case? :P


Then you must be on a laptop but you didn't say so ;)




RE: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread James Homuth
 

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Nikos Chantziaras
Sent: June 10, 2009 4:05 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Best way to determine what video card I have?

On 06/10/2009 10:20 AM, James Homuth wrote:
 On 06/10/2009 09:50 AM, James Homuth wrote:
 Hello all,
 First off I'll admit to not knowing as much as I should about my 
 system, and am hoping to correct that as I go (that's part of the 
 reason I'm actually doing it this way). I'm trying to set up X on my 
 system, and am not entirely sure which video card I have.

 You open the case of the PC, remove the graphics card and take a good 
 look at it :P


 And if you can't see the card, nevermind well enough to open the case? 
 :P

Then you must be on a laptop but you didn't say so ;)


Well, I am. But I also can't see, as in can't see. So that wouldn't really
be relevant anyway.




RE: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread James Homuth
 

-Original Message-
From: Mike Kazantsev [mailto:mk.frag...@gmail.com] 
Sent: June 10, 2009 3:41 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Best way to determine what video card I have?

On Wed, 10 Jun 2009 03:35:58 -0400
James Homuth ja...@the-jdh.com wrote:

 Lspci worked. Now to figure out how in the hell to get my apparently 
 intel integrated graphics card to play nice with Gnome+X. Is there a 
 video_card= option for that? The only examples the docs give are for ATI
and Nvidia.
 This is a laptop, if it makes any kind of difference.

  echo 'VIDEO_CARDS=i810 intel'  /etc/make.conf

(i810 is for older ebuilds only)

Then just re-emerge X, I presume?




Re: [gentoo-user] Finding orphaned libs

2009-06-10 Thread Mike Kazantsev
On Wed, 10 Jun 2009 02:53:52 -0500
Dale rdalek1...@gmail.com wrote:

  That's not quite correct: .py[co] are generated by emerge right after
  package installaton and these won't come back unless you use these libs
  as root, since python won't have write access to these paths and will
  be byte-compiling each script on-the-fly.
 
 All the more reason for me to leave them alone then huh?  ;-)  We all
 know what happens to portage when python pukes up last weeks meal.  :/

Nah, you can't crash python by stealing it's bytecode, everything will
work, just won't have a nice warm-start.

Of course, that's not a good thing, so emerge compiles them on purpose,
and unless you really short on space or inodes there's not much point
in removing them.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] slim login manager issues

2009-06-10 Thread Laurent Lejeune
Sebastian Günther wrote:
 * Laurent Lejeune (olo...@gmail.com) [08.06.09 19:19]:
   
 Hi all,

 I'm having some issues with the slim login manager, which suits my very
 basic needs very well, except from those two things:

 * When starting, the keyboard doesn't respond quite well. The
   characters don't show on screen imediately, and sometimes, it gets
   even worse: it freezes for maybe 1-2 seconds, then the first key i
   hit gets stuck, which basically means it repeats that caracter a
   fine dozen of times.
 

 I have that problem, too. But upstream has an even bigger problem: 
 Maintainer needed.

   
 * when i have to restart x, slim doesn't restarts itself up, i'm
   thrown back to basic console login prompt.

 

 https://bugs.gentoo.org/show_bug.cgi?id=261359

   
 Any help greatly appreciated.

 cya.

 

 I think until there is a new maintainer, nothing of this will get fixed 
 anytime soon. :-(

 Sebastian

   
This is a pity since slim suits my needs perfectly except from that.
Anyway, I'm falling back to xdm, which does the job fine but lacks the
eye-candy...




Re: [gentoo-user] slim login manager issues

2009-06-10 Thread Sebastian Günther
* Laurent Lejeune (olo...@gmail.com) [10.06.09 11:49]:

 This is a pity since slim suits my needs perfectly except from that.
 Anyway, I'm falling back to xdm, which does the job fine but lacks the
 eye-candy...

Same with me, but this helped me to a nicer XDM:

http://www.gentoo-wiki.info/XDM/Customization
http://www.pilgerer.org/pw/xdm-multi

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpvGW3RxHl5p.pgp
Description: PGP signature


Re: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Volker Armin Hemmann
On Mittwoch 10 Juni 2009, James Homuth wrote:
 -Original Message-
 From: Mike Kazantsev [mailto:mk.frag...@gmail.com]
 Sent: June 10, 2009 3:41 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Best way to determine what video card I have?

 On Wed, 10 Jun 2009 03:35:58 -0400

 James Homuth ja...@the-jdh.com wrote:
  Lspci worked. Now to figure out how in the hell to get my apparently
  intel integrated graphics card to play nice with Gnome+X. Is there a
  video_card= option for that? The only examples the docs give are for ATI

 and Nvidia.

  This is a laptop, if it makes any kind of difference.

   echo 'VIDEO_CARDS=i810 intel'  /etc/make.conf

 (i810 is for older ebuilds only)

 Then just re-emerge X, I presume?

no, mesa. And install the intel drivers.



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Thanks for the clarification Norman :-)

ok, I removed net.wlan0 so it doesn't start up anymore. My computer booted
up and all the services are working the way they should, however I am
having a problem getting hostapd to start. Here is the error I get when I
tried to start up hostapd...

penguin ~ # /etc/init.d/hostapd start
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
* no access points found
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start
* ERROR: cannot start hostapd as net.wlan0 would not start

It's suppose to be an access point, not scanning for one so do you have
any idea what I should do now?


  

Did you remove wlan0 from the /etc/conf.d/hostapd file?



[gentoo-user] Bluetooth Setup

2009-06-10 Thread dhk
I'm on an amd64 machine.  Ever since I emerged some bluetooth programs 
(from http://www.gentoo.org/doc/en/bluetooth-guide.xml) to set up a 
bluetooth dongle my /var/log/kern.log gets filled up with messages like 
the following.


Jun 10 06:26:51 host2 hci_scodata_packet: hci0 SCO packet for unknown 
connection handle 92


About 330 of these line get written to kern.log a second and eventually 
my /var partition gets filled up.


Even after stopping bluetooth (/etc/init.d/bluetooth stop) these 
messages still get written to the log.


The setup seemed to go well, but I don't have the sdpd process.

When I start bluetooth I get . . .
# /etc/init.d/bluetooth start
 * Starting Bluetooth ...
 * Starting hcid ... [ ok ]
 * Starting rfcomm ...   [ ok ]

The documentation says I should get . . .
# /etc/init.d/bluetooth start
 * Starting Bluetooth ...
 * Starting hcid ... [ ok ]
 * Starting sdpd ... [ ok ]
 * Starting rfcomm ...   [ ok ]

I can find to much about the sdpd process.  What does it do?  Is it 
needed or deprecated?


The two problems I'm having are:
  1) The kern.log filling up which should stop once the setup is 
correct, but until then I'd like to be able to stop whatever is doing it.
  2) The sdpd process, I don't know why it didn't get installed and if 
that's causing me problems.



The documentation to setup bluetooth seemed easy, I don't know why it 
didn't work.


Thanks,
--dhk






Re: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread KH
James Homuth schrieb:

 
 Then you must be on a laptop but you didn't say so ;)
 
 
 Well, I am. But I also can't see, as in can't see. So that wouldn't really
 be relevant anyway.
 
 

Hi,

what laptop do you have? Did you search http://www.linux-laptop.net/ (it
was helpful for me) and (in German) http://tuxmobil.de/mylaptops_de.html ?

Also it might be helpful to post the output of lspci | grep VGA so
someone might just know what to use instead of being forced to guess ;-)

Also I just did a quick search at larry showing there are three
different xf86 intel video drivers:

http://packages.larrythecow.org/?v=pkgc=x11-driverss=xf86-video-i740
http://packages.larrythecow.org/?v=pkgc=x11-driverss=xf86-video-intel
http://packages.larrythecow.org/?v=pkgc=x11-driverss=xf86-video-vermilion

kh



Re: [gentoo-user] Best way to determine what video card I have?

2009-06-10 Thread Neil Bothwick
On Wed, 10 Jun 2009 12:10:27 +0200, Volker Armin Hemmann wrote:

echo 'VIDEO_CARDS=i810 intel'  /etc/make.conf
 
  (i810 is for older ebuilds only)
 
  Then just re-emerge X, I presume?  
 
 no, mesa. And install the intel drivers.

Or emerge -uavDN world and let portage decide what needs to be
(re)installed.


-- 
Neil Bothwick

The considered application of terror is also a form of communication.


signature.asc
Description: PGP signature


[gentoo-user] How to list every installed package?

2009-06-10 Thread Johannes Geiss
Hi there,

how can I list every installed package in Gentoo? The
file /var/lib/portage/world shows some installed packages, but how can I
see all other packages which have been installed automatically?

Thanks for any help
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-


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


Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Justin
Johannes Geiss schrieb:
 Hi there,
 
 how can I list every installed package in Gentoo? The
 file /var/lib/portage/world shows some installed packages, but how can I
 see all other packages which have been installed automatically?
 
 Thanks for any help
 Johannes
eix -I



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Arttu V.
On 6/10/09, Johannes Geiss johannes.ge...@web.de wrote:
 Hi there,

 how can I list every installed package in Gentoo? The
 file /var/lib/portage/world shows some installed packages, but how can I
 see all other packages which have been installed automatically?

qlist

And I often use it with -CISL, but your needs may differ.

-- 
Arttu V.



Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread KH
Johannes Geiss schrieb:
 Hi there,
 
 how can I list every installed package in Gentoo? The
 file /var/lib/portage/world shows some installed packages, but how can I
 see all other packages which have been installed automatically?
 
 Thanks for any help
 Johannes

emerge -pev world



Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Dale
KH wrote:
 Johannes Geiss schrieb:
   
 Hi there,

 how can I list every installed package in Gentoo? The
 file /var/lib/portage/world shows some installed packages, but how can I
 see all other packages which have been installed automatically?

 Thanks for any help
 Johannes
 

 emerge -pev world


   

equery list should work.  It's even in alphabetical order which is neat. 

Dale

:-)  :-) 

P. S.  Ain't it funny that everybody has a different way of doing the
same thing?  And a different tool for each one.



Re: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread Dale
KH wrote:
 Hi,

 what laptop do you have? Did you search http://www.linux-laptop.net/ (it
 was helpful for me) and (in German) http://tuxmobil.de/mylaptops_de.html ?

 Also it might be helpful to post the output of lspci | grep VGA so
 someone might just know what to use instead of being forced to guess ;-)

 Also I just did a quick search at larry showing there are three
 different xf86 intel video drivers:

 http://packages.larrythecow.org/?v=pkgc=x11-driverss=xf86-video-i740
 http://packages.larrythecow.org/?v=pkgc=x11-driverss=xf86-video-intel
 http://packages.larrythecow.org/?v=pkgc=x11-driverss=xf86-video-vermilion

 kh


   

This may help.

http://kmuto.jp/debian/hcl/

I used it a while back when checking on something and it was helpful.

Dale

:-)  :-) 



Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Zhu Sha Zang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale escreveu:
 KH wrote:
 Johannes Geiss schrieb:
  
 Hi there,

 how can I list every installed package in Gentoo? The
 file /var/lib/portage/world shows some installed packages, but how can I
 see all other packages which have been installed automatically?

 Thanks for any help
 Johannes

 emerge -pev world


  

 equery list should work.  It's even in alphabetical order which is neat.

 Dale

 :-)  :-)

 P. S.  Ain't it funny that everybody has a different way of doing the
 same thing?  And a different tool for each one.


eix -I --only-names
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkovu0AACgkQ35zeJy7JhCgcSQCZAQibtD/sypHXHkciXKDu0njI
YC8An0uTIoVQlO9wqzwYQWGuRoVsW1qT
=dpKr
-END PGP SIGNATURE-




Re: [gentoo-user] KVM and no keyboard at start of boot

2009-06-10 Thread Stroller


On 10 Jun 2009, at 00:03, Harry Putnam wrote:

...
My keyboard (through kvm) is not recognized until bootup gets to the
login prompt.  Once there... no problems with keyboard.

If I want to do anything early in boot process, like at grub prompt, I
must keep a keyboard plugged in direct to machine.


If you can't access the BIOS using the KVM then the problem is  
hardware, not with Linux software.



Now using an IOMEGA 4prt `symphany'. All usb.  I guess `Symphany'
because you can switch speaker connections too.


You might try checking BIOS options. Some BIOS have legacy USB modes  
 suchlike. There is a standard for USB keyboards  mice - the BIOS  
might mention HID (Human Interface Devices), which refers to these.


Stroller.



[gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-10 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

[...]

Harry wrote:
 So if I could identify what it is in the kernel that allowes it to
 work at the point where the kernel takes over (login prompt), then
 maybe I could enable that aspect somehow inside an initramfs, and be
 able to have the KVM recognized at the grub prompt by booting with an
 initrd.

Mike answered:
 But it's the grub that loads initrd and linux kernel is actually the one
 using it, not the grub, so you won't get it until you drop out from
 grub already.

Gack... I can't seem to get it straight how it all loads but I see
immediately what you are saying...

 You can try updating grub itself though, 0.X tree ebuilds are accessible
 for both stable and unstable gentoo arch, but there's 1.X and even live
 ebuild masked in the portage tree, prehaps they would be able to work
 with newer hardware?

I'll look into this.

 I also wonder, does BIOS recognize this KVM, can you access it?

How would I access it?




[gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-10 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 If you can't access the BIOS using the KVM then the problem is
 hardware, not with Linux software.

You mean if my keyboard through kvm can't get to bios... yea I see
your point.

I'll try that shortly... currently compiling an older gcc




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

 Okay, the syslog is probably not one of them, so /var/log shouldn't be
 too populated, except for rc.log, which should be enabled specifically
 in /etc/rc.conf (w/ baselayout-2) or /etc/conf.d/rc - look for
 rc_logger line or something similar with older baselayout.

[...]

Thanks for the large array of possible ways to proceed.  Nice tips to
keep handy.

I'm not spending any time on that problem now since its disappeared
when I downgraded kernel version to 2.6.29-r2 instead of -r5.

But these tips look very useful.




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 On Tue, 09 Jun 2009 19:50:23 -0500, Harry Putnam wrote:

 Mounted the new root and emerged a few things while still chrooted.
 
 It'd be difficult to list quickly since I can't boot it, but the
 highlights are:

 You can find this from /var/log/emerge.log, if the install system has
 genlop installed, you can get a list with

 genlop -l -f /chroot/path/var/log/emerge.log

Yeah thanks... I knew that... what I meant by `difficult to list
quickly' was having to boot from install media remount several
partitions onto /mnt/gentoo, then chroot etc etc.

But the problem has disappeared now since downgrading to 2.6.29-r2
kernel and building by hand instead of genkernel.




Re: [gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Neil Bothwick
On Wed, 10 Jun 2009 10:03:37 -0500, Harry Putnam wrote:

  You can find this from /var/log/emerge.log, if the install system has
  genlop installed, you can get a list with
 
  genlop -l -f /chroot/path/var/log/emerge.log  
 
 Yeah thanks... I knew that... what I meant by `difficult to list
 quickly' was having to boot from install media remount several
 partitions onto /mnt/gentoo, then chroot etc etc.

You only need to mount the partition containing /var and you don't need
to chroot.


-- 
Neil Bothwick

WinErr 00B: Inadequate disk space - Free at least 50MB


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-10 Thread Mike Kazantsev
On Wed, 10 Jun 2009 09:56:15 -0500
Harry Putnam rea...@newsguy.com wrote:

 Mike Kazantsev mk.frag...@gmail.com writes:
 
  I also wonder, does BIOS recognize this KVM, can you access it?
 
 How would I access it?

Usually via DEL or F2 keys on boot, as soon as monitor lights up.

Look out for message on the bottom of splash or text screen like press
DEL to enter BIOS, it's there usually displayed somewhere.

If not, I guess it should be described in the manual for the
motherboard, which should be easily accessible on vendor's site,
provided you know the model (at least the series, since there's good
chance it's the same for all of them).

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Albert Hopkins
On Wed, 2009-06-10 at 08:44 -0500, Dale wrote:
 KH wrote:
  Johannes Geiss schrieb:

  Hi there,
 
  how can I list every installed package in Gentoo? The
  file /var/lib/portage/world shows some installed packages, but how can I
  see all other packages which have been installed automatically?
 
  Thanks for any help
  Johannes
  
 
  emerge -pev world
 
 

 
 equery list should work.  It's even in alphabetical order which is neat. 
 
 Dale
 
 :-)  :-) 
 
 P. S.  Ain't it funny that everybody has a different way of doing the
 same thing?  And a different tool for each one.

epm -qGa






Re: [gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Mike Kazantsev
On Wed, 10 Jun 2009 10:01:02 -0500
Harry Putnam rea...@newsguy.com wrote:

 Mike Kazantsev mk.frag...@gmail.com writes:
 
  Okay, the syslog is probably not one of them, so /var/log shouldn't be
  too populated, except for rc.log, which should be enabled specifically
  in /etc/rc.conf (w/ baselayout-2) or /etc/conf.d/rc - look for
  rc_logger line or something similar with older baselayout.
 
 [...]
 
 Thanks for the large array of possible ways to proceed.  Nice tips to
 keep handy.
 
 I'm not spending any time on that problem now since its disappeared
 when I downgraded kernel version to 2.6.29-r2 instead of -r5.

Well, as of today you have an unique chance to push your luck with .30
kernel, since it was just released as stable and already hit the ~tree
in form of vanilla-sources ;)
Guess gentoo-sources should be there in a day or two.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Arttu V.
On 6/10/09, Dale rdalek1...@gmail.com wrote:
 P. S.  Ain't it funny that everybody has a different way of doing the
 same thing?  And a different tool for each one.

No, the suggested commands aren't all even doing the same thing.
Especially emerge -e world is an outlier. On a box with a lazy or a
first time install, learning Gentoo admin it's likely to give a very
different result from most of the others.

As the OP hasn't given a reason or motivation why he needs the package
list, what it is for, we can only make assumptions and throw out wild
guesses.

After all, he might even be after emerge -pv --depclean, as it, too,
sort of prints out pretty much all packages on the system. Not to
mention a few thousand lines of dependency information. :)

-- 
Arttu V.



[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 On Wed, 10 Jun 2009 10:03:37 -0500, Harry Putnam wrote:

  You can find this from /var/log/emerge.log, if the install system has
  genlop installed, you can get a list with
 
  genlop -l -f /chroot/path/var/log/emerge.log  
 
 Yeah thanks... I knew that... what I meant by `difficult to list
 quickly' was having to boot from install media remount several
 partitions onto /mnt/gentoo, then chroot etc etc.

 You only need to mount the partition containing /var and you don't need
 to chroot.

Yeah unless I want to use tools that are not available on (minimal)
install media but are available on my installed os.

But anyway... just rebooting with install media and getting to the
partitions is most of it... but done now and need no more comment.




[gentoo-user] emerging procmail failure

2009-06-10 Thread Harry Putnam
setup:
  kernel-2.6.29-r2
  gcc-4.3.2-r3
procmail is one tool that is absolutely robust and I expected no
trouble whatever emerging it... however the emerge is failing like
as shown below.  I'm not sure what to do about getline.

The only useflags that come up are one I set 
 `mbox' 
and one other
 `-selenix'

[...]
ln ../src/procmail ../new/procmail
i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions   
lockfile.c
i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions   lockfile.o 
exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile 
-Wl,-z,now -Wl,-O1   -lm -lnsl -ldl -lc
ln ../src/lockfile ../new/lockfile
i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions   formail.c
In file included from formail.c:25:
formisc.h:20: error: conflicting types for 'getline'
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here
make[1]: *** [formail.o] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
make: *** [bins] Error 2
 *
 * ERROR: mail-filter/procmail-3.22-r10 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2527:  Called die
 * The specific snippet of code:
 *   emake CC=$(tc-getCC) || die
 *  The die message:
 *   (no error message)
 *

 * If you need support, post the topmost build error, and the call
   stack if relevant.

 * A complete build log is located at
   '/var/tmp/portage/mail-filter/procmail-3.22-r10/temp/build.log'.

 * The ebuild environment file is located at
 *'/var/tmp/portage/mail-filter/procmail-3.22-r10/temp/environment'.




[gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky
I cannot understand whats doing... :(
All day smbd loaded my CPU and now GNOME said me, that I have not free space
on /! Really,
sh-3.2# df -h
Файлова система  Розм  Вик  Дост  Вик% змонтований на
/dev/sda2  28G   28G 0 100% /
udev   10M  192K  9,9M   2% /dev
/dev/sda5  50G   34G   14G  71% /home
/dev/sda6  50G   17G   31G  36% /media/From
/dev/sda7 130G  110G   13G  90% /media/Different
/dev/sdb5 291G  274G  3,1G  99% /media/Large
/dev/sdb6 138G   39G   93G  30% /media/Library
/dev/sdb7 9,7G  5,4G  3,8G  60% /media/Crypt
shm   2,5G 0  2,5G   0% /dev/shm
but if I see on every separate folder, I cannot get 28 GB of loaded space (I
had 15 GB free yesterday).
sh-3.2# du -hs /opt
2,5G /opt
sh-3.2# du -hs /bin
5,7M /bin
sh-3.2# du -hs /dev
192K /dev
sh-3.2# du -hs /root
1,4M /root
sh-3.2# du -hs /tmp
30K /tmp
sh-3.2# du -hs /var
12G /var
sh-3.2# du -hs /boot
35M /boot
sh-3.2# du -hs /etc
11M /etc
sh-3.2# du -hs /lib
35M /lib
sh-3.2# du -hs /mnt
0 /mnt
sh-3.2# du -hs /sbin
5,9M /sbin
sh-3.2# du -hs /sys
0 /sys
The last install is Qt Creator with Qt SDK.
How to clean partition?

Thanks!

-- 
Alexander Pilipovsky aka Engraver


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Justin
Alexander Pilipovsky schrieb:
 I cannot understand whats doing... :(
 All day smbd loaded my CPU and now GNOME said me, that I have not free
 space on /! Really,
 sh-3.2# df -h
 Файлова система  Розм  Вик  Дост  Вик% змонтований на
 /dev/sda2  28G   28G 0 100% /
 udev   10M  192K  9,9M   2% /dev
 /dev/sda5  50G   34G   14G  71% /home
 /dev/sda6  50G   17G   31G  36% /media/From
 /dev/sda7 130G  110G   13G  90% /media/Different
 /dev/sdb5 291G  274G  3,1G  99% /media/Large
 /dev/sdb6 138G   39G   93G  30% /media/Library
 /dev/sdb7 9,7G  5,4G  3,8G  60% /media/Crypt
 shm   2,5G 0  2,5G   0% /dev/shm
 but if I see on every separate folder, I cannot get 28 GB of loaded
 space (I had 15 GB free yesterday).
 sh-3.2# du -hs /opt
 2,5G /opt
 sh-3.2# du -hs /bin
 5,7M /bin
 sh-3.2# du -hs /dev
 192K /dev
 sh-3.2# du -hs /root
 1,4M /root
 sh-3.2# du -hs /tmp
 30K /tmp
 sh-3.2# du -hs /var
 12G /var
 sh-3.2# du -hs /boot
 35M /boot
 sh-3.2# du -hs /etc
 11M /etc
 sh-3.2# du -hs /lib
 35M /lib
 sh-3.2# du -hs /mnt
 0 /mnt
 sh-3.2# du -hs /sbin
 5,9M /sbin
 sh-3.2# du -hs /sys
 0 /sys
 The last install is Qt Creator with Qt SDK.
 How to clean partition?
 
 Thanks!
 
 -- 
 Alexander Pilipovsky aka Engraver

You have something big in /var. Check /var/tmp/portage or /var/log.

Alos test sys-fs/ncdu or similar tools.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Jason Carson
 Jason Carson schrieb:
 Thanks for the clarification Norman :-)

 ok, I removed net.wlan0 so it doesn't start up anymore. My computer
 booted
 up and all the services are working the way they should, however I am
 having a problem getting hostapd to start. Here is the error I get when
 I
 tried to start up hostapd...

 penguin ~ # /etc/init.d/hostapd start
 * Bringing up interface wlan0
 *   Configuring wireless network for wlan0
 *   Scanning for access points
 * no access points found
 *   Failed to configure wireless for wlan0
 * ERROR: net.wlan0 failed to start
 * ERROR: cannot start hostapd as net.wlan0 would not start

 It's suppose to be an access point, not scanning for one so do you have
 any idea what I should do now?



 Did you remove wlan0 from the /etc/conf.d/hostapd file?


No, should I just leave it empty?
INTERFACES=

What about /etc/hostapd/hostapd.conf?
Do I leave it like this...
interface=wlan0
...or remove that line too?




Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky
2009/6/10 Justin jus...@j-schmitz.net

 Alexander Pilipovsky schrieb:
 

 You have something big in /var. Check /var/tmp/portage or /var/log.

 Alos test sys-fs/ncdu or similar tools.


Thanks, it's was /var/log/messages that had 11 GB and was not opened by any
editor.

-- 
Alexander Pilipovsky aka Engraver


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dale
Alexander Pilipovsky wrote:
 I cannot understand whats doing... :(
 All day smbd loaded my CPU and now GNOME said me, that I have not free
 space on /! Really,
 sh-3.2# df -h
 Файлова система  Розм  Вик  Дост  Вик% змонтований на
 /dev/sda2  28G   28G 0 100% /
 udev   10M  192K  9,9M   2% /dev
 /dev/sda5  50G   34G   14G  71% /home
 /dev/sda6  50G   17G   31G  36% /media/From
 /dev/sda7 130G  110G   13G  90% /media/Different
 /dev/sdb5 291G  274G  3,1G  99% /media/Large
 /dev/sdb6 138G   39G   93G  30% /media/Library
 /dev/sdb7 9,7G  5,4G  3,8G  60% /media/Crypt
 shm   2,5G 0  2,5G   0% /dev/shm
 but if I see on every separate folder, I cannot get 28 GB of loaded
 space (I had 15 GB free yesterday).
 sh-3.2# du -hs /opt
 2,5G /opt
 sh-3.2# du -hs /bin
 5,7M /bin
 sh-3.2# du -hs /dev
 192K /dev
 sh-3.2# du -hs /root
 1,4M /root
 sh-3.2# du -hs /tmp
 30K /tmp
 sh-3.2# du -hs /var
 12G /var
 sh-3.2# du -hs /boot
 35M /boot
 sh-3.2# du -hs /etc
 11M /etc
 sh-3.2# du -hs /lib
 35M /lib
 sh-3.2# du -hs /mnt
 0 /mnt
 sh-3.2# du -hs /sbin
 5,9M /sbin
 sh-3.2# du -hs /sys
 0 /sys
 The last install is Qt Creator with Qt SDK.
 How to clean partition?

 Thanks!

 -- 
 Alexander Pilipovsky aka Engraver

If you unmount /home, does any file show up under /home then?  Keep in
mind, if you have files in for example /home then mount a new partition
on /home, the old files are still on the root partition.  It just mount
/home on top of the old file on the root partition.

I'm assuming the /media/* directories are CD, DVD or some other
removable media?  If not, unmount those and check to see if anything is
hiding under there.

Hope this helps.

Dale

:-)  :-) 



Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Dale
Arttu V. wrote:
 On 6/10/09, Dale rdalek1...@gmail.com wrote:
   
 P. S.  Ain't it funny that everybody has a different way of doing the
 same thing?  And a different tool for each one.
 

 No, the suggested commands aren't all even doing the same thing.
 Especially emerge -e world is an outlier. On a box with a lazy or a
 first time install, learning Gentoo admin it's likely to give a very
 different result from most of the others.

 As the OP hasn't given a reason or motivation why he needs the package
 list, what it is for, we can only make assumptions and throw out wild
 guesses.

 After all, he might even be after emerge -pv --depclean, as it, too,
 sort of prints out pretty much all packages on the system. Not to
 mention a few thousand lines of dependency information. :)

   

They may not be doing the same thing but they are a answer to the same
question. 

Dale

:-)  :-) 



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 1:24 PM, Alexander
Pilipovskyalexander.pilipov...@gmail.com wrote:


 2009/6/10 Justin jus...@j-schmitz.net

 Alexander Pilipovsky schrieb:
 

 You have something big in /var. Check /var/tmp/portage or /var/log.

 Alos test sys-fs/ncdu or similar tools.


 Thanks, it's was /var/log/messages that had 11 GB and was not opened by any
 editor.

I had a similar problem, 100% cpu usage caused by a daemon that did
not respond well when network connection was lost. My
/var/log/messages grew over 60GB in a few hours with the same message
repeated tens of millions of times. I changed my logger from syslog-ng
to metalog, which suppresses duplicates, and now it's not a problem.



Re: [gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-10 Thread Stroller


On 10 Jun 2009, at 15:56, Harry Putnam wrote:

...

I also wonder, does BIOS recognize this KVM, can you access it?


How would I access it?


My KVM is slightly clever, in that (boastnot only can I access it  
with a web-browser/boast) it allows keyboard shortcut combinations  
to be mapped. I have one that presses Escape, F1, F2, F8, F10 then  
Delete in immediate succession, and have never known this not to  
access the BIOS.


Stroller.




[gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Alan McKinnon
Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4 (incompatible 
and build issues). Apparently pykde4-4.3 will fix this, but meanwhile I need 
to get emerge world to run and complete.

To decide what to mask and what to leave, I need to discover what these 
packages actually do and what the effect will be if I unmask stuff. I *could* 
experiment, but will probably overlook many important things. As an assist to 
figuring this out and deciding, can someone tell me what pykde4 and PyQt4 
actually do and how these packages use them:

a...@nazgul ~/downloads/kernel $ equery depends pykde4
 * Searching for pykde4 ...
kde-base/marble-4.2.4 (python ? =kde-base/pykde4-4.2.4:4.2[kdeprefix=])
kde-base/plasma-workspace-4.2.4 (python ? =kde-
base/pykde4-4.2.4:4.2[kdeprefix=])

a...@nazgul ~/downloads/kernel $ equery depends PyQt4
 * Searching for PyQt4 ...
dev-python/qscintilla-python-2.3.2-r1 (qt4 ? =dev-python/PyQt4-4.4)
kde-base/marble-4.2.4 (python ? =dev-python/PyQt4-4.4.4-r1[X,svg])
kde-base/plasma-workspace-4.2.4 (python ? =dev-python/PyQt4-4.4.0[X])
kde-base/pykde4-4.2.4 (=dev-python/PyQt4-4.4.4-
r1[dbus,qt3support,svg,webkit,X])
media-sound/picard-0.11 (dev-python/PyQt4[X])
net-print/hplip-3.9.4b (!minimal  qt4  !qt3 ? dev-python/PyQt4[X])

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky


Dale написав(ла):
 Alexander Pilipovsky wrote:
   
 

 If you unmount /home, does any file show up under /home then?  Keep in
 mind, if you have files in for example /home then mount a new partition
 on /home, the old files are still on the root partition.  It just mount
 /home on top of the old file on the root partition.

 I'm assuming the /media/* directories are CD, DVD or some other
 removable media?  If not, unmount those and check to see if anything is
 hiding under there.

 Hope this helps.

 Dale

 :-)  :-) 
Thanks, really, it may be... I wrote DVD a few hours ago and after
reboot with unmounting all partitions all O'k.

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky


Paul Hartman написав(ла):
 On Wed, Jun 10, 2009 at 1:24 PM, Alexander
 Pilipovskyalexander.pilipov...@gmail.com wrote:
   
 2009/6/10 Justin jus...@j-schmitz.net
 
 Alexander Pilipovsky schrieb:
 

 You have something big in /var. Check /var/tmp/portage or /var/log.

 Alos test sys-fs/ncdu or similar tools.

   
 Thanks, it's was /var/log/messages that had 11 GB and was not opened by any
 editor.
 

 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times. I changed my logger from syslog-ng
 to metalog, which suppresses duplicates, and now it's not a problem.
   
Thanks, I'm going to install metalog :)

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 2:25 PM, Alan McKinnonalan.mckin...@gmail.com wrote:
 Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4 (incompatible
 and build issues). Apparently pykde4-4.3 will fix this, but meanwhile I need
 to get emerge world to run and complete.

I had to add these 4 packages to my /etc/portage/package.mask to get
emerge to proceed:

=dev-python/PyQt4-4.5
=dev-python/PyQt-3.18
=dev-python/qscintilla-python-2.4
=x11-libs/qscintilla-2.4

I'll try unmasking them in a few days to see if the deps have been sorted out.



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dirk Heinrichs
Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.

Well, that's the reason you should put /var on its own partition/logical 
volume.

Bye...

Dirk


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


Re: [gentoo-user] emerging procmail failure

2009-06-10 Thread Johám-Luís Miguéns Vila
Harry Putnam rea...@newsguy.com writes:

 setup:
   kernel-2.6.29-r2
   gcc-4.3.2-r3
 procmail is one tool that is absolutely robust and I expected no
 trouble whatever emerging it... however the emerge is failing like
 as shown below.  I'm not sure what to do about getline.

 The only useflags that come up are one I set 
  `mbox' 
 and one other
  `-selenix'

 [...]
 ln ../src/procmail ../new/procmail
 i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions   
 lockfile.c
 i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions   
 lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o 
 -o lockfile -Wl,-z,now -Wl,-O1   -lm -lnsl -ldl -lc
 ln ../src/lockfile ../new/lockfile
 i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions   
 formail.c
 In file included from formail.c:25:
 formisc.h:20: error: conflicting types for 'getline'
 /usr/include/stdio.h:651: error: previous declaration of 'getline' was here
 make[1]: *** [formail.o] Error 1
 make[1]: Leaving directory 
 `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
 make: *** [bins] Error 2
  *
  * ERROR: mail-filter/procmail-3.22-r10 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 2527:  Called die
  * The specific snippet of code:
  *   emake CC=$(tc-getCC) || die
  *  The die message:
  *   (no error message)
  *

  * If you need support, post the topmost build error, and the call
stack if relevant.

  * A complete build log is located at
'/var/tmp/portage/mail-filter/procmail-3.22-r10/temp/build.log'.

  * The ebuild environment file is located at
  *'/var/tmp/portage/mail-filter/procmail-3.22-r10/temp/environment'.



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

HTH

-- 
Education is the process of casting false pearls before real swine.
-- Irwin Edman
 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky
But how many space on hard disk for it will be good?

Dirk Heinrichs wrote:
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

   
 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.
 

 Well, that's the reason you should put /var on its own partition/logical 
 volume.

 Bye...

 Dirk
   

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread KH
Dirk Heinrichs schrieb:
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:
 
 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.
 
 Well, that's the reason you should put /var on its own partition/logical 
 volume.
 
 Bye...
 
 Dirk

Well something creating that much messages is just buggi! The cpu will
be on havy duty no diffrence where /var is mounted. This is a bug which
should not happen.

kh



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 2:40 PM, Dirk Heinrichsdirk.heinri...@online.de wrote:
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.

 Well, that's the reason you should put /var on its own partition/logical
 volume.

Next time I build a computer I will for sure :) For now I have 3
partitions, /, /boot and /home



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dirk Heinrichs
Am Mittwoch 10 Juni 2009 21:56:21 schrieb KH:
 Well something creating that much messages is just buggi! The cpu will
 be on havy duty no diffrence where /var is mounted. This is a bug which
 should not happen.

But if it happens, it only fills /var!

Bye...

Dirk


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


[gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Harry Putnam
galiza.ce...@gmail.com (Johám-Luís Miguéns Vila) writes:

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

 HTH

Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
had to add a patch into the emerge process manually.

Or dink around with sed inside as another poster on the bug
did... also manually.

Any URL where I can beef up on that a bit?




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Jason Carson schrieb:


Thanks for the clarification Norman :-)

ok, I removed net.wlan0 so it doesn't start up anymore. My computer
booted
up and all the services are working the way they should, however I am
having a problem getting hostapd to start. Here is the error I get when
I
tried to start up hostapd...

penguin ~ # /etc/init.d/hostapd start
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
* no access points found
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start
* ERROR: cannot start hostapd as net.wlan0 would not start

It's suppose to be an access point, not scanning for one so do you have
any idea what I should do now?



  

Did you remove wlan0 from the /etc/conf.d/hostapd file?




No, should I just leave it empty?
INTERFACES=

What about /etc/hostapd/hostapd.conf?
Do I leave it like this...
interface=wlan0
...or remove that line too?

  
INTERFACES should at least contain the bridge device. The wired NIC does 
not hurt either.
In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which 
device it has to initialize, so leave it like this.




Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 21:38:25 Paul Hartman wrote:
 On Wed, Jun 10, 2009 at 2:25 PM, Alan McKinnonalan.mckin...@gmail.com 
wrote:
  Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4
  (incompatible and build issues). Apparently pykde4-4.3 will fix this, but
  meanwhile I need to get emerge world to run and complete.

 I had to add these 4 packages to my /etc/portage/package.mask to get
 emerge to proceed:

 =dev-python/PyQt4-4.5
 =dev-python/PyQt-3.18
 =dev-python/qscintilla-python-2.4
 =x11-libs/qscintilla-2.4

 I'll try unmasking them in a few days to see if the deps have been sorted
 out.

I'd pretty much come to the same conclusion - couldn't figure out what the 
packages did and didn't feel like experimenting. Easier to keep things as is 
and wait for pykde4-4.3

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 3:03 PM, Harry Putnamrea...@newsguy.com wrote:

 Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
 had to add a patch into the emerge process manually.

man ebuild

HTH :)



Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Volker Armin Hemmann
On Mittwoch 10 Juni 2009, Alan McKinnon wrote:
 Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4
 (incompatible and build issues). Apparently pykde4-4.3 will fix this, but
 meanwhile I need to get emerge world to run and complete.

 To decide what to mask and what to leave, I need to discover what these
 packages actually do and what the effect will be if I unmask stuff. I
 *could* experiment, but will probably overlook many important things. As an
 assist to figuring this out and deciding, can someone tell me what pykde4
 and PyQt4 actually do and how these packages use them:

 a...@nazgul ~/downloads/kernel $ equery depends pykde4
  * Searching for pykde4 ...
 kde-base/marble-4.2.4 (python ? =kde-base/pykde4-4.2.4:4.2[kdeprefix=])
 kde-base/plasma-workspace-4.2.4 (python ? =kde-
 base/pykde4-4.2.4:4.2[kdeprefix=])

 a...@nazgul ~/downloads/kernel $ equery depends PyQt4
  * Searching for PyQt4 ...
 dev-python/qscintilla-python-2.3.2-r1 (qt4 ? =dev-python/PyQt4-4.4)
 kde-base/marble-4.2.4 (python ? =dev-python/PyQt4-4.4.4-r1[X,svg])
 kde-base/plasma-workspace-4.2.4 (python ? =dev-python/PyQt4-4.4.0[X])
 kde-base/pykde4-4.2.4 (=dev-python/PyQt4-4.4.4-
 r1[dbus,qt3support,svg,webkit,X])
 media-sound/picard-0.11 (dev-python/PyQt4[X])
 net-print/hplip-3.9.4b (!minimal  qt4  !qt3 ? dev-python/PyQt4[X])


http://hwoarang.silverarrow.org/?p=389

especially the bug linked to. 



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?

As much as you need.

There's only one person who can determine that. That person is you.




 Dirk Heinrichs wrote:
  Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:
  I had a similar problem, 100% cpu usage caused by a daemon that did
  not respond well when network connection was lost. My
  /var/log/messages grew over 60GB in a few hours with the same message
  repeated tens of millions of times.
 
  Well, that's the reason you should put /var on its own partition/logical
  volume.
 
  Bye...
 
  Dirk

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dale
KH wrote:
 Dirk Heinrichs schrieb:
   
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

 
 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.
   
 Well, that's the reason you should put /var on its own partition/logical 
 volume.

 Bye...

 Dirk
 

 Well something creating that much messages is just buggi! The cpu will
 be on havy duty no diffrence where /var is mounted. This is a bug which
 should not happen.

 kh


   

My messages file gets huge sometimes too.  Usually when hal or something
doesn't unmount the DVD drive and it just spits out error after error
about every two seconds.

Let's not get started on how buggy hal is.  That could turn into a huge
thread for sure and could lead to discussions about xorg-server and the
recent upgrade. 

Dale

:-)  :-) 



Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 22:22:09 Volker Armin Hemmann wrote:


 http://hwoarang.silverarrow.org/?p=389

 especially the bug linked to.

Thanks. I read that blog a bit earlier but there isn't enough info for me to 
reach a decision about what to dump and what to keep. I've since installed 
blockers to prevent these upgrades and am waiting for compatible versions to 
hit the portage tree

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] can't emerge gentoo-sources from sysrescd-1.2.0

2009-06-10 Thread Maxim Wexler
Hi group,

I thought that this was the fault of my dialup connection at home but
now I find it's doing it at the wifi spot in the library.

I'm following the quick-install guide and got to 'code listing 2-19'.
Portage goes through the mirror addresses but can't resolve any; as if
there were no connection. But here I am in gmail ;(

Here's the tail end of #emerge gentoo-sources
...
Resolving gentoo.osuosl.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address `gentoo.osuosl.org'
!!! Couldn't download 'genpatches-2.6.29-7.extras.tar.bz2'. Aborting.
 * Fetch failed for 'sys-kernel/gentoo-sources-2.6.29-r5', Log file:
 *  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.29-r5/temp/build.log'

 Failed to emerge sys-kernel/gentoo-sources-2.6.29-r5, Log file:

  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.29-r5/temp/build.log'

 * Messages for package sys-kernel/gentoo-sources-2.6.29-r5:

 * Fetch failed for 'sys-kernel/gentoo-sources-2.6.29-r5', Log file:
 *  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.29-r5/temp/build.log'
sysresccd etc #

Maxim



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Volker Armin Hemmann
On Mittwoch 10 Juni 2009, Alan McKinnon wrote:
 On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
  But how many space on hard disk for it will be good?

 As much as you need.

 There's only one person who can determine that. That person is you.

my /var is 36gb in size.
But I also have portage and packages in /var - to keep the fragmentation of / 
down ... 
I still have more than 20gb free  but I use reiser4+compression.



Re: [gentoo-user] can't emerge gentoo-sources from sysrescd-1.2.0

2009-06-10 Thread Boris Fersing
On Wed, Jun 10, 2009 at 22:44, Maxim Wexlermaxim.wex...@gmail.com wrote:
 Hi group,

Hi,

 I thought that this was the fault of my dialup connection at home but
 now I find it's doing it at the wifi spot in the library.

 I'm following the quick-install guide and got to 'code listing 2-19'.
 Portage goes through the mirror addresses but can't resolve any; as if
 there were no connection. But here I am in gmail ;(


Did you copy the resolv.conf from the liveCD /etc/ to the chroot ?
You're not in gmail from the chrooted env, are you ?

regards,

Boris



 Here's the tail end of #emerge gentoo-sources
 ...
 Resolving gentoo.osuosl.org... failed: Temporary failure in name resolution.
 wget: unable to resolve host address `gentoo.osuosl.org'
 !!! Couldn't download 'genpatches-2.6.29-7.extras.tar.bz2'. Aborting.
  * Fetch failed for 'sys-kernel/gentoo-sources-2.6.29-r5', Log file:
  *  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.29-r5/temp/build.log'

 Failed to emerge sys-kernel/gentoo-sources-2.6.29-r5, Log file:

  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.29-r5/temp/build.log'

  * Messages for package sys-kernel/gentoo-sources-2.6.29-r5:

  * Fetch failed for 'sys-kernel/gentoo-sources-2.6.29-r5', Log file:
  *  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.29-r5/temp/build.log'
 sysresccd etc #

 Maxim





-- 
42



Re: [gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Johám-Luís Miguéns Vila
Harry Putnam rea...@newsguy.com writes:

 galiza.ce...@gmail.com (Johám-Luís Miguéns Vila) writes:

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

 HTH

 Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
 had to add a patch into the emerge process manually.

 Or dink around with sed inside as another poster on the bug
 did... also manually.

 Any URL where I can beef up on that a bit?



Here you are:

http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/epatch/index.html

cheers
-- 
Education is the process of casting false pearls before real swine.
-- Irwin Edman
 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert



Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Mark Knecht
On Wed, Jun 10, 2009 at 1:11 PM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Wednesday 10 June 2009 21:38:25 Paul Hartman wrote:
 On Wed, Jun 10, 2009 at 2:25 PM, Alan McKinnonalan.mckin...@gmail.com
 wrote:
  Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4
  (incompatible and build issues). Apparently pykde4-4.3 will fix this, but
  meanwhile I need to get emerge world to run and complete.

 I had to add these 4 packages to my /etc/portage/package.mask to get
 emerge to proceed:

 =dev-python/PyQt4-4.5
 =dev-python/PyQt-3.18
 =dev-python/qscintilla-python-2.4
 =x11-libs/qscintilla-2.4

 I'll try unmasking them in a few days to see if the deps have been sorted
 out.

 I'd pretty much come to the same conclusion - couldn't figure out what the
 packages did and didn't feel like experimenting. Easier to keep things as is
 and wait for pykde4-4.3

 --
 alan dot mckinnon at gmail dot com

Take a look at emerge -DuN world and see if they are still blocked. I
had a problem like this yesterday on my AMD64 machine. Wasn't able to
do emerge -DuN @system without lots of blockage problems but was able
to do emerge -DuN @world with none...

- Mark



Re: [gentoo-user] can't emerge gentoo-sources from sysrescd-1.2.0

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 22:44:51 Maxim Wexler wrote:
 Hi group,

 I thought that this was the fault of my dialup connection at home but
 now I find it's doing it at the wifi spot in the library.

 I'm following the quick-install guide and got to 'code listing 2-19'.
 Portage goes through the mirror addresses but can't resolve any; as if
 there were no connection. But here I am in gmail ;(

 Here's the tail end of #emerge gentoo-sources
 ...
 Resolving gentoo.osuosl.org... failed: Temporary failure in name
 resolution. 

How long does this step take?

If it fails immediately (unlikely) then you have no connectivity to your name 
servers.
If it takes 30 seconds, then you have broken name servers.

Check what's in /etc/resolv.conf, use dig to see what comes back and change 
your name servers as necessary.

Failing that, change your mirror or just download that file manually from 
gentoo.org.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Johám-Luís Miguéns Vila
Harry Putnam rea...@newsguy.com writes:

 Or dink around with sed inside as another poster on the bug
 did... also manually.

Just do a less on
/usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild and you'll
see a good example.

Cheers.
-- 
Education is the process of casting false pearls before real swine.
-- Irwin Edman
 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert



Re: [gentoo-user] can't emerge gentoo-sources from sysrescd-1.2.0FIXED

2009-06-10 Thread Maxim Wexler
On 6/10/09, Boris Fersing kernelsen...@gentoo.org wrote:
 On Wed, Jun 10, 2009 at 22:44, Maxim Wexlermaxim.wex...@gmail.com wrote:
 Hi group,

 Hi,

 I thought that this was the fault of my dialup connection at home but
 now I find it's doing it at the wifi spot in the library.

 I'm following the quick-install guide and got to 'code listing 2-19'.
 Portage goes through the mirror addresses but can't resolve any; as if
 there were no connection. But here I am in gmail ;(


 Did you copy the resolv.conf from the liveCD /etc/ to the chroot ?

D'oh!



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dirk Heinrichs
Am Mittwoch 10 Juni 2009 22:49:39 schrieb Volker Armin Hemmann:
 my /var is 36gb in size.

Mine has only 2.

Bye...

Dirk


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


Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 22:57:38 Mark Knecht wrote:
 On Wed, Jun 10, 2009 at 1:11 PM, Alan McKinnonalan.mckin...@gmail.com 
wrote:
  On Wednesday 10 June 2009 21:38:25 Paul Hartman wrote:
  On Wed, Jun 10, 2009 at 2:25 PM, Alan McKinnonalan.mckin...@gmail.com
 
  wrote:
   Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4
   (incompatible and build issues). Apparently pykde4-4.3 will fix this,
   but meanwhile I need to get emerge world to run and complete.
 
  I had to add these 4 packages to my /etc/portage/package.mask to get
  emerge to proceed:
 
  =dev-python/PyQt4-4.5
  =dev-python/PyQt-3.18
  =dev-python/qscintilla-python-2.4
  =x11-libs/qscintilla-2.4
 
  I'll try unmasking them in a few days to see if the deps have been
  sorted out.
 
  I'd pretty much come to the same conclusion - couldn't figure out what
  the packages did and didn't feel like experimenting. Easier to keep
  things as is and wait for pykde4-4.3
 
  --
  alan dot mckinnon at gmail dot com

 Take a look at emerge -DuN world and see if they are still blocked. I
 had a problem like this yesterday on my AMD64 machine. Wasn't able to
 do emerge -DuN @system without lots of blockage problems but was able
 to do emerge -DuN @world with none...

It's emerge -uND world that shows the problem. I'll resync tomorrow and try 
again - my mirror runs about 12 hours behind gentoo.org


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread KH
Alan McKinnon schrieb:
 On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?
 
 As much as you need.
 
 There's only one person who can determine that. That person is you.
 
 
 

Hi,

I am sorry but I think if someone asks about an opinion here, writing
something like: that's all you desision, gentoo is not taking your hand
for anything is not helpful at all.
We all know that our systems are fit to our personal needs. So every
system is different. But asking should leed to something like: consider
this, consider that ...

kh



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 23:24:50 KH wrote:
 Alan McKinnon schrieb:
  On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
  But how many space on hard disk for it will be good?
 
  As much as you need.
 
  There's only one person who can determine that. That person is you.

 Hi,

 I am sorry but I think if someone asks about an opinion here, writing
 something like: that's all you desision, gentoo is not taking your hand
 for anything is not helpful at all.
 We all know that our systems are fit to our personal needs. So every
 system is different. But asking should leed to something like: consider
 this, consider that ...

And how EXACTLY do you want me to answer the original question? Be specific, 
You should have done blash responses don't help anyone. The question only 
has vague guidelines for answers and is totally install- and need-dependant.

Do keep in mind that the original is a do my homework for me question and my 
reply was designed to get the OP to look for himself. He didn't even post how 
big his current /var is or what his machine is used for or even which logs 
he'd like to have and keep.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Jason Carson
 Jason Carson schrieb:
 Jason Carson schrieb:

 Thanks for the clarification Norman :-)

 ok, I removed net.wlan0 so it doesn't start up anymore. My computer
 booted
 up and all the services are working the way they should, however I am
 having a problem getting hostapd to start. Here is the error I get
 when
 I
 tried to start up hostapd...

 penguin ~ # /etc/init.d/hostapd start
 * Bringing up interface wlan0
 *   Configuring wireless network for wlan0
 *   Scanning for access points
 * no access points found
 *   Failed to configure wireless for wlan0
 * ERROR: net.wlan0 failed to start
 * ERROR: cannot start hostapd as net.wlan0 would not start

 It's suppose to be an access point, not scanning for one so do you
 have
 any idea what I should do now?




 Did you remove wlan0 from the /etc/conf.d/hostapd file?



 No, should I just leave it empty?
 INTERFACES=

 What about /etc/hostapd/hostapd.conf?
 Do I leave it like this...
 interface=wlan0
 ...or remove that line too?


 INTERFACES should at least contain the bridge device. The wired NIC does
 not hurt either.
 In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which
 device it has to initialize, so leave it like this.


Alright, I have done everything you have suggested but when hostapd tries
to start I am getting this error...

penguin ~ # /etc/init.d/hostapd start
* Starting hostapd...
Configuration file: /etc/hostapd/hostapd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x80f1a38 user_data=(nil)
handler=0x8091790
* start-stop-daemon: failed to start `/usr/sbin/hostapd'  
   [ !! ]
* ERROR: hostapd failed to start

Do you have any idea why this is happening?




Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 2:50 PM, Alexander
Pilipovskyalexander.pilipov...@gmail.com wrote:
 But how many space on hard disk for it will be good?

This depends on your usage, of course, and for what purpose you expect
to use /var. If you run a server with lots of logs, like a
high-traffic web server, you may want to ensure /var/log is in a place
with enough room. I use logrotate to archive and compress log files so
they don't take up too much space. In my case I have my temp dir as
/var/tmp (i think this is the default location), so things like
ripping/encoding/burning a DVD image can use sometimes near 25G of
temp space. Portage will also use (again, as default) for its temp
dir, so any aborted compile sessions and giant packages like
OpenOffice will need sufficient space as well. KDE pixmap cache is
using 1.5G in my user's tmp directory alone. And of course portage
itself stores the packages cache there.

All of the above can be changed, of course, or links/mounted to
different drives/partitions

I think the rule of thumb that applies is: calculate the greatest
amount of space you would ever realistically need and then double it.
:)



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Philip Webb
On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?

I haven't followed this thread in detail, but has anyone suggested LVM ?

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




Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dale
Dirk Heinrichs wrote:
 Am Mittwoch 10 Juni 2009 22:49:39 schrieb Volker Armin Hemmann:
   
 my /var is 36gb in size.
 

 Mine has only 2.

 Bye...

   Dirk
   

Mine is about 300MBs right now.  It has been 1GB before tho.  This is a
desktop rig so no server stuff here.

Dale

:-)  :-)



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Alright, I have done everything you have suggested but when hostapd tries
to start I am getting this error...

penguin ~ # /etc/init.d/hostapd start
* Starting hostapd...
Configuration file: /etc/hostapd/hostapd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x80f1a38 user_data=(nil)
handler=0x8091790
* start-stop-daemon: failed to start `/usr/sbin/hostapd'  
   [ !! ]

* ERROR: hostapd failed to start

Do you have any idea why this is happening?


  

Not quite...
What kernelsettings do you activate for you wlan?



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread KH
Alan McKinnon schrieb:
 On Wednesday 10 June 2009 23:24:50 KH wrote:
 Alan McKinnon schrieb:
 On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?
 As much as you need.

 There's only one person who can determine that. That person is you.
 Hi,

 I am sorry but I think if someone asks about an opinion here, writing
 something like: that's all you desision, gentoo is not taking your hand
 for anything is not helpful at all.
 We all know that our systems are fit to our personal needs. So every
 system is different. But asking should leed to something like: consider
 this, consider that ...
 
 And how EXACTLY do you want me to answer the original question? Be specific, 
 You should have done blash responses don't help anyone. The question only 
 has vague guidelines for answers and is totally install- and need-dependant.
 
 Do keep in mind that the original is a do my homework for me question and 
 my 
 reply was designed to get the OP to look for himself. He didn't even post how 
 big his current /var is or what his machine is used for or even which logs 
 he'd like to have and keep.
 
Hi,

I totaly do agree with you. There has been nothing indicated to give a
one out of one answer. In case someone is a noob, ( I am still one
because I don't no anything about how everything is working) what you
just wrote is the answer. Like what are your needs and what resurces do
you have?
Like I don't think it was something like do my homework but more like
I don't even know what to look for.
This list is realy helpful. I am often searching answers or learn by
reading but sometimes it is just infront of someone not even knowing it
is there.
The OP said nothing and this is what could be replyed. Like You said
nothing.
Often googling for something is leading to lists where absolutly no help
can be found because someone writes something like: what can I do.
secend replays like: do A. Frst: cool this did it for me. In the end
nobody else can use this solution because it is just not EXACT.
So you are right.

kh



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Jason Carson schrieb:


Alright, I have done everything you have suggested but when hostapd
tries
to start I am getting this error...

penguin ~ # /etc/init.d/hostapd start
* Starting hostapd...
Configuration file: /etc/hostapd/hostapd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x80f1a38 user_data=(nil)
handler=0x8091790
* start-stop-daemon: failed to start `/usr/sbin/hostapd'
   [ !! ]
* ERROR: hostapd failed to start

Do you have any idea why this is happening?



  

Not quite...
What kernelsettings do you activate for you wlan?




I used the kernel settings mentioned here...
http://linuxwireless.org/en/users/Drivers/ath5k#Enabling_ath5k
...but I built everything directly into the kernel, NOT as modules.

I have attached my .config to this email so you can see if I am missing
anything.

I also activated

CONFIG_HOSTAP=y
CONFIG_HOSTAP_FIRMWARE=y
CONFIG_HOSTAP_FIRMWARE_NVRAM=y

but i think i found the real reason.
I checked the 2.6.29.x ath5k base.c and found, that the AP code is still 
dormant.

You need to apply this patch:

--- linux-2.6.29/drivers/net/wireless/ath5k/base.c  2009-02-10
06:11:43.186470883 +0100
+++ linux-2.6.29/drivers/net/wireless/ath5k/base.c.old
2008-11-14 09:36:40.0 +0100
@@ -522,6 +501,7 @@
  hw-wiphy-interface_modes =
  BIT(NL80211_IFTYPE_STATION) |
  BIT(NL80211_IFTYPE_ADHOC) |
+   BIT(NL80211_IFTYPE_AP) |
  BIT(NL80211_IFTYPE_MESH_POINT);

  hw-extra_tx_headroom = 2;

Open the file 
/usr/src/linux-yourversion/drivers/net/wireless/ath5k/base.c, search for


hw-wiphy-interface_modes

and the apply the line

BIT(NL80211_IFTYPE_AP) |

between these lines.
Rebuild and install the kernel.

Background: The AP code is there, but it is not activated yet. This line 
activates it.
I thought newer 2.6.29er kernels do not have this restriction, so i did 
not think of this, but apparently they do.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Jason Carson
 Jason Carson schrieb:
 Jason Carson schrieb:

 Alright, I have done everything you have suggested but when hostapd
 tries
 to start I am getting this error...

 penguin ~ # /etc/init.d/hostapd start
 * Starting hostapd...
 Configuration file: /etc/hostapd/hostapd.conf
 Failed to set interface wlan0 to master mode.
 nl80211 driver initialization failed.
 ELOOP: remaining socket: sock=5 eloop_data=0x80f1a38 user_data=(nil)
 handler=0x8091790
 * start-stop-daemon: failed to start `/usr/sbin/hostapd'
[ !! ]
 * ERROR: hostapd failed to start

 Do you have any idea why this is happening?




 Not quite...
 What kernelsettings do you activate for you wlan?



 I used the kernel settings mentioned here...
 http://linuxwireless.org/en/users/Drivers/ath5k#Enabling_ath5k
 ...but I built everything directly into the kernel, NOT as modules.

 I have attached my .config to this email so you can see if I am missing
 anything.
 I also activated

 CONFIG_HOSTAP=y
 CONFIG_HOSTAP_FIRMWARE=y
 CONFIG_HOSTAP_FIRMWARE_NVRAM=y

 but i think i found the real reason.
 I checked the 2.6.29.x ath5k base.c and found, that the AP code is still
 dormant.
 You need to apply this patch:

 --- linux-2.6.29/drivers/net/wireless/ath5k/base.c  2009-02-10
 06:11:43.186470883 +0100
 +++ linux-2.6.29/drivers/net/wireless/ath5k/base.c.old
 2008-11-14 09:36:40.0 +0100
 @@ -522,6 +501,7 @@
hw-wiphy-interface_modes =
BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_ADHOC) |
 +   BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_MESH_POINT);

hw-extra_tx_headroom = 2;

 Open the file
 /usr/src/linux-yourversion/drivers/net/wireless/ath5k/base.c, search for

 hw-wiphy-interface_modes

 and the apply the line

 BIT(NL80211_IFTYPE_AP) |

 between these lines.
 Rebuild and install the kernel.

 Background: The AP code is there, but it is not activated yet. This line
 activates it.
 I thought newer 2.6.29er kernels do not have this restriction, so i did
 not think of this, but apparently they do.


That did the trick. I applied that line, rebuilt  installed the kernel,
rebooted and hostapd loaded without any errors.

Thanks you very much for your help :-)




[gentoo-user] Re: PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Nikos Chantziaras

On 06/10/2009 10:25 PM, Alan McKinnon wrote:

Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4 (incompatible
and build issues). Apparently pykde4-4.3 will fix this, but meanwhile I need
to get emerge world to run and complete.

To decide what to mask and what to leave, I need to discover what these
packages actually do and what the effect will be if I unmask stuff. I *could*
experiment, but will probably overlook many important things. As an assist to
figuring this out and deciding, can someone tell me what pykde4 and PyQt4
actually do and how these packages use them.


I recommend putting -python in your make.conf followed by emerge 
-auDN world and then a depclean along with revdev-rebuild.  This should 
get rid of Python bindings.  Usually, when you're not sure if you need 
them, you don't need them.  PyQt and PyKDE are big packages and not 
worth having to just lying around.





[gentoo-user] Re: PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Nikos Chantziaras

On 06/11/2009 06:11 AM, Nikos Chantziaras wrote:

I recommend putting -python in your make.conf followed by emerge
-auDN world and then a depclean along with revdev-rebuild.


You might have to enable python in a few packages after that though and 
disable it in others.  In my case:


  echo dev-libs/libxml2 python  /etc/portage/package.use

Just follow the messages that tell you to enable the python USE flag in 
specific packages.  It's much cleaner to enable it only in packages that 
actually need it rather than globally (which drags along PyQt and PyKDE.)





[gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Wed, Jun 10, 2009 at 3:03 PM, Harry Putnamrea...@newsguy.com wrote:

 Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
 had to add a patch into the emerge process manually.

 man ebuild

 HTH :)

Doesn't any manual patching have to be done in an overlay?  My own
portage setup.  Then stepped thru with ebuild to get it accepted by
emerge?

I see no hits at all on either `overlay' or `layman' in man ebuild.
There must be more to the story than just running ebuild commands. And
expect the modified ebuild to be accepted by emerge.




[gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Wed, Jun 10, 2009 at 3:03 PM, Harry Putnamrea...@newsguy.com wrote:

 Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
 had to add a patch into the emerge process manually.

 man ebuild

Just in case another intellectually challenged gentoo user happens to
be searching for nuts and bolts of creating a custom ebuild.  I looked
up a previous thread I started here in Nov 2008, with 

  Subject: Nots and bolts of creating an ebuild

where some brief outlines of how to do it are provided by David R and
Daniel P.

See it on gmane here:
http://thread.gmane.org/gmane.linux.gentoo.user/205481/focus=205483





Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Johannes Geiss
On Wed, 2009-06-10 at 15:48 +0300, Arttu V. wrote:

 On 6/10/09, Johannes Geiss johannes.ge...@web.de wrote:
  Hi there,
 
  how can I list every installed package in Gentoo? The
  file /var/lib/portage/world shows some installed packages, but how can I
  see all other packages which have been installed automatically?
 
 qlist
 
 And I often use it with -CISL, but your needs may differ.

Thank you all for your answers, that is exactly I was looking for.

Bye
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-


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