Re: [gentoo-ppc-user] Are there any Pegasos users?

2011-03-23 Thread Konstantin Tokarev


22.03.2011, 23:50, Johannes Geiss johannes.ge...@web.de:
 Hi here,

 are there any Pegasos users using Gentoo?

 Especially the hardware platform Pegasos II?

 I am looking for experiences about building an own kernel for this
 architecture. I compile them by myself for some years, but I think I could
 be better if I find someone else who is building kernels for Pegasos
 II. I am interested to exchange/talk about config files and so on.

 Unfortunately Gentoo seems to have dropped kernel support for Pegasos
 for some years. No installation disk contains a kernel for this
 hardware.



Hi Johannes,

I'm not a Pegasos user, but if you can get other Linux distribution running
on your system (e.g., some old version of Debian), you will be able to 
build Gentoo from its environment.

-- 
Regards,
Konstantin



Re: [gentoo-user] Re: Compositing too slow in KDE

2011-03-23 Thread Mick
On Wednesday 23 March 2011 00:16:46 Bill Longman wrote:

 Well after fifteen minutes of no crashes, here are my settings:
 
 $ emerge -pv xorg-server mesa cairo $(qlist -IC x11-drivers)
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R   ] x11-drivers/radeon-ucode-20110106  0 kB
 [ebuild   R   ] media-libs/mesa-7.9.1  USE=classic nptl -debug -gallium
 -gles -llvm -motif -pic (-selinux) VIDEO_CARDS=radeon -intel -mach64
 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware 0 kB
 [ebuild   R   ] x11-base/xorg-server-1.9.5  USE=ipv6 kdrive nptl udev
 xorg -dmx -doc -minimal -static-libs -tslib 0 kB
 [ebuild   R   ] x11-libs/cairo-1.10.2-r1  USE=X opengl qt4 svg xcb
 (-aqua) -debug -directfb -doc (-drm) (-gallium) (-openvg) -static-libs 0
 kB [ebuild   R   ] x11-drivers/xf86-input-evdev-2.6.0  0 kB
 [ebuild   R   ] x11-drivers/xf86-input-keyboard-1.5.0  0 kB
 [ebuild   R   ] x11-drivers/xf86-input-mouse-1.6.0  0 kB
 [ebuild   R   ] x11-drivers/xf86-video-ati-6.14.0  0 kB
 
 My kernel is 2.6.36-r5 gentoo-sources running on the AMD Athlon II X4
 machine:
 $ zgrep RADEON /proc/config.gz
 CONFIG_DRM_RADEON=m
 CONFIG_DRM_RADEON_KMS=y
 CONFIG_FB_RADEON=y
 CONFIG_FB_RADEON_I2C=y
 CONFIG_FB_RADEON_BACKLIGHT=y
 # CONFIG_FB_RADEON_DEBUG is not set
 
 
 Wonderfully wobbly windows once again, without widespread (and
 unwelcomed) untimely terminations.

How can you use x11-drivers/radeon-ucode (with KMS) *and* CONFIG_FB_RADEON=y ?

On two machines of mine I end up with a blank screen if I add a framebuffer 
driver.
-- 
Regards,
Mick


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


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Alan McKinnon
On 22/03/11 19:22, kashani wrote:
 On 3/22/2011 1:13 AM, Mr. Jarry wrote:
 Thanks for replies. As I had expected, they brought even more
 uncertainty then I had before... :-)

 ext3/4:
 I excluded them because as I understand, they do not support
 snapshots (only with lvm, which I do not use, and I've hreard
 snapshots in lvm are not very effective, or something like that).
 Next minus-point, I tried resizing of ext3/lvm once in the past
 and remember it was a real pain in a**...
 
 Any Mysql db smaller than 200GB is being backed up by a combination
 of LVM/Ext3 at a large Internet company with a big purple Y. It's mildly
 painful to setup, but RHEL uses LVM by default so it's just a matter of
 resizing to get the partitions you need. Once that's done you can kick
 off snapshots with very little effort.
 
 Not sure where you heard it was ineffective and I'd ignore further
 information from that source.

It goes like this:

Reduce:
- make fs smaller
- make volume smaller to match fs

Enlarge
- enlarge volume
- enlarge fs to match volume

Use snapshots
- find name of snapshot
- mount it somewhere

