[gentoo-user] Re: unformat a partition

2006-03-17 Thread Peter
On Thu, 16 Mar 2006 14:54:33 -0800, Robert Persson wrote:

 On Thursday 16 March 2006 09:15 Nick Smith was like:
 i just accidentally blew away my ntfs partition with the gentoo
 install cd (formatted hda1 instead of hdb1) is there a way to unformat
 if it was just done? like undo the format information? i formatted
 with ext3.
 
 IMPORTANT: Please don't follow the following advice until you have had a 
 second opinion from someone else—I think this will work, but I can't swear it 
 will:
 
Good advice...

 Reformat to NTFS and then use a recovery tool. If I remember right, windows 
 fdisk is pretty insistent on doing a low level format, so you would be safer 
 using the gnu tool for formatting. I don't know whether the gnu ntfs tools 
 are up to the recovery job, or whether you need to use something proprietary.
 
No. fdisk does not formatting at all. It just writes to the partition
table. People run fdisk /mbr for example to rewrite the master partition
table.

I still think it may be better to edit the partition table directly and
change the filetype of the partition to NTFS: type 0x07.

Even if cfdisk you can change the type on the fly. Then reboot and see if
you can mount it. fdisk is non-destructive to the partition's data. It's
the format command where you have to make a choice to do a quick format or
a complete one. A quick format does not erase data, but does clean out the
fat tables. If that happens, you will have to extract the data manually.

Try the cfdisk trick first. Then, experiment with some of the myriad
Windows tools.

Remember to make a full image of the partition in question and the
partition table before trying these changes so you can go back to square 1
if need be.


 If you are lucky you may be able to read the old data
on the newly
 created partition without needing to use a recovery tool (I was able to
 do that with a linux partition once—can't remember if it was reiserfs
 or ext3), but I would copy all the files somewhere safe in any case
 because even very minor corruption could come back to haunt you later
 (as many theologians never tire of reminding us). -- Robert Persson
 
 Conspiracy Bears:
 Once upon a time there were lots of conspiracy bears...

-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Disk Partitioning

2006-03-17 Thread Paul Stear
On Thursday 16 Mar 2006 18:58, Rick van Hattem wrote:
 dd if=/dev/zero
 of=/dev/sda bs=1k count=100
Thanks for the help
That worked It is now only showing sda1
Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gdm keeps restarting after xorg update (was removing xorg 7)

2006-03-17 Thread Ghaith Hachem
after an emerge -e xorg-x11 i got xorg 7 working again
however when i start gdm it just keeps restarting with no errors given
startx is working fine inface that's how i got into the system to
write this message :)
so any idea about what could be the problem?
thx

--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Thomas T. Veldhouse
I see that portage is updating its cache for about 20 minutes these 
days!!!  This is on an Athlon 600MHz box with 384MB PC133.


 Updating Portage cache:   50%

Just trying to do a sync 

Tom Veldhouse


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Bruno Lustosa
On 3/17/06, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
 I see that portage is updating its cache for about 20 minutes these
 days!!!  This is on an Athlon 600MHz box with 384MB PC133.

   Updating Portage cache:   50%

 Just trying to do a sync 

Good question :)
But one way to speed this up is to use CDB, so that instead of keeping
cache in separate files, it's all in one, resulting in a *much* faster
cache update.
There are directions here:

http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

HTH

--
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Thomas T. Veldhouse

Bruno Lustosa wrote:

Good question :)
But one way to speed this up is to use CDB, so that instead of keeping
cache in separate files, it's all in one, resulting in a *much* faster
cache update.
There are directions here:

http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

  
Interesting ... and thanks for the tip.  I am concerned about all the 
warnings of breakage though.  I need this on my server, which is my 
production firewall at the moment.  I would hate to have this fail.


Tom Veldhouse



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Daniel da Veiga
On 3/17/06, Bruno Lustosa [EMAIL PROTECTED] wrote:
 On 3/17/06, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
  I see that portage is updating its cache for about 20 minutes these
  days!!!  This is on an Athlon 600MHz box with 384MB PC133.
 
Updating Portage cache:   50%
 
  Just trying to do a sync 

 Good question :)
 But one way to speed this up is to use CDB, so that instead of keeping
 cache in separate files, it's all in one, resulting in a *much* faster
 cache update.
 There are directions here:

 http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb


New versions of portage are using a different approuch on metadata and
cache, after sync'ng, a week later it took like 1 minute to update the
cache with the new version.

My advice, update portage, emerge --metadata,  wait for it to finish
(yes, will take a LOT of time, your machine is below 1GHz, wich will
slow it even more), but in the end, you'll update much faster. CDB is
just a workaround and you can't use it with the most recent version of
portage.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Alexander Skwar
Thomas T. Veldhouse wrote:
 Bruno Lustosa wrote:
 Good question :)
 But one way to speed this up is to use CDB, so that instead of keeping
 cache in separate files, it's all in one, resulting in a *much* faster
 cache update.
 There are directions here:

 http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

   
 Interesting ... and thanks for the tip.  I am concerned about all the 
 warnings of breakage though.  I need this on my server, which is my 
 production firewall at the moment.  I would hate to have this fail.

