[gentoo-user] Grub2, uefi, gpt etc etc

2012-01-04 Thread Alan McKinnon
Howdy,

Installing on a nice shiny new Dell laptop which has these new-fangled
UEFI and 4K-sector disks. Never having worked on these things before,
I'm somewhat wary especially as we've had huge threads before on what
to do and not do.

I don't want to rehash all of that all over again (and the info is
somewhat scattered) so I have one simple question:

Is this wiki page accurate and worth following:

http://wiki.gentoo.org/wiki/GRUB2

-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] xpdf - missing fonts

2012-01-04 Thread Willie WY Wong
On Tue, Jan 03, 2012 at 04:42:43PM -0700, Penguin Lover Joseph squawked:
 On 01/04/12 00:20, Florian Philipp wrote:
 Am 03.01.2012 23:15, schrieb Joseph:
  xpdf it complains about missing fonts
  xpdf hl5370d_ukeng_usr.pdf Error: No display font for 'Courier'
  Error: No display font for 'Courier-Bold'
  Error: No display font for 'Courier-BoldOblique'
  Error: No display font for 'Courier-Oblique'
  Error: No display font for 'Helvetica'
  Error: No display font for 'Helvetica-Bold'
  Error: No display font for 'Helvetica-BoldOblique'
  Error: No display font for 'Helvetica-Oblique'
  Error: No display font for 'Symbol'
  Error: No display font for 'Times-Bold'
  Error: No display font for 'Times-BoldItalic'
  Error: No display font for 'Times-Italic'
  Error: No display font for 'Times-Roman'
  Error: No display font for 'ZapfDingbats'
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
 
  Anybody knows how to install them?

Xpdf is looking for fonts in places that are strange:


open(/usr/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
open(/usr/local/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT 
(No such file or directory)
open(/usr/share/fonts/default/Type1/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
open(/usr/share/fonts/default/ghostscript/n022004l.pfb, O_RDONLY) = -1 ENOENT 
(No such file or directory)
open(/usr/share/fonts/type1/gsfonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
write(2, Error: , 7Error: )  = 7
write(2, No display font for 'Courier-Bol..., 34No display font for 
'Courier-Bold') = 34


whereas the above font is actually in 

/usr/share/fonts/urw-fonts/

(I've been sort of just ignoring this warning, since no pdfs I've used 
have had problem displaying, despite those errors.)

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Init Scripts Not Starting

2012-01-04 Thread YoYo Siska
On Tue, Jan 03, 2012 at 08:31:08PM -0800, Dan Cowsill wrote:
 Hey list,
 
 A little while after I compiled Gnome and got things running, I lost the
 ability to add scripts to the default runlevel.  I can run rc-update add
 xdm default, for example, and the xdm symlink will appear in
 /etc/runlevels/default, and that symlink will indeed point to
 /etc/init.d/xdm, but xdm will not start.  Further to that, there's no
 evidence to indicate that RC is even trying to start it.  No errors, no
 logs, no nothing.  Same goes for virtualbox-guest-additions and sysklogd.
  I tried logging rc and got absolutely nowhere.  There's nothing overt in
 dmesg either.
 
 The really fun part is these scripts function perfectly if I run them after
 boot.
 
 Since there's no evidence of this problem in any logs or during the startup
 process, I assume there is no problem and I am doing it wrong.

Is it possible that you are booting into a different runlevel that
default ? (there's a softlevel=... kernel cmdline parameter)

What happens if (after boot) you just run

rc

(should start all service in the current runlevel, that are not
started yet)  or 

rc default

(should swithc to 'default' runlevel and start all services) ?

Could you post the output of  rc-status -a ?
And maybe also grep rc /etc/inittab ?

For xdm there is one additional thing to check: xdm can be disabled
through a 'nox' kernel cmdline option or an /etc/.noxdm file...
But in that case the initscript itself should start and just print a
message, that it is not starting the DM.

yoyo



Re: [gentoo-user] emerge --update behavior

2012-01-04 Thread Pandu Poluan
On Jan 3, 2012 7:08 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 03 Jan 2012 06:49:45 -0500, Tanstaafl wrote:

  Neil, is the use of sets fully documented somewhere? I don't recall
  reading about them in the Handbook, but its been a while since I read
  it (and don't remember if I ever did cover to cover)...

 I can't recall where I found the documentation, but you can create a set
 in /etc/portage/sets/ with one atom per line. Then emerge @setname to
 install the packages.

 I find them really useful. For example I have a @base set listing all the
 packages I want on a new install (tmux, gentoolkit, portage-utils etc) so
 I can copy it to a new install and emerge @base to make sure I have all
 the tools I normally use.


Now *that's* useful. Thanks for the idea!

Rgds,


Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread Pandu Poluan
On Jan 4, 2012 6:19 AM, Dale rdalek1...@gmail.com wrote:

 Neil Bothwick wrote:

 On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:

 I know. It's the I want to get the rid of initramfs thing that looks
 crazy to me.

 No one is saying they want to get rid of the initramfs, because they are
 not using one. What people object to is being forced to start using one.



 You got that right.  I have not used one since I started using Gentoo.
 Now, I may very well have to start.  I hope mdev gets to a point where it
works really well on desktop systems.


You were there in the thread linked by Walt, udev is just one of several
packages maintained by RH people that *demands* /usr to be mounted during
boot.

And the RH devels insistence to deprecate /bin, /sbin, /usr/sbin...

I'm getting depressed. One battle might be won (mdev vs udev), but there's
still a war against the RH braindeadness...

Rgds,


Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-04 Thread Mick
On Wednesday 04 Jan 2012 06:31:45 meino.cra...@gmx.de wrote:
 Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
  On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote
  
   ...I tried linux kernel 3.1.7 and it does not fix the problem.
   The situation remains the samesigh
   
   What can I addtionaly check ?
   
An excerpt from the hibernate.conf man page...
  
  
===
  Verbosity N
  
Determines  how  verbose  the  output from the suspend script
should be: 0: silent except for  errors  1:  print  steps  2:
print  steps  in  detail  3: print steps in lots of detail 4:
print out every command executed (uses -x)
  
  LogFile filename
  
If specified, output from the suspend  script  will  also  be
redirected to this file - useful for debugging purposes.
  
  
===
  
Add the 2 lines...
  
  Verbosity 4
  LogFile /root/hibernate.log
 
 It is
 
  LogVerbosity 4
 
 and the configuration file is
 
  /etc/hibernate/common.conf
 
 (just for those reading this thread later)
 
  ...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
  off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
  or else use the Magic SysReq Key, if you have it enabled.  Once you
  restart, take a look at the logfile to see where it dies.  If you can't
  figure it out, gzip the logfile and attach it to a posting here, and
  we'll try to figure it out.
 
 CTRL-ALT-DEL does not work here.
 Sysrq does not work either.
 May be this is because the usb-module gets unloaded before (just a
 shot in the dark)?
 
 I had to power off again.
 
 I dont know, whether the log entries are valid under this conditions,
 but here they are:
 
 Starting suspend at Wed Jan 4 06:35:36 CET 2012
 Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
 Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
 Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
 Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
 Jan 4 06:35:36.71 hibernate: [10] Executing EnsureSysfsPowerStateCapable
 ... Jan 4 06:35:36.72 hibernate: [11] Executing XHacksSuspendHook1 ... Jan
 4 06:35:36.73 hibernate: [19] Executing DevicesFree ...
 Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
 Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
  * Storing ALSA Mixer Levels ... [ ok ]
 Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
 Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
 Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
 Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
 Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
 Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
 Jan 4 06:35:43.70 not loaded.
 Jan 4 06:35:43.71 -n Unloading module usb-ohci...
 Jan 4 06:35:43.71 not loaded.
 Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
 Jan 4 06:35:43.72 not loaded.
 Jan 4 06:35:43.73 -n Unloading module usb-ohci...
 Jan 4 06:35:43.74 not loaded.
 Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
 Jan 4 06:35:43.75 Unloading blacklisted modules listed
 /etc/hibernate/blacklisted-modules Jan 4 06:35:43.89 Module version for
 ipw2100 is
 Jan 4 06:35:43.91 Module version for ipw2200 is
 Jan 4 06:35:44.08 Module version for snd_bt_sco is
 Jan 4 06:35:44.21 Module version for ndiswrapper is
 Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
 Jan 4 06:35:44.34 Unloading blacklisted modules listed
 /etc/hibernate/blacklisted-modules Jan 4 06:35:44.45 Module version for
 ipw2100 is
 Jan 4 06:35:44.47 Module version for ipw2200 is
 Jan 4 06:35:44.64 Module version for snd_bt_sco is
 Jan 4 06:35:44.77 Module version for ndiswrapper is
 Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
 Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
 Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
 Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
 Jan 4 06:35:46.69 Switched to performance, with min freq at 360
 Jan 4 06:35:46.71 Switched to performance, with min freq at 360
 Jan 4 06:35:46.73 Switched to performance, with min freq at 360
 Jan 4 06:35:46.74 Switched to performance, with min freq at 360
 Jan 4 06:35:46.75 Switched to performance, with min freq at 360
 Jan 4 06:35:46.76 Switched to performance, with min freq at 360
 Jan 4 06:35:46.76 hibernate: [99] Executing DoSysfsPowerStateSuspend ...
 Jan 4 06:35:46.76 hibernate: Activating sysfs power state disk ...

I haven't yet tried anything else, but diff'ing the 3.0.6 and 3.1.6 gentoo 
kernels .config files, these are the modules that stand out in the new kernel:

CONFIG_ARCH_CLOCKSOURCE_DATA=y

CONFIG_HAVE_PCSPKR_PLATFORM=y


Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-04 Thread meino . cramer
Mick michaelkintz...@gmail.com [12-01-04 14:22]:
 On Wednesday 04 Jan 2012 06:31:45 meino.cra...@gmx.de wrote:
  Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
   On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote
   
...I tried linux kernel 3.1.7 and it does not fix the problem.
The situation remains the samesigh

What can I addtionaly check ?

 An excerpt from the hibernate.conf man page...
   
   
 ===
   Verbosity N
   
 Determines  how  verbose  the  output from the suspend script
 should be: 0: silent except for  errors  1:  print  steps  2:
 print  steps  in  detail  3: print steps in lots of detail 4:
 print out every command executed (uses -x)
   
   LogFile filename
   
 If specified, output from the suspend  script  will  also  be
 redirected to this file - useful for debugging purposes.
   
   
 ===
   
 Add the 2 lines...
   
   Verbosity 4
   LogFile /root/hibernate.log
  
  It is
  
   LogVerbosity 4
  
  and the configuration file is
  
   /etc/hibernate/common.conf
  
  (just for those reading this thread later)
  
   ...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
   off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
   or else use the Magic SysReq Key, if you have it enabled.  Once you
   restart, take a look at the logfile to see where it dies.  If you can't
   figure it out, gzip the logfile and attach it to a posting here, and
   we'll try to figure it out.
  
  CTRL-ALT-DEL does not work here.
  Sysrq does not work either.
  May be this is because the usb-module gets unloaded before (just a
  shot in the dark)?
  
  I had to power off again.
  
  I dont know, whether the log entries are valid under this conditions,
  but here they are:
  
  Starting suspend at Wed Jan 4 06:35:36 CET 2012
  Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
  Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
  Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
  Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
  Jan 4 06:35:36.71 hibernate: [10] Executing EnsureSysfsPowerStateCapable
  ... Jan 4 06:35:36.72 hibernate: [11] Executing XHacksSuspendHook1 ... Jan
  4 06:35:36.73 hibernate: [19] Executing DevicesFree ...
  Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
  Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
   * Storing ALSA Mixer Levels ... [ ok ]
  Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
  Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
  Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
  Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
  Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
  Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
  Jan 4 06:35:43.70 not loaded.
  Jan 4 06:35:43.71 -n Unloading module usb-ohci...
  Jan 4 06:35:43.71 not loaded.
  Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
  Jan 4 06:35:43.72 not loaded.
  Jan 4 06:35:43.73 -n Unloading module usb-ohci...
  Jan 4 06:35:43.74 not loaded.
  Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
  Jan 4 06:35:43.75 Unloading blacklisted modules listed
  /etc/hibernate/blacklisted-modules Jan 4 06:35:43.89 Module version for
  ipw2100 is
  Jan 4 06:35:43.91 Module version for ipw2200 is
  Jan 4 06:35:44.08 Module version for snd_bt_sco is
  Jan 4 06:35:44.21 Module version for ndiswrapper is
  Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
  Jan 4 06:35:44.34 Unloading blacklisted modules listed
  /etc/hibernate/blacklisted-modules Jan 4 06:35:44.45 Module version for
  ipw2100 is
  Jan 4 06:35:44.47 Module version for ipw2200 is
  Jan 4 06:35:44.64 Module version for snd_bt_sco is
  Jan 4 06:35:44.77 Module version for ndiswrapper is
  Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
  Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
  Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
  Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
  Jan 4 06:35:46.69 Switched to performance, with min freq at 360
  Jan 4 06:35:46.71 Switched to performance, with min freq at 360
  Jan 4 06:35:46.73 Switched to performance, with min freq at 360
  Jan 4 06:35:46.74 Switched to performance, with min freq at 360
  Jan 4 06:35:46.75 Switched to performance, with min freq at 360
  Jan 4 06:35:46.76 Switched to performance, with min freq at 360
  Jan 4 06:35:46.76 hibernate: [99] Executing DoSysfsPowerStateSuspend ...
  Jan 4 06:35:46.76 hibernate: Activating sysfs power state disk ...
 
 I haven't yet tried anything else, but diff'ing the 3.0.6 

Re: [gentoo-user] How to get raid

2012-01-04 Thread Alexander Puchmayr
On Wednesday 04 January 2012 11:57:18 Jeff Cranmer wrote:
 Hi all,
 
 I have recently built a new system, running Gentoo on a Sabertooth 990FX
 motherboard.  The board has a raid controller on which I'm running a
 120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB
 drives which were previously running as a RAID5 array.
 
 I can see the sda 120GB drive and have installed the operating system on
 that.  I can't see one device for the three disk RAID5 array, even
 though the RAID BIOS reports it as a healthy 3TB disk.  Instead I see
 three separate devices, sdb, sdc and sdd
 
 What do I need to do to mount the 3TB RAID disk?  I'm running genkernel,
 and compiled it with genkernel --dmraid all.  It should already have
 data on it, if I can only get gentoo to recognise it.
 
 I can see the RAID controller when I use lspci
 
 00:11.0 RAID bus controller: ATI Technologies Inc SB7x0,SB8x0,SB9x0 SATA
 Controller [RAID5 mode] (rev 40)
 
 One possible clue may be in dmesg, where I get the error
 device-mapper: table: 253:0: raid45: unknown target type
 

The first question is: What type of raid are you using?

a) Software-Raid created with mdadm  co

b) Hardware-Controller based raid.

While in the first case you see all individual disks with their partitions and 
a /dev/mdX entry that actually contains the raid failsystem, the second one
shows only a /dev/sdX holding the final raid drive. 

Additionally, for the hardware based raid, you'll need a driver for the 
controller that supports the raid5. I think this is the configuration you're 
trying to run, since you mentioned that you created your raid in the RAID 
BIOS.

I'm not sure (I've never tried this) whether there is a driver for Linux 
supporting raid modes on board-embedded HW raid controllers.

Alex







Re: [gentoo-user] How to get raid

2012-01-04 Thread Volker Armin Hemmann
Am Dienstag, 3. Januar 2012, 21:57:18 schrieb Jeff Cranmer:
 Hi all,
 
 I have recently built a new system, running Gentoo on a Sabertooth 990FX
 motherboard.  The board has a raid controller on which I'm running a
 120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB
 drives which were previously running as a RAID5 array.

no, it does not have a raid controller. It is bios raid. AKA fake raid. You 
will have less trouble if you stop using it.

google for mdadm. There are some very nice howto's.



[gentoo-user] Automatic picking up the patches from /etc/portage/patches

2012-01-04 Thread v_2e
  Hello!
  I have noticed that with portage version changes its behaviour
regarding the automatic patch catching (from /etc/portage/patches, for
example) also changes. Some previous versions of portage did apply the
patches from that directory while the most recent one does not.

  I consider this auto-patching feature quite useful and would like to
use it, but currently I don't know how to do that.
  And also, is portage supposed to pick the patches up automatically or
not in general?

   Thank you.
Vladimir

- 
 v...@ukr.net



Re: [gentoo-user] xpdf - missing fonts

2012-01-04 Thread Florian Philipp
Am 04.01.2012 11:52, schrieb Willie WY Wong:
 On Tue, Jan 03, 2012 at 04:42:43PM -0700, Penguin Lover Joseph squawked:
 On 01/04/12 00:20, Florian Philipp wrote:
 Am 03.01.2012 23:15, schrieb Joseph:
 xpdf it complains about missing fonts
 xpdf hl5370d_ukeng_usr.pdf Error: No display font for 'Courier'
 Error: No display font for 'Courier-Bold'
 Error: No display font for 'Courier-BoldOblique'
 Error: No display font for 'Courier-Oblique'
 Error: No display font for 'Helvetica'
 Error: No display font for 'Helvetica-Bold'
 Error: No display font for 'Helvetica-BoldOblique'
 Error: No display font for 'Helvetica-Oblique'
 Error: No display font for 'Symbol'
 Error: No display font for 'Times-Bold'
 Error: No display font for 'Times-BoldItalic'
 Error: No display font for 'Times-Italic'
 Error: No display font for 'Times-Roman'
 Error: No display font for 'ZapfDingbats'
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion

 Anybody knows how to install them?
 
 Xpdf is looking for fonts in places that are strange:
 
 
 open(/usr/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
 such file or directory)
 open(/usr/local/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT 
 (No such file or directory)
 open(/usr/share/fonts/default/Type1/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
 such file or directory)
 open(/usr/share/fonts/default/ghostscript/n022004l.pfb, O_RDONLY) = -1 
 ENOENT (No such file or directory)
 open(/usr/share/fonts/type1/gsfonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
 such file or directory)
 write(2, Error: , 7Error: )  = 7
 write(2, No display font for 'Courier-Bol..., 34No display font for 
 'Courier-Bold') = 34
 
 
 whereas the above font is actually in 
 
 /usr/share/fonts/urw-fonts/
 
 (I've been sort of just ignoring this warning, since no pdfs I've used 
 have had problem displaying, despite those errors.)
 
 W

Not sure what causes these errors or if they are related to the current
issue at all. However, I guess the reason why it doesn't prevent most
PDFs from working is that since PDF-1.5, all fonts have to be included
in the PDF itself. Previously, some standard fonts could be assumed to
be present on the PC.

By the way: Does the issue happen with other readers as well?

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Automatic picking up the patches from /etc/portage/patches

2012-01-04 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.01.2012 14:47, v...@ukr.net wrote:
 Hello! I have noticed that with portage version changes its
 behaviour regarding the automatic patch catching (from
 /etc/portage/patches, for example) also changes. Some previous
 versions of portage did apply the patches from that directory while
 the most recent one does not.
 
 I consider this auto-patching feature quite useful and would like
 to use it, but currently I don't know how to do that. And also, is
 portage supposed to pick the patches up automatically or not in
 general?
 
 Thank you. Vladimir
 
 - v...@ukr.net
 

According to [1] epatch_user from eutils.eclass needs to be called by
the ebuild for it to work.


[1] http://dev.gentoo.org/~swift/docs/previews/hb-portage-advanced.xml
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPBFwPAAoJEJwwOFaNFkYc01UH/1GP8nFbp/NXZQ6OYaNhI4a7
rUeyJwiaCkPZs6Hoo3UFeEnKJqcZqHdASzdTZgplOSEbFNBaVAYS88HgRevSM8Kc
0M8pyRjlrs3d+kaP9zJZ0BsQhAaR0Uj0s6oz7bmTpTvUTNBucUeZDnRVHH2aKxCz
bV1+Ii8Rr7TY4vQxcNVuSwM1iX/G/DLaTnxUN/pGlKxyzS4gng6y6GErDIBTiNYh
2/TwZdc6x7HwGxiCgn1WPv2Hdv12AE8RrVzT6hxowOCPMhj27rve2PkAwZQGl8u3
n3J2vBFbrwAjEGu7n6OS2ulsP/n4Gce0NhdtizHiyoL3QNPhG8noWmNIAWK0zE0=
=LAKV
-END PGP SIGNATURE-



Re: [gentoo-user] Automatic picking up the patches from /etc/portage/patches

2012-01-04 Thread Paul Hartman
On 01/04/2012 07:47 AM, v...@ukr.net wrote:
   Hello!
   I have noticed that with portage version changes its behaviour
 regarding the automatic patch catching (from /etc/portage/patches, for
 example) also changes. Some previous versions of portage did apply the
 patches from that directory while the most recent one does not.
 
   I consider this auto-patching feature quite useful and would like to
 use it, but currently I don't know how to do that.
   And also, is portage supposed to pick the patches up automatically or
 not in general?

They are only picked up if the ebuild specifically calls epatch_user
function.

However, you can define this in your /etc/portage/bashrc to have
appended to all ebuilds (who don't already define this function):

post_src_prepare() {
epatch_user
}

then it will call it after it does its normal patching...

For example, I dropped a patch from BGO for xloadimage to make it build
against new libtiff into
/etc/portage/patches/media-gfx/xloadimage-4.1-r11 and emerge, I see this
in emerge output:

 Preparing source in
/var/tmp/portage/media-gfx/xloadimage-4.1-r11/work/xloadimage.4.1 ...
 * Applying xloadimage-4.1-gentoo-r1.diff ... [ ok ]
 * Applying xloadimage-4.1-zio-shell-meta-char.diff ... [ ok ]
 * Applying xloadimage-4.1-endif.patch ... [ ok ]
 * Applying xloadimage-4.1-include-errno_h.patch ... [ ok ]
 * Applying xloadimage-gentoo.patch ... [ ok ]
 * Applying xloadimage-4.1-unaligned-access.patch ... [ ok ]
 * Applying xloadimage-4.1-ldflags_and_exit.patch ... [ ok ]
 * Applying xloadimage-4.1-libpng15.patch ... [ ok ]
 * Applying xloadimage-4.1-bracket.patch ... [ ok ]
 * Running eautoreconf in
'/var/tmp/portage/media-gfx/xloadimage-4.1-r11/work/xloadimage.4.1' ...
 * Running aclocal ... [ ok ]
 * Running autoconf ... [ ok ]
 * Running autoheader ... [ ok ]
 Source prepared.
 * Applying user patches from
/etc/portage/patches//media-gfx/xloadimage-4.1-r11 ...
 *   xloadimage-4.1-tiff.patch ... [ ok ]
 * Done with patching
 Configuring source in
/var/tmp/portage/media-gfx/xloadimage-4.1-r11/work/xloadimage.4.1 ...




Re: [gentoo-user] Init Scripts Not Starting

2012-01-04 Thread Dan Cowsill
On Wed, Jan 4, 2012 at 3:17 AM, YoYo Siska y...@gl.ksp.sk wrote:

 On Tue, Jan 03, 2012 at 08:31:08PM -0800, Dan Cowsill wrote:
  Hey list,
 
  A little while after I compiled Gnome and got things running, I lost the
  ability to add scripts to the default runlevel.  I can run rc-update add
  xdm default, for example, and the xdm symlink will appear in
  /etc/runlevels/default, and that symlink will indeed point to
  /etc/init.d/xdm, but xdm will not start.  Further to that, there's no
  evidence to indicate that RC is even trying to start it.  No errors, no
  logs, no nothing.  Same goes for virtualbox-guest-additions and sysklogd.
   I tried logging rc and got absolutely nowhere.  There's nothing overt in
  dmesg either.
 
  The really fun part is these scripts function perfectly if I run them
 after
  boot.
 
  Since there's no evidence of this problem in any logs or during the
 startup
  process, I assume there is no problem and I am doing it wrong.

 Is it possible that you are booting into a different runlevel that
 default ? (there's a softlevel=... kernel cmdline parameter)

 What happens if (after boot) you just run

 rc

 (should start all service in the current runlevel, that are not
 started yet)  or

 rc default

 (should swithc to 'default' runlevel and start all services) ?

 Could you post the output of  rc-status -a ?
 And maybe also grep rc /etc/inittab ?

 For xdm there is one additional thing to check: xdm can be disabled
 through a 'nox' kernel cmdline option or an /etc/.noxdm file...
 But in that case the initscript itself should start and just print a
 message, that it is not starting the DM.

 yoyo


Hey, thanks for the reply.

Running rc or rc default returns immediately.  I am sure I am starting into
the default runlevel because ntp-client runs on default and it starts no
problem.

Output from grep rc /etc/inittab:
si::sysinit:/sbin/rc sysinit
rc::bootwait:/sbin/rc boot
l0:0:wait:/sbin/rc shutdown
l1:1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
su0:S:wait:/sbin/rc single

Output from rc-status -a:
Runlevel: default
 net.eth1  [
 started  ]
 dbus  [
 started  ]
 net.eth0  [
 started  ]
 netmount  [
 started  ]
 ntp-client[
 started  ]
 sshd  [
 started  ]
 udev-postmount[
 started  ]
 local [
 started  ]
Runlevel: sysinit
 dmesg [
 started  ]
 udev  [
 started  ]
 devfs [
 started  ]
Runlevel: boot
 hwclock   [
 started  ]
 modules   [
 started  ]
 fsck  [
 started  ]
 root  [
 started  ]
 mtab  [
 started  ]
 localmount[
 started  ]
 sysctl[
 started  ]
 bootmisc  [
 started  ]
 urandom   [
 started  ]
 net.lo[
 started  ]
 termencoding  [
 started  ]
 swap  [
 started  ]
 keymaps   [
 started  ]
 hostname  [
 started  ]
 procfs[
 started  ]
Runlevel: shutdown
 killprocs [
 stopped  ]
 savecache [
 stopped  ]
 mount-ro  [
 stopped  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
 sysfs [
 started  ]
Dynamic Runlevel: manual

Output from rc-update show:
 bootmisc | boot
 dbus |  default
devfs |   sysinit
dmesg |   sysinit
 fsck | boot
 

Re: [gentoo-user] xpdf - missing fonts

2012-01-04 Thread Joseph

On 01/04/12 14:52, Florian Philipp wrote:
[snip]


open(/usr/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
open(/usr/local/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT 
(No such file or directory)
open(/usr/share/fonts/default/Type1/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
open(/usr/share/fonts/default/ghostscript/n022004l.pfb, O_RDONLY) = -1 ENOENT 
(No such file or directory)
open(/usr/share/fonts/type1/gsfonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
write(2, Error: , 7Error: )  = 7
write(2, No display font for 'Courier-Bol..., 34No display font for 
'Courier-Bold') = 34


whereas the above font is actually in

/usr/share/fonts/urw-fonts/

(I've been sort of just ignoring this warning, since no pdfs I've used
have had problem displaying, despite those errors.)

W


Not sure what causes these errors or if they are related to the current
issue at all. However, I guess the reason why it doesn't prevent most
PDFs from working is that since PDF-1.5, all fonts have to be included
in the PDF itself. Previously, some standard fonts could be assumed to
be present on the PC.

By the way: Does the issue happen with other readers as well?

Regards,
Florian Philipp


adding to /etc/xpdfrc:

displayFontT1 Times-Roman   /usr/share/fonts/urw-fonts/n021003l.pfb
displayFontT1 Times-Italic  /usr/share/fonts/urw-fonts/n021023l.pfb
displayFontT1 Times-Bold/usr/share/fonts/urw-fonts/n021004l.pfb
displayFontT1 Times-BoldItalic  /usr/share/fonts/urw-fonts/n021024l.pfb
displayFontT1 Helvetica /usr/share/fonts/urw-fonts/n019003l.pfb
displayFontT1 Helvetica-Oblique /usr/share/fonts/urw-fonts/n019023l.pfb
displayFontT1 Helvetica-Bold/usr/share/fonts/urw-fonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique /usr/share/fonts/urw-fonts/n019024l.pfb
displayFontT1 Courier   /usr/share/fonts/urw-fonts/n022003l.pfb
displayFontT1 Courier-Oblique   /usr/share/fonts/urw-fonts/n022023l.pfb
displayFontT1 Courier-Bold  /usr/share/fonts/urw-fonts/n022004l.pfb
displayFontT1 Courier-BoldOblique   /usr/share/fonts/urw-fonts/n022024l.pfb
displayFontT1 Symbol/usr/share/fonts/urw-fonts/s05l.pfb
displayFontT1 ZapfDingbats  /usr/share/fonts/urw-fonts/d05l.pfb

solves the problem with missing fonts but I still get a message:

Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion

Some pdf documents have on side panel index, does anybody knows what options 
control the fonts in that index.
On my display they are very small (hard to read) and choppy fonts.

--
Joseph



[gentoo-user] ARP-Caching of non-link-local adresses

2012-01-04 Thread Peter Pan
Hi list, 

 

I'm kind of despair. 

The history: We recently brought up a new firewall with Gentoo.

There are (for my finding) some big nets behind this firewall (1x public
/24, 2x public /27, 1x public /26, at least 2 private /24).

Filtering is done via iptables and snort should jump as IPS on
software-bridge br0. If it helps: There is also ip rule involved for
source-based routing.

 

The new firewall replaces an older Gentoo-system which did not show this
behavior. We therefore copied several configfiles from the old to the new
one.

 

After getting it live, it runs well for a few hours and then becomes
unreachable (also for hosts behind the bridge).

Dmesg / kern.log stated at this time a neighbor table overflow and indeed,
arp -n | wc -l showed a lot of entry's. 

 

As Google suggested, We then adjusted /proc/sys/net/ipv4/neigh/default/ to:

gc_thershold1 - 8192

gc_thershold2 - 16384

gc_thershold3 - 32768

 

Fireing an arp -d $bogus-ip-adress is failing with SIOCDARP(dontpub):
Network is unreachable, adding -i br0 doesn't fail, but does not remove the
line in the arp-table (it only says incomplete after greping arp -n
again)..

Therefore we are currently killing the arp-cache  with ip link set arp off
dev br0  ip link set arp on dev br0 by a cronjob.

 

The combination of these workarounds are keeping the firewall reachable and
alive.

   

After stabilizing, we looked at the output of arp -n and noticed, that about
99(.999)% of the roundabout 11.000 (and rising) arp-cache-entry's contained
public addresses for which the bridge of the firewall should not feel
responsible (e.g. the public Google-dns-resolver and a load of more). 

The MAC-entry for these public addresses is always the one of our router,
which is for sure the correct next hop. 

 

But from my understanding,  it should arp-cache only our net's directly at
the cable and not those public ones. 

It looks like a configuration-issue, but I don't know, where to start
looking. I've already checked the default-gateway, netmasks,
broadcast-addresses and to me, they are looking fine, so any poke where to
start looking is greatly appreciated.

 

In case it will help, I attached the /etc/conf.d/net, ifconfig -a and route
-n. 

If something else is needed, feel free to ask. 

 

Hope, anyone can help.

 

Thanks in advance,

Ralf

host ~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
0.0.0.0 89.XXX.XXX.30.0.0.0 UG0  00 br0
10.23.42.2  0.0.0.0 255.255.255.255 UH0  00 ppp1
87.186.224.50   0.0.0.0 255.255.255.255 UH0  00 ppp0
89.XXX.XXX.00.0.0.0 255.255.255.0   U 0  00 br0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
134.XX.X.0  0.0.0.0 255.255.255.0   U 0  00 lan
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 lan
192.168.2.0 0.0.0.0 255.255.255.0   U 0  00 mgm
192.168.7.0 0.0.0.0 255.255.255.0   U 0  00 tun0
192.168.9.0 0.0.0.0 255.255.255.0   U 0  00 tun0
192.168.20.00.0.0.0 255.255.255.0   U 0  00 tun1
192.168.42.00.0.0.0 255.255.255.0   U 0  00 tun1
192.168.254.0   0.0.0.0 255.255.255.0   U 0  00 wlan
213.XXX.140.0   0.0.0.0 255.255.255.224 U 0  00 br0
213.XXX.141.96  0.0.0.0 255.255.255.224 U 0  00 br0
213.XXX.143.128 0.0.0.0 255.255.255.192 U 0  00 br0
modules=( iproute2 )

config_dsl=null

config_lan=192.168.1.110 netmask 255.255.255.0 brd 192.168.1.255
134.XX.X.102 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.103 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.104 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.105 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.106 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.107 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.108 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.109 netmask 255.255.255.240 brd 134.XX.X.111
134.XX.X.110 netmask 255.255.255.240 brd 134.XX.X.111

config_mgm=192.168.2.254 netmask 255.255.255.0 brd 192.168.2.255

config_dmz=null

config_isp=null

config_wlan=192.168.254.254 netmask 255.255.255.0 brd 192.168.254.255

dns_domain_lan=herp.derp.local
dns_servers_lan=192.168.1.XXX 192.168.1.XXY
dns_search_lan=herp.derp.local

#-
# Bridging (802.1d)
bridge_br0=dmz isp
config_br0=89.XXX.XXX.4 netmask 255.255.255.0 brd 89.XXX.XXX.255
89.XXX.XXX.10 netmask 255.255.255.0 brd 89.XXX.XXX.255
89.XXX.XXX.12 netmask 255.255.255.0 brd 89.XXX.XXX.255
89.XXX.XXX.13 

Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-04 Thread Mick
On Wednesday 04 Jan 2012 13:23:20 meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [12-01-04 14:22]:
  On Wednesday 04 Jan 2012 06:31:45 meino.cra...@gmx.de wrote:
   Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote

 ...I tried linux kernel 3.1.7 and it does not fix the problem.
 The situation remains the samesigh
 
 What can I addtionaly check ?
 
  An excerpt from the hibernate.conf man page...
  
  
===
  
Verbosity N

  Determines  how  verbose  the  output from the suspend
  script should be: 0: silent except for  errors  1:  print 
  steps  2: print  steps  in  detail  3: print steps in lots
  of detail 4: print out every command executed (uses -x)

LogFile filename

  If specified, output from the suspend  script  will  also 
  be redirected to this file - useful for debugging
  purposes.
  
  
===
  
  Add the 2 lines...

Verbosity 4
LogFile /root/hibernate.log
   
   It is
   
LogVerbosity 4
   
   and the configuration file is
   
/etc/hibernate/common.conf
   
   (just for those reading this thread later)
   
...to /etc/hibernate.conf and attempt to suspend.  If it doesn't
power off, do *NOT* use the power switch.  Either reboot with
{CTRL}{ALT}{DEL} or else use the Magic SysReq Key, if you have it
enabled.  Once you restart, take a look at the logfile to see where
it dies.  If you can't figure it out, gzip the logfile and attach it
to a posting here, and we'll try to figure it out.
   
   CTRL-ALT-DEL does not work here.
   Sysrq does not work either.
   May be this is because the usb-module gets unloaded before (just a
   shot in the dark)?
   
   I had to power off again.
   
   I dont know, whether the log entries are valid under this conditions,
   but here they are:
   
   Starting suspend at Wed Jan 4 06:35:36 CET 2012
   Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
   Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
   Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
   Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
   Jan 4 06:35:36.71 hibernate: [10] Executing
   EnsureSysfsPowerStateCapable ... Jan 4 06:35:36.72 hibernate: [11]
   Executing XHacksSuspendHook1 ... Jan 4 06:35:36.73 hibernate: [19]
   Executing DevicesFree ...
   Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
   Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
   
* Storing ALSA Mixer Levels ... [ ok ]
   
   Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
   Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
   Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
   Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
   Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
   Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
   Jan 4 06:35:43.70 not loaded.
   Jan 4 06:35:43.71 -n Unloading module usb-ohci...
   Jan 4 06:35:43.71 not loaded.
   Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
   Jan 4 06:35:43.72 not loaded.
   Jan 4 06:35:43.73 -n Unloading module usb-ohci...
   Jan 4 06:35:43.74 not loaded.
   Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
   Jan 4 06:35:43.75 Unloading blacklisted modules listed
   /etc/hibernate/blacklisted-modules Jan 4 06:35:43.89 Module version for
   ipw2100 is
   Jan 4 06:35:43.91 Module version for ipw2200 is
   Jan 4 06:35:44.08 Module version for snd_bt_sco is
   Jan 4 06:35:44.21 Module version for ndiswrapper is
   Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
   Jan 4 06:35:44.34 Unloading blacklisted modules listed
   /etc/hibernate/blacklisted-modules Jan 4 06:35:44.45 Module version for
   ipw2100 is
   Jan 4 06:35:44.47 Module version for ipw2200 is
   Jan 4 06:35:44.64 Module version for snd_bt_sco is
   Jan 4 06:35:44.77 Module version for ndiswrapper is
   Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
   Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
   Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
   Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
   Jan 4 06:35:46.69 Switched to performance, with min freq at 360
   Jan 4 06:35:46.71 Switched to performance, with min freq at 360
   Jan 4 06:35:46.73 Switched to performance, with min freq at 360
   Jan 4 06:35:46.74 Switched to performance, with min freq at 360
   Jan 4 06:35:46.75 Switched to performance, with min freq at 360
   Jan 4 06:35:46.76 Switched to performance, with min freq at 360
   Jan 4 06:35:46.76 

Re: [gentoo-user] Init Scripts Not Starting

2012-01-04 Thread Neil Bothwick
On Wed, 4 Jan 2012 06:53:18 -0800, Dan Cowsill wrote:

 Running rc or rc default returns immediately.  I am sure I am starting
 into the default runlevel because ntp-client runs on default and it
 starts no problem.

Have you enabled logging in rc.conf? What does /var/log/rc.log show?


-- 
Neil Bothwick

Eat shit - 50 million flies can't be wrong
Use Microsoft . . . . .


signature.asc
Description: PGP signature


[gentoo-user] KDE won't start up....

2012-01-04 Thread Andrew Lowe

Hi all,
I had a running KDE 4 setup and this afternoon did an:

emerge -NuD world

There were no errors reported, the kernel source had been updated, so I 
compiled the new kernel, and copied it into place, recompiled my nvidia 
driver and also evdev drivers and then rebooted the machine. Now, the 
machine boots up, I get all the usual booting messages, starting ntp, 
mounting drives, getting IP addresses, exporting nfs and so on, the 
screen goes black, the hour glass of the KDE log in screen briefly 
appears then the screen is blanked and I'm back at a text login.


	I've logged into the machine from the text login and recompiled the 
kernel, copied it into place, recompiled nvidia and evdev and still the 
problem persists. I've looked at the xorg  kdm logs and there are  a 
few errors there that google searches seem to say are OK. The thing that 
is confusing is that when at the text prompt, I can start up bog 
standard X via startx and the mouse and keyboard work but I can't get 
KDE to start. Does anyone have any ideas as to what could be causing 
this problem? Any thoughts on where, besides the two obvious logs, that 
I can try and track down what's going wrong here, or steps I can take to 
debug the KDE startup?


Any thoughts greatly appreciated,

Andrew



Re: [gentoo-user] KDE won't start up....

2012-01-04 Thread Michael Mol
Andrew Lowe wrote:
 Hi all,
 I had a running KDE 4 setup and this afternoon did an:
 
 emerge -NuD world
 
 There were no errors reported, the kernel source had been updated, so I
 compiled the new kernel, and copied it into place, recompiled my nvidia
 driver and also evdev drivers and then rebooted the machine. Now, the
 machine boots up, I get all the usual booting messages, starting ntp,
 mounting drives, getting IP addresses, exporting nfs and so on, the
 screen goes black, the hour glass of the KDE log in screen briefly
 appears then the screen is blanked and I'm back at a text login.
 
 I've logged into the machine from the text login and recompiled the
 kernel, copied it into place, recompiled nvidia and evdev and still the
 problem persists. I've looked at the xorg  kdm logs and there are  a
 few errors there that google searches seem to say are OK. The thing that
 is confusing is that when at the text prompt, I can start up bog
 standard X via startx and the mouse and keyboard work but I can't get
 KDE to start. Does anyone have any ideas as to what could be causing
 this problem? Any thoughts on where, besides the two obvious logs, that
 I can try and track down what's going wrong here, or steps I can take to
 debug the KDE startup?
 
 Any thoughts greatly appreciated,
 
 Andrew
 

Anything in ~/.xsession-errors?

I wonder if KDE's {window manager|session manager} is failing out. I
don't know KDE very well, but that's what it sounds like.



Re: [gentoo-user] ARP-Caching of non-link-local adresses

2012-01-04 Thread Pandu Poluan
On Jan 4, 2012 11:20 PM, Peter Pan os...@gmx.net wrote:

 Hi list,



 I’m kind of despair.

 The history: We recently brought up a new firewall with Gentoo.

 There are (for my finding) some big nets behind this firewall (1x public
/24, 2x public /27, 1x public /26, at least 2 private /24).

 Filtering is done via iptables and snort should jump as IPS on
software-bridge br0. If it helps: There is also ip rule involved for
source-based routing.



 The new firewall replaces an older Gentoo-system which did not show this
behavior. We therefore copied several configfiles from the old to the new
one.



 After getting it live, it runs well for a few hours and then becomes
unreachable (also for hosts behind the bridge).

 Dmesg / kern.log stated at this time a neighbor table overflow and
indeed, arp –n | wc –l showed a lot of entry’s.



 As Google suggested, We then adjusted /proc/sys/net/ipv4/neigh/default/
to:

 gc_thershold1 - 8192

 gc_thershold2 - 16384

 gc_thershold3 - 32768



 Fireing an “arp –d $bogus-ip-adress” is failing with „SIOCDARP(dontpub):
Network is unreachable”, adding –i br0 doesn’t fail, but does not remove
the line in the arp-table (it only says “incomplete” after greping arp -n
again)..

 Therefore we are currently killing the arp-cache  with “ip link set arp
off dev br0  ip link set arp on dev br0” by a cronjob.



 The combination of these workarounds are keeping the firewall reachable
and “alive”.



 After stabilizing, we looked at the output of arp –n and noticed, that
about 99(.999)% of the roundabout 11.000 (and rising) arp-cache-entry’s
contained public addresses for which the bridge of the firewall should not
feel responsible (e.g. the public Google-dns-resolver and a load of more).

 The MAC-entry for these public addresses is always the one of our router,
which is for sure the correct next hop.



 But from my understanding,  it should arp-cache only “our” net’s directly
at the cable and not those public ones.

 It looks like a configuration-issue, but I don’t know, where to start
looking. I’ve already checked the default-gateway, netmasks,
broadcast-addresses and to me, they are looking fine, so any poke where to
start looking is greatly appreciated.



 In case it will help, I attached the /etc/conf.d/net, ifconfig –a and
route -n.

 If something else is needed, feel free to ask.



 Hope, anyone can help.


Try turning off proxy ARP on the internal and/or external interfaces.

Rgds,


Re: [gentoo-user] ARP-Caching of non-link-local adresses

2012-01-04 Thread Pandu Poluan
On Jan 5, 2012 12:28 AM, Pandu Poluan pa...@poluan.info wrote:


 On Jan 4, 2012 11:20 PM, Peter Pan os...@gmx.net wrote:
 
  Hi list,
 
 
 
  I’m kind of despair.
 
  The history: We recently brought up a new firewall with Gentoo.
 
  There are (for my finding) some big nets behind this firewall (1x
public /24, 2x public /27, 1x public /26, at least 2 private /24).
 
  Filtering is done via iptables and snort should jump as IPS on
software-bridge br0. If it helps: There is also ip rule involved for
source-based routing.
 
 
 
  The new firewall replaces an older Gentoo-system which did not show
this behavior. We therefore copied several configfiles from the old to the
new one.
 
 
 
  After getting it live, it runs well for a few hours and then becomes
unreachable (also for hosts behind the bridge).
 
  Dmesg / kern.log stated at this time a neighbor table overflow and
indeed, arp –n | wc –l showed a lot of entry’s.
 
 
 
  As Google suggested, We then adjusted /proc/sys/net/ipv4/neigh/default/
to:
 
  gc_thershold1 - 8192
 
  gc_thershold2 - 16384
 
  gc_thershold3 - 32768
 
 
 
  Fireing an “arp –d $bogus-ip-adress” is failing with
„SIOCDARP(dontpub): Network is unreachable”, adding –i br0 doesn’t fail,
but does not remove the line in the arp-table (it only says “incomplete”
after greping arp -n again)..
 
  Therefore we are currently killing the arp-cache  with “ip link set arp
off dev br0  ip link set arp on dev br0” by a cronjob.
 
 
 
  The combination of these workarounds are keeping the firewall reachable
and “alive”.
 
 
 
  After stabilizing, we looked at the output of arp –n and noticed, that
about 99(.999)% of the roundabout 11.000 (and rising) arp-cache-entry’s
contained public addresses for which the bridge of the firewall should not
feel responsible (e.g. the public Google-dns-resolver and a load of more).
 
  The MAC-entry for these public addresses is always the one of our
router, which is for sure the correct next hop.
 
 
 
  But from my understanding,  it should arp-cache only “our” net’s
directly at the cable and not those public ones.
 
  It looks like a configuration-issue, but I don’t know, where to start
looking. I’ve already checked the default-gateway, netmasks,
broadcast-addresses and to me, they are looking fine, so any poke where to
start looking is greatly appreciated.
 
 
 
  In case it will help, I attached the /etc/conf.d/net, ifconfig –a and
route -n.
 
  If something else is needed, feel free to ask.
 
 
 
  Hope, anyone can help.
 

 Try turning off proxy ARP on the internal and/or external interfaces.


Bah, tapped Send accidentally. Here's a reference on turning ON Proxy ARP:

http://www.sjdjweis.com/linux/proxyarp/

Use echo 0 to turn off.

If it works, make the concomitant changes in /etc/sysctl.conf

Rgds,


Re: [gentoo-user] KDE won't start up....

2012-01-04 Thread Volker Armin Hemmann
Am Donnerstag, 5. Januar 2012, 01:04:53 schrieb Andrew Lowe:
 Hi all,
   I had a running KDE 4 setup and this afternoon did an:
 
 emerge -NuD world
 
 There were no errors reported, the kernel source had been updated, so I
 compiled the new kernel, and copied it into place, recompiled my nvidia
 driver and also evdev drivers and then rebooted the machine. Now, the
 machine boots up, I get all the usual booting messages, starting ntp,
 mounting drives, getting IP addresses, exporting nfs and so on, the
 screen goes black, the hour glass of the KDE log in screen briefly
 appears then the screen is blanked and I'm back at a text login.
 
   I've logged into the machine from the text login and recompiled the
 kernel, copied it into place, recompiled nvidia and evdev and still the
 problem persists. I've looked at the xorg  kdm logs and there are  a
 few errors there that google searches seem to say are OK. The thing that
 is confusing is that when at the text prompt, I can start up bog
 standard X via startx and the mouse and keyboard work but I can't get
 KDE to start. Does anyone have any ideas as to what could be causing
 this problem? Any thoughts on where, besides the two obvious logs, that
 I can try and track down what's going wrong here, or steps I can take to
 debug the KDE startup?
 
   Any thoughts greatly appreciated,
 
   Andrew

.xsession-errors

Xorg.0.log

please. 
If both are huge, upload them somewhere.
Also make sure that the permissions of /tmp and /var/tmp are ok. Had it in the 
past that some update did some very scary things to both places.

-- 
#163933



Re: [gentoo-user] ARP-Caching of non-link-local adresses

2012-01-04 Thread Pandu Poluan
On Jan 4, 2012 11:20 PM, Peter Pan os...@gmx.net wrote:

 Hi list,


- 8 snip

Can you post the output of ip rule sh?

And for every table listed in the above, post the output of ip route sh
table $TABLENAME?

Rgds,


AW: [gentoo-user] ARP-Caching of non-link-local adresses

2012-01-04 Thread Peter Pan
Hi Pandu, 

 

thanks for your reply.

As far as I can see, proxy_arp is not enabled on any interfaces:

 

host conf # pwd

/proc/sys/net/ipv4/conf

Host conf # for f in $(find  | grep -i proxy_arp | grep -v pvlan ); do echo $f 
 cat $f ;done

./all/proxy_arp

0

./default/proxy_arp

0

./lo/proxy_arp

0

./sit0/proxy_arp

0

./lan/proxy_arp

0

./dmz/proxy_arp

0

./isp/proxy_arp

0

./dsl/proxy_arp

0

./wlan/proxy_arp

0

./mgm/proxy_arp

0

./br0/proxy_arp

0

./ppp0/proxy_arp

0

./tun1/proxy_arp

0

./tun0/proxy_arp

0

 

Regards,

Ralf

 

Von: Pandu Poluan [mailto:pa...@poluan.info] 
Gesendet: Mittwoch, 4. Januar 2012 18:29
An: gentoo-user@lists.gentoo.org
Betreff: Re: [gentoo-user] ARP-Caching of non-link-local adresses

 


On Jan 4, 2012 11:20 PM, Peter Pan os...@gmx.net wrote:

 Hi list,

  

 I’m kind of despair.

 The history: We recently brought up a new firewall with Gentoo.

 There are (for my finding) some big nets behind this firewall (1x public /24, 
 2x public /27, 1x public /26, at least 2 private /24).

 Filtering is done via iptables and snort should jump as IPS on 
 software-bridge br0. If it helps: There is also ip rule involved for 
 source-based routing.

  

 The new firewall replaces an older Gentoo-system which did not show this 
 behavior. We therefore copied several configfiles from the old to the new one.

  

 After getting it live, it runs well for a few hours and then becomes 
 unreachable (also for hosts behind the bridge).

 Dmesg / kern.log stated at this time a neighbor table overflow and indeed, 
 arp –n | wc –l showed a lot of entry’s.

  

 As Google suggested, We then adjusted /proc/sys/net/ipv4/neigh/default/ to:

 gc_thershold1 - 8192

 gc_thershold2 - 16384

 gc_thershold3 - 32768

  

 Fireing an “arp –d $bogus-ip-adress” is failing with „SIOCDARP(dontpub): 
 Network is unreachable”, adding –i br0 doesn’t fail, but does not remove the 
 line in the arp-table (it only says “incomplete” after greping arp -n again)..

 Therefore we are currently killing the arp-cache  with “ip link set arp off 
 dev br0  ip link set arp on dev br0” by a cronjob.

  

 The combination of these workarounds are keeping the firewall reachable and 
 “alive”.

   

 After stabilizing, we looked at the output of arp –n and noticed, that about 
 99(.999)% of the roundabout 11.000 (and rising) arp-cache-entry’s contained 
 public addresses for which the bridge of the firewall should not feel 
 responsible (e.g. the public Google-dns-resolver and a load of more).

 The MAC-entry for these public addresses is always the one of our router, 
 which is for sure the correct next hop.

  

 But from my understanding,  it should arp-cache only “our” net’s directly at 
 the cable and not those public ones.

 It looks like a configuration-issue, but I don’t know, where to start 
 looking. I’ve already checked the default-gateway, netmasks, 
 broadcast-addresses and to me, they are looking fine, so any poke where to 
 start looking is greatly appreciated.

  

 In case it will help, I attached the /etc/conf.d/net, ifconfig –a and route 
 -n.

 If something else is needed, feel free to ask.

  

 Hope, anyone can help.


Try turning off proxy ARP on the internal and/or external interfaces.

Rgds,



[gentoo-user] requirements for a gentoo wlan accesspoint

2012-01-04 Thread Tamer Higazi
Hi people!
I want to make my linux machine being a wlan access point for my other
components like Notebook, Cell phone etc...


Now the big question, what do I need to accomplish this?!

like a wlan router where I would get a WPA2 key, I want the linux
machine to act as a wlan router who offers WPA2 encrpytion.


for any response I would thank you.



Tamer



Re: [gentoo-user] requirements for a gentoo wlan accesspoint

2012-01-04 Thread Michael Mol
Tamer Higazi wrote:
 Hi people!
 I want to make my linux machine being a wlan access point for my other
 components like Notebook, Cell phone etc...
 
 
 Now the big question, what do I need to accomplish this?!
 
 like a wlan router where I would get a WPA2 key, I want the linux
 machine to act as a wlan router who offers WPA2 encrpytion.
 
 
 for any response I would thank you.

I don't really know much about running a wifi interface in AP mode on
Linux. I have an ASUS WL-330gE plugged into an interface on my Linux
router, where it serves as a simple AP. My router handles routing and
firewalling from there.

I *do* know that some wifi chipsets support running in AP mode, and some
don't. I don't know which.



Re: [gentoo-user] Init Scripts Not Starting

2012-01-04 Thread YoYo Siska
On Wed, Jan 04, 2012 at 06:53:18AM -0800, Dan Cowsill wrote:
 On Wed, Jan 4, 2012 at 3:17 AM, YoYo Siska y...@gl.ksp.sk wrote:
 
  On Tue, Jan 03, 2012 at 08:31:08PM -0800, Dan Cowsill wrote:
   Hey list,
  
   A little while after I compiled Gnome and got things running, I lost the
   ability to add scripts to the default runlevel.  I can run rc-update add
   xdm default, for example, and the xdm symlink will appear in
   /etc/runlevels/default, and that symlink will indeed point to
   /etc/init.d/xdm, but xdm will not start.  Further to that, there's no
   evidence to indicate that RC is even trying to start it.  No errors, no
   logs, no nothing.  Same goes for virtualbox-guest-additions and sysklogd.
I tried logging rc and got absolutely nowhere.  There's nothing overt in
   dmesg either.
  
   The really fun part is these scripts function perfectly if I run them
  after
   boot.
  
   Since there's no evidence of this problem in any logs or during the
  startup
   process, I assume there is no problem and I am doing it wrong.
 
  Is it possible that you are booting into a different runlevel that
  default ? (there's a softlevel=... kernel cmdline parameter)
 
  What happens if (after boot) you just run
 
  rc
 
  (should start all service in the current runlevel, that are not
  started yet)  or
 
  rc default
 
  (should swithc to 'default' runlevel and start all services) ?
 
  Could you post the output of  rc-status -a ?
  And maybe also grep rc /etc/inittab ?
 
  For xdm there is one additional thing to check: xdm can be disabled
  through a 'nox' kernel cmdline option or an /etc/.noxdm file...
  But in that case the initscript itself should start and just print a
  message, that it is not starting the DM.
 
  yoyo
 
 
 Hey, thanks for the reply.
 
 Running rc or rc default returns immediately.  I am sure I am starting into
 the default runlevel because ntp-client runs on default and it starts no
 problem.

Hmm, the weird thing is that 'rc-status -a' and 'rc-update show' show
different things (no xdm and virtualbox-... in the first one) but I have
no idea what might be causing that...

Few random thoughts:

Did you check the file permissions on those scripts?

Any pending etc-update stuff (esp. in /etc/init.d) ? (not that it should
affect this in any way...)

If anything else, you can try running  'strace -e trace=file' on
rc-status and rc-update show and might notice something there that would
explain while those two tools come up with different sets of scripts...


You can also look around the dirs/files in /lib/rc/init.d/ to se a more
complete state of the rc system... (/lib/rc/init.d/softlevel should show
the current runlevel)

yoyo


 
 Output from grep rc /etc/inittab:
 si::sysinit:/sbin/rc sysinit
 rc::bootwait:/sbin/rc boot
 l0:0:wait:/sbin/rc shutdown
 l1:1:wait:/sbin/rc single
 l2:2:wait:/sbin/rc nonetwork
 l3:3:wait:/sbin/rc default
 l4:4:wait:/sbin/rc default
 l5:5:wait:/sbin/rc default
 l6:6:wait:/sbin/rc reboot
 su0:S:wait:/sbin/rc single
 
 Output from rc-status -a:
 Runlevel: default
  net.eth1  [
  started  ]
  dbus  [
  started  ]
  net.eth0  [
  started  ]
  netmount  [
  started  ]
  ntp-client[
  started  ]
  sshd  [
  started  ]
  udev-postmount[
  started  ]
  local [
  started  ]
 Runlevel: sysinit
  dmesg [
  started  ]
  udev  [
  started  ]
  devfs [
  started  ]
 Runlevel: boot
  hwclock   [
  started  ]
  modules   [
  started  ]
  fsck  [
  started  ]
  root  [
  started  ]
  mtab  [
  started  ]
  localmount[
  started  ]
  sysctl[
  started  ]
  bootmisc  [
  started  ]
  urandom   [
  started  ]
  net.lo[
  started  ]
  termencoding  [
  started  ]
  swap  [
 

[gentoo-user] Re: KDE won't start up....

2012-01-04 Thread walt
On 01/04/2012 09:04 AM, Andrew Lowe wrote:
 I can start up bog standard X via startx and the mouse and keyboard
 work but I can't get KDE to start.

Does startx give you the twm session with some xterms and an xclock?
If so, try running 'startkde' from an xterm.  (Or whatever may have
replaced startkde since I looked last.)

Running revdep-rebuild is a good idea after every update, too.




AW: [gentoo-user] ARP-Caching of non-link-local adresses

2012-01-04 Thread Peter Pan
Hi, 

 

This is quite a large list with lots of hosts, but even grep –v the larger 
/24-ones leaves the arp-table up to 10.000…

I’ve also heared (but never understood), that the lo-interface should be up and 
running. This is true in this case, but I noticed, the routes for 127.0.0.1 are 
missing in some tables. 

I slightly doubt,  that this is the root-cause for the exploding arp-cache, but 
I though it’s worth mentioning.

 

Thanks for your help, and regards,

 

here is the output:

 

host ~ # ip rule sh

0:  from all lookup local

32717:  from 192.168.254.0/24 lookup wlan

32718:  from 192.168.1.30 lookup dmz

32719:  from 192.168.1.129 lookup dmz

32720:  from 192.168.1.118 lookup dmz

32721:  from 192.168.1.117 lookup dmz

32722:  from 192.168.1.106 lookup owa

32723:  from 192.168.1.105 lookup dmz

32724:  from 192.168.1.103 lookup dmz

32725:  from 192.168.1.100 lookup dmz

32726:  from 192.168.1.99 lookup dmz

32727:  from 192.168.1.76 lookup dmz

32728:  from 192.168.1.56 lookup dmz

32729:  from 192.168.1.48 lookup dmz

32730:  from 192.168.1.39 lookup dmz

32731:  from 192.168.1.25 lookup dmz

32732:  from 192.168.1.24 lookup dmz

32733:  from 192.168.1.23 lookup dmz

32734:  from 213.XXX.143.128/26 lookup dmz

32735:  from 213.XXX.141.96/27 lookup dmz

32736:  from 213.XXX.140.0/27 lookup dmz

32737:  from 89.XXX.XXX.0/24 lookup dmz

32738:  from 10.23.47.0/24 lookup voip

32739:  from 10.23.42.0/24 lookup vpn2

32741:  from 192.168.1.0/24 lookup lan

32742:  from 192.168.1.30 lookup dmz

32743:  from 192.168.1.129 lookup dmz

32744:  from 192.168.1.118 lookup dmz

32745:  from 192.168.1.117 lookup dmz

32746:  from 192.168.1.106 lookup owa

32747:  from 192.168.1.105 lookup dmz

32748:  from 192.168.1.103 lookup dmz

32749:  from 192.168.1.100 lookup dmz

32750:  from 192.168.1.99 lookup dmz

32751:  from 192.168.1.76 lookup dmz

32752:  from 192.168.1.56 lookup dmz

32753:  from 192.168.1.48 lookup dmz

32754:  from 192.168.1.39 lookup dmz

32755:  from 192.168.1.25 lookup dmz

32756:  from 192.168.1.24 lookup dmz

32757:  from 192.168.1.23 lookup dmz

32758:  from 213.XXX.XXX.128/26 lookup dmz

32759:  from 213.XXX.XXX.96/27 lookup dmz

32760:  from 213.XXX.XXX.0/27 lookup dmz

32761:  from 89.XXX.XXX.0/24 lookup dmz

32762:  from 10.23.47.0/24 lookup voip

32763:  from 10.23.42.0/24 lookup vpn2

32765:  from 192.168.1.0/24 lookup lan

32766:  from all lookup main

32767:  from all lookup default

 

table wlan

host ~ # ip route show table wlan

default dev ppp0  scope link

89.XXX.XXX.0/24 dev br0  scope link

127.0.0.0/8 dev lo  scope link

192.168.1.0/24 dev lan  scope link

192.168.51.0/24 via 89.XXX.XXX.82 dev br0

192.168.52.0/24 via 89.XXX.XXX.82 dev br0

192.168.53.0/24 via 89.XXX.XXX.82 dev br0

192.168.113.0/24 via 192.168.1.113 dev lan

192.168.254.0/24 dev wlan  scope link

213.XXX.140.0/27 dev br0  scope link

213.XXX.141.96/27 dev br0  scope link

213.XXX.143.128/26 dev br0  scope link

 

table dmz

host ~ # ip route show table dmz

default dev br0  scope link

89.XXX.XXX.0/24 dev br0  scope link

127.0.0.0/8 dev lo  scope link

192.168.1.0/24 dev lan  scope link

192.168.7.0/24 dev tun0  scope link

192.168.9.0/24 dev tun0  scope link

192.168.20.0/24 dev tun1  scope link

192.168.42.0/24 dev tun1  scope link

192.168.51.0/24 via 89.XXX.XXX.82 dev br0

192.168.52.0/24 via 89.XXX.XXX.82 dev br0

192.168.53.0/24 via 89.XXX.XXX.82 dev br0

192.168.113.0/24 via 192.168.1.113 dev lan

192.168.254.0/24 dev wlan  scope link

213.XXX.140.0/27 dev br0  scope link

213.XXX.141.96/27 dev br0  scope link

213.XXX.143.128/26 dev br0  scope link

 

table owa

host ~ # ip route show table owa

default dev br0  scope link

89.XXX.XXX.0/24 dev br0  scope link

127.0.0.0/8 dev lo  scope link

192.168.1.0/24 dev lan  scope link

192.168.7.0/24 dev tun0  scope link

192.168.9.0/24 dev tun0  scope link

192.168.20.0/24 dev tun1  scope link

192.168.42.0/24 dev tun1  scope link

192.168.51.0/24 via 89.XXX.XXX.82 dev br0

192.168.52.0/24 via 89.XXX.XXX.82 dev br0

192.168.53.0/24 via 89.XXX.XXX.82 dev br0

192.168.113.0/24 via 192.168.1.113 dev lan

213.XXX.140.0/27 dev br0  scope link

213.XXX.141.96/27 dev br0  scope link

213.XXX.143.128/26 dev br0  scope link

 

table voip

host ~ # ip route show table voip

default dev lan  scope link

192.168.1.0/24 dev lan  scope link

 

table vpn2

host ~ # ip route show table vpn2

192.168.1.0/24 dev lan  scope link

213.XXX.140.0/27 dev br0  scope link

213.XXX.141.96/27 dev br0  scope link

213.XXX.143.128/28 dev br0  scope link

 

table lan

host ~ # ip route show table lan

default dev ppp0  scope link

46.137.XXX.148 dev br0  scope link

46.137.XXX.212 dev br0  scope link

62.52.XX.252 dev br0  scope link

62.XXX.14.0/24 dev br0  scope link

62.XXX.192.204 dev br0  scope link

78.46.XXX.24/29 dev br0  scope link

80.153.XX.139 dev br0  scope link

81.137.XX.94 dev br0  scope link

83.104.XXX.105 dev br0  scope link

89.XXX.XXX.0/24 dev 

Re: [gentoo-user] KDE won't start up....

2012-01-04 Thread YoYo Siska
On Wed, Jan 04, 2012 at 06:36:59PM +0100, Volker Armin Hemmann wrote:
 Am Donnerstag, 5. Januar 2012, 01:04:53 schrieb Andrew Lowe:
  Hi all,
  I had a running KDE 4 setup and this afternoon did an:
  
  emerge -NuD world
  
  There were no errors reported, the kernel source had been updated, so I
  compiled the new kernel, and copied it into place, recompiled my nvidia
  driver and also evdev drivers and then rebooted the machine. Now, the
  machine boots up, I get all the usual booting messages, starting ntp,
  mounting drives, getting IP addresses, exporting nfs and so on, the
  screen goes black, the hour glass of the KDE log in screen briefly
  appears then the screen is blanked and I'm back at a text login.
  
  I've logged into the machine from the text login and recompiled the
  kernel, copied it into place, recompiled nvidia and evdev and still the
  problem persists. I've looked at the xorg  kdm logs and there are  a
  few errors there that google searches seem to say are OK. The thing that
  is confusing is that when at the text prompt, I can start up bog
  standard X via startx and the mouse and keyboard work but I can't get
  KDE to start. Does anyone have any ideas as to what could be causing
  this problem? Any thoughts on where, besides the two obvious logs, that
  I can try and track down what's going wrong here, or steps I can take to
  debug the KDE startup?
  
  Any thoughts greatly appreciated,
  
  Andrew
 
 .xsession-errors
 
 Xorg.0.log
 
 please. 
 If both are huge, upload them somewhere.
 Also make sure that the permissions of /tmp and /var/tmp are ok. Had it in 
 the 
 past that some update did some very scary things to both places.

Also /var/log/kdm.log would be of use (if you are (well, want to ;)
using KDM as the login manager)... because it seems that the
problem might be with KDM greeter or something similar.

I had it segfaulting once, the symptoms were very similar,  KDM did
bring up X and start kdmgreet which crashed, X went down
immediately, because they had no clients, KDM noticed that X was
running only for a very short time and interpreted  that (correctly) as a
sign that something went wrong and didn't restart the X and insted just
stopped...

that would also explain why running startx works ...

btw, does 
startx /usr/bin/startkde 
start a KDE session?


yoyo




[gentoo-user] No mysql_install_db in dev-db/mysql-5.5.19?

2012-01-04 Thread Nilesh Govindarajan
I know, mysql = 5.5 is masked even on ~amd64, but I need mysql 5.5 for
the improved InnoDB support it has.

When I run emerge --config =dev-db/mysql-5.5.19, it doesn't complete and
I see this in mysql_install_db.log:
//usr/bin/mysql_install_db: No such file or directory

The command doesn't exist, tried that on the shell.

-- 
Nilesh Govindarajan
http://nileshgr.com




Re: [gentoo-user] requirements for a gentoo wlan accesspoint

2012-01-04 Thread Michael Mathurin
Tamer Higazi th9...@googlemail.com writes:

 Hi people!
 I want to make my linux machine being a wlan access point for my other
 components like Notebook, Cell phone etc...


 Now the big question, what do I need to accomplish this?!

 like a wlan router where I would get a WPA2 key, I want the linux
 machine to act as a wlan router who offers WPA2 encrpytion.


 for any response I would thank you.



 Tamer


http://sylv1.tuxfamily.org/projects/tutorial-wpa2-access-point.html

That should get you started. Configuring hostapd and dhcp are the main
things you need to do as well as having a card that supports master
mode. Hope that helps.

-- 
t: https://www.twitter.com/mikankun
b: http://mikankun.wordpress.com



AW: [gentoo-user] requirements for a gentoo wlan accesspoint

2012-01-04 Thread Peter Pan
Hi, 

you might want to have a look here for choosing the hardware:

http://linuxwireless.org/en/users/Drivers an in column AP set it to yes.
Once you have the driver, you can search for compatible hardware.

Usually, Atheros-chips should be a good way to go, although there are
different versions of them (and some of them wont go to AP-mode).

I tried to accomplish the same with several USB-devices and hostap. I
managed getting up an Software-802.11n access-point, but the throughput was
kinda bad so I got back to the WLAN provided by the DSL-Router.

Hope this helps at least a bit. 
Regards,
Ralf

-Ursprüngliche Nachricht-
Von: Tamer Higazi [mailto:th9...@googlemail.com] 
Gesendet: Mittwoch, 4. Januar 2012 19:19
An: gentoo-user
Betreff: [gentoo-user] requirements for a gentoo wlan accesspoint

Hi people!
I want to make my linux machine being a wlan access point for my other
components like Notebook, Cell phone etc...


Now the big question, what do I need to accomplish this?!

like a wlan router where I would get a WPA2 key, I want the linux machine to
act as a wlan router who offers WPA2 encrpytion.


for any response I would thank you.



Tamer




[gentoo-user] Strange flashplayer behavior recently

2012-01-04 Thread walt
I'm always getting email with links to youtube and various
other flash-intensive websites, and just a few days ago the
flash content stopped loading in firefox when I click on the
URL in thunderbird.

For example, the youtube web page opens normally and all the
various icons come up, but the video window just stays black
instead of playing the video.

If I then use the same firefox session to visit other websites,
their flash content doesn't load either.

Here is the really weird part: if a firefox window is *already*
open when I click the URL in thunderbird, all the flash stuff
comes up normally in the existing firefox window :-/

Using ps to examine the firefox process shows the URL to be
exactly the same as if I start firefox from a command prompt,
so thunderbird isn't corrupting the URL that it passes to
firefox.

As I said, this problem started just recently, after working
correctly for years.

I'm stumped.  Any thoughts?




[gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
Here's the rig:

AMD Phenom II X3 720 (unlocked to 4 cores and OC'd to 3 Ghz, however
taking it back to stock doesn't affect the problem)
4 Gigs DDR3-1600 at 7-7-7-16
ASUS ASUS M4A78T-E AM3 Mobo
MSI N9800GT GeForce 9800 GT 512MB

other less important things would be two 320GB SATA drives, an IDE dvd
writer, internal card reader, blah blah

There are two things I can get this system to consistently lock up
while doing: a large compilation such as Chromium, open office, or
GCC, or playing Age of Conan in my separate Windows 7 partition.  For
normal everyday tasks, I can't lock the thing up.  The system even
plays WoW on maximum settings, Skyrim on max, Counter-Strike Source on
max, 1080p youtube or local videos / movies.

Watching the processor temp stays relatively low, the GPU temp stays
normal, north bridge temp is good.

The kernel panics I get are usually recoverable, I can just F7 back
into my desktop and the compile may or may not still be going.  If it
is, it's usually dead by the third or fourth panic.

Memtest86+ ran for 24 hours and found no issues with memory on 18 passes.

So, pretty much where I'm at is either processor or RAM.  Unless
anybody here has a better idea.  And how could I test whether it was
the processor or RAM without any current replacement parts?  What
tests usually show one over the other?

-- 
Jason Weisberger
jbdu...@gmail.com



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread Canek Peláez Valdés
On Wed, Jan 4, 2012 at 6:35 AM, Pandu Poluan pa...@poluan.info wrote:

 On Jan 4, 2012 6:19 AM, Dale rdalek1...@gmail.com wrote:

 Neil Bothwick wrote:

 On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:

 I know. It's the I want to get the rid of initramfs thing that looks
 crazy to me.

 No one is saying they want to get rid of the initramfs, because they are
 not using one. What people object to is being forced to start using one.



 You got that right.  I have not used one since I started using Gentoo.
  Now, I may very well have to start.  I hope mdev gets to a point where it
 works really well on desktop systems.


 You were there in the thread linked by Walt, udev is just one of several
 packages maintained by RH people that *demands* /usr to be mounted during
 boot.

 And the RH devels insistence to deprecate /bin, /sbin, /usr/sbin...

 I'm getting depressed. One battle might be won (mdev vs udev), but there's
 still a war against the RH braindeadness...

I'm sorry to tell you this, but (as admirable as it could be), the
mdev hack to use it instead of udev is not a victory. We are not at
war, in the first place; and in the second place, the mdev hack would
be used by a handful of guys bent on refusing a change that, like it
or not, would in the end come. Like Gentoo on FreeBSD, it would be a
nice hack, maybe even worthy of applause, but in the end irrelevant: a
toy. A cute, entertaining (and, in a few cases, useful) toy. But a toy
nonetheless.

The heavy development will continue to happen in udev, and the devices
that will dominate in the future (touchscreens, bluetooth input and
audio devices, hardware that has a highly dynamic change rate) will
only be supported by udev. The mdev hack will be useful maybe to only
some guys, and even then udev would be able to do the same (and more).

The use of an initramfs (or, alternatively, having /usr in the same
partition as /), and maybe the move of /bin to /usr/bin and /lib to
/usr/lib will be made, and in the future most of the interesting
software will simply assume that this is how a system works. Maybe we
will even stop to use the ridiculous short directory names from the
stone age, and we will start using sensible names:

/usr - /System
/etc - /Config
/var - /Variable

I feel a deep respect for the people working on making mdev a
replacement of udev; it is not an easy task (even if it only works
for a really small subset of the use cases udev covers), and something
that I certainly would never do. But their hack (as beautiful as it
may be) will never be used by the majority of Linux users, and
probably not even by the majority of Gentoo users (if my
interpretation of the discussion on gentoo-dev is correct). And with
the pass of time it will be harder and harder to keep the hack working
with new hardware, new software, and new use cases.

But, hey, this is FOSS; you guys go nuts hacking in whatever feature
(or anti-feature) you like. As in the case of this mdev hack, it may
even be included in the Gentoo ebuilds. Just don't expect it to be
supported forever, don't expect it to support general-purpose setups,
and certainly don't call it a victory. It's just the same history as
always: the people writing the code are the ones calling the shots.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Michael Mol
Jason Weisberger wrote:
 Here's the rig:
 
 AMD Phenom II X3 720 (unlocked to 4 cores and OC'd to 3 Ghz, however
 taking it back to stock doesn't affect the problem)
 4 Gigs DDR3-1600 at 7-7-7-16
 ASUS ASUS M4A78T-E AM3 Mobo
 MSI N9800GT GeForce 9800 GT 512MB
 
 other less important things would be two 320GB SATA drives, an IDE dvd
 writer, internal card reader, blah blah
 
 There are two things I can get this system to consistently lock up
 while doing: a large compilation such as Chromium, open office, or
 GCC, or playing Age of Conan in my separate Windows 7 partition.  For
 normal everyday tasks, I can't lock the thing up.  The system even
 plays WoW on maximum settings, Skyrim on max, Counter-Strike Source on
 max, 1080p youtube or local videos / movies.
 
 Watching the processor temp stays relatively low, the GPU temp stays
 normal, north bridge temp is good.
 
 The kernel panics I get are usually recoverable, I can just F7 back
 into my desktop and the compile may or may not still be going.  If it
 is, it's usually dead by the third or fourth panic.
 
 Memtest86+ ran for 24 hours and found no issues with memory on 18 passes.
 
 So, pretty much where I'm at is either processor or RAM.  Unless
 anybody here has a better idea.  And how could I test whether it was
 the processor or RAM without any current replacement parts?  What
 tests usually show one over the other?

Chromium, at least, is going to force you to start swapping if you've
only got 4GB of RAM in the machine, so I'd check smartctl and see if the
drive you swap partition on is having any trouble.

I'd also suggest removing the NVidia card, going without X for a little
while[1], and see if you can reproduce the issue[2].

I'd guess that it's the unlocked core that's the source of your woes,
though. Not all X3s are so labeled just for market segmentation.

[1] Only because your onboard video is ATI, and flipping between ATI and
NVidia configurations for something like this would strike me as too
much a hassle.

[2] Only because limiting the number of active components helps when
troubleshooting hardware issues. I once found a sporadic kernel panic
was related to a failing NIC. Another time I found it was related to an
old Hauppauge PVR150 that worked fine with my old motherboard, but was
incompatible with my new motherboard.



[gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
I would instantly agree, but backing off the unlock and oc doesn't improve
the situation.  I can try text console with the onboard graphics and see
what happens.


Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Mark Knecht
On Wed, Jan 4, 2012 at 12:42 PM, Jason Weisberger jbdu...@gmail.com wrote:
 I would instantly agree, but backing off the unlock and oc doesn't improve
 the situation.  I can try text console with the onboard graphics and see
 what happens.

I would second Michael's suggestion that you completely remove the
NVidia board from the box, at least for testing. Remove any other
cards that you can. Additionally boot using gentoo=nox to do some
testing. If you get the cards out and boot only to a text console then
you can eliminate those cards as contributing to the problem.

Just a suggestion.

Good lick,
Mark



[gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
Yeah, it never occurred to me that even when i was in console compiling
stuff that i was using a 1280x1024 vesa or nouveau framebuffer each time.
That will be first thing when i get home.
On Jan 4, 2012 3:52 PM, Mark Knecht markkne...@gmail.com wrote:

 On Wed, Jan 4, 2012 at 12:42 PM, Jason Weisberger jbdu...@gmail.com
 wrote:
  I would instantly agree, but backing off the unlock and oc doesn't
 improve
  the situation.  I can try text console with the onboard graphics and see
  what happens.

 I would second Michael's suggestion that you completely remove the
 NVidia board from the box, at least for testing. Remove any other
 cards that you can. Additionally boot using gentoo=nox to do some
 testing. If you get the cards out and boot only to a text console then
 you can eliminate those cards as contributing to the problem.

 Just a suggestion.

 Good lick,
 Mark




[gentoo-user] Spacenav use test

2012-01-04 Thread Anthoine Bourgeois
Hello,

3Dconnexion corp sells some 3D mouse devices.
There are 4 different 3Dconnexion devices :
http://www.3dconnexion.com/buy/shop.html

Those devices use a proprietary driver but an free alternative is available on :
http://spacenav.sourceforge.net/

The problems with proprietary driver are that it proprietary, it
GNU/Linux/32bits (Redhat, Suse) only and
it only works through the X window system with motif for presenting a
configuration GUI
(and cannot be made to start without it).

I write on this list and hope someone can test these devices on Gentoo.
My overlay :
http://git.overlays.gentoo.org/gitweb/?p=user/aluco.git;a=summary
contains a blender ebuild with useflag 3dmouse. This useflag depends
on libspnav and spacenavd daemon that provides free alternative of the
proprietary driver.
The ideal would be to test each product.

Please, feel free to send me reports on my personal mail, I reply quickly.

Regards,
Anthoine



Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Mark Knecht
On Wed, Jan 4, 2012 at 1:22 PM, Jason Weisberger jbdu...@gmail.com wrote:
 Yeah, it never occurred to me that even when i was in console compiling
 stuff that i was using a 1280x1024 vesa or nouveau framebuffer each time.
 That will be first thing when i get home.


Good luck with that. Also, remove any other old cards ala Michael's
comment about an old NIC. I've had the same thing happen here when
some old card that worked in every old machine I'd ever owned suddenly
caused problems in a new box.

Hope things improve.

Cheers,
Mark



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread Dale

Canek Peláez Valdés wrote:

On Wed, Jan 4, 2012 at 6:35 AM, Pandu Poluanpa...@poluan.info  wrote:

On Jan 4, 2012 6:19 AM, Dalerdalek1...@gmail.com  wrote:

Neil Bothwick wrote:

On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:


I know. It's the I want to get the rid of initramfs thing that looks
crazy to me.

No one is saying they want to get rid of the initramfs, because they are
not using one. What people object to is being forced to start using one.



You got that right.  I have not used one since I started using Gentoo.
  Now, I may very well have to start.  I hope mdev gets to a point where it
works really well on desktop systems.


You were there in the thread linked by Walt, udev is just one of several
packages maintained by RH people that *demands* /usr to be mounted during
boot.

And the RH devels insistence to deprecate /bin, /sbin, /usr/sbin...

I'm getting depressed. One battle might be won (mdev vs udev), but there's
still a war against the RH braindeadness...

I'm sorry to tell you this, but (as admirable as it could be), the
mdev hack to use it instead of udev is not a victory. We are not at
war, in the first place; and in the second place, the mdev hack would
be used by a handful of guys bent on refusing a change that, like it
or not, would in the end come. Like Gentoo on FreeBSD, it would be a
nice hack, maybe even worthy of applause, but in the end irrelevant: a
toy. A cute, entertaining (and, in a few cases, useful) toy. But a toy
nonetheless.

The heavy development will continue to happen in udev, and the devices
that will dominate in the future (touchscreens, bluetooth input and
audio devices, hardware that has a highly dynamic change rate) will
only be supported by udev. The mdev hack will be useful maybe to only
some guys, and even then udev would be able to do the same (and more).

The use of an initramfs (or, alternatively, having /usr in the same
partition as /), and maybe the move of /bin to /usr/bin and /lib to
/usr/lib will be made, and in the future most of the interesting
software will simply assume that this is how a system works. Maybe we
will even stop to use the ridiculous short directory names from the
stone age, and we will start using sensible names:

/usr -  /System
/etc -  /Config
/var -  /Variable

I feel a deep respect for the people working on making mdev a
replacement of udev; it is not an easy task (even if it only works
for a really small subset of the use cases udev covers), and something
that I certainly would never do. But their hack (as beautiful as it
may be) will never be used by the majority of Linux users, and
probably not even by the majority of Gentoo users (if my
interpretation of the discussion on gentoo-dev is correct). And with
the pass of time it will be harder and harder to keep the hack working
with new hardware, new software, and new use cases.

But, hey, this is FOSS; you guys go nuts hacking in whatever feature
(or anti-feature) you like. As in the case of this mdev hack, it may
even be included in the Gentoo ebuilds. Just don't expect it to be
supported forever, don't expect it to support general-purpose setups,
and certainly don't call it a victory. It's just the same history as
always: the people writing the code are the ones calling the shots.

Regards.


I wonder how many times this has been said about other software that is 
now in wide spread use.  Keep in mind, some people think Gentoo is dying 
and has been dying for YEARS.  That's not just one package but a whole 
distro.


Will mdev replace udev, I dunno.  Thing is, you don't know that it won't 
either.  Someone could come along and help Walter and make it better 
than udev ever dreamed of being.


I just have to mention hal too.  Lots of people thought that was the new 
sliced bread and frozen pizza.  It sure did fall hard tho.


As I said about my ex once, time tells.  Sometimes, time is the only 
thing that does tell too.  Reminds me of wine although I don't drink it.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread Michael Mol
On Wed, Jan 4, 2012 at 6:33 PM, Dale rdalek1...@gmail.com wrote:
 Canek Peláez Valdés wrote:

 On Wed, Jan 4, 2012 at 6:35 AM, Pandu Poluanpa...@poluan.info  wrote:

 On Jan 4, 2012 6:19 AM, Dalerdalek1...@gmail.com  wrote:

 Neil Bothwick wrote:

 On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:

 I know. It's the I want to get the rid of initramfs thing that looks
 crazy to me.

 No one is saying they want to get rid of the initramfs, because they
 are
 not using one. What people object to is being forced to start using
 one.


 You got that right.  I have not used one since I started using Gentoo.
  Now, I may very well have to start.  I hope mdev gets to a point where
 it
 works really well on desktop systems.

 You were there in the thread linked by Walt, udev is just one of several
 packages maintained by RH people that *demands* /usr to be mounted during
 boot.

 And the RH devels insistence to deprecate /bin, /sbin, /usr/sbin...

 I'm getting depressed. One battle might be won (mdev vs udev), but
 there's
 still a war against the RH braindeadness...

 I'm sorry to tell you this, but (as admirable as it could be), the
 mdev hack to use it instead of udev is not a victory. We are not at
 war, in the first place; and in the second place, the mdev hack would
 be used by a handful of guys bent on refusing a change that, like it
 or not, would in the end come. Like Gentoo on FreeBSD, it would be a
 nice hack, maybe even worthy of applause, but in the end irrelevant: a
 toy. A cute, entertaining (and, in a few cases, useful) toy. But a toy
 nonetheless.

 The heavy development will continue to happen in udev, and the devices
 that will dominate in the future (touchscreens, bluetooth input and
 audio devices, hardware that has a highly dynamic change rate) will
 only be supported by udev. The mdev hack will be useful maybe to only
 some guys, and even then udev would be able to do the same (and more).

 The use of an initramfs (or, alternatively, having /usr in the same
 partition as /), and maybe the move of /bin to /usr/bin and /lib to
 /usr/lib will be made, and in the future most of the interesting
 software will simply assume that this is how a system works. Maybe we
 will even stop to use the ridiculous short directory names from the
 stone age, and we will start using sensible names:

 /usr -  /System
 /etc -  /Config
 /var -  /Variable

 I feel a deep respect for the people working on making mdev a
 replacement of udev; it is not an easy task (even if it only works
 for a really small subset of the use cases udev covers), and something
 that I certainly would never do. But their hack (as beautiful as it
 may be) will never be used by the majority of Linux users, and
 probably not even by the majority of Gentoo users (if my
 interpretation of the discussion on gentoo-dev is correct). And with
 the pass of time it will be harder and harder to keep the hack working
 with new hardware, new software, and new use cases.

 But, hey, this is FOSS; you guys go nuts hacking in whatever feature
 (or anti-feature) you like. As in the case of this mdev hack, it may
 even be included in the Gentoo ebuilds. Just don't expect it to be
 supported forever, don't expect it to support general-purpose setups,
 and certainly don't call it a victory. It's just the same history as
 always: the people writing the code are the ones calling the shots.

 Regards.


 I wonder how many times this has been said about other software that is now
 in wide spread use.  Keep in mind, some people think Gentoo is dying and has
 been dying for YEARS.  That's not just one package but a whole distro.

Netcraft confirms it?


 Will mdev replace udev, I dunno.  Thing is, you don't know that it won't
 either.  Someone could come along and help Walter and make it better than
 udev ever dreamed of being.

It's not that mdev will be better than udev, or udev better than mdev,
it's that they'll be able to service different roles very effectively.

 I just have to mention hal too.  Lots of people thought that was the new
 sliced bread and frozen pizza.  It sure did fall hard tho.

For a fair number of use cases, udev works pretty well. It's been
around for far longer, too.

 As I said about my ex once, time tells.  Sometimes, time is the only thing
 that does tell too.  Reminds me of wine although I don't drink it.

I think it's absolutely ridiculous to look at udev and mdev as winner
or loser. I'm not trying to be even-handed or fair in this; I just
think they service different needs.

Currently, the only advantage I see for udev in a server is the
ability to give network interfaces meaningful names...

-- 
:wq



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread Alan McKinnon
On Wed, 4 Jan 2012 18:49:29 -0500
Michael Mol mike...@gmail.com wrote:

  As I said about my ex once, time tells.  Sometimes, time is the
  only thing that does tell too.  Reminds me of wine although I don't
  drink it.  
 
 I think it's absolutely ridiculous to look at udev and mdev as winner
 or loser. I'm not trying to be even-handed or fair in this; I just
 think they service different needs.
 
 Currently, the only advantage I see for udev in a server is the
 ability to give network interfaces meaningful names...


Even that isn't all that useful for me. For my servers I know exactly
which interface is which (turns out that when Dell give you 4 on-board
nics they always come up in the same order. Pretty useful.)

We do the proper thing and document every bit of hardware in a central
repo (ocsng makes this automagic) and the way it is when the box is
racked is the way it stays till it's switched off 5 years later.

Aside from disks and RAM I've only had 2 hardware failures in 4 years
(both were Adaptec RAID cards) so changing hardware is an unusual event
(and rather major at that when it does happen).

For me, udev is more of a hindrance in the data centre than a help. I
simply do not need it at all, so mdev interests me a lot.

On my notebooks and test/development VMs, that's different. Those need
udev.

On something as complex as a node manager, I do not believe there is
such a thing as one-size fits all or a universal design.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] KDE won't start up....

2012-01-04 Thread Neil Bothwick
On Wed, 4 Jan 2012 19:59:13 +0100, YoYo Siska wrote:

  .xsession-errors
  
  Xorg.0.log
  
  please. 
  If both are huge, upload them somewhere.
  Also make sure that the permissions of /tmp and /var/tmp are ok. Had
  it in the past that some update did some very scary things to both
  places.  
 
 Also /var/log/kdm.log would be of use (if you are (well, want to ;)
 using KDM as the login manager)... because it seems that the
 problem might be with KDM greeter or something similar.

Also the output from genlop -l --date yesterday so we know what you
emerged.


-- 
Neil Bothwick

Physics is like sex: sure, it may give some practical results, but
  that's not why we do it.Richard Feynman


signature.asc
Description: PGP signature


[gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
Sorry for the delayed response on the result, but i decided to do a
makeopts -j1 while i was at it.  Compile has been going on for two hours.
Shoot me :)


Re: [gentoo-user] How to get raid

2012-01-04 Thread Jeff Cranmer
On Tue, 2012-01-03 at 22:21 -0600, Paul Hartman wrote:
 On 01/03/2012 08:57 PM, Jeff Cranmer wrote:
  device-mapper: table: 253:0: raid45: unknown target type
 
 Maybe a dumb question, but is the raid45 module enabled in your kernel
 config?
 
genkernel --dmraid all
Not sure how to check those details in genkernel.






Re: [gentoo-user] How to get raid

2012-01-04 Thread Jeff Cranmer
I was using a hardware-based 'fakeRAID'.  It used to work on my old
OpenSuse install, but that broke and I installed gentoo instead.  I
wasn't able to get that to work, and then the motherboard died, so I
built a new system and reused the 3-drive RAID5 array.
 
 While in the first case you see all individual disks with their partitions 
 and 
 a /dev/mdX entry that actually contains the raid failsystem, the second one
 shows only a /dev/sdX holding the final raid drive. 
 
 Additionally, for the hardware based raid, you'll need a driver for the 
 controller that supports the raid5. I think this is the configuration you're 
 trying to run, since you mentioned that you created your raid in the RAID 
 BIOS.
 
 I'm not sure (I've never tried this) whether there is a driver for Linux 
 supporting raid modes on board-embedded HW raid controllers.
 
 Alex
 
 
 
 
 





Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Dale

Jason Weisberger wrote:


Sorry for the delayed response on the result, but i decided to do a 
makeopts -j1 while i was at it.  Compile has been going on for two 
hours.  Shoot me :)




I doubt this is the issue but I ran into a weird one a while back.  I 
have a data drive, it's mounted on /data and stores all sorts of stuff 
including movies.  Anyway, when the drive was being wrote to and reached 
a certain point, it would cause a hard lock up most of the time.  
Sometimes I could use SysReq keys to get it back.  My point is, 
somewhere in the back of your mind, ask yourself if something, swap 
maybe, could be hitting a certain spot on a drive or file system.


In the end, I moved all my data off that drive, redone the file system, 
moved all the data back and it has worked fine ever since.  It's weird I 
know.  Just keep that in mind in case something comes up and this is 
what is going on.  Puters do weird things just to throw use a curve ball 
and make us scratch our heads until we are bald.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




[gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
Oh yeah, I hear you on the head scratching, believe me.

Well so far on the built in card I have managed to compile chromium -j5,
which i couldn't do for the two weeks prior.  Same build, so i know it
wasn't an upstream or ebuild problem.  Damn.

Next step is to get X running again and do it one more time.

Last thing i want to do is go from a 9800gt to an integrated 3300, but i
suppose it's better than nothing.  At least i had something to test on.


Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Dale

Jason Weisberger wrote:


Oh yeah, I hear you on the head scratching, believe me.

Well so far on the built in card I have managed to compile chromium 
-j5, which i couldn't do for the two weeks prior.  Same build, so i 
know it wasn't an upstream or ebuild problem.  Damn.


Next step is to get X running again and do it one more time.

Last thing i want to do is go from a 9800gt to an integrated 3300, but 
i suppose it's better than nothing.  At least i had something to test on.




Try a different version of the driver.  Maybe that specific version has 
a bug in it.  If you run stable, try a unstable version.  If you run 
unstable, try a stable one.  Worth a shot.


While at it, blow some air on it too.  Check all the contacts or as I 
do, use a pencil eraser and rub on it a couple times.  Makes it shiney 
then try again.  Wouldn't hurt to blow down in the connector on the mobo 
either.  Spec of dust in the wrong place can cause weird things.


When falling off cliff, grab all the straws you can.  ;-)

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




[gentoo-user] Several KDE packages don't compile.

2012-01-04 Thread Dale

Howdy,

I can't get folding to work and I need heat. I resorted to doing a 
emerge -e world. Thing is, this has uncovered a issue or two. These are 
the packages that fail:


* The following 4 packages have failed to build or install:
*
* (kde-base/kdeplasma-addons-4.7.4::gentoo, ebuild scheduled for merge), 
Log file:

* '/var/log/portage/kde-base:kdeplasma-addons-4.7.4:20120105-012846.log'
* (kde-base/kdeartwork-styles-4.7.4::gentoo, ebuild scheduled for 
merge), Log file:

* '/var/log/portage/kde-base:kdeartwork-styles-4.7.4:20120105-012935.log'
* (kde-base/ktux-4.7.4::gentoo, ebuild scheduled for merge), Log file:
* '/var/log/portage/kde-base:ktux-4.7.4:20120105-013002.log'
* (kde-base/kdeartwork-kscreensaver-4.7.4::gentoo, ebuild scheduled for 
merge), Log file:
* 
'/var/log/portage/kde-base:kdeartwork-kscreensaver-4.7.4:20120105-013012.log'

*


This is one of the errors:

[ 51%] Building CXX object 
kscreensaver/kdesavers/CMakeFiles/kvm.kss.dir/kvm.o
Building CXX object 
kscreensaver/kdesavers/CMakeFiles/krotation.kss.dir/rotation.o

Linking CXX executable klorenz.kss
Linking CXX executable kpolygon.kss
Linking CXX executable kblob.kss
Linking CXX executable kclock.kss
[ 52%] Building C object kscreensaver/kdesavers/CMakeFiles/kvm.kss.dir/vm.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/klorenz.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/klorenz.kss.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/kpolygon.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/kpolygon.kss.dir/all] 
Error 2
[ 54%] [ 55%] Building CXX object 
kscreensaver/kdesavers/CMakeFiles/kpendulum.kss.dir/sspreviewarea.o

Linking CXX executable kbanner.kss
Building C object kscreensaver/kdesavers/CMakeFiles/kvm.kss.dir/vm_random.o
Linking CXX executable klines.kss
/var/tmp/portage/kde-base/kdeartwork-kscreensaver-4.7.4/work/kdeartwork-kscreensaver-4.7.4/kscreensaver/kdesavers/vm.c: 
In function ‘pop’:
/var/tmp/portage/kde-base/kdeartwork-kscreensaver-4.7.4/work/kdeartwork-kscreensaver-4.7.4/kscreensaver/kdesavers/vm.c:56:34: 
warning: unused parameter ‘pool’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/kclock.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/kclock.kss.dir/all] Error 2
make[2]: *** [kscreensaver/kdesavers/kblob.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/kblob.kss.dir/all] Error 2
Linking CXX executable ksolarwinds.kss
[ 56%] Building CXX object 
kscreensaver/kdesavers/CMakeFiles/krotation.kss.dir/sspreviewarea.o

Linking CXX executable kflux.kss
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/klines.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/klines.kss.dir/all] Error 2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/kbanner.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/kbanner.kss.dir/all] Error 2
Linking CXX executable kvm.kss
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/ksolarwinds.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/ksolarwinds.kss.dir/all] 
Error 2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/kvm.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/kvm.kss.dir/all] Error 2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lKDE4Workspace__kscreensaver

collect2: ld returned 1 exit status
make[2]: *** [kscreensaver/kdesavers/kflux.kss] Error 1
make[1]: *** [kscreensaver/kdesavers/CMakeFiles/kflux.kss.dir/all] Error 2
Linking CXX executable kfountain.kss


I have tried searching with google and on the forums with nothing that 
looks recent. I hate to say this but the search function on the Gentoo 
forums is about worthless to me. It seems whenever I want to search for 
something, it is to common a term and 

Re: [gentoo-user] How to get raid

2012-01-04 Thread Jeff Cranmer
On Wed, 2012-01-04 at 14:39 +0100, Volker Armin Hemmann wrote:
 Am Dienstag, 3. Januar 2012, 21:57:18 schrieb Jeff Cranmer:
  Hi all,
  
  I have recently built a new system, running Gentoo on a Sabertooth 990FX
  motherboard.  The board has a raid controller on which I'm running a
  120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB
  drives which were previously running as a RAID5 array.
 
 no, it does not have a raid controller. It is bios raid. AKA fake raid. You 
 will have less trouble if you stop using it.
 
 google for mdadm. There are some very nice howto's.
 

Not sure I'd agree with you about the howtos being nice.  They mostly
deal with trying to boot from a RAID array (don't want that, as I have
my OS on a non-RAID 120GB SSD).  They're also contradictory, with some
saying I need dmraid, and some saying not.  Most seem to make no more
than a passing nod towards genkernel.

So, given that from the links that I've found, here's my starting set of
questions.

In /etc/genkernel.conf, which options do I need to enable.
One guide suggested the following settings 
DMRAID=no
MDADM=yes
MDADM_CONFIG=/etc/mdadm.conf
MDADM_VER=3.1.4

If this is correct, does it matter that my mdadm version which I emerged
is 3.1.5?  The tarball in /var/cache/genkernel/src is
mdadm-3.1.4.tar.bz2
Should I copy mdadm-3.1.5.tar.bz2 from /etc/portage/distfiles into there
and rebuild genkernel.

Do I need the dodmraid option compiled into genkernel, or is that only
for fakeraid, or situations where I need to boot from a raid partition?

Do I need the dodmraid option set true in the grub.conf file, or is
'domdadm' more appropriate?

Jeff









Re: [gentoo-user] How to get raid

2012-01-04 Thread Volker Armin Hemmann
Am Mittwoch, 4. Januar 2012, 21:28:32 schrieb Jeff Cranmer:
 On Wed, 2012-01-04 at 14:39 +0100, Volker Armin Hemmann wrote:
  Am Dienstag, 3. Januar 2012, 21:57:18 schrieb Jeff Cranmer:
   Hi all,
   
   I have recently built a new system, running Gentoo on a Sabertooth 990FX
   motherboard.  The board has a raid controller on which I'm running a
   120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB
   drives which were previously running as a RAID5 array.
  
  no, it does not have a raid controller. It is bios raid. AKA fake raid.
  You
  will have less trouble if you stop using it.
  
  google for mdadm. There are some very nice howto's.
 
 Not sure I'd agree with you about the howtos being nice.  They mostly
 deal with trying to boot from a RAID array (don't want that, as I have
 my OS on a non-RAID 120GB SSD).  They're also contradictory, with some
 saying I need dmraid, and some saying not.  Most seem to make no more
 than a passing nod towards genkernel.

the short one:

partition one disk with (c)fdisk. Use sfdisk to transfer the partition scheme 
to the other disks.

run mdadm --create /dev/md0 level=whatever you want --raid-
devices=thenumberofdevices /dev/sdXY /dev/sdZY ... 

mdadm --detail --scan  /etc/mdadm.conf

done


 
 So, given that from the links that I've found, here's my starting set of
 questions.
 
 In /etc/genkernel.conf, which options do I need to enable.
 One guide suggested the following settings
 DMRAID=no
 MDADM=yes
 MDADM_CONFIG=/etc/mdadm.conf
 MDADM_VER=3.1.4

there is a reason why I never ever touch genkernel.

you should forget that crap. You don't need to copy around anything. If your 
root is not on some fancy setup, you don't need initramfs.

Just make a nice kernel, put it in /boot. Done.

grub.conf:
kernel /vmlinuz root=/dev/sda1 nmi_watchdog=0

and you are fine.

Have the raids assembled by a) kernel (in that case you have to tell mdadm 
that on creation time, man mdadm is your friend) or by mdadm init script.

Don't use fakeraid. Set bios to ahci and be done with this.

the relevant part of Kernel config for example:

   *   RAID support   

│ │  
  │ │   [*] Autodetect RAID arrays during 
kernel boot│ │  
  │ │ Linear (append) mode
 
│ │  
  │ │ RAID-0 (striping) mode  
 
│ │  
  │ │   * RAID-1 (mirroring) mode 
 
│ │  
  │ │ RAID-10 (mirrored striping) mode
 
│ │  
  │ │   * RAID-4/RAID-5/RAID-6 mode   
 
│ │  
  │ │   [ ]   RAID-4/RAID-5/RAID-6 Multicore 
processing (EXPERIMENTAL)   │ │  
  │ │ Multipath I/O support   
 
│ │  
  │ │ Faulty test module for MD   
 
│ │  
  │ │   Device mapper support 
 
│ │  
  │ │   
 
│ │  
  │ │

as you can see no dm support in my kernel.

No look what I got...

cat /proc/mdstat 
Personalities : [raid1] [raid6] [raid5] [raid4] 
md5 : active raid1 sdg2[2] sdf2[1]
  830278202 blocks super 1.2 [2/2] [UU]
  
md4 : active raid1 sdf1[1] sdg1[2]
  146479542 blocks super 1.2 [2/2] [UU]
  
md124 : active raid1 sdc1[2] sdd1[1] sdb1[0]
  64128 blocks [3/3] [UUU]
  
md1 : active raid5 sdc3[2] sdd3[1] sdb3[0]
  78123904 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
  
md2 : active raid5 sdc5[2] sdd5[1] sdb5[0]
  39069824 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
  
md127 : active raid5 sdc6[2] sdd6[1] sdb6[0]
  843813888 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

the numbers where once nicely 0-4 but some update fucked that up. No big deal 
- I mount by UUID. Something I strongly recommend.

-- 
#163933



Re: [gentoo-user] Re: KDE won't start up....

2012-01-04 Thread Andrew Lowe

On 01/05/12 02:51, walt wrote:

On 01/04/2012 09:04 AM, Andrew Lowe wrote:

I can start up bog standard X via startx and the mouse and keyboard
work but I can't get KDE to start.


Does startx give you the twm session with some xterms and an xclock?
If so, try running 'startkde' from an xterm.  (Or whatever may have
replaced startkde since I looked last.)

Running revdep-rebuild is a good idea after every update, too.





	revdep-rebuild is your friend I can remember kicking off the 
original emerge that caused my problem and thinking I also need to 
remember to run revdep-rebuild when done and then promptly forgot to do 
so. Thanks to walt's prompt, I've run it and things are now good.


Also thanks to the others for kicking in with suggestions,

Andrew



Re: [gentoo-user] How to get raid

2012-01-04 Thread Jeff Cranmer
On Thu, 2012-01-05 at 04:01 +0100, Volker Armin Hemmann wrote:

 the short one:
 
 partition one disk with (c)fdisk. Use sfdisk to transfer the partition scheme 
 to the other disks.
 
 run mdadm --create /dev/md0 level=whatever you want --raid-
 devices=thenumberofdevices /dev/sdXY /dev/sdZY ... 
 
 mdadm --detail --scan  /etc/mdadm.conf
 
 done
 
 
OK, but there is active data on the disks, so I don't want to partition
them.  They should already partitioned, and running fdisk will erase the
data.

If I run mdadm --create /dev/md0 level=5
--raid-devices=3 /dev/sdb /dev/sdc /dev/sdd, will that erase data
already on the disks?

Prior to running this command, there is no /dev/md entry.  Is this
correct?

Looking further by using fdisk, it appears that sdc has a linux
partition on sdc1 starting at sector 34, and a GPT partition of size 0+
at /dev/sdc4, sector 0.  Nothing else is on that disk (no sdc2 or sdc3).

sdd and sdb report invalid partition table flags and do not appear to
have active partitions.  Does this make sense?

Is it possible that I ordered the disks incorrectly when I installed
them, and by simply swapping disks b and c at the raid I can get things
to start making sense?  Is there an order to a set of RAID5 disks?  I
thought any two of three RAID5 disks could be recovered, regardless of
which one dies?
 
 there is a reason why I never ever touch genkernel.
 
 you should forget that crap. You don't need to copy around anything. If your 
 root is not on some fancy setup, you don't need initramfs.
 
 Just make a nice kernel, put it in /boot. Done.
 
OK.  The OS disk is non-RAID (120GB SSD), so I don't need any fancy
options in my kernel. All the domdadm and dodmraid stuff is needed just
when your OS disk is raided.  Correct?

Thanks

Jeff





Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
Well after a couple hours of trying to get the Radeon HD3300 to
actually start properly so I can test the compilation.. I haven't
done it yet.  Instead I decided to go ape-s**t on the radeon wiki
article which drove me into so many dead ends.

http://en.gentoo-wiki.com/wiki/Radeon

Now that it's up and running, I'm recompiling chromium from inside
gnome 3 with -j5 and I'll report in tomorrow morning.

On Wed, Jan 4, 2012 at 8:52 PM, Dale rdalek1...@gmail.com wrote:
 Jason Weisberger wrote:


 Oh yeah, I hear you on the head scratching, believe me.

 Well so far on the built in card I have managed to compile chromium -j5,
 which i couldn't do for the two weeks prior.  Same build, so i know it
 wasn't an upstream or ebuild problem.  Damn.

 Next step is to get X running again and do it one more time.

 Last thing i want to do is go from a 9800gt to an integrated 3300, but i
 suppose it's better than nothing.  At least i had something to test on.


 Try a different version of the driver.  Maybe that specific version has a
 bug in it.  If you run stable, try a unstable version.  If you run unstable,
 try a stable one.  Worth a shot.

 While at it, blow some air on it too.  Check all the contacts or as I do,
 use a pencil eraser and rub on it a couple times.  Makes it shiney then try
 again.  Wouldn't hurt to blow down in the connector on the mobo either.
  Spec of dust in the wrong place can cause weird things.

 When falling off cliff, grab all the straws you can.  ;-)


 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or how
 you interpreted my words!

 Miss the compile output?  Hint:
 EMERGE_DEFAULT_OPTS=--quiet-build=n





-- 
Jason Weisberger
jbdu...@gmail.com



Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Michael Mol
This is why I figured you'd want to go without X for the purpose of
testing. No X, no framebuffer, the card should have acted like a
plane-jane VGA or VESA adapter.

On Thu, Jan 5, 2012 at 12:41 AM, Jason Weisberger jbdu...@gmail.com wrote:
 Well after a couple hours of trying to get the Radeon HD3300 to
 actually start properly so I can test the compilation.. I haven't
 done it yet.  Instead I decided to go ape-s**t on the radeon wiki
 article which drove me into so many dead ends.

 http://en.gentoo-wiki.com/wiki/Radeon

 Now that it's up and running, I'm recompiling chromium from inside
 gnome 3 with -j5 and I'll report in tomorrow morning.

 On Wed, Jan 4, 2012 at 8:52 PM, Dale rdalek1...@gmail.com wrote:
 Jason Weisberger wrote:


 Oh yeah, I hear you on the head scratching, believe me.

 Well so far on the built in card I have managed to compile chromium -j5,
 which i couldn't do for the two weeks prior.  Same build, so i know it
 wasn't an upstream or ebuild problem.  Damn.

 Next step is to get X running again and do it one more time.

 Last thing i want to do is go from a 9800gt to an integrated 3300, but i
 suppose it's better than nothing.  At least i had something to test on.


 Try a different version of the driver.  Maybe that specific version has a
 bug in it.  If you run stable, try a unstable version.  If you run unstable,
 try a stable one.  Worth a shot.

 While at it, blow some air on it too.  Check all the contacts or as I do,
 use a pencil eraser and rub on it a couple times.  Makes it shiney then try
 again.  Wouldn't hurt to blow down in the connector on the mobo either.
  Spec of dust in the wrong place can cause weird things.

 When falling off cliff, grab all the straws you can.  ;-)


 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or how
 you interpreted my words!

 Miss the compile output?  Hint:
 EMERGE_DEFAULT_OPTS=--quiet-build=n





 --
 Jason Weisberger
 jbdu...@gmail.com




-- 
:wq



[gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Jason Weisberger
Well like i said earlier, it did work that way.  The final test is doing it
in X with full drivers loaded again.  Then i get to kick my 9800gt off a
cliff.


Re: [gentoo-user] [OT] Hardware Problems causing kernel panics during large compiles

2012-01-04 Thread Michael Mol
On Thu, Jan 5, 2012 at 12:57 AM, Jason Weisberger jbdu...@gmail.com wrote:
 Well like i said earlier, it did work that way.  The final test is doing it
 in X with full drivers loaded again.  Then i get to kick my 9800gt off a
 cliff.

Well, keep in mind you're switching from a PCIe card to an integrated
chipset. It could be your PCIe slot (or even northbridge) that's
failing. I'd suggest finding another PCIe video card and giving it a
shot, if the X-with-integrated-video works.

If it works with the HD3300, but not with a PCIe graphics card (even
an ATI one), I'd suspect your northbridge is messed up, and may have
been damaged by the overclocking.


-- 
:wq



[gentoo-user] fonts for: gv, xpdf, flpsed

2012-01-04 Thread Joseph

What kind of font packages are following application use for their interface 
(GUI menus)
gv, xpdf, flpsed etc.

Ever since I switch to a new system, I'm having problem view the menu options 
in all these packages that deal with postscipt files.
Their menu fonts are small barley readable and ugly, some package don't 
even work correctly like flpsed.

So I'm thinking, I'm missing some fonts or they are not correctly pointing to 
the correct location.

--
Joseph



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread pk
On 2012-01-05 01:02, Alan McKinnon wrote:

 On my notebooks and test/development VMs, that's different. Those need
 udev.

Why does it need udev specifically? Just curious... if there's a
technical need for something else than /dev population (and possible
configuration of devices, i.e. tell the kernel what bits needs to be
switched)?

 On something as complex as a node manager, I do not believe there is
 such a thing as one-size fits all or a universal design.

Fully agree.

Best regards

Peter K



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-04 Thread Alan McKinnon
On Thu, 05 Jan 2012 08:30:52 +0100
pk pete...@coolmail.se wrote:

  On my notebooks and test/development VMs, that's different. Those
  need udev.  
 
 Why does it need udev specifically? Just curious... if there's a
 technical need for something else than /dev population (and possible
 configuration of devices, i.e. tell the kernel what bits needs to be
 switched)?

Simply because they are typical notebooks and VMs :-)

I fiddle around a lot with the hardware on those and udev deals with
that nicely considering udev is designed to deal with that nicely.

Becoming rather lazy in my old age is getting to be a factor too

-- 
Alan McKinnnon
alan.mckin...@gmail.com