[SOLVED] Re: [gentoo-user] Cannot emerge x11-libs/qt-webkit-4.6.2-r1

2010-05-08 Thread Jim Cunning
On Friday 07 May 2010 17:04:22 William Kenworthy wrote:
 
  For the last week or perhaps more, I have been unable to complete an
  emerge update of world because x11-libs/qt-webkit-4.6.2-r1 fails.  I now
  have just the following ebuilds that cannot finish because of qt-webkit:
  
[...]
  
  Near the end of the emerge, the following error occurs:
  
  compiling .rcc/release-shared/qrc_WebKit.cpp
  rm -f libQtWebKit.so.4.6.2 libQtWebKit.so libQtWebKit.so.4
  libQtWebKit.so.4.6 linking ../../../../lib/libQtWebKit.so.4.6.2
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
  gnu/bin/ld:obj/release/HTMLParser.o: file format not recognized; treating
  as linker script
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
  gnu/bin/ld:obj/release/HTMLParser.o:1: syntax error
  collect2: ld returned 1 exit status
  make: *** [../../../../lib/libQtWebKit.so.4.6.2] Error 1
 
   * ERROR: x11-libs/qt-webkit-4.6.2-r1 failed:
   *emake failed
 
  There was a thread on gentoo forums with this very error listed as solved
  (https://forums.gentoo.org/viewtopic.php?p=6262495), but the ccache
  solution suggested there has no effect on my experience of the problem. 
  Anyone have a suggestion on how to proceed?
  
  Thanks,

 FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...
 
 Worked for me on multiple systems
 
 BillK

Thanks for the tip. It seems to have done the trick, because emerge is running 
far longer beyond the point it originally failed with the error above.
-- 
Jim


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


Re: [SOLVED] Re: [gentoo-user] Cannot emerge x11-libs/qt-webkit-4.6.2-r1

2010-05-08 Thread Neil Bothwick
On Fri, 7 May 2010 23:16:47 -0700, Jim Cunning wrote:

  FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...
  
  Worked for me on multiple systems

 Thanks for the tip. It seems to have done the trick, because emerge is
 running far longer beyond the point it originally failed with the error
 above.

I have removed ccache from all my systems, the minutes of computer time
it saved were not worth the hours of my time it consumed when it broke
things.


-- 
Neil Bothwick

Nothing is illegal if one hundred businessmen decide to do it.


signature.asc
Description: PGP signature


Re: [gentoo-user] arping network profile issue

2010-05-08 Thread Adam
On 05/08/10 15:25, Zhou Rui wrote:
 What I want is finding a gateway out with ARP, and then assign the correct
 gateway/route table, 

You cant discover a router with ARP. ARP finds the MAC address of a host
that's associated with a given IP address.

Ways of getting a ipv4 gateway are;
- manual configuration
- DHCP
- http://en.wikipedia.org/wiki/ICMP_Router_Discovery_Protocol




[gentoo-user] dirmngr crashes when launching Gnupg Log Viewer in Kleopatra

2010-05-08 Thread Mick
There's more than one bugs that I need to report so please bear with me as I 
describe how I came across them:

1st Bug

Recently I tried to import a personal SSL certificate from Comodo into 
Kleopatra version 2.0.9.  Every time it fails when I enter a passphrase to 
import it.  Converting the .pkcs12 certificate and key file into a .pem format 
and then trying to import that also fails with a BER error.

The Gnupg Log Viewer shows:
===
[2010-05-07T22:24:22] Log cleared
[client at fd 4 connected]
  4 - 2010-05-07 22:24:25 gpgsm[14692]: enabled debug flags: assuan
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # Home: ~/.gnupg
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # Config: 
/home/michael/.gnupg/gpgsm.conf
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # AgentInfo: /tmp/gpg-
yRFiu9/S.gpg-agent:13728:1
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # DirmngrInfo: [not set]
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK GNU Privacy Guard's S/M 
server 2.0.14 ready
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OPTION display=:0.0
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OPTION enable-audit-log=1
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - INPUT FD=21
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - IMPORT
  4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2d skipped
  4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 3a skipped
  4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2c skipped
  4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2d skipped
  4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 3a skipped
  4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2d skipped
  4 - 2010-05-07 22:24:25 gpgsm[14692]: total number processed: 0
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - S IMPORT_RES 0 0 0 0 0 0 0 0 
0 0 0 0 0 0
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - ERR 150995078 BER error 
KSBA
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - BYE
  4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK closing connection
[client at fd 4 disconnected]
===

Would you know what the entries invalid radix64 character mean?  This error 
seems to be repeated with a 32bit Gentoo system of mine too (I initially 
suspected that it was only relevant to this amd64 arch).


2nd Bug

Looking into the Gnupg Log Viewer options, I changed the Default log level 
from Basic to Guru, to see if I can get some more information about this 
error.  Well, that proved to be a bad mistake which crippled my log viewer!

Now, I cannot launch the Gnupg Log Viewer.  It crashes every time, after it 
dumps a load of files like dbgmd-1.hash.cert into ~/.  

Also I cannot change the log viewer's default log level anymore!  Trying to do 
it from within Kleopatra takes, as shown in ~/.gnupg/dirmngr.conf:
===
###+++--- GPGConf ---+++###
debug-level basic
log-file socket:///home/michael/.gnupg/log-socket
###+++--- GPGConf ---+++### Sat May  8 11:45:20 2010 BST
# GPGConf edited this configuration file.
# It will disable options before this marked block, but it will
# never change anything below these lines.
===

 but as soon as I launch Gnupg Log Viewer it reverts back to Guru.  Any idea 
what gpgconf reads to reset this damn log level from Basic to Guru?

Remerging a load of apps including dirmngr does not fix it.  :-(

This is what the gconf settings for dirmngr show:
===
$ gpgconf --list-options dirmngr   
Monitor:1:0:Options controlling the diagnostic output:0:0
verbose:4:0:verbose:0:0
quiet:0:0:be somewhat more quiet:0:0
no-greeting:0:3::0:0
Format:1:0:Options controlling the format of the output:0:0
Configuration:1:2:Options controlling the configuration:0:0
Debug:1:1:Options useful for debugging:0:0
debug-level:18:1:set the debugging level to LEVEL:1:1:LEVEL:none::guru
log-file:0:1:write server mode logs to 
FILE:32:1:FILE:::socket%3a///home/michael/.gnupg/log-socket
faked-system-time:0:3::3:3
Enforcement:1:0:Options controlling the interactivity and enforcement:0:0
force:0:0:force loading of outdated CRLs:0:0
HTTP:1:1:Configuration for HTTP servers:0:0
disable-http:0:1:inhibit the use of HTTP:0:0
ignore-http-dp:0:1:ignore HTTP CRL distribution points:0:0
http-proxy:0:1:redirect all HTTP requests to URL:1:1:URL:::
honor-http-proxy:0:1:use system's HTTP proxy setting:0:0
LDAP:1:0:Configuration of LDAP servers to use:0:0
disable-ldap:0:1:inhibit the use of LDAP:0:0
ignore-ldap-dp:0:1:ignore LDAP CRL distribution 

Re: [SOLVED] Re: [gentoo-user] Cannot emerge x11-libs/qt-webkit-4.6.2-r1

2010-05-08 Thread Dale

Neil Bothwick wrote:

On Fri, 7 May 2010 23:16:47 -0700, Jim Cunning wrote:

   

FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...

Worked for me on multiple systems
   
   

Thanks for the tip. It seems to have done the trick, because emerge is
running far longer beyond the point it originally failed with the error
above.
 

I have removed ccache from all my systems, the minutes of computer time
it saved were not worth the hours of my time it consumed when it broke
things.

   


+1   Disabled here a long time ago too.  Took up a good bit of space, 
caused problems and wasted more time that in saved.


Dale

:-)  :-)



[gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Francisco Ares
Hi, guys,

After quite a long update list of packages (100+) and a reboot, I could not
work in any window or desktop manager I have installed.

I rebooted (the ACPI power switch worked fine) and managed to get
interactive action during the init scripts and did not allowed xdm to
start.

Then I was able to use normaly the keyboard and mouse (gpm). Forced
reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in my
case, nvidia-drivers) and tryed to use Window Maker - no mouse movements,
although the pointer was there, and no visible keyboard effect.

Any hints on how to get things back?

Thanks
Francisco

-- 
If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas. -
George Bernard Shaw


Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Alan McKinnon
On Saturday 08 May 2010 14:48:13 Francisco Ares wrote:
 Hi, guys,
 
 After quite a long update list of packages (100+) and a reboot, I could not
 work in any window or desktop manager I have installed.
 
 I rebooted (the ACPI power switch worked fine) and managed to get
 interactive action during the init scripts and did not allowed xdm to
 start.
 
 Then I was able to use normaly the keyboard and mouse (gpm). Forced
 reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in
 my case, nvidia-drivers) and tryed to use Window Maker - no mouse
 movements, although the pointer was there, and no visible keyboard effect.
 
 Any hints on how to get things back?

What version of xorg-server?
It gives an elog, did you read it?
What input driver?
If you upgraded to xorg-server-1.8, did you disable hal and enable udev?
Are you using the evdev driver?


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: dirmngr crashes when launching Gnupg Log Viewer in Kleopatra