Well, you know, in worst case, portage doesn't work anymore.
In this case, you'd just have to revert your changes, and
everything's fine again.

Alexander Skwar
-- 
Linux: Where Don't We Want To Go Today?
-- Submitted by Pancrazio De Mauro, paraphrasing some well-known sales 
talk
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Bo Andresen
On Friday 17 March 2006 15:02, Bruno Lustosa wrote:
 Good question :)
 But one way to speed this up is to use CDB, so that instead of keeping
 cache in separate files, it's all in one, resulting in a *much* faster
 cache update.
 There are directions here:

 http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

And if you go back one step you'll find other ways to speed up Portage.
http://gentoo-wiki.com/Index:TIP#Portage_Speed
What I do is keep $PORTDIR and $DISTDIR on seperate partitions. Having a small 
partition for $PORTDIR ensures that all of Portage will be in the same place 
on the harddrive. $DISTDIR is on a separate partition because otherwise it 
wouldn't be a small partition. ;) $PKGDIR is not on a separate partition 
because I don't use it. Also Portage 2.1 (which is not supported by cdb) is 
nice. :)

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Andreas Claesson
On 3/17/06, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
 Bruno Lustosa wrote:
  Good question :)
  But one way to speed this up is to use CDB, so that instead of keeping
  cache in separate files, it's all in one, resulting in a *much* faster
  cache update.
  There are directions here:
 
  http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb
 
 
 Interesting ... and thanks for the tip.  I am concerned about all the
 warnings of breakage though.  I need this on my server, which is my
 production firewall at the moment.  I would hate to have this fail.


A safer way is to update to a newer version of portage.
In portage-2.1 the cache update code is rewritten and it is much faster
then before (but maybe not as fast as CDB).

The biggest reason for the slower update now compared to a year ago,
is that the total number of packages in the tree have increased. The old
code did not handle this very well.

Since this is a server, you probably don't use kde. Excluding all kde split
packages from the portage tree will speed things up a lot.
Create an rsync exclude file and add  RSYNC_EXCLUDE=path_to_file to
your make.conf.  Look in man pages for rsync for details.

/Andreas

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: unformat a partition

2006-03-17 Thread Nick Smith
thanks for the replies, i was actually able to get the data off the
drive with getdataback, i can rest easy now.

thanks again

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] suspend2 problem

2006-03-17 Thread Pablasso
yeah its possible, its just not stable on with most video cardsOn 3/15/06, Ow Mun Heng [EMAIL PROTECTED]
 wrote:On Thu, 2006-03-09 at 20:25 +1100, David Helstroom wrote: Pablasso wrote:
  if you have your video driver with dri/drm (3d acceleration)  activated, thats the problem, suspend2 currently does not work along  with 3d acceleration so you have to choose beetween them.
  Hi Pablasso, Perhaps I misunderstand, but suspend2 has long worked alongside 3d acceleration. In my experience, some of the proprietary graphics drivers (ATI's fglrx for example) do not work at all. However I use the 
X.org included Radeon drivers (and standard Radeon DRI kernel model) and have had no problems whatsoever. It could be a different story for the card in your machine (a Rage II by the looks of it).
$ glxinfo | grep renderdirect rendering: YesOpenGL renderer string: Mesa DRI R200 20040929 AGP 4x x86/MMX/SSE2 TCL$ uname -aLinux neuromancer 2.6.14-suspend2-r6 #1 PREEMPT Sun Dec 4 18:21:04 MYT
2005 i686 Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux--Ow Mun HengGentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM98% Microsoft(tm) Free!!Neuromancer 18:11:55 up 2 days, 20:14, 5 users, load average: 
1.41,1.23, 0.76--gentoo-user@gentoo.org mailing list


[gentoo-user] Re: Re: unformat a partition

2006-03-17 Thread Peter
On Fri, 17 Mar 2006 10:09:37 -0500, Nick Smith wrote:

 thanks for the replies, i was actually able to get the data off the
 drive with getdataback, i can rest easy now.
 
 thanks again
 
 Nick

Aren't you the lucky one!! Bet you'll never do _that_ again! However, it's
important to have a list of useful programs that help in just this kind of
circumstance. You _never_ know when you may need it. I'd never heard of
getdataback, but will take a look.

Glad this had a happy ending. Now, you should develop a good backup
routine.

-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: unformat a partition

2006-03-17 Thread Nick Smith

 Aren't you the lucky one!! Bet you'll never do _that_ again! However, it's
 important to have a list of useful programs that help in just this kind of
 circumstance. You _never_ know when you may need it. I'd never heard of
 getdataback, but will take a look.

 Glad this had a happy ending. Now, you should develop a good backup
 routine.

 --

well i had one, i was keeping multiple copies of my files on shares
over my network, but over time i had alot of different versions of my
files, i moved them all onto my laptop so i could consolidate them and
then move them back onto my server, but at the same time was playing
with installing gentoo on this new laptop.  ive never had two HDs in a
laptop before and without thinking did mke2fs -j /dev/hda1 during the
install and blew away my ntfs partition that i was going to dual boot
and that had all my freshly moved files on  ;-)
i cant believe i was that incredibly stupid, but yes i hope i never do
that again.  getting in a hurry only makes problems.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] livecd 586 boxen

