Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Thanasis

on 12/15/2008 02:32 AM Grant wrote the following:


On another system which must be about 10 years old, I'd like to
replace the IDE hard drive with a high capacity drive.  High-capacity
IDE drives are pretty much non-existent on newegg.com, but I'd like to
find one around 500GB.  Is moving that system over to the new drive as
simple as plugging it in, partitioning, formatting, copying, and
rebooting?

- Grant
  

Do not forget to install grub (or lilo) on the new disk. :-)



Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Maximilian Bräutigam
Hi Damian,

by the way rsnapshot is a more sophisticated tool to back up your root
file system. it is based on rsync, but the bright idea behind is that it
creates a history (hourly, daily, weekly, monthly) with copying the hole
system only one time.

Maybe this is what you preferably want.
Kind regards,
der Max

damian schrieb:
> ... using rsync.
> 
> Hello,
> 
> Finally I got a (less than perfect but) functional gentoo installation
> and I would like to backup my root directory to an external
> hard-drive. But I have a doubt regarding the options to be passed to
> rsync. I think this command should perform what I want:
>  rsync -a --delete --relative  --exclude '/home' / /mnt/wd-backups/
> 
> But I would like to ask you  if this is correct.
> 
> Best regards,
> Damian.
> 

-- 
 Maximilian Bräutigam
 www.chemie.uni-jena.de/jcf



Re: [gentoo-user] dev-java/sun-jdk-1.6.0.11 Failed to unpack

2008-12-14 Thread Dale
Jeff Cranmer wrote:
> It looks like fixing the /etc/make.profile symlink fixed my problem.
> I'm still a little nervous about whether I need to run any other commands in 
> order to prevent my system going wrong after making this correction.
>
> Jeff
>
>
>   

Let me see if I understand correctly.  You mistakenly set your system up
as a 32 bit and you are changing it to a 64 bit ?  If that is correct, I
think you need to reinstall.  There may be other threads you can search
for but from what I have read, I think a reinstall is going to be
recommended.  I'm just a 32 bit user here but I don't think it is that
easy to switch from 32 to 64 bit.

I would check the forums, archives for this list and maybe some docs on
the Gentoo site.  The Gentoo wiki may be of help too.  I wouldn't get my
hopes up that this "switch" is that easy.

If you don't get a guru to reply soon, may want to try starting a new
thread.

Dale

:-)  :-) 



Re: [gentoo-user] dev-java/sun-jdk-1.6.0.11 Failed to unpack

2008-12-14 Thread Jeff Cranmer
It looks like fixing the /etc/make.profile symlink fixed my problem.
I'm still a little nervous about whether I need to run any other commands in 
order to prevent my system going wrong after making this correction.

Jeff


On Sunday 14 December 2008 09:48:47 pm Jeff Cranmer wrote:
> Progress:
>
> I've discovered that athlon64 is a valid gcc make flag, so I changed it
> back.
>
> I've also discovered that the /etc/make.profile symlink was pointing at the
> x86 default-linux profile set, not the amd64 profile.
>
> I'm attempting a recompile now with the symlink changed, and hopefully this
> will fix my problems.  I wonder if this latent error is not about to cost
> me a whole bunch more though.  Is there anything I should do with the
> emerge command or any other command in order to correct this profile
> problem?
>
> Thanks
>
> Jeff
>
> On Sunday 14 December 2008 09:17:22 pm Jeff Cranmer wrote:
> > Thanks,
> >
> > That only adds more questions.
> > My environment is amd64.  It appears to have downloaded the i586 binary.
> > Surely this is incorrect?
> >
> > my make.conf file contains the line
> > CFLAGS="-O2 -pipe -march=athlon-xp", which should trigger the 64 bit
> > binaries to be downloaded and acted upon.
> >
> > The CFLAGS variable was previously set to "-O2 -pipe -march=athlon64",
> > and I don't think that athlon64 is a valid gcc compile flag, but the
> > response was the same with this set of CFLAGS variables too.
> >
> > Also,since I changed the CFLAGS variable, is there anything I need to do
> > in compilation to correct any errors resulting from the original (I
> > believe invalid) variable?
> >
> > Any suggestions gratefully received.
> >
> > Jeff
> >
> > On Saturday 13 December 2008 06:43:24 pm Jean-Baptiste Mestelan wrote:
> > > 2008/12/13 Jeff Cranmer 
> > >
> > > > Perhaps it would have done if I knew where the download page was.
> > >
> > > The file /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.11.ebuild
> > > will disclose this information, and hints at
> > > https://jdk-distros.dev.java.net/developer.html
> > >
> > >
> > > Regards.



Re: [gentoo-user] dev-java/sun-jdk-1.6.0.11 Failed to unpack

2008-12-14 Thread Jeff Cranmer
Progress:

I've discovered that athlon64 is a valid gcc make flag, so I changed it back.

I've also discovered that the /etc/make.profile symlink was pointing at the 
x86 default-linux profile set, not the amd64 profile.

I'm attempting a recompile now with the symlink changed, and hopefully this 
will fix my problems.  I wonder if this latent error is not about to cost me 
a whole bunch more though.  Is there anything I should do with the emerge 
command or any other command in order to correct this profile problem?

Thanks

Jeff


On Sunday 14 December 2008 09:17:22 pm Jeff Cranmer wrote:
> Thanks,
>
> That only adds more questions.
> My environment is amd64.  It appears to have downloaded the i586 binary.
> Surely this is incorrect?
>
> my make.conf file contains the line
> CFLAGS="-O2 -pipe -march=athlon-xp", which should trigger the 64 bit
> binaries to be downloaded and acted upon.
>
> The CFLAGS variable was previously set to "-O2 -pipe -march=athlon64", and
> I don't think that athlon64 is a valid gcc compile flag, but the response
> was the same with this set of CFLAGS variables too.
>
> Also,since I changed the CFLAGS variable, is there anything I need to do in
> compilation to correct any errors resulting from the original (I believe
> invalid) variable?
>
> Any suggestions gratefully received.
>
> Jeff
>
> On Saturday 13 December 2008 06:43:24 pm Jean-Baptiste Mestelan wrote:
> > 2008/12/13 Jeff Cranmer 
> >
> > > Perhaps it would have done if I knew where the download page was.
> >
> > The file /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.11.ebuild
> > will disclose this information, and hints at
> > https://jdk-distros.dev.java.net/developer.html
> >
> >
> > Regards.



Re: [gentoo-user] dev-java/sun-jdk-1.6.0.11 Failed to unpack

2008-12-14 Thread Jeff Cranmer
Thanks,

That only adds more questions.
My environment is amd64.  It appears to have downloaded the i586 binary.  
Surely this is incorrect?

my make.conf file contains the line
CFLAGS="-O2 -pipe -march=athlon-xp", which should trigger the 64 bit binaries 
to be downloaded and acted upon.

The CFLAGS variable was previously set to "-O2 -pipe -march=athlon64", and I 
don't think that athlon64 is a valid gcc compile flag, but the response was 
the same with this set of CFLAGS variables too.

Also,since I changed the CFLAGS variable, is there anything I need to do in 
compilation to correct any errors resulting from the original (I believe 
invalid) variable?

Any suggestions gratefully received.

Jeff