2010-05-08 Thread Mick
On Saturday 08 May 2010 12:05:02 you wrote:
 There's more than one bugs that I need to report so please bear with me as
  I describe how I came across them:
 
 1st Bug
 
 Recently I tried to import a personal SSL certificate from Comodo into
 Kleopatra version 2.0.9.  Every time it fails when I enter a passphrase to
 import it.  Converting the .pkcs12 certificate and key file into a .pem
  format and then trying to import that also fails with a BER error.
 
 The Gnupg Log Viewer shows:
 ===
 [2010-05-07T22:24:22] Log cleared
 [client at fd 4 connected]
   4 - 2010-05-07 22:24:25 gpgsm[14692]: enabled debug flags: assuan
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # Home: ~/.gnupg
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # Config:
 /home/michael/.gnupg/gpgsm.conf
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # AgentInfo: /tmp/gpg-
 yRFiu9/S.gpg-agent:13728:1
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - # DirmngrInfo: [not set]
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK GNU Privacy Guard's S/M
 server 2.0.14 ready
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OPTION display=:0.0
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OPTION enable-audit-log=1
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - INPUT FD=21
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - IMPORT
   4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2d
  skipped 4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 3a
  skipped 4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2c
  skipped 4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2d
  skipped 4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 3a
  skipped 4 - 2010-05-07 22:24:25 gpgsm[14692]: invalid radix64 character 2d
  skipped 4 - 2010-05-07 22:24:25 gpgsm[14692]: total number processed: 0
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - S IMPORT_RES 0 0 0 0 0 0 0
  0 0 0 0 0 0 0
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - ERR 150995078 BER error
 KSBA
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - BYE
   4 - 2010-05-07 22:24:25 gpgsm[14692.0] DBG: - OK closing connection
 [client at fd 4 disconnected]
 ===
 
 Would you know what the entries invalid radix64 character mean?  This
  error seems to be repeated with a 32bit Gentoo system of mine too (I
  initially suspected that it was only relevant to this amd64 arch).
 
 
 2nd Bug
 
 Looking into the Gnupg Log Viewer options, I changed the Default log level
 from Basic to Guru, to see if I can get some more information about this
 error.  Well, that proved to be a bad mistake which crippled my log viewer!
 
 Now, I cannot launch the Gnupg Log Viewer.  It crashes every time, after it
 dumps a load of files like dbgmd-1.hash.cert into ~/.
 
 Also I cannot change the log viewer's default log level anymore!  Trying to
[snip ...]

I fixed the second fault.  Launching GnuPG Log Manager from Kmail/Tools/GnuPG 
Log Manager *without* Kleopatra running allows me to change the default log 
level back down to 'basic'.  Setting it to 'expert' or 'guru' causes crashes 
if Kleopatra is running - so something is definitely amiss.  Nevertheless, 
it's working again now without crashing, so I'm happy.

Any advice on importing the SSL certificate would be much appreciated.
-- 
Regards,
Mick


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


Re: [gentoo-user] Open Source DSP tools for learning?

2010-05-08 Thread luis jure
on 2010-05-06 at 07:31 Mark Knecht wrote:

   Does anyone possibly know of any tools in Open Source for exploring
DSP filter design? Something that might allow me to write equations,
stimulate the filter, see the results in a GUI?

i guess a general scientific tool like octave (a free alternative to
matlab, the de facto standard among scientists) would do all you may
possibly want to do, although learning the language might require some
time. i don't know of any ready-to-go tool for dsp where you just put
the coefficients and you get the poles, impulse and frequency response,
etc. i would be very interested if anyone knows such tool.

if you want to work with audio, you can easily program any filter in
csound or any other software synthesis language, like pd, common lisp
music or whatever (i know csound). then you can see the results using
an analyser/visualiser like sonic-visualiser, for example.






Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Dale

Francisco Ares wrote:

Hi, guys,

After quite a long update list of packages (100+) and a reboot, I 
could not work in any window or desktop manager I have installed.


I rebooted (the ACPI power switch worked fine) and managed to get 
interactive action during the init scripts and did not allowed xdm 
to start.


Then I was able to use normaly the keyboard and mouse (gpm). Forced 
reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, 
in my case, nvidia-drivers) and tryed to use Window Maker - no mouse 
movements, although the pointer was there, and no visible keyboard effect.


Any hints on how to get things back?

Thanks
Francisco

--
If you have an apple and I have an apple and we exchange apples then 
you and I will still each have one apple. But if you have an idea and 
I have one idea and we exchange these ideas, then each of us will have 
two ideas. - George Bernard Shaw


I just went through the same thing.  I don't think xorg got updated but 
my X wouldn't start at all.  This may help you as it did me:


emerge -1a $(qlist -I -C x11-drivers/)

Hope this helps.

Dale

:-)  :-)



Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Francisco Ares
On 5/8/10, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Saturday 08 May 2010 14:48:13 Francisco Ares wrote:
 Hi, guys,

 After quite a long update list of packages (100+) and a reboot, I could
 not
 work in any window or desktop manager I have installed.

 I rebooted (the ACPI power switch worked fine) and managed to get
 interactive action during the init scripts and did not allowed xdm to
 start.

 Then I was able to use normaly the keyboard and mouse (gpm). Forced
 reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in
 my case, nvidia-drivers) and tryed to use Window Maker - no mouse
 movements, although the pointer was there, and no visible keyboard effect.

 Any hints on how to get things back?

 What version of xorg-server?
 It gives an elog, did you read it?
 What input driver?
 If you upgraded to xorg-server-1.8, did you disable hal and enable udev?
 Are you using the evdev driver?


 --
 alan dot mckinnon at gmail dot com


Yep, using evdev, and that seems to be the issue: there are log file
lines complaining about different versions:

(II) Module evdev: vendor=X.Org Foundation
compiled for 1.6.5, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match server's version (7)

installed:
- xorg-drivers-1.7
- xorg-server-1.7.6
- xorg-x11-7.4-r1
- xorg-cf-files-1.0.3