2006-03-17 Thread maxim wexler
Hi everybody,

For those who haven't noticed yet the 2006.0 LiveCD
doesn't seem to work on K6's etc. A look at the docs
confirms this: not all architectures supported.

Guess that 686 in the filename should have warned me
away. Sheesh! 75 hrs downloading for nothing!

Trying the min-install...

-Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SquidGuard blacklist databases available and maintained?

2006-03-17 Thread Thomas T. Veldhouse
Does anybody know if there are still squidGuard blacklist databases that 
are actively maintained?  It appears that the author of squidGuard 
ceased maintaining the blacklist database there as of about 5 to 6 
months ago.


Thanks in advance,

Tom Veldhouse

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: QT 4

2006-03-17 Thread James
Uwe Thiem uwix at iway.na writes:


  Just out of interest how far along is qt4? Last time I looked the next
  major release of kde *might* be using it, if it becomes stable in time. Is
  this still the case?

 The current version is Qt-4.1.1 AFAIK and it's pretty stable.

 KDE4 will be based on Qt4, no if.

Hello Uwe,

So when will we see KDE-4?

A group is coallescing together to develop a SCADA package and associated
tools, much like National Instrument's Lookout, which is part of Labview. 
Would you be willing to provide some QT4 architectural issues advise, 
as we formalize a formal plan? Graphical creation of industrial devices,
such as valves, pumps, tanks, guages and many types of machines and instruments,
with  animation and inserts of actual equipment pictures, all in a SCADA
package is of keen interest to this development effort.

If any other Gentoo-users have a keen interest in remote controls and SCADA 
tools sililar to National Intruments Labview, drop me a line with a brief
message about your interests. SNMPv3 and many industrial protocols, such as 
modbusTCP will be supported.


James







-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Kevin O'Gorman
On 3/16/06, Iain Buchanan [EMAIL PROTECTED] wrote:
On Thu, 2006-03-16 at 14:52 -0500, JimD wrote: On Thu, 16 Mar 2006 11:12:28 -0800 Kevin O'Gorman [EMAIL PROTECTED] wrote:  I get a lot of bounce messages from Postfix relating to emails
  that are not actually from me, and the mail q shows lots of  stuff I don't recognize.   I'd like to know how to interpret this, and if it is called-for,  to secure this daemon a bit more.
 Try this link: http://www.spamhelp.org/shopenrelay/ Just put in the IP and port and click the button.which automatically notifies a list of spammers that they can use your
mail server... no not really ;)Do you have a firewall?Should your box be accessible from outside?You could lock it down so _no_one_ outside can access it, or you couldrestrict it to certain ip's...
But I also get a few bounce messages from me about emails I neverwrote - once your email address is out there, spammers use it as theirfrom address, even if they're not using your mail server for a relay.
sucks.
Yes, I expose this machine's port 25 on purpose. So I would like to make
it a good netizen.

I had done this with sendmail in previous distros, but am a neophyte with
Postfix. Right now I want to verify if I have (or am) a problem.

++ kevin

-- Kevin O'Gorman, PhD


Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread John Jolet


Yes, I expose this machine's port 25 on purpose.  So I would like  
to make

it a good netizen.

I had done this with sendmail in previous distros, but am a  
neophyte with

Postfix.  Right now I want to verify if I have (or am) a problem.
with postfix, it will, by default ONLY accept mail for which it  
considers itself the final destination for, or destinations that are  
in relay_domains.  typically, out of the box, it will not relay mail  
for anyone, though it will accept mail for it, as resolved from the  
box's fqdn, or mydestination.


I have mine set up to also allow you to relay if you authenticate  
(using sasl, via pam...or pam via sasl, if you want to look at it  
that way).  basically that means I can send mail using this server  
from any network, as long as I set my client up to authenticate on  
send.  but you can't randomly use it as a relay.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Bind Problem

2006-03-17 Thread Hiren Dave
Hi,
I have one problem with bind. I am getting answer from dns server for dig command but there is no MX entry. Any idea whats wrong? Below is the configuration file for master zone and dig command ouput is also given.

