Re: [gentoo-user] Which bluetooth USB key ?

2010-05-20 Thread Indexer

On 21/05/2010, at 4:15 PM, alain.didierj...@free.fr wrote:

> I have to get a bluetooth USB key. Which one is known to work under gentoo
> (amd64) ? With which driver ? Experience and knowhow welcome...
> 
> 
Most bluetooth usb keys will work with the drivers in the kernel, iirc it is 
called bluetooth usb, in .config it is CONFIG_BT_HCIBTUSB=y and in the make 
menuconfig it is


Networking
-> Bluetooth subsystem
->Blue tooth device drivers
-> HCI USB driver

William


[gentoo-user] Which bluetooth USB key ?

2010-05-20 Thread alain . didierjean
I have to get a bluetooth USB key. Which one is known to work under gentoo
(amd64) ? With which driver ? Experience and knowhow welcome...




Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Graham Murray
Grant  writes:

> Google says the error can be due to disabling dri in xorg.conf, but I
> don't have anything like that.  Should CONFIG_DRM_NOUVEAU=y include
> the dri or dri2 module?

The dri and dri2 modules should be installed by x11-base/xorg-server.



Re: [gentoo-user] problem updating python

2010-05-20 Thread dan blum
The current Python version is at least 3.1. When I had an issue with an upgrade 
to version 3.1 from 2.6, my KDE and x crashed. When I reported this to Gentoo, 
I was told that this was not even a bug. My solution was to reload tho complete 
system.

My guess that part of the problem may be that you are emerging an older version 
of Python.

--- On Thu, 5/20/10, Kaddeh  wrote:

From: Kaddeh 
Subject: Re: [gentoo-user] problem updating python
To: gentoo-user@lists.gentoo.org
Date: Thursday, May 20, 2010, 8:29 PM

what is the output of "eselect python list"

On Thu, May 20, 2010 at 11:43 AM, Rene Lopez Montelongo 
 wrote:

Hi everyone

I'm trying to install on a sparc architecture SUN Ultra45.



At the time to install a new slot of python I got the this error...





livecd elog # emerge -auv dev-lang/python



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



Calculating dependencies... done!

[ebuild  NS   ] dev-lang/python-2.5.4-r4  USE="gdbm ncurses readline

ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6

-sqlite -tk -wininst" 0 kB



Total: 1 package (1 in new slot), Size of downloads: 0 kB



Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild Manifests...



>>> Emerging (1 of 1) dev-lang/python-2.5.4-r4 to /

 * Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...



        [ ok ]

 * python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-)

...

         [ ok ]

 * checking ebuild checksums ;-) ...



        [ ok ]

 * checking auxfile checksums ;-) ...



        [ ok ]

 * checking miscfile checksums ;-) ...



        [ ok ]

 * checking Python-2.5.4.tar.bz2 ;-) ...



        [ ok ]

 * checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ...



        [ ok ]

 *

 * ERROR: dev-lang/python-2.5.4-r4 failed.

 * Call stack:

 *                ebuild.sh, line   49:  Called pkg_setup

 *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup

 *            python.eclass, line  335:  Called PYTHON 'pkg_setup'

 *            python.eclass, line 1320:  Called die

 * The specific snippet of code:

 *                              die "${FUNCNAME}(): Main active

version of Python not set"

 *  The die message:

 *   PYTHON(): Main active version of Python not set

 *

 * 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/dev-lang/python-2.5.4-r4/temp/build.log'.

 * The ebuild environment file is located at

'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.

 *



 * Messages for package dev-lang/python-2.5.4-r4:



 *

 * ERROR: dev-lang/python-2.5.4-r4 failed.

 * Call stack:

 *                ebuild.sh, line   49:  Called pkg_setup

 *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup

 *            python.eclass, line  335:  Called PYTHON 'pkg_setup'

 *            python.eclass, line 1320:  Called die

 * The specific snippet of code:

 *                              die "${FUNCNAME}(): Main active

version of Python not set"

 *  The die message:

 *   PYTHON(): Main active version of Python not set

 *

 * 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/dev-lang/python-2.5.4-r4/temp/build.log'.

 * The ebuild environment file is located at

'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.

 *

livecd elog #







livecd elog # emerge --search python

Searching...

[ Results for search key : python ]

[ Applications found : 117 ]



*  app-admin/eselect-python

      Latest version available: 20091230

      Latest version installed: 20091230

      Size of files: 5 kB

      Homepage:      http://www.gentoo.org

      Description:   Eselect module for management of multiple Python versions

      License:       GPL-2



*  app-admin/python-updater

      Latest version available: 0.8

      Latest version installed: 0.8

      Size of files: 7 kB

      Homepage:      http://www.gentoo.org/proj/en/Python

      Description:   Script used to remerge python packages when

changing Python version.

      License:       GPL-2



*  app-emacs/python-mode [ Masked ]

      Latest version available: 5.1.0

      Latest version installed: [ Not Installed ]

      Size of files: 36 kB

      Homepage:      https://launchpad.net/python-mode

      Description:   An Emacs major mode for editing Python source

      License:       GPL-3



*  app-pda/libopensync-plugin-python [ Masked ]

      Latest version available: 

      Latest version installed: [ Not Installed ]

      Size of files: 0 kB

      Homepage:      http://www.opensync.org/

      Description:   OpenSync Python Module

      License:       LGPL-2.1



*  app-vim/vimpython

      Latest version available: 1.11

      Latest version installed: [ Not Installed ]

      Size of files: 3 kB

      Homepage:      http://www.vim.org/scripts/script.php?script_id=30

Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Jonathan
>Sorry, but I believe the you are the one being pretentious; how long
>has been since you tried PulseAudio? It has come a lng way, and I
>haven't seen any real flames against PulseAudio in many months (and
>it's enabled in all major distributions). And that is because it's
>working (I repeat my words) "for me and many more".

Windows "works" for many people it does not make it the best OS or the only one.
In Ubuntu they went from oss to PulseAudio. 
I bet that 90% of Ubuntu users do not know that PulseAudio uses Alsa.

>And to finish, I don't know how much you know about technical
>decisions and design, but I know that Linus refused to accept OSS4 in
>the kernel, I know that all major distributions decided to go with
>PulseAudio, and I know that Intel, Nokia and Google are betting for
>it.

Why do you think PulseAudio is userspace. Haha

Setting up Alsa was/is hard to do but with my on board chip it was plug and 
play.
If Alsa was easy to setup then PulseAudio would not be main stream.

Alsa trys to hardware mix if it can not it mixes in software.
PulseAudio mixes in software and never trys to mix in hardware.
Did I get that right?

So if your n900 sound chip can not mix in hardware then you may as well use 
PulseAudio.
As the load is still on the CPU.

At the end of the day I want to pick a sound system and use it.
I do not want one forced on me.



Re: [gentoo-user] problem updating python

2010-05-20 Thread Kaddeh
what is the output of "eselect python list"

On Thu, May 20, 2010 at 11:43 AM, Rene Lopez Montelongo <
r...@redes.acatlan.unam.mx> wrote:

> Hi everyone
> I'm trying to install on a sparc architecture SUN Ultra45.
>
> At the time to install a new slot of python I got the this error...
>
>
> livecd elog # emerge -auv dev-lang/python
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild  NS   ] dev-lang/python-2.5.4-r4  USE="gdbm ncurses readline
> ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6
> -sqlite -tk -wininst" 0 kB
>
> Total: 1 package (1 in new slot), Size of downloads: 0 kB
>
> Would you like to merge these packages? [Yes/No]
> >>> Verifying ebuild Manifests...
>
> >>> Emerging (1 of 1) dev-lang/python-2.5.4-r4 to /
>  * Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
>
>[ ok ]
>  * python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-)
> ...
> [ ok ]
>  * checking ebuild checksums ;-) ...
>
>[ ok ]
>  * checking auxfile checksums ;-) ...
>
>[ ok ]
>  * checking miscfile checksums ;-) ...
>
>[ ok ]
>  * checking Python-2.5.4.tar.bz2 ;-) ...
>
>[ ok ]
>  * checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ...
>
>[ ok ]
>  *
>  * ERROR: dev-lang/python-2.5.4-r4 failed.
>  * Call stack:
>  *ebuild.sh, line   49:  Called pkg_setup
>  *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup
>  *python.eclass, line  335:  Called PYTHON 'pkg_setup'
>  *python.eclass, line 1320:  Called die
>  * The specific snippet of code:
>  *  die "${FUNCNAME}(): Main active
> version of Python not set"
>  *  The die message:
>  *   PYTHON(): Main active version of Python not set
>  *
>  * 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/dev-lang/python-2.5.4-r4/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.
>  *
>
>  * Messages for package dev-lang/python-2.5.4-r4:
>
>  *
>  * ERROR: dev-lang/python-2.5.4-r4 failed.
>  * Call stack:
>  *ebuild.sh, line   49:  Called pkg_setup
>  *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup
>  *python.eclass, line  335:  Called PYTHON 'pkg_setup'
>  *python.eclass, line 1320:  Called die
>  * The specific snippet of code:
>  *  die "${FUNCNAME}(): Main active
> version of Python not set"
>  *  The die message:
>  *   PYTHON(): Main active version of Python not set
>  *
>  * 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/dev-lang/python-2.5.4-r4/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.
>  *
> livecd elog #
>
>
>
> livecd elog # emerge --search python
> Searching...
> [ Results for search key : python ]
> [ Applications found : 117 ]
>
> *  app-admin/eselect-python
>  Latest version available: 20091230
>  Latest version installed: 20091230
>  Size of files: 5 kB
>  Homepage:  http://www.gentoo.org
>  Description:   Eselect module for management of multiple Python
> versions
>  License:   GPL-2
>
> *  app-admin/python-updater
>  Latest version available: 0.8
>  Latest version installed: 0.8
>  Size of files: 7 kB
>  Homepage:  http://www.gentoo.org/proj/en/Python
>  Description:   Script used to remerge python packages when
> changing Python version.
>  License:   GPL-2
>
> *  app-emacs/python-mode [ Masked ]
>  Latest version available: 5.1.0
>  Latest version installed: [ Not Installed ]
>  Size of files: 36 kB
>  Homepage:  https://launchpad.net/python-mode
>  Description:   An Emacs major mode for editing Python source
>  License:   GPL-3
>
> *  app-pda/libopensync-plugin-python [ Masked ]
>  Latest version available: 
>  Latest version installed: [ Not Installed ]
>  Size of files: 0 kB
>  Homepage:  http://www.opensync.org/
>  Description:   OpenSync Python Module
>  License:   LGPL-2.1
>
> *  app-vim/vimpython
>  Latest version available: 1.11
>  Latest version installed: [ Not Installed ]
>  Size of files: 3 kB
>  Homepage:  http://www.vim.org/scripts/script.php?script_id=30
>  Description:   vim plugin: A set of menus/shortcuts to work with
> Python files
>  License:   vim
>
> *  app-xemacs/python-modes
>  Latest version available: 1.08
>  Latest version installed: [ Not Installed ]
>  Size of files: 90 kB
>  Homepage:  http://xemacs.org/
>  Description:   Python support.
>  License:   GPL-2
>
> *  dev-lang/python
>  Latest version 

Re: [gentoo-user] Phonon + PulseAudio Problem

2010-05-20 Thread Jonathan
On Wed, 19 May 2010 21:59:08 +0200
Fabian Köster  wrote:

> Hi *,
> 
> I am currently trying to use Phonon and PulseAudio and have the following 
> problem:
> 
> When I play some Video with a Non-KDE application like VLC everything is 
> perfectly directed to the local PulseAudio running on my machine and i have 
> the expected sound-output.
> 
> But when I use a KDE-Application like Kaffeine or Amarok there is no sound 
> output although the stream is listed by pavucontrol. The volume-indicator for 
> the stream does not show any activity.
> 
> Does anybody have an idea what is causing this misbehavior? Or any hint on 
> debugging this? When I run pulseaudio -vvv I cannot see any suspicious output 
> (see below)
> 
> Thanks in advance,
> Fabian

Give this a read http://alsa.opensrc.org/index.php/Network



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Grant
>> There's an API break between the nouveau driver and the drm in 2.6.3[23] (not
>> completely sure about the versions)
>>
>> Hence the workaround of nouveau-drm
>>
>> Hopefully it will be *very* temporary
>
> It is. 2.6.34 (which is in ~arch) fixes the API break with the Nouveau
> driver.

Supposedly it's an API break between the kernel and libdrm:

"Nouveau DRM in kernel 2.6.33 is API incompatible to
>=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm instead."

According to ebuild dependencies and messages, my combination of
xf86-video-nouveau-0.0.15_pre20100213 and x11-libs/libdrm-2.4.18_pre
should work.  I get this same error no matter what combination of
libdrm, xf86-video-nouveau, and nouveau-firmware I try, and whether or
not I have CONFIG_DRM_NOUVEAU=y.  This makes me think it's not related
to the API break:

(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) [drm] No DRICreatePCIBusID symbol
(EE) No devices detected.

Google says the error can be due to disabling dri in xorg.conf, but I
don't have anything like that.  Should CONFIG_DRM_NOUVEAU=y include
the dri or dri2 module?

- Grant



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Canek Peláez Valdés
On Thu, May 20, 2010 at 5:08 PM, Nikos Chantziaras  wrote:
> Because as soon as you disable ALSA dmix and/or Pulse, suddenly you get
> acceptable sound latency.
>
> With OSS4, which has in-kernel mixing, it doesn't matter if you enable the
> mixer or disable it; sound always has acceptable latency.

By that reasoning, the GUI should be in-kernel too. It would be then
really responsive al the time. I don't buy the argument.

> Thus, I can only conclude that mixing has to happen in-kernel.  But I base
> this only on the ALSA/Pulse vs OSS4 comparison.  It could also be that the
> user-space implementation of ALSA just sucks.  But that's hard to believe,
> since if that were the case they would have fixed it several years ago
> already.

No, it doesn't has to happen in-kernel; all the linux based phones
(which deal primarily with, you know, audio, including heavy use of
multimedia) use PulseAudio. And these are not very powerful machines;
so if the mixing in user space works in low powered devices, it must
work everywhere. I don't buy this argument either.

> It sounds reasonable from a designer's point of view.  But a system is
> useless if it's only designed good but doesn't actually work in a
> satisfactory manner.

It works for me, I repeat, and for a lot of other folks too. It's not
only a design decision made because it's "elegant"; it's made because
it works "in a satisfactory manner" (ex. me, others, Linux phones),
and because it's more flexible: put it in the kernel, and you loose
the capacity to do important changes and extensions (specially with
the way the Linux kernel development works).

In short, because it works "in a satisfactory manner" (to me and many
others, including all the N900 and Android users out there), I also
don't buy this argument.

> Sorry, that just pretentious of you here.  PulseAudio is the most flamed at,
> hated, sound-related software around.  And this is because it does *not*
> work for many, many users, and the first thing they try to do is find out
> how to disable the thing.

Sorry, but I believe the you are the one being pretentious; how long
has been since you tried PulseAudio? It has come a lng way, and I
haven't seen any real flames against PulseAudio in many months (and
it's enabled in all major distributions). And that is because it's
working (I repeat my words) "for me and many more".

> You're mistaken in that a mixer should be in the same boat as network
> streaming, bluetooth, etc, etc.  I believe the *mixer* should be in-kernel.
>  Everything else doesn't need to be.  PulseAudio's extreme latency problems
> (which even upstream admits can't be fixed easily) stem from that.

I respectfully disagree; the kernel should pass along data and
messages to the sound hardware, and everything else (*including
mixing*) should be in user space. Not only in theory from an academic
and aesthetic point of view; *it also works*, to me, to many users who
doesn't complain (despite PulseAudio being used by default in ALL
major distributions), and to ALL the users of Android and MeeGo.

And to finish, I don't know how much you know about technical
decisions and design, but I know that Linus refused to accept OSS4 in
the kernel, I know that all major distributions decided to go with
PulseAudio, and I know that Intel, Nokia and Google are betting for
it.

