Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Alexander Skwar
Iain Buchanan wrote:

> They both rely on the fact that you can read what _was_ once written to
> the hard drive by examining the spaces.  So that's one method.

Yes, in theory that might be possible - but how comes, that not
even the data recovery companies advertise this? And also, do
you have solid facts about data being recovered that way?

> The other method of recovering data is just to cat /dev/hda, but that
> relies on the hd not being "wiped" (overwritten with 0's and 1's many
> times in a semi-random fashion!).

Or even just once with 0.

Alexander Skwar
-- 
I hate you Kenny.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] trouble getting plustek parallel port scanner recognised

2006-02-01 Thread Robert Persson
I tried this parallel-port scanner question on the sane-devel list, but no 
luck. I wonder if anyone here might know the answer?:

I have just bought a Plustek OptikPro 9636P+ parallel port scanner from a 
charity shop -- no proof that it works except that the light comes on when I 
power it up, but no particular reason to think it doesn't work.

I have built the pt_drv (sane plustek parallel-scanner) kernel module (after a 
couple of minor hacks to get it to compile with gcc-3.4), but when I try to 
load it, the following happens:

zebedee build # insmod pt_drv.ko mov=3
insmod: error inserting 'pt_drv.ko': -9020 Function not implemented


dmesg tells me:

pt_drv : driver version 0.43-5
pt_drv : no device(s) detected, (-9020)


A google search tells me that several other people have had the same "no 
device(s) detected, (-9020)" message when trying to get plustek scanners to 
work. Unfortunately most of them had their problems in various central 
European languages, so I am still in the dark.

What should I do to get linux to recognise my scanner?

Many thanks
Robert
-- 
Robert Persson

Conspiracy Bears:
Once upon a time there were lots of conspiracy bears...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread Bo Ørsted Andresen
On Tuesday 31 January 2006 18:09, maxim wexler wrote:
> sarawak heathen #  unix2dos env-lp-test | lpr -l
> unix2dos: converting file env-lp-test to DOS format
> ...
> lpr: error - stdin is empty, so no job has been sent.

If you look at the man page of unix2dos you find these examples:

Get input from stdin and write output to stdout.
  unix2dos

Convert and replace a.txt. Convert and replace b.txt.
  unix2dos a.txt b.txt

This means that unix2dos will only print results to stdout if no arguments are 
given and the input will then be taken from stdin. So when you give a file as 
an argument the output of unix2dos will be printed to that file. What you 
have to type to print the results to lpr is hence:

#  cat env-lp-test | unix2dos | lpr -l

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



Re: [gentoo-user] CD and DVD indexing tool

2006-02-01 Thread Neil Bothwick
On Wed, 01 Feb 2006 15:34:22 +1300, Tom Eastman wrote:

> I'm looking for a utility that could be used for indexing the contents
> of the dozens and hundreds of CDRs and DVDRs that I've amassed over the
> years.

Try x11-misc/gwhere. I tried it a while ago and found it quite useful.


-- 
Neil Bothwick

A phaser is the universal communicator. þ Worf


signature.asc
Description: PGP signature


[gentoo-user] Re: Autofs problem 4.1.3-r4

2006-02-01 Thread Paulo J. Matos
Reported:
http://bugs.gentoo.org/show_bug.cgi?id=121143

-- Forwarded message --
From: Paulo J. Matos <[EMAIL PROTECTED]>
Date: 31-Jan-2006 10:34
Subject: Autofs problem 4.1.3-r4
To: gentoo-user@gentoo.org


Hi all,

having a terrible problem with autofs which I already had a couple
months ago (wierd isn't fixed). When I start autofs I get:
/home/usr/bin/automount: option -t requires a numeric argument, got,
intr, nosuid,rsize=8192,wsize=8192.

I was able to solve it at some point but now I can't remember how I
did it. Does anyone know?

Cheers,
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kmail delete problem

2006-02-01 Thread Paul
On Tuesday 31 Jan 2006 17:21, Richard Fish wrote:
> On 1/31/06, Paul <[EMAIL PROTECTED]> wrote:
> > > Anyway, could you post the InputDevice and ServerLayout sections of
> > > your xorg.conf?
> >
> > Section "InputDevice"
> > Identifier  "Mouse1"
> > Driver  "mouse"
> > Option  "Protocol" "ExplorerPS/2"
> > Option  "Device" "/dev/input/mice"
>
> Maybe you also need:
>
>  Option  "Emulate3Buttons" "off"
>
> Although, I'm not sure, since I don't have this either...and my mice work
> fine.
>
Thanks for the help Richard
I have added the option line but it has made no difference, I am still 
deleting 2 messages sometimes, it seems to be completely random, as does the 
problem with the second copy of a message opening in another window.  Also I 
sometimes click on the terminal program or the personal files icon and 2 
instances open.
This is very weird
Any more ideas?

Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: emerge update world and modular xorg-x11

2006-02-01 Thread Catalin Trifu
Hi,

Try adding this dir and file:
$ mkdir -p /etc/portage/profile
$ echo "virtual/x11x11-base/xorg-server" >> 
/etc/portage/profile/virtuals
$ echo "virtual/xftx11-libs/libXft" >> /etc/portage/profile/virtuals
Rebuild. If that is not enough then put /usr/portage/x11-base/xorg-server 
into your
PORTDIR_OVERLAY rebuild the metadata and edit the xorg-server-x.x.x and add a 
line:
PROVIDE="virtual/x11" to the ebuild, digest it and try again.
Of course you would need to remerge xorg-server before anything else.

Catalin

Cláudio Henrique wrote:
> I have installed modular xorg-x11 following the guides in gentoo
> (http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml) and
> in gentoo-wiki (http://gentoo-wiki.com/HOWTO_Modular_Xorg) and now I'm
> having trouble updating my system. how can I solve this?
> 
> 
> localhost ~ # emerge -uDav world
> 
> These are the packages that I would merge, in order:
> 
> Calculating world dependencies -
> !!! All ebuilds that could satisfy "virtual/x11" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - virtual/x11-6.8 (masked by: package.mask)
> 
> For more information, see MASKED PACKAGES section in the emerge man page or
> refer to the Gentoo Handbook.
> (dependency required by "media-gfx/gimp-2.2.8-r1" [ebuild])
> 
> 
> 
> !!! Problem resolving dependencies for media-gfx/gimp
> !!! Depgraph creation failed.
> 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] nvidia and X

2006-02-01 Thread Stefan Istvan
Hello List!

I have a videocard of this type:
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15)

I installed nvidia-glx as it is described in the Gentoo Linux nVidia
Guide ( http://www.gentoo.org/doc/en/nvidia-guide.xml )
When I start X, I get the following error:
Failed to initialize the NVIDIA kernel module!

If I change the Diver section in the X config file from nvidia to nv, X
starts up, but without 3D support.

Thank you for your help in advance,
Istvan




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia and X

2006-02-01 Thread Pongracz Istvan

You have to check your /usr/src/linux point to the current used kernel.
You have to emerge nvidia-kernel ebuild to.
This will provide you the missing nvidia kernel module.
You have to write it to the /etc/modules.autoload/2.6blah-blah-blah to 
load it every system start.


István

Stefan Istvan wrote:

Hello List!

I have a videocard of this type:
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15)

I installed nvidia-glx as it is described in the Gentoo Linux nVidia
Guide ( http://www.gentoo.org/doc/en/nvidia-guide.xml )
When I start X, I get the following error:
Failed to initialize the NVIDIA kernel module!

If I change the Diver section in the X config file from nvidia to nv, X
starts up, but without 3D support.

Thank you for your help in advance,
Istvan




  


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia and X

2006-02-01 Thread Neil Bothwick
On Wed, 01 Feb 2006 13:03:14 +0100, Stefan Istvan wrote:

> I have a videocard of this type:
> 01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
> Model 64/Model 64 Pro] (rev 15)
> 
> I installed nvidia-glx as it is described in the Gentoo Linux nVidia
> Guide ( http://www.gentoo.org/doc/en/nvidia-guide.xml )
> When I start X, I get the following error:
> Failed to initialize the NVIDIA kernel module!

Which version of the Nvidia river did you install? Later versions don't
work with TNT2 cards. To fix it, do

echo >>/etc/portage/package.mask ">=media-video/nvidia-kernel-1.0.7664"
echo >>/etc/portage/package.mask ">=media-video/nvidia-glx-1.0.7664"
emerge --oneshot nvidia-kernel nvidia-glx


-- 
Neil Bothwick

.sig? we don't need no stinkin' .sig!


signature.asc
Description: PGP signature


Re: [gentoo-user] Abiword 2.2.11 crashes

2006-02-01 Thread Benno Schulenberg
Adrian wrote:
> Suddenly I've stated having a problem with Abiword 2.2.11 --
> every time I cut or copy text it crashes.  This version was
> working fine.
> 
> [...]
> 
>  [ebuild U ] gnome-base/orbit-2.12.4 [2.12.0] -debug +doc
> +ssl -static 661 kB

If you run 'emerge -pet abiword', you'll see that it indirectly 
depends on orbit.  A 'revdep-rebuild -p -v' will show what needs 
rebuilding.  Otherwise you've found a bug.

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



RE: [gentoo-user] Re: OT: Dead key on keyboard diagnostic?

2006-02-01 Thread Michael Kintzios


> -Original Message-
> From: Benno Schulenberg [mailto:[EMAIL PROTECTED] 
> Sent: 31 January 2006 18:29
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: OT: Dead key on keyboard diagnostic?
> 
> 
> > Any ideas how to fix this? new map?   When  I boot 
> > (2.6.14-gentoo-r6) the laptop, I get an error messge about :
> > System.map not found  can not  check symbols
> 
> That is something different entirely.  When you install your kernel 
> (which normally means copying bzImage to the /boot dir) you have to 
> copy the System.map file (from the top dir of the kernel source) 
> along with it, although this file is really only needed when you get 
> oopses, so the kernel is able to tell in what function it occurs.

I am also getting this on my boot script on two different boxes.  It
started a week ago after some update world.  I am about compile the
latest stable kernel to see if it goes away.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: OT: Dead key on keyboard diagnostic?[New thread? - System.map not found]

2006-02-01 Thread Rob Oravec
> On Wed, 2006-02-01 at 11:25 +, Michael Kintzios wrote:
> I am also getting this on my boot script on two different boxes.  It
> started a week ago after some update world.  I am about compile the
> latest stable kernel to see if it goes away.

Same goes for me.
It appears to have started with the "2.6.15-gentoo-r1" kernel release
and I suspect (correct me if I'm wrong) a "udev" update which happened
around the same time IIRC.
The System.map file is there.

I have just updated to the new "2.6.15-gentoo-r2" kernel and the error
message is still there.

Rob



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


Re: [gentoo-user] nvidia and X

2006-02-01 Thread Hemmann, Volker Armin
Hi,

load the module before starting X.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] progress in emerge --sync

2006-02-01 Thread Beau E. Cox
Hi -

I notice that the rsync command generated by emerge --sync contains
the --progress flag. I run emerge --sync as a cron job ang log the
output; the progress goo messes up my logs.

I can't find any mention of a 'progress' (or a 'noprogress') flag
in the emerge man page. Is there a way to get rid of --progress
that I can't find?

This is picky-picky and really not important, it's just that I
tend to be that way some times...no big deal...just wondering. :)

-- 
Aloha => Beau;


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Holly Bostick
Beau E. Cox schreef:
> Hi -
> 
> I notice that the rsync command generated by emerge --sync contains 
> the --progress flag. I run emerge --sync as a cron job ang log the 
> output; the progress goo messes up my logs.
> 
> I can't find any mention of a 'progress' (or a 'noprogress') flag in
> the emerge man page. Is there a way to get rid of --progress that I
> can't find?
> 
> This is picky-picky and really not important, it's just that I tend
> to be that way some times...no big deal...just wondering. :)
> 

Myself, I used to mail myself the output of esync, and now I mail myself
the output of eix-sync, so I don't have so much experience with using
emerge --sync in a cron job, but this looks like it might be what you're
looking for:


--nospinner
  Disables the spinner for the session.  The spinner is
active when the terminal device is determined to be a TTY.   This  flag
 disables it regardless.

You might also be interested in:

--quiet (-q)
  Results may vary, but the general outcome is a reduced or
condensed output from portage's displays.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Neil Bothwick
On Wed, 1 Feb 2006 04:28:12 -1000, Beau E. Cox wrote:

> I notice that the rsync command generated by emerge --sync contains
> the --progress flag. I run emerge --sync as a cron job ang log the
> output; the progress goo messes up my logs.

Is "emerge --sync --quiet" too quiet for you?


-- 
Neil Bothwick

TEXAS VIRUS: Makes sure that it's bigger than any other file.


signature.asc
Description: PGP signature


Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Dale
Holly Bostick wrote:

>
>
>Myself, I used to mail myself the output of esync, and now I mail myself
>the output of eix-sync, so I don't have so much experience with using
>emerge --sync in a cron job, but this looks like it might be what you're
>looking for:
>
>
>--nospinner
>  Disables the spinner for the session.  The spinner is
>active when the terminal device is determined to be a TTY.   This  flag
> disables it regardless.
>
>You might also be interested in:
>
>--quiet (-q)
>  Results may vary, but the general outcome is a reduced or
>condensed output from portage's displays.
>
>Hope this helps,
>Holly
>  
>


Well, I didn't know it did this.  I just type in emerge sync && emerge
-efv world && emerge -upv world and walk away.  I check it latter one
when my modem is idle. 

When did this start anyway? 

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 
80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  
Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB 
drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up 
as servers.  

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Returned mail and received mail

2006-02-01 Thread Michael Sullivan
I have an annoying problem.  I have three computers on my network.
Every night I get emerge -uD world cron reports and backup reports as
well as a few others.  These reports (and other things cron sends me)
are delivered successfully...and unsuccessfully.  I get them just fine,
but I also get mailer errors for the same emails that go through
successfully.  Here's an example of the one error message:

  From: 
Mail Delivery Subsystem

To: 
[EMAIL PROTECTED]
   Subject: 
Returned mail: see transcript for
details
  Date: 
Wed, 1 Feb 2006 00:16:43 -0600


The original message was received at Wed, 1 Feb 2006 00:00:23 -0600
from camille.espersunited.com [192.168.1.3]

   - The following addresses had permanent fatal errors -
michael
(reason: 243)
(expanded from: root)

   - Transcript of session follows -
procmail: Error while writing to "/var/log/procmail"
procmail: [14282] Wed Feb  1 00:00:27 2006
procmail: Match on "< 256000"
procmail: Executing "/usr/bin/spamassassin,-P"
554 5.3.0 unknown mailer error 243







mail delivery
report attachment

Reporting-MTA: dns; bullet.espersunited.com
Received-From-MTA: DNS; camille.espersunited.com
Arrival-Date: Wed, 1 Feb 2006 00:00:23 -0600

Final-Recipient: RFC822; [EMAIL PROTECTED]
X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 243
Last-Attempt-Date: Wed, 1 Feb 2006 00:16:25 -0600


I use procmail to filter mail marked as spam (by spamassassin) into a
particular folder under ~/mail on my server box.  Here's
my /etc/mail/sendmail.mc file:

bullet ~ # cat /etc/mail/sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp
$')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl

#define(`confTO_IDENT',`0s')dnl


FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`access_db', `hash -T /etc/mail/access')dnl