I have just re-emerged them all, with no results.

Thanks
-- 
If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas. - George Bernard Shaw



Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Francisco Ares
On Sat, May 8, 2010 at 10:51 AM, Dale rdalek1...@gmail.com wrote:

 Francisco Ares wrote:

 Hi, guys,

 After quite a long update list of packages (100+) and a reboot, I could
 not work in any window or desktop manager I have installed.

 I rebooted (the ACPI power switch worked fine) and managed to get
 interactive action during the init scripts and did not allowed xdm to
 start.

 Then I was able to use normaly the keyboard and mouse (gpm). Forced
 reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also, in my
 case, nvidia-drivers) and tryed to use Window Maker - no mouse movements,
 although the pointer was there, and no visible keyboard effect.

 Any hints on how to get things back?

 Thanks
 Francisco

 --
 If you have an apple and I have an apple and we exchange apples then you
 and I will still each have one apple. But if you have an idea and I have one
 idea and we exchange these ideas, then each of us will have two ideas. -
 George Bernard Shaw


 I just went through the same thing.  I don't think xorg got updated but my
 X wouldn't start at all.  This may help you as it did me:

 emerge -1a $(qlist -I -C x11-drivers/)

 Hope this helps.

 Dale

 :-)  :-)


Thanks, Alan and Dale, now I am writing this in Firefox using a webmail
account.

That's why I love Linux: great tools and lots of helpful people around.

Thanks again
Francisco


-- 
If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas. -
George Bernard Shaw


Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Alan McKinnon
On Saturday 08 May 2010 16:01:18 Francisco Ares wrote:
 On 5/8/10, Alan McKinnon alan.mckin...@gmail.com wrote:
  On Saturday 08 May 2010 14:48:13 Francisco Ares wrote:
  Hi, guys,
  
  After quite a long update list of packages (100+) and a reboot, I could
  not
  work in any window or desktop manager I have installed.
  
  I rebooted (the ACPI power switch worked fine) and managed to get
  interactive action during the init scripts and did not allowed xdm to
  start.
  
  Then I was able to use normaly the keyboard and mouse (gpm). Forced
  reinstall of xorg-server, xorg-drivers, xorg-cf-files, xdm, kdm (also,
  in my case, nvidia-drivers) and tryed to use Window Maker - no mouse
  movements, although the pointer was there, and no visible keyboard
  effect.
  
  Any hints on how to get things back?
  
  What version of xorg-server?
  It gives an elog, did you read it?
  What input driver?
  If you upgraded to xorg-server-1.8, did you disable hal and enable udev?
  Are you using the evdev driver?
  
  
  --
  alan dot mckinnon at gmail dot com
 
 Yep, using evdev, and that seems to be the issue: there are log file
 lines complaining about different versions:
 
 (II) Module evdev: vendor=X.Org Foundation
 compiled for 1.6.5, module version = 2.3.2
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 4.0
 (EE) module ABI major version (4) doesn't match server's version (7)
 
 installed:
 - xorg-drivers-1.7
 - xorg-server-1.7.6
 - xorg-x11-7.4-r1
 - xorg-cf-files-1.0.3

Did you explicitly remerge the various drivers (video, evdev, etc).

xorg-drivers is just a meta package and won't remerge individual drivers 
unless the version number changes. It look to me like you have an evdev driver 
built against an earlier X server

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Boot gentoo with GTP Disk label

2010-05-08 Thread claude angéloz
Hello,

I installed a gentoo on a very recent system  (efi support) . AT the
reception of the laptop  it was a disk label msdos, with a boot
partition w** installer ... I changed that against  a GPt disk label. I
can install without problem the gentoo , but now it doenst boot.

I read some docs about gpt,mbr,boot principles and tried some tools

- install the grub2 masked package and grub-install.

- a special partion bios_grub  as 1st bootable partition.
but actually no succesful...
but in the parted i did not see this bios_grub as  flag...
 
I found some  tips from the web , but i guess that was only valid for a
macintel system, not a normal pc  with a disk labeled gpt and an efi
support.

I know that it is not required  an  efi partiton to boot the os with
pc/bios and gpt disk. Or is it false ?

If anybody has an other idea. Or I must  abandon the gpt disk label ?
Is there an equivalent refitr in OS x86  ?

Thanks
Best regards
Claude 




[gentoo-user] Re: no mouse nor keyboard on X

2010-05-08 Thread walt

On 05/08/2010 07:01 AM, Francisco Ares wrote:



Yep, using evdev, and that seems to be the issue: there are log file
lines complaining about different versions:

(II) Module evdev: vendor=X.Org Foundation
 compiled for 1.6.5, module version = 2.3.2
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match server's version (7)


That last line means you need to recompile xf86-input-evdev.




Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Graham Murray
Alan McKinnon alan.mckin...@gmail.com writes:

 xorg-drivers is just a meta package and won't remerge individual drivers 
 unless the version number changes. It look to me like you have an evdev 
 driver 
 built against an earlier X server