So, no offense, but I trust more in those guys and the arguments I
have heard from them. And the consensus with them is to use
PulseAudio, and leave the mixing in user space.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 10:25 PM, Canek Peláez Valdés wrote:

On Thu, May 20, 2010 at 2:04 PM, Nikos Chantziaras  wrote:
[snip]

What doesn't work is PulseAudio, actually.  Too many problems with it. Pulse
is simply broken by design; it's too far from the kernel to be any good.


If I may use (most of) your words: "Well, it works here.  It's been
rock-solid through months." And with various use-cases, if I may add.

Can you elaborate why the audio architecture has to be close to the
kernel? The part that talks to the hardware obviously has to, but why
the part that handles the features, the mixes, the virtual devices?


Because as soon as you disable ALSA dmix and/or Pulse, suddenly you get 
acceptable sound latency.


With OSS4, which has in-kernel mixing, it doesn't matter if you enable 
the mixer or disable it; sound always has acceptable latency.


Thus, I can only conclude that mixing has to happen in-kernel.  But I 
base this only on the ALSA/Pulse vs OSS4 comparison.  It could also be 
that the user-space implementation of ALSA just sucks.  But that's hard 
to believe, since if that were the case they would have fixed it several 
years ago already.




I'm under the impression (correct me if I'm wrong) that it was one of
the major reasons to leave OSS4 outside the upstream kernel; too many
stuff in there that belongs in user space. It sounds reasonable to me.


It sounds reasonable from a designer's point of view.  But a system is 
useless if it's only designed good but doesn't actually work in a 
satisfactory manner.




Specially when PulseAudio just works, for me and many more.


Sorry, that just pretentious of you here.  PulseAudio is the most flamed 
at, hated, sound-related software around.  And this is because it does 
*not* work for many, many users, and the first thing they try to do is 
find out how to disable the thing.




ALSA can't switch to Bluetooth either.  You could use PulseAudio with OSS4
instead of with ALSA though, but this is not officially supported.


Indeed it's not supported, because it's (using your words again)
"broken by design" by trying to do too many things inside the kernel
that belong in user space. That's my understanding at least; please
correct me if you believe I'm mistaken.


You're mistaken in that a mixer should be in the same boat as network 
streaming, bluetooth, etc, etc.  I believe the *mixer* should be 
in-kernel.  Everything else doesn't need to be.  PulseAudio's extreme 
latency problems (which even upstream admits can't be fixed easily) stem 
from that.





[gentoo-user] Layman, Git, ... and Http-Proxies

2010-05-20 Thread Petric Frank
Hello,

i tried to use layman (current stable version). The problem ist that i sit 
behind a proxy server which covers the http(s) protocol only. All other ports 
are closed.

In the config file of layman (/etc/layman/...) i entered the proxy server and 
the listening port. Then layman was able to get the list of overlays.

But if i want to get an overlay (here: x11 overlay) it starts git to get it. 
After a while git aborts with a timeout. It seems that git does not take the 
proxy info layman has into account.

Tried also to export the proxy:
  export http_proxy=":"
or
  export http_proxy="http://:"

before executing
  layman -a x11

but this didn't help.

How to overcome the problem ?

Does layman pass the proxy info to the executed sub-programs (i.e. cvs, 
subversion, git, ...) ?
(it not that may be an enchancement)

regards
  Petric



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 21:25:36 Canek Peláez Valdés wrote:
> > What doesn't work is PulseAudio, actually.  Too many problems with it.
> > Pulse is simply broken by design; it's too far from the kernel to be any
> > good.
> 
> If I may use (most of) your words: "Well, it works here.  It's been
> rock-solid through months." And with various use-cases, if I may add.
> 
> Can you elaborate why the audio architecture has to be close to the
> kernel? The part that talks to the hardware obviously has to, but why
> the part that handles the features, the mixes, the virtual devices?
> I'm under the impression (correct me if I'm wrong) that it was one of
> the major reasons to leave OSS4 outside the upstream kernel; too many
> stuff in there that belongs in user space. It sounds reasonable to me.


Well the general rule of good design is that a daemon the user will use to 
tell to do $STUFF is a daemon and runs in user space. Like wicd - you tell it 
to please stop using the wireless interface now that you have plugged in an 
ethernet cable, and all this happens in userspace. The daemon tells the kernel 
which drivers to activate and with what parameters (grossly simplified 
description).

The kernel is a big fat box with drivers in it, and it also knows how to do 
neat things like scheduling.

From that point of view, that aspect of PulseAudio's design is indeed correct. 

Aside:
I might not like PulseAudio much (I don't need any of it's new features) but 
it sure is better than esd or aRTs


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 21:21:27 Graham Murray wrote:
> Alan McKinnon  writes:
> > There's an API break between the nouveau driver and the drm in 2.6.3[23]
> > (not completely sure about the versions)
> > 
> > Hence the workaround of nouveau-drm
> > 
> > Hopefully it will be *very* temporary
> 
> It is. 2.6.34 (which is in ~arch) fixes the API break with the Nouveau
> driver.

That's good news. 

The next question is the horrible one: does nouveau actually work* yet?

I had to switch back to nvidia proprietary as mouveau had every imaginable 
feature I want (especially how to deal with two monitors in a sane way) and 
the features functioned correctly, excep that the whole package did not work.

*work: By this I mean work to be synonymous with "perform at adequate speed". 
500ms lag on getting a 2D desktop to do something is not defined as "perform"

The engineer in me says this is really just a matter of finding the correct 4 
bits to flip in the right register at the right time, so I have high hope for 
nouveau.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Canek Peláez Valdés
On Thu, May 20, 2010 at 2:04 PM, Nikos Chantziaras  wrote:
[snip]
> What doesn't work is PulseAudio, actually.  Too many problems with it. Pulse
> is simply broken by design; it's too far from the kernel to be any good.

If I may use (most of) your words: "Well, it works here.  It's been
rock-solid through months." And with various use-cases, if I may add.

Can you elaborate why the audio architecture has to be close to the
kernel? The part that talks to the hardware obviously has to, but why
the part that handles the features, the mixes, the virtual devices?
I'm under the impression (correct me if I'm wrong) that it was one of
the major reasons to leave OSS4 outside the upstream kernel; too many
stuff in there that belongs in user space. It sounds reasonable to me.

Specially when PulseAudio just works, for me and many more.

[snip]
> ALSA can't switch to Bluetooth either.  You could use PulseAudio with OSS4
> instead of with ALSA though, but this is not officially supported.

Indeed it's not supported, because it's (using your words again)
"broken by design" by trying to do too many things inside the kernel
that belong in user space. That's my understanding at least; please
correct me if you believe I'm mistaken.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Graham Murray
Alan McKinnon  writes:

> There's an API break between the nouveau driver and the drm in 2.6.3[23] (not 
> completely sure about the versions)
>
> Hence the workaround of nouveau-drm
>
> Hopefully it will be *very* temporary

It is. 2.6.34 (which is in ~arch) fixes the API break with the Nouveau
driver. 



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Grant
>> > I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
>>
>> > compilation fails:
>> I don't think you should be using nouveau-drm in the first place.  This
>> driver is now in the kernel itself.  nouveau-drm was used before that
>> driver moved into the Linux kernel together with the other DRM drivers.
>>
>> Also, as a consequence, trying to use nouveau-drm means you're getting
>> an outdated driver, since AFAIK the updates happen in-kernel now.
>
> There's an API break between the nouveau driver and the drm in 2.6.3[23] (not
> completely sure about the versions)
>
> Hence the workaround of nouveau-drm
>
> Hopefully it will be *very* temporary

Have you installed nouveau-drm?  If so, do you get kernel config
warnings during the emerge?

