Re: [gentoo-user] Splitting gentoo into /usr and /usr/local

2010-05-27 Thread Alan McKinnon
I doubt that could ever work. How would you deal with an ebuild moving from
unstable to stable?

On 27 May 2010 2:22 AM, meino.cra...@gmx.de wrote:


Hi,

 is there any reasonable way to keep any stable
 installation (those done without using ~x86 in
 package.keywords) in /usr while anything installed
 as unstable (using ~x86) under /usr/local ?

 best regards,
 mcc

--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.


Re: [gentoo-user] fluxbox startup

2010-05-27 Thread Mick
On Thursday 27 May 2010 03:53:48 Madhurya Kakati wrote:
 The xdm conf file has display manager as gdm. I guess changing that to
 xdm would help.

No it won't.  

/etc/init.d/xdm will launch whichever DISPLAYMANAGER= you have set up in 
/etc/conf.d/xdm.
-- 
Regards,
Mick


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


Re: [gentoo-user] Splitting gentoo into /usr and /usr/local

2010-05-27 Thread justin
On 27/05/10 02:22, meino.cra...@gmx.de wrote:
 
 Hi,
 
  is there any reasonable way to keep any stable 
  installation (those done without using ~x86 in
  package.keywords) in /usr while anything installed
  as unstable (using ~x86) under /usr/local ?
 
  best regards,
  mcc
 
As per definition /usr/local is only for user stuff, no ebuild will ever
install into it anything. But what you can di is using a prefix:


http://www.gentoo.org/proj/en/gentoo-alt/prefix/

http://blog.jolexa.net/2010/03/23/installing-gentoo-prefix-on-a-gentoo-linux-host/

justin



signature.asc
Description: OpenPGP digital signature


[gentoo-user] [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow

2010-05-27 Thread Mr. Teo En Ming (Zhang Enming)

Hi,

First, I would like to apologize for the out-of-topic post. I will keep 
this as short as I possibly could.


Does anybody know Dr. Francis T. Seow, the former Solicitor-General from 
the Republic of Singapore? I want to contact him but can't seem to find 
his email address or telephone number on the internet. Could you help me?


Do you also know how I can contact all the justices of the Judicial 
Committee of the UK Privy Council and all the Lords of the UK House of 
Lords? According to the UK Parliament website, it says that many Peers 
do not have public email addresses.


I would like to apologize again for using this platform to get my 
message across as my email accounts may have been compromised.


Thank you very much.

Yours sincerely,

Mr. Teo En Ming
Hanyu Pinyin Name: Zhang Enming
Facebook: Teo En Ming (Zhang Enming)
Photo (1): http://img26.imageshack.us/img26/7534/enmingteodscf2511.jpg
Photo (2): http://i.imgur.com/CLifZ.jpg
Mobile Phone (Starhub Pre-paid): +65-8369-2618
Singapore Citizen



Re: [gentoo-user] Re: Harddisk trouble ... or not yet?

2010-05-27 Thread Stroller


On 27 May 2010, at 01:19, meino.cra...@gmx.de wrote:

...
Is there any way to check the disk without damaging its
contents?



If you have copied from /dev/sda to /dev/sdb then `md5sum /dev/sda / 
dev/sdb` will compare both drives. You're probably safest to compare a  
partition at a time `md5sum /dev/sda1 /dev/sdb1` to make sure the free  
space at the end of the drive don't throw things off. I'm pretty sure  
I've used this successfully.


Stroller.




Re: [gentoo-user] Re: Harddisk trouble ... or not yet?

2010-05-27 Thread Andrea Conti
 I was more thinking of a tool, which test the whole disc surface
 and reports every bad sector.

badblocks -wvs (which takes forever, but in my experience is quite good
at make failing disks actually fail ;)

During the test you can monitor the smart attributes (smartctl -A, esp.
the reallocated sector count) to see what is actually going on.

Warning: backup your data as badblocks in destructive mode will wipe the
disk clean.

Also, you can run a SMART offline long test (smartctl -t long), which
will scan the whole surface. But on most disks the test stops at the
first error, so you don't get a complete picture.

 Smarts is more of statistical kind: It counts events and tries
 to calculate dooms day from that ;)

That's just a part of it. Attribute values and the error log actually
provide useful information about the status of the disk.

andrea



[gentoo-user] Re: [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow

2010-05-27 Thread Mr. Teo En Ming (Zhang Enming)

Dear Christopher,

I have sent countless emails to many governmental, non-governmental and 
international organizations in the world with the subject Plea for 
Medical Help/Assistance. But surprisingly I get very few replies. Maybe 
the replies have been deleted or the emails I sent have been deleted.


My neighbours claim to have passwords to my email accounts.

---
Mr. Teo En Ming
Hanyu Pinyin Name: Zhang Enming
Facebook: Teo En Ming (Zhang Enming)
Photo (1): http://img26.imageshack.us/img26/7534/enmingteodscf2511.jpg
Photo (2): http://i.imgur.com/CLifZ.jpg
Mobile Phone (Starhub Pre-paid): +65-8369-2618
Singapore Citizen




On 05/27/2010 01:59 PM, Christopher Chan wrote:
   

Do you also know how I can contact all the justices of the Judicial
Committee of the UK Privy Council and all the Lords of the UK House of
Lords? According to the UK Parliament website, it says that many Peers
do not have public email addresses.

In Lucid you will find them in /etc/email/PrivyCouncil.txt and 
/etc/email/HouseOfLords.txt
 

Or he could just ask the Lord of Privies. In fact, I reckon he'd even be
invited for tea too.

   






[gentoo-user] emerge --keep-going but it doesn't

2010-05-27 Thread Dale

Hi folks.

I'm doing a fresh install onto another hard drive.  Just felt like doing 
a fresh one instead of copying.  Anyway, I got most everything 
installed.  I was doing my last set of installs, things like seamonkey, 
firefox, pigdin, gtkam and all the other programs I use for this and 
that.  I did copy my old make.conf over from the old install.  I have 
the --keep-going option in there.  Who wants to start a LARGE emerge to 
have it stop for some package that isn't a big deal?


I'm sure people have heard of googleearth and the file size mismatch 
problem.  I thought it was fixed since I have not had the issue in a 
good while.  Anyway, it appears it wasn't fixed.  Portage stopped 
because of this package and while it should be finished, it now has 
about another 7 hours of compile time.


Can someone explain to me why it stopped instead of finishing with the 
other packages?  Googleearth is not a library and nothing else depends 
on it either.  It failing is not a issue.  I would much rather portage 
to have emerged the rest then told me googleearth was having its usual 
bad hair day.


Is there another option I can use that I don't know about?

Thanks.

Dale

:-)  :_)