Does anyone else think it would be useful for emerge to have a switch to
make it re-emerge all of the individual packages making up a
meta-package? 'emerge metapackage' does not do enough and 'emerge -e
metapackage' will rebuild too much.Either that or a utility to split a
meta-package into its constituent parts, so you could have something
like 'emerge $(qsplit xorg-drivers)'. Though in the case of xorg-drivers
the recommended 'emerge $(qlist -IC xorg-drivers/)' works just as well,
but this is just pure luck as the required packages are in a single
category which contains no other packages.



Re: [gentoo-user] Open Source DSP tools for learning?

2010-05-08 Thread Mark Knecht
On Sat, May 8, 2010 at 6:21 AM, luis jure l...@internet.com.uy wrote:
 on 2010-05-06 at 07:31 Mark Knecht wrote:

   Does anyone possibly know of any tools in Open Source for exploring
DSP filter design? Something that might allow me to write equations,
stimulate the filter, see the results in a GUI?

 i guess a general scientific tool like octave (a free alternative to
 matlab, the de facto standard among scientists) would do all you may
 possibly want to do, although learning the language might require some
 time. i don't know of any ready-to-go tool for dsp where you just put
 the coefficients and you get the poles, impulse and frequency response,
 etc. i would be very interested if anyone knows such tool.

 if you want to work with audio, you can easily program any filter in
 csound or any other software synthesis language, like pd, common lisp
 music or whatever (i know csound). then you can see the results using
 an analyser/visualiser like sonic-visualiser, for example.


Hi Luis,
   Thanks. Octave is something I'm looking at. It's clearly able to
model things like DSP filter response (both steady state as well as
impulse) but it doesn't seem like the right tool to actually learn
about doing DSP filter design.

   Someone else on another list suggested Faust but it's apparently
squirreled away in yet another overlay so I haven't bothered to load
it yet.

   It turns out for actual design just using the web might be one of
the better ways for me to go about this. There are lots of sites that
allow me to enter the characteristics I'm looking for and then give
back the results in z-transform, C code and other ways. Those look
fairly easy to transfer to code I can run.

   I appreciate your ideas.

Cheers,
Mark



[gentoo-user] can't create file but disk isn't full

2010-05-08 Thread Crístian Viana
hi everyone,

something weird is happening on my system. I can't create new files, it says
No space left on device, but the disk has several gigabytes of free space!
the output of df -h is:

FilesystemSize  Used Avail Use% Mounted on
rootfs 35G   23G   11G  69% /
/dev/root  35G   23G   11G  69% /
rc-svcdir 1.0M  120K  904K  12% /lib64/rc/init.d
udev   10M  240K  9.8M   3% /dev
shm   974M  1.1M  973M   1% /dev/shm
/dev/sda6 157G  133G   17G  89% /home
/dev/sda1  35G   28G  7.6G  79% /mnt/windows

I'm running out of space on the home partition. it says it has 17 GB of free
space, but right now there's only 330 MB available (I wrote a small program
to create the largest file it can). this was happening before, when I had a
few gigabytes free, but now the [fake] available space is growing and I'm
losing space on my disk each day! where should I start looking for to solve
this problem? the filesystem of the home partition is ext4.

I don't even know if this is related to Gentoo, but that's the OS I'm
running :-) I'm running ~amd64, by the way.

regards.


Re: [gentoo-user] can't create file but disk isn't full

2010-05-08 Thread Volker Armin Hemmann
On Samstag 08 Mai 2010, Crístian Viana wrote:
 hi everyone,
 
 something weird is happening on my system. I can't create new files, it
 says No space left on device, but the disk has several gigabytes of free
 space! the output of df -h is:
 
 FilesystemSize  Used Avail Use% Mounted on
 rootfs 35G   23G   11G  69% /
 /dev/root  35G   23G   11G  69% /
 rc-svcdir 1.0M  120K  904K  12% /lib64/rc/init.d
 udev   10M  240K  9.8M   3% /dev
 shm   974M  1.1M  973M   1% /dev/shm
 /dev/sda6 157G  133G   17G  89% /home
 /dev/sda1  35G   28G  7.6G  79% /mnt/windows
 
 I'm running out of space on the home partition. it says it has 17 GB of
 free space, but right now there's only 330 MB available (I wrote a small
 program to create the largest file it can). this was happening before,
 when I had a few gigabytes free, but now the [fake] available space is
 growing and I'm losing space on my disk each day! where should I start
 looking for to solve this problem? the filesystem of the home partition is
 ext4.
 
 I don't even know if this is related to Gentoo, but that's the OS I'm
 running :-) I'm running ~amd64, by the way.
 
 regards.

run out of inodes?



[gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Nikos Chantziaras

On 05/08/2010 09:21 PM, Crístian Viana wrote:

hi everyone,

something weird is happening on my system. I can't create new files, it
says No space left on device, but the disk has several gigabytes of
free space!


The filesystem probably ran out of inodes.  df -i /home will show 
inode usage.  This can happen when you have many small files; they eat 
inodes but not storage space.





[gentoo-user] v4l need tuning?

2010-05-08 Thread Matt Harrison

Hi List,

I got a capture card (4 port composite) ages ago, and I remember I had 
it working perfectly.


I've just reinstalled it into a fresh gentoo box and connected one of 
the cameras, and all I'm getting is noise. I know its a real image as 
when I put my hand over the camera lens, the image goes black, still 
distorted but black.


From what I've been able to tell from a bit of poking around, it seems 
that the Hsync of the camera or card isn't set right and is causing this 
distortion.


I can't give you the exact card model as I've lost all the paperwork, 
but it does come up as a bt878 generic card. Originally I was having 
timeouts but solved that with a pci slot change.


I've got almost no real knowledge of v4l so I'm pretty lost as to what I 
should be looking at next.


Any help would be much appreciated.

Thanks

Matt



Re: [gentoo-user] Boot gentoo with GTP Disk label

2010-05-08 Thread Mick
On Saturday 08 May 2010 15:16:36 claude angéloz wrote:
 Hello,
 
 I installed a gentoo on a very recent system  (efi support) . AT the
 reception of the laptop  it was a disk label msdos, with a boot
 partition w** installer ... I changed that against  a GPt disk label. I
 can install without problem the gentoo , but now it doenst boot.
 
 I read some docs about gpt,mbr,boot principles and tried some tools
 
 - install the grub2 masked package and grub-install.
 
 - a special partion bios_grub  as 1st bootable partition.
 but actually no succesful...
 but in the parted i did not see this bios_grub as  flag...
 
 I found some  tips from the web , but i guess that was only valid for a
 macintel system, not a normal pc  with a disk labeled gpt and an efi
 support.
 
 I know that it is not required  an  efi partiton to boot the os with
 pc/bios and gpt disk. Or is it false ?
 
 If anybody has an other idea. Or I must  abandon the gpt disk label ?
 Is there an equivalent refitr in OS x86  ?
 
 Thanks
 Best regards
 Claude

I do not have either an efi machine or a gpt disk to know for sure, but 
perhaps the following two applications may be of help in creating a EFI 
binary:


* sys-boot/mbr-gpt
 Available versions:  
~   0.0.1 ~x86 ~amd64
 Homepage:http://aybabtu.com/mbr-gpt/
 Description: An MBR that can handle BIOS-based boot on GPT.

* sys-boot/gnu-efi
 Available versions:  
*   3.0a-r1 ia64 x86
~   3.0e ~ia64 ~x86 ~amd64
~   3.0g ~amd64 ia64 ~x86
~   3.0i ~amd64 ~ia64 ~x86
 Homepage:http://developer.intel.com/technology/efi
 Description: Library for build EFI Applications

Instructions for installing, booting using EFI systems are here:

http://www.gentoo.org/doc/en/handbook/handbook-
ia64.xml?style=printablepart=1chap=2

HTH
-- 
Regards,
Mick


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


Re: [gentoo-user] v4l need tuning?

2010-05-08 Thread Matt Harrison
Actually I've just found the paperwork, it's an LMLBT44 from Linux Media 
Labs. Their website isn't much help, it did point me to the module 
arguments to use, so it's now no longer detected as a generic unknown 
card. Unfortunately I'm still seeing the same issues.


Thanks




Re: [gentoo-user] no mouse nor keyboard on X

2010-05-08 Thread Alan McKinnon
On Saturday 08 May 2010 18:04:42 Graham Murray wrote:
 Alan McKinnon alan.mckin...@gmail.com writes:
  xorg-drivers is just a meta package and won't remerge individual drivers
  unless the version number changes. It look to me like you have an evdev
  driver built against an earlier X server
 
 Does anyone else think it would be useful for emerge to have a switch to
 make it re-emerge all of the individual packages making up a
 meta-package? 'emerge metapackage' does not do enough and 'emerge -e
 metapackage' will rebuild too much.Either that or a utility to split a
 meta-package into its constituent parts, so you could have something
 like 'emerge $(qsplit xorg-drivers)'. Though in the case of xorg-drivers
 the recommended 'emerge $(qlist -IC xorg-drivers/)' works just as well,
 but this is just pure luck as the required packages are in a single
 category which contains no other packages.

You have a snowball's chance in hell of getting that into portage.

A major concern of the devs is getting portage to rebuild *less* stuff and to 
fix ebuilds yo rebuild *less* stuff and fix devs who don't grok it.

You are proposing the opposite.

I can predict the response you will get if you file a bug:

Read the elog message

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Crístian Viana
it doesn't seem so :-(

FilesystemInodes   IUsed   IFree IUse% Mounted on
/dev/sda620856832  108698 207481341% /home

I didn't know that the filesystem could run out of inodes before the disk
space itself! thanks for the information :-)

On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras rea...@arcor.de wrote:

 On 05/08/2010 09:21 PM, Crístian Viana wrote:

 hi everyone,

 something weird is happening on my system. I can't create new files, it
 says No space left on device, but the disk has several gigabytes of
 free space!


 The filesystem probably ran out of inodes.  df -i /home will show inode
 usage.  This can happen when you have many small files; they eat inodes but
 not storage space.





Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Alan McKinnon
You probably have files opened that have since been deleted. du doesn't report 
them as the names are no longer in the directory and df doesn't report them as 
they are pending deletion once the last handle to them is closed.