- Grant



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Grant
>>> I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
>>> compilation fails:
>>
>> I don't think you should be using nouveau-drm in the first place.  This
>> driver is now in the kernel itself.  nouveau-drm was used before that driver
>> moved into the Linux kernel together with the other DRM drivers.
>
> Well, the xf86-video-nouveau-0.0.16_pre20100510 ebuild says:
>
> Nouveau DRM not detected. If you want any kind of
> acceleration with nouveau, emerge x11-base/nouveau-drm or
> enable CONFIG_DRM_NOUVEAU in the kernel.
> Nouveau DRM in kernel 2.6.33 is API incompatible to
>>=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm
> instead.
>
> Unfortunately, the same ebuild depends on >=x11-libs/libdrm-2.4.19.  I
> tried to ignore the warning but X fails with:
>
> (EE) Failed to load module "dri" (module does not exist, 0)
> (EE) Failed to load module "dri2" (module does not exist, 0)
> (EE) [drm] No DRICreatePCIBusID symbol
> (EE) No devices detected.
>
> The xf86-video-nouveau-0.0.15_pre20100213 ebuild only depends on
>>=x11-libs/libdrm-2.4.18_pre so I installed those but I still get the
> errors above when trying to start X.
>
> Any ideas?  Do you have nouveau working?
>
> - Grant

I forgot to mention that I have CONFIG_DRM_NOUVEAU enabled in my
2.6.33 kernel and nouveau-firmware is loading successfully.

- Grant



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Grant
>> I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
>> compilation fails:
>
> I don't think you should be using nouveau-drm in the first place.  This
> driver is now in the kernel itself.  nouveau-drm was used before that driver
> moved into the Linux kernel together with the other DRM drivers.

Well, the xf86-video-nouveau-0.0.16_pre20100510 ebuild says:

Nouveau DRM not detected. If you want any kind of
acceleration with nouveau, emerge x11-base/nouveau-drm or
enable CONFIG_DRM_NOUVEAU in the kernel.
Nouveau DRM in kernel 2.6.33 is API incompatible to
>=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm
instead.

Unfortunately, the same ebuild depends on >=x11-libs/libdrm-2.4.19.  I
tried to ignore the warning but X fails with:

(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) [drm] No DRICreatePCIBusID symbol
(EE) No devices detected.

The xf86-video-nouveau-0.0.15_pre20100213 ebuild only depends on
>=x11-libs/libdrm-2.4.18_pre so I installed those but I still get the
errors above when trying to start X.

Any ideas?  Do you have nouveau working?

- Grant



[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 09:44 PM, Canek Peláez Valdés wrote:

On Thu, May 20, 2010 at 12:57 PM, Nikos Chantziaras  wrote:

On 05/20/2010 08:30 PM, Canek Peláez Valdés wrote:


  Don't
even mention OSS4; the sound architecture goes in user space, not the
kernel.


I don't care where they go (why the hell should I?), for as long as they
work.


You should care, because if it breaks inside the kernel, it probably
takes away the whole operating system. And then you lose work and
you're sad.


Well, it doesn't break here.  It's been rock-solid through the years. 
It's too bad it's going to die though; it was the only way to get solid 
sound for me.  ALSA with its out-of-kernel dmix sucked, like, forever.


What doesn't work is PulseAudio, actually.  Too many problems with it. 
Pulse is simply broken by design; it's too far from the kernel to be any 
good.




But don't take my word for it; Intel+Nokia are using PulseAudio in
MeeGo, and Google it's doing the same with Android. They are making an
opinion with their wallets.

(And doesn't really matters, but I haven't heard that it's possible to
switch audio from internal speakers to bluetooth headset with OSS4, so
as far as I'm concerned, it doesn't work.)


ALSA can't switch to Bluetooth either.  You could use PulseAudio with 
OSS4 instead of with ALSA though, but this is not officially supported.





Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 19:32:33 Nikos Chantziaras wrote:
> On 05/20/2010 07:56 PM, Grant wrote:
> > I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
> 
> > compilation fails:
> I don't think you should be using nouveau-drm in the first place.  This
> driver is now in the kernel itself.  nouveau-drm was used before that
> driver moved into the Linux kernel together with the other DRM drivers.
> 
> Also, as a consequence, trying to use nouveau-drm means you're getting
> an outdated driver, since AFAIK the updates happen in-kernel now.

There's an API break between the nouveau driver and the drm in 2.6.3[23] (not 
completely sure about the versions)

Hence the workaround of nouveau-drm

Hopefully it will be *very* temporary

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Canek Peláez Valdés
On Thu, May 20, 2010 at 1:44 PM, Canek Peláez Valdés  wrote:
[snip
> (And doesn't really matters, but I haven't heard that it's possible to
> switch audio from internal speakers to bluetooth headset with OSS4, so
> as far as I'm concerned, it doesn't work.)

With just a few clicks, I should add.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Canek Peláez Valdés
On Thu, May 20, 2010 at 12:57 PM, Nikos Chantziaras  wrote:
> On 05/20/2010 08:30 PM, Canek Peláez Valdés wrote:
>>
>>  Don't
>> even mention OSS4; the sound architecture goes in user space, not the
>> kernel.
>
> I don't care where they go (why the hell should I?), for as long as they
> work.

You should care, because if it breaks inside the kernel, it probably
takes away the whole operating system. And then you lose work and
you're sad.

But don't take my word for it; Intel+Nokia are using PulseAudio in
MeeGo, and Google it's doing the same with Android. They are making an
opinion with their wallets.

(And doesn't really matters, but I haven't heard that it's possible to
switch audio from internal speakers to bluetooth headset with OSS4, so
as far as I'm concerned, it doesn't work.)

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



[gentoo-user] problem updating python

2010-05-20 Thread Rene Lopez Montelongo
Hi everyone
I'm trying to install on a sparc architecture SUN Ultra45.

At the time to install a new slot of python I got the this error...


livecd elog # emerge -auv dev-lang/python

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

Calculating dependencies... done!
[ebuild  NS   ] dev-lang/python-2.5.4-r4  USE="gdbm ncurses readline
ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6
-sqlite -tk -wininst" 0 kB

Total: 1 package (1 in new slot), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-lang/python-2.5.4-r4 to /
 * Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

[ ok ]
 * python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-)
...
 [ ok ]
 * checking ebuild checksums ;-) ...

[ ok ]
 * checking auxfile checksums ;-) ...

[ ok ]
 * checking miscfile checksums ;-) ...

[ ok ]
 * checking Python-2.5.4.tar.bz2 ;-) ...

[ ok ]
 * checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ...

[ ok ]
 *
 * ERROR: dev-lang/python-2.5.4-r4 failed.
 * Call stack:
 *ebuild.sh, line   49:  Called pkg_setup
 *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup
 *python.eclass, line  335:  Called PYTHON 'pkg_setup'
 *python.eclass, line 1320:  Called die
 * The specific snippet of code:
 *  die "${FUNCNAME}(): Main active
version of Python not set"
 *  The die message:
 *   PYTHON(): Main active version of Python not set
 *
 * 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/dev-lang/python-2.5.4-r4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.
 *

 * Messages for package dev-lang/python-2.5.4-r4:

 *
 * ERROR: dev-lang/python-2.5.4-r4 failed.
 * Call stack:
 *ebuild.sh, line   49:  Called pkg_setup
 *   python-2.5.4-r4.ebuild, line   58:  Called python_pkg_setup
 *python.eclass, line  335:  Called PYTHON 'pkg_setup'
 *python.eclass, line 1320:  Called die
 * The specific snippet of code:
 *  die "${FUNCNAME}(): Main active
version of Python not set"
 *  The die message:
 *   PYTHON(): Main active version of Python not set
 *
 * 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/dev-lang/python-2.5.4-r4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'.
 *
livecd elog #



livecd elog # emerge --search python
Searching...
[ Results for search key : python ]
[ Applications found : 117 ]

*  app-admin/eselect-python
  Latest version available: 20091230
  Latest version installed: 20091230
  Size of files: 5 kB
  Homepage:  http://www.gentoo.org
  Description:   Eselect module for management of multiple Python versions
  License:   GPL-2

*  app-admin/python-updater
  Latest version available: 0.8
  Latest version installed: 0.8
  Size of files: 7 kB
  Homepage:  http://www.gentoo.org/proj/en/Python
  Description:   Script used to remerge python packages when
changing Python version.
  License:   GPL-2

*  app-emacs/python-mode [ Masked ]
  Latest version available: 5.1.0
  Latest version installed: [ Not Installed ]
  Size of files: 36 kB
  Homepage:  https://launchpad.net/python-mode
  Description:   An Emacs major mode for editing Python source
  License:   GPL-3

