[gentoo-user] Perl problem

2007-11-19 Thread Andreas Vinsander
Hi!

It seems like perl-5.8.8-r3 introduced a new place
(/usr/lib/vendor_perl) for perl modules, but the perl-cleaner utility
didn't catch that properly. Now all perl modules/utilities (like genlop)
are broken for me.

What is the easiest way out? Trying to find out which perl modules are
installed and re-install them all? Has anybody else seen the same problem?

/Andreas
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Perl problem

2007-11-19 Thread Andreas Vinsander
Andreas Vinsander wrote:
 Hi!
 
 It seems like perl-5.8.8-r3 introduced a new place
 (/usr/lib/vendor_perl) for perl modules, but the perl-cleaner utility
 didn't catch that properly. Now all perl modules/utilities (like genlop)
 are broken for me.
 
 What is the easiest way out? Trying to find out which perl modules are
 installed and re-install them all? 

Something like this:

emerge -av1 $(equery --nocolor list -f 'dev-perl/.*' |tail --lines=+2 |
sed 's;dev-perl;=dev-perl;g')

was what I had in mind.

/Andreas
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Perl problem

2007-11-19 Thread Rumen Yotov
On (19/11/07 09:00) Andreas Vinsander wrote:
 Hi!
 
 It seems like perl-5.8.8-r3 introduced a new place
 (/usr/lib/vendor_perl) for perl modules, but the perl-cleaner utility
 didn't catch that properly. Now all perl modules/utilities (like genlop)
 are broken for me.
 
 What is the easiest way out? Trying to find out which perl modules are
 installed and re-install them all? Has anybody else seen the same problem?
 
 /Andreas
 -- 
 [EMAIL PROTECTED] mailing list
 
Hi,

Yes. you're not alone :-)
Tried to disable -ithreads for libperlperl but thing only got more
broken. Then 'perl-cleaner reallyall' - errors everywhere.
Perl even couldn't find it's Config.pm  @INC.
Reverted to 'ithreads', now at least it partly works.
What's the result of (1) $perl -V  (2) $perl -e 'print join \n, @INC' ?
Mine is (2):
/etc/perl
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/5.8.8/i686-linux-thread-multi
/usr/lib/perl5/5.8.8
/usr/local/lib/site_perl
...cut...
PS: /etc/perl - no such dir here
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Perl problem

2007-11-19 Thread Dirk Heinrichs
Am Montag, 19. November 2007 schrieb ext Andreas Vinsander:

 It seems like perl-5.8.8-r3 introduced a new place
 (/usr/lib/vendor_perl) for perl modules

Hmm, I don't have this directory on my system with 5.8.8-r3 installed and I 
don't see any traces of it in perl -V output.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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


Re: [gentoo-user] Perl problem

2007-11-19 Thread Peter Alfredsen
On Monday 19 November 2007, Andreas Vinsander wrote:
 Hi!

 It seems like perl-5.8.8-r3 introduced a new place
 (/usr/lib/vendor_perl) for perl modules, but the perl-cleaner utility
 didn't catch that properly. Now all perl modules/utilities (like genlop)
 are broken for me.

 What is the easiest way out? Trying to find out which perl modules are
 installed and re-install them all? Has anybody else seen the same problem?

Please re-emerge perl. *Somebody* hrm played with a stable ebuild without 
committing a revision bump (which would have gone to unstable first).
emerge --syncemerge -1 dev-lang/perl
should fix this.
See this bug:
https://bugs.gentoo.org/199518
for more information.
-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Perl problem

2007-11-19 Thread Andreas Vinsander
Peter Alfredsen wrote:
 Please re-emerge perl. *Somebody* hrm played with a stable ebuild without 
 committing a revision bump (which would have gone to unstable first).
 emerge --syncemerge -1 dev-lang/perl
 should fix this.
 See this bug:
 https://bugs.gentoo.org/199518
 for more information.

Thanks a lot! I searched b.g.o before posting to the list but didn't
find that bug myself.

/Andreas
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] free -m under x86_64

2007-11-19 Thread Stefan G. Weichinger
Bryan Whitehead schrieb:
 Can you just run uname -a and cut/paste that to an email and send to
 us? I think you are still in 32bit land.

# uname -a
Linux hiro 2.6.22-gentoo-r9 #4 SMP PREEMPT Sat Nov 17 02:42:03 CET 2007
x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

Stefan
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] free -m under x86_64

2007-11-19 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:
 Bryan Whitehead schrieb:
 Can you just run uname -a and cut/paste that to an email and send to
 us? I think you are still in 32bit land.
 
 # uname -a
 Linux hiro 2.6.22-gentoo-r9 #4 SMP PREEMPT Sat Nov 17 02:42:03 CET 2007
 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

And additionally:

# free
 total   used   free sharedbuffers cached
Mem:   398210410446602937444  0  21200 548428
-/+ buffers/cache: 4750323507072
Swap:  1052216  01052216

Looks OK to me already.

Stefan
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Building all packages except gcc

2007-11-19 Thread Neil Bothwick
On Mon, 19 Nov 2007 01:19:06 +0200, ~/Timur Aydin wrote:

 How would I go about rebuilding all installed packages, except gcc? I
 suppose I could do emerge --emptytree world, but that would also merge
 gcc, which I don't want, because I want to be sure that the whole system
 is rebuilt with the same compiler.

