[gentoo-user] request_module: runaway loop

2010-08-30 Thread Mike Diehl
Hi all,

I'm trying to build a new duel quad-core server and I'm having some problems.

Just after it loads the keymap, I get this error:

request_module: runaway loop modprobe binfmt-464c

A few minutes later, it panics.

I'm loading from a pendrive that I've used before to build servers, so I don't 
THINK it's the installation media.

Some of the search results I got from Goggle (who is my friend, btw) indicated 
that it might be a problem with drive labels.  After unplugging both drives 
and retrying, I'm convinced thats not the case.

Other chatter indicated that I was booting a 32-bin kernel in a 64-bit OS, or 
vise versa.  Based solely on the name of the failing module, this has some 
credibility, but seems like a stretch since I've not changed the pendrive.

Anyone else seen, and fixed, this problem before?  Any advise would be 
welcome.

-- 

Take care and have fun,
Mike Diehl.



Re: [gentoo-user] request_module: runaway loop

2010-08-30 Thread J. Roeleveld
On Monday 30 August 2010 07:06:05 Mike Diehl wrote:
 Hi all,
 
 I'm trying to build a new duel quad-core server and I'm having some
 problems.
 
 Just after it loads the keymap, I get this error:
 
 request_module: runaway loop modprobe binfmt-464c
 
 A few minutes later, it panics.
 
 I'm loading from a pendrive that I've used before to build servers, so I
 don't THINK it's the installation media.
 
 Some of the search results I got from Goggle (who is my friend, btw)
 indicated that it might be a problem with drive labels.  After unplugging
 both drives and retrying, I'm convinced thats not the case.
 
 Other chatter indicated that I was booting a 32-bin kernel in a 64-bit OS,
 or vise versa.  Based solely on the name of the failing module, this has
 some credibility, but seems like a stretch since I've not changed the
 pendrive.
 
 Anyone else seen, and fixed, this problem before?  Any advise would be
 welcome.

Not seen this myself, but I did find the following page:
https://bbs.archlinux.org/viewtopic.php?pid=253794

This mentions reinstalling grub solved the issue.

Is the pendrive for a 32bit installation or a 64bit installation?

--
Joost



[gentoo-user] help with Persistent hard disk device names with udev

2010-08-30 Thread Pau Peris
Hi, i would like to give persistent device names to the system hard
drives (just renaming its original device name to the one i want using
its serial number as identifier). I've created the following rules
which are not currently working. I'm trying to use device serial
numbers to properly set its device name. One of the main reasons for
doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd)
and when i plug another 4 disks sda becomes sde, sdc becomes sdg and
so on while new drives take old device names, that's why i would like
to make it sure device names remains always the same.
Here are the rules
Código:

SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda
SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda
SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb
SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc
SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc

KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda%n
KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda%n
KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb%n
KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc%n
KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc%n


Should this work? Do some one know how can i get it to work? thanks in advanced



Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-30 Thread J. Roeleveld
On Monday 30 August 2010 15:00:28 Pau Peris wrote:
 Hi, i would like to give persistent device names to the system hard
 drives (just renaming its original device name to the one i want using
 its serial number as identifier). I've created the following rules
 which are not currently working. I'm trying to use device serial
 numbers to properly set its device name. One of the main reasons for
 doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd)
 and when i plug another 4 disks sda becomes sde, sdc becomes sdg and
 so on while new drives take old device names, that's why i would like
 to make it sure device names remains always the same.
 Here are the rules
 Código:
 
 SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda
 SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda
 SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb
 SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc
 SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc
 
 KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH,
 NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM,
 NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D,
 NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G,
 NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN,
 NAME=sdc%n
 
 Should this work? Do some one know how can i get it to work? thanks in
 advanced

Hi,

You need to use double = for all the fields you want to match.
In other words, for sda, you need to use:
 SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda
instead of:
 SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda

Otherwise it doesn't match it correctly or will try to change the serial for 
the all the block-devices it finds.

(I found this out when trying to rename my network-interfaces)

--
Joost



[gentoo-user] OT: new mail client

2010-08-30 Thread James
Hello,

OK, so I/m ready to move a few users from the mail client in Seamonkey
to a new mail client package. Thunderbird looks reasonable, runs on Winblows
and Linux and is not tied to a given desktop platform. I did
read bugzilla about enigmail not working with the latest
thunderbird: Bug 301114.  ;-) Is there a better(alternative) way 
to use encryption with thunderbird?