*  app-pda/libopensync-plugin-python [ Masked ]
  Latest version available: 
  Latest version installed: [ Not Installed ]
  Size of files: 0 kB
  Homepage:  http://www.opensync.org/
  Description:   OpenSync Python Module
  License:   LGPL-2.1

*  app-vim/vimpython
  Latest version available: 1.11
  Latest version installed: [ Not Installed ]
  Size of files: 3 kB
  Homepage:  http://www.vim.org/scripts/script.php?script_id=30
  Description:   vim plugin: A set of menus/shortcuts to work with
Python files
  License:   vim

*  app-xemacs/python-modes
  Latest version available: 1.08
  Latest version installed: [ Not Installed ]
  Size of files: 90 kB
  Homepage:  http://xemacs.org/
  Description:   Python support.
  License:   GPL-2

*  dev-lang/python
  Latest version available: 2.5.4-r4
  Latest version installed: 2.4.6
  Size of files: 9,610 kB
  Homepage:  http://www.python.org/
  Description:   Python is an interpreted, interactive,
object-oriented programming language.
  License:   PSF-2.2

*  dev-perl/Inline-Python
  Latest version available: 0.28
  Latest version installed: [ Not In

[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 08:30 PM, Canek Peláez Valdés wrote:

 Don't
even mention OSS4; the sound architecture goes in user space, not the
kernel.


I don't care where they go (why the hell should I?), for as long as they 
work.





[gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 08:32 PM, Nikos Chantziaras wrote:

On 05/20/2010 07:56 PM, Grant wrote:

I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
compilation fails:


I don't think you should be using nouveau-drm in the first place. This
driver is now in the kernel itself. nouveau-drm was used before that
driver moved into the Linux kernel together with the other DRM drivers.

Also, as a consequence, trying to use nouveau-drm means you're getting
an outdated driver, since AFAIK the updates happen in-kernel now.


I forgot to mention *where* in the kernel configuration you can enable 
nouveau.  It's in Device Drivers->Staging drivers





[gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 07:56 PM, Grant wrote:

I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
compilation fails:


I don't think you should be using nouveau-drm in the first place.  This 
driver is now in the kernel itself.  nouveau-drm was used before that 
driver moved into the Linux kernel together with the other DRM drivers.


Also, as a consequence, trying to use nouveau-drm means you're getting 
an outdated driver, since AFAIK the updates happen in-kernel now.





Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Canek Peláez Valdés
On Thu, May 20, 2010 at 6:13 AM, Alan McKinnon  wrote:
[snip]
> Like an earlier poster suggested, PulseAudio looks like a hammer in search of
> a nail.

I have a bluetooth headset. I set it up with gnome-bluetooth, and with
PulseAudio I can dynamically redirect the output in my laptop from the
speakers to the headset and back; it also redirects it automatically
when my headset gets disconnected or runs out of battery.

Good luck doing that with ALSA.

PulseAudio is here to stay, and for a very good reason I say. It's not
"too complicated" or "overkill"; a modern sound architecture for
desktop computers was in dire need for Linux, and PulseAudio was the
first complete and (more important) correct designed solution. Don't
even mention OSS4; the sound architecture goes in user space, not the
kernel.

This is why *ALL* the Linux based mobile phones use PulseAudio: it
*works*, and it *makes sense* from a technical point of view. It
sucked for a long time? Indeed it did; just like KDE 4.0 sucked
immediately afer KDE 3.5; just like X.org sucked at the very
beginning; just like ALSA sucked when it replaced OSS; just like GNOME
2.0 sucked. Innovation is expensive.

I have PulseAudio running perfectly in my laptop, my desktop, *and* my
MediaCenter connected to my 5.1 system. Via HDMI, by the way. I thank
for PulseAudio; now, after the initial (and very annoying) problems,
it works, it doesn't get in the way, and it's flexible enough to adapt
to new hardware and new sound solutions. Bluetooth headsets it's just
one example (but a very good one I believe; everything is going
wireless); there are USB sound cards, transparently output the music
from my laptop to my MediaCenter, and, of course, little beeps from
the GUI when I click a menu item.

I repeat: PulseAudio is here to stay. You can purge it out of your
system, but more and more applications will make use of it, and
eventually you will not be able to have a desktop without it. Right
now it works flawlessly in the majority of hardware; I highly
recommend to start using it now (it's stable in Gentoo since a couple
of months ago, I believe); and better get used to it.

Because it's not going anywhere.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



[gentoo-user] nouveau-drm compile failure

2010-05-20 Thread Grant
I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
compilation fails:

/var/tmp/portage/x11-base/nouveau-drm-20100316/work/master/drivers/gpu/drm/nouveau/nouveau_drv.c:
In function 'nouveau_pci_suspend':
/var/tmp/portage/x11-base/nouveau-drm-20100316/work/master/drivers/gpu/drm/nouveau/nouveau_drv.c:232:
error: implicit declaration of function 'acquire_console_sem'
/var/tmp/portage/x11-base/nouveau-drm-20100316/work/master/drivers/gpu/drm/nouveau/nouveau_drv.c:234:
error: implicit declaration of function 'release_console_sem'

I get kernel config warnings:

 *   CONFIG_FB_CFB_FILLRECT: is not set when it should be.
 *   CONFIG_FB_CFB_COPYAREA: is not set when it should be.
 *   CONFIG_FB_CFB_IMAGEBLIT:is not set when it should be.

But those kernel options are required to be automatically selected by
a list of dependant options which is very long and very ridiculous.
Are those options the reason for the compile failure?

- Grant



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Neil Bothwick
On Thu, 20 May 2010 14:07:49 +0100, Peter Humphrey wrote:

> > The root word it derives from basically means "to make smaller or
> > less important".  
> 
> Actually, in the Mother Tongue, it means "to express disapproval of" (I 
> quote an Oxford English dictionary).

You quote one of the three definitions in the OED. The second is "plead
earnestly against", which applies here. The third is "pray against" which
applies just before removal fro the tree :)


-- 
Neil Bothwick

668 - The neighbour of the beast.


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless Issue

2010-05-20 Thread Paul Hartman
On Wed, May 19, 2010 at 6:14 AM, CJoeB  wrote:
> Hi,
>
> I had wireless working just fine back when I was using the
> 2.6.27-gentoo-r8 kernel.  Since upgrading to the 2.6.30 series of
> kernels, I haven't been able to get it working.  I was using the ipw3945
> driver, but this driver needs TKIP and something else (don't remember
> what) set in the cryptographic section of the kernel source.  I can't
> seem to find where that is located, if it is in the kernel that I am
> currently running - 2.6.31-gentoo-r10.

If I remember correctly, I think there were major changes to kernel
wireless infrastructure introduced in 2.6.30. And in wpa_supplicant
some changes had to be made for some people, like changing the driver
(in my case from -Dmadwifi to -Dwext). Sorry I'm not familiar with
your particular driver but I know there were major changes in general
around that time.

You may also need to emerge net-wireless/iw if you don't have it already.

In the crypto/cipher section of the kernel I've found it easiest to
just build all of them as modules and then they're available if
needed.



Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-20 Thread Stefan G. Weichinger
Am 20.05.2010 12:25, schrieb Stefan G. Weichinger:
> Am 19.05.2010 00:23, schrieb Jan Engelhardt:
> 
>> OK, but don't stop there. pam_mount really just ultimatively runs 
>> mount.crypt; and it tells you that it does by means of syslog (with
>> enabled debug=1 of course).
>>
>> command: 'mount.crypt' '-ofsk
> 
> Sorry, I don't see that in my logs (yep, debug=1).

debug=2 didn't show anything new, btw.

--

Trying pmt-ehd for a change:

# pmt-ehd -f /dev/VG01/sgwcrypt -p /etc/security/sgwcrypt.enc -h md5 -D
-s 25000

Creating a new container at /dev/VG01/sgwcrypt
/dev/VG01/sgwcrypt is a symlink and points to ../dm-2
Do you really want to overwrite /dev/VG01/sgwcrypt? (y/n)
y
Writing random data to container
Password:
Reenter password:
Using openssl cipher "aes-256-cbc" and hash "md5"
ehd(crypto-dmc.c:144): Using _dev_VG01_sgwcrypt as dmdevice name
crypt_activate: No such file or directory

Oh my ...



Re: [gentoo-user] USB printer and new cups

2010-05-20 Thread Alex Schuster
Mick wrote:

> On Sunday 16 May 2010 02:56:23 Alex Schuster wrote:

> > But my main problem is another one: How do I tell CUPS which device
> > my printer is? I tried usb:/dev/usb/lp0 (found this notation when
> > googling 'usb printer device uri'), but nothing happens when I try
> > to print.
> 
> This is the cups driver (in kernel) which ought to pick up your usb
> printer and use it without problems.  However, according to your logs
> ... there seems to be a clash:
>
> > There is a message in syslog that is being repeated hundreds of
> > times: May 15 22:25:55 [kernel] usb 1-2: usbfs: interface 0 claimed
> > by usblp while 'usb' sets config #1

And I just found this:

May 15 22:17:40 [kernel] usb 1-2: new high speed USB device using ehci_hcd 
and address 3
May 15 22:17:41 [kernel] usblp0: USB Bidirectional printer dev 3 if 0 alt 
0 proto 2 vid 0x04A9 pid 0x10A5
May 15 22:17:41 [kernel] usbcore: registered new interface driver usblp
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 717, 
in main_h = HalLpAdmin()
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 686, 
in __init___self.addPrinter()
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 700, 
in addPrinter_printer.add()
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 541, 
in add_location=os.uname ()[1])
May 15 22:17:46 [hal_lpadmin] IPPError: (1280, 'server-error-internal-
error')

> So, what happens if you build usblp as a module and you modprobe -rv
> ubslp? Does cups pick up your printer now?

I was too busy to try this. And I don't have the printer here right now. 
But I will try this soon, so thanks.

> > And now it gets really crazy: In the printer overview I see not only
> > the 'iP5200' I just created, but also a 'iP52002' that has the
> > device URI 'usb://Canon/iP5200'. What did create this?!
> > 
> > But printing to that does not work either.
> 
> I suspect that this was created by the gutenprint driver that you
> installed. I believe that if you resolve the usblp error first then
> you'll know if gutenprint is necessary or if it will work.  Some
> manual tweaking of the ppd file may also be needed to print in higher
> resolutions, but let's get it to print first.
> 
> Stop press!
> 
> I just checked again your first post: You are using cups 1.4 which
> accesses raw usb devices!  Definitely remove usblp (or blacklist it
> and reboot if you don't want to recompile your kernel, or can't
> modprobe -r) and see if the cups back end picks up your printer on its
> own.

Thanks Mick! I will try again soon, this time on another Gentoo machine, 
where the printer finally belongs. I just wanted to try it out and to 
check the printing results. Well, this did not work at all, but at least I 
know now that it should be supported, while before I was under the 
impression I had to use a similar driver, and hope for good results.

Wonko



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Peter Humphrey
On Thursday 20 May 2010 09:20:54 Alan McKinnon wrote:

> The root word it derives from basically means "to make smaller or
> less important".

Actually, in the Mother Tongue, it means "to express disapproval of" (I 
quote an Oxford English dictionary).

> It's not the same thing as "depreciate" or "removed" or "obsolete" or
> "disappeared".

Indeed, that is most certainly true.

-- 
Rgds
Peter.



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 10:40:33 Nikos Chantziaras wrote:
> On 05/20/2010 11:15 AM, Alan McKinnon wrote:
> > On Wednesday 19 May 2010 23:56:39 walt wrote:


[snip]

> >> Well, since I'm first to answer I get to inject my prejudices first :)
> >> 
> >> I think pulse is a very long answer to a very short question and so I
> >> did away with it months ago.  And I haven't regretted it.
> >> 
> >> Truly, I think very few people need pulse outside of professionals who
> >> work in film or music.  The main reason others have disagreed with my
> >> opinion is because your silly desktop sounds like beeps and boings and
> >> toilets flushing interrupt the CD you're listening to.  Uh, well, yeah,
> >> one sound generally interrupts another, true.  So what?
> >> 
> >> I'll bet your audio would do what you expect it to do if you just
> >> removed every trace of pulse from your machine and run revdep-rebuild
> >> with the pulse, arts, and esd useflags disabled (if those flags still
> >> exist).
> >> 
> >> Contrary opinions will follow shortly ;)
> > 
> > No, I don't think they will :-)
> 
> Well, here is one :P
> 
> "Uh, well, yeah, one sound generally interrupts another, true."
> 
> That is not true.  ALSA (most people use that one) has dmix, which mixes
> all sounds from all applications together.  You don't need PulseAudio
> for that.

PulseAudio does indeed have it's uses. Some folks really do want fine-grained 
control over each daemon using the sound system, but those folks are not the 
set of average users.

Feature-wise, ALSA pretty much does everything the *average* user wants, and 
that user does not really want to schlepp sound over the network or tweak 
every individual thing making noises.

Now ALSA may or may not have good-quality code in it but that's another 
matter. We are discussing features.

Like an earlier poster suggested, PulseAudio looks like a hammer in search of 
a nail.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 11:36:46 Willie Wong wrote:
> On Thu, May 20, 2010 at 10:20:54AM +0200, Alan McKinnon wrote:
> > > Ah... I see, I was trying to figure out what they meant by deprecated
> > > and how they determined it. It seems that the only thing common to
> > > those packages is that their ebuilds are no-longer in the tree.
> > 
> > Each one of those packages you list has more up to date versions
> > available in the tree.
> 
> Precisely. But the exact version that is installed is no longer in
> the tree. Seeing that I don't recall the portage system introducing a
> deprecated flag (short of the removal notice and package.mask), I was
> curious how eclean determined that those packages are deprecated.
> 
> And also seeing that for many of the ones I listed, neither
>   emerge --update --deep world
> nor
>   emerge --update --deep --with-bdeps=y world
> suggest their updates, in my case they are probably just cruft that
> ought to go away once the system is brought up to date and I can run
> depclean.

I remember something about a "deprecated" feature somewhere.
Can't remember where now, and grep doesn't reveal it...

> 
> But am I wrong in my impression that with bdeps, the common thing to
> do is to update them only when absolutely necessary? So in this case
> the deprecation warning might introduce unnecessary cycles spent on
> building those packages (among those who don't want to track down the
> origins of those packages and just want the block of text to go away).

Yes, that's pretty much true.

bdeps are are deps that are only used to build stuff, not run them. So portage 
will only update them when it needs to build something using them.

You can use bdeps=y in make.conf but most folks just leave it at the sensible 
default.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-20 Thread Stefan G. Weichinger
Am 19.05.2010 00:23, schrieb Jan Engelhardt:

> OK, but don't stop there. pam_mount really just ultimatively runs 
> mount.crypt; and it tells you that it does by means of syslog (with
> enabled debug=1 of course).
> 
> command: 'mount.crypt' '-ofsk

Sorry, I don't see that in my logs (yep, debug=1).


May 20 12:18:03 enzo slim: pam_mount(pam_mount.c:364): pam_mount 2.1:
entering auth stage
May 20 12:18:03 enzo slim: pam_mount(pam_mount.c:552): pam_mount 2.1:
entering session stage
May 20 12:18:03 enzo slim: pam_mount(misc.c:38): Session open: (uid=0,
euid=0, gid=0, egid=0)
May 20 12:18:03 enzo slim: pam_mount(mount.c:196): Mount info:
globalconf, user=sgw  fstab=0
May 20 12:18:03 enzo slim: pam_mount(misc.c:38): set_myuid: (uid=0,
euid=0, gid=0, egid=0)
May 20 12:18:03 enzo slim: pam_mount(misc.c:38): set_myuid:
(uid=0, euid=0, gid=0, egid=0)
May 20 12:18:12 enzo slim: pam_mount(mount.c:64): Errors from underlying
mount program:
May 20 12:18:12 enzo slim: pam_mount(mount.c:68):
crypt_activate_by_passphrase: Operation not permitted
May 20 12:18:14 enzo slim: pam_mount(pam_mount.c:520): mount of
/dev/mapper/VG01-crypthome failed
May 20 12:18:14 enzo slim: pam_mount(misc.c:38): set_myuid: (uid=0,
euid=0, gid=0, egid=0)
May 20 12:18:14 enzo slim: pam_mount(misc.c:38): set_myuid:
(uid=0, euid=0, gid=0, egid=0)
May 20 12:18:15 enzo slim: pam_mount(pam_mount.c:440): pmvarrun says
login count is 1
May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:642): done opening
session (ret=0)
May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:115): Clean global
config (0)
May 20 12:18:16 enzo slim: pam_mount(pam_mount.c:132): clean system
authtok=0x80bdac0 (0)