MASQUERADE_AS(`espersunited.com')dnl
MASQUERADE_DOMAIN(`espersunited.com')dnl
FEATURE(`masquerade_entire_domain')dnl

FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl

#Begin spamass-milter config

dnl INPUT_MAIL_FILTER(`spamassassin',
`S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
dnl define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name},
{if_name}, {if_addr}')dnl

#End spamass-milter config

MAILER(local)dnl
MAILER(smtp)dnl
MAILER(pop)dnl


My /etc/procmailrc file:

bullet portage # cat /etc/procmailrc
# Use mbox-style mailbox in /var/spool/mail
DEFAULT=/var/spool/mail/$LOGNAME


My ~/.procmailrc file:

bullet portage # cat /home/michael/.procmailrc
:0:

* ^X-Spam-Status: Yes

/home/michael/mail/CRAP


I KNOW I recognize that phrase about "< 256000" up there in the error
message - I thought it was in /etc/procmailrc, but it's not and I can't
seem to find the website that told me how to set this up.  This all
worked perfectly before the PHP ugrade.  It's weird - I would think that
procmail worked independently of PHP...



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Neil Bothwick
On Wed, 01 Feb 2006 09:42:10 -0600, Dale wrote:

> Well, I didn't know it did this.  I just type in emerge sync && emerge
> -efv world && emerge -upv world and walk away.  I check it latter one
> when my modem is idle. 

Why -e? That will only fetch any source packages you have used and
deleted. Try emerge --sync && emerge -uDNf world && emerge -uavDN world.

Or put emerge --quiet --sync && emerge -uDNf world && emerge -upvDN world
in a cron job and you'll get the list of updates mailed to you. 
 
> When did this start anyway? 

--nospinner and --quiet have been there since Adam was a lad.


-- 
Neil Bothwick

[ Printed on recycled electrons ]


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Kmail empty replies

2006-02-01 Thread A. R.
On 1/31/06, Benno Schulenberg <[EMAIL PROTECTED]> wrote:
A. R. wrote:> > > I've been having some problems with kmail.> > > When I reply to a message, the message is delivered blank:> > > The original message and my response are both blank.
What exactly do you mean with "the message is delivered blank"?If you configure KMail and set the Default send method as "SendLater" (under Accounts > Sending), and you compose a message and
press Ctrl+Enter, is the message in the outbox blank?And the original message becomes blank too?  If you reply to amessage, the content of that original message disappears?You are now using Gmail for sending messages, no?  Please switch of
the additional HTML you are sending.  And please don't top-post.(http://www.catb.org/jargon/html/T/top-post.html)Benno--
gentoo-user@gentoo.org mailing listOkay mate, no more top-posting...
Thanks, BTW for the link to the correct definition of top-posting :-) I
really did not know for sure what it meant. And, for what I have seen,
a lot of folks get really annoyed by the praactice...
As for the HTML, I could not find in the Gmail settings a way to turn
this off. The only thing that I changed that is remotely similar, was
the UTF-8 encoding (I turned on).

And, with regards to the Kmail issue, I found the following:
1. My replies, as they are stored in the "Sent" folder are not blank.
2. The people I have been replying to, and that have told me that I
have empty replies, use MS Outlook as their e-mail client... so to me,
that in itself could be an explanation of the problem :-)

Anyway, thanks for your help.
- AR-- The absence of war does not mean peace.


[gentoo-user] Re: OT - Returned mail and received mail

2006-02-01 Thread Michael Sullivan
On Wed, 2006-02-01 at 09:58 -0600, Michael Sullivan wrote:
> I have an annoying problem.  I have three computers on my network.
> Every night I get emerge -uD world cron reports and backup reports as
> well as a few others.  These reports (and other things cron sends me)
> are delivered successfully...and unsuccessfully.  I get them just fine,
> but I also get mailer errors for the same emails that go through
> successfully.  Here's an example of the one error message:
> 
>   From: 
> Mail Delivery Subsystem
> 
> To: 
> [EMAIL PROTECTED]
>Subject: 
> Returned mail: see transcript for
> details
>   Date: 
> Wed, 1 Feb 2006 00:16:43 -0600
> 
> 
> The original message was received at Wed, 1 Feb 2006 00:00:23 -0600
> from camille.espersunited.com [192.168.1.3]
> 
>- The following addresses had permanent fatal errors -
> michael
> (reason: 243)
> (expanded from: root)
> 
>- Transcript of session follows -
> procmail: Error while writing to "/var/log/procmail"
> procmail: [14282] Wed Feb  1 00:00:27 2006
> procmail: Match on "< 256000"
> procmail: Executing "/usr/bin/spamassassin,-P"
> 554 5.3.0 unknown mailer error 243
> 
> 
> 
> 
> 
> 
> 
> mail delivery
> report attachment
> 
> Reporting-MTA: dns; bullet.espersunited.com
> Received-From-MTA: DNS; camille.espersunited.com
> Arrival-Date: Wed, 1 Feb 2006 00:00:23 -0600
> 
> Final-Recipient: RFC822; [EMAIL PROTECTED]
> X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Unix; 243
> Last-Attempt-Date: Wed, 1 Feb 2006 00:16:25 -0600
> 
> 
> I use procmail to filter mail marked as spam (by spamassassin) into a
> particular folder under ~/mail on my server box.  Here's
> my /etc/mail/sendmail.mc file:
> 
> bullet ~ # cat /etc/mail/sendmail.mc
> divert(-1)
> divert(0)dnl
> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
> VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp
> $')dnl
> OSTYPE(linux)dnl
> DOMAIN(generic)dnl
> 
> #define(`confTO_IDENT',`0s')dnl
> 
> 
> FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
> FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
> FEATURE(`access_db', `hash -T /etc/mail/access')dnl
> 
> MASQUERADE_AS(`espersunited.com')dnl
> MASQUERADE_DOMAIN(`espersunited.com')dnl
> FEATURE(`masquerade_entire_domain')dnl
> 
> FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
> 
> #Begin spamass-milter config
> 
> dnl INPUT_MAIL_FILTER(`spamassassin',
> `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
> dnl define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name},
> {if_name}, {if_addr}')dnl
> 
> #End spamass-milter config
> 
> MAILER(local)dnl
> MAILER(smtp)dnl
> MAILER(pop)dnl
> 
> 
> My /etc/procmailrc file:
> 
> bullet portage # cat /etc/procmailrc
> # Use mbox-style mailbox in /var/spool/mail
> DEFAULT=/var/spool/mail/$LOGNAME
> 
> 
> My ~/.procmailrc file:
> 
> bullet portage # cat /home/michael/.procmailrc
> :0:
> 
> * ^X-Spam-Status: Yes
> 
> /home/michael/mail/CRAP
> 
> 
> I KNOW I recognize that phrase about "< 256000" up there in the error
> message - I thought it was in /etc/procmailrc, but it's not and I can't
> seem to find the website that told me how to set this up.  This all
> worked perfectly before the PHP ugrade.  It's weird - I would think that
> procmail worked independently of PHP...
> 

I found the "< 256000".  I remerged procmail this morning thinking that
could possibly fix the problem, and I thought I told etc-update to
delete the default /etc/procmailrc file, but I guess I accidentally said
"Replace" instead.  I got this out of the backups and copied it over the
replacement /etc/procmailrc:

bullet ~ # cat /etc/procmailrc
# Use mbox-style mailbox in /var/spool/mail
DEFAULT=/var/spool/mail/$LOGNAME

DROPPRIVS=yes
#Uncomment the following lines to allow for logging
#
LOGFILE=/var/log/procmail
VERBOSE=ON

:0fw
# The following line tells Procmail to send messages to Spamassassin
only if they are less thatn 256000 bytes. Most spam falls well below
this size and a larger size could seriously affect performance.)
* < 256000

| /usr/bin/spamassassin -P

:0e
{
EXITCODE=$?
}



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Grant
> > Almost everyone seems to agree that recovering data from a formatted
> > drive is possible.  What is the process by which this is done?  I've
> > read here that:
> >
> > 1. The space between tracks contains historical data information.
> >
> > and:
> >
> > 2. There is a difference between a track written with a 0 and then
> > overwritten with a 0 and a track written with a 1 and then overwritten
> > with a 0.
> >
> > Are these the two processes by which this data recovery is made possible?
>
> They both rely on the fact that you can read what _was_ once written to
> the hard drive by examining the spaces.  So that's one method.

Ok, I thought the two items listed above were separate methods.  They
are the same?

I'm trying to find a somewhat concise answer to the question: How is
it that data can be recovered from a drive that has been "wiped" one
or more times?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Richard Fish
On 2/1/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:
> Iain Buchanan wrote:
>
> > They both rely on the fact that you can read what _was_ once written to
> > the hard drive by examining the spaces.  So that's one method.
>
> Yes, in theory that might be possible - but how comes, that not
> even the data recovery companies advertise this? And also, do
> you have solid facts about data being recovered that way?
>

An excellent MIT study on hard disk data recovery:

http://www.simson.net/clips/academic/2003.IEEE.DiskDriveForensics.pdf

-Richard


-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Kmail empty replies

2006-02-01 Thread Richard Fish
On 2/1/06, A. R. <[EMAIL PROTECTED]> wrote:
>  As for the HTML, I could not find in the Gmail settings a way to turn this
> off. The only thing that I changed that is remotely similar, was the UTF-8
> encoding (I turned on).

In the compose window in gmail, click the link that says "Plain text".
 To turn it back on, click "Rich Formatting" in the same place.  GMail
will remember these settings.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kmail delete problem

2006-02-01 Thread Richard Fish
On 2/1/06, Paul <[EMAIL PROTECTED]> wrote:
> Any more ideas?

Not from me... :-(

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [SOLVED] Fresh install fails on Locale-gettext

2006-02-01 Thread daniel
On Tuesday 31 January 2006 14:57, Steven Susbauer wrote:
> Try a revdep-rebuild and see if it wants to build something.

Running revdep-rebuild told me to rebuild blackdown-java-something so that 
wasn't any help.  I had however noticed that along the way of doing the full 
upgrade gcc had been upgraded from 3.3 to 3.4 so I followed the Gentoo GCC 
Upgrade Guide[1] and did the following:

  # emerge -uav gcc
  # gcc-config i686-pc-linux-gnu-3.4.4
  # source /etc/profile
  # emerge --oneshot -av libtool
  # emerge --oneshot sys-libs/libstdc++-v3
  # emerge -e system
  # emerge -e world

I got as far as emerging the system where it died again...  on the same 
package.  In frustration, i just ran:

  # emerge --resume --skipfirst

And all went according to plan.  I rebuilt the rest of the system and then 
world... which included Locale-gettext and this time it worked.

It's a bit of a Windows-sounding solution, but it worked, so I thought I'd 
share.

  
[1] http://www.gentoo.org/doc/en/gcc-upgrading.xml


-- 
o great spirit, who made all races, look kindly upon the
whole human family and take away the arrogance and
hatred which separates us from our brothers.
  - cherokee prayer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slotted mysql ready for testing (~arch)

2006-02-01 Thread Francesco Riosa
Some of the problems reported and fixed until now:

- 'eselect set mysql 1' - wrong command order - user error.
= it is "eselect mysql set 1"

- running the correct eselect command gets this strange output to
  stderr: 'find: mysql: No such file or directory'. I've got the strace
  output, but I can't find WHERE find is being called from.
= fixed, app-admin/eselect-mysql-1.0.0-r1

- Same user as the last item, the /etc/mysql and /etc/init.d/mysql-500
  symlinks were NOT created.
= fixed, app-admin/eselect-mysql-1.0.0-r1

- If the service name is /etc/init.d/mysql-$VER, please make it look in
  /etc/mysql-$VER/ for it's configuration by default, instead of
/etc/mysql/.
= mysql installed files already do this, if you have a previous
/etc/mysql directory
  eselect-mysql can't symlink /etc/mysql-500 to /etc/mysql, rename
/etc/mysql to
  something else and run "eselect mysql set 1 " again .

- Error that shows up in building:

...
Unpacking mysql-4.1.16.tar.gz to /t/portage/mysql-4.1.16-r30/work
Unpacking mysql-extras-20060115.tar.bz2 to /t/portage/mysql-4.1.16-r30/work
/usr/portage/eclass/mysql_fx.eclass: line 57: local: `,': not a valid
identifier
 * using "010_all_slot-my-print-default-r1.patch"
...
= NEED MORE INFO

Another two.
- innodb seems to act weird, because of this stuff
  #GENTOO#innodb_buffer_pool_size = 16M
  As the defaults that are actually used because of the commenting don't
  match the current settings.
fixed, INCVS, to avoid reinstall edit the /etc/mysql-500/my.cnf and remove
every occurence of "#GENTOO#" string.

- User has a 60Gb MySQL database . They arranged 60Gb of space to try and
  make the dump into, but even as mysqldump | bzip2 -9 >file.bz2, it didn't
  fit into the 60Gb of space. How safe is moving the data directory?

= This is because dump are ascii data, bigger than binary tables unless
u have _huge_ indices.
  switching say from dev-db/mysql-5.0.18 to dev-db/mysql-5.0.18-r30 is
_totally_ safe
  do one of these two things:
  a) stop the databases, then _move_ the data from /var/lib/mysql to
/var/lib/mysql-500
  or
  b) change "datadir" value in "/etc/mysql-500/my.cnf to" "/var/lib/mysql"


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Kmail empty replies

2006-02-01 Thread A. R.
On 2/1/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> On 2/1/06, A. R. <[EMAIL PROTECTED]> wrote:
> >  As for the HTML, I could not find in the Gmail settings a way to turn this
> > off. The only thing that I changed that is remotely similar, was the UTF-8
> > encoding (I turned on).
>
> In the compose window in gmail, click the link that says "Plain text".
>  To turn it back on, click "Rich Formatting" in the same place.  GMail
> will remember these settings.

Thank you,

- AR

--
The absence of war does not mean peace.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NIC setup? slow transfer speed

2006-02-01 Thread Peter Volkov (pva)
On Пнд, 2006-01-30 at 20:52 +0100, Stuart Howard wrote:
> Transfer 39Mb file from
> gentoo -> XP share using Konqueror trans time <=25 seconds [XP share
> mounted smb using Linneibourhood]
> 
> Transfer 39Mb file from
> gentoo -> XP share using winXP copy trans time >=5 mins [gentoo smb
> directory to XP share dir ie. XP shared dir Not mounted]

May be solution is there:
http://dsd.lbl.gov/TCP-tuning/

Peter.


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


RE: [gentoo-user] kmail delete problem

2006-02-01 Thread Michael Kintzios


> -Original Message-
> From: Paul [mailto:[EMAIL PROTECTED] 
> Sent: 31 January 2006 16:16
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] kmail delete problem
> 
> 
> On Tuesday 31 Jan 2006 12:49, Dale wrote:
> I raised the original mouse problem which I thought was 
> resolved by changing 
> the mouse protocal to "ExplorerPS/2". Although the mouse 
> works OK It still 
> appears to be SOMETIMES double clicking.
> I have noticed that on boot I get an error "module mousedev 
> not found" and 
> something else but I don't appear to have a boot log!!!

For besides the hardware related messages in dmesg and xorg.0.log
messages you can also check the last boot cycle in /var/log/syslog.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Dale
Neil Bothwick wrote:

>On Wed, 01 Feb 2006 09:42:10 -0600, Dale wrote:
>
>  
>
>>Well, I didn't know it did this.  I just type in emerge sync && emerge
>>-efv world && emerge -upv world and walk away.  I check it latter one
>>when my modem is idle. 
>>
>>
>
>Why -e? That will only fetch any source packages you have used and
>deleted. Try emerge --sync && emerge -uDNf world && emerge -uavDN world.
>  
>

Well, I'm paranoid OK.  I'm always worried that something may go nuts
and I may have to start from scratch OS wise.  I have not seen this
hapen yet but I'm still paranoid.  I'm on a really slow dial-up and I
like to have ALL the source files I would need to at least get a GUI and
mozilla working.  I would like to not have to spend a week downloading
it all either.  That is my poor reason for the -e.  It gets everything,
needed or not.  Yes, I back it up to a second hard drive too.

>Or put emerge --quiet --sync && emerge -uDNf world && emerge -upvDN world
>in a cron job and you'll get the list of updates mailed to you. 
> 
>  
>
>>When did this start anyway? 
>>
>>
>
>--nospinner and --quiet have been there since Adam was a lad.
>
>
>  
>


I was talking about the progress thing.  Is this the little thing that
used to hang at 50%?  Or is he talking about something else?  I'm still
sleepy so maybe my gray cells are not working yet.  Wouldn't be the
first time that happened either.

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 
80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  
Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB 
drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up 
as servers.  

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Peter Volkov (pva)
On Пнд, 2006-01-30 at 17:03 -0800, Grant wrote:
> I've heard that data can be recovered from a formatted hard
> disk.  Lucky for me I don't have any interest in actually doing this,
> but I got in an argue\ment with a buddy last night about whether or
> not it was possible.  I'm sure I've read that the government and other
> well-funded institutions have this capability.  Is it true? 

What a long thread, full of myths. But there are no miracles :)

Short answer for your question is... No. It's not true.

Having some experience in field of data recovery I'm not going to dive
into my real stories. I'll better give some general hints.

Answer on your question depends on how hard drive was formatted or how
it was crashed. If you do `dd if=/dev/zero of=/dev/hdd then there is no
chances you'll get you data. Why? Because all byte and bits on your hard
drive became 0. dot. If you heard about remanence or that 0 is a bit 1
and that some big craft apparatus can read such data, think about hard
drive manufacturers. They spend big efforts to make hard drive a bit
more capacious. So why they leave free space for additional information
on your hard drive, which you have when you think about space between
tracks or under-rotation of magnetic domains?

But than you may ask. What does data recovery companies can do?

Well. The best they can do is to read files from you hard drive when it
contains them! So suppose you have deleted file. This operation only
removes entry in you directory table, but not the file itself. Or you
did format you hard drive. That will rebuild only file structure on you
hard drive. Normally that means that you overwrite about 5% of you
drive. All other data is intact. Just read it.

But what I mean by reading deleted file? You may get filling about that
with grep. Actually grep is the first utility to do data recovery. It's
very easy to use but very powerful if you know what are you looking for.
just try:
# grep "/etc/fstab: static file system information" -B1 -A10 /dev/hda
and you will find you fstab on hard drive even after you remove it. If
you grep for "PDF-1." you will find some pdf files. There are special
programs for data recovery, that know many different patterns, but
internally work like grep. Of course, there are problems if, fex, file
is big enough and it is not written in consequent blocks of hard drive
or if some parts of file are overwritten...

But what about big machines??? What they are for? You may find some of
them searching in google, fex, on data recovery sites. Well they are
used in a situation when hard drive was broken mechanically or internal
hard drive logic is broken (fex, due to bad blocks). If you hard drive
is broken mechanically, you have to find another identical (see serial
number...) hard drive and then you should open them and move disks from
hard drive with broken mechanics into new one. After that hard drive is
broken. You can not just plug in and use because unique, hard drive
specific information like where to look for zero track is lost. But that
machine allows you to "control" heads, you have possibility to read that
hard drive. After that use grep to search for your files in the raw
stream of data.

You may find some interesting information about data recovery in google.
But as I told you. No miracles. Sorry. =)

HTH,
Peter.


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


Re: [gentoo-user] Re: PHP upgrade breaks Squirrelmail

2006-02-01 Thread Dan Johansson
On Wednesday 01 February 2006 00.28, Harm Geerts wrote:
> On Tuesday 31 January 2006 20:11, Dan Johansson wrote:
> > I'm now going to look into the ebuild to see why PHP5 builds the cli and
> > apache2 parts differently.
>
> Could it be you forgot to restart apache after rebuilding php?
>
> The configure part for each SAPI is a generic function and doesn't care
> about which SAPI it's building for.

Stupid me! Yes that was it. After restarting apache everything works again.

THANKS!
-- 
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***


pgp8baZdumXrF.pgp
Description: PGP signature


Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread maxim wexler


--- Bo �rsted Andresen <[EMAIL PROTECTED]>
wrote:

> On Tuesday 31 January 2006 18:09, maxim wexler
> wrote:
> > sarawak heathen #  unix2dos env-lp-test | lpr -l
> > unix2dos: converting file env-lp-test to DOS
> format
> > ...
> > lpr: error - stdin is empty, so no job has been
> sent.
> 
> If you look at the man page of unix2dos you find
> these examples:
> 
> Get input from stdin and write output to stdout.
>   unix2dos
> 
> Convert and replace a.txt. Convert and replace
> b.txt.
>   unix2dos a.txt b.txt
> 
> This means that unix2dos will only print results to
> stdout if no arguments are 
> given and the input will then be taken from stdin.
> So when you give a file as 
> an argument the output of unix2dos will be printed
> to that file. What you 
> have to type to print the results to lpr is hence:
> 
> #  cat env-lp-test | unix2dos | lpr -l
> 
> /Bo

Nice try. But no change: the printer makes some noise,
loads a sheet of paper then the trouble light starts
blinking. Except now the error_log is not updating
itself!

FWIW, the printer does work from winXP.

> -- 
> 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



[gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread James
Devon Miller  gmail.com> writes:

> Make sure you have told you firewall to allow port 123 for both TCP &
> UDP.I had the same behavior until I did that.dcm

Well my firewall should allow outgoing initiated sessions from the
ntpd (internal) server. From what I read, the remote ntpd server 
does not initiate communications, it my server that initates the
communications?

That assumed, my firewall rules (which are undergoing revision) are ok?

OK, I'm new to ntpd, but it looks straightforward.

after emerging, I started up ntpd and added it to the default run level.
Then I checked and got:

ntpq -p
 remote   refid  st t when poll reach   delay   offset  jitter
==
 ecoca.eed.usv.r 80.96.120.2532 u8   641  202.639  1436722   0.001

then:
# date
Wed Feb  1 14:58:04 Local time zone must be set--see zic manual page 2006


/etc/localtime is a lock file so where do I correct/set the time zone to
EST (eastern standard time) so ntpd will see it can correct my actual time
(it's off by a little more than (1) hour.

But now when I run 'ntpq -p' I get:
ntpq: read: Connection refused

What did I mess up or miss?


James







man zic and man ntpd did not help, or I missed the file to edit or the 
correct command syntax

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Alexander Skwar
Peter Volkov (pva) wrote:
> On Пнд, 2006-01-30 at 17:03 -0800, Grant wrote:
>> I've heard that data can be recovered from a formatted hard
>> disk.  Lucky for me I don't have any interest in actually doing this,
>> but I got in an argue\ment with a buddy last night about whether or
>> not it was possible.  I'm sure I've read that the government and other
>> well-funded institutions have this capability.  Is it true? 
> 
> What a long thread, full of myths. But there are no miracles :)
> 
> Short answer for your question is... No. It's not true.

Of course not.

> Having some experience in field of data recovery I'm not going to dive
> into my real stories. I'll better give some general hints.

Ah, thanks a lot for doing away with all those myths. Everything
you write sounds pretty much like what I've heard and also
makes a lot of sense. Most certainly more than those recovery
rumors :)

> You may find some interesting information about data recovery in google.
> But as I told you. No miracles. Sorry. =)
> 
> HTH,

Yes, very much!

Alexander Skwar
-- 
A person who is more than casually interested in computers should be well
schooled in machine language, since it is a fundamental part of a computer.
-- Donald Knuth
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev 084 breaks USB?

2006-02-01 Thread Alexander Skwar
Hello!

Today I updated from udev-081-r1 to udev-084. Since then,
I can no longer use my USB devices, like my mouse or my
flash card reader.

Did anyone else notice this?

Alexander Skwar
-- 
Genius is one percent inspiration and ninety-nine percent perspiration.
-- Thomas Alva Edison
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread maxim wexler
> > got to start looking. I wouldn't be suprised if
> it's a permission problem 
> > like Mick says.
> 
> No look closer, that is NOT what it says!!
> 
> It says "PID 5869 stopped with status 3!"  PID 5869
> is foomatic-rip (see two lines above, not quoted
> above, but in maxim's message)
> 
> "Started filter /usr/lib/cups/filter/foomatic-rip
> (PID 5869) for job
> 23."
> 
> parallel is the next PID 5870
> 
> google found a few references to foomatic-rip status
> 3. 

Hmm, was this one?

http://tux.oclug.on.ca/pipermail/oclug/2003-November/035610.html

> 
> But anyway rasing the debug level may pinpoint it
> better. I have often
> found problems with versions of ghostscript when you
> get ripping
> problems with cups, but that may be a red herring
> :-)

here's the last 50 line of the cups error_log

D [01/Feb/2006:12:02:51 -0700] AcceptClient: 5 from
localhost:631.
D [01/Feb/2006:12:02:51 -0700] ReadClient: 5 POST /
HTTP/1.1
D [01/Feb/2006:12:02:51 -0700] ProcessIPPRequest: 5
status_code=1
D [01/Feb/2006:12:02:51 -0700] ReadClient: 5 POST /
HTTP/1.1
D [01/Feb/2006:12:02:51 -0700] ProcessIPPRequest: 5
status_code=1
D [01/Feb/2006:12:02:51 -0700] ReadClient: 5 POST /
HTTP/1.1
D [01/Feb/2006:12:02:51 -0700] ProcessIPPRequest: 5
status_code=0
D [01/Feb/2006:12:02:51 -0700] AcceptClient: 7 from
localhost:631.
D [01/Feb/2006:12:02:51 -0700] CloseClient: 5
D [01/Feb/2006:12:02:51 -0700] ReadClient: 7 POST
/printers/deskjet HTTP/1.1
D [01/Feb/2006:12:02:51 -0700] print_job: request file
type is application/vnd.cups-raw.
D [01/Feb/2006:12:02:51 -0700] check_quotas:
requesting-user-name = 'heathen'
D [01/Feb/2006:12:02:51 -0700] print_job:
requesting-user-name = 'heathen'
I [01/Feb/2006:12:02:51 -0700] Adding start banner
page "none" to job 34.
I [01/Feb/2006:12:02:51 -0700] Adding end banner page
"none" to job 34.
I [01/Feb/2006:12:02:51 -0700] Job 34 queued on
'deskjet' by 'heathen'.
D [01/Feb/2006:12:02:51 -0700] Job 34 hold_until = 0
D [01/Feb/2006:12:02:51 -0700] StartJob(34, 0x8095a08)
D [01/Feb/2006:12:02:51 -0700] StartJob() id = 34,
file = 0/1
D [01/Feb/2006:12:02:51 -0700] job-sheets=none,none
D [01/Feb/2006:12:02:51 -0700] banner_page = 0
D [01/Feb/2006:12:02:51 -0700] StartJob: argv =
"deskjet","34","heathen","(stdin)","1","","/var/spool/cups/d00034-001"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[1]="SOFTWARE=CUPS/1.1"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[2]="USER=root"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[3]="CHARSET=iso-8859-1"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[4]="LANG=en"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[5]="PPD=/etc/cups/ppd/deskjet.ppd"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[6]="CUPS_SERVERROOT=/etc/cups"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[7]="RIP_MAX_CACHE=8m"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[9]="CONTENT_TYPE=application/vnd.cups-raw"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[10]="DEVICE_URI=parallel:/dev/lp0"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[11]="PRINTER=deskjet"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[12]="CUPS_DATADIR=/usr/share/cups"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[14]="CUPS_SERVER=localhost"
D [01/Feb/2006:12:02:51 -0700] StartJob:
envp[15]="IPP_PORT=631"
D [01/Feb/2006:12:02:51 -0700] StartJob: statusfds = [
5 8 ]
D [01/Feb/2006:12:02:51 -0700] StartJob: filterfds[1]
= [ 9 -1 ]
D [01/Feb/2006:12:02:51 -0700] StartJob: backend =
"/usr/lib/cups/backend/parallel"
D [01/Feb/2006:12:02:51 -0700] StartJob: filterfds[0]
= [ -1 10 ]
D [01/Feb/2006:12:02:51 -0700]
start_process("/usr/lib/cups/backend/parallel",
0xbf925a00, 0xbf924d70, 9, 10, 8)
I [01/Feb/2006:12:02:51 -0700] Started backend
/usr/lib/cups/backend/parallel (PID 5892) for job 34.
D [01/Feb/2006:12:02:51 -0700] ProcessIPPRequest: 7
status_code=0
D [01/Feb/2006:12:02:51 -0700] CloseClient: 7
D [01/Feb/2006:12:02:51 -0700] UpdateJob: job 34, file
0 is complete.
D [01/Feb/2006:12:02:51 -0700] CancelJob: id = 34
D [01/Feb/2006:12:02:51 -0700] StopJob: id = 34, force
= 0
D [01/Feb/2006:12:02:51 -0700] StopJob: printer state
is 3

BTW, I told Bo that my error_log was not being
updated. My bad: I was looking at the error_log.0. 

> 
> 
>

__
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] Re: AMD 64 bit system selections

2006-02-01 Thread James
> Bob Sanders  concentric.net> writes:


Personally, I prefer 2-2-2 or 2-3-2.5 ram, but it's expensive and not all
applications benefit.

Tyan or Super Micro tend to be better choices.

Doesn't exist.  But Nvidia is the better bet as their drivers tend to work
more often.

For video data, use a linear stripe across two controllers.  And at least
three controllers
for HD video.  But HD video requires SCSI or SAS, stripped across multiple
controllers and
15Krpm drives in the arrays.

> Finally which file system would one recommed for this video server
> with the best, stable performance.

> XFS.


Thanks Bob...

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread Manuel McLure

maxim wexler wrote:

Nice try. But no change: the printer makes some noise,
loads a sheet of paper then the trouble light starts
blinking. Except now the error_log is not updating
itself!

FWIW, the printer does work from winXP.


I think part of the problem may be the fact that it's trying to print a 
banner.


What I would try is to set up another printer queue, using "Raw Printer" 
- this makes cups get out of the way as much as it can (even more than 
-l would do.)


--
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> 
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread John Jolet


On Feb 1, 2006, at 1:25 PM, James wrote:


Devon Miller  gmail.com> writes:


Make sure you have told you firewall to allow port 123 for both TCP &
UDP.I had the same behavior until I did that.dcm


Well my firewall should allow outgoing initiated sessions from the
ntpd (internal) server. From what I read, the remote ntpd server
does not initiate communications, it my server that initates the
communications?

That assumed, my firewall rules (which are undergoing revision) are  
ok?


OK, I'm new to ntpd, but it looks straightforward.

after emerging, I started up ntpd and added it to the default run  
level.

Then I checked and got:

ntpq -p
 remote   refid  st t when poll reach   delay
offset  jitter
== 

 ecoca.eed.usv.r 80.96.120.2532 u8   641  202.639   
1436722   0.001


then:
# date
Wed Feb  1 14:58:04 Local time zone must be set--see zic manual  
page 2006



/etc/localtime is a lock file so where do I correct/set the time  
zone to
EST (eastern standard time) so ntpd will see it can correct my  
actual time

(it's off by a little more than (1) hour.

But now when I run 'ntpq -p' I get:
ntpq: read: Connection refused

What did I mess up or miss?

is ntpd dying?  ps -elf|grep ntp should show you something besides  
the grep.


James







man zic and man ntpd did not help, or I missed the file to edit or the
correct command syntax

James



--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread maxim wexler
> 
> You could try running /usr/lib/cups/backend/parallel
> from a console to see 
> what happens (as the same user as cups is running
> under!)

There's no parallel man page and parallel --help is
very terse but I made the following stab(left the
'options' field blank):

sarawak heathen #  /usr/lib/cups/backend/parallel 34
heathen error_log 1 error_log
ERROR: Unable to open parallel port device file
"/usr/lib/cups/backend/parallel": Text file busy
sarawak heathen # 

but according to localhost631/jobs:

deskjet-34  (stdin) heathen 3k   completed
at
Wed 01 Feb 2006 12:02:51 PM MST Restart Job  

__
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] udev 084 breaks USB?

2006-02-01 Thread Ralf Hinz
Alexander Skwar schrieb:

>Hello!
>
>Today I updated from udev-081-r1 to udev-084. Since then,
>I can no longer use my USB devices, like my mouse or my
>flash card reader.
>
>Did anyone else notice this?
>
>Alexander Skwar
>  
>
Hi

I have no problem since a updated. Cardreader etc. just works fine.

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



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread maxim wexler
> 
> What I would try is to set up another printer queue,
> using "Raw Printer" 
> - this makes cups get out of the way as much as it
> can (even more than 
> -l would do.)

Not sure, but if you mean 

sarawak heathen # cat cups_error > /dev/lp0

then the result is as before: some noise followed by a
blinking trouble light.
> 
> -- 
> Manuel A. McLure KE6TAW <[EMAIL PROTECTED]>
> 
> ...for in Ulthar, according to an ancient and
> significant law,
> no man may kill a cat.   -- H.P.
> Lovecraft
> -- 
> 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



[gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread James
John Jolet  jolet.net> writes:



> > But now when I run 'ntpq -p' I get:
> > ntpq: read: Connection refused

> is ntpd dying?  ps -elf|grep ntp should show you something besides  
> the grep.

Yep. Attempt stop it and start it again: /etc/init.d/ntpd start 
fails.

Ideas?

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread James
James  tampabay.rr.com> writes:

> 
> John Jolet  jolet.net> writes:
> 
> > > But now when I run 'ntpq -p' I get:
> > > ntpq: read: Connection refused
> 
> > is ntpd dying?  ps -elf|grep ntp should show you something besides  
> > the grep.
> 
> Yep. Attempt stop it and start it again: /etc/init.d/ntpd start 
> fails.

Well I rebooted and it is running:
9480 ?SLs0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u ntp:ntp

It corrected the minutes but it's off by exactly one hour. It needs to be
EST (eastern standard time) NY  (Tampa Florida).

so what file do I edit to correct utc to est ?

#date
Wed Feb  1 16:16:51 UTC 2006



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread Dave Nebinger

James wrote:
is ntpd dying?  ps -elf|grep ntp should show you something besides  
the grep.



Yep. Attempt stop it and start it again: /etc/init.d/ntpd start 
fails.
  


"/etc/init.d/ntpd zap" to clear out the invalid status, then do the 
'start' again.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread Richard Fish
On 2/1/06, James <[EMAIL PROTECTED]> wrote:
> It corrected the minutes but it's off by exactly one hour. It needs to be
> EST (eastern standard time) NY  (Tampa Florida).
>
> so what file do I edit to correct utc to est ?

Try timezone US/Eastern instead of EST.

ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Steven Susbauer
'emerge --sync --quiet 1> /dev/null 2>&1' will put nothing in your logs.
If you prefer, just use 'emerge --sync --quiet' and it will say when it's
working but not do the progress or anything else really.

On Wed, 1 Feb 2006, Beau E. Cox wrote:

> Hi -
>
> I notice that the rsync command generated by emerge --sync contains
> the --progress flag. I run emerge --sync as a cron job ang log the
> output; the progress goo messes up my logs.
>
> I can't find any mention of a 'progress' (or a 'noprogress') flag
> in the emerge man page. Is there a way to get rid of --progress
> that I can't find?
>
> This is picky-picky and really not important, it's just that I
> tend to be that way some times...no big deal...just wondering. :)
>
> --
> Aloha => Beau;
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread Manuel McLure

maxim wexler wrote:

What I would try is to set up another printer queue,
using "Raw Printer" 
- this makes cups get out of the way as much as it
can (even more than 
-l would do.)



Not sure, but if you mean 


sarawak heathen # cat cups_error > /dev/lp0

then the result is as before: some noise followed by a
blinking trouble light.


Try

cat cups_error | unix2dos >/dev/lp0

If that works, then a raw queue in CUPS will work as well. Set up a new 
queue in CUPS and define the printer make as Raw and the model as Raw 
Queue. Then you can use


cat cups_error | unix2dos | lpr -Praw_queue

and it should work. The only thing that worries me is that perhaps you 
wouldn't get a form feed at the end of the print job to eject the page. 
Somewhere or other I have a little C program I wrote to handle all of 
this conversion - I'll send it if I find it.	


It does seem that CUPS has an "everything should be Postscript" view of 
the world and does not handle plain text printing as smoothly as it 
should (instead it converts text to postscript and then converts that to 
raster for printing.) It doesn't bother me, but I don't have your 
printing needs. You *could* use the standard CUPS 
text->postscript->raster functionality, but I expect that it would be a 
*lot* slower than plain text printing. Perhaps you should try lprng 
instead of CUPS as your print spooler - it may be a better option for 
what you're trying to do.


--
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> 
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread John Jolet

On Feb 1, 2006, at 2:18 PM, James wrote:


James  tampabay.rr.com> writes:



John Jolet  jolet.net> writes:


But now when I run 'ntpq -p' I get:
ntpq: read: Connection refused



is ntpd dying?  ps -elf|grep ntp should show you something besides
the grep.


Yep. Attempt stop it and start it again: /etc/init.d/ntpd start
fails.


Well I rebooted and it is running:
9480 ?SLs0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u  
ntp:ntp


It corrected the minutes but it's off by exactly one hour. It needs  
to be

EST (eastern standard time) NY  (Tampa Florida).

so what file do I edit to correct utc to est ?

#date
Wed Feb  1 16:16:51 UTC 2006

in /usr/share/zoneinfo are your timezone files.  copy or symlink the  
correct one to /etc/localtime.



--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] progress in emerge --sync

2006-02-01 Thread Neil Bothwick
On Wed, 01 Feb 2006 12:01:10 -0600, Dale wrote:

> >>When did this start anyway? 

> >--nospinner and --quiet have been there since Adam was a lad.

> I was talking about the progress thing.  Is this the little thing that
> used to hang at 50%?  Or is he talking about something else? 

Something else, the --progress option for rsync. emerge --sync calls
rsync with this option. It seems a bit pointless for emerge --sync, where
the files are so small there isn't time to show progress information
"find /usr/portage/ -size +100k" only finds four files.


-- 
Neil Bothwick

Smoking Can Damage Your HealthUnless us Non-Smokers do it first!


signature.asc
Description: PGP signature


Re: [gentoo-user] udev 084 breaks USB?

2006-02-01 Thread Neil Bothwick
On Wed, 01 Feb 2006 20:27:34 +0100, Alexander Skwar wrote:

> Today I updated from udev-081-r1 to udev-084. Since then,
> I can no longer use my USB devices, like my mouse or my
> flash card reader.

My pendrive still works. i haven't tried my card reader or USB mouse.


-- 
Neil Bothwick

WITLAG: The delay between delivery and comprehension of a joke.


signature.asc
Description: PGP signature


Re: [gentoo-user] CD and DVD indexing tool

2006-02-01 Thread Abhay Kedia
On Wednesday 01 February 2006 08:04, Tom Eastman wrote:
>
> I'm looking for a utility that could be used for indexing the contents
> of the dozens and hundreds of CDRs and DVDRs that I've amassed over the
> years.  I was kind of thinking just a heap of text files with the
> contents of 'tree' or 'ls -R' or something, but it would be nicer if
> there was some kind of metadata gathering, such as ID3 tags / JFIF /
> MPEG info etc. etc.
>
I personally have not tried it but from the looks of it "Katalog" looks good
http://www.kde-apps.org/content/show.php?content=12426

-- 
Regards,
Abhay


pgpUXRo3A9Zjl.pgp
Description: PGP signature


RE: [gentoo-user] [OT] Kmail empty replies

2006-02-01 Thread Michael Kintzios

-Original Message-
From: A. R. [mailto:[EMAIL PROTECTED] 
Sent: 01 February 2006 16:13
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] Kmail empty replies




On 1/31/06, Benno Schulenberg <[EMAIL PROTECTED]> wrote:
A. R. wrote:
> > > I've been having some problems with kmail.
> > > When I reply to a message, the message is delivered blank:
> > > The original message and my response are both blank. 

What exactly do you mean with "the message is delivered blank"?

If you configure KMail and set the Default send method as "Send
Later" (under Accounts > Sending), and you compose a message and 
press Ctrl+Enter, is the message in the outbox blank?

And the original message becomes blank too?  If you reply to a
message, the content of that original message disappears?

You are now using Gmail for sending messages, no?  Please switch of 
the additional HTML you are sending.  And please don't top-post.
(http://www.catb.org/jargon/html/T/top-post.html)

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



Okay mate, no more top-posting...
Thanks, BTW for the link to the correct definition of top-posting :-) I
really did not know for sure what it meant. And, for what I have seen, a
lot of folks get really annoyed by the praactice...
As for the HTML, I could not find in the Gmail settings a way to turn
this off. The only thing that I changed that is remotely similar, was
the UTF-8 encoding (I turned on).

And, with regards to the Kmail issue, I found the following:
1. My replies, as they are stored in the "Sent" folder are not blank.
2. The people I have been replying to, and that have told me that I have
empty replies, use MS Outlook as their e-mail client... so to me, that
in itself could be an explanation of the problem :-)

Anyway, thanks for your help.

- AR
-- 
The absence of war does not mean peace. 
x

There's a  /  selector above the body text
field on the Gmail gui.  So you need to choose the format each time you
compose a message.

Some lists (not sure about this one) consider it an anathema to use
anything but ASCII encoding . . .
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread Nick Rout

On Wed, 1 Feb 2006 11:50:46 -0800 (PST)
maxim wexler wrote:

> sarawak heathen #  /usr/lib/cups/backend/parallel 34
> heathen error_log 1 error_log
> ERROR: Unable to open parallel port device file
> "/usr/lib/cups/backend/parallel": Text file busy
> sarawak heathen # 

looks like it could be a permission error on the parallel port.

what does 

ls -l /dev/lp0 say?

If it is a link to another device file, then give us ls -l on that
device too (mine points to /dev/printers/0)

*cough* one assumes that you have support for the parallel port in your
kernel (either built in or modularised) and if it is a module it is
loaded?




-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ALSA issue

2006-02-01 Thread Franta
Hi, 

I'm back again and immediately have some issues.

ALSA stopped working after some emerge -u world. Maybe something has
changed with ALSA.

While booting I get:

Loading ALSA modules ...
  Loading snd-seq-oss ...   [OK]
  Loading snd-pcm-oss ...   [OK]
Restoring mixer levels ...
/usr/sbin/alsactl: load state:1250: Cannot find soundcard '0' ...
Errors while restoring defaults, ignoring ...
/usr/sbin/alsactl: load state:1250: Cannot find soundcard '1' ...
Errors while restoring defaults, ignoring ...

Sound was working - at least mpeg files were with sound. This started
with an update world somewhen during november last year.

I don't use sound so much but I've started to use ICQ so having it back
on Gentoo too mwould be nice.

Thanks in advance
Frank


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USB issue

2006-02-01 Thread Franta
Hi,

that's me onesmore.

Again the things changed were some emerge -u world.

There are no USB disks coming up anymore. Dunno when this issue came up.

I have a digital camera which I connected to my PC. It came up
as /dev/sdaX and due to my USB settings as /dev/psmart.

I have an USB key, which came up as /dev/sdaX and due to my USB settings
as /dev/cruiser.

I did'nt use any of them for half a year or so. Last week I tried to
save some photos to th PC.

There are the messages about connecting the USB device
in /var/log/messages but no device is coming up.

I've tried the same with the USB stick - the same story.

Has something changed with coldplug/hotplug?

Well, I could save the pictures from the camera or exchange data from
the USB stick using Windows. Half a year ago this was possible with
Gentoo too. I'd prefer this possibility ;)

The only thing I've changed was some update world.

THanks for any help
Frank

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] stubborn distcc compile on localhost

2006-02-01 Thread krutny
Hi,
I'm fighting with distcc and have following problem:

halinka ~ # /usr/lib/distcc/bin/gcc test.c
distcc[28674] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built
Feb  1 2006 00:53:26
distcc[28674] (dcc_recursion_safeguard) safeguard level=0
distcc[28674] (main) compiler name is "gcc"
distcc[28674] (dcc_support_masquerade) not modifying PATH
distcc[28674] (dcc_scan_args) scanning arguments: gcc test.c
distcc[28674] (dcc_scan_args) found input file "test.c"
distcc[28674] (dcc_scan_args) compiler apparently called not for compile
distcc[28674] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3
distcc[28674] exec on localhost: gcc test.c
distcc[28674] (dcc_note_state) note state 5, file "test.c", host "localhost"
distcc[28674] (dcc_spawn_child) forking to execute: gcc test.c
distcc[28675] (dcc_increment_safeguard) setting safeguard:
_DISTCC_SAFEGUARD=1
distcc[28674] (dcc_spawn_child) child started as pid28675
distcc[28674] (dcc_collect_child) cc child 28675 terminated with status 0
distcc[28674] (dcc_collect_child) cc times: user 0.083987s, system
0.027995s, 2132 minflt, 0 majflt
distcc[28674] compile test.c on localhost completed ok
distcc[28674] elapsed compilation time 0.451234s
distcc[28674] (dcc_exit) exit: code 0; self: 0.000999 user 0.000999 sys;
children: 0.083987 user 0.027995 sys
distcc[28674] (dcc_cleanup_tempfiles) deleted 0 temporary files

How is it shown file is compiled on localhost despite:

halinka ~ # distcc-config --get-hosts
192.168.0.2

Where of course localhost != 192.168.0.2

Any ideas what am I doing wrong ?

Greetings,
krutny

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ALSA issue

2006-02-01 Thread Christoph Eckert

> Sound was working - at least mpeg files were with sound. This started
> with an update world somewhen during november last year.

check /etc/modules.d/alsa, that's where your soundcard configuration 
lives. If it doesn't contain a matching configuration, enter it 
manually or run alsaconf as root (it's part of alsa-utils).


Best regards


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



Re: [gentoo-user] stubborn distcc compile on localhost

2006-02-01 Thread Dave Nebinger

How is it shown file is compiled on localhost despite:

halinka ~ # distcc-config --get-hosts
192.168.0.2

Where of course localhost != 192.168.0.2

Any ideas what am I doing wrong ?


I think you need to add a line to your compile hosts like:

localhost/0

I believe this informs distcc not to try to compile on the local host at 
all but use the remote hosts.


Dave

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Franta
Well some details. Here's the syslog for connecting the USB stick:

Feb  1 23:36:03 frankies usb 2-2: new full speed USB device using
ohci_hcd and address 2
Feb  1 23:36:03 frankies usb 2-2: not running at top speed; connect to a
high speed hub
Feb  1 23:36:03 frankies scsi0 : SCSI emulation for USB Mass Storage
devices
Feb  1 23:36:03 frankies usb-storage: device found at 2
Feb  1 23:36:03 frankies usb-storage: waiting for device to settle
before scanning
Feb  1 23:36:08 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
2033
Feb  1 23:36:08 frankies Type:   Direct-Access  ANSI
SCSI revision: 00
Feb  1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  1 23:36:08 frankies sda: Write Protect is off
Feb  1 23:36:08 frankies sda: Mode Sense: 02 00 00 00
Feb  1 23:36:08 frankies sda: assuming drive cache: write through
Feb  1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  1 23:36:08 frankies sda: Write Protect is off
Feb  1 23:36:08 frankies sda: Mode Sense: 02 00 00 00
Feb  1 23:36:08 frankies sda: assuming drive cache: write through
Feb  1 23:36:08 frankies sda: sda1
Feb  1 23:36:08 frankies Attached scsi removable disk sda at scsi0,
channel 0, id 0, lun 0
Feb  1 23:36:08 frankies usb-storage: device scan complete

Seems the hardware is OK.

But ...

frankies ~ # ls /dev/sd*
ls: /dev/sd*: No such file or directory
frankies ~ # 


On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> Hi,
> 
> that's me onesmore.
> 
> Again the things changed were some emerge -u world.
> 
> There are no USB disks coming up anymore. Dunno when this issue came up.
> 
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
> 
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
> 
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.
> 
> There are the messages about connecting the USB device
> in /var/log/messages but no device is coming up.
> 
> I've tried the same with the USB stick - the same story.
> 
> Has something changed with coldplug/hotplug?
> 
> Well, I could save the pictures from the camera or exchange data from
> the USB stick using Windows. Half a year ago this was possible with
> Gentoo too. I'd prefer this possibility ;)
> 
> The only thing I've changed was some update world.
> 
> THanks for any help
> Frank
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Richard Fish
On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> Hi,
>
> that's me onesmore.
>
> Again the things changed were some emerge -u world.
>
> There are no USB disks coming up anymore. Dunno when this issue came up.
>
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
>
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
>
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.

There have been a _lot_ of changes in udev, and most likely your
/etc/udev/rules.d/10-local.rules needs some work.  The most
significant is that for vendor/product/etc matches, you now need "=="
instead of just "=".  Also, all rules are matched, unless you use the
last_rule option, although you can use the ":=" syntax for some things
to prevent later rules from overriding your settings.

Here are my key rules:

# usb disk keys
BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
NAME="%k", SYMLINK="usbkey%n"
BUS=="usb", SUBSYSTEM=="block", SYSFS{product}=="Flash Disk",
KERNEL=="sd[a-z]", NAME="%k", SYMLINK="usbkey"

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Richard Fish
On 2/1/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> There have been a _lot_ of changes in udev, and most likely your

Oh, forgot to mention..."man udev".

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] stubborn distcc compile on localhost

2006-02-01 Thread krutny
Dave Nebinger wrote:

>> How is it shown file is compiled on localhost despite:
>>
>> halinka ~ # distcc-config --get-hosts
>> 192.168.0.2
>>
>> Where of course localhost != 192.168.0.2
>>
>> Any ideas what am I doing wrong ?
>
>
> I think you need to add a line to your compile hosts like:
>
> localhost/0
>
> I believe this informs distcc not to try to compile on the local host
> at all but use the remote hosts.
>
> Dave
>
Will be great but no effect :|

halinka disttestfield # distcc-config --set-hosts 192.168.0.2/1 localhost/0
halinka disttestfield # distcc-config --get-hosts
192.168.0.2 localhost/0
halinka disttestfield # /usr/lib/distcc/bin/gcc test.c
distcc[8705] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built
Feb  1 2006 00:53:26
distcc[8705] (dcc_recursion_safeguard) safeguard level=0
distcc[8705] (main) compiler name is "gcc"
distcc[8705] (dcc_support_masquerade) not modifying PATH
distcc[8705] (dcc_scan_args) scanning arguments: gcc test.c
distcc[8705] (dcc_scan_args) found input file "test.c"
distcc[8705] (dcc_scan_args) compiler apparently called not for compile
distcc[8705] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3
distcc[8705] exec on localhost: gcc test.c
distcc[8705] (dcc_note_state) note state 5, file "test.c", host "localhost"
distcc[8705] (dcc_spawn_child) forking to execute: gcc test.c
distcc[8706] (dcc_increment_safeguard) setting safeguard:
_DISTCC_SAFEGUARD=1
distcc[8705] (dcc_spawn_child) child started as pid8706
distcc[8705] (dcc_collect_child) cc child 8706 terminated with status 0
distcc[8705] (dcc_collect_child) cc times: user 0.066989s, system
0.031995s, 2135 minflt, 0 majflt
distcc[8705] compile test.c on localhost completed ok
distcc[8705] elapsed compilation time 0.099775s
distcc[8705] (dcc_exit) exit: code 0; self: 0.000999 user 0.002999 sys;
children: 0.066989 user 0.031995 sys
distcc[8705] (dcc_cleanup_tempfiles) deleted 0 temporary files

Greetings,
krutny
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] beagled indexing roots

2006-02-01 Thread krgn
hi,

Has anyone a clue why neither beagle-config nor beagle-settings will
allow me to index /usr/share/doc for instance?


[EMAIL PROTECTED] ~ $ beagle-config indexing AddRoot /usr/share/doc 
Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
Error: Could not load configuration from indexing.xml: Exception has
been thrown by the target of an invocation.
Debug: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml
Debug: Loading Beagle.Util.Conf+SearchingConfig from searching.xml
Debug: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml
Debug: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml
Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
Error: Could not load configuration from indexing.xml: Exception has
been thrown by the target of an invocation.
Root added.
Debug: Saving Beagle.Util.Conf+IndexingConfig to indexing.xml

I don't know why it won't accept it.. also, when I use the gui for it,
it does not display what I entered just before.. strange. Is it not
possible to add a dir like /usr to the scheduler queue, or what did I
overlook? I had a look at the configuration files in /etc, but they
don*t tell me much, and I can see with beagle-status that it is only
indexing my home dir.

Thanks, 


Karsten

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Franta
On Wed, 2006-02-01 at 16:06 -0700, Richard Fish wrote:
> On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > that's me onesmore.
> >
> > Again the things changed were some emerge -u world.
> >
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> >
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> >
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> >
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> 
> There have been a _lot_ of changes in udev, and most likely your
> /etc/udev/rules.d/10-local.rules needs some work.  The most
> significant is that for vendor/product/etc matches, you now need "=="
> instead of just "=".  Also, all rules are matched, unless you use the
> last_rule option, although you can use the ":=" syntax for some things
> to prevent later rules from overriding your settings.
> 
> Here are my key rules:
> 
> # usb disk keys
> BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
> NAME="%k", SYMLINK="usbkey%n"
> BUS=="usb", SUBSYSTEM=="block", SYSFS{product}=="Flash Disk",
> KERNEL=="sd[a-z]", NAME="%k", SYMLINK="usbkey"
> 
> -Richard
> 

Hmmm, I'll try to remove my custom settings. But just now, at least
the /dev/sd[a-z][0-9] should come up, shouldn't it?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Stupid Postfix alias question...

2006-02-01 Thread Eric Bliss
I've got a user who wants his mail both kept locally and forked off to another 
server.  Will the following work in the aliases file, or will it create an 
infinite loop?

bob: bob, [EMAIL PROTECTED]

I'm thinking it should work safely, but I can't seem to find the reference to 
in in the documentation, although I know it's gotta be in there somewhere.

-- 
Eric Bliss
systems design and integration,
CreativeCow.Net
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Stroller


On 1 Feb 2006, at 18:27, Peter Volkov (pva) wrote:


On Пнд, 2006-01-30 at 17:03 -0800, Grant wrote:

I've heard that data can be recovered from a formatted hard
diskIs it true?


Short answer for your question is... No. It's not true.

...

suppose you have deleted file. This operation only
removes entry in you directory table, but not the file itself. Or you
did format you hard drive. That will rebuild only file structure on  
you

hard drive. Normally that means that you overwrite about 5% of you
drive. All other data is intact. Just read it.


I think you just contradicted yourself.



...If you do `dd if=/dev/zero of=/dev/hdd then there is no
chances you'll get you data. Why? Because all byte and bits on your  
hard

drive became 0.


This is not what normally (or at least, _always_) happens when you  
format a hard-drive.


Stroller.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Stroller


On 31 Jan 2006, at 13:19, Schleimer, Ben wrote:


I understand that writing zeros over the file should permanently  
delete the data but couldn't the data be cached elsewhere on the  
drive...


On 31 Jan 2006, at 13:31, Schleimer, Ben wrote:


I just read the docs for shred and it doesn't guarantee that the  
data will be erased on a journalling file-system.


A solution to this is to shred the whole drive.

Stroller.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Stroller


On 31 Jan 2006, at 16:32, Alexander Skwar wrote:

Stroller wrote:

... a data recovery
specialist last year offered to return 17gigs worth of data from a
hard drive that had died containing only 8 gigs of files.


Died hard drives are a *COMPLETELY* different matter.


The additional 9gigs of data were files that had been deleted and not  
over-written. Not a "completely different matter" at all, as  
formatting may only delete & replace the partition table.


Stroller.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] evolution won't play new mail sound

