[gentoo-user] Emerge timeout

2010-12-31 Thread Jon Hardcastle
Is it possible to increase the timeout on the downloads?

My proxy server at work scans all incoming files but only does so once
emerge things the file is 99% complete it then timesouts after a bit as the
scan has (presumably) not finished? If it could only hang on in there for a
while longer.

-- 
---
N: Jon Hardcastle
E: j...@ehardcastle.com
---


[gentoo-user] Using lzma for emerge-webrsync

2010-12-30 Thread Jon Hardcastle
Is this possible to happen automatically?

-- 
---
N: Jon Hardcastle
E: j...@ehardcastle.com
---


[gentoo-user] Thrashing a drive to flush out problems..

2010-01-25 Thread Jon Hardcastle
Hi guys can anyone recommend a tool
for thrashing the b*ll*cks of a drive in  way that
isn't destructive to the data?

I was thinking badblocks with -w but it is destructive and
i dont want to do anything that will potentially lower the
integrity of my array? (Even tho it is raid6 :) )

There must be some bonnie esk tool that will read/write
every combination to every block but keep the data safe
after to flush out any sector issues etc.

Cheers.






[gentoo-user] Smart Database

2010-01-19 Thread Jon Hardcastle
Hi guys,

I want to update my gentoo install to use the latest trunk version of the 
smartmontools drive database.

Does anyone have any gentoo orientated guidance here? I have spoken to the 
chaps there and they say to run configure with '--enable-drivedb' and then copy 
over the the current SVN version of drivedb.h to DATADIR/smartmontools

But i wonder where this fits into the wonderful world of gentoo and package 
management/

Cheers.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---






Re: [gentoo-user] Re: Smart Database

2010-01-19 Thread Jon Hardcastle