I don't see why this is an issue in the first place. Assuming you have
just rebuilt gcc, to make sure it is as up to date as possible, emerge -e
world will only rebuild an identical copy. Even when you have done this,
you would have to repeat the process for every minor gcc revision bump.

But if you want to do it, and build the packages in the correct order,
the best option is to simply remove gcc from the list that emerge -e
world produces, like this

emerge -oneshot $(emerge -pe world | grep -v 'sys-devel/gcc-[34]' | awk 
'/^\[ebuild/ {print $4}' | sed 's/^/=/')


-- 
Neil Bothwick

Anything worth fighting for is worth fighting dirty for.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: 7. Configuring the Kernel

2007-11-19 Thread Neil Bothwick
On Sat, 17 Nov 2007 23:02:06 + (UTC), Thufir wrote:

 Booting 'gentoo Linux'
 
 root (hd1,0)
 Filesystem type is ext2fs, partition type 0x83
 kernel /kernel-has-alsa root=/dev/hdb3
 
 Error 15: File not found
 Press any key to continue...
 
 The significance, to my mind, is that in the line which specifies the 
 kernel, there's no mention of *where* it's looking.

Of course not, because you've already specified that on the previ0us line.

If you get a file not found error, drop into the GRUB shell and run
find /kernel-has-alsa.


-- 
Neil Bothwick

Voting Democrat or Republican is like choosing a cabin in the Titanic.


signature.asc
Description: PGP signature


[gentoo-user] Is my hard drive sick?

2007-11-19 Thread Dale
Hi,

I noticed this in my log and wondered what others may think.

Oct 21 20:26:32 smoker smartd[5381]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 252 to 251
Oct 21 22:26:32 smoker smartd[5381]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 251 to 250
snip
Nov 19 02:51:51 smoker smartd[1050]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 246 to 247
Nov 19 03:21:50 smoker smartd[1050]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 247 to 248
Nov 19 03:21:51 smoker smartd[1050]: Device: /dev/hdd, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 252 to 251
Nov 19 03:51:50 smoker smartd[1050]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 248 to 250
Nov 19 04:51:50 smoker smartd[1050]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 250 to 249
Nov 19 05:21:50 smoker smartd[1050]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 249 to 251
Nov 19 05:51:50 smoker smartd[1050]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 251 to 252

Here is a little more info:

[EMAIL PROTECTED] / # smartctl -A /dev/hda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE 
UPDATED  WHEN_FAILED RAW_VALUE
  3 Spin_Up_Time0x0027   224   224   063Pre-fail 
Always   -   10931
  4 Start_Stop_Count0x0032   253   253   000Old_age  
Always   -   191
  5 Reallocated_Sector_Ct   0x0033   253   253   063Pre-fail 
Always   -   0
  6 Read_Channel_Margin 0x0001   253   253   100Pre-fail 
Offline  -   0
  7 Seek_Error_Rate 0x000a   253   252   000Old_age  
Always   -   0
  8 Seek_Time_Performance   0x0027   252   239   187Pre-fail 
Always   -   41049
  9 Power_On_Minutes0x0032   181   181   000Old_age  
Always   -   101h+59m
 10 Spin_Retry_Count0x002b   253   252   157Pre-fail 
Always   -   0
 11 Calibration_Retry_Count 0x002b   253   252   223Pre-fail 
Always   -   0
 12 Power_Cycle_Count   0x0032   253   253   000Old_age  
Always   -   212
192 Power-Off_Retract_Count 0x0032   253   253   000Old_age  
Always   -   0
193 Load_Cycle_Count0x0032   253   253   000Old_age  
Always   -   0
194 Temperature_Celsius 0x0032   253   253   000Old_age  
Always   -   35
195 Hardware_ECC_Recovered  0x000a   253   252   000Old_age  
Always   -   5031
196 Reallocated_Event_Count 0x0008   253   253   000Old_age  
Offline  -   0
197 Current_Pending_Sector  0x0008   253   253   000Old_age  
Offline  -   0
198 Offline_Uncorrectable   0x0008   253   253   000Old_age  
Offline  -   0
199 UDMA_CRC_Error_Count0x0008   199   199   000Old_age  
Offline  -   0
200 Multi_Zone_Error_Rate   0x000a   253   252   000Old_age  
Always   -   0
201 Soft_Read_Error_Rate0x000a   253   251   000Old_age  
Always   -   42
202 TA_Increase_Count   0x000a   253   252   000Old_age  
Always   -   0
203 Run_Out_Cancel  0x000b   253   252   180Pre-fail 
Always   -   2
204 Shock_Count_Write_Opern 0x000a   253   252   000Old_age  
Always   -   0
205 Shock_Rate_Write_Opern  0x000a   253   252   000Old_age  
Always   -   0
207 Spin_High_Current   0x002a   253   252   000Old_age  
Always   -   0
208 Spin_Buzz   0x002a   253   252   000Old_age  
Always   -   0
209 Offline_Seek_Performnce 0x0024   196   190   000Old_age  
Offline  -   0
 99 Unknown_Attribute   0x0004   253   253   000Old_age  
Offline  -   0
100 Unknown_Attribute   0x0004   253   253   000Old_age  
Offline  -   0
101 Unknown_Attribute   0x0004   253   253   000Old_age  
Offline  -   0