On Saturday 13 December 2008 06:43:24 pm Jean-Baptiste Mestelan wrote:
> 2008/12/13 Jeff Cranmer 
>
> > Perhaps it would have done if I knew where the download page was.
>
> The file /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.11.ebuild
> will disclose this information, and hints at
> https://jdk-distros.dev.java.net/developer.html
>
>
> Regards.



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Mark Knecht
On Sun, Dec 14, 2008 at 4:32 PM, Grant  wrote:
 My desktop currently runs one of these:

 http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140

 I'm pretty much out of space and I'm trying figure out the best way to
 expand.  The factors to consider are cost, capacity, speed, noise, and
 heat.
>>> RAID 0 will be twice as fast as any single drive
>>
>> I didn't realize that.  Maybe I should just buy another drive
>> identical to mine and run RAID0.  That would be cheap, twice as fast,
>> twice the capacity, and with some amount more heat and noise.  I have
>> a separate backup system so I'm not worried about data loss.
>
> Thanks a lot everyone.  I think I'm going to get a second identical
> 320GB drive and run RAID0 for speed and capacity.  If noise becomes a
> problem I'll insulate as some have suggested.
>
> My MSI motherboard supposedly has hardware RAID, but after Alan's
> scathing evaluation of built-in hardware RAID offerings, I'm thinking
> it might be crap.  It's just a $75 consumer motherboard.  Should I set
> up software RAID0?  Am I getting into a(nother) big project?
>
> On another system which must be about 10 years old, I'd like to
> replace the IDE hard drive with a high capacity drive.  High-capacity
> IDE drives are pretty much non-existent on newegg.com, but I'd like to
> find one around 500GB.  Is moving that system over to the new drive as
> simple as plugging it in, partitioning, formatting, copying, and
> rebooting?
>
> - Grant

Grant,
   I have no direct experience but I was asking some questions on this
list recently. One disadvantage of software RAD would be that
partition management tools like parted may not (or WILL not) do
resizing on a software RAID but will (or should!) on hardware RAID. If
you go with software RAID and later decide that a partition needs to
be moved, resized, etc., then you may not be able to do it.

   I would suggest finding a good, if inexpensive, hardware RAID card
or possibly play a bit with the RAID stuff on your motherboard to see
if parted can work with it.

   Just some thoughts.

Cheers,
Mark



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Grant
> On another system which must be about 10 years old, I'd like to
> replace the IDE hard drive with a high capacity drive.  High-capacity
> IDE drives are pretty much non-existent on newegg.com, but I'd like to
> find one around 500GB.  Is moving that system over to the new drive as
> simple as plugging it in, partitioning, formatting, copying, and
> rebooting?

I forgot to ask, if the new drive is ATA100 and the old motherboard
can only do ATA33 or something, will they still work together?

- Grant



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Grant
>>> My desktop currently runs one of these:
>>>
>>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
>>>
>>> I'm pretty much out of space and I'm trying figure out the best way to
>>> expand.  The factors to consider are cost, capacity, speed, noise, and
>>> heat.
>> RAID 0 will be twice as fast as any single drive
>
> I didn't realize that.  Maybe I should just buy another drive
> identical to mine and run RAID0.  That would be cheap, twice as fast,
> twice the capacity, and with some amount more heat and noise.  I have
> a separate backup system so I'm not worried about data loss.

Thanks a lot everyone.  I think I'm going to get a second identical
320GB drive and run RAID0 for speed and capacity.  If noise becomes a
problem I'll insulate as some have suggested.

My MSI motherboard supposedly has hardware RAID, but after Alan's
scathing evaluation of built-in hardware RAID offerings, I'm thinking
it might be crap.  It's just a $75 consumer motherboard.  Should I set
up software RAID0?  Am I getting into a(nother) big project?

On another system which must be about 10 years old, I'd like to
replace the IDE hard drive with a high capacity drive.  High-capacity
IDE drives are pretty much non-existent on newegg.com, but I'd like to
find one around 500GB.  Is moving that system over to the new drive as
simple as plugging it in, partitioning, formatting, copying, and
rebooting?

- Grant



Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Thanasis

on 12/14/2008 11:11 PM damian wrote the following:

On Sun, Dec 14, 2008 at 10:09 PM, Neil Bothwick  wrote:
  

On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote:



 rsync -a --delete --relative  --exclude '/home' / /mnt/wd-backups/
  

That will also backup virtual filesystems like /proc, /dev and/sys. Add
the -x option to avoid this.


OK, so the command should be
rsync -ax --delete --relative  --exclude '/home' / /mnt/wd-backups/
?

  

Maybe you should also use
-A,preserve ACLs (implies -p)
-H,preserve hard links




Re: [gentoo-user] kernel-2.6.27 boot problem

2008-12-14 Thread David Relson
On Sun, 14 Dec 2008 22:47:22 +0100
Volker Armin Hemmann  wrote:

> On Sonntag 14 Dezember 2008, David Relson wrote:
> > On Sun, 14 Dec 2008 21:58:17 +0100
> >
> > Volker Armin Hemmann wrote:
> > > On Sonntag 14 Dezember 2008, David Relson wrote:
> > > > I'm attempting to upgrade my kernel from 2.6.25-gentoo-r7 to
> > > > 2.6.27-gentoo-r5 and have run into a snag.
> > > >
> > > > With the 2.6.25 kernel, the boot proces displays
> > > >
> > > >   ...[stuff]...
> > > >   Loading modules
> > > > ... libata ...
> > > > ... scsi_wait_scan ...
> > > > ... ahci ...
> > > > ... sg ...
> > > > ... ehci-hcd ...
> > > > ... usb-storage ...
> > > > ... uhci-hcd ...
> > > > ... ohci-hcd ...
> > > >   Activating mdev
> > > >
> > > > With the 2.6.27 kernel, after displaying "Loading modules" and
> > > > its related messages, the "Activating mdev" message never
> > > > appears and the boot process is stopped.
> > > >
> > > > Anybody know what's wrong?
> > > >
> > > > FWIW, the mobo is an ASUS M2A-VM HDMI with an AMD64 X2 5000+
> > > > CPU and 8GB ram. The 2.6.25 kernel is new as I've just upgraded
> > > > from an IDE HD to SATA.  The 2.6.27 configuration was generated
> > > > from the 2.6.25 configuration using "make oldconfig".
> > >
> > > so you are missing the right drivers and you have the wrong
> > > entries in /etc/fstab? Because sata = sdX. ide = hdX.
> > >
> > > oh - and not using an initrd and having everything needed to boot
> > > in the kernel takes away a lot of potential problems.
> >
> > Hi Volker,
> >
> > Remember, the system is running fine with 2.6.25 and doesn't boot
> > with 2.6.27.  /etc/fstab is a constant isn't changing.  Therefore I
> > can say with certainty that it's not the change from ide/hdX to
> > sata/sdX.
> 
> but you said you went from ide to sata. So you have to change your
> fstab.

Indeed, fstab has been updated and works fine (with 2.6.25) but
2.6.27 is having trouble.


> > As additional info, I've replace my .config with
> > arch/x86/configs/x86_64_defconfig and have the same problem.
> 
> because now lots and lots of stuff is missing.
> 
> Really, generate a config with all the stuff that is needed built
> into the kernel. Don't use genkernel, don't use an initrd. Load
> whatever you need but is not necessary for a boot with modules
> autoload. It is easier and much less error prone.

It's worth a try.  I'll start with the 2.6.25 configuration, convert
all modules to built in, then run oldconfig to see what happens.

