Re: [gentoo-user] gcc build fails during emerge system on new 64-bit install

2010-06-25 Thread Stroller


On 25 Jun 2010, at 03:56, Walter Dnes wrote:


On Thu, Jun 24, 2010 at 07:28:14AM +0100, Stroller wrote

On 24 Jun 2010, at 00:33, Walter Dnes wrote:

... The MSI motherboard has
PS/2 ports (YES!!!) so I don't have to tearfully throw away my  
genuine

IBM PS/2 clickety-clack keyboard.


Your motherboard doesn't need native PS2 ports: 
http://www.ledshoppe.com/Product/com/CA4036.htm


 H.  Interesting.  I assume that it's not your average passive
connector.  Those don't work.  2. USB Bus Powered probably means it
has keyboard emulation circuitry.


I assume it has some electronics in there. These are exceedingly  
common, however, and make the keyboard appear to the o/s (and BIOS) as  
a standard USB HCI device.


Stroller.




Re: [gentoo-user] [SOLVED] gcc build fails during emerge system on new 64-bit install

2010-06-25 Thread Alex Schuster
Walter Dnes writes:

 On Thu, Jun 24, 2010 at 09:38:17PM +0100, Mick wrote
 
  I'll repeat the advice I was given in this list sometime around last
  Christmas (but can't find the thread now): you're bound to find some
  pesky application which is only available in 32bit and then you'll
  curse for having to reinstall.
 
   If anything, I'll install a VM to run it in.

I'm curious. Are there advantages on not running a multilib profile?

 RANT
   Why on earth will xorg-x11 *NOT* build if I mask out various arabic,
 cyrillic, ethiopic, and jis fonts?  My PC is *NOT* intended to be a
 kiosk machine at UN headquarters fer-cryin-out-loud.
 /RANT

xorg-x11 depends on them, I think there is no way to tell portage a 
dependency is optional. Might be nice feature, though. Debian has 
something like this I think, 'suggested packages' that may be installed 
additionally if desired. Maybe an 'optional' use flag could do this? But 
it would habe to be set for every package, not in the DEPEND list in the 
xorg-x11 ebuild. A DEPEND_IF_NOT_MASKED entry in the ebuild would be nice.

Anyway, I do not install xorg-x11 at all, but xorg-server instead. Which 
means I have to care about optional stuff for myself, like fonts, tools 
like xdpyinfo and such. But at least I do not have cyrillic fonts on my 
system :)

Wonko



Re: [gentoo-user] [SOLVED] gcc build fails during emerge system on new 64-bit install

2010-06-25 Thread Neil Bothwick
On Thu, 24 Jun 2010 23:29:09 -0400, Walter Dnes wrote:

 RANT
   Why on earth will xorg-x11 *NOT* build if I mask out various arabic,
 cyrillic, ethiopic, and jis fonts?  My PC is *NOT* intended to be a
 kiosk machine at UN headquarters fer-cryin-out-loud.
 /RANT

Because xorg-x11 is  metapackage that pulls everything in. If you want to
choose what is installed, either emerge components individually or
create a set. 


-- 
Neil Bothwick

Copy from another: plagiarism. Copy from many: research.


signature.asc
Description: PGP signature


[gentoo-user] Re: xorg segfaults if I have an encrypted volume mounted

2010-06-25 Thread Remy Blank
Remy Blank wrote:
 Some version info:
 
   xorg-server-1.8.1.901
   xf86-input-evdev-2.3.2
   udev-149
   gentoo-sources-2.6.31-r6
 
 Has anyone seen anything similar? Any idea how I could either work
 around the issue or debug it? I have tried strace but couldn't extract
 any meaningful information.

For the record, I have update to gentoo-sources-2.6.34-r1, and the issue
seems to be fixed. I still don't understand why this has suddenly
started happening, as I had been running 2.6.31-r6 for months.

Now on to my next issue: my laptop powers off by itself after a few
hours of doing nothing. I first thought that it was a hardware issue,
but it just switched off before my eyes a few minutes ago: the screen
went blank, and I could see the caps lock and scroll lock LEDs blink for
~30 seconds, before the laptop powered off. This seems to be a strong
hint at a kernel panic.