In general, I like the way the 
mozilla mail systems work, but, I want something, easy
to admin (users do email backups), easy to migrate
from seamonkey, and able to run on Winblows or Linux.

A nice system wide backup strategy with around 2 dozen
thunderbird clients, is also part of the strategy. So
first users try to retrieve their lost emails, then
ask an admin.. I like a separate backup system for email
not part of the regular backup system.


All comments are welcome.

TIA,
James






Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-30 Thread Pau Peris
Thx a lot!

2010/8/30 J. Roeleveld jo...@antarean.org:
 On Monday 30 August 2010 15:00:28 Pau Peris wrote:
 Hi, i would like to give persistent device names to the system hard
 drives (just renaming its original device name to the one i want using
 its serial number as identifier). I've created the following rules
 which are not currently working. I'm trying to use device serial
 numbers to properly set its device name. One of the main reasons for
 doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd)
 and when i plug another 4 disks sda becomes sde, sdc becomes sdg and
 so on while new drives take old device names, that's why i would like
 to make it sure device names remains always the same.
 Here are the rules
 Código:

 SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda
 SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda
 SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb
 SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc
 SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc

 KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH,
 NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM,
 NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D,
 NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G,
 NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN,
 NAME=sdc%n

 Should this work? Do some one know how can i get it to work? thanks in
 advanced

 Hi,

 You need to use double = for all the fields you want to match.
 In other words, for sda, you need to use:
 SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda
 instead of:
 SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda

 Otherwise it doesn't match it correctly or will try to change the serial for
 the all the block-devices it finds.

 (I found this out when trying to rename my network-interfaces)

 --
 Joost





Re: [gentoo-user] Re: xorg.conf (HDMI vs DVI-D)

2010-08-30 Thread Paul Hartman
On Fri, Aug 27, 2010 at 8:18 PM, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:


 I just looked at the manual for this TV online and it looks like it
 has Just Scan mode which could potentially show you the original
 image by pressing the P.SIZE button on the remote control. So you
 might want to try again to see if this option does what you need. :)


 THANKS, never tried that button. It does not permanently set though...

 the default is 16:9 (which should work), 'wide fit',
 then 4:3, then 'just scan'.

 'just scan' does the trick.
  It does not permanently set though...

 What's the link to the manual...?
 I never could find it.

http://downloadcenter.samsung.com/content/UM/200911/20091103184905109/BN59-00785F-02Eng.pdf

Good luck! :)



[gentoo-user] Re: thunderbird and gpg

2010-08-30 Thread James
Stéphane Guedon stephane at 22decembre.eu writes:


 I have a problem concerning thunderbird and gpg.


Did you see this bug: Bug 301114

hth,
James







Re: [gentoo-user] Re: xorg.conf (HDMI vs DVI-D)

2010-08-30 Thread Daniel da Veiga
On Mon, Aug 30, 2010 at 11:31, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Aug 27, 2010 at 8:18 PM, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:


 I just looked at the manual for this TV online and it looks like it
 has Just Scan mode which could potentially show you the original
 image by pressing the P.SIZE button on the remote control. So you
 might want to try again to see if this option does what you need. :)


 THANKS, never tried that button. It does not permanently set though...

 the default is 16:9 (which should work), 'wide fit',
 then 4:3, then 'just scan'.

 'just scan' does the trick.
  It does not permanently set though...

 What's the link to the manual...?
 I never could find it.

 http://downloadcenter.samsung.com/content/UM/200911/20091103184905109/BN59-00785F-02Eng.pdf


Accourding to the manual, it is possible to change the input source name.

I would advice the OP to try again what I suggested, I have a very
similar Samsung TV/Monitor, and using DVI and VGA works perfectly with
the computer, but I started using an HDMI cable, and the image would
distort, all borders would be missing, till I change the name of the
HDMI2 (the one I'm using) to PC. Voila, everything to the right
place.

That's not written at the manual (neither yours, not the one for my
TV), I learned it using a forum for HTPC owners.