> And that is what you can run from shell, which eliminates pam_mount
> from the path and only leaves the usual suspects.
> 
> Keep on it, marine!

I try ;-)   *sigh*

Stefan



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Willie Wong
On Thu, May 20, 2010 at 10:20:54AM +0200, Alan McKinnon wrote:
> > Ah... I see, I was trying to figure out what they meant by deprecated
> > and how they determined it. It seems that the only thing common to
> > those packages is that their ebuilds are no-longer in the tree.

> Each one of those packages you list has more up to date versions available in 
> the tree.

Precisely. But the exact version that is installed is no longer in
the tree. Seeing that I don't recall the portage system introducing a
deprecated flag (short of the removal notice and package.mask), I was
curious how eclean determined that those packages are deprecated. 

And also seeing that for many of the ones I listed, neither
  emerge --update --deep world
nor
  emerge --update --deep --with-bdeps=y world
suggest their updates, in my case they are probably just cruft that
ought to go away once the system is brought up to date and I can run
depclean. 

But am I wrong in my impression that with bdeps, the common thing to
do is to update them only when absolutely necessary? So in this case
the deprecation warning might introduce unnecessary cycles spent on
building those packages (among those who don't want to track down the
origins of those packages and just want the block of text to go away).

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Fabian Köster
> I think pulse is a very long answer to a very short question and so I did
> away with it months ago.  And I haven't regretted it.
> 
> Truly, I think very few people need pulse outside of professionals who work
> in film or music.  The main reason others have disagreed with my opinion is
> because your silly desktop sounds like beeps and boings and toilets
> flushing interrupt the CD you're listening to.  Uh, well, yeah, one sound
> generally interrupts another, true.  So what?
> 
> I'll bet your audio would do what you expect it to do if you just removed
> every trace of pulse from your machine and run revdep-rebuild with the
> pulse, arts, and esd useflags disabled (if those flags still exist).
> 
> Contrary opinions will follow shortly ;)