Unfortunately, as I was in X, I didn't get to see the panic, and it
wasn't logged either. Does anyone know how to get the kernel panic
message in such a case? I have enabled remote logging with syslog-ng,
but I suspect that this won't be enough. I have found kdump, but setting
it up seems to be quite tricky.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] core i5

2010-06-25 Thread Stefan G. Weichinger
Am 24.06.2010 02:25, schrieb Mark Knecht:
 On Wed, Jun 23, 2010 at 3:38 PM, Stefan G. Weichinger
 How do you use up 24 gigs of DRAM? Just tell me, I would like to
 justify that for me as well ;-)
 
 5 copies of Win7 running in vmware VMs. Each VM gets 20GB of RAID0,
 2 processors and 4GB of RAM. That's 100GB, 20GB DRAM and 10 threads 
 total. I then have 2 i7-980X threads  4GB DRAM for running Gentoo
 as the host. Gentoo runs on RAID1 and I have an additional RAID1
 which I use to back up the RAID0 daily.

I see. That's way more than I need here, so I will get through with 8 GB
DRAM easily ...

 Yeah, dual boot is what I'm doing with the i5-661. The i7-980X only 
 runs Gentoo and if I need Windows it's in the 5 VMs described above.
 
 The 980X is expensive to run. It's got 5 hard drives in it (2 for 
 RAID0, 3 for RAID1) plus the processor and all that memory burns
 over 300W at idle.

Also too expensive and big for me. I think I will go for the i5 if I
decide to upgrade.

Thanks, S



Re: [gentoo-user] Re: xorg segfaults if I have an encrypted volume mounted

2010-06-25 Thread James L
 Remy Blank wrote:
 my laptop powers off by itself after a few
 hours of doing nothing. I first thought that it was a hardware issue,
 but it just switched off before my eyes a few minutes ago: the screen
 went blank, and I could see the caps lock and scroll lock LEDs blink for
 ~30 seconds, before the laptop powered off. This seems to be a strong
 hint at a kernel panic.

 Unfortunately, as I was in X, I didn't get to see the panic, and it
 wasn't logged either. Does anyone know how to get the kernel panic
 message in such a case? I have enabled remote logging with syslog-ng,
 but I suspect that this won't be enough. I have found kdump, but setting
 it up seems to be quite tricky.

 -- Remy

Turn off all power management software.
My guess is it is going into one of the power saving modes that ends up
crashing it.




[gentoo-user] Re: xorg segfaults if I have an encrypted volume mounted

2010-06-25 Thread Remy Blank
James L wrote:
 Turn off all power management software.
 My guess is it is going into one of the power saving modes that ends up
 crashing it.

Thanks for the suggestion. The only power management software that I
have installed is the cpufreq ondemand governor, which shouldn't use the
power saving modes AFAIK.

I have logged the CPU temperature, remaining battery capacity, charger
state and loadavg every 10 seconds, and the CPU is mostly idle (0.00
loadavg, ~40 °C), the battery full, and the charger connected. Then
suddenly, after ~15 hours, blinking keyboard lights and finally power off.

-- Remy



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Atheros WLAN loosing link

2010-06-25 Thread Enrico Weigelt
Hi folks,


my Atheros wlan (builtin, internal intenna) is regularily 
loosing link. Reproducible in various different networks.
At home, my wlan ap is about 2 meter away (within the room),
so link quality (currently 53) shouldnt be the problem.

Does anyone know what could cause the problem ?

# cat /proc/version

Linux version 2.6.31-gentoo-r10 (r...@excalibur.local) \
(gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) )\
#1 SMP Wed Jun 2 00:51:13 CEST 2010

# lspci -v 
...

02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network 
Adapter (PCI-Express) (rev 01)
Subsystem: Askey Computer Corp. Device 7167
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f600 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel ?
Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
Capabilities: [170] Power Budgeting ?
Kernel driver in use: ath9k
Kernel modules: ath9k
...


Jun 25 19:36:51 excalibur kernel: wlan0: no probe response from AP 
00:23:08:86:d6:8f - disassociating
Jun 25 19:36:51 excalibur dhcpcd[10182]: wlan0: carrier lost


thx 

-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] core i5