-- 
Daniel da Veiga



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Paul Hartman
On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier bil...@gentoo.org wrote:
 Nikos Chantziaras schrieb am 27.08.2010 18:06:
 On 08/27/2010 07:02 PM, J. Roeleveld wrote:

 Actually, you can:
 http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html

 (Read the section below Use a label):

 fstab:
 LABEL=ROOT          /         ext3    defaults        1 1
 LABEL=BOOT          /boot     ext3    defaults        1 2
 LABEL=SWAP          swap      swap    defaults        0 0
 LABEL=HOME          /home     ext3    nosuid,auto     1 2

 This syntax never worked here.  Always resulted in an unbootable system.
  Only the /dev/disk/by-label/ syntax works reliably.


 Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
 your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
 (1.98) it is possible without. You don't need an initrd for LABEL/UUID
 in /etc/fstab for both cases.

FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
no initrd. My kernel has EFI_PARTITION compiled in (no module).

My fstab looks like this:

LABEL=swap   noneswapsw  0 0
LABEL=boot  /bootext2defaults,noatime1 2
LABEL=root   /   ext4defaults,noatime0 1
LABEL=home  /home   ext4defaults,noatime0 1

My kernel boot commandline still specified root by device name
/dev/sda2 but otherwise my system works normally so far. :)



[gentoo-user] Output of emerge -NDpvu world

2010-08-30 Thread econti

Hi all
is it possible to page the output of emerge -NDpvu world in a terminal?
'emerge -NDpvu world | more' does not work.

emilio



Re: [gentoo-user] Kmail storage of TLS certificate

2010-08-30 Thread Mick
On Saturday 14 August 2010 16:09:13 you wrote:
 On Saturday 14 August 2010 10:09:00 Volker Armin Hemmann wrote:
  On Tuesday 10 August 2010, Mick wrote:
   Any idea how I can reset this certificate as far as Kmail is concerned?
   When has it stored my clicking to save the acceptance of the
   certificate and how can I reset this?
  
  you can always dive into .kde/ and remove the offending lines from the
  config files...
 
 Thanks, that's what I'm trying to find out - which file and which lines. 
 I've had a poke around but couldn't find anything relevant.

OK, found it!  The solution was to remove 
.kde4/share/config/ksslcertificatemanager
-- 
Regards,
Mick


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


Re: [gentoo-user] Output of emerge -NDpvu world

2010-08-30 Thread Paul Hartman
On Mon, Aug 30, 2010 at 11:18 AM, econti contiemi...@alice.it wrote:
 Hi all
 is it possible to page the output of emerge -NDpvu world in a terminal?
 'emerge -NDpvu world | more' does not work.

If you use screen you can then use the scrollback it provides



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Alan McKinnon
Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman 
did opine thusly:

 On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier bil...@gentoo.org wrote:
  Nikos Chantziaras schrieb am 27.08.2010 18:06:
  On 08/27/2010 07:02 PM, J. Roeleveld wrote:
  Actually, you can:
  http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
  l
  
  (Read the section below Use a label):
  
  fstab:
  LABEL=ROOT  / ext3defaults1 1
  LABEL=BOOT  /boot ext3defaults1 2
  LABEL=SWAP  swap  swapdefaults0 0
  LABEL=HOME  /home ext3nosuid,auto 1 2
  
  This syntax never worked here.  Always resulted in an unbootable system.
   Only the /dev/disk/by-label/ syntax works reliably.
  
  Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
  your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
  (1.98) it is possible without. You don't need an initrd for LABEL/UUID
  in /etc/fstab for both cases.
 
 FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
 no initrd. My kernel has EFI_PARTITION compiled in (no module).
 
 My fstab looks like this:
 
 LABEL=swap   noneswapsw  0 0
 LABEL=boot  /bootext2defaults,noatime1 2
 LABEL=root   /   ext4defaults,noatime0 1
 LABEL=home  /home   ext4defaults,noatime0 1
 
 My kernel boot commandline still specified root by device name
 /dev/sda2 but otherwise my system works normally so far. :)

Don't listen to nay-sayers. Your fstab will work just fine and there's nothing 
wrong with it.

The LABEL= sysntax has also worked for years and years now on all grub-
supported filesystems that support volume labels. I don't know where a 
previous poster got the idea from that it is not supported, or you need an 
initrd - I have never used an initrd on Gentoo and have used that syntax since 
forever.

Similar for claims of unreliability by someone else. The only cause I can 
think of is using weird grub patches or some combination of insane flags.


-- 
alan dot mckinnon at gmail dot com



Re: KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging)