I'll update you when I have run the experiment.




Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 22:11:28 +0100, damian wrote:

> > That will also backup virtual filesystems like /proc, /dev and/sys.
> > Add the -x option to avoid this.  
> OK, so the command should be
> rsync -ax --delete --relative  --exclude '/home' / /mnt/wd-backups/
> ?

Yes, unless /home is on a separate filesystem, in which case the --exclude
is redundant.


-- 
Neil Bothwick

As long as you do not move you can still choose any direction.


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Dale
Volker Armin Hemmann wrote:
> On Sonntag 14 Dezember 2008, Grant wrote:
>   
 This system
 is in the living room and the current hard drive can be hea
 
>>> Have you considered adding sound insultation to the case?
>>>   
>> That's not a bad idea, but I don't want to keep heat in along with
>> sound.  The only fans are the CPU fan and power supply fan.  My video
>> card blew a capacitor the other day and I think it was heat.
>>
>> - Grant
>> 
>
> and that is why you have one or two slow moving 12cm or 14 cm fans in your 
> case. Slow = low noise. Then some insulation on the sides, buttom and top  
> and 
> vibration dampers for the harddisks and noise goes down a lot.
>
>
>
>   

I painted the sides of my case with some of that rubber type of paint
like goes on a roof.  That helped a lot as far as noise goes.  With the
side off, it can be a bit noisy but with it on, there is almost no
noise.  It dampens the metal so that it can't let the vibrations of the
noise through the sides.  My top and bottom are pretty strong anyway so
they do all right.

Dale

:-)  :-) 




Re: [gentoo-user] kernel-2.6.27 boot problem

2008-12-14 Thread Volker Armin Hemmann
On Sonntag 14 Dezember 2008, David Relson wrote:
> On Sun, 14 Dec 2008 21:58:17 +0100
>
> Volker Armin Hemmann wrote:
> > On Sonntag 14 Dezember 2008, David Relson wrote:
> > > I'm attempting to upgrade my kernel from 2.6.25-gentoo-r7 to
> > > 2.6.27-gentoo-r5 and have run into a snag.
> > >
> > > With the 2.6.25 kernel, the boot proces displays
> > >
> > >   ...[stuff]...
> > >   Loading modules
> > > ... libata ...
> > > ... scsi_wait_scan ...
> > > ... ahci ...
> > > ... sg ...
> > > ... ehci-hcd ...
> > > ... usb-storage ...
> > > ... uhci-hcd ...
> > > ... ohci-hcd ...
> > >   Activating mdev
> > >
> > > With the 2.6.27 kernel, after displaying "Loading modules" and its
> > > related messages, the "Activating mdev" message never appears and
> > > the boot process is stopped.
> > >
> > > Anybody know what's wrong?
> > >
> > > FWIW, the mobo is an ASUS M2A-VM HDMI with an AMD64 X2 5000+ CPU and
> > > 8GB ram. The 2.6.25 kernel is new as I've just upgraded from an IDE
> > > HD to SATA.  The 2.6.27 configuration was generated from the 2.6.25
> > > configuration using "make oldconfig".
> >
> > so you are missing the right drivers and you have the wrong entries
> > in /etc/fstab? Because sata = sdX. ide = hdX.
> >
> > oh - and not using an initrd and having everything needed to boot in
> > the kernel takes away a lot of potential problems.
>
> Hi Volker,
>
> Remember, the system is running fine with 2.6.25 and doesn't boot with
> 2.6.27.  /etc/fstab is a constant isn't changing.  Therefore I can
> say with certainty that it's not the change from ide/hdX to sata/sdX.

but you said you went from ide to sata. So you have to change your fstab.

>
> As additional info, I've replace my .config with
> arch/x86/configs/x86_64_defconfig and have the same problem.

because now lots and lots of stuff is missing.

Really, generate a config with all the stuff that is needed built into the 
kernel. Don't use genkernel, don't use an initrd. Load whatever you need but 
is not necessary for a boot with modules autoload. It is easier and much less 
error prone.





Re: [gentoo-user] Booting from dmraid

2008-12-14 Thread Aram Havarneanu
Volker Armin Hemmann  wrote:
> is there any good reason to use dmraid and not md raid?

Yes. The RAID array was created long time ago and I need to keep the
data. I don't have ~1TB to store it somewhere else, bring the array
offline and use md raid.

-- 
Aram Hăvărneanu


Re: [gentoo-user] Booting from dmraid

2008-12-14 Thread Volker Armin Hemmann
On Sonntag 14 Dezember 2008, Aram Havarneanu wrote:
> Hello,
>
> I have followed this guide:
> http://en.gentoo-wiki.com/wiki/RAID/NVRAID_with_dmraid and practically
> everything is working. However, I want to make things better.
>
> I have used genkernel (with a custom config) because it is very easy
> to set up dmraid apparently. I am not happy with this because
> genkernel generates a 21MB initrd that runs some autoload scripts that
> load modules for every hardware device I don't have.
>
> I wonder why can't I statically compile dmraid support in the kernel
> and not require an initrd file. Is that possible?
>
> Thanks,

is there any good reason to use dmraid and not md raid?




Re: [gentoo-user] kernel-2.6.27 boot problem

2008-12-14 Thread David Relson
On Sun, 14 Dec 2008 21:58:17 +0100
Volker Armin Hemmann wrote:

> On Sonntag 14 Dezember 2008, David Relson wrote:
> > I'm attempting to upgrade my kernel from 2.6.25-gentoo-r7 to
> > 2.6.27-gentoo-r5 and have run into a snag.
> >
> > With the 2.6.25 kernel, the boot proces displays
> >
> >   ...[stuff]...
> >   Loading modules
> > ... libata ...
> > ... scsi_wait_scan ...
> > ... ahci ...
> > ... sg ...
> > ... ehci-hcd ...
> > ... usb-storage ...
> > ... uhci-hcd ...
> > ... ohci-hcd ...
> >   Activating mdev
> >
> > With the 2.6.27 kernel, after displaying "Loading modules" and its
> > related messages, the "Activating mdev" message never appears and
> > the boot process is stopped.
> >
> > Anybody know what's wrong?
> >
> > FWIW, the mobo is an ASUS M2A-VM HDMI with an AMD64 X2 5000+ CPU and
> > 8GB ram. The 2.6.25 kernel is new as I've just upgraded from an IDE
> > HD to SATA.  The 2.6.27 configuration was generated from the 2.6.25
> > configuration using "make oldconfig".
> 
> so you are missing the right drivers and you have the wrong entries
> in /etc/fstab? Because sata = sdX. ide = hdX.
> 
> oh - and not using an initrd and having everything needed to boot in
> the kernel takes away a lot of potential problems.
> 

Hi Volker,

Remember, the system is running fine with 2.6.25 and doesn't boot with
2.6.27.  /etc/fstab is a constant isn't changing.  Therefore I can
say with certainty that it's not the change from ide/hdX to sata/sdX.

If I recall, I encountered the same boot issue back when I only had an
IDE drive and attempted to use 2.6.26.  At that time I wasn't
concerned, so didn't attempt to determine what was wrong.

As additional info, I've replace my .config with
arch/x86/configs/x86_64_defconfig and have the same problem.

Cheers!

David



Re: [gentoo-user] Booting from dmraid

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 23:06:21 +0200, Aram Havarneanu wrote:

> > Yes,as long as /boot is on a RAID1 or non-RAID partition. I use the
> > former.  
> 
> /boot is on RAID0. Works perfectly with dmraid compiled as module and
> loaded into initrd. Do you say that it will not work statically
> compiled into the kernel if /boot is on RAID0 insetad of RAID1?

With an initrd, anything is possible, except simplicity. Without an
initrd, with DM compiled in and a RAID1, everything just works. I'm
surprised that GRUB can read the kernel from a RAID0.


-- 
Neil Bothwick

Half of being smart is knowing what you're dumb at.


signature.asc
Description: PGP signature


Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread damian
On Sun, Dec 14, 2008 at 10:09 PM, Neil Bothwick  wrote:
> On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote:
>
>>  rsync -a --delete --relative  --exclude '/home' / /mnt/wd-backups/
>
> That will also backup virtual filesystems like /proc, /dev and/sys. Add
> the -x option to avoid this.
OK, so the command should be
rsync -ax --delete --relative  --exclude '/home' / /mnt/wd-backups/
?


>
>
> --
> Neil Bothwick
>
> I am Barney of Borg: I love you. You love me. We're a happy Borg.
>



Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote:

>  rsync -a --delete --relative  --exclude '/home' / /mnt/wd-backups/

That will also backup virtual filesystems like /proc, /dev and/sys. Add
the -x option to avoid this.


-- 
Neil Bothwick

I am Barney of Borg: I love you. You love me. We're a happy Borg.


signature.asc
Description: PGP signature


Re: [gentoo-user] Booting from dmraid

2008-12-14 Thread Aram Havarneanu
Neil Bothwick  wrote:
> Yes,as long as /boot is on a RAID1 or non-RAID partition. I use the
> former.

/boot is on RAID0. Works perfectly with dmraid compiled as module and
loaded into initrd. Do you say that it will not work statically
compiled into the kernel if /boot is on RAID0 insetad of RAID1?

-- 
Aram Hăvărneanu


Re: [gentoo-user] kernel-2.6.27 boot problem

2008-12-14 Thread Volker Armin Hemmann
On Sonntag 14 Dezember 2008, David Relson wrote:
> I'm attempting to upgrade my kernel from 2.6.25-gentoo-r7 to
> 2.6.27-gentoo-r5 and have run into a snag.
>
> With the 2.6.25 kernel, the boot proces displays
>
>   ...[stuff]...
>   Loading modules
> ... libata ...
> ... scsi_wait_scan ...
> ... ahci ...
> ... sg ...
> ... ehci-hcd ...
> ... usb-storage ...
> ... uhci-hcd ...
> ... ohci-hcd ...
>   Activating mdev
>
> With the 2.6.27 kernel, after displaying "Loading modules" and its
> related messages, the "Activating mdev" message never appears and the
> boot process is stopped.
>
> Anybody know what's wrong?
>
> FWIW, the mobo is an ASUS M2A-VM HDMI with an AMD64 X2 5000+ CPU and
> 8GB ram. The 2.6.25 kernel is new as I've just upgraded from an IDE HD
> to SATA.  The 2.6.27 configuration was generated from the 2.6.25
> configuration using "make oldconfig".

so you are missing the right drivers and you have the wrong entries in 
/etc/fstab? Because sata = sdX. ide = hdX.

oh - and not using an initrd and having everything needed to boot in the 
kernel takes away a lot of potential problems.




[gentoo-user] kernel-2.6.27 boot problem

2008-12-14 Thread David Relson
I'm attempting to upgrade my kernel from 2.6.25-gentoo-r7 to
2.6.27-gentoo-r5 and have run into a snag.

With the 2.6.25 kernel, the boot proces displays

  ...[stuff]...
  Loading modules
... libata ...
... scsi_wait_scan ...
... ahci ...
... sg ...
... ehci-hcd ...
... usb-storage ...
... uhci-hcd ...
... ohci-hcd ...
  Activating mdev

With the 2.6.27 kernel, after displaying "Loading modules" and its
related messages, the "Activating mdev" message never appears and the
boot process is stopped.

Anybody know what's wrong?

FWIW, the mobo is an ASUS M2A-VM HDMI with an AMD64 X2 5000+ CPU and
8GB ram. The 2.6.25 kernel is new as I've just upgraded from an IDE HD
to SATA.  The 2.6.27 configuration was generated from the 2.6.25
configuration using "make oldconfig".

Regards,

David



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Volker Armin Hemmann
On Sonntag 14 Dezember 2008, Grant wrote:
> >> This system
> >> is in the living room and the current hard drive can be hea
> >
> > Have you considered adding sound insultation to the case?
>
> That's not a bad idea, but I don't want to keep heat in along with
> sound.  The only fans are the CPU fan and power supply fan.  My video
> card blew a capacitor the other day and I think it was heat.
>
> - Grant

and that is why you have one or two slow moving 12cm or 14 cm fans in your 
case. Slow = low noise. Then some insulation on the sides, buttom and top  and 
vibration dampers for the harddisks and noise goes down a lot.




[gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread damian
... using rsync.

Hello,

Finally I got a (less than perfect but) functional gentoo installation
and I would like to backup my root directory to an external
hard-drive. But I have a doubt regarding the options to be passed to
rsync. I think this command should perform what I want:
 rsync -a --delete --relative  --exclude '/home' / /mnt/wd-backups/

But I would like to ask you  if this is correct.

Best regards,
Damian.



Re: [gentoo-user] Work!

2008-12-14 Thread Karl Huysmans
I wouldn't mind personally :-)

2008/12/11 Rich Healey 

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Karl Huysmans wrote:
> > Hi All,
> >
> > Don't know if it's appropriate to post this on this list, sorry if it's
> > not. Anyway, this is serious: we are currently looking for a junior IT
> > with some Gentoo experience and with a special interest in media
> > encoding and graphics for a job in a video post house in Brussels,
> > Belgium. Most of our systems run Gentoo, and it's hard to find anyone
> > through the usual channels, besides, we're looking for an enthousiast
> > who wants to learn, and not for someone with a stack of certificates and
> > diploma's. Anyone? Any other suggestions where else I could or should
> ask?
> >
> > grtz
> >
> > Karl
> Oh if only you were in australia...
>
> - --
> Richo -  - ri...@psych0tik.net
> Developer / Systems Admin   - OpenPGP: 0x8C8147807
> MSN: bitchohea...@hotmail.com   AIM: richohealey33
> irc.psych0tik.net->  #hbh #admin   ((richohealey))
> irc.freenode.org ->  #hbh #debian  ((PythonNinja))
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAklAUfQACgkQLeTfO4yBSAc9FACgp9GHjUBnMTwc2/fiw5gGJfpg
> FGoAn0bQxEJEm8xudavYpPtcrEsnLpSX
> =Fp7r
> -END PGP SIGNATURE-
>
>


Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 11:42:30 -0800, Grant wrote:

> > Have you considered adding sound insultation to the case?  
> 
> That's not a bad idea, but I don't want to keep heat in along with
> sound.

I wasn't suggesting putting the insulation over the air vents ;-)


-- 
Neil Bothwick

To err is human; to really foul things up requires a computer.


signature.asc
Description: PGP signature


Re: [gentoo-user] Booting from dmraid

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 20:10:26 +0200, Aram Havarneanu wrote:

> I wonder why can't I statically compile dmraid support in the kernel
> and not require an initrd file. Is that possible?

Yes,as long as /boot is on a RAID1 or non-RAID partition. I use the
former.


-- 
Neil Bothwick

Programming Language: (n.) a shorthand way of describing a series of bugs
  to a computer or a programmer.


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Grant
>> This system
>> is in the living room and the current hard drive can be hea
>
> Have you considered adding sound insultation to the case?

That's not a bad idea, but I don't want to keep heat in along with
sound.  The only fans are the CPU fan and power supply fan.  My video
card blew a capacitor the other day and I think it was heat.

- Grant



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 09:36:35 -0800, Grant wrote:

> This system
> is in the living room and the current hard drive can be hea

Have you considered adding sound insultation to the case?


-- 
Neil Bothwick

I'm really easy to get along with once you people learn to worship me.


signature.asc
Description: PGP signature


[gentoo-user] Postgresql: failed to initialize lc_messages to ""

2008-12-14 Thread Ricardo Bevilacqua
Hi to all,

I'm setting up a new server for developing database-based applications.

So, I emerged PostgreSQL, but the problem comes when I try to
configure Postgre, this is what I get:

-
# emerge postgresql --config


Configuring pkg...

 * Creating the data directory ...
 * Initializing the database ...
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating directory /var/lib/postgresql/data/global ... ok
creating directory /var/lib/postgresql/data/pg_xlog ... ok
creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
creating directory /var/lib/postgresql/data/pg_clog ... ok
creating directory /var/lib/postgresql/data/pg_subtrans ... ok
creating directory /var/lib/postgresql/data/base ... ok
creating directory /var/lib/postgresql/data/base/1 ... ok
creating directory /var/lib/postgresql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /var/lib/postgresql/data/base/1 ...
FATAL:  XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:2403
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
 *
 * You can use the '//etc/init.d/postgresql' script to run PostgreSQL
instead of 'pg_ctl'.
 *
-


I did some google research and found two possible solutions, neither
of those two worked for me.

The first one [1] said that the solution is to compile glibc with nls.
But, apparently, I already have glibc installed with nls.


-
# emerge -va glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/glibc-2.6.1  USE="gd nls -debug -glibc-omitfp
(-hardened) (-multilib) -profile (-selinux) -vanilla" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

-

The second solution [2] that I found consists on editing the
/etc/env.d/02locale file with UTF-8, like this (this is my actual
02locale file):

---/etc/env.d/02locale--

LANG="es...@euro"

LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"

-

Still the same error.

I hope someone helps me to fix this, ask me if you need to see any
other of my configuration files.

Thanks in advance!

Richard.



[1] 
http://forums.gentoo.org/viewtopic-p-1950119-highlight-fatal+xx000+initialize+lcmessages.html?sid=d01013a2790fc89ff6ebb6df84010702#1950119

[2] 
http://forum.soft32.com/linux/gentoo-postgres-postinstall-problem-ftopict334580.html



Re: [gentoo-user] Trying to install NetBeans 6.5 doesn't work

2008-12-14 Thread Yannick Mortier
2008/12/13 Alan McKinnon :
> On Saturday 13 December 2008 23:09:58 Yannick Mortier wrote:
>> Hello!
>> I'm currently trying to install NetBeans 6.5 but it just doesn't work.
>> I always get a block when I try to to this.
>>
>> [blocks B ] dev-java/ant-tasks ("dev-java/ant-tasks" is blocking
>> dev-java/ant-core-1.7.1-r2)
>>
>>  * Error: The above package list contains packages which cannot be
>>  * installed at the same time on the same system.
>
> This is a standard blocker, the process of how to deal with it is detailed in
> the handbook. But here goes:
>
> You have an arch system as per your ACCEPT_KEYWORDS. But look at the packages
> that want to be pulled in:
>
> a...@nazgul ~ $ eix ant-tasks
> * dev-java/ant-tasks
> Available versions:  1.7.0-r4 {X antlr bcel bsf commonslogging commonsnet
> elibc_FreeBSD jai javamail jdepend jmf jsch log4j oro regexp resolver}
> Homepage:http://ant.apache.org/
> Description: Meta-package for Apache Ant's optional tasks.
>
> a...@nazgul ~ $ eix ant-core
> [I] dev-java/ant-core
> Available versions:  1.7.0 1.7.0-r1 (~)1.7.0-r2 (~)1.7.1-r1 (~)1.7.1-r2
> {doc elibc_FreeBSD source}
> Installed versions:  1.7.1-r2(00:14:52 12/09/08)
> (-doc -elibc_FreeBSD -source)
> Homepage:http://ant.apache.org/
> Description: Java-based build tool similar to 'make' that uses
> XML configuration files.
>
> ant-task is stable, ant-core is unstable. So, you seem to have
> package-unmasked the ant stuff. The ant-core ebuild says that it completely
> blocks ant-tasks and ant-optional.
>
> The best way to advise you what to do would be if you supply the output from
> the emerge you are running with the -t option. Without that my best guess
> would be:
>
> emerge -avC ant-tasks
> rerun the original emerge
>
>
>
> --
> alan dot mckinnon at gmail dot com
>
>

Alright, thank you for your help. I got it running late in the night
by unmasking ant an all its dependencies.
Wasn't easy to figure this out and I was quite frustrated after
several hours, that was why I wrote to the list.


-- 
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight



[gentoo-user] Booting from dmraid

2008-12-14 Thread Aram Havarneanu
Hello,

I have followed this guide:
http://en.gentoo-wiki.com/wiki/RAID/NVRAID_with_dmraid and practically
everything is working. However, I want to make things better.

I have used genkernel (with a custom config) because it is very easy
to set up dmraid apparently. I am not happy with this because
genkernel generates a 21MB initrd that runs some autoload scripts that
load modules for every hardware device I don't have.

I wonder why can't I statically compile dmraid support in the kernel
and not require an initrd file. Is that possible?

Thanks,

-- 
Aram Hăvărneanu


Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Dale
Grant wrote:
>>> My desktop currently runs one of these:
>>>
>>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
>>>
>>> I'm pretty much out of space and I'm trying figure out the best way to
>>> expand.  The factors to consider are cost, capacity, speed, noise, and
>>> heat.
>>>   
>> RAID 0 will be twice as fast as any single drive
>> 
>
> I didn't realize that.  Maybe I should just buy another drive
> identical to mine and run RAID0.  That would be cheap, twice as fast,
> twice the capacity, and with some amount more heat and noise.  I have
> a separate backup system so I'm not worried about data loss.
>
> I'm interested to hear from anyone who can comment on the perceived
> noise increase involved with going from one drive to two.  This system
> is in the living room and the current hard drive can be heard from the
> bedroom.
>
> - Grant
>
>
>   

I currently have two hard drives but had three until I got my DVD
burner.  Even when I had three drives in my case, I couldn't hear them
because of the CPU and other fans running.  I guess either my drives
were quiet or you may be water cooling or something.  I haven't had a
problem with drive noise in ages.

I do have a server case so heat has never been a issue for me.  Right
now my case temp is 73F, my CPU is 90.5F.  One hard drive is at 77F and
the other is at 84F.  The one running at 84F is the currently active one
with my OS.  The other is just sitting there spinning.

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread damian
On Sun, Dec 14, 2008 at 4:52 PM, Grant  wrote:
>>> My desktop currently runs one of these:
>>>
>>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
>> Out of space with 320G? Have you considered putting your multimedia in
>> an external hard drive?
>
> What would be the benefit of using an external drive instead of an
> internal drive?  Heat wouldn't be a problem which is good, but it
> would mean a little extra clutter.  Wouldn't it be slower over USB?
> I'm doing some Blu-Ray ripping/decrypting and it seems like the speed
> is being limited by I/O.
It depends on what your needs are. Personally I use an external hard
drive for storing my music collection and video files (movies, series,
etc). I haven't had any problem while watching videos or listening
music from the external hard drive. But I guess for other purposes it
might not be the best solution.



Re: [gentoo-user] Question Re: Flash and Firefox

2008-12-14 Thread CJoeB
Paul Hartman wrote:
> On Sun, Dec 14, 2008 at 9:25 AM, Alan McKinnon  
> wrote:
>   
>> On Sunday 14 December 2008 17:17:15 CJoeB wrote:
>> 
>>> Hi,
>>>
>>> As a Canadian, I subscribe to a loyalty program called Airmiles.  When I
>>> go into the Airmiles site, it does not display properly in Firefox, even
>>> though I have the Flash Player installed.  I just emerged Opera and the
>>> Air Miles site works just fine.  Is this a bug with Firefox and should I
>>> be reporting on the Firefox web site?
>>>
>>> And please, lets not get into a discussion of which browser is better.
>>> I like Firefox just fine and have never had any complaints about it
>>> until recently when Airiles must have updated their site and there must
>>> be (I assume) some incompatibility between their site and Firefox.  This
>>> site seems to be the only one that I've encountered where Flash doesn't
>>> work properly.
>>>   
>> What version are you using? I got very good results upgrading to latest v10
>> even though it's hard masked. And it's 64 bit so I don;t need all that
>> wrapper stuff anymore
>> 
I'm using version 10.0.12.36-r1,
>
>
> Also, if you're using Firefox add-ons such as flashblock or
> adblockplus, I would try disabling them. Sometimes they interfere in
> the rendering of the page even when you've whitelisted the site.
>   
I don't use flashblock, but *do* use adblockplus.  However, I tried
disabling adblockplus and that was no help.  What I don't understand is
why the site would display just fine in Opera, but not in Firefox.  And
I'm 99% positive that the issue is with flash 'cause if I right-click on
the portions of the page that don't display properly in firefox, I get a
menu on the bottom of which is "About Flashplayer 10.

Anyway, thanks for the responses.  I'll keep them in mind! :-)

Regards,

Colleen

-- 

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




Re: [gentoo-user] Do I need to enable AMD Hyper-Transport?

2008-12-14 Thread Grant
>> Do I need to do anything for my system to take advantage of AMD's
>> Hyper-Transport on my 6000+ CPU?
>>
>> - Grant
>
> no, it should work even if you disable interrupts for hypertransport devices.
> It doesn't harm turning it on.

Great, thank you.

- Grant



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Grant
>> My desktop currently runs one of these:
>>
>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
>>
>> I'm pretty much out of space and I'm trying figure out the best way to
>> expand.  The factors to consider are cost, capacity, speed, noise, and
>> heat.
> RAID 0 will be twice as fast as any single drive

I didn't realize that.  Maybe I should just buy another drive
identical to mine and run RAID0.  That would be cheap, twice as fast,
twice the capacity, and with some amount more heat and noise.  I have
a separate backup system so I'm not worried about data loss.

I'm interested to hear from anyone who can comment on the perceived
noise increase involved with going from one drive to two.  This system
is in the living room and the current hard drive can be heard from the
bedroom.

- Grant



Re: [gentoo-user] Do I need to enable AMD Hyper-Transport?

2008-12-14 Thread Volker Armin Hemmann
On Sonntag 14 Dezember 2008, Grant wrote:
> Do I need to do anything for my system to take advantage of AMD's
> Hyper-Transport on my 6000+ CPU?
>
> - Grant

no, it should work even if you disable interrupts for hypertransport devices. 
It doesn't harm turning it on. 






Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Stroller


On 14 Dec 2008, at 16:31, Grant wrote:

...
A RAID won't cause more heat or noise than a second drive but it  
will also


How much perceived noise does a second drive create?


See my other reply.

I'd say if you don't care about redundancy, you should go for a  
single 1TB
disk. I'd prefer a Samsung Spinpoint F1. Spinpoints have the  
reputation of

being a good mix between cost effectiveness, speed and noise.


Do you think that would result in a greater speed increase than
another Seagate and RAID0?


No.

Stroller.




Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Stroller


On 14 Dec 2008, at 02:49, Grant wrote:


My desktop currently runs one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140

I'm pretty much out of space and I'm trying figure out the best way to
expand.  The factors to consider are cost, capacity, speed, noise, and
heat. ... but $200 for 300GB is pretty expensive


I don't find your criteria well-defined - fast, cheap (large) &  
reliable, pick any two.


If the factors were ONLY cost, capacity, speed, noise, and heat, then  
I would say throw away your old hard-drive & RAID 0 across cheap 1TB  
drives, which are c £65 each at the moment.


In RAID 0, however, the 0 stands for how much data you get to keep in  
the event of drive failure, and most of us don't want that. I also  
don't see your old drive as redundant.


Haven't you considered just mounting an additional drive at /media/ 
video, or /var or /home or wherever?


I personally don't find hard-drives to be significant contributors to  
a system's noise. There are too many fans in any of my machines to  
notice the difference made by an extra disk crunching away.  
Additionally, in typical PC systems with capacity for only 4 (maybe 6,  
these days?) ATA drives, I don't find heat to be a problem. I'm sure  
I've read articles saying how heat is the biggest contributor to drive- 
failures, but I have two machines in my airing cupboard here [1], each  
stuffed as full of disks as possible (3 in one, 4 in the other PC) and  
have never had a failure on any of them. One system is at least 4  
years old, probably more like 6, the other at least a couple.


In a later post you say drive throughput may be an issue for you,  
which I did not really find clear initially. I would personally  
consider a pair of two of the cheapest new drives I could find  
(probably 80gig @ £22 each inc VAT or 160gig @ £28) and RAID 0 them.  
Others may advise if the partition scheme which immediately occurs to  
me - 3 partitions: swap, /tmp and /mnt/video/my_tmp - is wise. RAID 0  
will be twice as fast as any single drive, but for me I wouldn't need  
a large volume in that configuration, as I wouldn't keep anything  
important on it, nor the root of my system, nor anything that would  
need restoring in the event of a failure.


Stroller.




[1] US readers: I'm not sure if you use the same expression. In the UK  
the "airing cupboard" is the small cupboard in which the home's hot  
water tank sits. I guess you may keep the hot water tank in a large  
basement, but British homes have less room, so it is confined in a  
small cupboard which gets very warm indeed. Consequently it is used to  
dry bath towels after use, and hence the cupboard's name.


[gentoo-user] Do I need to enable AMD Hyper-Transport?

2008-12-14 Thread Grant
Do I need to do anything for my system to take advantage of AMD's
Hyper-Transport on my 6000+ CPU?

- Grant



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Grant
>> My desktop currently runs one of these:
>>
>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
>>
>> I'm pretty much out of space and I'm trying figure out the best way to
>> expand.  The factors to consider are cost, capacity, speed, noise, and
>> heat.
>
> So you don't care about security, right? With security I mean redundancy
>  (RAID1,5,10,...)

I haven't considered RAID for data security because I'm backing up
critical system and data files across physical locations.  I figure
that's better because I'm protected in case of fire or theft.  It
would be nice for the system to stay up in the case of a hard drive
failure, but there are so many other components that could fail.

>> Should I get another identical drive and set up RAID, or will
>> that create too much noise and heat?
>
> A RAID won't cause more heat or noise than a second drive but it will also

How much perceived noise does a second drive create?

> I'd say if you don't care about redundancy, you should go for a single 1TB
> disk. I'd prefer a Samsung Spinpoint F1. Spinpoints have the reputation of
> being a good mix between cost effectiveness, speed and noise.

Do you think that would result in a greater speed increase than
another Seagate and RAID0?

- Grant



Re: [gentoo-user] Question Re: Flash and Firefox

2008-12-14 Thread Paul Hartman
On Sun, Dec 14, 2008 at 9:25 AM, Alan McKinnon  wrote:
> On Sunday 14 December 2008 17:17:15 CJoeB wrote:
>> Hi,
>>
>> As a Canadian, I subscribe to a loyalty program called Airmiles.  When I
>> go into the Airmiles site, it does not display properly in Firefox, even
>> though I have the Flash Player installed.  I just emerged Opera and the
>> Air Miles site works just fine.  Is this a bug with Firefox and should I
>> be reporting on the Firefox web site?
>>
>> And please, lets not get into a discussion of which browser is better.
>> I like Firefox just fine and have never had any complaints about it
>> until recently when Airiles must have updated their site and there must
>> be (I assume) some incompatibility between their site and Firefox.  This
>> site seems to be the only one that I've encountered where Flash doesn't
>> work properly.
>
> When I want to be kind to Adobe, I say that their Linux support for Flash just
> sucks. At other times I say ... um, never mind.
>
> Adobe Flash sucks on Linux. What you are experiencing happens a lot to a lot
> of people.
>
> What version are you using? I got very good results upgrading to latest v10
> even though it's hard masked. And it's 64 bit so I don;t need all that
> wrapper stuff anymore

I second the suggestion to move to the 64-bit version of Flash Player
(and firefox) and unmerge nspluginwrapper. I have had zero flash
problems since then. Of course, we  don't know if the OP uses 64-bit
gentoo or not.

Also, if you're using Firefox add-ons such as flashblock or
adblockplus, I would try disabling them. Sometimes they interfere in
the rendering of the page even when you've whitelisted the site.



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Grant
>> My desktop currently runs one of these:
>>
>> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
> Out of space with 320G? Have you considered putting your multimedia in
> an external hard drive?

What would be the benefit of using an external drive instead of an
internal drive?  Heat wouldn't be a problem which is good, but it
would mean a little extra clutter.  Wouldn't it be slower over USB?
I'm doing some Blu-Ray ripping/decrypting and it seems like the speed
is being limited by I/O.

In case anyone is interested, there is great info on Blu-Ray on Linux here:

http://forums.gentoo.org/viewtopic-t-691564.html

http://forum.doom9.org/showthread.php?t=143372

- Grant



Re: [gentoo-user] Question Re: Flash and Firefox

2008-12-14 Thread Alan McKinnon
On Sunday 14 December 2008 17:17:15 CJoeB wrote:
> Hi,
>
> As a Canadian, I subscribe to a loyalty program called Airmiles.  When I
> go into the Airmiles site, it does not display properly in Firefox, even
> though I have the Flash Player installed.  I just emerged Opera and the
> Air Miles site works just fine.  Is this a bug with Firefox and should I
> be reporting on the Firefox web site?
>
> And please, lets not get into a discussion of which browser is better.
> I like Firefox just fine and have never had any complaints about it
> until recently when Airiles must have updated their site and there must
> be (I assume) some incompatibility between their site and Firefox.  This
> site seems to be the only one that I've encountered where Flash doesn't
> work properly.

When I want to be kind to Adobe, I say that their Linux support for Flash just 
sucks. At other times I say ... um, never mind.

Adobe Flash sucks on Linux. What you are experiencing happens a lot to a lot 
of people. 

What version are you using? I got very good results upgrading to latest v10 
even though it's hard masked. And it's 64 bit so I don;t need all that 
wrapper stuff anymore


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Question Re: Flash and Firefox

2008-12-14 Thread CJoeB
Hi,

As a Canadian, I subscribe to a loyalty program called Airmiles.  When I
go into the Airmiles site, it does not display properly in Firefox, even
though I have the Flash Player installed.  I just emerged Opera and the
Air Miles site works just fine.  Is this a bug with Firefox and should I
be reporting on the Firefox web site?

And please, lets not get into a discussion of which browser is better. 
I like Firefox just fine and have never had any complaints about it
until recently when Airiles must have updated their site and there must
be (I assume) some incompatibility between their site and Firefox.  This
site seems to be the only one that I've encountered where Flash doesn't
work properly.

Regards,

Colleen

-- 

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




Re: [gentoo-user] Re: ebuild for recent ATI driver, whom to go to?

2008-12-14 Thread Miguel Ramos
2008/12/14 James :
> should have said "profiler"
> Breaking down algorithms and make a fundamentally better
> algo for a gpu, will require a really good "profiler" to
> imho.

So far I'd be happy at being able to run something and leave the
evaluation of gains at a theoretical level.

>> Anyway, it seems to me that all that is needed is to have the GPU
>> compiler running on the host system.
>> I wouldn't think that the code produced or the binding code for the
>> CPU would then require us to pull in glibc-2.2.5.
>> But then, I never used Brook+ or Cal.
>
> Me either. I was waiting until somebody in the gentoo community got
> things at least functional, before obtaining  a high end video
> card for GPU experimentation and programming.
>
> I guess I'll just have to wait a little bit longer

I'm not a very experienced Linux user, I've been using FreeBSD for longer.
At work I keep a subtree of a gentoo kernel-2.4/glibc-2.3 which I do
not update for chroot whenever I need to compile things for a 2.4
kernel.

Do you (anyone?) have any hints on the less inconvenient way to run
glibc-2.2.5 programs on Gentoo?

-- 
Miguel Ramos <2...@miguel.ramos.name>
GnuPG ID 0xA006A14C



Re: [gentoo-user] [OT] One line script for md5sum

2008-12-14 Thread Alex Schuster
Neil Bothwick writes:

> On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote:
> > for I in $(seq 1 15) ; do
>
> If you're using bash or zsh,you can speed this up with
>
> for I in {1..15}; do

You can even use C style: for (( i=1; i <= 15; i++ )); do

Wonko



Re: [gentoo-user] [OT] One line script for md5sum

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote:

> That's why I suggested them :-) I use them a lot, especially when I
> have to run the same set of commands on 15 different hosts, then I do
> something like:
> 
> for I in $(seq 1 15) ; do

If you're using bash or zsh,you can speed this up with

for I in {1..15}; do


-- 
Neil Bothwick

Rugged: Too heavy to lift.


signature.asc
Description: PGP signature


[gentoo-user] Xvnc Terminal Server doesn't work

2008-12-14 Thread Pau Peris
I've followed that link to creeate a "Xvnc Terminal Server":

http://forums.gentoo.org/viewtopic-t-72893-postdays-0-postorder-asc-start-0.html

* My machines has no Diplay connected to it and mouse, but to test it
i use to connect a monitor so i can check everything works fine.

* Xdm works proprly but i can't acces from the localhost neither fro
mthe local network. I'm always getting the can't open display error

>When i type vncviewer localhost:71: (in syslog doesn't appear nothing when 
>doing it from the localhost but it does if i do it over lan or connected over 
>ssh)

# vncviewer localhost:71
Error: Can't open display:


>xhost gives that error:

# xhost
X connection to sibok:11.0 broken (explicit kill or server shutdown).

> xauth ist like that, it's auto created when logging from ssh

That's the syslog when a try to connect from the local network

> cat /var/log/messages

Dec 13 15:10:16 sibok xinetd[18183]: START: vnc-640x480x8 pid=18351
from=172.26.0.2
Dec 13 15:10:16 sibok xinetd[18183]: EXIT: vnc-640x480x8 status=1
pid=18351 duration=0(sec)

># emerge -pv tightvnc xinetd tcp-wrappers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/tcp-wrappers-7.6-r8  USE="-ipv6*" 0 kB
[ebuild   R   ] net-misc/tightvnc-1.3.9-r1  USE="server tcpd -java" 0 kB
[ebuild   R   ] sys-apps/xinetd-2.3.14  USE="perl tcpd" 0 kB

># cat /etc/hosts.allow
ALL:127.0.0.1
ALL:172.26.
ALL:172.26.0.0/255.255.255.0
ALL:172.26.0.2

>sibok ~ # cat /etc/hosts.deny
ALL:ALL

Don't know if it could be something related to display 1:0 or somehow.
Can someone help me pease? Thanks in advanced



-- 
Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no
cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo
soy sIbOk un hijo puta especial...!!



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Alan McKinnon
On Sunday 14 December 2008 12:47:14 Florian Philipp wrote:
> Then I would use it (and the older disk) in an LVM volume group. LVM
> also supports mirroring (like RAID1) and striping (like RAID0) on a
> per-volume basis. That means that you could keep most of your data
> somewhere on the TB disk and still experiment with mirroring and
> striping using both disks for partitions which need more speed or more
> security.

LVM's support for mirroring and striping is exceptionally crude to say the 
least. You will also have problems if your stripes do not align with the 
underlying volume. Seeing as LVM is designed to make volume management easier 
and RAID is designed to provide redundancy, it is best to completely dispense 
with the mirror/stripe "features" of LVM and leave that to the thing that 
does it best - RAID - while letting LVM do what it does best - making your 
life infinitely easier with volume management.

Plus, most built-in so-called hardware RAID solutions are utter crap and 
nothing worth the silicon they are built on. Linux software raid is many 
times better. Rule of thumb is that if the OS can see the underlying volumes 
that make up the RAID, you do not have real hardware RAID. You instead have 
something else that a marketing person decided would be cute if it were 
called hardware RAID. Calling a duck a swan does not make it anything other 
than a duck ;-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread Florian Philipp

Grant schrieb:

My desktop currently runs one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140

I'm pretty much out of space and I'm trying figure out the best way to
expand.  The factors to consider are cost, capacity, speed, noise, and
heat.


So you don't care about security, right? With security I mean redundancy 
 (RAID1,5,10,...)



Should I get another identical drive and set up RAID, or will
that create too much noise and heat?


A RAID won't cause more heat or noise than a second drive but it will 
also not necessarily solve your problem: RAID0 gives you the capacity of 
both drives combined and a lot of speed but if one of the disks dies, 
all data is lost. RAID1 spends the complete capacity of one of the 
drives for redundancy. RAID5 needs three drives (so it doesn't fit into 
your cost, noise and heat requirements), gives you the capacity of two 
and enough redundancy to loose one disk. However, its write performance 
isn't extremely high.



 Should I get rid of my current
drive and get a new drive, or will that not be much faster?


Your drive is good, why should you scrap it?


Velociraptors are reputed to be very fast, but $200 for 300GB is
pretty expensive and 1TB would require 4 drives which I think would
create a lot of noise and heat.



There are two "brute force" ways for an HDD to get faster: You increase 
their rpm or you increase their storage density (so that in one 
rotation, the r/w head can read/write more data). The latter has the 
advantage that it causes no additional heat or noise but more rpm give 
you lower access times.


I'd say if you don't care about redundancy, you should go for a single 
1TB disk. I'd prefer a Samsung Spinpoint F1. Spinpoints have the 
reputation of being a good mix between cost effectiveness, speed and noise.


Then I would use it (and the older disk) in an LVM volume group. LVM 
also supports mirroring (like RAID1) and striping (like RAID0) on a 
per-volume basis. That means that you could keep most of your data 
somewhere on the TB disk and still experiment with mirroring and 
striping using both disks for partitions which need more speed or more 
security.




Re: [gentoo-user] {OT} Storage expansion options

2008-12-14 Thread damian
On Sun, Dec 14, 2008 at 3:49 AM, Grant  wrote:
> My desktop currently runs one of these:
>
> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140
Out of space with 320G? Have you considered putting your multimedia in
an external hard drive?



[gentoo-user] WCCP on gentoo

2008-12-14 Thread Suranga Kasthuriarachchi
Dear all,

if anyone have idea or document material link about setup wccp on gentoo
kindly guide me,

Thanks
Suranga


Re: [gentoo-user] [OT] One line script for md5sum

2008-12-14 Thread Alan McKinnon
On Sunday 14 December 2008 11:06:39 Mick wrote:
>  md5sum -c token*.md5sum are the easiest on this occasion, although Alan's
> last two commands are indeed "insanely useful"!  ha!  They will be saving
> me hours of typing in the future.  :)