###server1.guru.com.zone##$TTL 86400@INSOAserver1.guru.com. root.server1.guru.com
. (0 ; serial300 ; refresh (5 minutes)10 ; retry (10 seconds)86400 ; expire (1 day)600 ; minimum (10 minutes))
@INNSserver1.guru.com.@INMX10 server1.guru.com.
server1.guru.com.INA192.168.0.2server2.guru.com.INA192.168.0.3
win2k.guru.com.INA192.168.0.1
www1CNAMEserver1.guru.com.www2CNAMEserver2.guru.com.www3CNAMEwin2k.guru.com.
@INMX0server1.guru.com.server1INMX0server1.guru.com.server2INMX0server1.guru.com.
win2kINMX0server1.guru.com.#END###
Dig[EMAIL PROTECTED] ~]#dig server1.guru.com;  DiG 9.2.4  
server1.guru.com;; global options: printcmd;; Got answer:;; -HEADER- opcode: QUERY, status: NOERROR, id: 12985;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:;server1.guru.com.INA
;; ANSWER SECTION:server1.guru.com.86400INA192.168.0.2
;; AUTHORITY SECTION:server1.guru.com.86400INNSserver1.guru.com.
;; Query time: 1 msec;; SERVER: 192.168.0.2#53(192.168.0.2);; WHEN: Fri Mar 17 21:16:03 2006;; MSG SIZE rcvd: 64###

Thanks,Hiren


Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Kevin O'Gorman
On 3/16/06, Gerhard Hoogterp [EMAIL PROTECTED] wrote:
On Thursday 16 March 2006 20:12, Kevin O'Gorman wrote: I get a lot of bounce messages from Postfix relating to emails that are not actually from me, and the mail q shows lots of stuff I don't recognize.
 I'd like to know how to interpret this, and if it is called-for, to secure this daemon a bit more. Can somebody point me in the right direction?I'll RTFM if it's not *too* big, if I know the appropriate FM to R.
You can check if your machine is an open relay by using telnet torelay-test.mail-abuse.org from the machine which runs the mail.An other alternative is to use their webinterface
(http://www.abuse.net/relay.html) but I have no experience with that one.
Thanks for the links. To my relief, they both reported all relay attempts
were blocked. So the bounces were spammers spoofing my address
as a return, I suppose. And there's nothing I can do to stop that.

Sigh.

++ kevin 
-- Kevin O'Gorman, PhD


Re: [gentoo-user] dd if=/dev/dvd of=backup.iso

2006-03-17 Thread Joseph
On Thu, 2006-03-16 at 21:52 -0600, Boyd Stephen Smith Jr. wrote:
 On Thursday 16 March 2006 12:11, Joseph [EMAIL PROTECTED] wrote about 
 'Re: [gentoo-user] dd if=/dev/dvd of=backup.iso':
  The strange part is that when I mount the same DVD in amd64-machine all
  directory and files are listed in small letters (and I know they should
  be all CAPS).
 
  Though, I don't see what difference it could make, but why one machine
  list the files and directories in small letter and the other one in
  caps.
 
 One machine is mounting as iso9660; the other is mounting as UDF.  The one 
 mounting as UDF is more correct.  This won't make a difference to dd 
 (since it operates below the file system) but would affect cp, ll, or any 
 other program that required the drive to be mounted.

That would explain but according to my fstab file both should be mount
as iso9660 type;  my x-86 system had entry (showing file in CAP
LETTERS):
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660  

my amd64 fstab entry (showing all small letters):
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660  
/dev/pktcdvd/0   /mnt/cdrw udf
/dev/hdc/mnt/dvdr  iso9660

on amd64 is used:  mount /dev/hdc  /mnt/dvdr   so it should be mounted
as iso9660 the same line x86-system.

 I used to rip DVDs and CDs using dd w/ conv=noerror.  I find I actually get 
 better results with a tool designed to read CDs specifically.  I don't 
 know if it is because they better moderate the speed of the drive, or if 
 they are simply cognizant of the error correction bits on the disk, but 
 I'll never go back to reading CDs or DVDs with dd again.

What program are you using to make iso backup k9copy?  

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bind Problem

2006-03-17 Thread Martin Hudec

Hello,

Hiren Dave wrote:

Hi,

I have one problem with bind. I am getting answer from dns server for 
dig command but there is no MX entry. Any idea whats wrong? Below is the 
configuration file for master zone and dig command ouput is also given.


That is not the issue with bind.

Dig is also working fine, he returned everything required.

For MX to pop up you have to use -t mx, like:

# dig -t mx guru.com


Cheers,
Martin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Kevin O'Gorman
On 3/17/06, John Jolet [EMAIL PROTECTED] wrote:
 Yes, I expose this machine's port 25 on purpose.So I would like to make it a good netizen. I had done this with sendmail in previous distros, but am a neophyte with
 Postfix.Right now I want to verify if I have (or am) a problem.with postfix, it will, by default ONLY accept mail for which itconsiders itself the final destination for, or destinations that arein relay_domains.typically, out of the box, it will not relay mail
for anyone, though it will accept mail for it, as resolved from thebox's fqdn, or mydestination.I have mine set up to also allow you to relay if you authenticate(using sasl, via pam...or pam via sasl, if you want to look at it
that way).basically that means I can send mail using this serverfrom any network, as long as I set my client up to authenticate onsend.but you can't randomly use it as a relay.--
gentoo-user@gentoo.org mailing listAlthough it seems this host is not a relay, that does not explain the
score or so of things languishing in my mail queue attempting to
contact sites I have no knowledge of, and which do not accept
the connection. Any hints how to explore this?

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Thomas T. Veldhouse