2010-08-30 Thread Mick
On 24 August 2010 14:31, Alex Schuster wo...@wonkology.org wrote:
 Mick writes:

 On Sunday 22 August 2010 22:39:47 Alex Schuster wrote:

  BTW, my two additional drives spin up when I log into KDE. Weird,
  they are not even mounted.

 From KDE-4.4.4 the start up interferes with the hard drives:

 http://thread.gmane.org/gmane.linux.gentoo.user/232044

 I don't why but it does, messes up any settings that hdparm may have
 set up and p*sses me off.  o_O

 As soon as KDE starts up (even when waking up from suspend to ram) it
 resets the drives.  I haven't found a way of telling it how to behave
 (i.e. by respecting existing settings in hdparm).

 Argh, that's annoying. Thanks for the information. O well, first I
 setuid'ed hdparm to make it work as a user, then I reverted that back as I
 started it in /etc/init.d/local, and now I'm again setuid'ing it so I can
 set the settings from /etc/conf.d/hdparm in ~/.kde4/Autostart/.

 I filed a bug: https://bugs.kde.org/show_bug.cgi?id=248905
 You might want to vote for it so it gets some attention and will hopefully
 be fixed soon.

Thanks Wonko,

As reported on https://bugs.gentoo.org/show_bug.cgi?id=334393 the workaround of:

touch /etc/pm/power.d/harddrive

stops KDE4.4.4/5 from messing up the existing hdparm settings (at
least as far as acoustic management is concerned).  At least now I
don't have to listen this Seagate sata rattling all day!  :-)
-- 
Regards,
Mick



Re: [gentoo-user] Output of emerge -NDpvu world

2010-08-30 Thread Volker Armin Hemmann
On Monday 30 August 2010, econti wrote:
 Hi all
 is it possible to page the output of emerge -NDpvu world in a terminal?
 'emerge -NDpvu world | more' does not work.
 
 emilio

works with less...



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Dale

Alan McKinnon wrote:

Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman
did opine thusly:

   

On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeierbil...@gentoo.org  wrote:
 

Nikos Chantziaras schrieb am 27.08.2010 18:06:
   

On 08/27/2010 07:02 PM, J. Roeleveld wrote:
 

Actually, you can:
http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
l

(Read the section below Use a label):

fstab:
LABEL=ROOT  / ext3defaults1 1
LABEL=BOOT  /boot ext3defaults1 2
LABEL=SWAP  swap  swapdefaults0 0
LABEL=HOME  /home ext3nosuid,auto 1 2
   

This syntax never worked here.  Always resulted in an unbootable system.
  Only the /dev/disk/by-label/ syntax works reliably.
 

Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
(1.98) it is possible without. You don't need an initrd for LABEL/UUID
in /etc/fstab for both cases.
   

FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
no initrd. My kernel has EFI_PARTITION compiled in (no module).

My fstab looks like this:

LABEL=swap   noneswapsw  0 0
LABEL=boot  /bootext2defaults,noatime1 2
LABEL=root   /   ext4defaults,noatime0 1
LABEL=home  /home   ext4defaults,noatime0 1

My kernel boot commandline still specified root by device name
/dev/sda2 but otherwise my system works normally so far. :)
 

Don't listen to nay-sayers. Your fstab will work just fine and there's nothing
wrong with it.

The LABEL= sysntax has also worked for years and years now on all grub-
supported filesystems that support volume labels. I don't know where a
previous poster got the idea from that it is not supported, or you need an
initrd - I have never used an initrd on Gentoo and have used that syntax since
forever.

Similar for claims of unreliability by someone else. The only cause I can
think of is using weird grub patches or some combination of insane flags.

   


So I don't have to have the complete path in fstab like this:

/dev/disk/by-label/boot/bootext2noatime1 2
/dev/disk/by-label/root/reiserfsdefaults0 1
/dev/disk/by-label/swapnoneswapsw0 0
/dev/disk/by-label/portage/usr/portageext3defaults0 1
/dev/disk/by-label/home/homereiserfsdefaults1 1

Can you post a grub.conf file that uses labels?  Sort of a example to 
look at and go by.


Dale