Re: [gentoo-user] Something happened on the way to X : solved

2010-05-27 Thread Dale

alain.didierj...@free.fr wrote:

Selon Dalerdalek1...@gmail.com:

   

alain.didierj...@free.fr wrote:
 

Installing Gentoo on my computer... with
ACCEPT_KEYWORDS=amd64
VIDEO_CARDS=fglrx
INPUT_DEVICES=evdev

everything's fine until I emerge xorg-server, which returns:

[ebuild  N] x11-base/xorg-drivers-1.7  INPUT_DEVICES=evdev -acecad
   

-aiptek
 

-joystick -keyboard -mouse -penmount -synaptics -tslib -virtualbox -vmmouse
-void -wacom VIDEO_CARDS=fglrx -apm -ark -ast -chips -cirrus -dummy
   

-epson
 

-fbdev (-geode) -glint -i128 (-i740) (-impact) -intel -mach64 -mga
   

-neomagic
 

(-newport) -nv (-nvidia) -r128 -radeon -radeonhd -rendition -s3 -s3virge
   

-savage
 

-siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6)
   

(-sunffb)
 

(-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox
-vmware (-voodoo) (-xgi)
[ebuild  N] x11-libs/libXinerama-1.1  USE=-debug
[ebuild  N] x11-base/xorg-server-1.7.6  USE=hal nptl xorg -debug -dmx
   

-ipv6
 

-kdrive -minimal -sdl -tslib
[ebuild  N] x11-drivers/ati-drivers-9.11  USE=modules (multilib)
   

-debug
 

[ebuild  N] x11-drivers/xf86-input-evdev-2.3.2  USE=-debug
[blocks B ]=x11-base/xorg-server-1.7.0 (=x11-base/xorg-server-1.7.0
   

is
 

blocking x11-drivers/ati-drivers-9.11)

   * Error: The above package list contains packages which cannot be
   * installed at the same time on the same system.

('ebuild', '/', 'x11-drivers/ati-drivers-9.11', 'merge') pulled in by
  x11-drivers/ati-drivers required by ('ebuild', '/',
'x11-base/xorg-drivers-1.7', 'merge')

('ebuild', '/', 'x11-base/xorg-server-1.7.6', 'merge') pulled in by
  =x11-base/xorg-server-1.5.3-r7 required by ('ebuild', '/',
'x11-drivers/ati-drivers-9.11', 'merge')
  xorg-server
  =x11-base/xorg-server-1.6.3 required by ('ebuild', '/',
'x11-drivers/xf86-input-evdev-2.3.2', 'merge')


-- SNIP-
   

I don't use ATI but I think I read here a while back that ATI drivers
have to be compatible with certain versions of xorg.  You may want to
see if you can use a newer version of the ATI drivers.

You can look at the ebuild to see what exact versions.  From what i
read, it looks like you may need the 10 series instead of the 9 series.
Then again, it is sometimes backwards from what I am thinking.  May be
worth testing anyway.

 

emerging ~amd64 drivers (x11-drivers/ati-drivers-10-4) did the job.

   


Glad to have helped.  Sort of surprised since I don't know anything 
about ATI cards.  o_O


Dale

:-)  :-)