That's why I suggested them :-) I use them a lot, especially when I have to 
run the same set of commands on 15 different hosts, then I do something like:

for I in $(seq 1 15) ; do scp package.tar.gz a...@host${i}.domain.com ; done
for I in $(seq 1 15) ; do ssh a...@host${i}.domain.com tar xvzf 
package.tar.gz ; done

You can get real cute and put the host name and commands into files (one 
command/host) per line and run it all as two nested for loops:

while read -u hostfile HOST ; do while read -u commandfile COMM ; do ssh 
a...@${host} ${COMM} ; done ; done

That's off the top of my head, it'll need some parenthesis to make it actually 
work otherwise bash gets confused with too many ";"s but you get the idea. A 
running ssh-agent in these cases is recommended too :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] [OT] One line script for md5sum

2008-12-14 Thread Mick
On Sunday 14 December 2008, Neil Bothwick wrote:
> On Sat, 13 Dec 2008 19:59:44 -0500, Willie Wong wrote:
> > Why not just a simple bash one-liner
> >
> > for i in token{a..z}; do md5sum -c $i; done
>
> What wrong with
>
> md5sum -c token{a..z}

Thank you all for your suggestions.  I think think that:

 md5sum -c token{a..z}.md5sum  and

 md5sum -c token*.md5sum are the easiest on this occasion, although Alan's 
last two commands are indeed "insanely useful"!  ha!  They will be saving me 
hours of typing in the future.  :)
-- 
Regards,
Mick


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


Re: [gentoo-user] [OT] One line script for md5sum

2008-12-14 Thread Neil Bothwick
On Sat, 13 Dec 2008 19:59:44 -0500, Willie Wong wrote:

> Why not just a simple bash one-liner
> 
> for i in token{a..z}; do md5sum -c $i; done

What wrong with

md5sum -c token{a..z}


-- 
Neil Bothwick

All Scottish food is based on a dare.


signature.asc
Description: PGP signature