[EMAIL PROTECTED] / #

Do I need to be checking pricewatch and Newegg for a new hard drive?  If
you need more info just let me know.  This thing runs 24/7 since I run
folding.

Thanks in advance for the advice.

Dale

:-)  :-) 


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] OT: Literature on Python

2007-11-19 Thread Florian Philipp
Hi list!

I need a recommendation for a good book to learn Python for people
experienced in C++ but not Bash, Java or CMD/Powershell.

It shouldn't focus on Linux all too much. 

Thanks in advance!

Florian Philipp


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


Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-19 Thread Dan Farrell
On Sun, 18 Nov 2007 15:28:34 -0500
Jeff Cranmer [EMAIL PROTECTED] wrote:

 I did not.  What is the procedure for doing this, and what exactly
 does it accomplish?
 
 Thanks

# cp /wherever/old/.config /usr/src/linux/.config
# cd /usr/src/linux
# make oldconfig

this prompts only for new or changed config settings that were not
in the last config.  Safer alternative to just copying over the config.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] /bin/sh - dash?

2007-11-19 Thread Vaeth
On Sun, 18 Nov 2007, Sean wrote:

 I'd really like to replace the /bin/sh link to point to a smaller shell,
 such as ash or dash instead of the bash default, but that apparently makes
 functions.sh _very_ unhappy.

Use baselayout-2. I use /bin/sh - dash with baselayout-2 and have no
problems with the following exceptions:

1. Some /etc/init.d scripts of certain packages need patches (I already
   mailed several bugs with patches, but some are ignored; e.g. udftools
   still has no working init-file despite new releases and the open bug)
   So you have to be prepared to continue patching for many releases
   of some packages.
   Fortunately, not too many packages are involved (but on the other
   hand, I do not use too many packages with daemons, so maybe there
   are many I don't know about)

2. man displays rubbish at the end of the page. As a workaround,
   I export MANPL=65535, but one should perhaps file a bug upstream.
   However, I cannot name the cause (but did not look very long for it
   either).

3. There were some portage-related tools (but I forgot which one)
   which displayed textual escape sequences instead of colors
   (probably, because echo -e is not POSIX). However, this is
   only a cosmetical issue.

Martin
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Billy Holmes

Quoting Dale [EMAIL PROTECTED]:


I noticed this in my log and wondered what others may think.
Oct 21 20:26:32 smoker smartd[5381]: Device: /dev/hda, SMART Prefailure
Attribute: 8 Seek_Time_Performance changed from 252 to 251


I had a harddrive on a server exhibit this behavior for about a year  
until it finally passed away (was RAID1). During that time, I was able  
to install a spare. I was curious as to how long it would take till  
something happened. It at times would make strange noises.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Hemmann, Volker Armin
On Montag, 19. November 2007, Dale wrote:

AFAIK Pre-fail is not a problem. If the harddisk is close to failing you'll 
get something this in your logs:

Nov 19 15:25:05 [smartd] Device: /dev/hda, FAILED SMART self-check. BACK UP 
DATA NOW!_
Nov 19 15:25:05 [smartd] Device: /dev/hda, 785 Currently unreadable (pending) 
sectors_
Nov 19 15:25:05 [smartd] Device: /dev/hda, 785 Offline uncorrectable sectors_

and something like that with smartctl -a

197 Current_Pending_Sector  0x0033   001   001   010Pre-fail  Always   
FAILING_NOW 785
198 Offline_Uncorrectable   0x0031   001   001   010Pre-fail  Offline  
FAILING_NOW 785

btw, the harddisk is now 'failing' for almost two years. Playing around with 
suspend to disk killed the sectors
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Dale
Billy Holmes wrote:
 Quoting Dale [EMAIL PROTECTED]:

 I noticed this in my log and wondered what others may think.
 Oct 21 20:26:32 smoker smartd[5381]: Device: /dev/hda, SMART Prefailure
 Attribute: 8 Seek_Time_Performance changed from 252 to 251

 I had a harddrive on a server exhibit this behavior for about a year
 until it finally passed away (was RAID1). During that time, I was able
 to install a spare. I was curious as to how long it would take till
 something happened. It at times would make strange noises.


I was looking around on Newegg for a new hard drive.  I found a 250GB
that should work. 

Mine runs quiet as a mouse so far.  Of course, I have seen drives fail
without a peep too.

Thanks

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Dale
Hemmann, Volker Armin wrote:
 On Montag, 19. November 2007, Dale wrote:

 AFAIK Pre-fail is not a problem. If the harddisk is close to failing you'll 
 get something this in your logs:

 Nov 19 15:25:05 [smartd] Device: /dev/hda, FAILED SMART self-check. BACK UP 
 DATA NOW!_
 Nov 19 15:25:05 [smartd] Device: /dev/hda, 785 Currently unreadable (pending) 
 sectors_
 Nov 19 15:25:05 [smartd] Device: /dev/hda, 785 Offline uncorrectable sectors_

 and something like that with smartctl -a

 197 Current_Pending_Sector  0x0033   001   001   010Pre-fail  Always   
 FAILING_NOW 785
 198 Offline_Uncorrectable   0x0031   001   001   010Pre-fail  Offline  
 FAILING_NOW 785

 btw, the harddisk is now 'failing' for almost two years. Playing around with 
 suspend to disk killed the sectors
   

I found a drive to replace this one.  I'll get it installed in a month
or so.  I'll put useless stuff on this old one.

Thanks

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pygtk blocking pygobject

2007-11-19 Thread Grant
  app-office/gnumeric-1.6.3 (python? =dev-python/pygtk-2)
  gnome-base/gnome-menus-2.18.3-r1 (python? dev-python/pygtk)
  gnome-extra/libgsf-1.14.3 (python? =dev-python/pygtk-2.8)
  media-gfx/gimp-2.2.17 (python? =dev-python/pygtk-2)
  x11-libs/vte-0.16.8 (python? =dev-python/pygtk-2.4)
  xfce-extra/exo-0.3.2 (python? dev-python/pygtk)

 Perhaps you can mask pygtk-2.9 and see what's trying to pull it in.
 You could also post the exact command you're typing and error message to
 give us a better idea of what's going on.

Yeah, I had:

=dev-python/pygtk-2.9

in package.mask for some unknown reason.  Sorry to bother everyone.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Literature on Python

2007-11-19 Thread Albert Hopkins

On Mon, 2007-11-19 at 15:01 +0100, Florian Philipp wrote:
 Hi list!
 
 I need a recommendation for a good book to learn Python for people
 experienced in C++ but not Bash, Java or CMD/Powershell.
 
 It shouldn't focus on Linux all too much. 

Well, the usual answers are:

python.org (official tutorial)
_Learning Python_ (the O'Reilley book)
_Programming Python_ (the O'Reilly book, how I learned Python)
comp.lang.python (great newsgroup, excellent SNR)


But Bash/Powershell shouldn't be necessary to learn Python.  Bash has
little in common with Python.  Powershell can be thought of as a broken
Python/bash/Perl/whatever_else_they_could_think_of_to_throw_in.  Python
can be thought of as a fixed Java ;-)

-a

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pygtk blocking pygobject

2007-11-19 Thread Albert Hopkins


 
 =dev-python/pygtk-2.9
 
 in package.mask for some unknown reason.  Sorry to bother everyone.

Ahh, I've had that happen... though I usually insert a timestamp/reason
comment so I know what I did it.

-a

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Literature on Python

2007-11-19 Thread Etaoin Shrdlu
On Monday 19 November 2007, Albert Hopkins wrote:

 On Mon, 2007-11-19 at 15:01 +0100, Florian Philipp wrote:
  Hi list!
 
  I need a recommendation for a good book to learn Python for people
  experienced in C++ but not Bash, Java or CMD/Powershell.
 
  It shouldn't focus on Linux all too much.

 Well, the usual answers are:

   python.org (official tutorial)
   _Learning Python_ (the O'Reilley book)
   _Programming Python_ (the O'Reilly book, how I learned Python)
   comp.lang.python (great newsgroup, excellent SNR)

Also a good and free book is imho dive into python:

http://www.diveintopython.org/
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Dan Farrell
On Mon, 19 Nov 2007 08:46:52 -0600
Dale [EMAIL PROTECTED] wrote:

 I was looking around on Newegg for a new hard drive.  I found a 250GB
 that should work. 

You might consider getting a Seagate ES.  Enterprise level seagate
drives, although they cost maybe $30 USD more, are spec.'d to spin
continuously for 5 years.  A good choice if you're planning to have the
host around for a while.  I am very happy with their performance.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Literature on Python

2007-11-19 Thread ew

check out http://diveintopython.org/
you can read the book online and then think about buying it for having 
some paper in your hands :)





Albert Hopkins wrote:

On Mon, 2007-11-19 at 15:01 +0100, Florian Philipp wrote:
  

Hi list!

I need a recommendation for a good book to learn Python for people
experienced in C++ but not Bash, Java or CMD/Powershell.

It shouldn't focus on Linux all too much. 



Well, the usual answers are:

python.org (official tutorial)
_Learning Python_ (the O'Reilley book)
_Programming Python_ (the O'Reilly book, how I learned Python)
comp.lang.python (great newsgroup, excellent SNR)


But Bash/Powershell shouldn't be necessary to learn Python.  Bash has
little in common with Python.  Powershell can be thought of as a broken
Python/bash/Perl/whatever_else_they_could_think_of_to_throw_in.  Python
can be thought of as a fixed Java ;-)

-a

  


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Building all packages except gcc

2007-11-19 Thread Bo Ørsted Andresen
On Monday 19 November 2007 16:35:17 Dan Farrell wrote:
  How would I go about rebuilding all installed packages, except gcc? I
  suppose I could do emerge --emptytree world, but that would also
  merge gcc, which I don't want, because I want to be sure that the
  whole system is rebuilt with the same compiler.
 
  Any help is appreciated...

 Maybe I missed something, but I believe the easy (and most correct)
 answere would be /etc/portage/package.mask.  Mask out package versions
 greater than your current gcc version, and portage will refuse to
 update it (or proceed with any updates that depend on the newer
 version, so don't forget about having edited the file!).

package.mask is useless when you use --emptytree.

-- 
Bo Andresen


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


[gentoo-user] memtest86+ taking too long

2007-11-19 Thread de Almeida, Valmor F.

Hello,

After looking at the /var/log/messages file, I saw an entry which seemed
to indicate a memory address problem. I decided to run memtest86+.
However it is taking too long. So far 17 hours and still going. The
Pass field reads 25%; I hope this is an indication of how much of the
total has been done. The Test field is frequently updated so it seems
memtest is running. The total memory is 10GB, the chipset: Intel E7505
ECC. 

Is this execution time expected?

Thanks for any comments,

--
Valmor de Almeida




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] memtest86+ taking too long

2007-11-19 Thread Mark Shields
On Nov 19, 2007 12:03 PM, de Almeida, Valmor F. [EMAIL PROTECTED] wrote:


 Hello,

 After looking at the /var/log/messages file, I saw an entry which seemed
 to indicate a memory address problem. I decided to run memtest86+.
 However it is taking too long. So far 17 hours and still going. The
 Pass field reads 25%; I hope this is an indication of how much of the
 total has been done. The Test field is frequently updated so it seems
 memtest is running. The total memory is 10GB, the chipset: Intel E7505
 ECC.

 Is this execution time expected?

 Thanks for any comments,

 --
 Valmor de Almeida




 --
 [EMAIL PROTECTED] mailing list



For 10 gigs?  probably.
-- 
- Mark Shields


RE: [gentoo-user] memtest86+ taking too long

2007-11-19 Thread de Almeida, Valmor F.
 
 From: Mark Shields [mailto:[EMAIL PROTECTED] 

On Nov 19, 2007 12:03 PM, de Almeida, Valmor F. [EMAIL PROTECTED]  
wrote:

Is this execution time expected?

Thanks for any comments,

--
Valmor de Almeida

 For 10 gigs?  probably.

Wow. In fact I don't have a clue when it is going to end. There are 2 fields 
with varying percentage values; but they get cleared from time to time. Another 
field is called Test and it was #3 (I think), and now it is at #4. So far it 
has taken 20:35h. On the upside, no errors detected.

--
Valmor de Almeida


 
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] free -m under x86_64

2007-11-19 Thread Bryan Whitehead
Looks fine. Looks like you see nearly all of the 4GB of ram (3982104).
You probably have a lot of memory reserved in BIOS shadows or other
hardware (like video card). This looks perfectly normal.

If you have an onboard video card, a chunk of your memory is probably
being used for that. In the BIOS you can usually set how much memory
should be reserved for your video card. On board sound card can do the
same.

On Nov 19, 2007 2:06 AM, Stefan G. Weichinger [EMAIL PROTECTED] wrote:
 Stefan G. Weichinger schrieb:
  Bryan Whitehead schrieb:
  Can you just run uname -a and cut/paste that to an email and send to
  us? I think you are still in 32bit land.
 
  # uname -a
  Linux hiro 2.6.22-gentoo-r9 #4 SMP PREEMPT Sat Nov 17 02:42:03 CET 2007
  x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

 And additionally:

 # free
  total   used   free sharedbuffers cached
 Mem:   398210410446602937444  0  21200 548428
 -/+ buffers/cache: 4750323507072
 Swap:  1052216  01052216

 Looks OK to me already.


 Stefan
 --
 [EMAIL PROTECTED] mailing list


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] memtest86+ taking too long

2007-11-19 Thread Bryan Whitehead
memtest86 will keep retesting your memory over and over. Look at the
Pass and Errors column. If Errors is 0 and Pass is more than 1,
your memory is fine. If Pass is 0 and Errors is 0, then it is still on
the first run. It shouldn't take this long. In that case make sure
you have the latest version.

Example:
http://www.memtest.org/pics/i875-big.gif

On Nov 19, 2007 12:47 PM, de Almeida, Valmor F. [EMAIL PROTECTED] wrote:
 Wow. In fact I don't have a clue when it is going to end. There are 2 fields 
 with varying percentage values; but they get cleared from time to time. 
 Another field is called Test and it was #3 (I think), and now it is at #4. 
 So far it has taken 20:35h. On the upside, no errors detected.

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] memtest86+ taking too long

2007-11-19 Thread de Almeida, Valmor F.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Bryan
 
 memtest86 will keep retesting your memory over and over. Look at the
 Pass and Errors column. If Errors is 0 and Pass is more than 1,
 your memory is fine. If Pass is 0 and Errors is 0, then it is still on
 the first run. It shouldn't take this long. In that case make sure
 you have the latest version.

Excellent. I have the latest version 1.70, and the Pass column is at 4
and no errors.

Thanks,

--
Valmor

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] OT: Literature on Python

2007-11-19 Thread de Almeida, Valmor F.
 Albert Hopkins wrote:
  On Mon, 2007-11-19 at 15:01 +0100, Florian Philipp wrote:
 
  Hi list!
 
  I need a recommendation for a good book to learn Python for people
  experienced in C++ but not Bash, Java or CMD/Powershell.
 
  It shouldn't focus on Linux all too much.
 
 
  Well, the usual answers are:
 
  python.org (official tutorial)
  _Learning Python_ (the O'Reilley book)
  _Programming Python_ (the O'Reilly book, how I learned Python)
  comp.lang.python (great newsgroup, excellent SNR)
 

I read both above-mentioned books and they are worth owning. I would add
to the list, the python cookbook from O'Reilly.

--
Valmor de Almeida
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Failed to allocate mem

2007-11-19 Thread de Almeida, Valmor F.

Hello,

This is showing up on my /var/log/messages file. I've done a memtest and
the memory seems fine. I wonder what does this mean. Maybe it is not
even related to the physical memory.

PCI: Failed to allocate mem resource #6:[EMAIL PROTECTED] for :01:00.0

The machine and OS seem fine but I still worry about this message. Here
is some info from lspci

00:00.0 Host bridge: Intel Corporation E7505 Memory Controller Hub (rev
03)
00:00.1 Class ff00: Intel Corporation E7505/E7205 Series RAS Controller
(rev 03)
00:01.0 PCI bridge: Intel Corporation E7505/E7205 PCI-to-AGP Bridge (rev
03)
00:02.0 PCI bridge: Intel Corporation E7505 Hub Interface B PCI-to-PCI
Bridge (rev 03)

Don't know if this is of any help. I am like a goat looking at a watch.

Thanks for any inputs.

--
Valmor
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] memtest86+ taking too long

2007-11-19 Thread Frank Gruellich
* de Almeida, Valmor F. [EMAIL PROTECTED] 19. Nov 07:
  From: Mark Shields [mailto:[EMAIL PROTECTED] 
   On Nov 19, 2007 12:03 PM, de Almeida, Valmor F. [EMAIL PROTECTED]  
 wrote:
 
   Is this execution time expected?

Yes, I can confirm that.  In addition you should run it more than one
time...

 In fact I don't have a clue when it is going to end.

It will never end.  If it finished all tests it will start over again.

 There are 2 fields with varying percentage values; but they get
 cleared from time to time. Another field is called Test and it was
 #3 (I think), and now it is at #4. So far it has taken 20:35h. On the
 upside, no errors detected.

In the table below you have a field Pass, probably 0 right now.  This
will increment after the first turn.  In upper area you have another
Pass and a progress bar right of it.  That's the progress of the
current pass.  One pass involves several tests (configurable by pressing
c).  (Disclaimer: everything from my mind.)

To be sure make at least a second run, because some memory faults will
only manifest after hardware is heated.  The more passes the better.
Last words: if memtest86+ doesn't find any errors, even not after days,
you still can't be totally sure that your memory is okay.  But if it
finds a damaged address there is for sure a problem with hardware.
Second last words: if it finds a problem there can be other broken parts
beside memory.  Basically everything involved on the path from memory to
CPU: memory, Northbridge, memory controller, CPU...

HTH, kind regards,
 Frank.
-- 
Sigmentation fault
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

Hi there,

Today, I applied mkswap on root partition by accident ( I thought that
was swap, but it is root). And since this is the only system on my
laptop, I even don't dare to reboot my computer after that. Does it
really matter? Or what should I do to recover?

Thank you all!

---
Teng
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Albert Hopkins

On Mon, 2007-11-19 at 16:45 -0600, Teng Wang wrote:
 Hi there,
 
 Today, I applied mkswap on root partition by accident ( I thought that
 was swap, but it is root). And since this is the only system on my
 laptop, I even don't dare to reboot my computer after that. Does it
 really matter? Or what should I do to recover?
 

Didn't mkswap tell you the device is in use... Actually it doesn't :( I
just did what you did in a VM and find / returns just / ... so I think
you're screwed... but you do have backups right?



-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] The generated cache was invalid...

2007-11-19 Thread Iain Buchanan
Hi all,

I've been seeing this error during every emerge for a while now, and I
don't know where it comes from, or what it means:

 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating icons cache ...
The generated cache was invalid.   [ !! ]
 * Updating scrollkeeper database ...
 * GNU info directory index is up-to-date.
 * IMPORTANT: 2 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

google was no real help, and b.g.o doesn't have anything either.  I
haven't noticed any adverse effects...

any ideas?

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

In order to understand recursion, you must first understand recursion.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

No, I don't have a backup. And I still didn't turn off my laptop. The
problem is how I can recover my system?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Packages not in portage

2007-11-19 Thread pepone.onrez
Hello all

There are same interesting packages that i can't found in gentoo portage. If
any body knows about a non oficial ebuild for any of then i interesting in
it.

AppWeb embeded web server
http://www.appwebserver.org.

Vmime c++ mail library
http://www.vmime.org/index.shtml

CTemplate is a simple but powerful template language for C++
http://code.google.com/p/google-ctemplate/


Thanks


Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Neil Bothwick
On Mon, 19 Nov 2007 08:48:36 -0600, Dale wrote:

 I found a drive to replace this one.  I'll get it installed in a month
 or so.  I'll put useless stuff on this old one.

Like Vista? ;-)


-- 
Neil Bothwick

I am Barry Norman of the Borg - you will be assimilated - and why not?


signature.asc
Description: PGP signature


Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Albert Hopkins

On Mon, 2007-11-19 at 17:36 -0600, Teng Wang wrote:
 No, I don't have a backup. 
 And I still didn't turn off my laptop. The
 problem is how I can recover my system?

The first solution I was thinking of would be to back your system up
before you reboot, and then re-create the filesystem and restore but, at
least for me, mkswap pretty much destroys the filesystem instantly.

The second solution would have been to restore from your most recent
backup but, as you've said, you don't have one.

Hopefully this incident illustrates the importance of having a backup.
Beyond that, I don't see much hope for you (beyond re-installing).
Likely mkswap has destroyed your filesystem metadata (and data) and
There's probably no sane way of recovering from it other than a restore.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Packages not in portage

2007-11-19 Thread Neil Bothwick
On Tue, 20 Nov 2007 00:41:14 +0100, pepone.onrez wrote:

 There are same interesting packages that i can't found in gentoo
 portage. If any body knows about a non oficial ebuild for any of then i
 interesting in it.

 Vmime c++ mail library
 http://www.vmime.org/index.shtml

% eix vmime
* dev-cpp/libvmime
 Available versions:  ~*0.8.1[1]
 Homepage:http://www.vmime.org/
 Description: A powerful C++ class library for working with
MIME messages and Internet messaging services like IMAP, POP or SMTP.

[1] (layman/sunrise)

So it's in the sunrise overlay. Try searching b.g.o and f.g.o for the
others.


-- 
Neil Bothwick

Few women admit their age. Few men act theirs.


signature.asc
Description: PGP signature


Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

I still wonder that after mkswap the root partition, I even do
swapon. But this time, it says it is invalid argument. So I think the
data on that disk will not be lost, since it did not serve as the swap
partition. So is it still screwed? 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Hemmann, Volker Armin
On Montag, 19. November 2007, Teng Wang wrote:
 Hi there,

 Today, I applied mkswap on root partition by accident ( I thought that
 was swap, but it is root). And since this is the only system on my
 laptop, I even don't dare to reboot my computer after that. Does it
 really matter? Or what should I do to recover?

 Thank you all!

 ---
 Teng

you could try testdisk.

Or (after backup) this cd:

http://www.sysresccd.org/Main_Page
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

I think it is not hard to do a backup right now. But the problem is I
use separate partition for /home /usr /usr/portage/distfiles /var
/tmp.

So, how can I exclude these directory when I use cp -av? 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Neil Bothwick
On Mon, 19 Nov 2007 18:25:47 -0600, Teng Wang wrote:

 So, how can I exclude these directory when I use cp -av? 

Add -x/--onefilesystem, it's all in TFM.


-- 
Neil Bothwick

Scrotum is a small planet near Uranus. True/False?


signature.asc
Description: PGP signature


Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

Since I don't think there is anything important in the root partition,
I still try to reboot my computer to see what will happen. Very Lucky,
my computer reboot normally. Thank you for all your suggestion.

But I still want to know what on earth mkswap does to the disk. IF it
would rewrite the metadata, I don't think I can use this partition
anymore. It also does not format the disk or even write
anything. Really strange. Since if I want to use one partition/file as
swap, I must run this command. But actually, it writes nothing. (Maybe
this is the reason it gives no warning)

---

Teng Wang
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Alex Schuster
Teng Wang writes:

 Today, I applied mkswap on root partition by accident ( I thought that
 was swap, but it is root). And since this is the only system on my
 laptop, I even don't dare to reboot my computer after that. Does it
 really matter? Or what should I do to recover?

With a litle luck, e2fsck should be able to repair the file system. mkswap 
only initializes the partition, little data should be written to the first 
few blocks. This includes the superblock, but you have backups of it every 
8192 blocks. So try 'e2fsck -b 8193 /dev/hdwhatever', if a simple e2fsck 
failed, and increase to -b 16385 and so on until it works. 

But I'd reboot the machine first and start with a boot CD. Depending on the 
availability of free space, your free time, and importance of the data, you 
probably should backup the partition first, just in case things get messed 
up.

Wonko
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The generated cache was invalid...

2007-11-19 Thread Bo Ørsted Andresen
On Tuesday 20 November 2007 00:40:16 Iain Buchanan wrote:
 I've been seeing this error during every emerge for a while now, and I
 don't know where it comes from, or what it means:

  * Updating desktop mime database ...
  * Updating shared mime info database ...
  * Updating icons cache ...
 The generated cache was invalid.   [ !! ]

This comes from the gnome2-utils eclass. It runs gtk-update-icon-cache -qf on 
the dirs in /usr/share/icons/. Running emerge with --debug should tell you 
which dir it's trying to update when it emits the error message..

-- 
Bo Andresen


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


Fwd: Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-19 Thread Jeff Cranmer
On Monday 19 November 2007 12:35:14 am Billy Holmes wrote:
 Jeff Cranmer wrote:
  Cannot open root device sda3 or unknown block (0,0)
  Please append a correct root= boot option.
  Here are the available partitions

 run make menuconfig in your new kernel dir.

 check to ensure ext3 is compiled in. (not sure why it wouldn't be)

ext3 journalling file system support, ext3 extended attributes and ext3 posix 
access control lists are all compiled into the kernel.

 check to make sure you've got udev or devfs installed properly in both
 kernels (maybe one isn't defined in the kernel, and the old kernel had
 it). I'd really try to ensure you're running udev and not devfs, but
 first things first.

 IF SATA:
 Make sure the proper SATA options are the same for each kernel. There's
 one SATA option that isn't compatible with another SATA option. (it
 could be fixed in newer kernels by now)


From dmesg for the current working kernel, I worked out that the drive which 
it is having trouble finding is a serial ATA drive, running the sata_nv 
driver.

Vendor: ATA   Model: WDC WD2500JS-60N  Rev: 10.0
  Type:   Direct-Access  ANSI SCSI revision: 05

I disabled all the SATA drivers except for the nvidia one, and have made some 
progress.

The kernel now finds the drive, but for some reason puts a little 8MB drive at 
sda, and populates the 'real' 250MB drive at sdb, so the kernel still panics 
(probably due to fstab wanting to see the main drive at sda, not sdb).

I'd like to get a log of this, but dmesg only shows the log of the kernel that 
boots.  Does anyone have any suggestions of how to get at the log for a 
panicking kernel, or have any suggestions on how to fix this.  I suspect the 
I may be able to play with fstab and get the new kernel to boot, but I'm 
loath to do this, as that will most likely break the kernel that is working, 
so if it doesn't simultaneously fix the non-working kernel, I'm toast.

Any suggestions gratefully received.

---
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-19 Thread Jeff Cranmer
On Monday 19 November 2007 11:46:39 pm Billy Holmes wrote:
 Jeff Cranmer wrote:
  The kernel now finds the drive, but for some reason puts a little 8MB
  drive at sda, and populates the 'real' 250MB drive at sdb, so the kernel
  still panics (probably due to fstab wanting to see the main drive at sda,
  not sdb).

 that's very odd that there is a sda drive. Perhaps sda is a pen drive
 that you have installed? a USB drive?

 you can always change your boot options in grub.

 at the grub prompt, hit [e]dit, select the line which has the kernel
 line, move the cursor to the end, and change root=/dev/sda1 to /dev/sdb1

 hit [b]oot

 sit back and smile.

I already tried that - sit back and sulk, I'm afraid :-(
Because fstab still points to /dev/sda, it fails when it tries to map the 
drives.  I could play with fstab, but I'm not ready to break my working OS 
yet.

There are no usb drives connected to the system.  In fact, the only USB device 
attached is the HP PSC750xi printer.

When it fails after re-pointing the grub booter to /dev/sdb, it does at least 
fail so that I can get to a shell as root.  dmesg doesn't work from the 
shell, however.  I wonder if there is a command I can use to query the new 
sda and find out where it is getting it from?

Jeff


---
-- 
[EMAIL PROTECTED] mailing list



Re: Fwd: Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-19 Thread Billy Holmes
Jeff Cranmer wrote:
 The kernel now finds the drive, but for some reason puts a little 8MB drive 
 at 
 sda, and populates the 'real' 250MB drive at sdb, so the kernel still panics 
 (probably due to fstab wanting to see the main drive at sda, not sdb).
   

that's very odd that there is a sda drive. Perhaps sda is a pen drive
that you have installed? a USB drive?

you can always change your boot options in grub.

at the grub prompt, hit [e]dit, select the line which has the kernel
line, move the cursor to the end, and change root=/dev/sda1 to /dev/sdb1

hit [b]oot

sit back and smile.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel 2.6.22-r9 installation problems

2007-11-19 Thread Billy Holmes

Jeff Cranmer wrote:
When it fails after re-pointing the grub booter to /dev/sdb, it does 
at least fail so that I can get to a shell as root.  dmesg doesn't 
work from the shell, however.  I wonder if there is a command I can 
use to query the new sda and find out where it is getting it from?




oh. then you practically have a working system! If you can get to a shell.

You just need to mount /usr to the right place!

see if you can run busybox:

busybox cat /etc/fstab
busybox mount /dev/sdbWHATEVER /usr
busybox ... etc, etc, etc
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-19 Thread Dale
Neil Bothwick wrote:
 On Mon, 19 Nov 2007 08:48:36 -0600, Dale wrote:

   
 I found a drive to replace this one.  I'll get it installed in a month
 or so.  I'll put useless stuff on this old one.
 

 Like Vista? ;-)


   

NO !  There is no windoze allowed in this house.  I have never
bought M$ stuff and windoze is still not good enough to go on a failing
drive, tho it would be fitting since windoze is crap and the drive may
be turning into crap.  LOL

What does Vista look like anyway?  I don't think I have ever even seen
it.  I have heard it sucks with older hardware tho.  One friend of mine
switched back to XP.  No internet and no printer.

H, if I put winders on it, would it make the drive fail faster?  LOL

Dale

:-)  :-) 