:-)  :-)



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Daniel Pielmeier
Alan McKinnon schrieb am 30.08.2010 18:32:
 Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman 
 did opine thusly:
 
 On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier bil...@gentoo.org wrote:
 Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
 your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
 (1.98) it is possible without. You don't need an initrd for LABEL/UUID
 in /etc/fstab for both cases.

 FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
 no initrd. My kernel has EFI_PARTITION compiled in (no module).

 My fstab looks like this:

 LABEL=swap   noneswapsw  0 0
 LABEL=boot  /bootext2defaults,noatime1 2
 LABEL=root   /   ext4defaults,noatime0 1
 LABEL=home  /home   ext4defaults,noatime0 1

 My kernel boot commandline still specified root by device name
 /dev/sda2 but otherwise my system works normally so far. :)
 
 Don't listen to nay-sayers. Your fstab will work just fine and there's 
 nothing 
 wrong with it.
 
 The LABEL= sysntax has also worked for years and years now on all grub-
 supported filesystems that support volume labels. I don't know where a 
 previous poster got the idea from that it is not supported, or you need an 
 initrd - I have never used an initrd on Gentoo and have used that syntax 
 since 
 forever.
 
 Similar for claims of unreliability by someone else. The only cause I can 
 think of is using weird grub patches or some combination of insane flags.

If you are referring to my post please read again my statements. I am
not a native speaker so I probably did not make this clear.

I did not say that LABEL/UUID does not work within /etc/fstab.
Specifying the root device by using the LABEL/UUID syntax in
grub.conf/menu.lst however wont work without a proper initrd.

I must confess I did not test it before but I was sure it does not work.
I did some tests now (with sys-boot/grub-0.97-r10) and only the
following syntax for the grub.conf kernel command-lines works.

kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=/dev/sda3

All the others below need an initrd if you use GRUB LEGACY. Also the
GRUB LEGACY manual [1] does not mention LABEL or UUID at all. With GRUB
2 it will probably work by using the --search menu entry [1].

kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=LABEL=root
kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=/dev/disk/by-label/root
kernel /boot/kernel/kernel-2.6.35-gentoo-r4
root=/dev/disk/by-uuid/ab24cad5-ae0b-45d7-82f4-68357d5b6ff4

[1] http://www.gnu.org/software/grub/manual/legacy/grub.html
[2] http://www.gnu.org/software/grub/manual/grub.html#search

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Bill Longman
On Mon, Aug 30, 2010 at 10:54 AM, Dale rdalek1...@gmail.com wrote:

 Alan McKinnon wrote:

 Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul
 Hartman
 did opine thusly:



 On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeierbil...@gentoo.org
  wrote:


 Nikos Chantziaras schrieb am 27.08.2010 18:06:


 On 08/27/2010 07:02 PM, J. Roeleveld wrote:


 Actually, you can:

 http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
 l

 (Read the section below Use a label):

 fstab:
 LABEL=ROOT  / ext3defaults1 1
 LABEL=BOOT  /boot ext3defaults1 2
 LABEL=SWAP  swap  swapdefaults0 0
 LABEL=HOME  /home ext3nosuid,auto 1 2


 This syntax never worked here.  Always resulted in an unbootable
 system.
  Only the /dev/disk/by-label/ syntax works reliably.


 Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
 your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
 (1.98) it is possible without. You don't need an initrd for LABEL/UUID
 in /etc/fstab for both cases.


 FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
 no initrd. My kernel has EFI_PARTITION compiled in (no module).

 My fstab looks like this:

 LABEL=swap   noneswapsw  0 0
 LABEL=boot  /bootext2defaults,noatime1 2
 LABEL=root   /   ext4defaults,noatime0 1
 LABEL=home  /home   ext4defaults,noatime0 1

 My kernel boot commandline still specified root by device name
 /dev/sda2 but otherwise my system works normally so far. :)


 Don't listen to nay-sayers. Your fstab will work just fine and there's
 nothing
 wrong with it.

 The LABEL= sysntax has also worked for years and years now on all grub-
 supported filesystems that support volume labels. I don't know where a
 previous poster got the idea from that it is not supported, or you need an
 initrd - I have never used an initrd on Gentoo and have used that syntax
 since
 forever.

 Similar for claims of unreliability by someone else. The only cause I can
 think of is using weird grub patches or some combination of insane flags.




 So I don't have to have the complete path in fstab like this:

 /dev/disk/by-label/boot/bootext2noatime1 2
 /dev/disk/by-label/root/reiserfsdefaults0 1
 /dev/disk/by-label/swapnoneswapsw0 0
 /dev/disk/by-label/portage/usr/portageext3defaults0 1
 /dev/disk/by-label/home/homereiserfsdefaults1 1

 Can you post a grub.conf file that uses labels?  Sort of a example to look
 at and go by.