2006-02-01 Thread Iain Buchanan
Hi all,

I'm using gnome-light, so chances are there's something not installed
that should be, but evolution won't play the sound file I've specified
for new mail.  I can play the .wav file manually using aplay.

Does anyone know what evo uses to play audio?  I also have esound
installed.  I tried running `esddsp evolution` but no sound either :(

I tried turning on sounds for events, logged out and in again, but I
don't get any sounds for events either ??!!

any ideas?

TIA,
-- 
Iain Buchanan 

The greatest remedy for anger is delay.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AMD 64 bit system selections

2006-02-01 Thread Bob Sanders

> For video data, use a linear stripe across two controllers.  And at least 
> three controllers
> for HD video.  But HD video requires SCSI or SAS, stripped across multiple 
> controllers and
> 15Krpm drives in the arrays.


I should be a bit more detailed.  For -

Uncompressed SD video - 60 MB/s sustained. 3 to 4 IDE drives striped 
will do.
Uncompressed HD video, up to 1080i - 270 MB/s sustained - 3 disk 
controllers,
3 disk arrays, 15 Krpm drives.
Uncompressed HD video 1080p or 4:4:4:4 or dual-link - 360 MB/s 
sustained - 4
disk controllers, 4 disk arrays, 15 Krpm drives.

Compressed SD video - mpeg2, 480P, DVpro - 20 MB/s sustained - 1 disk 
controller,
7200 rpm drives, single array.  2 streams requires Uncompressed 
SD bandwidth.

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



Re: [gentoo-user] Re: ntp won't synchronize

2006-02-01 Thread W.Kenworthy
Default behaviour is that if the time zone is off by more than a preset
amount (I think 128ms) it will refuse to sync, and silently fails.

Read the docs for the config file command "tinker panic 0" (and its
implications) which will remove the limitation and allow stepping to the
new time.

Also ntpd can be started with the -g arg to get the same effect.


BillK


On Wed, 2006-02-01 at 19:25 +, James wrote:
> Devon Miller  gmail.com> writes:
> 
> > Make sure you have told you firewall to allow port 123 for both TCP &
> > UDP.I had the same behavior until I did that.dcm
> 
> Well my firewall should allow outgoing initiated sessions from the
> ntpd (internal) server. From what I read, the remote ntpd server 
> does not initiate communications, it my server that initates the
> communications?
> 
> That assumed, my firewall rules (which are undergoing revision) are ok?
> 
> OK, I'm new to ntpd, but it looks straightforward.
> 
> after emerging, I started up ntpd and added it to the default run level.
> Then I checked and got:
> 
> ntpq -p
>  remote   refid  st t when poll reach   delay   offset  jitter
> ==
>  ecoca.eed.usv.r 80.96.120.2532 u8   641  202.639  1436722   0.001
> 
> then:
> # date
> Wed Feb  1 14:58:04 Local time zone must be set--see zic manual page 2006
> 
> 
> /etc/localtime is a lock file so where do I correct/set the time zone to
> EST (eastern standard time) so ntpd will see it can correct my actual time
> (it's off by a little more than (1) hour.
> 
> But now when I run 'ntpq -p' I get:
> ntpq: read: Connection refused
> 
> What did I mess up or miss?
> 
> 
> James
> 
> 
> 
> 
> 
> 
> 
> man zic and man ntpd did not help, or I missed the file to edit or the 
> correct command syntax
> 
> James
> 
> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stupid Postfix alias question...

2006-02-01 Thread Patrick Börjesson
On 06/02/01 16:32, Eric Bliss wrote:
> I've got a user who wants his mail both kept locally and forked off to 
> another 
> server.  Will the following work in the aliases file, or will it create an 
> infinite loop?
> 
> bob: bob, [EMAIL PROTECTED]
> 
> I'm thinking it should work safely, but I can't seem to find the reference to 
> in in the documentation, although I know it's gotta be in there somewhere.

According to `man 8 local` on line 56, it seems what you're trying to do
should work as you wrote it.

-- 
/  Patrick Börjesson
\ ---
/  ()  The ASCII Ribbon Campaign - against HTML Email
\  /\   and proprietary formats.


pgppXE6Zx35hS.pgp
Description: PGP signature


[gentoo-user] can't compile some C++ apps

2006-02-01 Thread Daniel Vrcic
Hi list!

I have some strange problems with compilation of C++ apps. I've done
numerous emerges today and it turns out that _only_ compilation of
some C++ applications fail(?!). I get always the same error message:
"internal compiler error: Segmentation fault". For example avidemux has
some part of source written in C++. While compilation of .c part goes
very well it suddenly breaks with compiling .cpp file (some of .cpp
files actually pass) and emerge spits out:

-
   ADM_vorbis::run(uint8_t*, unsigned int, uint8_t*, uint32_t*)':
audiocodec_ogg.cpp:187: internal compiler error: Segmentation fault
-

I get the similar error with wxGTK, kdelibs, libvisual-plugins and few
others, but not with filelight for example(see below).

 wxGTK
*
from
/var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/src/common/appbase.cpp:34:
/var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/include/wx/longlong.h:
In member function `bool wxULongLongNative::operator<(long unsigned int) const':
/var/tmp/portage/wxGTK-2.6.2-r1/work/wxWidgets-2.6.2/include/wx/longlong.h:472:
internal compiler error: Segmentation fault
-

 kdelibs
*
kshortcut.cpp: In member function `bool KKeySequence::init(const 
KKeySequence&)':
kshortcut.cpp:262: internal compiler error: Segmentation fault
-

 libvisual-plugins
*
UtilStr.cpp: In member function `void UtilStr::Assign(CEgIStream&, long int)':
UtilStr.cpp:299: internal compiler error: Segmentation fault
-


I have also successfully compiled some C applications today and none of
them teased me as C++ ones had.

[11] % genlop --list --date yesterday today
 * sys-fs/mdadm

 Wed Feb  1 14:51:52 2006 >>> sys-fs/mdadm-1.12.0
 Wed Feb  1 15:07:09 2006 >>> media-sound/xmms-1.2.10-r15
 Wed Feb  1 17:31:08 2006 >>> media-libs/libvisual-0.2.0
 Wed Feb  1 17:31:42 2006 >>> media-plugins/xmms-libvisual-0.2.0
 Wed Feb  1 18:09:02 2006 >>> www-client/elinks-0.10.6
 Wed Feb  1 22:59:54 2006 >>> sys-apps/memtester-4.0.3
 Wed Feb  1 23:21:02 2006 >>> net-analyzer/tcpdump-3.9.3
 Wed Feb  1 23:22:41 2006 >>> media-fonts/terminus-font-4.14-r1
 Wed Feb  1 23:29:16 2006 >>> net-news/liferea-1.0-r1
 Wed Feb  1 23:30:13 2006 >>> media-sound/beep-media-player-0.9.7-r8
 Thu Feb  2 02:14:24 2006 >>> media-libs/libvisual-0.2.0
 Thu Feb  2 02:44:55 2006 >>> dev-libs/libcdio-0.73
 Thu Feb  2 02:47:06 2006 >>> media-video/vcdimager-0.7.21
 Thu Feb  2 03:32:14 2006 >>> media-video/mplayer-1.0_pre7-r1
 Thu Feb  2 03:50:22 2006 >>> kde-misc/filelight-1.0_beta6

+ three manual kernel compilations.

I have three RAM modules and memtest86+ doesn't report any error on
either of them. I also don't experience any sudden application crashes
(except emerging :) ).


You might be interested at

[12] % gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6 *
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp

[13] % eix '^glibc$' | grep Installed
 Installed:   2.3.5-r1

[14] % emerge info 
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse
-mmmx -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/ qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse
-mmmx -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distribution s/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X abook apm audiofile avi berkdb bitmap-fonts bonobo bzip2 cdb
cdparanoia cdr crypt cscope cups curl divx4linux doc dvd dvdr dvdread
eds emboss encode exif expat fam ffmpeg fl ac foomaticdb fortran gd
gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idn
imagemagick imlib ipv6 java jpeg ldap libg++ libwww lirc mad maildir
matroska mbox mikmo d mmx mmx2 mmxext mng motif mp3 mpeg mysql ncurses
nls nvidia ogg oggvorbis opengl oss pam p cre pdflib perl png python qt
quicktime readline recode rtc ruby sblive sdl slang spell sse sse2 ssl
svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb
v4l v4l2 vo rbis win32codecs xgetdefault xine xml xml2 xmms xosd xv xvid
zlib zvbi userland_GNU kernel_l inux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS


The only significant thing I've done recently and think it's worth of
mentioning is that I've moved / and /home from reiserfs to ext3.

Please, can someone shed up some light on this.

Cheers, 
-- 
Daniel Vrcic
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stupid Postfix alias question...

2006-02-01 Thread John Jolet


On Feb 1, 2006, at 6:32 PM, Eric Bliss wrote:

I've got a user who wants his mail both kept locally and forked off  
to another
server.  Will the following work in the aliases file, or will it  
create an

infinite loop?

bob: bob, [EMAIL PROTECTED]

I'm thinking it should work safely, but I can't seem to find the  
reference to
in in the documentation, although I know it's gotta be in there  
somewhere.



i'm thinking that's a loop.  procmail would be a better choice for that.

--
Eric Bliss
systems design and integration,
CreativeCow.Net
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Grant
> > I've heard that data can be recovered from a formatted hard
> > disk.  Lucky for me I don't have any interest in actually doing this,
> > but I got in an argue\ment with a buddy last night about whether or
> > not it was possible.  I'm sure I've read that the government and other
> > well-funded institutions have this capability.  Is it true?
>
> What a long thread, full of myths. But there are no miracles :)
>
> Short answer for your question is... No. It's not true.
>
> Having some experience in field of data recovery I'm not going to dive
> into my real stories. I'll better give some general hints.
>
> Answer on your question depends on how hard drive was formatted or how
> it was crashed. If you do `dd if=/dev/zero of=/dev/hdd then there is no
> chances you'll get you data. Why? Because all byte and bits on your hard
> drive became 0. dot. If you heard about remanence or that 0 is a bit 1
> and that some big craft apparatus can read such data, think about hard
> drive manufacturers. They spend big efforts to make hard drive a bit
> more capacious. So why they leave free space for additional information
> on your hard drive, which you have when you think about space between
> tracks or under-rotation of magnetic domains?
>
> But than you may ask. What does data recovery companies can do?
>
> Well. The best they can do is to read files from you hard drive when it
> contains them! So suppose you have deleted file. This operation only
> removes entry in you directory table, but not the file itself. Or you
> did format you hard drive. That will rebuild only file structure on you
> hard drive. Normally that means that you overwrite about 5% of you
> drive. All other data is intact. Just read it.
>
> But what I mean by reading deleted file? You may get filling about that
> with grep. Actually grep is the first utility to do data recovery. It's
> very easy to use but very powerful if you know what are you looking for.
> just try:
> # grep "/etc/fstab: static file system information" -B1 -A10 /dev/hda
> and you will find you fstab on hard drive even after you remove it. If
> you grep for "PDF-1." you will find some pdf files. There are special
> programs for data recovery, that know many different patterns, but
> internally work like grep. Of course, there are problems if, fex, file
> is big enough and it is not written in consequent blocks of hard drive
> or if some parts of file are overwritten...
>
> But what about big machines??? What they are for? You may find some of
> them searching in google, fex, on data recovery sites. Well they are
> used in a situation when hard drive was broken mechanically or internal
> hard drive logic is broken (fex, due to bad blocks). If you hard drive
> is broken mechanically, you have to find another identical (see serial
> number...) hard drive and then you should open them and move disks from
> hard drive with broken mechanics into new one. After that hard drive is
> broken. You can not just plug in and use because unique, hard drive
> specific information like where to look for zero track is lost. But that
> machine allows you to "control" heads, you have possibility to read that
> hard drive. After that use grep to search for your files in the raw
> stream of data.
>
> You may find some interesting information about data recovery in google.
> But as I told you. No miracles. Sorry. =)
>
> HTH,
> Peter.

Thanks Peter.  That is quite contrary to what most of the other posts
in this thread are saying.  Those are all just rumors and myths?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't compile some C++ apps

2006-02-01 Thread Richard Fish
On 2/1/06, Daniel Vrcic <[EMAIL PROTECTED]> wrote:
> Hi list!
>
> I have some strange problems with compilation of C++ apps. I've done
> numerous emerges today and it turns out that _only_ compilation of
> some C++ applications fail(?!). I get always the same error message:
> "internal compiler error: Segmentation fault". For example avidemux has
> some part of source written in C++. While compilation of .c part goes
> very well it suddenly breaks with compiling .cpp file (some of .cpp
> files actually pass) and emerge spits out:

Segfaults compiling are almost always a hardware issue. memtest86 is
just about useless today, as it cannot detect problems due to dma or
memory timings.

Try the memtest script available at:

http://people.redhat.com/dledford/memtest.html

The other thing I would try is to take out the -mmmx, -msse2, and
-mfpmath=sse flags.  They will be enabled for those ebuilds where it
is safe to do so by the USE flags.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Installed vs. Running (new feature suggestion)

2006-02-01 Thread Grant
A while ago I posted a question to this list asking how to be sure
updated software has taken effect on your machine.  Gentoo makes it
easy to install updated software, but what about being sure the newly
updated software is actually running in place of the old version?  The
concensus seemed to be that there are really only two ways to do this:

1. know enough about the updated software that, if necessary, you can
run the appropriate commands to make it take effect

or:

2. reboot

Neither of these seem practical to me.  What about a new Gentoo
feature that either:

1. keeps track of what needs to be done for each update to take effect
and can report whether or not that has been done since updating
(probably not so good)

or:

2. reports what version of installed software is actually running and
it's up to the user to figure out what needs to be done if installed
and running software versions do not match (probably better)

What do you think?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Dale
Grant wrote:

>
>Thanks Peter.  That is quite contrary to what most of the other posts
>in this thread are saying.  Those are all just rumors and myths?
>
>- Grant
>
>  
>


I think we all know it can be done.  Governments do it all the time. 
Data recevery people do it too.  Years ago I worked at a computer place
and the hard drive crashed.  The heads physically pulled up the magnetic
media in a couple places.  They still got almost 80% of the data back. 
Funny thing was, they repaired the heads that did all the scratching and
got the data with them, so they said anyway.

I'm sure the NSA, CIA and a few others can get data back off just about
anything.  It's just a matter of how much money you want to spend and
how much time you want to put into it.

Now to get some sleep.  I got to go see my lady tomorrow.  This one is
getting serious.  Cute too.  :D

Dale
:-)