[gentoo-user] Re: [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow

2010-05-27 Thread Mr. Teo En Ming (Zhang Enming)

Dear Christopher,

I have sent countless emails to many governmental, non-governmental and 
international organizations in the world with the subject Plea for 
Medical Help/Assistance. But surprisingly I get very few replies. Maybe 
the replies have been deleted or the emails I sent have been deleted.


EDIT: I overheard my neighbours claiming to have passwords/access to my 
email accounts.


---
Mr. Teo En Ming
Hanyu Pinyin Name: Zhang Enming
Facebook: Teo En Ming (Zhang Enming)
Photo (1): http://img26.imageshack.us/img26/7534/enmingteodscf2511.jpg
Photo (2): http://i.imgur.com/CLifZ.jpg
Mobile Phone (Starhub Pre-paid): +65-8369-2618
Singapore Citizen




On 05/27/2010 01:59 PM, Christopher Chan wrote:



Do you also know how I can contact all the justices of the Judicial
Committee of the UK Privy Council and all the Lords of the UK House of
Lords? According to the UK Parliament website, it says that many Peers
do not have public email addresses.

In Lucid you will find them in /etc/email/PrivyCouncil.txt and 
/etc/email/HouseOfLords.txt


Or he could just ask the Lord of Privies. In fact, I reckon he'd even be
invited for tea too.








Re: [gentoo-user] danger-deep

2010-05-27 Thread Arttu V.
On 5/27/10, Iain Buchanan iai...@netspace.net.au wrote:
 On Wed, 2010-05-26 at 17:45 +, James wrote:
 Folks,

 I just had to share this.

 So I read the Linux journal, mostly to do my
 part to keep publications about Linux alive.
 Occationally they write about something cool,
 though rarely  related to Gentoo

 FTA:
 The Web site provides a lovely binary installer that feels much
 like that of a commercial game. You can compile the game from
 source if you want, but would you really do that when you can
 simply click Next, Next, Next?
 *sigh*

 So I read about a very cool submarine game today
 on LJ:
 http://www.linuxjournal.com/content/danger-deep

 Only to discover it's already in portage.
 KUDOS to the Gentoo game devs for being
 on top of this one

 Doesn't run here.  Something to do with getting the available
 resolutions:

 SDL_Rect** modes = SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);

 must be returning nothing, because later when it tests the resolution it
 wants to use against the resolutions available:

 for (listvector2i::const_iterator it = available_resolutions.begin(); it
 != available_resolutions.end(); ++it) {
   if (*it == vector2i(res_x_, res_y_)) {
   ok = true;
   break;
   }
 }
 if (!ok)
   throw invalid_argument(invalid resolution requested!);

 I get the exception.  No matter what res I specify on the command
 line :(

 $ dangerdeep
 Caught exception: invalid resolution requested!

 Anyone know about SDL?

I really don't, but I'm just wondering if you are looking at the 0.3.0
source tarball code or their svn trunk? system.cpp is quite different
in the trunk, including changes which probably should add support for
less common screen sizes and modes.

-- 
Arttu V.



Re: [gentoo-user] new user can't run X apps

2010-05-27 Thread David Relson
On Wed, 5 May 2010 13:41:19 -0700
Grant wrote:

 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?
 
 - Grant

Have you tried strace?  It'll help tell what the app is doing just
before the cannot open ... message is displayed.

HTH,

David



[gentoo-user] Re: emerge --keep-going but it doesn't

2010-05-27 Thread walt

On 05/27/2010 02:42 AM, Dale wrote:

Hi folks.

I'm doing a fresh install onto another hard drive. Just felt like doing a fresh
one instead of copying. Anyway, I got most everything installed. I was doing my
last set of installs, things like seamonkey, firefox, pigdin, gtkam and all the

 other programs I use for this and that. I did copy my old make.conf over from 
the
 old install. I have the --keep-going option in there.

Hm. Does it work if you use the --keep-going option on the command line instead
of in make.conf?




[gentoo-user] Re: danger-deep

2010-05-27 Thread Grant Edwards
On 2010-05-27, Iain Buchanan iai...@netspace.net.au wrote:

 So I read about a very cool submarine game today
 on LJ:
 http://www.linuxjournal.com/content/danger-deep
 
 Only to discover it's already in portage.
 KUDOS to the Gentoo game devs for being 
 on top of this one

 Doesn't run here.  Something to do with getting the available
 resolutions:

I've tried several times over the past couple years to get dangerdeep
going.  I can get it to run briefly, but it always crashes if I try
to do much of anything.  I've pretty much given up on it.

-- 
Grant Edwards   grant.b.edwardsYow! Give them RADAR-GUIDED
  at   SKEE-BALL LANES and
  gmail.comVELVEETA BURRITOS!!




Re: [gentoo-user] Re: emerge --keep-going but it doesn't

2010-05-27 Thread Dale

walt wrote:

On 05/27/2010 02:42 AM, Dale wrote:

Hi folks.

I'm doing a fresh install onto another hard drive. Just felt like 
doing a fresh
one instead of copying. Anyway, I got most everything installed. I 
was doing my
last set of installs, things like seamonkey, firefox, pigdin, gtkam 
and all the
 other programs I use for this and that. I did copy my old make.conf 
over from the

 old install. I have the --keep-going option in there.

Hm. Does it work if you use the --keep-going option on the command 
line instead

of in make.conf?




I haven't tried that.  Your suggestion made me think of something to 
look at tho.  I checked the logs since it records what is being done and 
the options.  I noticed this:


1274924669:  *** emerge --with-bdeps --ask --verbose --buildpkg 
seamonkey gkrellm hddtemp kbackup k3b tkdvd myspell-en screen uptimed 
scribus autounmask elogv elogviewer flagedit mirrorselect pfl porthole 
gimp gtkam hugin alsamixergui avidemux smplayer iftop nettop traceroute 
wireshark pppconfig wvdial iptables pidgin ntp whois hplip 
http-replicator googleearth hdparm hwinfo lshw smartmontools dosfstools 
shake sys-power/nut htop iotop lsof links mozilla-firefox adobe-flash 
gecko-mediaplayer mesa-progs gkrellm-themes

1274924866:  emerge (1 of 137) sys-fs/sysfsutils-2.1.0 to /

So, emerge picks up on the others but not that one.  I then moved it 
from one section in make.conf and put it in the other.  Now it sees the 
option.  I guess it was in the wrong place.  For the record, I had it in 
FEATURES and moved it to the EMERGE_DEFAULT_OPTS.  I guess the last one 
is where it is supposed to be.  I may have copied it to the wrong place 
since portage would never move things in make.conf.  I need better 
glasses.  lol  Funny that emerge didn't print a error tho.


Thanks for shining a light in the dark tunnel.

Dale

:-)  :-)



[gentoo-user] Grub USB keyboard

2010-05-27 Thread alain . didierjean
I have an USB keyboard that works fine thru evdev. At boot time, it allows the
BIOS to be called and set.Right after that grub displays its menu but just
ignores key strokes...
Any known solution ? In other terms, how can I 'teach' grub to read a USB
keyboard at boot time ?