It's a nasty thing to find. Run this:

lsof | grep deleted

You should find a ton of junk temp files (they will go away when you log out). 
Look for big numbers in column 8




On Sunday 09 May 2010 00:46:28 Crístian Viana wrote:
 it doesn't seem so :-(
 
 FilesystemInodes   IUsed   IFree IUse% Mounted on
 /dev/sda620856832  108698 207481341% /home
 
 I didn't know that the filesystem could run out of inodes before the disk
 space itself! thanks for the information :-)
 
 On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras rea...@arcor.de wrote:
  On 05/08/2010 09:21 PM, Crístian Viana wrote:
  hi everyone,
  
  something weird is happening on my system. I can't create new files, it
  says No space left on device, but the disk has several gigabytes of
  free space!
  
  The filesystem probably ran out of inodes.  df -i /home will show inode
  usage.  This can happen when you have many small files; they eat inodes
  but not storage space.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Crístian Viana
I shutdown this computer everyday, those temp files shouldn't be alive for
months.

I ran lsof | grep deleted and it returned 132 lines, the biggest number
being 2032226 (2 MB?), belonging to the Chromium browser process. even if
every line had that value (which is not), that would sum up 264 MB, but the
difference of reported/real free space is way bigger than that.

changing the filesystem back to ext3 can solve this problem? it was ext3
before I've changed it to ext4 some months ago.

On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon alan.mckin...@gmail.comwrote:

 You probably have files opened that have since been deleted. du doesn't
 report
 them as the names are no longer in the directory and df doesn't report them
 as
 they are pending deletion once the last handle to them is closed.

 It's a nasty thing to find. Run this:

 lsof | grep deleted

 You should find a ton of junk temp files (they will go away when you log
 out).
 Look for big numbers in column 8




 On Sunday 09 May 2010 00:46:28 Crístian Viana wrote:
  it doesn't seem so :-(
 
  FilesystemInodes   IUsed   IFree IUse% Mounted on
  /dev/sda620856832  108698 207481341% /home
 
  I didn't know that the filesystem could run out of inodes before the disk
  space itself! thanks for the information :-)
 
  On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras rea...@arcor.de
 wrote:
   On 05/08/2010 09:21 PM, Crístian Viana wrote:
   hi everyone,
  
   something weird is happening on my system. I can't create new files,
 it
   says No space left on device, but the disk has several gigabytes of
   free space!
  
   The filesystem probably ran out of inodes.  df -i /home will show
 inode
   usage.  This can happen when you have many small files; they eat inodes
   but not storage space.

 --
 alan dot mckinnon at gmail dot com




Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Alan McKinnon
On Sunday 09 May 2010 01:39:54 Crístian Viana wrote:
 I shutdown this computer everyday, those temp files shouldn't be alive for
 months.
 
 I ran lsof | grep deleted and it returned 132 lines, the biggest number
 being 2032226 (2 MB?), belonging to the Chromium browser process. even if
 every line had that value (which is not), that would sum up 264 MB, but the
 difference of reported/real free space is way bigger than that.
 
 changing the filesystem back to ext3 can solve this problem? it was ext3
 before I've changed it to ext4 some months ago.

I'm fresh out of ideas on this one.

As I understand it, downgrading from ext4 to ext3 normally doesn't work out. 
There are features in ext4 that make it very attractive and most folk enable 
them, but they are incompatible with ext3. Or so I have read.

I would boot into a rescue system and run an fsck on that volume if you have 
not already done so.





 
 On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon 
alan.mckin...@gmail.comwrote:
  You probably have files opened that have since been deleted. du doesn't
  report
  them as the names are no longer in the directory and df doesn't report
  them as
  they are pending deletion once the last handle to them is closed.
  
  It's a nasty thing to find. Run this:
  
  lsof | grep deleted
  
  You should find a ton of junk temp files (they will go away when you log
  out).
  Look for big numbers in column 8
  
  On Sunday 09 May 2010 00:46:28 Crístian Viana wrote:
   it doesn't seem so :-(
   
   FilesystemInodes   IUsed   IFree IUse% Mounted on
   /dev/sda620856832  108698 207481341% /home
   
   I didn't know that the filesystem could run out of inodes before the
   disk space itself! thanks for the information :-)
   
   On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras rea...@arcor.de
  
  wrote:
On 05/08/2010 09:21 PM, Crístian Viana wrote:
hi everyone,

something weird is happening on my system. I can't create new files,
  
  it
  
says No space left on device, but the disk has several gigabytes
of free space!

The filesystem probably ran out of inodes.  df -i /home will show
  
  inode
  
usage.  This can happen when you have many small files; they eat
inodes but not storage space.
  
  --
  alan dot mckinnon at gmail dot com

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Johannes Kimmel

On 05/09/2010 01:39 AM, Crístian Viana wrote:

I shutdown this computer everyday, those temp files shouldn't be alive
for months.

I ran lsof | grep deleted and it returned 132 lines, the biggest number
being 2032226 (2 MB?), belonging to the Chromium browser process. even
if every line had that value (which is not), that would sum up 264 MB,
but the difference of reported/real free space is way bigger than that.