2010-06-25 Thread Mark Knecht
On Fri, Jun 25, 2010 at 5:52 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 24.06.2010 02:25, schrieb Mark Knecht:
 On Wed, Jun 23, 2010 at 3:38 PM, Stefan G. Weichinger
 How do you use up 24 gigs of DRAM? Just tell me, I would like to
 justify that for me as well ;-)

 5 copies of Win7 running in vmware VMs. Each VM gets 20GB of RAID0,
 2 processors and 4GB of RAM. That's 100GB, 20GB DRAM and 10 threads
 total. I then have 2 i7-980X threads  4GB DRAM for running Gentoo
 as the host. Gentoo runs on RAID1 and I have an additional RAID1
 which I use to back up the RAID0 daily.

 I see. That's way more than I need here, so I will get through with 8 GB
 DRAM easily ...

 Yeah, dual boot is what I'm doing with the i5-661. The i7-980X only
 runs Gentoo and if I need Windows it's in the 5 VMs described above.

 The 980X is expensive to run. It's got 5 hard drives in it (2 for
 RAID0, 3 for RAID1) plus the processor and all that memory burns
 over 300W at idle.

 Also too expensive and big for me. I think I will go for the i5 if I
 decide to upgrade.

 Thanks, S



Really was too expensive for me also, at least for the actual use I'm
making of it so far, but when I need to run a bunch of copies of
Windows in parallel it's pretty nice.

None the less it is fast. I did the kde-4.4.4 upgrade this morning. 94
minutes on the clock. Something like 287 ebuilds. Doesn't include
download time. I did emerge -fDuN earlier:


c2stable ~ # time emerge -DuN kde-meta
SNIP

 * Regenerating GNU info directory index...
 * Processed 150 info files.

 * IMPORTANT: 2 config files in '/etc' need updating.

 * IMPORTANT: 17 config files in '/usr/share/config' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

real94m25.632s
user246m19.420s
sys 36m19.092s
c2stable ~ #

Even though i have 12 processor threads you can see the effectivity is
more like 3 or 4 1 overall. A lot of the kde compile only uses 1 or 2
cores per package and then there's a lot of time spent waiting for
hard drives, etc.

I did have one vmware instance running at the same time.

Cheers,
Mark



Re: [gentoo-user] Questions regarding the usage of multiple locales

2010-06-25 Thread Enrico Weigelt
* Christopher Swift christopher.sw...@linux.com wrote:

 Is it at all possible to set a locale, i.e. cy_GB to be the primary LANG
 parameter but if there is no .po for cy_GB or the .po is incomplete to
 use en_GB as a backup instead of the default en_US?  

gettext allows to specify fallback languages:

http://www.gnu.org/software/gettext/manual/gettext.html#The-LANGUAGE-variable

Actually, I dont know if this works for your situation.

Conceptionally, you want some kind of overlay. You could do this
by a little script, which compiles several locales to a virtual
one, eg. by creating symlinks or compiling to new .po files
using msmerge:

http://www.gnu.org/software/gettext/manual/gettext.html#Updating

BUT: these files would become dynamic data, which is not handled
(eg. automatic removed on uninstall) by portage.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] p7zip-4.65-r1 considered obnoxious

2010-06-25 Thread Enrico Weigelt
* Arttu V. arttu...@gmail.com wrote:
 On 6/20/10, Kevin O'Gorman kogor...@gmail.com wrote:
  For some reason, the latest x86 stable p7zip wants to force me to remove
  'odbc' from wxGTK.  This seems wrong, and I'm masking it out for the moment,
  but I'm wondering what justification there is.
 
 http://bugs.gentoo.org/show_bug.cgi?id=267698

Yet another case of different packages bundled into one ;-p
When looking at the rather complex ebuild, I'd claim that 
upstream is not well-designed (so distros have to do things
which naturally would be upstream's job)  ;-o


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] core i5