--
~adj~




Re: [gentoo-user] Grub USB keyboard

2010-05-27 Thread Florian Philipp
Am 27.05.2010 16:42, schrieb alain.didierj...@free.fr:
 I have an USB keyboard that works fine thru evdev. At boot time, it allows the
 BIOS to be called and set.Right after that grub displays its menu but just
 ignores key strokes...
 Any known solution ? In other terms, how can I 'teach' grub to read a USB
 keyboard at boot time ?
 
 --
 ~adj~
 
 

Take a look into your BIOS. Search for something like USB 1.1 Device
Legacy Support and enable it.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Do I need hdparm for serial ATA drive?

2010-05-27 Thread Mick
Newer machines invariably have SATA drives:

   *-disk
description: ATA Disk
product: ST9500420ASG
vendor: Seagate
physical id: 0
bus info: s...@0:0.0.0
logical name: /dev/sda
version: 0004
serial: 5VJ377P2
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=cf5ac2f0

From dmesg:

ata1: SATA max UDMA/133 abar m2...@0xf1005000 port 0xf1005100 irq 35
ata2: SATA max UDMA/133 abar m2...@0xf1005000 port 0xf1005180 irq 35

Do I need to emerge hdparm for such a drive?
-- 
Regards,
Mick



Re: [gentoo-user] Grub USB keyboard

2010-05-27 Thread Paul Hartman
On Thu, May 27, 2010 at 9:42 AM,  alain.didierj...@free.fr wrote:
 I have an USB keyboard that works fine thru evdev. At boot time, it allows the
 BIOS to be called and set.Right after that grub displays its menu but just
 ignores key strokes...
 Any known solution ? In other terms, how can I 'teach' grub to read a USB
 keyboard at boot time ?

In your BIOS there is probably a setting for USB Keyboard, try to set
it to Legacy or DOS mode, something like that. Then it should work
in GRUB.



Re: [gentoo-user] Do I need hdparm for serial ATA drive?

2010-05-27 Thread Paul Hartman
On Thu, May 27, 2010 at 10:22 AM, Mick michaelkintz...@gmail.com wrote:
 Newer machines invariably have SATA drives:

   *-disk
description: ATA Disk
product: ST9500420ASG
vendor: Seagate
physical id: 0
bus info: s...@0:0.0.0
logical name: /dev/sda
version: 0004
serial: 5VJ377P2
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=cf5ac2f0

 From dmesg:

 ata1: SATA max UDMA/133 abar m2...@0xf1005000 port 0xf1005100 irq 35
 ata2: SATA max UDMA/133 abar m2...@0xf1005000 port 0xf1005180 irq 35

 Do I need to emerge hdparm for such a drive?

As long as the drivers are in your kernel the drives should work.
hdparm is not required to use your disks, but you can use it to change
power-saving mode etc. (for example my 2TB drive had very aggressive
spindown when power-saving was OFF, but when I use hdparm to turn
power-saving ON at the highest level, the crazy spindowns stopped)



Re: [gentoo-user] Postfix question about auth and blocklists...

2010-05-27 Thread Steve
On 26/05/2010 20:32, Brandon Vargo wrote:
 I hope the above helps.
   

Thank you very much... that was very informative.  Unfortunately, I now
discover I fibbed when I said I had SASL auth set up - I only thought I
had...  When I correctly configure thunderbird, I get the following
postfix messages in the log:

 May 27 17:06:20 ken postfix/smtpd[19973]: connect from
 ur.shic.co.uk[10.0.1.253]
 May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
 failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
 May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
 failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
 May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
 failure: no secret in database
 May 27 17:06:20 ken postfix/smtpd[19973]: warning:
 ur.shic.co.uk[10.0.1.253]: SASL CRAM-MD5 authentication failed:
 authentication failure
 May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 1
 May 27 17:06:20 ken postfix/smtpd[19973]: client flags: 8207
 May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 2
 May 27 17:06:20 ken postfix/smtpd[19973]: client user: myusername
 May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
 failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
 May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
 failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=5
 May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL authentication
 failure: no secret in database
 May 27 17:06:20 ken postfix/smtpd[19973]: warning:
 ur.shic.co.uk[10.0.1.253]: SASL NTLM authentication failed:
 authentication failure

I'm sure I'm doing something silly - because googling the first warning
just gives me this bug http://bugs.gentoo.org/show_bug.cgi?id=299390,
which doesn't seem to fit.  I have this installed:

 $ eix mail-mta/postfix
 [I] mail-mta/postfix
  Available versions:  2.6.5 ~2.6.6 {cdb dovecot-sasl hardened ipv6
 ldap mbox mysql nis pam postgres sasl selinux ssl vda}
  Installed versions:  2.6.5(09:08:29 05/27/10)(ipv6 pam sasl ssl
 -cdb -dovecot-sasl -hardened -ldap -mbox -mysql -nis -postgres
 -selinux -vda)
  Homepage:http://www.postfix.org/
  Description: A fast and secure drop-in replacement for
 sendmail.

If I alter thunderbird to not use secure authentication, I get the
following instead.

 May 27 17:14:26 ken postfix/smtpd[20115]: connect from
 ur.shic.co.uk[10.0.1.253]
 May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
 problem: unknown password verifier
 May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
 failure: Password verification failed
 May 27 17:14:26 ken postfix/smtpd[20115]: warning:
 ur.shic.co.uk[10.0.1.253]: SASL PLAIN authentication failed: no
 mechanism available
 May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL authentication
 problem: unknown password verifier
 May 27 17:14:26 ken postfix/smtpd[20115]: warning:
 ur.shic.co.uk[10.0.1.253]: SASL LOGIN authentication failed: no
 mechanism available