ok.. the reason why I use PulseAudio at all is because I need sound forwarding 
over network. I have an IGEPv2 board which is connected using USB-sound to my 
amplifier. This works fine by the way, but not using KDE applications..



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


Re: [gentoo-user] Some problems with virtualbox

2010-05-20 Thread Chen Huan
I checked the symlink, and it is pointed to the running kernel~~~

when I recompile the kernel with DRM support, all things back to
normal..

2010/5/20 Dale 

> Chen Huan wrote:
>
>> Hi everyone, after I installed virtualbox, when I compile the kernel and
>> execute "make modules_install", the message appears:
>>
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_open
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_fasync
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_poll
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_core_get_reg_ofs
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_ioctl
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_exit
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_core_get_map_ofs
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_init
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_vblank_init
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_mmap
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_core_reclaim_buffers
>> WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
>> symbol drm_release
>>
>>
>> and when I execute "modprobe vboxvideo", it saied
>>
>> FATAL: Error inserting vboxvideo
>> (/lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko): Unknown symbol in module,
>> or unknown parameter (see dmesg)
>>
>> the output of dmesg is :
>>
>> vboxvideo: Unknown symbol drm_open
>> vboxvideo: Unknown symbol drm_fasync
>> vboxvideo: Unknown symbol drm_poll
>> vboxvideo: Unknown symbol drm_core_get_reg_ofs
>> vboxvideo: Unknown symbol drm_ioctl
>> vboxvideo: Unknown symbol drm_exit
>> vboxvideo: Unknown symbol drm_core_get_map_ofs
>> vboxvideo: Unknown symbol drm_init
>> vboxvideo: Unknown symbol drm_vblank_init
>> vboxvideo: Unknown symbol drm_mmap
>> vboxvideo: Unknown symbol drm_core_reclaim_buffers
>> vboxvideo: Unknown symbol drm_release
>>
>>
>> But when I use Virtualbox, all things are normal, I wanna know why there
>> are so many warnings, and why I cannot modprobe vboxvideo
>>
>> Does it because my kernel didn't include DRM?
>>
>> Many thanks
>>
>>
> I don't know anything about virtualbox but are you sure you have the
> symlink pointing to the running kernel?  I mention because it sounds like
> something I would do.  ;-)
>
> Dale
>
> :-)  :-)
>
>


[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 11:15 AM, Alan McKinnon wrote:

On Wednesday 19 May 2010 23:56:39 walt wrote:

On 05/19/2010 12:59 PM, Fabian Köster wrote:

Hi *,

I am currently trying to use Phonon and PulseAudio and have the following
problem:

When I play some Video with a Non-KDE application like VLC everything is
perfectly directed to the local PulseAudio running on my machine and i
have the expected sound-output.

But when I use a KDE-Application like Kaffeine or Amarok there is no
sound output although the stream is listed by pavucontrol...


Well, since I'm first to answer I get to inject my prejudices first :)

I think pulse is a very long answer to a very short question and so I did
away with it months ago.  And I haven't regretted it.

Truly, I think very few people need pulse outside of professionals who work
in film or music.  The main reason others have disagreed with my opinion is
because your silly desktop sounds like beeps and boings and toilets
flushing interrupt the CD you're listening to.  Uh, well, yeah, one sound
generally interrupts another, true.  So what?

I'll bet your audio would do what you expect it to do if you just removed
every trace of pulse from your machine and run revdep-rebuild with the
pulse, arts, and esd useflags disabled (if those flags still exist).

Contrary opinions will follow shortly ;)


No, I don't think they will :-)


Well, here is one :P

"Uh, well, yeah, one sound generally interrupts another, true."

That is not true.  ALSA (most people use that one) has dmix, which mixes 
all sounds from all applications together.  You don't need PulseAudio 
for that.





Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 10:05:57 Willie Wong wrote:
> On Thu, May 20, 2010 at 07:38:43AM +0200, Alan McKinnon wrote:
> > On Thursday 20 May 2010 06:34:37 Willie Wong wrote:
> > > Hi list,
> > > 
> > > I ran 'eclean-dist' last night (with no additional arguments) to clean
> > > out /usr/portage/distfiles. And it generated a bit of interesting
> > > 
> > > output that I haven't seen before:
> > >The folowing Deprecated installed packages were found
> > >
> > >  media-libs/libpng-1.2.43-r1
> > >  dev-python/reportlab-2.3-r1
> > >  app-i18n/gcin-1.4.7_pre17
> > >  sys-kernel/gentoo-sources-2.6.31-r9
> > >  dev-perl/URI-1.53
> > >  dev-java/sun-jdk-1.5.0.22
> > > 
> > > I don't see anything about this feature in 'man eclean'; does anyone
> > > know what this is all about?
> > 
> > It means those package version are deprecated and you are encouraged to
> > upgrade them.
> 
> Ah... I see, I was trying to figure out what they meant by deprecated
> and how they determined it. It seems that the only thing common to
> those packages is that their ebuilds are no-longer in the tree.
> 
> So I guess I'm not going to worry too much about it: if they haven't
> gotten updated regularly that probably means they are either bdeps or
> that they will be depcleaned the next time I do it.

This word "deprecated" confuses tons of people. I don't know if it does that 
to you or not, but lots of other people read this list, so for their benefit 
here goes.

"deprecated" means "this package has been superceded by something else and 
although it is still available and works, you are encouraged to stop using it 
and upgrade". The intent is that eventually a deprecated package will go away.