Kevin O'Gorman wrote:

  
  
  
  
Although it seems this host is not a relay, that does not explain the
score or so of things languishing in my mail queue attempting to
contact sites I have no knowledge of, and which do not accept
the connection. Any hints how to explore this?


Look through your maillogs to determine where these messages
originated. If they originated on your network, then it is probably a
virus or a worm.

Tom Veldhouse






[gentoo-user] cdb with portage 2.1 (was: CVSup vs Gentoo's Rsync)

2006-03-17 Thread Alexander Skwar
Hi!

Hemmann, Volker Armin volker.armin.hemmann at tu-clausthal.de writes:

 http://forums.gentoo.org/viewtopic-t-261580.html
 
 is the thread.
 
 But beware, in /usr/portage/modules you need this:
 
 portdbapi.auxdbmodule = cache.cdb.database
 eclass_cache.dbmodule = cache.cdb.database
 
 not that:
 
 portdbapi.auxdbmodule = portage_db_cdb.database
 eclass_cache.dbmodule = portage_db_cdb.database
 
 that is the only change I remember at the moment (and which did not went into 
 the wiki).

I now finally got around to actually TRY what I put in the wiki at 
http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb :)

And I discovered, that this doesn't work for me :(
When I write your lines in /etc/portage/modules and
run emerge --metadata, I get the following error:

[EMAIL PROTECTED] ~ $ time sudo emerge --verbose --metadata


Error: Failed to import module 'cache.cdb.database'

  File /usr/lib/portage/pym/portage.py, line 1290, in load_best_module
mod = load_mod(best_mod)
  File /usr/lib/portage/pym/portage.py, line 149, in load_mod
mod = __import__(modname)
No module named cdb


But when I put the old lines (those with portage_db_cdb.database)
in the modules file, I get:

[EMAIL PROTECTED] ~ $ time sudo emerge --verbose --metadata


Error: Failed to import module 'portage_db_cdb.database'

  File /usr/lib/portage/pym/portage.py, line 1290, in load_best_module
mod = load_mod(best_mod)
  File /usr/lib/portage/pym/portage.py, line 149, in load_mod
mod = __import__(modname)
  File /usr/lib/portage/pym/portage_db_cdb.py, line 17, in ?
import portage_db_template
No module named portage_db_template


Well, for me, it seems that the 2nd version (with
portage_db_cdb.database) seems to be a little bit
more successful, as it actually LOADS the
portage_db_cdb.py file. That's not done with the
version using 'cache.cdb.database' - here it fails
to load a module named cdb.

Is anyone using CDB with Portage 2.1?

Regards,

Alexander Skwar
-- 
Never give in.  Never give in.  Never. Never. Never.
-- Winston Churchill

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] 2006.0 minimal install howto

2006-03-17 Thread maxim wexler
Hello everybody,

Can someone give me a tip(s) on how to proceed with
this minimal install? 

I note on the CD big files such as image.squasfs and
gentoo.igz but the little on-line about them is not
very helpful.