Which seems quite strange.

My /etc/sasl2/smtpd.conf is the default for gentoo - i.e. it contains
the single config line:

 pwcheck_method:pam

I don't care if I use PAM or something else - as long as it lets me
authenticate.  In the medium term, it would be best if neither IMAP nor
SMTP passwords had any relation to my system password (not that I allow
remote logins unsing it) - but, for the time being, I just want it to
let me authenticate and send from my phone.

By any chance can anyone give me any further clues?



Re: [gentoo-user] Do I need hdparm for serial ATA drive?

2010-05-27 Thread Neil Bothwick
On Thu, 27 May 2010 16:22:11 +0100, Mick wrote:

 Newer machines invariably have SATA drives:
 
 Do I need to emerge hdparm for such a drive?

% whatis hdparm
hdparm   (8)  - get/set SATA/ATA device parameters

SATA is still ATA, using the same basic command set but over a different
wire.


-- 
Neil Bothwick

Top Oxymorons Number 37: Sanitary landfill


signature.asc
Description: PGP signature


Re: [gentoo-user] Postfix question about auth and blocklists...

2010-05-27 Thread Brandon Vargo
On Thu, 2010-05-27 at 17:24 +0100, Steve wrote:
 On 26/05/2010 20:32, Brandon Vargo wrote:
  I hope the above helps.

 
 Thank you very much... that was very informative.  Unfortunately, I
 now discover I fibbed when I said I had SASL auth set up - I only
 thought I had...  When I correctly configure thunderbird, I get the
 following postfix messages in the log:
 
  May 27 17:06:20 ken postfix/smtpd[19973]: connect from
  ur.shic.co.uk[10.0.1.253]
  May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL
  authentication failure: Could not open /etc/sasl2/sasldb2:
  gdbm_errno=5
  May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL
  authentication failure: Could not open /etc/sasl2/sasldb2:
  gdbm_errno=5
  May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL
  authentication failure: no secret in database
  May 27 17:06:20 ken postfix/smtpd[19973]: warning:
  ur.shic.co.uk[10.0.1.253]: SASL CRAM-MD5 authentication failed:
  authentication failure
  May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 1
  May 27 17:06:20 ken postfix/smtpd[19973]: client flags: 8207
  May 27 17:06:20 ken postfix/smtpd[19973]: NTLM server step 2
  May 27 17:06:20 ken postfix/smtpd[19973]: client user: myusername
  May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL
  authentication failure: Could not open /etc/sasl2/sasldb2:
  gdbm_errno=5
  May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL
  authentication failure: Could not open /etc/sasl2/sasldb2:
  gdbm_errno=5
  May 27 17:06:20 ken postfix/smtpd[19973]: warning: SASL
  authentication failure: no secret in database
  May 27 17:06:20 ken postfix/smtpd[19973]: warning:
  ur.shic.co.uk[10.0.1.253]: SASL NTLM authentication failed:
  authentication failure
 
 I'm sure I'm doing something silly - because googling the first
 warning just gives me this bug, which doesn't seem to fit.  I have
 this installed:
 
  $ eix mail-mta/postfix
  [I] mail-mta/postfix
   Available versions:  2.6.5 ~2.6.6 {cdb dovecot-sasl hardened
  ipv6 ldap mbox mysql nis pam postgres sasl selinux ssl vda}
   Installed versions:  2.6.5(09:08:29 05/27/10)(ipv6 pam sasl ssl
  -cdb -dovecot-sasl -hardened -ldap -mbox -mysql -nis -postgres
  -selinux -vda)
   Homepage:http://www.postfix.org/
   Description: A fast and secure drop-in replacement for
  sendmail.
 
 If I alter thunderbird to not use secure authentication, I get the
 following instead.
 
  May 27 17:14:26 ken postfix/smtpd[20115]: connect from
  ur.shic.co.uk[10.0.1.253]
  May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL
  authentication problem: unknown password verifier
  May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL
  authentication failure: Password verification failed
  May 27 17:14:26 ken postfix/smtpd[20115]: warning:
  ur.shic.co.uk[10.0.1.253]: SASL PLAIN authentication failed: no
  mechanism available
  May 27 17:14:26 ken postfix/smtpd[20115]: warning: SASL
  authentication problem: unknown password verifier
  May 27 17:14:26 ken postfix/smtpd[20115]: warning:
  ur.shic.co.uk[10.0.1.253]: SASL LOGIN authentication failed: no
  mechanism available
 
 Which seems quite strange.
 
 My /etc/sasl2/smtpd.conf is the default for gentoo - i.e. it contains
 the single config line:
 
  pwcheck_method:pam
 
 I don't care if I use PAM or something else - as long as it lets me
 authenticate.  In the medium term, it would be best if neither IMAP
 nor SMTP passwords had any relation to my system password (not that I
 allow remote logins unsing it) - but, for the time being, I just want
 it to let me authenticate and send from my phone.
 
 By any chance can anyone give me any further clues?
 

You mentioned in your first mail that you use Dovecot. The easiest way
to setup SASL for Postfix is to have Postfix authenticate against
Dovecot, assuming that you want the same usernames and passwords for
both. Recompile mail-mta/postfix with the dovecot-sasl USE flag enabled.
Then, add the following to Postfix's configuration file after
commenting/removing the other SASL lines:

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

Then, in dovecot's configuration file, add the following to the auth
default section:

socket listen {
   client {
  path = /var/spool/postfix/private/auth
  mode = 0660
  user = postfix
  group = postfix
   }
}

Adjust the path, user, and group as appropriate. The user and group
should be set to whatever user postfix is running under. Note that
private/auth in the path corresponds to the smtpd_sasl_path setting in
Postfix. Restart Dovecot and then Postfix.

I also recommend adding the following option to main.cf if your clients
support TLS encryption, which will not allow authentication over
unencrypted connections:

smtpd_tls_auth_only = yes

See http://www.postfix.org/SASL_README.html for other SASL mechanisms,
if you do not use or do not want to use Dovecot.

Regards,

Brandon Vargo




[gentoo-user] Digikam issue

2010-05-27 Thread CJoeB
Hi,

First, I have searched the archives and didn't find anything that seemed
to help.

The main issue here is with digikam.  I used to have it working, but
some upgrade or other seemed to screw things up.

Digikam loads just fine.  It recognizes and displays the pictures in the
folders on my hard drive.  When my camera is plugged in and I select
Import -- Camera, my camera appears in the list (not the specific
model, but it recognizes that it is a Canon).  However, the images on
the camera are not displayed.  I tried entering the camera manually. 
Doing this, it wants a mount point which defaults to /mnt/camera.  If I
then select Import--Camera, I get the message Failed to connect to
camera.  The correct mount point was created.  BTW, I AM a member of
the plugdev group.

As a side issue, if I assume that I need to mount the camera manually, I
have always used the kwikdisk utility that is part of KDE.  Despite the
fact that this appears as a menu item, it won't load.  Equery tells me
that this belongs to the kdf package and I tried re-emerging kdf, but
kwikdisk still fails to load.

I am at a loss here and don't know what to do next.  If anyone can help,
I need to be led by the nose.

One would think that things would get easier to use in Linux, but that
isn't the case here.

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] Digikam issue

2010-05-27 Thread Dale

CJoeB wrote:

Hi,

First, I have searched the archives and didn't find anything that seemed
to help.

The main issue here is with digikam.  I used to have it working, but
some upgrade or other seemed to screw things up.

Digikam loads just fine.  It recognizes and displays the pictures in the
folders on my hard drive.  When my camera is plugged in and I select
Import --  Camera, my camera appears in the list (not the specific
model, but it recognizes that it is a Canon).  However, the images on
the camera are not displayed.  I tried entering the camera manually.
Doing this, it wants a mount point which defaults to /mnt/camera.  If I
then select Import--Camera, I get the message Failed to connect to
camera.  The correct mount point was created.  BTW, I AM a member of
the plugdev group.

As a side issue, if I assume that I need to mount the camera manually, I
have always used the kwikdisk utility that is part of KDE.  Despite the
fact that this appears as a menu item, it won't load.  Equery tells me
that this belongs to the kdf package and I tried re-emerging kdf, but
kwikdisk still fails to load.

I am at a loss here and don't know what to do next.  If anyone can help,
I need to be led by the nose.

One would think that things would get easier to use in Linux, but that
isn't the case here.

Regards,

Colleen

   


Are you also in the USB group?  My Canon is USB and I had to be in it 
for the camera to work.  You may want to try running as root.  If it 
works then, it's a permissions issue.  If not, it may be hardware/software.


Also, I use gtkam to get my pics.  It works pretty well.  I just happen 
to like the way I can do the names when I download.


Dale

:-)  :-)



Re: [gentoo-user] Digikam issue

2010-05-27 Thread CJoeB
On 05/27/10 15:33, Dale wrote:
 CJoeB wrote:
 Hi,

 First, I have searched the archives and didn't find anything that seemed
 to help.

 The main issue here is with digikam.  I used to have it working, but
 some upgrade or other seemed to screw things up.

 Digikam loads just fine.  It recognizes and displays the pictures in the
 folders on my hard drive.  When my camera is plugged in and I select
 Import --  Camera, my camera appears in the list (not the specific
 model, but it recognizes that it is a Canon).  However, the images on
 the camera are not displayed.  I tried entering the camera manually.
 Doing this, it wants a mount point which defaults to /mnt/camera.  If I
 then select Import--Camera, I get the message Failed to connect to
 camera.  The correct mount point was created.  BTW, I AM a member of
 the plugdev group.

 As a side issue, if I assume that I need to mount the camera manually, I
 have always used the kwikdisk utility that is part of KDE.  Despite the
 fact that this appears as a menu item, it won't load.  Equery tells me
 that this belongs to the kdf package and I tried re-emerging kdf, but
 kwikdisk still fails to load.

 I am at a loss here and don't know what to do next.  If anyone can help,
 I need to be led by the nose.

 One would think that things would get easier to use in Linux, but that
 isn't the case here.

 Regards,

 Colleen



 Are you also in the USB group?  My Canon is USB and I had to be in it
 for the camera to work.  You may want to try running as root.  If it
 works then, it's a permissions issue.  If not, it may be
 hardware/software.

Yes, I am in the usb group.  Running as root produced the same result as
described above.

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org





[gentoo-user] Re: RAID problems - Is udev at fault here?

2010-05-27 Thread walt

On 05/25/2010 05:37 PM, walt wrote:

On 05/24/2010 11:44 AM, Mark Knecht wrote:
  ...

05:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial
ATA Controller (rev 03)


The only experience I have with a JMicron controller is an outboard eSATA 
docking
station (a great product) and it uses the AHCI_SATA driver...


I finally remembered to check the outboard controller and it's the same one,
though they call it JMB360 (rev 02).  It's definitely an AHCI controller, so
you need the AHCI_SATA driver in the kernel.

Have you tried that yet?