The root word it derives from basically means "to make smaller or less 
important". It's not the same thing as "depreciate" or "removed" or "obsolete" 
or "disappeared".

Each one of those packages you list has more up to date versions available in 
the tree.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] corefonts being depcleaned?

2010-05-20 Thread Alan McKinnon
On Thursday 20 May 2010 05:35:40 Stroller wrote:
> On 19 May 2010, at 23:14, David W Noon wrote:
> > On Wed, 19 May 2010 22:30:03 +0200, Dale wrote about Re: [gentoo-user]
> > corefonts being depcleaned?:
> > 
> > [snip]
> > 
> >> Yea, it has times, ariel and a few others that I use a lot so it has
> >> to stay.  I was going to try without it but I use those a lot.  Ariel
> >> is really good for me to read with these old glasses.
> > 
> > Arial is simply the TrueType clone of Helvetica ...
> 
> Helvetica (in red) overlaid with Arial (in blue):
> http://en.wikipedia.org/wiki/File:Arial_Helvetica_overlay2.svg
> 
> "Though nearly identical to Linotype Helvetica in both proportion and
> weight (see figure), the design of Arial is in fact a variation of
> Monotype Grotesque, ... Subtle changes and variations were made to
> both the letterforms and the spacing between characters, in order to
> make it more readable on screen and at various resolutions."
> 
> http://en.wikipedia.org/wiki/Arial
> 
> Stroller.


Quite correct.

Typefaces are not normally interchangeable with no side effects. They have 
purposes and intended applications, like most other stuff in life.

Arial was designed to work well as a menubar font so it can display 
"File  Edit  View ..." etc in as little horizontal space as possible. And it 
does this very very well.

I use Dejavu for this because I'm a pedantic old license-nitpicking geek but I 
can see that Arial is actually a tad better for the job.

Verdana OTOH is designed for web pages. These consist of brief terse 
paragraphs that the eye must absorb rapidly with a minimum of clutter around 
the glyphs - that's why it is a sans-serif font. It is completely unsuited to 
being type-set like a novel.

Try it and see - reformat a regular book in Verdana and try read it. Your eyes 
will explode and you'll get headaches in short order. Then do it in Times New 
Roman. Ah, bliss. That works better.

corefonts are excellent at their intended purpose. Almost nothing out there 
does it better. The Liberation package from RedHat tries to match it and comes 
very close, with the additional benefit of being completely free and untainted 
by the Big Bad Dominant OS Company



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Alan McKinnon
On Wednesday 19 May 2010 23:56:39 walt wrote:
> On 05/19/2010 12:59 PM, Fabian Köster wrote:
> > Hi *,
> > 
> > I am currently trying to use Phonon and PulseAudio and have the following
> > problem:
> > 
> > When I play some Video with a Non-KDE application like VLC everything is
> > perfectly directed to the local PulseAudio running on my machine and i
> > have the expected sound-output.
> > 
> > But when I use a KDE-Application like Kaffeine or Amarok there is no
> > sound output although the stream is listed by pavucontrol...
> 
> Well, since I'm first to answer I get to inject my prejudices first :)
> 
> I think pulse is a very long answer to a very short question and so I did
> away with it months ago.  And I haven't regretted it.
> 
> Truly, I think very few people need pulse outside of professionals who work
> in film or music.  The main reason others have disagreed with my opinion is
> because your silly desktop sounds like beeps and boings and toilets
> flushing interrupt the CD you're listening to.  Uh, well, yeah, one sound
> generally interrupts another, true.  So what?
> 
> I'll bet your audio would do what you expect it to do if you just removed
> every trace of pulse from your machine and run revdep-rebuild with the
> pulse, arts, and esd useflags disabled (if those flags still exist).
> 
> Contrary opinions will follow shortly ;)


No, I don't think they will :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Willie Wong
On Thu, May 20, 2010 at 07:38:43AM +0200, Alan McKinnon wrote:
> On Thursday 20 May 2010 06:34:37 Willie Wong wrote:
> > Hi list,
> > 
> > I ran 'eclean-dist' last night (with no additional arguments) to clean
> > out /usr/portage/distfiles. And it generated a bit of interesting
> > output that I haven't seen before:
> > 
> >The folowing Deprecated installed packages were found
> >  media-libs/libpng-1.2.43-r1
> >  dev-python/reportlab-2.3-r1
> >  app-i18n/gcin-1.4.7_pre17
> >  sys-kernel/gentoo-sources-2.6.31-r9
> >  dev-perl/URI-1.53
> >  dev-java/sun-jdk-1.5.0.22
> > 
> > I don't see anything about this feature in 'man eclean'; does anyone know
> > what this is all about?
> 
> It means those package version are deprecated and you are encouraged to 
> upgrade them.
> 

Ah... I see, I was trying to figure out what they meant by deprecated
and how they determined it. It seems that the only thing common to
those packages is that their ebuilds are no-longer in the tree. 

So I guess I'm not going to worry too much about it: if they haven't
gotten updated regularly that probably means they are either bdeps or
that they will be depcleaned the next time I do it.

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Some problems with virtualbox

2010-05-20 Thread Dale

Chen Huan wrote:
Hi everyone, after I installed virtualbox, when I compile the kernel 
and execute "make modules_install", the message appears:


WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_open
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_fasync
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_poll
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_core_get_reg_ofs
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_ioctl
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_exit
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_core_get_map_ofs
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_init
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_vblank_init
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_mmap
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_core_reclaim_buffers
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown 
symbol drm_release



and when I execute "modprobe vboxvideo", it saied

FATAL: Error inserting vboxvideo 
(/lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)


the output of dmesg is :

vboxvideo: Unknown symbol drm_open
vboxvideo: Unknown symbol drm_fasync
vboxvideo: Unknown symbol drm_poll
vboxvideo: Unknown symbol drm_core_get_reg_ofs
vboxvideo: Unknown symbol drm_ioctl
vboxvideo: Unknown symbol drm_exit
vboxvideo: Unknown symbol drm_core_get_map_ofs
vboxvideo: Unknown symbol drm_init
vboxvideo: Unknown symbol drm_vblank_init
vboxvideo: Unknown symbol drm_mmap
vboxvideo: Unknown symbol drm_core_reclaim_buffers
vboxvideo: Unknown symbol drm_release


But when I use Virtualbox, all things are normal, I wanna know why 
there are so many warnings, and why I cannot modprobe vboxvideo


Does it because my kernel didn't include DRM?

Many thanks



I don't know anything about virtualbox but are you sure you have the 
symlink pointing to the running kernel?  I mention because it sounds 
like something I would do.  ;-)


Dale

:-)  :-)



[gentoo-user] Some problems with virtualbox

2010-05-20 Thread Chen Huan
Hi everyone, after I installed virtualbox, when I compile the kernel and
execute "make modules_install", the message appears:

WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_open
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_fasync
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_poll
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_core_get_reg_ofs
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_ioctl
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_exit
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_core_get_map_ofs
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_init
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_vblank_init
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_mmap
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_core_reclaim_buffers
WARNING: /lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko needs unknown
symbol drm_release


and when I execute "modprobe vboxvideo", it saied

FATAL: Error inserting vboxvideo
(/lib/modules/2.6.33-gentoo-r2/misc/vboxvideo.ko): Unknown symbol in module,
or unknown parameter (see dmesg)

the output of dmesg is :

vboxvideo: Unknown symbol drm_open
vboxvideo: Unknown symbol drm_fasync
vboxvideo: Unknown symbol drm_poll
vboxvideo: Unknown symbol drm_core_get_reg_ofs
vboxvideo: Unknown symbol drm_ioctl
vboxvideo: Unknown symbol drm_exit
vboxvideo: Unknown symbol drm_core_get_map_ofs
vboxvideo: Unknown symbol drm_init
vboxvideo: Unknown symbol drm_vblank_init
vboxvideo: Unknown symbol drm_mmap
vboxvideo: Unknown symbol drm_core_reclaim_buffers
vboxvideo: Unknown symbol drm_release


But when I use Virtualbox, all things are normal, I wanna know why there are
so many warnings, and why I cannot modprobe vboxvideo

Does it because my kernel didn't include DRM?

Many thanks