2010-06-25 Thread Paul Hartman
On Fri, Jun 25, 2010 at 12:58 PM, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Jun 25, 2010 at 5:52 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 24.06.2010 02:25, schrieb Mark Knecht:
 On Wed, Jun 23, 2010 at 3:38 PM, Stefan G. Weichinger
 How do you use up 24 gigs of DRAM? Just tell me, I would like to
 justify that for me as well ;-)

 5 copies of Win7 running in vmware VMs. Each VM gets 20GB of RAID0,
 2 processors and 4GB of RAM. That's 100GB, 20GB DRAM and 10 threads
 total. I then have 2 i7-980X threads  4GB DRAM for running Gentoo
 as the host. Gentoo runs on RAID1 and I have an additional RAID1
 which I use to back up the RAID0 daily.

 I see. That's way more than I need here, so I will get through with 8 GB
 DRAM easily ...

 Yeah, dual boot is what I'm doing with the i5-661. The i7-980X only
 runs Gentoo and if I need Windows it's in the 5 VMs described above.

 The 980X is expensive to run. It's got 5 hard drives in it (2 for
 RAID0, 3 for RAID1) plus the processor and all that memory burns
 over 300W at idle.

 Also too expensive and big for me. I think I will go for the i5 if I
 decide to upgrade.

 Thanks, S



 Really was too expensive for me also, at least for the actual use I'm
 making of it so far, but when I need to run a bunch of copies of
 Windows in parallel it's pretty nice.

 None the less it is fast. I did the kde-4.4.4 upgrade this morning. 94
 minutes on the clock. Something like 287 ebuilds. Doesn't include
 download time. I did emerge -fDuN earlier:


 c2stable ~ # time emerge -DuN kde-meta
 SNIP

  * Regenerating GNU info directory index...
  * Processed 150 info files.

  * IMPORTANT: 2 config files in '/etc' need updating.

  * IMPORTANT: 17 config files in '/usr/share/config' need updating.
  * See the CONFIGURATION FILES section of the emerge
  * man page to learn how to update config files.

 real    94m25.632s
 user    246m19.420s
 sys     36m19.092s
 c2stable ~ #

 Even though i have 12 processor threads you can see the effectivity is
 more like 3 or 4 1 overall. A lot of the kde compile only uses 1 or 2
 cores per package and then there's a lot of time spent waiting for
 hard drives, etc.

Try adding -j to emerge and watch it truly maximize your cores. When I
emerged KDE it was compiling something like 90 packages
simultaneously.



[gentoo-user] pmount without hal

2010-06-25 Thread Mick
Any idea why hal is taken out from pmount?

[ebuild U ] sys-apps/pmount-0.9.23 [0.9.20] USE=crypt (-hal%*) 342 kB

-- 
Regards,
Mick


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


[gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w

2010-06-25 Thread rocwhite168
Bill Longman bill.longman at gmail.com writes:

 
 Yikes. Sorry, I didn't look back through the thread.
 
 Did you notice that you have an extra zero in your CONFIG_PHYSICAL:
 
 CONFIG_PHYSICAL_START=0x100
 # CONFIG_RELOCATABLE is not set
 CONFIG_PHYSICAL_ALIGN=0x100
 
 The default is 0x10 for x86.
 

Thanks for your suggestion! I tried and it seems the previous 
problem disappeared but it throws out another  error:

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device sda5 or unknown-block(2,0)
Please append ac correct root= boot option; here are the
available partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(2,0)
Pid: 1, comm: swapper Not tainted 2.6.31-gentoo-r10 #2

I searched the Internet for a while, but still can't find any solutions.
The root partition is definitely sda5, as also specified in the fstab file.




Re: [gentoo-user] pmount without hal

2010-06-25 Thread Marc Joliet
Am Fri, 25 Jun 2010 19:50:26 +0100
schrieb Mick michaelkintz...@gmail.com:

 Any idea why hal is taken out from pmount?
 
 [ebuild U ] sys-apps/pmount-0.9.23 [0.9.20] USE=crypt (-hal%*) 342 kB
 

A quick look at the ChangeLog reveals:

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

Yes, HAL is on its way out :) !

-- 
Marc Joliet
--
Lt. Frank Drebin: It's true what they say: cops and women don't mix. Like
eating a spoonful of Drāno; sure, it'll clean you out, but it'll leave you
hollow inside.


signature.asc
Description: PGP signature


[gentoo-user] FYI: Rules for distro-friendly packages

2010-06-25 Thread Enrico Weigelt

Hi folks,


I'm currently collecting a set of rules which upstream developers
should follow to make distro maintainer's life easier.