I think I can start ppp and prepare the harddrive but
beyond that darkness looms :^(

-Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [SOLVED] Re: splash theme livecd-2006.0 and verbose mode

2006-03-17 Thread Peter
On Fri, 17 Mar 2006 08:10:33 -0500, Peter wrote:

all snip.

Well, I had to run 
# rc-update add splash default
again. Somehow updating splashutils removed it from the boot sequence.
Without splash loaded, the graphical image on the console would not stay
past the init sequence. Loading splash resolved the issue. Now to see why
it got removed...

-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2006.0 minimal install howto

2006-03-17 Thread Jeremy Olexa

maxim wexler wrote:


Hello everybody,

Can someone give me a tip(s) on how to proceed with
this minimal install? 


I note on the CD big files such as image.squasfs and
gentoo.igz but the little on-line about them is not
very helpful.

I think I can start ppp and prepare the harddrive but
beyond that darkness looms :^(
 

Have you read the install handbooks yet? 
http://www.gentoo.org/doc/en/index.xml?catid=install#doc_chap2

-Jeremy
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: livecd 586 boxen

2006-03-17 Thread James
maxim wexler blissfix at yahoo.com writes:

 
 Hi everybody,
 
 For those who haven't noticed yet the 2006.0 LiveCD
 doesn't seem to work on K6's etc. A look at the docs
 confirms this: not all architectures supported.
 
 Guess that 686 in the filename should have warned me
 away. Sheesh! 75 hrs downloading for nothing!

Last fall I installed a K6 200MHz amd system with
256 M of ram from a 2005 cd. It took a couple of days
to compile everything, but the stage one install was 
successful and it's a firewall today.

My suggestions would be to stip the USE flags down to the
minimum you need.


Another avenue is to install gentoo-embedded for x86:

http://www.bulah.com/embeddedgentoo.html
http://www.gentoo.org/proj/en/base/embedded/index.xml
http://www.gentoo.org/proj/en/base/embedded/gnap.xml


hth,

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Ciaran McCreesh
On Fri, 17 Mar 2006 15:15:56 +0100 Alexander Skwar
[EMAIL PROTECTED] wrote:
| Well, you know, in worst case, portage doesn't work anymore.
| In this case, you'd just have to revert your changes, and
| everything's fine again.

No, in the worst case Portage ends up with duff cache data, leading to
utterly inappropriate packages being installed.

-- 
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


[gentoo-user] Multi-DVD backup

2006-03-17 Thread JimD
Does anyone know of an app/script for doing a multi-DVD backup of my ~/? 
 My ~/ is 10GB so I will need something that could do a little 
compression and create as many DVD iso images as needed.


I was thinking of just tar.gzing my ~/ and then splitting that file to 
sizes to fit on a DVD and then make the ISO.  I was hoping for a 
script/app that is tested since I don't want to lose my data and I have 
to format my computer soon.


Thanks,

Jim

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2006.0 minimal install howto

2006-03-17 Thread maxim wexler


--- Jeremy Olexa [EMAIL PROTECTED] wrote:

 maxim wexler wrote:
 
 Hello everybody,
 
 Can someone give me a tip(s) on how to proceed with
 this minimal install? 
 
 I note on the CD big files such as image.squasfs
 and
 gentoo.igz but the little on-line about them is not
 very helpful.
 
 I think I can start ppp and prepare the harddrive
 but
 beyond that darkness looms :^(
   
 
 Have you read the install handbooks yet? 
 

Yes. To paraphrase what I found: if you want you can
use the minimal install CD. If you got a link to
something a trifle more verbose I'd sure like to
follow it.

http://www.gentoo.org/doc/en/index.xml?catid=install#doc_chap2
 -Jeremy
 -- 
 gentoo-user@gentoo.org mailing list
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Multi-DVD backup

2006-03-17 Thread John Jolet


On Mar 17, 2006, at 3:23 PM, JimD wrote:

Does anyone know of an app/script for doing a multi-DVD backup of  
my ~/?  My ~/ is 10GB so I will need something that could do a  
little compression and create as many DVD iso images as needed.


I was thinking of just tar.gzing my ~/ and then splitting that file  
to sizes to fit on a DVD and then make the ISO.  I was hoping for a  
script/app that is tested since I don't want to lose my data and I  
have to format my computer soon.


look at freshmeat.net for scdbackup.  it can be called with  
sdvdbackup and will span dvds.  I back up my mail server totally to 4  
dvds.  you can tell it what filesystems to backup, or directories.   
it figures it all out for you.  be warned that growisofs is a prereq  
for it.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2006.0 minimal install howto

2006-03-17 Thread John Jolet


On Mar 17, 2006, at 3:23 PM, maxim wexler wrote:




--- Jeremy Olexa [EMAIL PROTECTED] wrote:


maxim wexler wrote:


Hello everybody,

Can someone give me a tip(s) on how to proceed with
this minimal install?

I note on the CD big files such as image.squasfs

and

gentoo.igz but the little on-line about them is not
very helpful.

I think I can start ppp and prepare the harddrive

but

beyond that darkness looms :^(



Have you read the install handbooks yet?



Yes. To paraphrase what I found: if you want you can
use the minimal install CD. If you got a link to
something a trifle more verbose I'd sure like to
follow it.


the only difference (and this is spelled out in the install docs) is  
that instead of using the snapshot and stage file from the cd, you  
download it (and THAT is mentioned in the docs, or was last time I  
did a gentoo install).  It says we'll show you how to use the cd  
first, as that's the usual route, but the section after that shows  
you how to download the stage file and snapshot.  (i'm paraphrasing  
here, before anyone goes nuts on me for misquoting).

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2006.0 minimal install howto

2006-03-17 Thread Bo Andresen
On Friday 17 March 2006 22:23, maxim wexler wrote:
  Have you read the install handbooks yet?

 Yes. To paraphrase what I found: if you want you can
 use the minimal install CD. If you got a link to
 something a trifle more verbose I'd sure like to
 follow it.

 http://www.gentoo.org/doc/en/index.xml?catid=install#doc_chap2

http://www.gentoo.org/doc/en/handbook/index.xml
Pick your architecture and start reading. It's all covered quite throughly. If 
you have a specific problem with it then tell us exactly how far you have 
gotten and what the problem is.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can anyone please help me with gnome?

2006-03-17 Thread Nick Rout
On Thu, 16 Mar 2006 09:36:12 +
Unknown [EMAIL PROTECTED] wrote:

  /etc/init.d/net.lo start
  
 ip link, shows that lo interface is there
  Nick (running out of ideas)


OK.

does this happen for all users? or just you? (don't come back and say
you only have one user. if that is so make another one and see what
happens. adduser makes a new user at the command line, but I find
superadduser so much better, and it is only a short emerge away.)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Multi-DVD backup

2006-03-17 Thread JimD

John Jolet wrote:


look at freshmeat.net for scdbackup.  it can be called with sdvdbackup 
and will span dvds.  I back up my mail server totally to 4 dvds.  you 
can tell it what filesystems to backup, or directories.  it figures it 
all out for you.  be warned that growisofs is a prereq for it.


Thanks for the tip!

Jim

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdb with portage 2.1 (was: CVSup vs Gentoo's Rsync)

2006-03-17 Thread Hemmann, Volker Armin
On Friday 17 March 2006 19:24, Alexander Skwar wrote:


 Is anyone using CDB with Portage 2.1?

with the latest portage incarnations it does not work anymore at all. But 
portage got a lot speedier too, so the problem is not soo big.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Multi-DVD backup

2006-03-17 Thread JimD

John Jolet wrote:


look at freshmeat.net for scdbackup.  it can be called with sdvdbackup 
and will span dvds.  I back up my mail server totally to 4 dvds.  you 
can tell it what filesystems to backup, or directories.  it figures it 
all out for you.  be warned that growisofs is a prereq for it.


Do you do the ISO or afio backup?  If you do the ISO backup, do your 
file permissions get hosed?  I see that the utility puts a script to 
restore directory permissions on the last CD/DVD in the set, however it 
didn't mention anything about file permissions.


Jim

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdb with portage 2.1 (was: CVSup vs Gentoo's Rsync)

2006-03-17 Thread Bo Andresen
On Friday 17 March 2006 19:24, Alexander Skwar wrote:
 Is anyone using CDB with Portage 2.1?

 # grep ewarn /usr/portage/sys-apps/portage/portage-2.1_pre6-r3.ebuild 
ewarn This series contains a completely rewritten caching framework.
ewarn If you are using any cache modules (such as the CDB cache
ewarn module) portage will not work until they have been disabled.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Multi-DVD backup

2006-03-17 Thread John Jolet


On Mar 17, 2006, at 4:29 PM, JimD wrote:


John Jolet wrote:
look at freshmeat.net for scdbackup.  it can be called with  
sdvdbackup and will span dvds.  I back up my mail server totally  
to 4 dvds.  you can tell it what filesystems to backup, or  
directories.  it figures it all out for you.  be warned that  
growisofs is a prereq for it.


Do you do the ISO or afio backup?  If you do the ISO backup, do  
your file permissions get hosed?  I see that the utility puts a  
script to restore directory permissions on the last CD/DVD in the  
set, however it didn't mention anything about file permissions.
I can't remember which I do.  I'm not terribly concerned about  
permissions, as for the most part, i'm concerned with being able to  
restore mostly /home and /var/spool/mail.  the rest is just in case,  
as it were.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What on Earth is Portage doing for so long?

2006-03-17 Thread Mark Knecht
On 3/17/06, Ciaran McCreesh [EMAIL PROTECTED] wrote:
 On Fri, 17 Mar 2006 15:15:56 +0100 Alexander Skwar
 [EMAIL PROTECTED] wrote:
 | Well, you know, in worst case, portage doesn't work anymore.
 | In this case, you'd just have to revert your changes, and
 | everything's fine again.

 No, in the worst case Portage ends up with duff cache data, leading to
 utterly inappropriate packages being installed.

 --
 Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)

Hi,
   I've been using this cdb hack for so long I'd forgotten that it was
there. If it is backed out is there a standard way to use portage
these days that goes reasonably fast and doesn't have these risks.
Granted, the risks are quite low, I think, but better not to take
risks if not required to.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dd if=/dev/dvd of=backup.iso

2006-03-17 Thread Boyd Stephen Smith Jr.
On Friday 17 March 2006 11:39, Joseph [EMAIL PROTECTED] wrote about 
'Re: [gentoo-user] dd if=/dev/dvd of=backup.iso':
 On Thu, 2006-03-16 at 21:52 -0600, Boyd Stephen Smith Jr. wrote:
  On Thursday 16 March 2006 12:11, Joseph [EMAIL PROTECTED] wrote
  about
  'Re: [gentoo-user] dd if=/dev/dvd of=backup.iso':
   Though, I don't see what difference it could make, but why one
   machine list the files and directories in small letter and the other
   one in caps.
 
  One machine is mounting as iso9660; the other is mounting as UDF.  The
  one mounting as UDF is more correct.
 
 That would explain but according to my fstab file both should be mount
 as iso9660 type;

It does explain it.  I've done it many a time.

 my amd64 fstab entry (showing all small letters):
 /dev/cdroms/cdrom0  /mnt/cdrom  iso9660
 /dev/pktcdvd/0 /mnt/cdrw udf
 /dev/hdc  /mnt/dvdr  iso9660

 on amd64 is used:  mount /dev/hdc  /mnt/dvdr   so it should be mounted
 as iso9660 the same line x86-system.

If you specify both the device and mount point your /etc/fstab is ignored.  
Instead it will use /etc/filesystems or /proc/filesystems and try each one 
in order.

If you want to use /etc/fstab your can use either the device node or the 
mount point but not both.

  I used to rip DVDs and CDs using dd w/ conv=noerror.  I find I
  actually get better results with a tool designed to read CDs
  specifically.  I don't know if it is because they better moderate the
  speed of the drive, or if they are simply cognizant of the error
  correction bits on the disk, but I'll never go back to reading CDs or
  DVDs with dd again.

 What program are you using to make iso backup k9copy?

I use k3b actually.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Recommended amd64 box for Gentoo

2006-03-17 Thread Bob Sanders
On Thu, 16 Mar 2006 19:07:46 -0800
Bob Sanders [EMAIL PROTECTED] wrote:

 On Sat, 11 Mar 2006 13:04:58 -0600
 Michael Madden [EMAIL PROTECTED] wrote:
 
  Could someone recommend an amd64 box to use with Gentoo 2006.0?
  I had considered one of the following workstations;  has anyone had
  good or bad experience with these workstations and Gentoo for amd64?
  
  HP xw9300
  Sun Ultra 40
  IBM IntelliStation A Pro
  Alienware MJ-12 7550a
  

Thinking about it my reply should have been - Gentoo will run fine
on any box the vendor sells with a Linux as an option to on it.

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dd if=/dev/dvd of=backup.iso

2006-03-17 Thread Joseph
  That would explain but according to my fstab file both should be mount
  as iso9660 type;
 
 It does explain it.  I've done it many a time.
 
  my amd64 fstab entry (showing all small letters):
  /dev/cdroms/cdrom0  /mnt/cdrom  iso9660
  /dev/pktcdvd/0   /mnt/cdrw udf
  /dev/hdc/mnt/dvdr  iso9660
 
  on amd64 is used:  mount /dev/hdc  /mnt/dvdr   so it should be mounted
  as iso9660 the same line x86-system.
 
 If you specify both the device and mount point your /etc/fstab is ignored.  
 Instead it will use /etc/filesystems or /proc/filesystems and try each one 
 in order.

That would explain it, thanks for explanation; always learn something
new.

 If you want to use /etc/fstab your can use either the device node or the 
 mount point but not both.
 
   I used to rip DVDs and CDs using dd w/ conv=noerror.  I find I
   actually get better results with a tool designed to read CDs
   specifically.  I don't know if it is because they better moderate the
   speed of the drive, or if they are simply cognizant of the error
   correction bits on the disk, but I'll never go back to reading CDs or
   DVDs with dd again.
 
  What program are you using to make iso backup k9copy?
 
 I use k3b actually.

program k9copy didn't work for me and k3b stopped after copying 850Mb
dmesg showing a lot of errors:
hdc: media error (bad sector) status=0x51 SeekComplete Error
hdc: media error (bad sector) status=0x34

It could be that few disks had an error but I get similar error reading
commercial disk as well.  So much for DVD enjoyment (very unreliable). 

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Wireless Channel

2006-03-17 Thread JimD
Does anyone know of a tool for Linux or Windows that will see what is the 
best channel to use?


I have a desktop (gentoo) and a laptop (XP) on my home network.  My wireless 
router is a D-Link DI-524.  The desktop is wired to a port and the laptop is 
wireless with an Intell Intel PRO/Wireless 2200BG.


I have noticed connection issues when I SSH into my desktop from the laptop. 
I can connect and after anywhere from 30 seconds to about 3 minutes, the 
conneciton locks up and then is lost.  I thought it was an issue with ssh so 
I opened up telnet, however I get the same issue.  I use the desktop all the 
time and never notice any issues when I download from the net.


I am wondering if it is a wireless issue?  The strange thing is that I am 
using the laptop now and I cam getting about 4Mbs download fromthe net. 
However, as soon as I use cygwin or putty to ssh/telnet in to the desktop, 
the connection gets crappy.


I also noticed the connection issues if I try to use sambe from gentoo to 
XP.


Thanks,

Jim 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdb with portage 2.1

2006-03-17 Thread Alexander Skwar
Bo Andresen wrote:
 On Friday 17 March 2006 19:24, Alexander Skwar wrote:
 Is anyone using CDB with Portage 2.1?
 
  # grep ewarn /usr/portage/sys-apps/portage/portage-2.1_pre6-r3.ebuild 
 ewarn This series contains a completely rewritten caching framework.
 ewarn If you are using any cache modules (such as the CDB cache
 ewarn module) portage will not work until they have been disabled.

Yes, I know, but please read the thread.

Thanks,

Alexander Skwar
-- 
Luke Skywalker:
I'm Luke Skywalker, I'm here to rescue you.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdb with portage 2.1

2006-03-17 Thread Bo Andresen
On Saturday 18 March 2006 07:16, Alexander Skwar wrote:
 Yes, I know, but please read the thread.

Oh sorry. I probably shouldn't write to a mailing list when that tired... ;)

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list