Re: [gentoo-user] To Neil Bothwick: Question re ntfs-3g

2007-10-04 Thread Iain Buchanan
On Thu, 2007-10-04 at 07:49 +0200, Liviu Andronic wrote:
> On 10/4/07, Ow Mun Heng <[EMAIL PROTECTED]> wrote:
> > I'm using ntfs-3g w/o issues. I'm not using in-kernel fuse modules
> > though. I'm compiling it from the version in portage
> 
> Same here, and it works OK so far.

hey, stop answering, this was to Neil!
-- 
Iain Buchanan 

I do note with interest that old women in my books become young women on
the covers... this is discrimination against the chronologically gifted.
-- (Terry Pratchett, alt.fan.pratchett)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: To Neil Bothwick: Question re ntfs-3g

2007-10-04 Thread Alexander Skwar
Anthony E. Caudel <[EMAIL PROTECTED]> wrote:

> Neil, back on 15 July, you stated that you used ntfs-3g with only the
> in-kernel fuse modules.

That's what I'm doing as well.

> When I try that, I get the following error:
> 
> error while loading shared libraries: libfuse.so.2: cannot open shared
> object file: No such file or directory
> 
> I find I have to use sys-fs/fuse to be able to mount ntfs-3g.

Correct. You need to install sys-fs/fuse, as it contains the
library, some binaries and *OPTIONALLY* the kernel module. The
module will only be built, if the user has NOT built the module
in the kernel.

> Is there something else I should be doing?  

Install sys-fs/fuse :)

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] To Neil Bothwick: Question re ntfs-3g

2007-10-04 Thread Neil Bothwick
Hello Iain Buchanan,

> hey, stop answering, this was to Neil!

Hey! ! was asleep! :)

As Alexander has already posted, you still need sys-fs/fuse to provide
the libraries, but it defers to the kernel for the modules (which saves
rebuilding it each time you change the kernel). 


-- 
Neil Bothwick

Those are my principles. If you don't like them I have others.


signature.asc
Description: PGP signature


Re: [gentoo-user] insatiable revdev-rebuild

2007-10-04 Thread Bo Ørsted Andresen
On Thursday 04 October 2007 05:37:19 Allan Gottlieb wrote:
> An emerge (of openssl, I believe, but am not sure)  a few days ago
> triggered a request for me to run
>   # revdep-rebuild --library libcrypto.so.0.9.7
>   # revdep-rebuild --library libssl.so.0.9.7
>
> I have done so.  The revdep-rebuild for libssl found nothing, but the
> one for libcrypto rebuilt openssl.  However rerunning the command
> again again rebuilt openssh.  A msg had explained that this is
> possible but didn't suggest that the request would never end.  I have
> run the revdep-rebuild for libcrypto 4 times and it keeps rebuilding
> openssl
>
> What should I do to fix this problem?