Comments welcomed :)


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] FYI: Rules for distro-friendly packages

2010-06-25 Thread Alan McKinnon
On Friday 25 June 2010 22:17:39 Enrico Weigelt wrote:
 Hi folks,
 
 
 I'm currently collecting a set of rules which upstream developers
 should follow to make distro maintainer's life easier.
 
 Comments welcomed :)


My biggest beef by far when packaging apps is automagic dependencies.

e17 is full of them - if package A is present, the app will configure itself 
to use it. Usually you cannot switch this kind of thing off even if you have 
valid reasons to do so.

I want explicit --enable-package features in the ./configure step for 
everything that might be optional. Because I often do have that lib on my 
system and the app's usage of it is buggy, so I should be able to disable that 
support.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] FYI: Rules for distro-friendly packages

2010-06-25 Thread Volker Armin Hemmann
On Freitag 25 Juni 2010, Enrico Weigelt wrote:
 Hi folks,
 
 
 I'm currently collecting a set of rules which upstream developers
 should follow to make distro maintainer's life easier.
 
 Comments welcomed :)
 
 
 cu

no bundled libs.

when you change the tarball fucking change the version number.

and what Alan said.



Re: [gentoo-user] FYI: Rules for distro-friendly packages

2010-06-25 Thread Alan McKinnon
On Friday 25 June 2010 23:57:54 Volker Armin Hemmann wrote:
 On Freitag 25 Juni 2010, Enrico Weigelt wrote:
  Hi folks,
  
  
  I'm currently collecting a set of rules which upstream developers
  should follow to make distro maintainer's life easier.
  
  Comments welcomed :)
  
  
  cu
 
 no bundled libs.
 
 when you change the tarball fucking change the version number.

I forgot that one. Sun are INFAMOUS for that with the jdk..

 and what Alan said.

Some more:

Don't depend on some arb version number of libs. Nothing worse than being 
forced to use some lib 4 versions behind current when current actually works 
just fine

Test your code under realistic conditions. Unit tests exist for a reason, read 
'em

Read flameeyes's blog. You might not agree with everything he says, but 
consider it all carefully as a technical position. He makes good points.

Don't try and re-invent the wheel with sucky roll-your-own build systems. 
auto* sucks, but by and large they suck less than anything you can come up 
with considering your more limited resources.

No hardcoded locations. If I want to install to /opt/csw/package/, then I 
should be able to do it, it makes zero difference to upstream if I do

The entire package under the same license if possible. This doesn't always 
work out - a GPL package may include someone else's BSD code who is not 
willing to re-license it. So be it. But please do make an effort to get 
everything under the same license, it makes decisions so much easier for your 
users to make.

Maintain the README, NEWS, INSTALL, ChangeLog, etc. We users actually do read 
them, and up to date metadata gives us a warm fuzzy where we feel good about 
your code

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w

2010-06-25 Thread Dale

rocwhite168 wrote:

Bill Longmanbill.longmanat  gmail.com  writes:

   

Yikes. Sorry, I didn't look back through the thread.

Did you notice that you have an extra zero in your CONFIG_PHYSICAL:

CONFIG_PHYSICAL_START=0x100
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100

The default is 0x10 for x86.

 

Thanks for your suggestion! I tried and it seems the previous
problem disappeared but it throws out another  error:

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device sda5 or unknown-block(2,0)
Please append ac correct root= boot option; here are the
available partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(2,0)
Pid: 1, comm: swapper Not tainted 2.6.31-gentoo-r10 #2

I searched the Internet for a while, but still can't find any solutions.
The root partition is definitely sda5, as also specified in the fstab file.
   


Do you have SATA drives or IDE?  If you have IDE, try changing your 
fstab and grub line from sda5 to hda5.  That error is caused by that 
pretty much every time.  Keep in mind, it doesn't matter what the drive 
reports itself as when booted off the CD, it only matters how the kernel 
YOU built sees it.  It can be set up to see it either way.  I have IDE 
and mine still sees it as hda, hdb etc except for my SATA drive that is 
hooked up to a card.  That one is sda.


If you have SATA drives, I'm back to clueless but thinking on it.

Dale

:-)  :-)