Note:  This entire email is not to be taken seriously here.  I took it
as a joke and just had to add to it.  LOL  I don't have windoze tho. 




[gentoo-user] [OT] Grab info off the net

2007-11-19 Thread reader
What are people using and can vouch for that can snag webpages or
parts of web pages to store/save/organize/report on etc etc, as well
as handling clipboard content or the like?  Something to collect
disparate pieces of information with that can organize and present it.

I've used a windows oriented tool called NetSnippets at one time but it
is no longer being developed and I wanted something to work on linux
anyway. 

What do we have that does that?  I know about wget of course, of
course but while it can collect webpages well there is no provision
for organizing it etc.

Hard to figure what to search portage for.  I tried:
  eix -S research

And got a few hits but none were about that I'm looking for.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-19 Thread Thufir
On Mon, 19 Nov 2007 11:18:23 +, Neil Bothwick wrote:


 If you get a file not found error, drop into the GRUB shell and run
 find /kernel-has-alsa.

I did get to a point with GRUB where I edited the line which specifies 
the kernel and used tab-completion to select the kernel I wanted.  (That 
I could do this reinforced to my mind that there wasn't a typo, I didn't 
notice that it was different.)

However, once I'd pressed, IIRC, e to edit, pressed enter to select the 
line, tab completion, enter again I was unsure of the next step :(



-Thufir

-- 
[EMAIL PROTECTED] mailing list