Dale, there are two examples of fstabs in this message (actually three). But
you only want to see those you didn't write. You just need to put
LABEL=somelabel in the first column.

-- 
Bill Longman


Re: [gentoo-user] OT: new mail client

2010-08-30 Thread Daniel Troeder
On 08/30/2010 04:10 PM, James wrote:
 OK, so I/m ready to move a few users from the mail client in Seamonkey
 to a new mail client package. Thunderbird looks reasonable, runs on Winblows
 and Linux and is not tied to a given desktop platform. I did
 read bugzilla about enigmail not working with the latest
 thunderbird: Bug 301114.  ;-) Is there a better(alternative) way 
 to use encryption with thunderbird?
Enigmail works great, if installed via usual extension mechanism. It's
just, that the user (or you for them) has to do it once...

 In general, I like the way the 
 mozilla mail systems work, but, I want something, easy
 to admin (users do email backups), easy to migrate
 from seamonkey, and able to run on Winblows or Linux.
 
 A nice system wide backup strategy with around 2 dozen
 thunderbird clients, is also part of the strategy. So
 first users try to retrieve their lost emails, then
 ask an admin.. I like a separate backup system for email
 not part of the regular backup system.
TB3 brings archive support. I don't know if that is what you need, but
see for yourself:
http://support.mozillamessaging.com/en-US/kb/Archived+messages

I prefer having all mails stored on the server (used with IMAP) and
backing that up. Most users I know just forget to make backups/archives.
Of course if they need a lost mail - you're right - it's work for us :(
I think dovecot-imap has an automated archiving mechanism too...

Bye,
Daniel


-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


[gentoo-user] hotplugging usb devices no longer working

2010-08-30 Thread Allan Gottlieb
I have a sansa MP3 player and a Flip Video.  Each plugs in as a usb
device and presents as a fat file system.

Both used to work, but don't today (it is has been a while--few
months--since I last plugged them in.

Now the device screen shows that it is connected, but I see nothing on
the computer
  df shows no new file system
  mount shows no new file system

I checked and FAT/VFAT are in the kernel

# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1

Both hal and udev are running
 8045 ?Ssl0:00 /usr/sbin/hald --use-syslog --verbose=no
 8046 ?S  0:00 hald-runner
 8075 ?S  0:00 hald-addon-input: Listening on /dev/input/event8 
/dev/input/event7 /dev/input/event2 /dev/input/event1 /dev/input/event4 
/dev/input/event3 /dev/input/event0 /dev/input/event5
 8084 ?S  0:00 /usr/libexec/hald-addon-generic-backlight
 8086 ?S  0:00 /usr/libexec/hald-addon-cpufreq
 8087 ?S  0:00 /usr/libexec/hald-addon-acpi
 8095 ?S  0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
 8785 ?Ss 0:00 /bin/bash -c ps ax | grep hal
 8787 ?S  0:00 grep hal

 8131 ?Ss0:00 /sbin/udevd --daemon
 8794 ?Ss 0:00 /bin/bash -c ps ax | grep udev
 8796 ?S  0:00 grep udev

Any help would be appreciated

thanks,
allan



Re: [gentoo-user] OT: new mail client

2010-08-30 Thread Aniruddha
On Mon, Aug 30, 2010 at 4:10 PM, James wirel...@tampabay.rr.com wrote:

 A nice system wide backup strategy with around 2 dozen
 thunderbird clients, is also part of the strategy. So
 first users try to retrieve their lost emails, then
 ask an admin.. I like a separate backup system for email
 not part of the regular backup system.

pop3 is easy to backup, just copy the ~/.thundebird folder
(%APPDATA%/thunderbird on Windows). You can use rscync, rsnapshot or a
commercial program like CrashPlan. Another option is to provide an
imap server with Zarafa which allows users to restore e-mails (1) and
(brick) level backups server side (2)

1) 
http://doc.zarafa.com/6.40/User_Manual/en-US/html/_restoring_deleted_items.html
2) 
http://doc.zarafa.com/6.40/Administrator_Manual/en-US/html/_backup_amp_restore.html



[gentoo-user] ignore previous msg (Hotplugging not working)