Oh look. Two commands in each case instead of magic hand waving. And you
have to think about what you are doing with reduce/enlarge because the
order is reversed. Yes, I can truly see why the OP found a comment on
them thar intartubes that the whole thing is broken and can't work. Yes,
I can really see that now.

But considering that the thread is all about what is the best
filesystem?, that too is to be expected. The very title belies a lack
of understanding - the best filesystem for you is the one you have
tested and found best suits your needs.

Asking what is the best filesystem? without also supplying an array of
metrics and actual performance data is a mind-bogglingly stupid
question, along the lines of what is the best girlfriend/wife/SO?

-- 
alan dot mckinnon at gmail dot com




Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Stéphane Guedon
On Wednesday 23 March 2011 08:27:53 Alan McKinnon wrote:

 But considering that the thread is all about what is the best
 filesystem?, that too is to be expected. The very title belies a lack
 of understanding - the best filesystem for you is the one you have
 tested and found best suits your needs.
 
A filesystem looks like quite hard to test (as a kernel, as an hardware... much 
more complicated than a software you only need to install) : you need a 
specific machine to test on it. Which tests/operation to perform ?

Before launching tests, maybe asking advices to others to have their 
experiences would be a great idea !

But I would like really to know : can you give a way to test such things ? 
(hardware ... quite hard : need to buy before testing, kernel, FS).

Best regards

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Volker Armin Hemmann
On Wednesday 23 March 2011 08:50:14 Stéphane Guedon wrote:
 On Wednesday 23 March 2011 08:27:53 Alan McKinnon wrote:
  But considering that the thread is all about what is the best
  filesystem?, that too is to be expected. The very title belies a lack
  of understanding - the best filesystem for you is the one you have
  tested and found best suits your needs.
 
 A filesystem looks like quite hard to test (as a kernel, as an hardware...
 much more complicated than a software you only need to install) : you need
 a specific machine to test on it. Which tests/operation to perform ?
 
 Before launching tests, maybe asking advices to others to have their
 experiences would be a great idea !
 
 But I would like really to know : can you give a way to test such things ?
 (hardware ... quite hard : need to buy before testing, kernel, FS).
 
 Best regards

no, fs testing is easy. You know what the machine is going to do - so let it 
do it and measure the time it needs. Easy.

That way I found that reiser4+lzo is the best one *for me* and xfs the worst.

But I am sure a lot of people have scenarios where xfs is the best. Or ext4.

And if you don't care about barriers, jfs might be a good choice.

It depends on the stuff you want to do and what do you expect from a file 
system.

Btw, when doing a copy or move test to prime the fs - copy from the same type 
of filesystem or the numbers are skewed.



Re: [gentoo-user] Problems starting OpenLDAP

2011-03-23 Thread Joost Roeleveld
On Tuesday 22 March 2011 22:00:21 Johannes Geiss wrote:
 Hi there,
 
 I try to start an LDAP-service for managing by eMail-Addresses
 centralised on my server. Unfortunately I constantly fail to start
 slapd.

Are you trying to start is using the init-script?

 I tried a lot of documentations I've found on the web, including
 Gentoo's non-official doc at
 
 http://www.gentoo.org/doc/en/ldap-howto.xml
 
 as well as
 
 http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html
 
 but to no avail.
 
 The daemon slapd only starts as root and connecting to it via
 
 ldapadd -f stooges.ldif -xv -D cn=StoogeAdmin,o=stooges \
 -h 127.0.0.1 -w secret1
 
 always fails with
 
 ldap_initialize( ldap://127.0.0.1 )
 ldap_bind: Invalid credentials (49)

This indicates that the login-details are incorrect or not allowed to connect.

 I suspect something is wrong with my backend database.

Is stooges.ldif the first LDIF you are trying to import? eg. is the backend 
database still empty?

 Has anybody installed and started OpenLDAP successfully on Gentoo?
 I am interested in config files and which components/use flags are
 involved.

I have and am happily using it.

I configured the database-part in the /etc/openldap/slapd.conf file:
**
###
# BDB database definitions
###

databasehdb
suffix  dc=example,dc=org
checkpoint  32  30
# checkpoint:  kbyte min
rootdn  cn=Manager,dc=example,dc=org
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
password-hash {crypt}
rootpw  IDONOTTHINKSO_:)
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory   /var/lib/openldap-data
**