-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 
80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  
Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB 
drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up 
as servers.  

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] upgrade/downgrade portage loop

2006-02-01 Thread Grant
Hello, I have the following in package.keywords:

xfce-base/libxfce4mcs
xfce-base/libxfcegui4
xfce-base/libxfce4util

They need to be in there for xfmedia.  Whenever I run 'emerge -avDuN
world' portage wants to either upgrade or downgrade between the two
most recent ~x86 versions of the packages.  Does anyone know how to
fix this?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sata Controllers and drives

2006-02-01 Thread Brett I. Holcomb
Well, I have this controller - it arrived today.  Did you have to do anything 
to get I've booted the LiveCD and the controller is listed in lspci.  
However, EVMS doesn't show any volumes nor does anything show up under scsi 
in /dev/  I haven't found anything on the list or forum that has helped yet

Thanks.

On Monday January 9 2006 10:35, Bill Roberts wrote:
> I just bought this sata controller:
>
> SYBA SY-VIA-150 PCI SATA /IDE Combo Controller Card, Non Raid
>
> Cost was $11.60 at Newegg. Gives you two satas, one ide. Only has one sata
> cable with it, and you will need sata power-adapters, depending on the sata
> drives you buy. Works well with the following kernel settings.
>
> CONFIG_SCSI=y
> CONFIG_SCSI_SATA=y
> CONFIG_SCSI_SATA_VIA=y
> CONFIG_SCSI_QLA2XXX=y
>
> Good luck.
>
> Bill Roberts
>
> On 20:50 Sun 08 Jan , Brett I. Holcomb wrote:
> > I have a system I need to upgrade from SCSI with an Adaptec 3210S RAID
> > (I'm using HItachi nee IBM SCSI Ultrastor drives which aren't holding up
> > too well) and am looking at going with SATA.  Some input from the those
> > with recommendations or experiences would be appreciated.
> >
> > 1.  SATA Controllers - I see a bunch listed in menuconfig but what have
> > you found to work? Is Promise any good?  What are some good brands
> >
> > 2.  Sata drives - what have you found to be reliable and work well.  I've
> > crossed Hitachi off my list because of my experience with the
> > Ultrastores.
> >
> > Thank you.
> >
> > --
> >
> > Brett I. Holcomb
> > --
> > gentoo-user@gentoo.org mailing list

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Richard Fish
On 2/1/06, Grant <[EMAIL PROTECTED]> wrote:
> Thanks Peter.  That is quite contrary to what most of the other posts
> in this thread are saying.  Those are all just rumors and myths?