It also told you to remove lib{crypto,ssl}.so.0.9.7 after running those 
revdep-rebuild commands. revdep-rebuild finds that libssl.so.0.0.7 links 
against libcrypto.so.0.9.7 and the hack (preserve_old_lib from eutils.eclass) 
that the openssl ebuild uses to preserve those libraries until you've done 
this makes it look like they belong to the new version of openssl (even 
though they really don't)..

-- 
Bo Andresen


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


Re: [gentoo-user] undefined reference to `LINUX_TARGET_OS_CPP_BUILTINS'

2007-10-04 Thread Bo Ørsted Andresen
On Wednesday 03 October 2007 23:55:49 Robert Szentmihalyi wrote:
> Building gcc for ARM with
>  # crossdev --target arm-softfloat-uclinux-gnu

Which means the you are more likely to get help on the gentoo-embedded mailing 
list.

-- 
Bo Andresen


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


[gentoo-user] Traveling: DSL modem via USB?

2007-10-04 Thread Grant
I'm currently traveling with my laptop and I can get it online if I
can make it work with the DrayTek Vigor 318 DSL modem that is
available where I am.  Should that be do-able?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] XFCE automounting pendrive

2007-10-04 Thread Alfredo Perez
Hi

I was wondering what I can do to make XFCE to automount my
pendrive. I followed this wiki http://gentoo-wiki.com/HOWTO_ivman to the 
last word but still I can't have the my pendrive mounted.

I put an entry in /etc/fstab
/dev/sda1 /mnt/usb vfat defaults 0 0 and the pendrive gets mounted but as root 
which does not allow me to delete or create files on the pen because I dont have
permission.

Any more ideas?

Thanks


Re: [gentoo-user] XFCE automounting pendrive

2007-10-04 Thread Neil Bothwick
On Thu, 4 Oct 2007 05:32:47 -0400 (EDT), Alfredo Perez wrote:

> I was wondering what I can do to make XFCE to automount my
> pendrive. I followed this wiki http://gentoo-wiki.com/HOWTO_ivman to
> the last word but still I can't have the my pendrive mounted.

I don't think you did...

> I put an entry in /etc/fstab

Because it states

Ivman 0.6.x or greater uses pmount to mount your drives, and thus does
NOT need any fstab entries. However, fstab entries may still be used if
necessary, though you are suggested to avoid them when possible.

HAL/D-Bus automounters like ivman and KDE's built in system use pmount,
which works best without an fstab entry. If there is an entry in fstab,
it overrides the pmout defaults. In this case, it causes it to be mounted
as root rather than the user running ivman.


-- 
Neil Bothwick

Brain fried -- core dumped.


signature.asc
Description: PGP signature


Re: [gentoo-user] XFCE automounting pendrive

2007-10-04 Thread Liviu Andronic
Hello,

I was also playing with ivman for a long time till accidentally I
stumbled upon this:
http://foo-projects.org/~benny/projects/thunar-volman/index.html.
Here's the minimalistic Wikipedia entry (copy and paste) that I've
made: http://gentoo-wiki.com/HOWTO_thunar-volman.

This is a light-weight GUI solution perfectly integrated to Xfce and
made by Benedikt Meurer. After installing it and enabled it in
Preferences/Advanced, I removed ivman.

Think this should be of help.

Regards,
Liviu

On 10/4/07, Alfredo Perez <[EMAIL PROTECTED]> wrote:
> Hi
>
> I was wondering what I can do to make XFCE to automount my
> pendrive.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] XFCE automounting pendrive

2007-10-04 Thread Rumen Yotov
On Thu, 4 Oct 2007 12:30:30 +0200
"Liviu Andronic" <[EMAIL PROTECTED]> wrote:

> On 10/4/07, Alfredo Perez <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I was wondering what I can do to make XFCE to automount my
> > pendrive.
Hi,

As Neil wrote, you can use 'ivman' w/o fstab entry.
Works for me with XFCE,fluxbox. Using dbus, hal, ivman.
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] insatiable revdev-rebuild SOLVED

2007-10-04 Thread Allan Gottlieb
At Thu, 04 Oct 2007 10:31:57 +0200 Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

> On Thursday 04 October 2007 05:37:19 Allan Gottlieb wrote:
>> An emerge (of openssl, I believe, but am not sure)  a few days ago
>> triggered a request for me to run
>>   # revdep-rebuild --library libcrypto.so.0.9.7
>>   # revdep-rebuild --library libssl.so.0.9.7
>>
>> I have done so.  The revdep-rebuild for libssl found nothing, but the
>> one for libcrypto rebuilt openssl.  However rerunning the command
>> again again rebuilt openssh.  A msg had explained that this is
>> possible but didn't suggest that the request would never end.  I have
>> run the revdep-rebuild for libcrypto 4 times and it keeps rebuilding
>> openssl
>>
>> What should I do to fix this problem?
>
> It also told you to remove lib{crypto,ssl}.so.0.9.7 after running those 
> revdep-rebuild commands. revdep-rebuild finds that libssl.so.0.0.7 links 
> against libcrypto.so.0.9.7 and the hack (preserve_old_lib from eutils.eclass) 
> that the openssl ebuild uses to preserve those libraries until you've done 
> this makes it look like they belong to the new version of openssl (even 
> though they really don't)..

As always Bo's reply solved the problem completely.  I apologize for
missing the remove commands.  I shall read the instructions more
carefully in the future.

thank for the help.
allan gottlieb
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Alan McKinnon
On Thursday 04 October 2007, Liviu Andronic wrote:
> And later on: "Now one problem is
> left. Even with normal RAM a well funded organisation can get the
> contents after the system is powered off. With the modern SDRAM it's
> even worse, where the data stays on the RAM permanently until new
> data is written.

Pray tell, how does RAM manage to retain data when the power is off? 
It's either six transistors or one transistor and a cap per cell = not 
persistent.

I don't know of any magic persistent RAM that's fast enough for use as 
main RAM. Flash disks are of course another story but you do appear to 
be talking about system RAM

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Lilo & ReiserFS on 64 bits

2007-10-04 Thread Hans-Werner Hilse
Hi,

On Wed, 3 Oct 2007 12:42:58 -0500 Dan Farrell <[EMAIL PROTECTED]> wrote:

> another great thing about grub is that it has a limited command mode
> that you can enter at boot time.  If your grub config contains a typo
> or error, you can still boot the computer without reaching for a CD.  

And, OTOH, it can install itself to other devices (but only the stage1,
stage 1.5 and/or stage 2 have to be already present on the target
device). So you can take a grub-enabled CD, boot it and restore your
system's hosed boot loader (say you just installed Windows or similar)
from the grub prompt.

Also, I prefer grub's "savedefault" features to the "-R" switch for
lilo (e.g. test boots w/ new kernels -- don't forget the "panic=..."
kernel parameter then!).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] insatiable revdev-rebuild SOLVED

2007-10-04 Thread Norman Rieß

Allan Gottlieb schrieb:

At Thu, 04 Oct 2007 10:31:57 +0200 Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

  

On Thursday 04 October 2007 05:37:19 Allan Gottlieb wrote:


An emerge (of openssl, I believe, but am not sure)  a few days ago
triggered a request for me to run
  # revdep-rebuild --library libcrypto.so.0.9.7
  # revdep-rebuild --library libssl.so.0.9.7

I have done so.  The revdep-rebuild for libssl found nothing, but the
one for libcrypto rebuilt openssl.  However rerunning the command
again again rebuilt openssh.  A msg had explained that this is
possible but didn't suggest that the request would never end.  I have
run the revdep-rebuild for libcrypto 4 times and it keeps rebuilding
openssl

What should I do to fix this problem?
  
It also told you to remove lib{crypto,ssl}.so.0.9.7 after running those 
revdep-rebuild commands. revdep-rebuild finds that libssl.so.0.0.7 links 
against libcrypto.so.0.9.7 and the hack (preserve_old_lib from eutils.eclass) 
that the openssl ebuild uses to preserve those libraries until you've done 
this makes it look like they belong to the new version of openssl (even 
though they really don't)..



As always Bo's reply solved the problem completely.  I apologize for
missing the remove commands.  I shall read the instructions more
carefully in the future.

thank for the help.
allan gottlieb
  

There was no remove command

WARN: postinst
Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

 # revdep-rebuild --library libcrypto.so.0.9.7
 # revdep-rebuild --library libssl.so.0.9.7

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Hans-Werner Hilse
Hi,

On Thu, 4 Oct 2007 15:47:53 +0200 Alan McKinnon
<[EMAIL PROTECTED]> wrote:

> On Thursday 04 October 2007, Liviu Andronic wrote:
> > And later on: "Now one problem is
> > left. Even with normal RAM a well funded organisation can get the
> > contents after the system is powered off. With the modern SDRAM it's
> > even worse, where the data stays on the RAM permanently until new
> > data is written.
> 
> Pray tell, how does RAM manage to retain data when the power is off? 
> It's either six transistors or one transistor and a cap per cell =
> not persistent.

In theory, for the one transistor and one cap case, you have a loaded
cap that will take "forever" losing its load, won't it? But in
practice, I think, that's not realistic.

> I don't know of any magic persistent RAM that's fast enough for use
> as main RAM. Flash disks are of course another story but you do
> appear to be talking about system RAM

There actually are new RAM types being made for solid-state storage.
But this is in a proof-of-concept stage, I think.

Maybe Liviu's professor had those magnetic drum memory units in mind
when saying that?

Anyway, cleaning memory on a power-off shut down doesn't make much
sense. However, it makes sense to clean up memory after having critical
data in it -- e.g. a reboot doesn't necessarily clean up RAM. And I'm
not sure if some mainboards even keep the RAM powered in certain
situations -- at least, they can as long as the power is not really
switched off (e.g. machine only in ATX soft-off mode).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] insatiable revdev-rebuild SOLVED

2007-10-04 Thread Bo Ørsted Andresen
On Thursday 04 October 2007 16:07:16 Norman Rieß wrote:
> >> It also told you to remove lib{crypto,ssl}.so.0.9.7 after running those
> >> revdep-rebuild commands.
[SNIP]
> There was no remove command

It used to tell you. ;)

https://bugs.gentoo.org/show_bug.cgi?id=159245

-- 
Bo Andresen


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


Re: [gentoo-user] Traveling: DSL modem via USB?

2007-10-04 Thread Dan Farrell
On Thu, 4 Oct 2007 11:09:39 +0200
Grant <[EMAIL PROTECTED]> wrote:

> I'm currently traveling with my laptop and I can get it online if I
> can make it work with the DrayTek Vigor 318 DSL modem that is
> available where I am.  Should that be do-able?
> 
> - Grant

good news grant; looks like you might have in-kernel support:

http://dsl.linux.it/ChipsetConexantUsb
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X.Org 1.4 with Nvidia?

2007-10-04 Thread Harley Peters
purple wrote:
> 
> 
> On 10/3/07, *Harley Peters* <[EMAIL PROTECTED]
> > wrote:
> 
> > Alexander Skwar wrote:
> >> Does anyone know, if it's now "safe" to use xorg 1.4 with
> nvidia-drivers?
> 
> 
>  there's really _no need_ for you to star using new X at this time
> because of its oftenly reported instabilty, lockups and crashes with any
> nvidia driver, make your self mature and stop thinking so bleeding edge
> way..
> X 7.2 runs perfectly at the moment so why to switch from something that
> works to something new and unstable yet just for sake being "up 2 date"..
> wait some time, it'll all going to be ok soon, so be patient and clever :)
> 
> 
> -- 
> purple..

I think it's important to point out that if nobody ever ran the testing
versions they would never become stable. You just need to be prepared to
crash and burn once in a while. So backup

Harley

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] insatiable revdev-rebuild SOLVED

2007-10-04 Thread Allan Gottlieb
At Thu, 04 Oct 2007 16:07:16 +0200 Norman Rieß <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb schrieb:
>>
>> As always Bo's reply solved the problem completely.  I apologize for
>> missing the remove commands.  I shall read the instructions more
>> carefully in the future.
>>
>> thank for the help.
>> allan gottlieb
>>   
> There was no remove command

Thanks for letting me know.  I was surprised I missed it.
allan gottlieb
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Volker Armin Hemmann
On Donnerstag, 4. Oktober 2007, Hans-Werner Hilse wrote:
> Hi,
>
> On Thu, 4 Oct 2007 15:47:53 +0200 Alan McKinnon
>
> <[EMAIL PROTECTED]> wrote:
> > On Thursday 04 October 2007, Liviu Andronic wrote:
> > > And later on: "Now one problem is
> > > left. Even with normal RAM a well funded organisation can get the
> > > contents after the system is powered off. With the modern SDRAM it's
> > > even worse, where the data stays on the RAM permanently until new
> > > data is written.
> >
> > Pray tell, how does RAM manage to retain data when the power is off?
> > It's either six transistors or one transistor and a cap per cell =
> > not persistent.
>
> In theory, for the one transistor and one cap case, you have a loaded
> cap that will take "forever" losing its load, won't it? But in
> practice, I think, that's not realistic.

in practice, the ram has to refreshed every few cycles (on reason why it is 
slow) because it is loosing its load so fast.

In practice, after power is cut, everything in ram is lost.

But not the stuff in swap
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Liviu Andronic
On 10/4/07, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:
> in practice, the ram has to refreshed every few cycles (on reason why it is
> slow) because it is loosing its load so fast.
>
> In practice, after power is cut, everything in ram is lost.
>
> But not the stuff in swap

Considering that swap is encrypted, is it realistic for this "lost"
RAM data to be recovered? Again, take the case of a well funded
organization.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Alan McKinnon
On Thursday 04 October 2007, Hans-Werner Hilse wrote:
> Hi,
>
> On Thu, 4 Oct 2007 15:47:53 +0200 Alan McKinnon
>
> <[EMAIL PROTECTED]> wrote:
> > On Thursday 04 October 2007, Liviu Andronic wrote:
> > > And later on: "Now one problem is
> > > left. Even with normal RAM a well funded organisation can get the
> > > contents after the system is powered off. With the modern SDRAM
> > > it's even worse, where the data stays on the RAM permanently
> > > until new data is written.
> >
> > Pray tell, how does RAM manage to retain data when the power is
> > off? It's either six transistors or one transistor and a cap per
> > cell = not persistent.
>
> In theory, for the one transistor and one cap case, you have a loaded
> cap that will take "forever" losing its load, won't it? But in
> practice, I think, that's not realistic.

Definitely not realistic - the cap is on the order of a fraction of a pF 
and needs to be refreshed every 50-100mS or so. Once the power is off, 
the cap sees a (relatively) low impedance sink and discharges rather 
quickly

> > I don't know of any magic persistent RAM that's fast enough for use
> > as main RAM. Flash disks are of course another story but you do
> > appear to be talking about system RAM
>
> There actually are new RAM types being made for solid-state storage.
> But this is in a proof-of-concept stage, I think.

 I for one anxiously await the arrival of solid-state disks. 
I have customers who simply *cannot* do backups as the backup takes 
longer than the available window! Disk speed is a very limiting factor

> Maybe Liviu's professor had those magnetic drum memory units in mind
> when saying that?

In all honesty, I've heard some very very strange things from the mouths 
of professors over the years. We don;t really know what this person 
said or intended

>
> Anyway, cleaning memory on a power-off shut down doesn't make much
> sense. However, it makes sense to clean up memory after having
> critical data in it -- e.g. a reboot doesn't necessarily clean up
> RAM. And I'm not sure if some mainboards even keep the RAM powered in
> certain situations -- at least, they can as long as the power is not
> really switched off (e.g. machine only in ATX soft-off mode).

Yes, this is very true

alan




-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] grub problem

2007-10-04 Thread Rafael Barrera Oro
Hello people, i am having a little trouble with grub. I've just installed a
gentoo x86 (with intention of making it our first Gentoo powered server :D)
and after the install i get the error:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3

Error 15: File not found

I checked and the kernel name is right so any hints will be greatly
appreciated ;)

best wishes

Rafael


Re: [gentoo-user] grub problem

2007-10-04 Thread Don Jerman
On 10/4/07, Rafael Barrera Oro <[EMAIL PROTECTED]> wrote:

> kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3

try:
kernel (hd0,0)/kernel-gengenkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3

why:
/boot is where you mount (hd0,0) while gentoo is running, but while
grub is running you're starting from the boot partition's filesystem
root. Easy mistake, I do it all the time when I try to do something
fancy with grub.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Volker Armin Hemmann
On Donnerstag, 4. Oktober 2007, Liviu Andronic wrote:
> On 10/4/07, Volker Armin Hemmann <[EMAIL PROTECTED]> 
wrote:
> > in practice, the ram has to refreshed every few cycles (on reason why it
> > is slow) because it is loosing its load so fast.
> >
> > In practice, after power is cut, everything in ram is lost.
> >
> > But not the stuff in swap
>
> Considering that swap is encrypted, is it realistic for this "lost"
> RAM data to be recovered? Again, take the case of a well funded
> organization.

that depends on the encryption. Some algorithms are easy to break. Some are 
not, some will be broken as soon as we get quantum-computers ;)
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Dale
Rafael Barrera Oro wrote:
> Hello people, i am having a little trouble with grub. I've just
> installed a gentoo x86 (with intention of making it our first Gentoo
> powered server :D) and after the install i get the error:
>
> root (hd0,0)
>
> Filesystem type is ext2fs, partition type 0x83
> kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3
>
> Error 15: File not found
>
> I checked and the kernel name is right so any hints will be greatly 
> appreciated ;)
>
>
> best wishes
>
> Rafael
>   
>
>
>

Do you have /boot on a separate partition?  If so, you may need to
remove the /boot from the kernel line.  That may help.

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Tapio Raevaara
On Thursday 04 October 2007, Rafael Barrera Oro wrote:
> Hello people, i am having a little trouble with grub. I've just installed a
> gentoo x86 (with intention of making it our first Gentoo powered server :D)
> and after the install i get the error:
>
> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
> kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3
>
> Error 15: File not found
>
> I checked and the kernel name is right so any hints will be greatly
> appreciated ;)

How's your grub.conf? Did you remember to add the initrd?

Example grub.conf from the handbook:

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.19-r5
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Liviu Andronic
On 10/4/07, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:
> > Considering that swap is encrypted, is it realistic for this "lost"
> > RAM data to be recovered? Again, take the case of a well funded
> > organization.
>
> that depends on the encryption. Some algorithms are easy to break. Some are
> not, some will be broken as soon as we get quantum-computers ;)

I'm basing myself mainly on:
http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS#Encrypting_swap_for_installation
and
http://en.wikipedia.org/wiki/AES_process#Rounds_one_and_two

for the cipher's choice, and for the method used on:
http://www.gentoo.org/proj/en/hardened/disk-cryptography.xml

I have settled down to the following:
-c blowfish -h sha256 for swap
and
-c serpent  -h sha256 for the sensitive data partitions (/home, etc.).
in combination with a "strong" password.

How encrypted does this sound? For today, at least..
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Liviu Andronic
On 10/4/07, Alan McKinnon <[EMAIL PROTECTED]> wrote:
> On Thursday 04 October 2007, Hans-Werner Hilse wrote:
>>  [..]
> > However, it makes sense to clean up memory after having
> > critical data in it -- e.g. a reboot doesn't necessarily clean up
> > RAM.
>>  [..]
>
> Yes, this is very true

BUT

On 10/4/07, Alan McKinnon <[EMAIL PROTECTED]> wrote:
> Pray tell, how does RAM manage to retain data when the power is off?

...and...
On 10/4/07, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:
> In practice, after power is cut, everything in ram is lost.


So, my eternal question, is it realistic for the "lost" RAM data to be
recovered? That is, after system shutdown, does the data still
physically reside on the RAM and can someone with a decent technology
and know-how recover it? In other words, is this a serious breach in
any encrypted system?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Tapio Raevaara
On Thursday 04 October 2007, Don Jerman wrote:
> On 10/4/07, Rafael Barrera Oro <[EMAIL PROTECTED]> wrote:
> > kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3
>
> try:
> kernel (hd0,0)/kernel-gengenkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3
>
> why:
> /boot is where you mount (hd0,0) while gentoo is running, but while
> grub is running you're starting from the boot partition's filesystem
> root. Easy mistake, I do it all the time when I try to do something
> fancy with grub.

Aren't they both supposed to be OK? /boot/boot is a symlink to /boot, I 
believe the idea is that (hd?,?)/boot/ works regardless 
whether /boot is a partition or not.

Or is it time for me to go to bed?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Rafael Barrera Oro
Replacing /boot/ for (hd0,0) worked perfectly, ¡thanks a million!

take care

Rafael

2007/10/4, Tapio Raevaara <[EMAIL PROTECTED]>:
>
> On Thursday 04 October 2007, Rafael Barrera Oro wrote:
> > Hello people, i am having a little trouble with grub. I've just
> installed a
> > gentoo x86 (with intention of making it our first Gentoo powered server
> :D)
> > and after the install i get the error:
> >
> > root (hd0,0)
> > Filesystem type is ext2fs, partition type 0x83
> > kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3
> >
> > Error 15: File not found
> >
> > I checked and the kernel name is right so any hints will be greatly
> > appreciated ;)
>
> How's your grub.conf? Did you remember to add the initrd?
>
> Example grub.conf from the handbook:
>
> default 0
> timeout 30
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>
> title=Gentoo Linux 2.6.19-r5
> root (hd0,0)
> kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
> init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
> initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
> --
> [EMAIL PROTECTED] mailing list
>
>


Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Randy Barlow

Hans-Werner Hilse wrote:

In theory, for the one transistor and one cap case, you have a loaded
cap that will take "forever" losing its load, won't it? But in
practice, I think, that's not realistic.


It's actually not theory vs. practice.  Even in theory, it's not just a 
cap, it's a cap and a resistor.  So you have a time constant, tau = 
R*C.  Since the capacitance is very small (picofarads) and we're not 
talking large resistance either, you end up with a very small time 
constant and that cap leaks its charge very quickly (which is why the 
RAM needs to be refreshed and powered).


--
R
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Bugday on Saturday!

2007-10-04 Thread Peter Weller
Yes, that's right, next Saturday is the first of the month, so it's
Bugday! Come along to #gentoo-bugs and help out with killing the bugs
listed on http:///bugday.gentoo.org!

If anyone has got any suggestions for new bug additions, email them to
me by tomorrow, and I will update the site for Saturday. Unfortunately,
I'll be away on the day, but my lovely assistants will be around to
help you all ;)

welp
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Standby

2007-10-04 Thread Paul Gibbons
On Mon, 17 Sep 2007 09:06:32 +0930
Iain Buchanan <[EMAIL PROTECTED]> wrote:

> On Sat, 2007-09-15 at 15:51 +0100, Paul Gibbons wrote:
> 
> [snip]
> 
> > I have in the passed got to the point that pressing the power button
> > shut the system down and added an entry into my grub menu.lst of:
> 
> [snip]
> 
> > but when I pressed the power button again it performed a full
> > restart.
> 
> Here are some things that I do:
> 
> 1. My method is to keep grub.conf the same regardless of whether I'm
> hibernating or not:
> 
> title Gentoo (Linux 2.6.22s2-r1)
>root (hd0,2)
>kernel /vmlinuz-2.6.22-suspend2-r1 root=/dev/hda7
> video=vesafb:ywrap,mtrr,[EMAIL PROTECTED]
> splash=silent,theme:livecd-2007.0  CONSOLE=/dev/tty1
> initrd /fbsplash-livecd-2007.0-1280x1024
> 
> When the kernel has loaded, it then looks for a valid suspend image in
> swap (or hd).  If it finds one, it uses it, if it doesn't, then it
> continues booting as normal.
> 
> 2. I should mention that I'm using suspend2-sources.
> 
> 3. the suspend2 users mailing list is an excellent place to find help
> with wierd my-system-won't-suspend issues.
> 
> 4. my /etc/acpi/default.sh has this in it:
> 
> case "$ev_type" in
> button)
> case "$event" in
> power)
> logger "acpid: default.sh hibernate"
> /usr/sbin/hibernate
> break
> ;;
> ...
> 
> 5. and lastly if, when you boot, you can't "resume", it sounds like
> you haven't specified where your suspend image is.  Either in the
> kernel: CONFIG_SUSPEND2_DEFAULT_RESUME2="swap:/dev/hda10"
> or on the boot line:
> resume=swap:/dev/hda10
> 
> If that still doesn't help, post back with the output of `dmesg | grep
> -i suspend` after you've tried to resume.
> 
> HTH,


Thanks for the advice. Hopefully I can get enough functionality with
swsusp from gentoo-sources and so not need to change to
suspend2-sources - although that may be a very procedure?

Anyway I have created a 32GB SWAP partition (dev/sda5) and gadded
resume=/dev/sda5 to the boot options. And also made the suggested
change to /etc/acpi/default.sh in point (4) above. Now when I press the
soft power button the system suspends ( all processes appear to stop
and the screen goes blank but for a flashing cursor in the top left of
the 2 screens of my dual headed system) but after a few minutes the
system resumes. It seems that either a wakeup message is being received
or the hibernate script cannot actually power off the computer and so
after a timeout period it resumes.


The contents of /var/log/hibernate.log are:


Starting suspend at Thu Oct 4 20:15:48 BST 2007
Oct 4 20:15:48.55 hibernate: [01] Executing CheckLastResume ...
Oct 4 20:15:48.56 hibernate: [01] Executing CheckRunlevel ...
Oct 4 20:15:48.57 hibernate: [01] Executing LockFileGet ...
Oct 4 20:15:48.58 hibernate: [01] Executing NewKernelFileCheck ...
Oct 4 20:15:48.59 hibernate: [05] Executing XStatusSuspendBegin ...
Oct 4 20:15:48.61 hibernate: [10] Executing
EnsureSysfsPowerStateCapable ... Oct 4 20:15:48.63 hibernate: [11]
Executing ChangeGrubMenu ... Oct 4 20:15:48.66 Changing grub menu...
Oct 4 20:15:48.97 hibernate: [11] Executing XHacksSuspendHook1 ...
Oct 4 20:15:48.98 hibernate: [15] Executing PauseAudio ...
Oct 4 20:15:49.14 hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing echo "Good night!"...
Good night!
Oct 4 20:15:49.15 hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing echo "Good night!"...
Good night!
Oct 4 20:15:49.16 hibernate: [20] Executing XStatusProgress ...
Oct 4 20:15:49.18 hibernate: [30] Executing XStatusProgress ...
Oct 4 20:15:49.19 hibernate: [40] Executing XStatusProgress ...
Oct 4 20:15:49.20 hibernate: [50] Executing XStatusProgress ...
Oct 4 20:15:49.21 hibernate: [59] Executing RemountXFSBootRO ...
Oct 4 20:15:49.25 hibernate: [60] Executing NetworkStop ...
Oct 4 20:15:49.26 Bringing down interface eth1
 * Stopping apache2 ...
  [ ok ]
 * Unmounting network filesystems ...
  [ ok ]
 * samba -> stop: smbd ...
  [ ok ]
 * samba -> stop: nmbd ...
  [ ok ]
 * Stopping sshd ...
  [ ok ]
 * Stopping eth1
 *   Bringing down eth1
 * Shutting down eth1 ...
  [ ok ]
Oct 4 20:15:52.00 hibernate: [60] Executing XStatusProgress ...
Oct 4 20:15:52.01 hibernate: [70] Executing ClockSave ...
Oct 4 20:15:53.00 hibernate: [70] Executing ClockSave ...
Oct 4 20:15:54.00 hibernate: [70] Executing XStatusProgress ...
Oct 4 20:15:54.02 hibernate: [80] Executing XStatusProgress ...
Oct 4 20:15:54.03 hibernate: [89] Executing SaveKernelModprobe ...
Oct 4 20:15:54.04 hibernate: [90] Executing XStatusProgress ...
Oct 4 20:15:54.05 hibernate: [91] Executing ModulesUnlo

Re: [gentoo-user] To Neil Bothwick: Question re ntfs-3g

2007-10-04 Thread Anthony E. Caudel
Neil Bothwick wrote:
> Hello Iain Buchanan,
>
>   
>> hey, stop answering, this was to Neil!
>> 
>
> Hey! ! was asleep! :)
>
> As Alexander has already posted, you still need sys-fs/fuse to provide
> the libraries, but it defers to the kernel for the modules (which saves
> rebuilding it each time you change the kernel). 
>
>
>   
Ok, I had read it that I did _NOT_ need sys-fs/fuse.  I will re-emerge fuse.

Thanks all for your input.

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary 
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?

2007-10-04 Thread Mick
On Thursday 04 October 2007, Volker Armin Hemmann wrote:
> On Donnerstag, 4. Oktober 2007, Liviu Andronic wrote:
> > On 10/4/07, Volker Armin Hemmann <[EMAIL PROTECTED]>
>
> wrote:
> > > in practice, the ram has to refreshed every few cycles (on reason why
> > > it is slow) because it is loosing its load so fast.
> > >
> > > In practice, after power is cut, everything in ram is lost.
> > >
> > > But not the stuff in swap
> >
> > Considering that swap is encrypted, is it realistic for this "lost"
> > RAM data to be recovered? Again, take the case of a well funded
> > organization.
>
> that depends on the encryption. Some algorithms are easy to break. Some are
> not, some will be broken as soon as we get quantum-computers ;)

Are we missing the obvious?  The easiest think to 'break' is the weakest link 
in the chain.  In such a *hypothetical* case that would be the person who is 
in possession of the passphrase.  I would expect that such a person would be 
invariably labeled a "hacker" and condemned to eternity . . .

Cracking the encryption algorithm by computation would only be necessary if 
the said person was not able to disclose the key due to absence, or due to an 
inability to recover from the vegetative (or worse) state that the 
questioning methods may have inadvertently induced.

 :P
-- 
Regards,
Mick


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


Re: [gentoo-user] grub problem

2007-10-04 Thread Mick
On Thursday 04 October 2007, Rafael Barrera Oro wrote:
> Hello people, i am having a little trouble with grub. I've just installed a
> gentoo x86 (with intention of making it our first Gentoo powered server :D)
> and after the install i get the error:
>
> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
> kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3
>
> Error 15: File not found
>
> I checked and the kernel name is right so any hints will be greatly
> appreciated ;)

Was your /boot mounted when you installed grub?  Check the Installation 
Documentation list for a web page summarising all Grub errors and potential 
solutions.
-- 
Regards,
Mick


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


Re: [gentoo-user] grub problem

2007-10-04 Thread Tapio Raevaara
On Friday 05 October 2007, Neil Walker wrote:
> If /boot is on a seperate partition, the /boot/boot symlink never gets
> created - or at least not in the correct place - unless you are aware of
> the problem and take steps to correct it. That is one reason why I do
> not advocate creating a seperate /boot partition unless you really know
> what you are doing. ;)

Weird, as far as I remember, I've always had the correct symlink and boot on a 
separate partition... No matter, thanks a lot for the explanation, that 
pretty much clears it up!

Regards,
Tapio Raevaara
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Neil Walker

Tapio Raevaara wrote:

try:
kernel (hd0,0)/kernel-gengenkernel-x86-2.6.22-gentoo-r8 root=/dev/hdb3

why:
/boot is where you mount (hd0,0) while gentoo is running, but while
grub is running you're starting from the boot partition's filesystem
root. Easy mistake, I do it all the time when I try to do something
fancy with grub.



Aren't they both supposed to be OK? /boot/boot is a symlink to /boot, I 
believe the idea is that (hd?,?)/boot/ works regardless 
whether /boot is a partition or not.


Or is it time for me to go to bed?
  


If /boot is on a seperate partition, the /boot/boot symlink never gets 
created - or at least not in the correct place - unless you are aware of 
the problem and take steps to correct it. That is one reason why I do 
not advocate creating a seperate /boot partition unless you really know 
what you are doing. ;)



Be lucky,

Neil


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub problem

2007-10-04 Thread Neil Walker

Tapio Raevaara wrote:
Weird, as far as I remember, I've always had the correct symlink and boot on a 
separate partition... No matter, thanks a lot for the explanation, that 
pretty much clears it up!
  


Just to explain a little further, the stage file creates /boot and 
/boot/boot. Thats fine if you want /boot on the / partition. If you want 
/boot on a separate partition, you need to mkdir /boot and mount that 
partition on /boot BEFORE you untar the stage - or create the /boot/boot 
symlink manually.


Be lucky,

Neil


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bugday on Saturday!

2007-10-04 Thread Iain Buchanan
On Thu, 2007-10-04 at 21:08 +0100, Peter Weller wrote:
> Yes, that's right, next Saturday is the first of the month, so it's
> Bugday! Come along to #gentoo-bugs and help out with killing the bugs
> listed on http:///bugday.gentoo.org!

cool!

> If anyone has got any suggestions for new bug additions, email them to
> me by tomorrow, and I will update the site for Saturday. Unfortunately,
> I'll be away on the day, but my lovely assistants will be around to
> help you all ;)

how about adding the snapshot svn ebuild request for synce-* packages?
http://bugs.gentoo.org/show_bug.cgi?id=157868

since there are lots of updates happening at the moment in svn, these
would be much nicer than the 0.10 release :)

thanks,
-- 
Iain Buchanan 

 "Why don't you just come move in with me?" -Bender 
 "Really? That would be great! You sure I won't be imposing?" -Fry 
 "Nah. I've always wanted a pet." -Bender 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bugday on Saturday!

2007-10-04 Thread Iain Buchanan
whoops sorry, didn't mean to send that to the list :)
-- 
Iain Buchanan 

Neglect of duty does not cease, by repetition, to be neglect of duty.
-- Napoleon

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: X.Org 1.4 with Nvidia?

2007-10-04 Thread »Q«
Jesús Guerrero <[EMAIL PROTECTED]> wrote:

> On Tue, 02 Oct 2007 14:17:46 -0400
> Randy Barlow <[EMAIL PROTECTED]> wrote:
> 
> > Alexander Skwar wrote:
> > > Does anyone know, if it's now "safe" to use xorg 1.4 with
> > > nvidia-drivers?
> > 
> > On a related note, I'm one of those guys with one of those old old
> > video cards for which I need to use version 1.0.7185 of
> > nvidia-drivers.  Am I going to be able to use xorg 1.4, or will
> > doing so require me to use the nv driver?
> > 
> As far as I know, they update the legacy branches to support xorg-7.3
> (xorg-server 1.4). So, 71.86.01 should be ok for your video card and
> recent Xorg releases.
> 
> I can't confirm it myself, though.

AFAIK, they haven't been updated for xorg-7.3, but I don't follow the
legacy drivers.  But cardoe says that nVidia says the drivers do work
with xorg-7.3 with a little tweaking (including turning off the
composite extension).

 

--
[EMAIL PROTECTED] mailing list