[gentoo-user] Re: new user can't run X apps

2010-05-27 Thread walt

On 05/05/2010 01:41 PM, Grant wrote:

I created a new user with useradd but I get X errors like cannot open
display and cannot connect to X server when I try to run X apps as
the new user...


Are you also using X as yourself at the same time newuser is trying
to use X?




[gentoo-user] Re: emerge --keep-going but it doesn't

2010-05-27 Thread walt

On 05/27/2010 07:39 AM, Dale wrote:

walt wrote:

On 05/27/2010 02:42 AM, Dale wrote:

Hi folks.

I'm doing a fresh install onto another hard drive. Just felt like doing a fresh
one instead of copying. Anyway, I got most everything installed. I was doing my
last set of installs, things like seamonkey, firefox, pigdin, gtkam and all the

 other programs I use for this and that. I did copy my old make.conf over from 
the
 old install. I have the --keep-going option in there.

Hm. Does it work if you use the --keep-going option on the command line instead
of in make.conf?



I then moved it from one section in make.conf and put it in the other. Now it 
sees

 the option. I guess it was in the wrong place. For the record, I had it in 
FEATURES
 and moved it to the  EMERGE_DEFAULT_OPTS.

Augh!  Why didn't you tell me that years ago?  I would have been using that 
trick
myself all this time.






[gentoo-user] Re: Digikam issue

2010-05-27 Thread walt

On 05/27/2010 11:34 AM, CJoeB wrote:

...
As a side issue, if I assume that I need to mount the camera manually, I
have always used the kwikdisk utility that is part of KDE.  Despite the
fact that this appears as a menu item, it won't load...


I've snipped a lot because I don't use kde and I don't even have a camera.
In spite of that, I still have the nerve to offer advice.  Go figure.

What do you see if you try starting kwikdisk from a command prompt?  IIRC
the kde command prompt is konsole or at least it was a few years ago.




Re: [gentoo-user] Re: emerge --keep-going but it doesn't

2010-05-27 Thread Dale

walt wrote:

On 05/27/2010 07:39 AM, Dale wrote:

walt wrote:

On 05/27/2010 02:42 AM, Dale wrote:

Hi folks.

I'm doing a fresh install onto another hard drive. Just felt like 
doing a fresh
one instead of copying. Anyway, I got most everything installed. I 
was doing my
last set of installs, things like seamonkey, firefox, pigdin, gtkam 
and all the
 other programs I use for this and that. I did copy my old 
make.conf over from the

 old install. I have the --keep-going option in there.

Hm. Does it work if you use the --keep-going option on the command 
line instead

of in make.conf?


I then moved it from one section in make.conf and put it in the 
other. Now it sees
 the option. I guess it was in the wrong place. For the record, I had 
it in FEATURES

 and moved it to the  EMERGE_DEFAULT_OPTS.

Augh!  Why didn't you tell me that years ago?  I would have been using 
that trick

myself all this time.




If I knew you needed to know, I would have told you.  I wish there was a 
mailing list that only had changes being made to portage.  New features 
and options that we don't know about.  Reading the man page just doesn't 
get it for me.  Sometimes I read the man page but just don't quite have 
that light bulb moment.


I think I actually read about that on this list.  Someone else was doing 
a emerge -e world after really borking something and had frequent 
compile failures.   I think he was trying to change the CHOST or 
something.  I remember it was a huge mess.


Sorry I didn't know but will try to do better next time.  Dale gets his 
crystal ball out 


Dale

:-)  :-)



Re: [gentoo-user] danger-deep

2010-05-27 Thread Iain Buchanan
On Thu, 2010-05-27 at 14:18 +0300, Arttu V. wrote:
 On 5/27/10, Iain Buchanan iai...@netspace.net.au wrote:

  Doesn't run here.  Something to do with getting the available
  resolutions:
 

  Anyone know about SDL?
 
 I really don't, but I'm just wondering if you are looking at the 0.3.0
 source tarball code or their svn trunk? system.cpp is quite different
 in the trunk, including changes which probably should add support for
 less common screen sizes and modes.

0.3.0.  I just emerged the version in portage.  I might try svn later
(when I'm not at work ;)

-- 
Iain Buchanan iaindb at netspace dot net dot au

Experience is that marvelous thing that enables you recognize a mistake
when you make it again.
-- Franklin P. Jones




Re: [gentoo-user] Re: Harddisk trouble ... or not yet?

2010-05-27 Thread meino . cramer
Andrea Conti a...@alyf.net [10-05-27 17:20]:
  I was more thinking of a tool, which test the whole disc surface
  and reports every bad sector.
 
 badblocks -wvs (which takes forever, but in my experience is quite good
 at make failing disks actually fail ;)
 
 During the test you can monitor the smart attributes (smartctl -A, esp.
 the reallocated sector count) to see what is actually going on.
 
 Warning: backup your data as badblocks in destructive mode will wipe the
 disk clean.
 
 Also, you can run a SMART offline long test (smartctl -t long), which
 will scan the whole surface. But on most disks the test stops at the
 first error, so you don't get a complete picture.
 
  Smarts is more of statistical kind: It counts events and tries
  to calculate dooms day from that ;)
 
 That's just a part of it. Attribute values and the error log actually
 provide useful information about the status of the disk.
 
 andrea
 

Badblocks is running since yesterday on one of both harrdisks (and is still
running...for more then 10 hours now (1TB to check)) and I 
got thise errors visible via dmesg:


ata1.00: BMDMA stat 0x5
ata1.00: failed command: READ DMA
ata1.00: cmd c8/00:80:00:3f:c1/00:00:00:00:00/e0 tag 0 dma 65536 in
 res 51/84:4f:00:3f:c1/00:00:00:00:00/e0 Emask 0x10 (ATA bus error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ICRC ABRT }