I think for what would be available for you, me, or ${megacorp} to
use, yes, it is rumor and myth.  As I mentioned previously, the
density of data on modern drives makes surface analysis (by which I
mean anything that does not simply read the drive with standard drive
electronics and and search the resulting data) very difficult.  I
would say impossible, but we simply don't know what techniques are
available to the NSA or other government agencies to use.

Again, my *guess* is that with a *very* modern drive where the
manufacturers simply cannot squeeze any more data onto the platter,
that even the NSA would not be able to recover any data.  But it may
be that is just what they /want/ us to think...

I posted this before, but it is the best and most thorough study I
could find on this topic:

http://www.simson.net/clips/academic/2003.IEEE.DiskDriveForensics.pdf

And another paper referenced in the above study:

http://www.cryptoapps.com/~peter/usenix01.pdf

This paper talks about physical scanning of memory devices for
encryption keys, so is a bit off-topic (even for this off-topic
thread), but it should give you a hint of what kind of effort would be
required to try and recover overwritten data from a hard disk.

Just a quick quote from the Peter Gutmann paper:


Finally, however, the best defence against data remanence problems in
semiconductor memory is, as with the related problem of data stored on
magnetic media, the fact that ever-shrinking device dimensions (DRAM
density is increasing by 50% per year [74]), and the use of novel
techniques such as multilevel storage (which is being used in flash
memory and may eventually make an appearance in DRAM as well [75]) is
making it more and more difficult
to recover data from devices. As the 1996 paper suggested for magnetic
media, the easiest way to make the task of recovering data difficult
is to use the newest, highest-density (and by extension most exotic)
storage devices available.