changing the filesystem back to ext3 can solve this problem? it was ext3
before I've changed it to ext4 some months ago.

On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon alan.mckin...@gmail.com
mailto:alan.mckin...@gmail.com wrote:

You probably have files opened that have since been deleted. du
doesn't report
them as the names are no longer in the directory and df doesn't
report them as
they are pending deletion once the last handle to them is closed.

It's a nasty thing to find. Run this:

lsof | grep deleted

You should find a ton of junk temp files (they will go away when you
log out).
Look for big numbers in column 8




On Sunday 09 May 2010 00:46:28 Crístian Viana wrote:
  it doesn't seem so :-(
 
  FilesystemInodes   IUsed   IFree IUse% Mounted on
  /dev/sda620856832  108698 207481341% /home
 
  I didn't know that the filesystem could run out of inodes before
the disk
  space itself! thanks for the information :-)
 
  On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras
rea...@arcor.de mailto:rea...@arcor.de wrote:
   On 05/08/2010 09:21 PM, Crístian Viana wrote:
   hi everyone,
  
   something weird is happening on my system. I can't create new
files, it
   says No space left on device, but the disk has several
gigabytes of
   free space!
  
   The filesystem probably ran out of inodes. df -i /home will
show inode
   usage.  This can happen when you have many small files; they
eat inodes
   but not storage space.

--
alan dot mckinnon at gmail dot com




this is unlikely, but can you create files as root? ext filesystems 
reserve a certain amount of space for root use only. you can change this 
with tune2fs if necessary.




[gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Nikos Chantziaras

On 05/09/2010 01:46 AM, Crístian Viana wrote:

it doesn't seem so :-(

FilesystemInodes   IUsed   IFree IUse% Mounted on
/dev/sda620856832  108698 207481341% /home

I didn't know that the filesystem could run out of inodes before the
disk space itself! thanks for the information :-)


Long shot, but check if root can write files.  If yes, it probably means 
your reserved block count is a bit high (default is 5% I believe).  The 
reserved block count is a mechanism that disallows further writes to the 
filesystem if it gets too full, and only root can keep writing.


If that's your problem, the reserved block count can be changed with the 
tune2fs tool.  To set it to, say 2%, you would run:


  tune2fs -m 2 /dev/sda6

I don't know if it's safe to do this while the filesystem is mounted. 
To play it safe, go to single user mode, umount /home, and only then run 
the above command.





Re: [gentoo-user] arping network profile issue

2010-05-08 Thread Zhou Rui
I found this in gentoo wiki, and the same configuration in
/etc/conf.d/net.example
http://en.gentoo-wiki.com/wiki/Network_profiles_with_arping
I guess, it works like, first you find a specific IP/MAX pair w/ ARP, then a
manual configuration according the IP/MAC.


2010/5/8 Adam a...@jaftan.com.au

 On 05/08/10 15:25, Zhou Rui wrote:
  What I want is finding a gateway out with ARP, and then assign the
 correct
  gateway/route table,

 You cant discover a router with ARP. ARP finds the MAC address of a host
 that's associated with a given IP address.

 Ways of getting a ipv4 gateway are;
 - manual configuration
 - DHCP
 - http://en.wikipedia.org/wiki/ICMP_Router_Discovery_Protocol





-- 
BR,
Zhou Rui


Re: [gentoo-user] bypassing CUPS - howto

2010-05-08 Thread Michael George
On Thu, Apr 29, 2010 at 08:47:49AM -0500, Dale wrote:
 Helmut Jarausch wrote:
  On 29 Apr, Stroller wrote:
 
  On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
   
  ...
  Why do you need to bypass CUPS?
   
  Thanks, it's just for debugging.
 
  Printing some pdf files with acroread makes some printers
  hang here.
  To locate the problem source, I'd like to check if the printer
  works if it gets the postscript or pdf-file (there printer is assumed
  to accept postscript level 3).
 
  Have you tried using `lpr` at the command line?
 
  I *believe* something like `lpr /path/to/file.pdf` should work.
 
   
  Thanks, but lpr is just a front-end for cups.
 
 
 
 I tried that here and got a error.  It may be a bad setting on my end 
 but it didn't like the idea.
 
 r...@smoker ~ # lpr /data/pdf/LivingWill.pdf
 lpr: Unsupported format 'application/pdf'!
 r...@smoker ~ #

I started noticing this today too.  My Macs aren't able to successfully
print, I just get an error in the error log about application/pdf being
an unsupported format.

If I take a PDF generated on the Mac and move it to my Linux system and
run lpr filename.pdf I get:
lpr: Unsupported format 'application/pdf'!

If I use pdftops to generate a PS file, lpr filename.ps works
fine.  If I open the PDF in xpdf and print, telling it to use the
command lpr, that also works fine.

I upgraded from cups 1.3.10 to 1.3.11 today (cannot go back).  I've
rebuilt all the foomatic packages I had installed, gutenprint, cups-pdf,
ghostscript-gpl, but still it doesn't work...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.