2010-08-30 Thread Allan Gottlieb
I plugged into the desktop and looked on the laptop.

Sorry for the noise,
allan



[gentoo-user] Re: ignore previous msg (Hotplugging not working)

2010-08-30 Thread Remy Blank
Allan Gottlieb wrote:
 I plugged into the desktop and looked on the laptop.

Thanks for sharing, that made my day :)

(Probably because I can so easily imagine that happening to me.)

-- Remy



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Output of emerge -NDpvu world

2010-08-30 Thread Harm Geerts
On Monday 30 August 2010, Volker Armin Hemmann wrote:
 On Monday 30 August 2010, econti wrote:
  Hi all
  is it possible to page the output of emerge -NDpvu world in a terminal?
  'emerge -NDpvu world | more' does not work.
  
  emilio
 
 works with less...

I've never understood why distro's still bother with more, it's so 
impractical.



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Dale

Bill Longman wrote:



On Mon, Aug 30, 2010 at 10:54 AM, Dale rdalek1...@gmail.com 
mailto:rdalek1...@gmail.com wrote:


Alan McKinnon wrote:

Apparently, though unproven, at 18:03 on Monday 30 August
2010, Paul Hartman
did opine thusly:


On Fri, Aug 27, 2010 at 9:04 PM, Daniel
Pielmeierbil...@gentoo.org mailto:bil...@gentoo.org
 wrote:

Nikos Chantziaras schrieb am 27.08.2010 18:06:

On 08/27/2010 07:02 PM, J. Roeleveld wrote:

Actually, you can:

http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
l

(Read the section below Use a label):

fstab:
LABEL=ROOT  / ext3defaults
   1 1
LABEL=BOOT  /boot ext3defaults
   1 2
LABEL=SWAP  swap  swapdefaults
   0 0
LABEL=HOME  /home ext3  
 nosuid,auto 1 2


This syntax never worked here.  Always resulted in
an unbootable system.
 Only the /dev/disk/by-label/ syntax works reliably.

Afaik if you are using GRUB LEGACY (0.97) and want to
use LABEL/UUID in
your grub.conf/menu.lst you also need an initrd. I
think with GRUB 2
(1.98) it is possible without. You don't need an
initrd for LABEL/UUID
in /etc/fstab for both cases.

FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled
partitions and
no initrd. My kernel has EFI_PARTITION compiled in (no
module).

My fstab looks like this:

LABEL=swap   noneswapsw  
   0 0
LABEL=boot  /bootext2defaults,noatime
   1 2
LABEL=root   /   ext4defaults,noatime
   0 1

LABEL=home  /home   ext4defaults,noatime0 1

My kernel boot commandline still specified root by device name
/dev/sda2 but otherwise my system works normally so far. :)

Don't listen to nay-sayers. Your fstab will work just fine and
there's nothing
wrong with it.

The LABEL= sysntax has also worked for years and years now on
all grub-
supported filesystems that support volume labels. I don't know
where a
previous poster got the idea from that it is not supported, or
you need an
initrd - I have never used an initrd on Gentoo and have used
that syntax since
forever.

Similar for claims of unreliability by someone else. The only
cause I can
think of is using weird grub patches or some combination of
insane flags.



So I don't have to have the complete path in fstab like this:

/dev/disk/by-label/boot/bootext2noatime  
 1 2

/dev/disk/by-label/root/reiserfsdefaults0 1
/dev/disk/by-label/swapnoneswapsw0 0
/dev/disk/by-label/portage/usr/portageext3defaults
   0 1
/dev/disk/by-label/home/homereiserfsdefaults  
 1 1


Can you post a grub.conf file that uses labels?  Sort of a example
to look at and go by.


Dale, there are two examples of fstabs in this message (actually 
three). But you only want to see those you didn't write. You just need 
to put LABEL=somelabel in the first column.


--
Bill Longman


That's what I wanted to clarify.  I put the whole path but others 
didn't.  I wasn't sure if they meant that literally or if they just 
shortened it a bit.  It looks like it will work either way.


Dale

:-)  :-)



Re: [gentoo-user] hotplugging usb devices no longer working