-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] upgrade/downgrade portage loop

2006-02-01 Thread Richard Fish
On 2/1/06, Grant <[EMAIL PROTECTED]> wrote:
> Hello, I have the following in package.keywords:
>
> xfce-base/libxfce4mcs
> xfce-base/libxfcegui4
> xfce-base/libxfce4util
>
> They need to be in there for xfmedia.  Whenever I run 'emerge -avDuN
> world' portage wants to either upgrade or downgrade between the two
> most recent ~x86 versions of the packages.  Does anyone know how to
> fix this?

Use package.mask to mask out the more recent version.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sata Controllers and drives

2006-02-01 Thread Brett I. Holcomb
Got it.  I had to disable the onboard IDE - the "docs" indicated this 
controller would coexist with the on-board but evidently it doesn't.  I'll do 
more research later.  hopefully I can use one IDE on the motherboard so I can 
have my DVDs on two separate busses.


On Wednesday February 1 2006 23:53, Brett I. Holcomb wrote:
> Well, I have this controller - it arrived today.  Did you have to do
> anything to get I've booted the LiveCD and the controller is listed in
> lspci. However, EVMS doesn't show any volumes nor does anything show up
> under scsi in /dev/  I haven't found anything on the list or forum that has
> helped yet
>
> Thanks.
>
> On Monday January 9 2006 10:35, Bill Roberts wrote:
> > I just bought this sata controller:
> >
> > SYBA SY-VIA-150 PCI SATA /IDE Combo Controller Card, Non Raid
> >
> > Cost was $11.60 at Newegg. Gives you two satas, one ide. Only has one
> > sata cable with it, and you will need sata power-adapters, depending on
> > the sata drives you buy. Works well with the following kernel settings.
> >
> > CONFIG_SCSI=y
> > CONFIG_SCSI_SATA=y
> > CONFIG_SCSI_SATA_VIA=y
> > CONFIG_SCSI_QLA2XXX=y
> >
> > Good luck.
> >
> > Bill Roberts
> >
> > On 20:50 Sun 08 Jan , Brett I. Holcomb wrote:
> > > I have a system I need to upgrade from SCSI with an Adaptec 3210S RAID
> > > (I'm using HItachi nee IBM SCSI Ultrastor drives which aren't holding
> > > up too well) and am looking at going with SATA.  Some input from the
> > > those with recommendations or experiences would be appreciated.
> > >
> > > 1.  SATA Controllers - I see a bunch listed in menuconfig but what have
> > > you found to work? Is Promise any good?  What are some good brands
> > >
> > > 2.  Sata drives - what have you found to be reliable and work well. 
> > > I've crossed Hitachi off my list because of my experience with the
> > > Ultrastores.
> > >
> > > Thank you.
> > >
> > > --
> > >
> > > Brett I. Holcomb
> > > --
> > > gentoo-user@gentoo.org mailing list
>
> --
>
> Brett I. Holcomb

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stupid Postfix alias question...

