Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Dale
Stroller wrote:

 On 9 Feb 2009, at 07:42, Dale wrote:
 Stroller wrote:
 ...
strol...@hex ~ $ sudo mount -v -L boot
/dev/sda1 on /boot type ext2 (rw,noatime)
strol...@hex ~ $
 ...
 You may have done this but just in case, you did use the tools to set
 the label on the drive right?  tune2fs does it for ext2 and ext3.  I'm
 not sure about ext4.

 Good question! I thought for a moment that the above demonstrated that
 I had done so, but of course it is necessary to boot from a LiveCD
 instead:

 r...@sysresccd /root % mount -v -L root /mnt/gentoo
 mount: you didn't specify a filesystem type for /dev/sda6
I will try type ext4
 /dev/sda6 on /mnt/gentoo type ext4 (rw)
 r...@sysresccd /root %

 Stroller.




Since ext4 is new and I have no experience with it yet, you may want to
take this lightly.  I think cfdisk, or fdisk, would show if the label
was set or not.  It to my knowledge can't change the label but it does
show it if it is set.  It should do that even if booted from the drive
as well, just don't change anything.  ;-)

Dale

:-)  :-)



Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Stroller


On 9 Feb 2009, at 07:56, Stroller wrote:

...
You may have done this but just in case, you did use the tools to set
the label on the drive right?  tune2fs does it for ext2 and ext3.   
I'm

not sure about ext4.


Good question! I thought for a moment that the above demonstrated  
that I had done so, but of course it is necessary to boot from a  
LiveCD instead:


r...@sysresccd /root % mount -v -L root /mnt/gentoo
mount: you didn't specify a filesystem type for /dev/sda6
  I will try type ext4
/dev/sda6 on /mnt/gentoo type ext4 (rw)
r...@sysresccd /root %


I should have said:

Thank you for the suggestion, though.

Stroller.




Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Dale
Stroller wrote:

 On 9 Feb 2009, at 07:56, Stroller wrote:
 ...
 You may have done this but just in case, you did use the tools to set
 the label on the drive right?  tune2fs does it for ext2 and ext3.  I'm
 not sure about ext4.

 Good question! I thought for a moment that the above demonstrated
 that I had done so, but of course it is necessary to boot from a
 LiveCD instead:

 r...@sysresccd /root % mount -v -L root /mnt/gentoo
 mount: you didn't specify a filesystem type for /dev/sda6
   I will try type ext4
 /dev/sda6 on /mnt/gentoo type ext4 (rw)
 r...@sysresccd /root %

 I should have said:

 Thank you for the suggestion, though.

 Stroller.




Your welcome.  Here is some more info.

   cfdisk (util-linux-ng 2.14.1)

Disk Drive: /dev/hdb
  Size: 80026361856 bytes,
80.0 GB
Heads: 255   Sectors per Track: 63  
Cylinders: 9729

  Name  Flags Part Type   FS
Type   [Label]Size (MB)
 
--
  hdb1 PrimaryLinux
ext3[backup]80023.75


That partition is labeled backup on there.  It is a drive I am not
using so I could umount it to set the label. 

Hope that helps.

Dale

:-)  :-) 



[gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

I'm setting up this old computer of mine and why not encrypt it. I have
done this on several computers before, but never have I gotten these
kind of errors.

When booting, cryptsetup segfaults. I can find no obvious reason why, I
have tried to recompile cryptsetup using different arch, but still the
same. It is build statically, USE=-dynamic is set and ldd just says no
dynamic executable. But when trying to debug I copied the cryptsetup,
that is not working in the init, to a usb-device and tried to decrypt my
disk using a livecd, and this went fine.

So to summarize:
init - cryptsetup segfaults
in livecd env - cryptsetup ok
in gentoo system - cryptsetup ok

the other programs in the init seems to run as they should; busybox and lvm.

Any ideas on how to continue debugging or is there someone with the answer?

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmP67wACgkQ82oqndqg+400+gCgzLWM4mTtKWKUT3mTiE2mFHAz
pWAAn3PR5SNCg3s9HHNGCSMjFjB13PIz
=3nqB
-END PGP SIGNATURE-



Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Stroller


On 9 Feb 2009, at 08:02, Dale wrote:

...
r...@sysresccd /root % mount -v -L root /mnt/gentoo
mount: you didn't specify a filesystem type for /dev/sda6
  I will try type ext4
/dev/sda6 on /mnt/gentoo type ext4 (rw)
r...@sysresccd /root %



Since ext4 is new and I have no experience with it yet, you may want  
to

take this lightly.  I think cfdisk, or fdisk, would show if the label
was set or not.  It to my knowledge can't change the label but it does
show it if it is set.  It should do that even if booted from the drive
as well, just don't change anything.  ;-)


Hi Dale,

Thanks for your help. I thought the above DID demonstrate that the  
partition is labelled correctly - does the -L flag not say mount the  
partition with the following label?


Anyway, I checked with cfdisk, and because the output is formatted a  
bit too pretty for email I found another way to check the  
partition's / filesystem's label:


$ sudo e2label /dev/sda1
boot
$ sudo e2label /dev/sda6
root
$

This matches the label I was using in grub.conf:

$ grep LABEL= /boot/grub/grub.conf
#kernel /boot/bzImage-2.6.28-gentoo-r1 root=LABEL=root
$

Stroller.




Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2009 07:26:38 +, Stroller wrote:

 I can find numerous references to this syntax going back to 2005 or  
 so, and some major distros seem to use it as the default way of  
 describing root= to the kernel.

It would appear that you need an initrd/initramfs to use this.

http://mulix.livejournal.com/84768.html


-- 
Neil Bothwick

Can you be a closet claustrophobic?


signature.asc
Description: PGP signature


Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Stroller


On 9 Feb 2009, at 09:18, Neil Bothwick wrote:


On Mon, 9 Feb 2009 07:26:38 +, Stroller wrote:


I can find numerous references to this syntax going back to 2005 or
so, and some major distros seem to use it as the default way of
describing root= to the kernel.


It would appear that you need an initrd/initramfs to use this.

http://mulix.livejournal.com/84768.html


Ah! Many thanks. I will live without this shortcut, then, I think.

I bow to your vastly superior Google-Fu.

Stroller.




Re: [gentoo-user] media-video/gspcav1 or kernel module?

2009-02-09 Thread Robin Atwood
On Sunday 08 Feb 2009, Iain Buchanan wrote:
 Hi all,

 I recently upgraded from 2.6.26 to 2.6.28.  My el-cheapo webcam (lsusb:
 0c45:602c Microdia Clas Ohlson TWC-30XOP WebCam) used the
 media-video/gspcav1 driver, but that no longer compiles:

 /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c
ore.c:54:27: error: asm/semaphore.h: No such file or directory
 /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c
ore.c: In function 'spca5xx_ioctl':
 /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c
ore.c:2463: error: implicit declaration of function 'video_usercopy'

 etc.

 I discovered a number of gspca modules in the kernel:

 gspca_spca508
 gspca_spca506
 gspca_spca505
 gspca_spca500
 gspca_spca501
 gspca_spca561

 but I can't find out which one suits my webcam.  usb id is above, and
 it's a freebie from a pc store, so it's branded with their logo and
 comes with no technical notes.

 I've tried loading each gspca_spca5xx module one by one, but none of
 them creates a video device (that I can tell).

I just backed out gspcav1 and compiled all the kernel drivers as modules and 
just plugged the webcam in; the kernel works out which ones to use. 

# lsmod | grep spca
gspca 621584  0
gspca_zc3xx48320  0
gspca_main 22656  1 gspca_zc3xx
compat_ioctl32  8256  2 gspca,gspca_main
videodev   34112  3 gspca,gspca_main,compat_ioctl32

However, you are not out of the woods yet! You will probably need the libv4l 
libraries installed to get spcaview to work. Skype and kopete still 
completely fail to find the camera. :( There is a long thread on the Gentoo 
fora about this.
-- 
--
Robin Atwood














Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2009 09:28:42 +, Stroller wrote:

 I bow to your vastly superior Google-Fu.

Not really, I just hit the same problem as you a while ago, and came up
with the same solution.


-- 
Neil Bothwick

Adolescence, n.: The stage between puberty and adultery.


signature.asc
Description: PGP signature


Re: [gentoo-user] Time keeper app for KDE 4.2

2009-02-09 Thread Volker Armin Hemmann
On Sonntag 08 Februar 2009, Hung Dang wrote:
 Hi all
 I know that there is an option in GNOME which allows the computer
 keyboard, mouse and screen to freeze for a certain time for example 3
 minutes for each hour.
 I wonder if there is something similar in KDE?
FREEZE?
sounds stupid, but:
ktimetracker
kalarm 
for managing time

eyesaver which tells you to do a break once in a while.







Re: [gentoo-user] Re: Hard disk power save

2009-02-09 Thread Danis Petkakis
2009/2/9 Neil Bothwick n...@digimed.co.uk

 On Mon, 9 Feb 2009 01:37:00 +, Stroller wrote:

   ok thank you for your response...will do as suggested...
  
   The suggestion was not to top-post...
 
  He was replying to one of my messages, and I did not suggest that.

 No, although the response was will do as suggested not will do as you
 suggested.

  I was actually slightly narked at having to futz around with the
  previous message - which did not make any sense the first time I read
  it, so no doubt it made no sense at all to a less-capable English
  speaker - copying  pasting 6 times, just so that Nikos could make a
  clever point.

 Yes, a clear explanation of why the list prefers text to appear in
 chronological order would have been better, and I was somewhat complicit
 in continuing the obtuse complaints.

 Danis, please do not top-post. Instead, place your comments so they
 follow what your are replying to. That way the mail can be read in its
 natural order, which makes it much easier to understand.


 --
 Neil Bothwick

 Top Oxymorons Number 5: Twelve-ounce pound cake


indeed i did not understand the first suggestion about top-posting and did
not
know about this rule...it is the first time i'm taking part in a list so i
will try to behave
with the rules of it and not make any difficulties so i can get the most out
of your
help when i am in trouble...thanks again for pointing that out which i did
not understand
until the last 2 posts i've read...

Danis


Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Michael Hampicke

 It would appear that you need an initrd/initramfs to use this.

 
 Ah! Many thanks. I will live without this shortcut, then, I think.
 

If you, like me, prefere to compile your own kernel, there's still an
easy way to create a initrd for your kernel: with genkernel
I use this command to compile my pre-configured kernel

genkernel --no-clean --no-mrproper \
--makeopts=-j2 --loglevel=5 --install --symlink all

To include support for disk labels use the switch --disklabel




Re: [gentoo-user] Re: Hard disk power save

2009-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2009 12:25:07 +0200, Danis Petkakis wrote:

 indeed i did not understand the first suggestion about top-posting and
 did not
 know about this rule...it is the first time i'm taking part in a list
 so i will try to behave
 with the rules of it and not make any difficulties so i can get the
 most out of your
 help when i am in trouble...thanks again for pointing that out which i
 did not understand
 until the last 2 posts i've read...

That's OK. There is no FAQ or other guidelines for this list sent to
new subscribers, so the first you know about this preference is when
someone asks you to respect it.

Personally, I find top-posting ugly, counter-intuitive and inefficient,
butt hen I'm an old fart with too many years of starting at the top of
the page and reading to the bottom behind him :(


-- 
Neil Bothwick

Why do programmers get Halloween and Christmas confused?
Because oct 31 is the same as dec 25.


signature.asc
Description: PGP signature


Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Sebastian Günther
* Johan Blåbäck (johan.bluecr...@gmail.com) [09.02.09 09:40]:
 hi,
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 the other programs in the init seems to run as they should; busybox and lvm.
 
 Any ideas on how to continue debugging or is there someone with the answer?
 

Forgot to compile the Crypto Algorithms in the kernel instead of as
modules? Since lvm runs, the lvm is obviously no module.

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpQVaXRv4jOc.pgp
Description: PGP signature


Re: [gentoo-user] media-video/gspcav1 or kernel module?

2009-02-09 Thread Linyin
 I just backed out gspcav1 and compiled all the kernel drivers as modules and
 just plugged the webcam in; the kernel works out which ones to use.

 # lsmod | grep spca
 gspca 621584  0
 gspca_zc3xx48320  0
 gspca_main 22656  1 gspca_zc3xx
 compat_ioctl32  8256  2 gspca,gspca_main
 videodev   34112  3 gspca,gspca_main,compat_ioctl32

 However, you are not out of the woods yet! You will probably need the libv4l
 libraries installed to get spcaview to work. Skype and kopete still
 completely fail to find the camera. :( There is a long thread on the Gentoo
 fora about this.
 --
 --
 Robin Atwood

where can i get the ibv4l libraries, in the portage? can u give me
some key words ,thx.



-- 
Regards

Linyin SooChow China
http://linyin.8800.org



Re: [gentoo-user] media-video/gspcav1 or kernel module?

2009-02-09 Thread Michele Schiavo
media-libs/libv4l

Il giorno lun, 09/02/2009 alle 19.53 +0800, Linyin ha scritto:

  I just backed out gspcav1 and compiled all the kernel drivers as modules and
  just plugged the webcam in; the kernel works out which ones to use.
 
  # lsmod | grep spca
  gspca 621584  0
  gspca_zc3xx48320  0
  gspca_main 22656  1 gspca_zc3xx
  compat_ioctl32  8256  2 gspca,gspca_main
  videodev   34112  3 gspca,gspca_main,compat_ioctl32
 
  However, you are not out of the woods yet! You will probably need the libv4l
  libraries installed to get spcaview to work. Skype and kopete still
  completely fail to find the camera. :( There is a long thread on the Gentoo
  fora about this.
  --
  --
  Robin Atwood
 
 where can i get the ibv4l libraries, in the portage? can u give me
 some key words ,thx.
 
 
 


signature.asc
Description: Questa è una parte del messaggio firmata digitalmente


[gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Nikos Chantziaras

Stroller wrote:
I install sudo, give my user wide sudo rights and then set 
PermitRootLogin no in /etc/ssh/sshd_config.

(Critique of this measure welcomed).


Since Hung already answered about the other problem, I'll just comment 
on this.


It's a bad idea if the machine is open to the Internet, especially since 
it's easy to simply su - or sudo as a normal user.





Re: [gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Heiko Wundram
Am Montag 09 Februar 2009 13:37:31 schrieb Nikos Chantziaras:
 Stroller wrote:
  I install sudo, give my user wide sudo rights and then set
  PermitRootLogin no in /etc/ssh/sshd_config.
  (Critique of this measure welcomed).

 Since Hung already answered about the other problem, I'll just comment
 on this.

 It's a bad idea if the machine is open to the Internet, especially since
 it's easy to simply su - or sudo as a normal user.

Sorry, but I consider that to be BS advice (at least concerning that you want 
to leave password-authentication open).

I'd always recommend disabling root login for ssh (as soon as that is 
possible, i.e. you have an unpriviledged account who is in group wheel who you 
can use to access the machine in question), because root is a well-known 
user (and thus lends itself well to a [possibly distributed] ssh brute force).

When someone wants to hack your machine, he's always going to try known 
usernames before going on to guess what additional (unpriviledged) usernames 
might have been set up on your system. And, even when he gets access to one of 
your user accounts (who happen to be in group wheel), he still has to guess 
the root password (when doing su -) to be able to become root, and hopefully 
this buys you the time to see in your logs that someone tried local su with 
invalid passwords, which should always be a high priority alert.

YMMV, but I've felt pretty safe (safer than leaving root open for password-
authentication) like this so far.

-- 
Heiko Wundram
Gehrkens.IT GmbH

FON 0511-59027953 | http://www.gehrkens.it
FAX 0511-59027957 | http://www.xencon.net

Gehrkens.IT GmbH
Strasse der Nationen 5
30539 Hannover

Registergericht: Amtsgericht Hannover, HRB 200551
Geschäftsführer: Harald Gehrkens, Daniel Netzer


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


[gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Nikos Chantziaras

Heiko Wundram wrote:

Am Montag 09 Februar 2009 13:37:31 schrieb Nikos Chantziaras:

Stroller wrote:

I install sudo, give my user wide sudo rights and then set
PermitRootLogin no in /etc/ssh/sshd_config.
(Critique of this measure welcomed).

Since Hung already answered about the other problem, I'll just comment
on this.

It's a bad idea if the machine is open to the Internet, especially since
it's easy to simply su - or sudo as a normal user.


Sorry, but I consider that to be BS advice (at least concerning that you want 
to leave password-authentication open).


I'd always recommend disabling root login for ssh (as soon as that is 
possible, i.e. you have an unpriviledged account who is in group wheel who you 
can use to access the machine in question), because root is a well-known 
user (and thus lends itself well to a [possibly distributed] ssh brute force).


Er, didn't I actually say the same?  If other people have network access 
to the machine, disable root.  You misunderstood something.





Re: [gentoo-user] {OT} xfce4 network management?

2009-02-09 Thread Momesso Andrea
On Sat, Feb 07, 2009 at 02:58:13PM -0800, Grant wrote:
  /etc/wpa_supplicant/wpa_supplicant.conf editing while traveling.  Does
 
  There's also wpa_gui.
  Liviu
 
 
 
  --
  Do you know how to read?
  http://www.alienetworks.com/srtest.cfm
  Do you know how to write?
  http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
 
 
  But you can use wicd for most anything from unencryped, to WEP, to WPA and
  WPA2. Wicd is just plain easy.
 
 Just what I was looking for, thanks everyone.
 
 - Grant

Is it possbible with wicd to manage pppoe connections when a certain
wireless network is conntected?

And what about gprs connections over my bluetooth phone? (actually I use
ppp over rfcomm in my /etc/conf.d/net)

===
TopperH
===


pgpakSYQvMpUg.pgp
Description: PGP signature


Re: [gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Saphirus Sage



On Feb 9, 2009, at 8:15 AM, Nikos Chantziaras rea...@arcor.de wrote:


Heiko Wundram wrote:

Am Montag 09 Februar 2009 13:37:31 schrieb Nikos Chantziaras:

Stroller wrote:

I install sudo, give my user wide sudo rights and then set
PermitRootLogin no in /etc/ssh/sshd_config.
(Critique of this measure welcomed).
Since Hung already answered about the other problem, I'll just  
comment

on this.

It's a bad idea if the machine is open to the Internet, especially  
since

it's easy to simply su - or sudo as a normal user.
Sorry, but I consider that to be BS advice (at least concerning  
that you want to leave password-authentication open).
I'd always recommend disabling root login for ssh (as soon as that  
is possible, i.e. you have an unpriviledged account who is in group  
wheel who you can use to access the machine in question), because  
root is a well-known user (and thus lends itself well to a  
[possibly distributed] ssh brute force).


Er, didn't I actually say the same?  If other people have network  
access to the machine, disable root.  You misunderstood something.


I'd just as soon leave the root account able to be logged in over SSH  
and remove password authentication in preference of a 2048-bit RSA  
key. Just use a script to add failed logins to a deny list. 



[gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Nikos Chantziaras

Saphirus Sage wrote:
I'd just as soon leave the root account able to be logged in over SSH 
and remove password authentication in preference of a 2048-bit RSA key. 
Just use a script to add failed logins to a deny list.


I tend to forget that this isn't Debian, so yeah, that'll work ;D




Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Mike Kazantsev
On Mon, 09 Feb 2009 09:39:24 +0100
Johan Blåbäck johan.bluecr...@gmail.com wrote:

 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.

You'll get segfault if you're trying to do something like luksOpen on a
non-existing device.

At least that was the reason for me, once, when I've tried to
luksOpen /dev/sda2 instead of /dev/sda3, or something like that.

Had it figured out by putting strace to initrd and running strace
cryptsetup luksOpen ... instead of just cryptsetup - gave me something
like open('/dev/sdaX', ...) = -1 ENXIO (No such device or address), so
I had to double-check and found the mistake to be that trivial.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] vncviewer Recommendation

2009-02-09 Thread Drew Tomlinson
I'm looking for an vncviewer for Linux that has the same features as the
Tight VNC viewer on Windows.  I really like how the Windows viewer will
scale the desktop and remember connections.  Also, it's very easy to
choose between low and high bandwidth connections with the Windows
version.

I've installed the TightVNC viewer on my Gentoo box and it does not
appear to have any of these features.  I'm looking for recommendations.

Thanks,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread David Negreira
Drew Tomlinson wrote:
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

 Thanks,

 Drew

   
Hi,

You could use grdesktop that has all that features.


Kind regards,

DN



[gentoo-user] Re: Using portage through NFS

2009-02-09 Thread Chris Lieb
Neil Bothwick wrote:
 On Fri, 06 Feb 2009 10:57:58 -0600, Chris Lieb wrote:

 I don't want to do UnionFS since that requires me to patch the kernel,
 which is more work than I have the time for.

 cd /usr/src/linux
 patch -p1 /path/to/patchfile

 You must be *really* short of time ;-)

My concern is more about making my own ebuild (based off of
gentoo-sources) that will patch the kernel source for me so that I can
easily distribute this patched kernel source to all of my computers.  I
need the process to be easy so that whom ever succeeds me doesn't have
to learn much more than just running a couple of scripts that I wrote.
Even how, I catch enough crap from my boss already for spending so much
time tinkering with servers instead of programming :)

A quick look at the gentoo-sources ebuild makes it look like the
patching must be happening in an eclass somewhere, but I'm no bash or
ebuild/eclass guru.  My skills end at fixing dependencies in packages
and doing simple ebuild copy version bumps.

Is there a guide out there for rolling my own kernel ebuild?

Chris

PS. Sorry if this is a double post.  The ml seems to silently reject my
posts that I do through gmane.




Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Stroller


On 9 Feb 2009, at 10:32, Michael Hampicke wrote:



It would appear that you need an initrd/initramfs to use this.



Ah! Many thanks. I will live without this shortcut, then, I think.



If you, like me, prefere to compile your own kernel, there's still an
easy way to create a initrd for your kernel: with genkernel
I use this command to compile my pre-configured kernel

genkernel --no-clean --no-mrproper \
   --makeopts=-j2 --loglevel=5 --install --symlink all

To include support for disk labels use the switch --disklabel




I am resistant to the idea of using an initrd, because IIRC it's an  
extra file that has to be stored in /boot, creating extra clutter in  
there.


I'm kinda thinking that using the label prevents failed boots in the  
event that the drives are recognised in a different order in the  
future, but nevertheless I don't like initrd and the longer kernel  
lines in grub.conf that they require.


I appreciate this is somewhat irrational.

Stroller.




Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Drew Tomlinson
David Negreira wrote:
 Drew Tomlinson wrote:
   
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

 Thanks,

 Drew

   
 
 Hi,

 You could use grdesktop that has all that features.
   

Thank you for your reply.  However grdesktop appears to be only for
connecting to Windows Remote Desktop and NOT VNC.  Am I missing
something?  I need to connect to VNC servers.

Thanks,

Drew


-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Re: [gentoo-user] mit kerberos running on Gentoo Linux

2009-02-09 Thread Dirk Heinrichs
Am Montag, 9. Februar 2009 02:45:41 schrieb zhangwe...@realss.com:
 zhangwe...@esmeralda:~$ krsh emerson.realss.com
 usage: rlogin [ -8EL] [-e char] [ -l username ] host

 Should I complain to Gentoo packager or MIT or have problem of my own?

Any chance krsh is an alias in your shell? The output you see comes from 
/usr/bin/rlogin.

Bye...

Dirk


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


Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Paul Hartman
On Mon, Feb 9, 2009 at 10:54 AM, Drew Tomlinson d...@mykitchentable.net wrote:
 David Negreira wrote:
 Drew Tomlinson wrote:

 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

 Thanks,

 Drew



 Hi,

 You could use grdesktop that has all that features.


 Thank you for your reply.  However grdesktop appears to be only for
 connecting to Windows Remote Desktop and NOT VNC.  Am I missing
 something?  I need to connect to VNC servers.

 Thanks,

 Drew

There's kvnc in KDE land. Don't remember if it has all those features,
but I *think* it did. I has been ages since I used VNC.



Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread David Negreira




Drew Tomlinson wrote:

  David Negreira wrote:
  
  
Drew Tomlinson wrote:
  


  I'm looking for an vncviewer for Linux that has the same features as the
Tight VNC viewer on Windows.  I really like how the Windows viewer will
scale the desktop and "remember" connections.  Also, it's very easy to
choose between "low" and "high" bandwidth connections with the Windows
version.

I've installed the TightVNC viewer on my Gentoo box and it does not
appear to have any of these features.  I'm looking for recommendations.

Thanks,

Drew

  

  

Hi,

You could use grdesktop that has all that features.
  

  
  
Thank you for your reply.  However grdesktop appears to be only for
connecting to Windows Remote Desktop and NOT VNC.  Am I missing
something?  I need to connect to VNC servers.

Thanks,

Drew


  

Sorry my bad! I was busy around here and thought that it was rdesktop
=) For vnc i usually use vncviewer only, good luck with your quest.






Re: [gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Stroller


On 9 Feb 2009, at 13:05, Heiko Wundram wrote:

... even when he gets access to one of
your user accounts (who happen to be in group wheel), he still has  
to guess
the root password (when doing su -) to be able to become root, and  
hopefully
this buys you the time to see in your logs that someone tried local  
su with

invalid passwords, which should always be a high priority alert.


I have been using `sudo` over `su` for a long time because I felt it  
reduces the risk of staying too long logged in as root, doing  
something daft and damaging the system.


However I have now many times found myself typing `sudo` commands  
automatically  sometimes inattentively, so that would seem to  
undermine that argument.


Your point is very persuasive. I guess my remaining objection is that  
I have my .bashrc  .bash_profile just the way I like them, and using  
root would seem to require me to make any changes in two places.


Stroller.




[gentoo-user] Re: KDE 4.2 Konsole Title

2009-02-09 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nikos Chantziaras wrote:
 Chris Lieb wrote:
 I recently switched to KDE 4.2 (completely removed KDE 3.5.9 and emerge
 @kde-4.2) and fired up my system update script.  I noticed right away
 that the title bar of Konsole did not update to show my progress in my
 emerge -u... world.  In fact, it only showed the user name and directory
 that I was currently in.  No script seemed to change the contents of the
 title bar.  I noticed the same behavior in lxvt run in KDE 4.2 also.

 In Konsole under KDE 3.5.9, the title bar would always be controlled by
 the script that was running.  Is this supposed to happen in KDE 4.2, or
 is this a bug?
 
 In the profile of Konsole you're using, in the Tabs tab, edit the Tab
 title format according to your needs.  To get KDE 3 behavior, you need
 %d : %w.

I did that and it worked.  However, I noticed that there tends to be a
delay between when the title should change and when it actually does.
In KDE 3.5, as soon as emerge moved to the next package, it would change
the window title almost instantly.  In KDE 4.2, there is a lag of a
couple seconds.  Is there something I need to configure to get this to
happen more quickly, or is it an upstream bug?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJkGMnAAoJEJWxx7fgsD+CFugIAMO3bqMvCocX4QAsgxd9TdgY
vbKawsQi1TgkXE4BxLoQLhlnAvqDso1yCLKN5aV5hsMpDvejkYlQ6/eq85ZUBpzU
Vr6IHziokc09hZLZ55Sd0j3jYxjeK6nlCpDkrDwAcL+0OT4ECkUnO6w7fR3ybfq+
DVCsW988A+h/qqVnQNe53wttqZ7/LtGVqC2FSiS7HLKX/fBdkcT+AZPo3ExHurev
eOJ5udtSi2YuLX/pYPC4ol+A2UwiBKbNL6W79QrRhljtREYRcWD6FD+l1hRD3LuU
cCbNuef4SZmV011KfiqRHhTch7i/jA5CJLKJYUhhyyBxzeapifiE1+kzPOMI3FM=
=EmIn
-END PGP SIGNATURE-



Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Kazantsev wrote:
 On Mon, 09 Feb 2009 09:39:24 +0100
 Johan Blåbäck johan.bluecr...@gmail.com wrote:
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 You'll get segfault if you're trying to do something like luksOpen on a
 non-existing device.
 
 At least that was the reason for me, once, when I've tried to
 luksOpen /dev/sda2 instead of /dev/sda3, or something like that.
 
 Had it figured out by putting strace to initrd and running strace
 cryptsetup luksOpen ... instead of just cryptsetup - gave me something
 like open('/dev/sdaX', ...) = -1 ENXIO (No such device or address), so
 I had to double-check and found the mistake to be that trivial.
 

This was actually one of the first things I checked. Just forgot to
mention it. I solved it by adding a 'ls -l /dev' in the init, and there
I found out that /dev/sda1 was named /dev/hda1. But I still got the problem.

 Forgot to compile the Crypto Algorithms in the kernel instead of as
 modules? Since lvm runs, the lvm is obviously no module.

 HTH
 Sebastian

I'm quite sure that I have compiled in all of the algorithms I'm using.
But I will add some more just to be sure. Recompiling my kernel as I write.

Thanks to both of you.

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQZVsACgkQ82oqndqg+41n6QCdGcoLnojw13UD40GlXkaZc6QX
dEkAni6+N/rU0MECoii2q/a7btNj1aRa
=QSRA
-END PGP SIGNATURE-



[gentoo-user] Linux traffic shaper setup advice

2009-02-09 Thread Aleksey V. Kunitskiy
Hi Gentoo community,
I have several computers at home and one Gentoo-powered router. I want to 
setup a very simple traffic shaper that will give each computer almost 
equal(the best choice - with some weight coefficient on each ip address) 
speed, without counting number of connections and etc. So, someone using 
torrent won't load whole pipe. One most important problem with it that I have 
fixed speed to the world and fixed speed to local resourses in my city, so I 
can't fix my up/down link speed to one fixed number, I actually have 2 
speeds, depending on the IP address I'm accessing to.

Any suggestions?

-- 
best regards,
Aleksey V. Kunitskiy



Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Alan McKinnon
On Monday 09 February 2009 18:51:24 Stroller wrote:
 On 9 Feb 2009, at 10:32, Michael Hampicke wrote:
  It would appear that you need an initrd/initramfs to use this.
 
  Ah! Many thanks. I will live without this shortcut, then, I think.
 
  If you, like me, prefere to compile your own kernel, there's still an
  easy way to create a initrd for your kernel: with genkernel
  I use this command to compile my pre-configured kernel
 
  genkernel --no-clean --no-mrproper \
 --makeopts=-j2 --loglevel=5 --install --symlink all
 
  To include support for disk labels use the switch --disklabel

 I am resistant to the idea of using an initrd, because IIRC it's an
 extra file that has to be stored in /boot, creating extra clutter in
 there.

 I'm kinda thinking that using the label prevents failed boots in the
 event that the drives are recognised in a different order in the
 future, but nevertheless I don't like initrd and the longer kernel
 lines in grub.conf that they require.

 I appreciate this is somewhat irrational.

Not really.

initrds are there for two cases, and only two cases: 1) a generic boot process 
for precompiled binary distros where the maintainers has no idea what the 
user has and must support all combinations for all possible users. 2) Boot 
scenarios where you require access to the root device before you have access 
to the root device (/ on lvm, boot off some raid setups, etc)

The first does not apply to gentoo at all. If you don't have the second, 
initrd is just extra unnecessary clutter and complexity and you are quite 
correct to resist it's presence.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Momesso Andrea
On Mon, Feb 09, 2009 at 10:56:36AM -0600, Paul Hartman wrote:
 On Mon, Feb 9, 2009 at 10:54 AM, Drew Tomlinson d...@mykitchentable.net 
 wrote:
  David Negreira wrote:
  Drew Tomlinson wrote:
 
  I'm looking for an vncviewer for Linux that has the same features as the
  Tight VNC viewer on Windows.  I really like how the Windows viewer will
  scale the desktop and remember connections.  Also, it's very easy to
  choose between low and high bandwidth connections with the Windows
  version.
 
  I've installed the TightVNC viewer on my Gentoo box and it does not
  appear to have any of these features.  I'm looking for recommendations.
 
  Thanks,
 
  Drew
 
 
 
  Hi,
 
  You could use grdesktop that has all that features.
 
 
  Thank you for your reply.  However grdesktop appears to be only for
  connecting to Windows Remote Desktop and NOT VNC.  Am I missing
  something?  I need to connect to VNC servers.
 
  Thanks,
 
  Drew
 
 There's kvnc in KDE land. Don't remember if it has all those features,
 but I *think* it did. I has been ages since I used VNC.


I know it's a bit off topic, but I would suggest to take a look at
freenx.

It works great even on very slow connections (in my case GPRS), and has
a great set of features.

It allows on-the-go screen resizig, full-screen, ecc.

===
TopperH
===


pgpd4Rh5HxE8q.pgp
Description: PGP signature


Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Aaron Clark

Drew Tomlinson wrote:

I'm looking for an vncviewer for Linux that has the same features as the
Tight VNC viewer on Windows.  I really like how the Windows viewer will
scale the desktop and remember connections.  Also, it's very easy to
choose between low and high bandwidth connections with the Windows
version.

I've installed the TightVNC viewer on my Gentoo box and it does not
appear to have any of these features.  I'm looking for recommendations.



Did you check the version numbers for the two TightVNC clients?  You 
might need to switch to a ~arch version of Tight on Gentoo if the stable 
version is too old.


If you're running Gnome, you could also take a look at Vinagre as a 
client.  It does connection bookmarking, multiple connections on tabs, etc.


Aaron



Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Dirk Heinrichs
Am Montag, 9. Februar 2009 17:51:24 schrieb Stroller:

 I don't like initrd and the longer kernel  
 lines in grub.conf that they require.

Errh, which longer lines in grub.conf?

Here's mine, as an example:

title=Gentoo Linux
kernel /vmlinux.gz realroot=/dev/evms/root vga=0x31B notsc

Quite short and simple, isn't it? You don't even recognize that it uses an 
initramfs (because it's embedded in the kernel itself).

Bye...

Dirk


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


Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Hung Dang
Drew Tomlinson wrote:
 David Negreira wrote:
   
 Drew Tomlinson wrote:
   
 
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

 Thanks,

 Drew

   
 
   
 Hi,

 You could use grdesktop that has all that features.
   
 

 Thank you for your reply.  However grdesktop appears to be only for
 connecting to Windows Remote Desktop and NOT VNC.  Am I missing
 something?  I need to connect to VNC servers.

 Thanks,

 Drew


   
You can adjust your bandwidth in vncviewer using option -compresslevel
and -quality.

Hung



[gentoo-user] ALSA config problem

2009-02-09 Thread James
 Quandry:

(2) ALSA drivers exist. No matter what kernel choices I make
I either get 2 different ALSA devices, or none.

The mobo has an Nvidia chip, the video card has a ATI video chip,
both only work under the Intel HDA driver. These are compiled
into the kernel, not loadable modules. I'm going bald googling
trying to find out what to do, or how to fix?


from dmesg:


Advanced Linux Sound Architecture Driver Version 1.0.17.
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 23
HDA Intel :00:05.0: PCI INT B - Link[LAZA] - GSI 23 
(level, low) - IRQ 23
HDA Intel :00:05.0: setting latency timer to 64
ACPI: PCI Interrupt Link [LNEA] enabled at IRQ 19
HDA Intel :02:00.1: PCI INT B - Link[LNEA] - GSI 19 
(level, low) - IRQ 19
HDA Intel :02:00.1: setting latency timer to 64
ALSA device list:
  #0: HDA NVidia at 0xdfef8000 irq 23
  #1: HDA ATI HDMI at 0xdffec000 irq 19

lspci -v shoes:
00:05.0 Audio device: nVidia Corporation MCP61 High Definition 
Audio (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 8290

02:00.1 Audio device: ATI Technologies Inc R700 Audio 
Device [Radeon HD 4000 Series]
Subsystem: ASUSTeK Computer Inc. Device aa38



No sound. Kmix has a red X over it on my kde panel.
There are no choices there in Kmix to select on.
HOW do I set this up?   udev, hal, or evdev configs?


Ideas?



James








Re: [gentoo-user] Re: [OT] Sendmail and Comcast

2009-02-09 Thread Mick
On Sunday 08 February 2009, Harry Putnam wrote:

 I'm including this on the list since I think there will be others who
 may find it useful.

Someone is bound to need it sooner or later, but it was not strictly speaking 
gentoo-user M/L material so I posted it as off topic.

 cat /etc/mail/authinfo
 # [HP 02/04/06 23:14  NOTE make sure to makemap hash authinfo  authinfo]

This was my first mistake - in rushing through I did not update the db every 
time I made a change.

 AuthInfo:smtp.comcast.net  U:MYUSER 

Aha!  This was my second mistake - I used smmsp as the user.  I thought that 
this was the process runnind sendmail on my mailserver.

 I:myu...@comcast.net P:MYPASSWD 
 M: LOGIN PLAIN # end authinfo

 Heed the comment about makemap or authinfo won't work.

Thank you very much for your help!  :)
-- 
Regards,
Mick


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


Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johan Blåbäck wrote:
 hi,
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 When booting, cryptsetup segfaults. I can find no obvious reason why, I
 have tried to recompile cryptsetup using different arch, but still the
 same. It is build statically, USE=-dynamic is set and ldd just says no
 dynamic executable. But when trying to debug I copied the cryptsetup,
 that is not working in the init, to a usb-device and tried to decrypt my
 disk using a livecd, and this went fine.
 
 So to summarize:
 init - cryptsetup segfaults
 in livecd env - cryptsetup ok
 in gentoo system - cryptsetup ok
 
 the other programs in the init seems to run as they should; busybox and lvm.
 
 Any ideas on how to continue debugging or is there someone with the answer?
 


hi again,

Still got a segfault :-/
The things I have tried more is to recompile cryptsetup and used that
for init, but no change. Compiled in all crypto algorithms, no change.
I'm not that good with all the options in the kernel. If anyone know of
which kernel options that could affect cryptsetup in this way?

Any ideas anyone?
(thx for the help sofar)

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQcsQACgkQ82oqndqg+41kEACeLswROSAIfg4ZCY1kqurrTvQi
pQsAnj5zixPj0Qbf+jzq5rRDSyPdEnNg
=J7gU
-END PGP SIGNATURE-



[gentoo-user] Re: KDE 4.2 Konsole Title

2009-02-09 Thread Nikos Chantziaras

Chris Lieb wrote:

Nikos Chantziaras wrote:

Chris Lieb wrote:

[...]
In Konsole under KDE 3.5.9, the title bar would always be controlled by
the script that was running.  Is this supposed to happen in KDE 4.2, or
is this a bug?

In the profile of Konsole you're using, in the Tabs tab, edit the Tab
title format according to your needs.  To get KDE 3 behavior, you need
%d : %w.


I did that and it worked.  However, I noticed that there tends to be a
delay between when the title should change and when it actually does.
In KDE 3.5, as soon as emerge moved to the next package, it would change
the window title almost instantly.  In KDE 4.2, there is a lag of a
couple seconds.  Is there something I need to configure to get this to
happen more quickly, or is it an upstream bug?


Can't find anything in the settings.  Might not even be a bug but just 
how it works.  You can always try filing a bug about it on bugs.kde.org 
though, either as a wish or a real bug.





[gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Nikos Chantziaras

Stroller wrote:


On 9 Feb 2009, at 13:05, Heiko Wundram wrote:

... even when he gets access to one of
your user accounts (who happen to be in group wheel), he still has to 
guess
the root password (when doing su -) to be able to become root, and 
hopefully
this buys you the time to see in your logs that someone tried local 
su with

invalid passwords, which should always be a high priority alert.


I have been using `sudo` over `su` for a long time because I felt it 
reduces the risk of staying too long logged in as root, doing something 
daft and damaging the system.


However I have now many times found myself typing `sudo` commands 
automatically  sometimes inattentively, so that would seem to undermine 
that argument.


Your point is very persuasive. I guess my remaining objection is that I 
have my .bashrc  .bash_profile just the way I like them, and using root 
would seem to require me to make any changes in two places.


You can instruct sudo to ask for the target user's password instead of 
your own.  In this case, you can make to ask for root's password.  Look 
up targetpw in sudo's docs.  To make sudo ask for the target user's 
password by default, put this in /etc/sudoers:


 Defaults targetpw




Re: [gentoo-user] ALSA config problem

2009-02-09 Thread Naga
On Monday 09 February 2009 19:13:32 James wrote:
[...]
 The mobo has an Nvidia chip, the video card has a ATI video chip,
 both only work under the Intel HDA driver. These are compiled
 into the kernel, not loadable modules. I'm going bald googling
 trying to find out what to do, or how to fix?
[...]
 No sound. Kmix has a red X over it on my kde panel.
 There are no choices there in Kmix to select on.
 HOW do I set this up?   udev, hal, or evdev configs?

In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27 series 
kernel or use a live alsa ebuild.

/Regards
Naga



Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johan Blåbäck wrote:
 Johan Blåbäck wrote:
 hi,
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 When booting, cryptsetup segfaults. I can find no obvious reason why, I
 have tried to recompile cryptsetup using different arch, but still the
 same. It is build statically, USE=-dynamic is set and ldd just says no
 dynamic executable. But when trying to debug I copied the cryptsetup,
 that is not working in the init, to a usb-device and tried to decrypt my
 disk using a livecd, and this went fine.
 
 So to summarize:
 init - cryptsetup segfaults
 in livecd env - cryptsetup ok
 in gentoo system - cryptsetup ok
 
 the other programs in the init seems to run as they should; busybox and lvm.
 
 Any ideas on how to continue debugging or is there someone with the answer?
 
 
 
 hi again,
 
 Still got a segfault :-/
 The things I have tried more is to recompile cryptsetup and used that
 for init, but no change. Compiled in all crypto algorithms, no change.
 I'm not that good with all the options in the kernel. If anyone know of
 which kernel options that could affect cryptsetup in this way?
 
 Any ideas anyone?
 (thx for the help sofar)
 

I had noticed this problem w/ my laptop where some usbdevices dont show
up until a few seconds later than when the init is running. So I added a
'sleep 10' to the init, and what I got was

- - 10 s sleep
- - during these I get a messege: sda: sda1 sda2 (this is the bootable
usb-key)
- - cryptsetup segfaults
- - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory'
- - ls -l DEv/hd* gives '/dev/hda1'

How is this possible? Shouldn't it show sda, sda1 and sda2 together with
hda and hda1? Why are these missing?


- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQetwACgkQ82oqndqg+41aSwCgl7CAh0MXlWEogo2dnA9BSkr1
sTAAnR9Ppheav4nbGxBonWB6nzs80KEg
=Szmp
-END PGP SIGNATURE-



[gentoo-user] Re: ALSA config problem

2009-02-09 Thread James
Naga nagatoro at gmail.com writes:


 In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27 series 
 kernel or use a live alsa ebuild.


Makes sense, but, it's does not work for *26 or *27 kernels:


Linux sliver 2.6.27-gentoo-r8 #12 SMP Mon Feb 9 13:04:18 EST 2009 x86_64 AMD
Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux


It's a new install, and it has never worked. It works find under XP.



James







Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Roy Wright

Drew Tomlinson wrote:

I've installed the TightVNC viewer on my Gentoo box and it does not
appear to have any of these features.  I'm looking for recommendations.



Under KDE, there's krdc.  Supports VNC and you can bookmark connections.

I'll second freenx, assuming you have control of the server so can 
install it.


HTH,
Roy



Re: [gentoo-user] Re: ALSA config problem

2009-02-09 Thread Roy Wright

James wrote:

Naga nagatoro at gmail.com writes:


In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27 series 
kernel or use a live alsa ebuild.



Makes sense, but, it's does not work for *26 or *27 kernels:


Linux sliver 2.6.27-gentoo-r8 #12 SMP Mon Feb 9 13:04:18 EST 2009 x86_64 AMD
Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux


It's a new install, and it has never worked. It works find under XP.



Start with:

http://www.gentoo.org/doc/en/alsa-guide.xml
/usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt

On my new install using 2.6.28-gentoo-r1, alsa kernel, sound as modules 
(recommended), snd_intel_hda, ~x86, I have both analog and SPDI/F 
working, but the kernel is not recognizing HDMI device.


In a nut shell,

* enable alsa in the kernel
* enable as modules device drivers/sound card support/...
* do not install alsa-drivers.
* emerge alsa-utils
* follow the alsa-guide
* if digital device not recognized, specify option name from 
ALSA-Configuration.txt


HTH,
Roy



Re: [gentoo-user] Re: Flash Drive Install

2009-02-09 Thread sean
James wrote:

 
 If you come up with more/better tips, post back to the thread.
 
 goodluck,
 
 
 James
 
 

I did come across this site, http://www.pendrivelinux.com/ and tried out
the Gentoo install using Windows.
Amazingly easy.

On bootup it is asking for a login and password, I do not know what the
default is for the live CD, so I just left login and password as blank.
Logs in without problem.

Did CTL/ALT/F1 to get to a prompt and set a root password, and then
back into the GUI using CTL/ALT/F7 to get back in and all seems OK.

Took a quick look at the make.conf and it shows the standard message
that I am working using the Live CD and not to make changes there.

Not much else yet tried.

Have Fun,
Sean



Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Drew Tomlinson
Aaron Clark wrote:
 Drew Tomlinson wrote:
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.


 Did you check the version numbers for the two TightVNC clients?  You
 might need to switch to a ~arch version of Tight on Gentoo if the
 stable version is too old.

 If you're running Gnome, you could also take a look at Vinagre as a
 client.  It does connection bookmarking, multiple connections on tabs,
 etc.

Thanks to all for the suggestions.  My TightVNC on Linux is version
1.3.9 and is from net-misc/tightvnc-1.3.9-r2.  As I am using Gnome, I've
installed Vinagre and it appears to be what I need.  I just wish there
was some way to scroll in fullscreen mode.

Thanks,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf

2009-02-09 Thread Stroller


On 9 Feb 2009, at 18:03, Dirk Heinrichs wrote:


Am Montag, 9. Februar 2009 17:51:24 schrieb Stroller:


I don't like initrd and the longer kernel
lines in grub.conf that they require.


Errh, which longer lines in grub.conf?

Here's mine, as an example:

title=Gentoo Linux
   kernel /vmlinux.gz realroot=/dev/evms/root vga=0x31B notsc

Quite short and simple, isn't it? You don't even recognize that it  
uses an

initramfs (because it's embedded in the kernel itself).


Am I not correct in thinking that initramfs used to be / can be / was  
originally a separate file which goes in /boot and is described with  
an extra boot parameter?


I wasn't aware that you could embed the initramfs into the kernel  
itself - after reading Neil's message yesterday I looked up more about  
the initramfs, contemplated about the idea of doing so and decided  
naw, you'll never be able to do that, it would make the kernel too  
big and take up too much memory.


I certainly can recognise that you're doing something bogus, because  
your kernel parameters use realroot= and not just root=


Stroller.




[gentoo-user] Re: ALSA config problem

2009-02-09 Thread James
Roy Wright roy at wright.org writes:

 http://www.gentoo.org/doc/en/alsa-guide.xml
 /usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt


Yep got these. They do seem to be dated, in light of the 
recent kernel changes related to audio?



 On my new install using 2.6.28-gentoo-r1, alsa kernel, sound as modules 
 (recommended), snd_intel_hda, ~x86, I have both analog and SPDI/F 
 working, but the kernel is not recognizing HDMI device.


Well, for now, I went back to this kernel version:
2.6.24-gentoo-r8

Only one audio chip (nvidia) shows up, and I got it working now

I'll try a 2.8 kernel when the gentoo  sources go stable.



 * enable alsa in the kernel
 * enable as modules device drivers/sound card support/...
 * do not install alsa-drivers.
 * emerge alsa-utils
 * follow the alsa-guide
 * if digital device not recognized, specify option name from 
 ALSA-Configuration.txt


I appreciate these steps and refs

I'm good for now.


James










Re: [gentoo-user] {OT} xfce4 network management?

2009-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2009 14:55:54 +0100, Momesso Andrea wrote:

 Is it possbible with wicd to manage pppoe connections when a certain
 wireless network is conntected?
 
 And what about gprs connections over my bluetooth phone? (actually I use
 ppp over rfcomm in my /etc/conf.d/net)

Not yet, it currently only supports wired and wireless ethernet. PPP
connections are not supported, but not ruled out for the future.


-- 
Neil Bothwick

My friends went to alt.california, and all they brought
me was this lousy sig.


signature.asc
Description: PGP signature


[gentoo-user] Generic kernel: hardware and loading the right modules

2009-02-09 Thread Kobboi
I've asked this on IRC and the forums, but I'm not getting any further.
Maybe I'm asking the wrong question or misunderstanding the few replies
I get, but allow me to pose my question on the mailing list as well.

Over the last few years, I have been compiling kernels for well-defined
sets of hardware, i.e. the systems I myself was working on. The items
and devices I knew I had and needed were compiled in-kernel, some
optional things as modules (that is, the more functional modules like
file systems or support for Ethernet bridging, not the hardware
modules). I knew about udev, and primarily thought of it as the program
that could enforce persistent naming, heck, it could even rename network
interfaces from the standard eth0 to something more meaningful. How
cool!

I recently found myself in a new and unexplored situation: I needed a
generic kernel/module combination (precompiled) that would work on a
variety of hardware in the x86 architecture, and especially a way to
load the right modules. I always assumed there would be some kind of
magic at work, but I guess there isn't.

First idea: genkernel. Never used it before, but it seemed to work ok.
The initrd generated by genkernel works with busybox's mdev. The net
effect seems to be that every driver module (I noted IDE and SATA
chipsets I never even heard of) in the initrd is loaded, relevant or
not, and stays loaded. Ok, that'll probably work, but why bother
creating modules, if I still use them all. And sure, I could unload most
of them, but I don't want to bother my users with that. And it seems
kind of inefficient, I mean, I wouldn't expect a 2009 Linux system to
work like that.

Second idea: manual initramfs creation. Very insightful and a
recommended exercise. Problem: I have no idea how to handle the loading
of modules the way I want. Questions: Should I use udev instead of mdev
in the initrd? Would that make a difference? Why doesn't genkernel use
udev too then? Does udev do any module loading or does it just act upon
device file creation (meaning the relevant module is already loaded)? 

Somebody on IRC coined the term hotplug, but the hotplug ebuilds have
version names beginning with 2004. The elogs of those ebuilds talk about
modules loaded at boot (yay!) and something called coldplug, but
coldplug is blocked by recent udev versions (aww!). So maybe udev does
have the capability of loading relevant modules?

Maybe I'm expecting too much, maybe I'm confusing device drivers with
the genericity of what a module is, maybe I haven't read the right man
pages or googled the right keywords. I would just really like someone to
give me a clear explanation :-)

Thanks in advance,
Kobboi




Re: [gentoo-user] Re: Using portage through NFS

2009-02-09 Thread Roy Wright

Chris Lieb wrote:

Neil Bothwick wrote:

On Fri, 06 Feb 2009 10:57:58 -0600, Chris Lieb wrote:


I don't want to do UnionFS since that requires me to patch the kernel,
which is more work than I have the time for.

cd /usr/src/linux
patch -p1 /path/to/patchfile

You must be *really* short of time ;-)


My concern is more about making my own ebuild (based off of
gentoo-sources) that will patch the kernel source for me so that I can
easily distribute this patched kernel source to all of my computers.  I
need the process to be easy so that whom ever succeeds me doesn't have
to learn much more than just running a couple of scripts that I wrote.
Even how, I catch enough crap from my boss already for spending so much
time tinkering with servers instead of programming :)

Is there a guide out there for rolling my own kernel ebuild?

Chris


Take a peek at aufs on the sunrise overlay.  It has a section that 
patches the kernel, dependent on kernel version and USE flags.  It looks 
like it just informs the user that the kernel was patched.


HTH,
Roy




[gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-09 Thread Nikos Chantziaras

http://video.linuxfoundation.org/video/1069

I found it quite interesting that even Gentoo beat Canonical in the 
amount of patches contributed upstream...





Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Mike Kazantsev
On Mon, 09 Feb 2009 19:50:04 +0100
Johan Blåbäck johan.bluecr...@gmail.com wrote:

 I had noticed this problem w/ my laptop where some usbdevices dont show
 up until a few seconds later than when the init is running. So I added a
 'sleep 10' to the init, and what I got was
 
 - - 10 s sleep
 - - during these I get a messege: sda: sda1 sda2 (this is the bootable
 usb-key)
 - - cryptsetup segfaults
 - - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory'
 - - ls -l DEv/hd* gives '/dev/hda1'
 
 How is this possible? Shouldn't it show sda, sda1 and sda2 together with
 hda and hda1? Why are these missing?

Why should it? Do you have full-fledged udev on initrd?
I've always created them by hand with mknod or just copied from a
working system - you know which ones you'll need, anyway.

And I've had segfaults with usb hdd too, as I recall, but if you put
cryptsetup in a 'while true' loop it'll prompt for passphrase / mount
device as soon as it'll be detected.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] seamonkey helper apps

2009-02-09 Thread James
Hello,

I use to listen to my voice mail, via mplayer and seamonkey.
I setup mplayer to play voice-message.wav and it (use to)
worked beautifully.

Now I cannot get it to work. Any suggestion as to a simple app.
I can set up as a helper application in seamonkey to play .wav
files?

The file command tells me this about the voice-message.wav file
sent to me from vonage:

file voice-message.wav
voice-message.wav: RIFF (little-endian) data, WAVE audio, 
ITU G.711 mu-law, mono 8000 Hz

ideas?


James






Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-09 Thread Saphirus Sage
Nikos Chantziaras wrote:
 http://video.linuxfoundation.org/video/1069

 I found it quite interesting that even Gentoo beat Canonical in the
 amount of patches contributed upstream...


Good find, I actually didn't know about E-Trade using Gentoo servers. I
don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.



Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-09 Thread Joshua D Doll

Saphirus Sage wrote:

Nikos Chantziaras wrote:
  

http://video.linuxfoundation.org/video/1069

I found it quite interesting that even Gentoo beat Canonical in the
amount of patches contributed upstream...




Good find, I actually didn't know about E-Trade using Gentoo servers. I
don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.


  
This video brought up an interesting question by my friend (an ubuntu 
user). How would one go about getting Canonical or the ubuntu community 
to change their practice of not contributing fixes back upstream? 
Without having to change distributions.



--Joshua Doll



Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-09 Thread Emil Jensen
On Tue, Feb 10, 2009 at 4:51 PM, Joshua D Doll joshua.d...@gmail.com wrote:
 Saphirus Sage wrote:

 Nikos Chantziaras wrote:


 http://video.linuxfoundation.org/video/1069

 I found it quite interesting that even Gentoo beat Canonical in the
 amount of patches contributed upstream...




 Good find, I actually didn't know about E-Trade using Gentoo servers. I
 don't think it should be too surprising that Gentoo would contribute
 more patches than Conical, as until today, I'd only actually heard of
 one of them.




 This video brought up an interesting question by my friend (an ubuntu user).
 How would one go about getting Canonical or the ubuntu community to change
 their practice of not contributing fixes back upstream? Without having to
 change distributions.

I was sure I'd read something about Shuttleworth saying they were
going to start doing upstream fixes as it was one of their biggest
critisisms, and a quick google showed me this:

http://arstechnica.com/open-source/news/2008/09/canonical-to-fund-upstream-linux-usability-improvements.ars

I haven't actually watched the linked video yet (as at work), but I
think my link is still on topic.

 --Joshua Doll





Re: [gentoo-user] ALSA config problem

2009-02-09 Thread Sebastian Günther
* Naga (nagat...@gmail.com) [09.02.09 19:35]:
 
 In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27 series 
 kernel or use a live alsa ebuild.
 
Why can I listen to music and watch DVD with my hda-intel, if it's 
broken?

 /Regards
 Naga
 

Curious
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpMRFXrmY0C8.pgp
Description: PGP signature


Re: [gentoo-user] KDE4.2 compile problem

2009-02-09 Thread Dirk Uys
After some more struggling I managed to get kde-base/systemsettings
compiled: If I unmerge x11-libs/libxkbfile and then emerge
systemsettings, it compiles fine (without support for the xkb
settings). After that I did an emerge -DuvaN world and this pulls in
libxkbfile again.

But when I try to start KDE4.2 (using kdm), the screen blanks out a
few times while kde is loading (the spash screen being displayed) and
then I briefly see a malformed desktop (the bottom of the taskbar
wraps around to the top of the screen) and then just a black screen.

In /var/log/messages, something about plasma crashing is reported,
can't remember and I'm not at the PC now, but nothing very
informative.

I feel like going back to my good old days of windowmaker.

Regards
Dirk