2010-08-30 Thread Jake Moe
 On 31/08/10 06:49, Allan Gottlieb wrote:
 I have a sansa MP3 player and a Flip Video.  Each plugs in as a usb
 device and presents as a fat file system.

 Both used to work, but don't today (it is has been a while--few
 months--since I last plugged them in.

 Now the device screen shows that it is connected, but I see nothing on
 the computer
   df shows no new file system
   mount shows no new file system

 I checked and FAT/VFAT are in the kernel

 # DOS/FAT/NT Filesystems
 CONFIG_FAT_FS=y
 CONFIG_VFAT_FS=y
 CONFIG_FAT_DEFAULT_CODEPAGE=437
 CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1

 Both hal and udev are running
  8045 ?Ssl0:00 /usr/sbin/hald --use-syslog --verbose=no
  8046 ?S  0:00 hald-runner
  8075 ?S  0:00 hald-addon-input: Listening on /dev/input/event8 
 /dev/input/event7 /dev/input/event2 /dev/input/event1 /dev/input/event4 
 /dev/input/event3 /dev/input/event0 /dev/input/event5
  8084 ?S  0:00 /usr/libexec/hald-addon-generic-backlight
  8086 ?S  0:00 /usr/libexec/hald-addon-cpufreq
  8087 ?S  0:00 /usr/libexec/hald-addon-acpi
  8095 ?S  0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
  8785 ?Ss 0:00 /bin/bash -c ps ax | grep hal
  8787 ?S  0:00 grep hal

  8131 ?Ss0:00 /sbin/udevd --daemon
  8794 ?Ss 0:00 /bin/bash -c ps ax | grep udev
  8796 ?S  0:00 grep udev

 Any help would be appreciated

 thanks,
 allan
What device screen do you mean?  And where are you looking on the
computer?  When I insert a usb stick, there's a lot of output in
/var/log/messages about the stick and the partition on it.  Then I use
mount /media/usbstick to mount it according to the appropriate entry
in my /etc/fstab.  Speaking of which, what's your /etc/fstab look like? 
If you use tail -f /var/log/messages and then plug the device in, does
it see that it's connected?

I suspect you're talking about auto mounting, such as KDE or Gnome does;
can you manually mount them?  If not, then I doubt auto mounting will
either.

Jake Moe



Re: [gentoo-user] ignore previous msg (Hotplugging not working)

2010-08-30 Thread Jake Moe
 On 31/08/10 06:57, Allan Gottlieb wrote:
 I plugged into the desktop and looked on the laptop.

 Sorry for the noise,
 allan

Whups, only looked at the previous thread, didn't see this.  Probably
best if you reply to the thread with stuff like this, so we can keep
track of it.

And like Remy, this put a smile on my face.  :-P

Jake Moe



Re: [gentoo-user] ignore previous msg (Hotplugging not working)

2010-08-30 Thread Allan Gottlieb
Jake Moe jakesaddr...@gmail.com writes:

  On 31/08/10 06:57, Allan Gottlieb wrote:
 I plugged into the desktop and looked on the laptop.

 Sorry for the noise,
 allan

 Whups, only looked at the previous thread, didn't see this.  Probably
 best if you reply to the thread with stuff like this, so we can keep
 track of it.

I thought of that.  The problem is that there is quite a delay between
my sending the msg and seeing it appear in the newsgroup.
I wanted to tell people right away to prevent wasted effort.

Perhaps I should have replied to my local copy (gnus GCC), but then
the references would not be right in the newsgroup.

allan



Re: [gentoo-user] ignore previous msg (Hotplugging not working)

2010-08-30 Thread Bill Longman
On Mon, Aug 30, 2010 at 5:31 PM, Allan Gottlieb gottl...@nyu.edu wrote:

 Jake Moe jakesaddr...@gmail.com writes:

   On 31/08/10 06:57, Allan Gottlieb wrote:
  I plugged into the desktop and looked on the laptop.
 
  Sorry for the noise,


*That* is a keeper.

For the past few months I've had two keyboards on my desk - one for the Sun
box and the other on the KVM for the Linux boxes. Innumerable times I've
wondered why my screensaver password never got accepted. Until I realized I
was on the wrong keyboard.

Thanks for the grin, Allan.
-- 
Bill Longman


[gentoo-user] How to fix messed up KDE menu icons?

2010-08-30 Thread Bill Longman
I have a broken Firefox-3 reference in my KDE favorites menu. Is there a
tool to fix these broken items because I haven't found one.

-- 
Bill Longman
Εν αρχη ην ο λογος