ata1: soft resetting link
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata1.00: BMDMA stat 0x5
ata1.00: failed command: READ DMA
ata1.00: cmd c8/00:80:80:f5:c1/00:00:00:00:00/e0 tag 0 dma 65536 in
 res 51/84:0f:80:f5:c1/00:00:00:00:00/e0 Emask 0x10 (ATA bus error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ICRC ABRT }
ata1: soft resetting link
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata1.00: BMDMA stat 0x5
ata1.00: failed command: READ DMA
ata1.00: cmd c8/00:80:80:40:d4/00:00:00:00:00/e0 tag 0 dma 65536 in
 res 51/84:6f:80:40:d4/00:00:00:00:00/e0 Emask 0x10 (ATA bus error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ICRC ABRT }
ata1: soft resetting link
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata1.00: BMDMA stat 0x5
ata1.00: failed command: READ DMA
ata1.00: cmd c8/00:80:80:a1:40/00:00:00:00:00/e1 tag 0 dma 65536 in
 res 51/84:2f:80:a1:40/00:00:00:00:00/e1 Emask 0x10 (ATA bus error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ICRC ABRT }
ata1: soft resetting link
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6

(I dont know, where the report sequence starts, so I put some
repetitions here in) 

They do not grow in count and badblocks did not report anything
onto the console where I start it.

I started it with

solfire:/rootbadblocks -v -n /dev/sda

At midnight, the DSL connection had been cut by the provider
and automagically reestablished by my linux box, but I dont
think, that this has something do to with it.
Additionall smartd is running in the background...

Smartd's smartd.conf contains this (first try...;)

/dev/sda -a -d sat -o on
/dev/sdb -a -d sat -o on

What the heck is going on in my system?

Thanks a lot in advance for any help !

Best regards,
worried,
mcc


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Digikam issue

2010-05-27 Thread Bogo Mipps
On Friday 28 May 2010 06:34:18 CJoeB wrote:
 Digikam loads just fine.  It recognizes and displays the pictures in the
 folders on my hard drive.  When my camera is plugged in and I select
 Import -- Camera, my camera appears in the list (not the specific
 model, but it recognizes that it is a Canon).  However, the images on
 the camera are not displayed.  I tried entering the camera manually.
 Doing this, it wants a mount point which defaults to /mnt/camera.  If I
 then select Import--Camera, I get the message Failed to connect to
 camera.  The correct mount point was created.  BTW, I AM a member of
 the plugdev group.

Colleen, I had the same problem with my Canon G11.  Digikam recognises it as a 
Canon Powershot G11 but doesn't display images.  I've left it installed, and 
installed another instance, just as plain old USB PTP Class Camera, and it 
displays, downloads, deletes just fine. 

Bogo 




Re: [gentoo-user] Digikam issue

2010-05-27 Thread Dale

Bogo Mipps wrote:

On Friday 28 May 2010 06:34:18 CJoeB wrote:
   

Digikam loads just fine.  It recognizes and displays the pictures in the
folders on my hard drive.  When my camera is plugged in and I select
Import --  Camera, my camera appears in the list (not the specific
model, but it recognizes that it is a Canon).  However, the images on
the camera are not displayed.  I tried entering the camera manually.
Doing this, it wants a mount point which defaults to /mnt/camera.  If I
then select Import--Camera, I get the message Failed to connect to
camera.  The correct mount point was created.  BTW, I AM a member of
the plugdev group.
 

Colleen, I had the same problem with my Canon G11.  Digikam recognises it as a
Canon Powershot G11 but doesn't display images.  I've left it installed, and
installed another instance, just as plain old USB PTP Class Camera, and it
displays, downloads, deletes just fine.

Bogo

   


I will add that gtkam uses PTP for mine as well.  I read somewhere a 
long time ago that almost all Canon cameras are PTP.


Dale

:-)  :-)



Re: [gentoo-user] Grub USB keyboard

2010-05-27 Thread alain . didierjean
Selon Paul Hartman paul.hartman+gen...@gmail.com:

 On Thu, May 27, 2010 at 9:42 AM,  alain.didierj...@free.fr wrote:
  I have an USB keyboard that works fine thru evdev. At boot time, it allows
 the
  BIOS to be called and set.Right after that grub displays its menu but just
  ignores key strokes...
  Any known solution ? In other terms, how can I 'teach' grub to read a USB
  keyboard at boot time ?

 In your BIOS there is probably a setting for USB Keyboard, try to set
 it to Legacy or DOS mode, something like that. Then it should work
 in GRUB.


Stupid me ! I didn't find the option in the first place because one has to
scroll down to be able to read it !
Thanks all, it's working now.

--
~adj~





Re: [gentoo-user] Do I need hdparm for serial ATA drive?

2010-05-27 Thread Mick
On Thursday 27 May 2010 17:29:26 Neil Bothwick wrote:
 On Thu, 27 May 2010 16:22:11 +0100, Mick wrote:
  Newer machines invariably have SATA drives:
 
  Do I need to emerge hdparm for such a drive?
 
 % whatis hdparm
 hdparm   (8)  - get/set SATA/ATA device parameters
 
 SATA is still ATA, using the same basic command set but over a different
 wire.

Yes, hdparm will work with my drive, but the question is would I have a 
benefit using it?  Other than what Paul said, is there another benefit e.g. 
speed wise that I could derive from using hdparm, or is the kernel on its own 
enough to optimise the performance of the drive? 

-- 
Regards,
Mick


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