Also, when I restore a backup (or build a new one) I always first use slapadd 
to initialize the openldap backend database prior to trying to start slapd:
1) /etc/init.d/slapd stop
2) rm /var/lib/openldap-data/*
3) slapadd -f backup-file.ldif
4) chown -R ldap:ldap /var/lib/openldap-data/
5) /etc/init.d/slapd start

Please adjust the paths and suffix/rootdn to match your installation.

HTH,

Joost Roeleveld

PS. step 4 is important as slapadd will create the files owned by current 
user (root) and slapd will run as ldap which means slapd will not be able to 
access without that step.



[gentoo-user] supported package count comparison

2011-03-23 Thread Kfir Lavi
Hi,
Can someone refer me to a comparison of the number of packages supported by
Debian, Redhat etc.
For counting Gentoo packages I did:
eix -c | wc -l
and got 15849

Also, how can I count the number of stable packages in Gentoo?

Regards,
Kfir


Re: [gentoo-user] supported package count comparison

2011-03-23 Thread Neil Bothwick
On Wed, 23 Mar 2011 11:42:48 +0200, Kfir Lavi wrote:

 For counting Gentoo packages I did:
 eix -c | wc -l
 and got 15849

I get 23355, but I guess you are only counting the official tree and not
the layman overlays.

 Also, how can I count the number of stable packages in Gentoo?

Read man eix, particularly the --stable option.


-- 
Neil Bothwick

Dolly Parton-- silicone based life


signature.asc
Description: PGP signature


[gentoo-user] Gentoo Folks Meeting in Gothenburg the 1/4 // Gentoomötet i Göteborg den 1 / 4

2011-03-23 Thread klondike
Hello,

Finally xake, kolmodin and me (klondike) managed to get a common time to
meet and decide a meeting place and time for the Gentoo folks meeting.
After some discussion we decided to go for The Rover (
http://www.therover.se/ ) in Järntorget next Friday, April the first at
18:30.
If you have the slightest interest in Gentoo and live in Gothenburg (or
just happen to be around there at the time) you are more than welcome to
come meet with us and speak of Gentooish and not so Gentooish things.

That's all from us for now, cheers!
klondike

---

Hej,

Slutligen xake, kolmodin och mig (klondike) lyckades få en gemensam tid
att träffas och besluta en mötesplats och tid för Gentoomötet.
Efter lite diskussion bestämde vi oss för att gå för The Rover
(http://www.therover.se/) i Järntorget nästa fredag, första april vid 18:30.
Om du har minsta intresse för Gentoo och bor i Göteborg (eller bara
råkar vara runt där vid den tiden) så är du mer än välkommen att komma
träffa oss och tala om Gentooish och inte så Gentooish saker.

Det är allt från oss för nu, skål!
Klondike




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Mr. Jarry
On Wed, Mar 23, 2011 at 10:09 AM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:

 And if you don't care about barriers, jfs might be a good choice.

Knowing nothing about barriers I tried to find some info and
came accross this article:

http://searchenterpriselinux.techtarget.com/tip/Deciding-when-to-use-Linux-file-system-barriers

It says, barriers can not work with device mapper (raid, lvm).
If it is true (?) then because of having all partitions in raid1 (md),
I need not worry about barriers. Whatever filesystem I picked out,
I could not use barriers...

Jarry



Re: [gentoo-user] Re: Compositing too slow in KDE

2011-03-23 Thread Bill Longman
On 03/22/2011 11:57 PM, Mick wrote:
 My kernel is 2.6.36-r5 gentoo-sources running on the AMD Athlon II X4
 machine:
 $ zgrep RADEON /proc/config.gz
 CONFIG_DRM_RADEON=m
 CONFIG_DRM_RADEON_KMS=y
 CONFIG_FB_RADEON=y
 CONFIG_FB_RADEON_I2C=y
 CONFIG_FB_RADEON_BACKLIGHT=y
 # CONFIG_FB_RADEON_DEBUG is not set


 Wonderfully wobbly windows once again, without widespread (and
 unwelcomed) untimely terminations.
 
 How can you use x11-drivers/radeon-ucode (with KMS) *and* CONFIG_FB_RADEON=y ?
 
 On two machines of mine I end up with a blank screen if I add a framebuffer 
 driver.

I don't know, Mick. I have FB_MODE_HELPERS=y? or maybe because I have

CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m

these won't kick in until the module loads. Also, I use genkernel to
build all the init stuff for me. I also have MTRR sanitizer turned on.
Here are the other kernel settings I have, again, on the Athlon II X4
system, that could be relevant:

CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y

Now last night on my Phenom 940, I was unable to get KDE to remain
stable unless I turned on KMS. Now that system, too, is stable as far as
the half hour of testing I performed was able to show.



[gentoo-user] Re: the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Nicolas Sebrecht
The 22/03/11, Dale wrote:

 This is usually the case, more confusion.  Every file system has its
 strengths and its weaknesses.  Here is some info BTRFS:
 
 https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Current_Status

There is no problem here. If you want RAID, you can just use the usual
raid driver of the kernel. This issue is a noop.

-- 
Nicolas Sebrecht



Re: [gentoo-user] Bash $VAR expansion escapes the dollar instead of expanding

2011-03-23 Thread Willie Wong
On Tue, Mar 22, 2011 at 06:51:54AM -0700, fe...@crowfix.com wrote:
 I have an env var, WWW=/home/www/felix, which I have always used with
 tab completion without problems.
 
 cd $WWW/httabphtab20110318
 
 would expand in steps
 
 cd /home/www/felix/htdocs/
 cd /home/www/felix/htdocs/photos/
 cd /home/www/felix/htdocs/photos/20110318
 
 But some recent bash upgrade has scuppered this.  tab no longer
 expands the $WWW; instead, it escapes the $, adds a space at the end,
 and thinks itself clever.
 
 cd \$WWW/ht ph
 
 which does me no good.
 
 I'll be danged if I can figure out any google-fu to search for this,
 and 'bash help'  and 'info bash' have done me no good either.
 
 I do not know which specific bash upgrade changed this, since I don't
 have very many of these env vars I used similarly.  The current bash
 --version is 4.2.8(2)-release, gentoo version is app-shells/bash-4.2_p8.

A possible culprit maybe the bash-completion package. Have you updated
that recently?

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



Re: [gentoo-user] supported package count comparison

2011-03-23 Thread Kfir Lavi
On Wed, Mar 23, 2011 at 12:17 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Wed, 23 Mar 2011 11:42:48 +0200, Kfir Lavi wrote:

  For counting Gentoo packages I did:
  eix -c | wc -l
  and got 15849

 I get 23355, but I guess you are only counting the official tree and not
 the layman overlays.

  Also, how can I count the number of stable packages in Gentoo?

 Read man eix, particularly the --stable option.


 --
 Neil Bothwick

 Dolly Parton-- silicone based life


Yep,
eix -c --stable | wc -l
9996

Tnx,
Kfir


Re: [gentoo-user] Bash $VAR expansion escapes the dollar instead of expanding

2011-03-23 Thread felix
On Wed, Mar 23, 2011 at 10:55:05AM -0400, Willie Wong wrote:

 A possible culprit maybe the bash-completion package. Have you updated
 that recently?

I haven't had bash-completion installed for years.  I forget now what
I didn't like about it, but it's not in the picture now.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Volker Armin Hemmann
On Wednesday 23 March 2011 14:04:23 Mr. Jarry wrote:
 On Wed, Mar 23, 2011 at 10:09 AM, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  And if you don't care about barriers, jfs might be a good choice.
 
 Knowing nothing about barriers I tried to find some info and
 came accross this article:
 
 http://searchenterpriselinux.techtarget.com/tip/Deciding-when-to-use-Linux-f
 ile-system-barriers
 
 It says, barriers can not work with device mapper (raid, lvm).
 If it is true (?) then because of having all partitions in raid1 (md),
 I need not worry about barriers. Whatever filesystem I picked out,
 I could not use barriers...
 
 Jarry

md raid devices can do barriers. Don't know about lvm. But lvm is such a can 
of worms I am surprised people still recommend it.



[gentoo-user] Anyone successful in paravirtualizing Gentoo on XenServer?

2011-03-23 Thread Pandu Poluan
Hello!

I'm trying to run Gentoo in PV-mode on XenServer 5.6. I have been
unsuccessful for the past 8 or 9 attempts (I've lost count already).

So, I'd like to know if any of you have successfully paravirtualized
Gentoo on XenServer?

I also have some questions:

1. Is it true that PV mode is supported only on amd64 kernel? Because
when I do a 'make menuconfig' on x86, some Xen-related options are not
visible.

1a. What about the 'hardened' kernel?

2. Does XenServer's pygrub require an initrd? If so, how do I make one
without using 'genkernel'?

3. Is there any settings I should be careful of, beside those related
to Xen? Like, such-and-such *must* be included or excluded?

Thank you for you kind help :)

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-23 Thread Florian Philipp
Am 23.03.2011 14:04, schrieb Mr. Jarry:
 On Wed, Mar 23, 2011 at 10:09 AM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 
 And if you don't care about barriers, jfs might be a good choice.
 
 Knowing nothing about barriers I tried to find some info and
 came accross this article:
 
 http://searchenterpriselinux.techtarget.com/tip/Deciding-when-to-use-Linux-file-system-barriers
 
 It says, barriers can not work with device mapper (raid, lvm).
 If it is true (?) then because of having all partitions in raid1 (md),
 I need not worry about barriers. Whatever filesystem I picked out,
 I could not use barriers...
 
 Jarry
 


Kernel changes claim barrier support for DM and MD beginning at 2.6.33 [1].

Some support was also added in 2.6.31, 2.6.30 and 2.6.29.

This thread [2] leaves me with the impression that the same patches
providing support in DM and MD also solved the issue for LVM.

The article you cite might be correct in the context of RHEL-5.5 and
SLED-10 which use a much older kernel (2.6.24 if I'm not mistaken).

[1] http://kernelnewbies.org/Linux_2_6_33
[2] http://lwn.net/Articles/326597/

Also interesting:
http://lwn.net/Articles/400541/

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] color in terminals with white background

2011-03-23 Thread John Blinka
On Tue, Mar 22, 2011 at 12:30 PM, Bill Longman bill.long...@gmail.com wrote:
 On 03/22/2011 08:43 AM, John Blinka wrote:

 And for that matter, does anyone who uses a dark background AND uses
 vimdiff as their etc-update tool run up against the same issue: vimdiff
 mode and certain syntax highlighting rules combine to make some sections
 of documents completely illegible.

Same thing happens with a light background.

john



Re: [gentoo-user] color in terminals with white background

2011-03-23 Thread John Blinka
On Tue, Mar 22, 2011 at 12:24 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 22 Mar 2011 11:43:54 -0400, John Blinka wrote:

 You can remap the colours portage uses in /etc/portage/color.map. See man
 portage and man color.map for details.

 --
 Neil Bothwick

 c:Press Enter to Exit


Thanks for the color.map pointer.  A web search turns up one person's solution:

http://forum.soft32.com/linux/gentoo-portage-color-map-light-background-ftopict332304.html

A /etc/portage/color.map file containing just this one line makes the
invisible yellow portage output legible on my white background:

yellow=brown

I appreciate the help.  Problem solved!

John



Re: [gentoo-user] color in terminals with white background

2011-03-23 Thread Stroller

On 22/3/2011, at 4:30pm, Bill Longman wrote:
 ...
 And for that matter, does anyone who uses a dark background AND uses
 vimdiff as their etc-update tool ...

I would be interested to know how one does this.

Stroller.




Re: [gentoo-user] color in terminals with white background

2011-03-23 Thread Bill Longman
On 03/23/2011 11:23 AM, John Blinka wrote:
 Thanks for the color.map pointer.  A web search turns up one person's 
 solution:
 
 http://forum.soft32.com/linux/gentoo-portage-color-map-light-background-ftopict332304.html
 
 A /etc/portage/color.map file containing just this one line makes the
 invisible yellow portage output legible on my white background:
 
 yellow=brown
 
 I appreciate the help.  Problem solved!

That *is* much better. Thanks!



Re: [gentoo-user] Bash $VAR expansion escapes the dollar instead of expanding

2011-03-23 Thread Etaoin Shrdlu
On Wed, 23 Mar 2011 09:01:15 -0700
fe...@crowfix.com wrote:

 On Wed, Mar 23, 2011 at 10:55:05AM -0400, Willie Wong wrote:
 
  A possible culprit maybe the bash-completion package. Have you updated
  that recently?
 
 I haven't had bash-completion installed for years.  I forget now what
 I didn't like about it, but it's not in the picture now.

It seems to have been reported:

http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00274.html




Re: [gentoo-user] supported package count comparison

2011-03-23 Thread Marc Joliet
Am Wed, 23 Mar 2011 11:42:48 +0200
schrieb Kfir Lavi lavi.k...@gmail.com:

 Hi,

Hi,

 For counting Gentoo packages I did:
 eix -c | wc -l
 and got 15849

Perhaps a minor nitpick, but you need the --pure-packages option, otherwise you
add a (small) bias to that number. From eix(1):

   -*, --pure-packages   (toggle)
  (do  not forget quoting if you use the short form from within a 
shell.)  Omit printing of additional information
  (overlay names, number of found packages) after the packages.  
This might be useful for some shell scripts pars‐
  ing the output

[...]
 Regards,
 Kfir

HTH
-- 
Marc Joliet


signature.asc
Description: PGP signature


[gentoo-user] Intel i915 sudden glitches

2011-03-23 Thread Florian Philipp
Hello list!

For a few days now I have issues with my i915 (GMA HD) graphics. Without
apparent reason (system load or whatever) everything except the mouse
pointer and audio freezes. After a few seconds it recovers but KDE
deactivates Composite. After that the system stays slow, watching videos
is impossible and some colors in some windows change.

dmesg is flooded with this after it happens:
drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5
(awaiting 14302282 at 14260145)
[drm:init_ring_common] *ERROR* render ring head not reset to zero ctl
0800 head 3241b08d tail  start 02001000
[drm:init_ring_common] *ERROR* render ring head forced to zero ctl
0800 head 3241b08d tail  start 02001000
[drm:init_ring_common] *ERROR* render ring initialization failed ctl
0001f801 head 3241b08d tail  start 02001000

I did not change anything on the kernel (2.6.36-gentoo-r5 #3 SMP Sat Dec
25 19:00:13 CET 2010 x86_64 Intel(R) Core(TM) i5 CPU M 450 @ 2.40GHz).
The last change was the recent minor KDE update.

Sometimes I also notice that when I quickly flip between virtual
desktops, the rendering of windows gets messed up until a partial or
complete redraw happens after some event (mouse-over or resizing).

And just to throw in another symptome, sometimes GTK applications start
to mess up characters by randomly sustituting them. For example, last
time every occurence of 1 was rendered as i. It only affects a few
characters but always different ones. I think this started after a
recent update to x11-libs/pango-1.28.3-r1.

My first guess is the turbo boost feature of these graphics chips but I
find it odd that it suddenly appeared after using this for months.

Does someone else experience the same or have a clue about the reason?

Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Bash $VAR expansion escapes the dollar instead of expanding

2011-03-23 Thread felix
On Wed, Mar 23, 2011 at 07:33:40PM +, Etaoin Shrdlu wrote:

 It seems to have been reported:
 
 http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00274.html

Your google-fu is strong.  I bow in your general direction :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Bash $VAR expansion escapes the dollar instead of expanding

2011-03-23 Thread felix
On Wed, Mar 23, 2011 at 07:33:40PM +, Etaoin Shrdlu wrote:

 It seems to have been reported:
 
 http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00274.html

There is one useful note in that thread.  ESC ctrl-e gets rid of the
backslash, and if you want to keep the $VAR as $VAR, backspace over
the terminal space and continue.  Or you can ESC ctrl-e again, and
convert the $VAR to its value, so you won't need to repeat the single
ESC ctrl-e for each further tab.  A tolerable workaround for now.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Re: Anyone successful in paravirtualizing Gentoo on XenServer?

2011-03-23 Thread Pandu Poluan
On Thu, Mar 24, 2011 at 00:03, Pandu Poluan pa...@poluan.info wrote:
 Hello!

 I'm trying to run Gentoo in PV-mode on XenServer 5.6. I have been
 unsuccessful for the past 8 or 9 attempts (I've lost count already).

 So, I'd like to know if any of you have successfully paravirtualized
 Gentoo on XenServer?

 I also have some questions:

 1. Is it true that PV mode is supported only on amd64 kernel? Because
 when I do a 'make menuconfig' on x86, some Xen-related options are not
 visible.

 1a. What about the 'hardened' kernel?

 2. Does XenServer's pygrub require an initrd? If so, how do I make one
 without using 'genkernel'?

 3. Is there any settings I should be careful of, beside those related
 to Xen? Like, such-and-such *must* be included or excluded?

 Thank you for you kind help :)

Okay. With 'genkernel' I've managed to boot and see the login prompt.

However, it seems to ignore all inputs. I.e., I can't type my login.

But if I press XenCenter's Shutdown button, it shutdowns properly,
and provided the message System halted

Any pointers?

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com