2006-02-01 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric Bliss wrote:
> I've got a user who wants his mail both kept locally and forked off to 
> another 
> server.  Will the following work in the aliases file, or will it create an 
> infinite loop?
> 
> bob: bob, [EMAIL PROTECTED]
> 
> I'm thinking it should work safely, but I can't seem to find the reference to 
> in in the documentation, although I know it's gotta be in there somewhere.

It will work fine with postfix ;-) I use this system at work too
(although with local users only) when people are on vacation and get
their mail (copy) forwarded to another person.

user1:  user1,user2,user3

This way user1 still gets his original copy, and the other 2 a copy of
it too.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD4a45Ct0ZF9kLPvYRAojpAKCj3Qy9X8Bhb8oN3+pYg9VCc1dPdgCfXXgh
N9ar/2doc55+NPEK885yNyw=
=DDQd
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installed vs. Running (new feature suggestion)

2006-02-01 Thread Graham Murray
Grant <[EMAIL PROTECTED]> writes:

> A while ago I posted a question to this list asking how to be sure
> updated software has taken effect on your machine.  Gentoo makes it
> easy to install updated software, but what about being sure the newly
> updated software is actually running in place of the old version?  The
> concensus seemed to be that there are really only two ways to do this:

A third way. Run (as root)

lsof | grep -i del

This will allow you to see which applications are using deleted files
(ie those that have been replaced). Then you just have to restart the
applications concerned.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia and X

2006-02-01 Thread Stefan Istvan
> Hi,
> 
> load the module before starting X.

Hello,
I got three answers to my question, and I answer now for all of the
three here:

Istvan, Hermann:
I installed the nvidia-kernel ebuild, and I load the nvidia kernel
module before starting X.
# lsmod|grep nvidia
nvidia   3469788  0 
agpgart34508  2 nvidia,via_agp

I realised that I have another nvidia kernel module:
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/char/agp/nvidia-agp.ko
Unfortunately X doesn't start with this module either.

Neil:
Yes, I know that the new version of Nvidia driver does not support my
card, when I tried to install it warned me about it. So, I put those two
lines into the package.mask file, and I installed
nvidia-kernel-1.0.6629-r4 and nvidia-glx-1.0.6629-r6.

I think, that X complains not about the kernel module, but the nvidia
module of Xorg, which is located in
/usr/lib/modules/drivers/nvidia_drv.o and part of the nvidia-glx
package.

Here is some part of the X log:
(--) PCI:*(1:0:0) nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64
Pro] rev 21, Mem @ 0xf400/24, 0xf600/25, BIOS @ 0xf5ff/16

(II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xF600
(--) NVIDIA(0): MMIO registers at 0xF400
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

If other part of the log is needed to find out what's wrong, tell me,
and I will provide it.


Thank you,
Istvan



-- 
gentoo-user@gentoo.org mailing list