--- On Tue, 19/1/10, Harry Putnam rea...@newsguy.com wrote:

 From: Harry Putnam rea...@newsguy.com
 Subject: [gentoo-user]  Re: Smart Database
 To: gentoo-user@lists.gentoo.org
 Date: Tuesday, 19 January, 2010, 15:10
 Jon Hardcastle jd_hardcas...@yahoo.com
 writes:
 
  Hi guys,
 
  I want to update my gentoo install to use the latest
 trunk version
  of the smartmontools drive database.
 
  Does anyone have any gentoo orientated guidance here?
 I have spoken
  to the chaps there and they say to run configure with
  '--enable-drivedb' and then copy over the the current
 SVN version of
  drivedb.h to DATADIR/smartmontools
 
  But i wonder where this fits into the wonderful world
 of gentoo and
  package management/
 
 First... is the svn version really different than the
 ~ARCHITECTURE
 version on portage?.. that is version 5.39
 
 You can get that version by putting an tilde followed by
 your machine
 architecture (on the cmd line if you don't want to run as
 development
 version always) otherwise in /etc/make.conf
    for x86 it would look like:
 
    ~x86
 
 Then you can add you configure argument (--enable-drivedb)
 using the
 EXTRA_ECONF flag.  Which will tell gentoo to use that
 flag at
 `./configure' time.
 
 So the emerge command line would be something like this:
 
 ACCEPT_KEYWORDS='~x86' EXTRA_ECONF='--enable-drivedb' \
   emerge -v smartmontools
 
 (all on one line would be best)
 
 Now if you really need to introduce drivedb.h from svn
 repostory then
 you will need to go the overlay route... I
 think.   Someone more
 knowledgable will be able to correct me .. I'm sure.
 
 That process involves installing your own separate portage
 in some
 other directory (/usr/local/portage) and using ebuild
 commands to
 build your own version.
 
 You would need to install `layman' for starters
 
 In that case you could introduce any commands or files you
 like, and
 process them with `ebuild'.
 
 The process is not all that hard, but I better leave an
 explanation of
 how to do it to someone here who is more familiar with it.
 
 I've done it but only rarely... and last time was a while
 ago.
 
 
 

Hi,

Thanks for your input! Wow that is alot more complicated that I had hoped! 

I am already using the masked version of Smartmontools but the 5.39 version 
does not include 1 of the HDD I use and as I have got a whole load more of that 
exact model of drive on the way I would like it to. I have emailed the 
smartmontools maintainers and they added the drive 5 days ago, and hence is in 
the svn version. Hence me wanting to get the latest  version of the drive DB.






[gentoo-user] revdep-rebuild and kde-base/kdelibs:3.5

2010-01-02 Thread Jon Hardcastle
Hi I am trying to run revdep-rebuild and it gets to the emerge stage and i get 
this

!! All ebuilds that could satisfy kde-base/kdelibs:3.5 have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-base/kdelibs-3.5.10-r6 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Samuli Suominen ssuomi...@gentoo.org (31 Dec 2009)
# Doesn't compile anymore with Autoconf = 2.64, wv2 = 0.4.0,
# several open security bugs, ...
#
# Replaced by app-office/koffice-meta-2.1.0
#
# See bugs 274566, 274918, 279027, 279482, 283429, 285018, 294676,
# 287276, 292791, ...
#
# Masked for removal in 30 days
#


does anyone have any advice? I have tried to force the emerge but i dont really 
know what i am doing :-/


---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---






Re: [gentoo-user] revdep-rebuild and kde-base/kdelibs:3.5

2010-01-02 Thread Jon Hardcastle



--- On Sat, 2/1/10, Volker Armin Hemmann volkerar...@googlemail.com wrote:

 From: Volker Armin Hemmann volkerar...@googlemail.com
 Subject: Re: [gentoo-user] revdep-rebuild and kde-base/kdelibs:3.5
 To: gentoo-user@lists.gentoo.org
 Date: Saturday, 2 January, 2010, 12:05
 On Samstag 02 Januar 2010, Jon
 Hardcastle wrote:
  Hi I am trying to run revdep-rebuild and it gets to
 the emerge stage and i
   get this
  
  !! All ebuilds that could satisfy
 kde-base/kdelibs:3.5 have been masked.
  !!! One of the following masked packages is required
 to complete your
   request: - kde-base/kdelibs-3.5.10-r6 (masked
 by: package.mask)
  /usr/portage/profiles/package.mask:
  # Samuli Suominen ssuomi...@gentoo.org
 (31 Dec 2009)
  # Doesn't compile anymore with Autoconf = 2.64,
 wv2 = 0.4.0,
  # several open security bugs, ...
  #
  # Replaced by app-office/koffice-meta-2.1.0
  #
  # See bugs 274566, 274918, 279027, 279482, 283429,
 285018, 294676,
  # 287276, 292791, ...
  #
  # Masked for removal in 30 days
  #
  
  
  does anyone have any advice? I have tried to force the
 emerge but i dont
   really know what i am doing :-/
  
  
  ---
  N: Jon Hardcastle
  E: j...@ehardcastle.com
  'Do not worry about tomorrow, for tomorrow will bring
 worries of its own.'
  
  ***
  Please note, I am phasing out jd_hardcastle AT
 yahoo.com and replacing it
   with jon AT eHardcastle.com ***
  
  ---
  
 
 
 yes, get rid of the app that needs kde3 and move on.
 
 

What is the easiest way to do this? Although i dont agree this would perhaps 
normally be an option, installing kde was a venture that never really worked 
and as the machine is primarily a file server i can do without it...






[gentoo-user] All those helpful post emerge messages...

2009-12-30 Thread Jon Hardcastle
Guys,

I have just done an emerge -eva system and it has 
installed/reinstalled/upgraded ~102 packages. When it finished i noticed some 
of them had some helpful YOU MUST DO THIS steps and i am wondering do they all 
have those or does emerge cleverly put all the messages at the end where they 
can be seen and digested?

Cheers.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---






Re: [gentoo-user] Upgrade or start over..

2009-12-29 Thread Jon Hardcastle

--- On Sun, 27/12/09, Alan McKinnon alan.mckin...@gmail.com wrote:

 From: Alan McKinnon alan.mckin...@gmail.com
 Subject: Re: [gentoo-user] Upgrade or start over..
 To: gentoo-user@lists.gentoo.org
 Date: Sunday, 27 December, 2009, 22:24
 On Sunday 27 December 2009 21:46:23
 Jon Hardcastle wrote:
  Hi all,
  
  I have a gentoo circa 2008 install that i have pretty
 much the bare minimal
   to keep up to date... i now have the problem
 that i need to upgrade mdadm,
   lvm and probably a few other bits and pieces.
 This machine is used almost
   exclusively as a windows file server.
  
  I am getting blocks all over the show and lots of
 applications needs
   reinstalling/upgradining on a emerge world. i
 have also had problems
   getting the kernel to do what it needs to do a i
 installed the minimal
   when i started..
  
  So i am wondering... it is easier to try and upgrade
 it, or as i have 2
   raid 1 drives as the operating system drives and
 the rest of the drives
   are pure data, i can disconnect one and wipe the
 other reinstall from
   fresh as a degraded raid 1 and when i know we
 are good to go, wipe the
   disconnected drive and add to the array to
 resync and go from there?
 
 the mdadm/lvm blocks are easy to fix, just unmerge mdadm
 and merge lvm.
 
 Then upgrade portage to latest *masked* version (it's
 stable and trouble-free 
 despite the classification), and most of the remaining
 blockers should be 
 resolved automatically by portage. Depending on what
 remains, you may or may 
 not decide to proceed with an upgrade as opposed to a
 reinstall.
 
 But it's only one year back, shouldn't give too much
 trouble on a minimalist 
 system. Off the top of my head, I can only really think of
 the monolithic to 
 split ebuild samba split
 
 
 -- 
 alan dot mckinnon at gmail dot com
 
 

I absolutely depend on mdadm/lvm (which i believe require in some way 
devicemapper and udev) and these are the biggest things i am worried about 
changing. Does anyone have any experience here? I am assuming that unmerging 
and remerging should be relatively problem free? If i can get these bad boys 
upto date that is all i really care about...






[gentoo-user] Upgrade or start over..

2009-12-27 Thread Jon Hardcastle
Hi all, 

I have a gentoo circa 2008 install that i have pretty much the bare minimal to 
keep up to date... i now have the problem that i need to upgrade mdadm, lvm and 
probably a few other bits and pieces. This machine is used almost exclusively 
as a windows file server.

I am getting blocks all over the show and lots of applications needs 
reinstalling/upgradining on a emerge world. i have also had problems getting 
the kernel to do what it needs to do a i installed the minimal when i started..

So i am wondering... it is easier to try and upgrade it, or as i have 2 raid 1 
drives as the operating system drives and the rest of the drives are pure data, 
i can disconnect one and wipe the other reinstall from fresh as a degraded raid 
1 and when i know we are good to go, wipe the disconnected drive and add to the 
array to resync and go from there? 


---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---


 



[gentoo-user] Port Multiplier Support

2009-08-25 Thread Jon Hardcastle
I am looking at ways to increase the drive capacity of my machine. It has 4 in 
built sata ports, and currently 2 off the PCI port - which is only sata 150 - 
this has proved a troublesome route. I have the option of a 2 port sata-300 off 
the 1 pci-express I have but I was looking to increase slightly more than that. 
to a total of 8.

I have come across Sata Port Multiplying before and saw the support was abit 
weak. I have come back to it again.

i am lookin at this bad boy.

[Lycom ST-158 SATA II-3Gbps 1-To-5Ports H/W RAID Host Adapter]
http://www.scan.co.uk/Products/Lycom-ST-158-SATA-II-3Gbps-1-To-5Ports-H-W-RAID-Host-Adapter

Can anyone advise if they have any experience in this area? Or indicate some 
level of success failure? (it is £50 so i dont want to buy it unless there is a 
reasonable chance of success!

thank you in advance!

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'
---






Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Jon Hardcastle


--- On Mon, 25/5/09, Stroller strol...@stellar.eclipse.co.uk wrote:

 From: Stroller strol...@stellar.eclipse.co.uk
 Subject: Re: [gentoo-user] ARGH I uninstalled python
 To: gentoo-user@lists.gentoo.org
 Date: Monday, 25 May, 2009, 12:34 AM
 
 On 24 May 2009, at 21:41, Neil Bothwick wrote:
 
  On Sun, 24 May 2009 18:22:05 +0200, Alan McKinnon
 wrote:
  
  Not exactly, buildsyspkg does the same as it
 always did, but @system
  has changed. This cold have happened at any
 time as there was never a
  need for python to be in @system,because it's
 a dependency of
  portage.
  
  That may well be the way it IS, but it certainly
 is not the way it
  SHOULD BE. The only sane way to do this is:
  
  if (pkgmgr=portage)
      python in @system
  else
      python !in system
  end
  
  That's not particularly sane, because it addresses
 only one special case,
  others may arise. IMO the sane approach, as I said
 some posts
  ago, is for buildsyspkg to build packages for
 everything in @system and
  their dependencies. If you can't do emerge -eK
 @system, buildsyspkg
  has failed to do anything useful.
 
 +1
 
 You have saved me replying to Alan's post.
 
 One could write a package manager in Perl. As it stands
 Portage would warn you against uninstalling Perltage, but
 not Perl itself, a hard dependency of that package manager.
 Clearly this should be fixed.
 
 Stroller.
 
 

+ 1

As the guy that started this thread I am testimony to this problem. I now have 
a tainted (albeit only slightly) system as my main server at home!

This whole problem came about because I wanted to install truecrypt (another 
powder keg!) needed a new version of udev that needed x, y and z. I then 
decided it had been all together too long since I did an update world - as i 
was afraid of borking either udev, lvm, md, mdadm which i rely on. NONE OF 
WHICH CAUSED A SINGLE PROBLEM. python-updater however was causing a blockage so 
I uninstalled python hoping to reinstall a clean version and BANG. Several 
emails later and a few days - here we are.

I'd hope that if anyone else comes a cropper by this then at least this conv 
will help them! But I was EXPECTING portage to not let me do something that 
would stop the 'solution' (and that is what it is whether at the portage or the 
gentoo level) working.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jon Hardcastle

--- On Sat, 23/5/09, Jorge Morais please.no.spam.h...@gmail.com wrote:

 From: Jorge Morais please.no.spam.h...@gmail.com
 Subject: Re: [gentoo-user] ARGH I uninstalled python
 To: gentoo-user@lists.gentoo.org
 Date: Saturday, 23 May, 2009, 8:55 AM
  Thank you! Thank you! Thank
 you!
  
  I followed this
  
  http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what
  
  which worked - in the end. couple of caveats tho for
 anyone 'that follows' get python from their site as the ftp
 link in this article is out of date.
  
  http://www.python.org/download/releases/
  
  also I initially tried 3.01 and that didn't work so i
 installed 2.6.2 which worked 'out of the box' i then tested
 with 'emerge' and am now running 'emerge -va python' 
  
  Cheers guys!
  
  Thanks to Dale too!
 
 Glad it worked.
 But, I don't know what will happen when the properly
 emerged python
 overwrites the manually installed Python.
 
 Does anybody know if the manual python install is
 slotted, in the sense
 that it installs files in /usr/lib/python2.6,
 /usr/include/python2.6, etc?
 If it isn't, and Portage installs a slotted Python, the old
 files wouldn't
 be overwritten.
 And even if it is, the differences between the
 differently-configured and
 super-patched new python and the vanilla old python could
 result in
 a different set of file names, so it is possible that the
 old python
 will not be totally overwritten by the portage-emerged
 python.
 
 If I were you, I would at the very least read the log
 (specially its tail)
 of the python emerge (emerge logs normally go to
 /var/log/emerge).
 And you did log the files installed by the manual python
 install,
 didn't you?
 
 And why did you try python 3.01 first? You should try a
 similar vesion to
 what you were previously running. And specifically python
 3.01 is crazy,
 as it is widely known that it is *not* compatible with
 python 2.x software.
 And did you properly uninstall python 3.0.1?
 
 Also, I didn't like the instructions in this blog very
 much.
 Wouldn't it be more appropriate to configure python like
 portage would?
 For example, in my system, where the last python install
 was
 dev-lang/python-2.5.4-r2  USE=ncurses readline ssl
 threads xml -berkdb -build -doc -examples -gdbm -ipv6
 -sqlite -tk -ucs2 -wininst
 
 the configure line was (from the log)
 ./configure --prefix=/usr --host=i686-pc-linux-gnu
 --mandir=/usr/share/man --infodir=/usr/share/info
 --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --with-fpectl --enable-shared
 --disable-ipv6 --infodir=${prefix}/share/info
 --mandir=${prefix}/share/man --with-libc=
 --enable-unicode=ucs4 --with-threads
 --build=i686-pc-linux-gnu
 
 Maybe it would  be nice to install python to 
 /usr/local (I'm not sure),
 but if you are going to install it in /usr (like portage),
 I think you
 might as well use the same configure line portage would.
 And if you wanted to be really clean, you could apply the
 patches that
 portage applies.
 
 And most importantly,
 *was this necessary*?
 Couldn't he have emerged python by invoking
 ebuild
 /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild
 merge
 ?
 This would do everyting correctly.
 And wouldn't it work without Python, since it is written in
 Bash?
 AFAIK, what needs Python is the high level interface to the
 portage
 system, while the low-level interface only needs Bash (but
 I'm
 totally not sure).
 
 And finally, couldn't he have gotten a binary package from
 http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
 ?
 
 

As it happens it didn't work after all. The emerge broke it again and i got an 
error from python.

All of your advise here is fantastic and i urge anyone that follows to do as 
you suggest - but i didn't fully uninstall either python install and i plan to 
just leave them minding their own business (hopefully) as i cant be bothered to 
track all the files down. 

Your final line suggestion to use ebuild worked - although i had to change the 
path. I am running emerge -va python a and it had the same effect as install 
from wget and then emerging it. I get

  File /usr/bin/emerge, line 41
except PermissionDenied, e:
   ^
SyntaxError: invalid syntax

Any clues here?

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jon Hardcastle

--- On Sat, 23/5/09, Jorge Morais please.no.spam.h...@gmail.com wrote:

 From: Jorge Morais please.no.spam.h...@gmail.com
 Subject: Re: [gentoo-user] ARGH I uninstalled python
 To: gentoo-user@lists.gentoo.org
 Date: Saturday, 23 May, 2009, 8:55 AM
  Thank you! Thank you! Thank
 you!
  
  I followed this
  
  http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what
  
  which worked - in the end. couple of caveats tho for
 anyone 'that follows' get python from their site as the ftp
 link in this article is out of date.
  
  http://www.python.org/download/releases/
  
  also I initially tried 3.01 and that didn't work so i
 installed 2.6.2 which worked 'out of the box' i then tested
 with 'emerge' and am now running 'emerge -va python' 
  
  Cheers guys!
  
  Thanks to Dale too!
 
 Glad it worked.
 But, I don't know what will happen when the properly
 emerged python
 overwrites the manually installed Python.
 
 Does anybody know if the manual python install is
 slotted, in the sense
 that it installs files in /usr/lib/python2.6,
 /usr/include/python2.6, etc?
 If it isn't, and Portage installs a slotted Python, the old
 files wouldn't
 be overwritten.
 And even if it is, the differences between the
 differently-configured and
 super-patched new python and the vanilla old python could
 result in
 a different set of file names, so it is possible that the
 old python
 will not be totally overwritten by the portage-emerged
 python.
 
 If I were you, I would at the very least read the log
 (specially its tail)
 of the python emerge (emerge logs normally go to
 /var/log/emerge).
 And you did log the files installed by the manual python
 install,
 didn't you?
 
 And why did you try python 3.01 first? You should try a
 similar vesion to
 what you were previously running. And specifically python
 3.01 is crazy,
 as it is widely known that it is *not* compatible with
 python 2.x software.
 And did you properly uninstall python 3.0.1?
 
 Also, I didn't like the instructions in this blog very
 much.
 Wouldn't it be more appropriate to configure python like
 portage would?
 For example, in my system, where the last python install
 was
 dev-lang/python-2.5.4-r2  USE=ncurses readline ssl
 threads xml -berkdb -build -doc -examples -gdbm -ipv6
 -sqlite -tk -ucs2 -wininst
 
 the configure line was (from the log)
 ./configure --prefix=/usr --host=i686-pc-linux-gnu
 --mandir=/usr/share/man --infodir=/usr/share/info
 --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --with-fpectl --enable-shared
 --disable-ipv6 --infodir=${prefix}/share/info
 --mandir=${prefix}/share/man --with-libc=
 --enable-unicode=ucs4 --with-threads
 --build=i686-pc-linux-gnu
 
 Maybe it would  be nice to install python to 
 /usr/local (I'm not sure),
 but if you are going to install it in /usr (like portage),
 I think you
 might as well use the same configure line portage would.
 And if you wanted to be really clean, you could apply the
 patches that
 portage applies.
 
 And most importantly,
 *was this necessary*?
 Couldn't he have emerged python by invoking
 ebuild
 /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild
 merge
 ?
 This would do everyting correctly.
 And wouldn't it work without Python, since it is written in
 Bash?
 AFAIK, what needs Python is the high level interface to the
 portage
 system, while the low-level interface only needs Bash (but
 I'm
 totally not sure).
 
 And finally, couldn't he have gotten a binary package from
 http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
 ?
 
 

Also that emerge borked ebuild too.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






[gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Jon Hardcastle

I was trying to do a emerge --update ask world and it kept failing on updating 
python-updater and it was tripping over the python install soo i did 
the 'sensible' thing and unemerged python. NOW I REALISE THAT PYTHON IS 
INTEGRAL TO emerge.

Can i fix this

Also, perhaps some more warnings?!? the warning message was the standard one.. 
which i ignored thinking i could just reinstall it immediately.

No joy!


---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






Re: [gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Jon Hardcastle

--- On Sat, 23/5/09, Michal Sroka michal.sr...@gmail.com wrote:

 From: Michal Sroka michal.sr...@gmail.com
 Subject: Re: [gentoo-user] ARGH I uninstalled python
 To: gentoo-user@lists.gentoo.org
 Date: Saturday, 23 May, 2009, 12:13 AM
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Download python package from internet and install it
 manually.
 Afterwards, when emerge get functional re-emerge python.
 
 ... I used this way, when it happened to me ...
 
 Michal
 
 Jon Hardcastle wrote:
  I was trying to do a emerge --update ask world and it
 kept failing on updating python-updater and it was tripping
 over the python install soo i did the 'sensible'
 thing and unemerged python. NOW I REALISE THAT PYTHON IS
 INTEGRAL TO emerge.
  
  Can i fix this
  
  Also, perhaps some more warnings?!? the warning
 message was the standard one.. which i ignored thinking i
 could just reinstall it immediately.
  
  No joy!
  
  
  ---
  N: Jon Hardcastle
  E: j...@ehardcastle.com
  'Do not worry about tomorrow, for tomorrow will bring
 worries of its own.'
  
  Please sponsor me for the London to Brighton 2009.
  Just Giving: http://www.justgiving.com/jonathanhardcastle
  ---
  
  
        
  
  
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkoXMXwACgkQUwc9usbfIiWDVgCfZHvyfED084UHMLzIZuGWTwHG
 3NQAnR4XBO2yhXhpzRC4Qo7ZJdjQfUf0
 =Y+KO
 -END PGP SIGNATURE-
 
 

Thank you! Thank you! Thank you!

I followed this

http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what

which worked - in the end. couple of caveats tho for anyone 'that follows' get 
python from their site as the ftp link in this article is out of date.

http://www.python.org/download/releases/

also I initially tried 3.01 and that didn't work so i installed 2.6.2 which 
worked 'out of the box' i then tested with 'emerge' and am now running 'emerge 
-va python' 

Cheers guys!

Thanks to Dale too!


---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






[gentoo-user] accessing a bash

2009-02-05 Thread Jon Hardcastle
Hey guys.. random Linux question.

If i have a bash process running on my machine that i am not 'attatched' to is 
there anyway to access it and see what it is doing short of just killing it?

Thanks.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



Re: [gentoo-user] Smartd

2008-10-24 Thread Jon Hardcastle
--- On Thu, 23/10/08, Volker Armin Hemmann [EMAIL PROTECTED] wrote:

 From: Volker Armin Hemmann [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] Smartd
 To: gentoo-user@lists.gentoo.org
 Date: Thursday, 23 October, 2008, 6:53 PM
 On Donnerstag 23 Oktober 2008, Jon Hardcastle wrote:
  Probably not strictly a Gentoo issue, but as i am
 running Gentoo I'll see
  if the collective knowledge here can help me!
 
  I have a strange problem with my server. All the hard
 drives go to sleep
  after ~3hrs of inactivity. BUT if they happen to still
 be asleep when the
  scheduled smart check takes place you can hear it
 'spin up' and just before
  you know the drive is 'up' smartd decides the
 drive isn't smart capable and
  gives up. I get log entries in 'messages' and
 dmesg and also smartd emails
  me to tell me the drive isn't smart capable.
 
  You get the same result if you do -a on a sleeping
 drive... it says the
  drive isn't capable.. run it again.. and Bob's
 your uncle. Any clues? Can
  you vary the time before it tries after a spin up?
 
  ---
  N: Jon Hardcastle
  E: [EMAIL PROTECTED]
  '..Be fearful when others are greedy, and be
 greedy when others are
  fearful.' ---
 
 I am not sure what your problem really is - but why
 don't you exclude the 
 drivers in /etc/conf.d/smartd?

It is a server, but i want the drive to power down if they aren't going to be 
used for a while.. Also the -n option only works for other kinds of checks.. 
not for scheduled checks. there appears to be no way to exclude drives that are 
sleeping from scheduled checks.

I want the drives to be checked by smartd also. I just hoped there was a way of 
getting smartd to wait alittle longer after waking the drive up.

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



Re: [gentoo-user] Smartd

2008-10-24 Thread Jon Hardcastle
--- On Fri, 24/10/08, Dan Wallis [EMAIL PROTECTED] wrote:

 From: Dan Wallis [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] Smartd
 To: gentoo-user@lists.gentoo.org
 Date: Friday, 24 October, 2008, 1:15 PM
 On 24/10/2008, Jon Hardcastle
 [EMAIL PROTECTED] wrote:
  I want the drives to be checked by smartd also. I just
 hoped there was a way
  of getting smartd to wait alittle longer after waking
 the drive up.
 
 Could you generate some disk activity on the disk(s) just
 prior to the
 scheduled check(s)? I realise this isn't a solution,
 but more of a
 work-around.
 
 
 Dan

I did look into this actually.. but haven't made any head-way just yet.

Cheers for the suggestion though.

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



[gentoo-user] Smartd

2008-10-23 Thread Jon Hardcastle
Probably not strictly a Gentoo issue, but as i am running Gentoo I'll see if 
the collective knowledge here can help me!

I have a strange problem with my server. All the hard drives go to sleep after 
~3hrs of inactivity. BUT if they happen to still be asleep when the scheduled 
smart check takes place you can hear it 'spin up' and just before you know the 
drive is 'up' smartd decides the drive isn't smart capable and gives up. I get 
log entries in 'messages' and dmesg and also smartd emails me to tell me the 
drive isn't smart capable.

You get the same result if you do -a on a sleeping drive... it says the drive 
isn't capable.. run it again.. and Bob's your uncle. Any clues? Can you vary 
the time before it tries after a spin up?

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-30 Thread Jon Hardcastle
   Jon Hardcastle wrote:
  Hi, i have spent the weekend
 trying to get
  
   my new
  
 Hauppage USB tv stick to

  work under linux.
 
  I have been constantly perplexed
 by
  
   references to
  
 compilable kernel modules

  I couldn't see! I assumed it
 was because
  
   they
  
 referred to old modules or

  something.
 
  But having downloaded and booted
 into
  
   Knoppix and run
  
 make menuconfig on

  that i have confirmed that kernel
 seems to
  
   have
  
 10's of TV card chipset

  drivers availible to compile
 whereas

 gentoo-sources/vanilla-sources emerged

  on my machine have maybe 2 or 3.
 
  Can someone offer me some
 assistance as to
  
   why this
  
 might be?

  Thank you
 
  (This is my first mailing list
 post - please
  
   be
  
 gentle!)


 because a large part of the dvb/tv
 drivers are
  
   developed
  
 outside of the main
 kernel tree. Also a large part is
 hidden under
 experimental.

 For my dvb-t stick I need to checkout a
 mercurial
  
   rep and
  
 do a make, make
 install in it do get drivers that work.
 And with
 'work' I mean: no sound on
 first try, but after disconnecting the
 stick and
 reconnecting it, it suddenly
 works.
   
Hi, I went thru this process but i still
 dont have the
  
   option to add
  
support as a kernel module. Should the
 mercurial add
  
   steps to the
  
menuconfig?
  
   no.
   it just installs all the drivers in the rep as
 modules. It
   doesn't touch any
   configs at all.
 
  Hmmm i wonder why i have seen sooo many references to
 alot more kernel
  options than i have in either my gentoo-sources or
 vanilla-sources.
 
 because they patch their kernel.
 
  Is it
  possible to 'patch' the kernel source instead
 of downloading using
  mercurial. Also how does it 'know' what kernel
 to make the modules
  available under? I have 3 sets of kernel code on my
 machine?
 
 a) /usr/src/linux
 b) uname -r
 c) just make clean  make make install
 for every kernel.
 
 Why patch at all? with the rep and make make
 install you get all the 
 drivers. It is not that much 'overhead' compared to
 the work of patching the 
 kernel. And you don't even need to worry about which
 driver you need - 
 autoloading will do that for you ;)

Hi, cheers for all your help so far. If you are sure they were patching the 
kernel and hence the extra options I am happy to draw a line under that line of 
investigation.. as i wondered if i was using the wrong kernel or something.

Secondly I dont really understand the commands you have given me there. I have 
my 3 kernels yes at /usr/src with a symlink pointing to my active one which 
DOESN'T have any DVB stuff compiled in at all. I got the latest gentoo-sources 
kernel to experiment with and ultimately to switch over to, booted into it.. 
and downloaded the v4l using mercurial did the make install and it all worked 
grandly. but how do i know where it has put its modules, if it puts them under 
/usr/src/linux or gets any kernal info from there then they are in the wrong 
place. But if it is clever enough to know what kernel i am currently booted 
into and put them in the correct place accordingly then I am still stumped as i 
cant get this blasted card to work.

Can you also recommend some kernel debug options i can turn on? Can they be 
done as parameters to the kernel instead of compiled in? i have plug and play 
debug and some USB debug but i'd like more!

Thanks for your help.



[gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Jon Hardcastle
Hi, i have spent the weekend trying to get my new Hauppage USB tv stick to work 
under linux.

I have been constantly perplexed by references to compilable kernel modules I 
couldn't see! I assumed it was because they referred to old modules or 
something.

But having downloaded and booted into Knoppix and run make menuconfig on that i 
have confirmed that kernel seems to have 10's of TV card chipset drivers 
availible to compile whereas gentoo-sources/vanilla-sources emerged on my 
machine have maybe 2 or 3.

Can someone offer me some assistance as to why this might be?

Thank you

(This is my first mailing list post - please be gentle!)

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'The writing is on the wall...'
---



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Jon Hardcastle
--- On Mon, 29/9/08, Volker Armin Hemmann [EMAIL PROTECTED] wrote:

 From: Volker Armin Hemmann [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux
 To: gentoo-user@lists.gentoo.org
 Date: Monday, 29 September, 2008, 10:59 AM
 On Monday 29 September 2008, Jon Hardcastle wrote:
  Hi, i have spent the weekend trying to get my new
 Hauppage USB tv stick to
  work under linux.
 
  I have been constantly perplexed by references to
 compilable kernel modules
  I couldn't see! I assumed it was because they
 referred to old modules or
  something.
 
  But having downloaded and booted into Knoppix and run
 make menuconfig on
  that i have confirmed that kernel seems to have
 10's of TV card chipset
  drivers availible to compile whereas
 gentoo-sources/vanilla-sources emerged
  on my machine have maybe 2 or 3.
 
  Can someone offer me some assistance as to why this
 might be?
 
  Thank you
 
  (This is my first mailing list post - please be
 gentle!)
 
  ---
  N: Jon Hardcastle
  E: [EMAIL PROTECTED]
  'The writing is on the wall...'
  ---
 
 because a large part of the dvb/tv drivers are developed
 outside of the main 
 kernel tree. Also a large part is hidden under
 experimental.
 
 For my dvb-t stick I need to checkout a mercurial rep and
 do a make, make 
 install in it do get drivers that work. And with
 'work' I mean: no sound on 
 first try, but after disconnecting the stick and
 reconnecting it, it suddenly 
 works.

Hi, I went thru this process but i still dont have the option to add support as 
a kernel module. Should the mercurial add steps to the menuconfig?



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Jon Hardcastle
  
   On Monday 29 September 2008, Jon Hardcastle
 wrote:
Hi, i have spent the weekend trying to get
 my new
  
   Hauppage USB tv stick to
  
work under linux.
   
I have been constantly perplexed by
 references to
  
   compilable kernel modules
  
I couldn't see! I assumed it was because
 they
  
   referred to old modules or
  
something.
   
But having downloaded and booted into
 Knoppix and run
  
   make menuconfig on
  
that i have confirmed that kernel seems to
 have
  
   10's of TV card chipset
  
drivers availible to compile whereas
  
   gentoo-sources/vanilla-sources emerged
  
on my machine have maybe 2 or 3.
   
Can someone offer me some assistance as to
 why this
  
   might be?
  
Thank you
   
(This is my first mailing list post - please
 be
  
   gentle!)
  
  
   because a large part of the dvb/tv drivers are
 developed
   outside of the main
   kernel tree. Also a large part is hidden under
   experimental.
  
   For my dvb-t stick I need to checkout a mercurial
 rep and
   do a make, make
   install in it do get drivers that work. And with
   'work' I mean: no sound on
   first try, but after disconnecting the stick and
   reconnecting it, it suddenly
   works.
 
  Hi, I went thru this process but i still dont have the
 option to add
  support as a kernel module. Should the mercurial add
 steps to the
  menuconfig?
 
 no.
 it just installs all the drivers in the rep as modules. It
 doesn't touch any 
 configs at all.

Hmmm i wonder why i have seen sooo many references to alot more kernel options 
than i have in either my gentoo-sources or vanilla-sources. Is it possible to 
'patch' the kernel source instead of downloading using mercurial. Also how does 
it 'know' what kernel to make the modules available under? I have 3 sets of 
kernel code on my machine?