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

2010-08-27 Thread Dale

Hi folks,

I been putting this off but it looks like the newer kernels are going to 
push me to changing this real soon.  I have a older system, Abit NF7 2.0 
motherboard with the older IDE drives.  I'm still using the older IDE 
drivers.  This is what I have currently:


hda  Actual hard drive  OS on this
hdb  Actual hard drive  Not in use
hdc  Actual hard drive  home partition
hdd  DVD burner  Duh!  It's a burner.
sda   Actual hard drive connected through a SATA PCI card.   Misc stuff.


So, hda has the Gentoo OS on it and hdc is my /hone directory.   I have 
videos, mp3's and various other data on sda.   Currently hdb is not 
being used, since for those who keep up with my threads would know, it 
is the one that is terribly slow.  Something along the lines of 
10Mbs/sec or something of that nature.   It's just hard to get out of 
the case right now and I can't get to it with a hammer either.  :/


My theory is something like this:  hda will become sda;  hdb will become 
sdb;  hdc will become sdc; hdd will become sdd; and sda will become 
sde.  Would that be a logical expectation?  Anybody see anything that 
may cause a hiccup on this change?  I know I have to update fstab before 
rebooting.  I may also have a sledge hammer or a really big shotgun 
close by, just in case it gets any bad ideas like messing up /home.  ;-)


I'm currently using this:

AMD and nVidia IDE support

This would be the new, possibly improved, version of things:

AMD/NVidia PATA support

Correct?

I'm just wanting to cover a few bases and make sure I am on the right 
track and understand things before I blow up something.


Thanks.

Dale

:-)  :-)



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

2010-08-27 Thread Nikos Chantziaras

On 08/27/2010 10:37 AM, Dale wrote:

Hi folks,

I been putting this off but it looks like the newer kernels are going to
push me to changing this real soon. I have a older system, Abit NF7 2.0
motherboard with the older IDE drives. I'm still using the older IDE
drivers. This is what I have currently:

hda Actual hard drive OS on this
hdb Actual hard drive Not in use
hdc Actual hard drive home partition
hdd DVD burner Duh! It's a burner.
sda Actual hard drive connected through a SATA PCI card. Misc stuff.


So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
videos, mp3's and various other data on sda. Currently hdb is not being
used, since for those who keep up with my threads would know, it is the
one that is terribly slow. Something along the lines of 10Mbs/sec or
something of that nature. It's just hard to get out of the case right
now and I can't get to it with a hammer either. :/


You can at least disconnect it then.  Right now all it does and eat 
power, heat the case and make noise :-/




My theory is something like this: hda will become sda; hdb will become
sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
Would that be a logical expectation?


I'd say sda will stay as is, hda will become sdb, and so forth.

Anyway, make sure you have a bootable Linux CD/DVD handy.  That way, you 
won't be able to blow anything up and can boot from it in order to 
change your /etc/fstab and grub conf.





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

2010-08-27 Thread J. Roeleveld
On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
 On 08/27/2010 10:37 AM, Dale wrote:
  Hi folks,
  
  I been putting this off but it looks like the newer kernels are going to
  push me to changing this real soon. I have a older system, Abit NF7 2.0
  motherboard with the older IDE drives. I'm still using the older IDE
  drivers. This is what I have currently:
  
  hda Actual hard drive OS on this
  hdb Actual hard drive Not in use
  hdc Actual hard drive home partition
  hdd DVD burner Duh! It's a burner.
  sda Actual hard drive connected through a SATA PCI card. Misc stuff.
  
  
  So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
  videos, mp3's and various other data on sda. Currently hdb is not being
  used, since for those who keep up with my threads would know, it is the
  one that is terribly slow. Something along the lines of 10Mbs/sec or
  something of that nature. It's just hard to get out of the case right
  now and I can't get to it with a hammer either. :/
 
 You can at least disconnect it then.  Right now all it does and eat
 power, heat the case and make noise :-/
 
  My theory is something like this: hda will become sda; hdb will become
  sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
  Would that be a logical expectation?
 
 I'd say sda will stay as is, hda will become sdb, and so forth.
 
 Anyway, make sure you have a bootable Linux CD/DVD handy.  That way, you
 won't be able to blow anything up and can boot from it in order to
 change your /etc/fstab and grub conf.

Alternatively, give your partitions Labels and reconfigure /etc/fstab to use 
those.
Then you don't have to worry about the changes to the device-names.

--
Joost



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

2010-08-27 Thread Jesús J . Guerrero Botella
2010/8/27 J. Roeleveld jo...@antarean.org:
 On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
 On 08/27/2010 10:37 AM, Dale wrote:
  Hi folks,
 
  I been putting this off but it looks like the newer kernels are going to
  push me to changing this real soon. I have a older system, Abit NF7 2.0
  motherboard with the older IDE drives. I'm still using the older IDE
  drivers. This is what I have currently:
 
  hda Actual hard drive OS on this
  hdb Actual hard drive Not in use
  hdc Actual hard drive home partition
  hdd DVD burner Duh! It's a burner.
  sda Actual hard drive connected through a SATA PCI card. Misc stuff.
 
 
  So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
  videos, mp3's and various other data on sda. Currently hdb is not being
  used, since for those who keep up with my threads would know, it is the
  one that is terribly slow. Something along the lines of 10Mbs/sec or
  something of that nature. It's just hard to get out of the case right
  now and I can't get to it with a hammer either. :/

 You can at least disconnect it then.  Right now all it does and eat
 power, heat the case and make noise :-/

  My theory is something like this: hda will become sda; hdb will become
  sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
  Would that be a logical expectation?

 I'd say sda will stay as is, hda will become sdb, and so forth.

This entirely depends on the way your BIOS orders your drivers, as far
as I know. It could be either way. But, we all know how flexible grub
is. You can just use TAB to autocomplete and try. All you need to boot
is your root fs, after that fdisk -l will reveal all the info you
need. fstab is another story, that might cost you an extra reboot into
a livecd to fix it.

But, using labels as said will fix all the problems (beforehand) for
you, as said.


-- 
Jesús Guerrero Botella



Re: [gentoo-user] Is there any games base on openCL?

2010-08-27 Thread Stroller


On 26 Aug 2010, at 06:24, Blackdream W wrote:

2010/8/26 Volker Armin Hemmann volkerar...@googlemail.com


On Wednesday 25 August 2010, Blackdream W wrote:
I install the ati-drivers-10.7.1 just now,this version it seem  
support

openCL 1.1.

Any games base on it?

Thanks.


games can not be based on opencl. Games might be able to use opencl  
tospeedup certain kinds of calculations. But you can not 'use'  
opencl like opengltobase a game on it.




Sorry..I don't know how to describe it clearly, with my poor  
English...



My understanding is that OpenCL is mostly useful for scientific  
applications and things like WPA cracking. It allows access to  
graphics card processing in a way that is *not* dependent on sending  
the results to video.


That's quite different from the need, in gaming, to send high-quality  
output to the screen. In gaming the CPUs are about adequate for things  
like deciding where the bad guys should hide or if your spaceship can  
carry the selected quantity of cargo. So in gaming it's desirable to  
dedicate the graphics card to making the screen look pretty, and there  
is no use for OpenCL.


The exception to this is that OpenCL type stuff *might* be used for  
physics simulations in games - I've seen demonstrations in which the  
PhysX engine is used to model a rockfall or avalanche more accurately,  
so that more rocks can be shown on screen at once time. Flying through  
an asteroid field or the debris of an exploded enemy fighter might be  
better modelled using something like OpenCL. However I doubt that  
there are many Linux-based games that can use this kind of acceleration.


Is it possible you were thinking of OpenGL?

Also: please don't top-post, at least when the person you're replying  
to has posted underneath some quoted text.



Stroller.




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

2010-08-27 Thread Nikos Chantziaras

On 08/27/2010 10:37 AM, Dale wrote:

I been putting this off but it looks like the newer kernels are going to
push me to changing this real soon. I have a older system, Abit NF7 2.0
motherboard with the older IDE drives. I'm still using the older IDE
drivers. This is what I have currently:

hda Actual hard drive OS on this
hdb Actual hard drive Not in use
hdc Actual hard drive home partition
hdd DVD burner Duh! It's a burner.
sda Actual hard drive connected through a SATA PCI card. Misc stuff.


The advice by the other posters to label your disks is a good one.  I'm 
using labels too.  Not sure why I didn't think to mention it :P


Applying labels to your filesystems is trivial.  Simply use the e2label 
utility (it's in the sys-fs/e2fsprogs package and installed by default, 
so there's nothing new to emerge).  For example, if your hda1 is your 
root partition and your hda2 your swap, you can label them like this:


  e2label /dev/hda1 GentooRoot
  e2label /dev/hda2 GentooSwap

Note: hda1, not just hda.  You are labeling the filesystem on a 
partition, not the whole drive.


After you label all your filesystems, you simply modify your /etc/fstab 
like this:


Before:
/dev/hda1  /  ext4  noatime  0 1
/dev/hda2  none  swap  sw  0 0

After:
/dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
/dev/disk/by-label/GentooSwap  none  swap  sw 0 0

That is, you simply change /dev/blah to 
/dev/disk/by-label/DriveLabel and that's it.





[gentoo-user] Re: Is there any games base on openCL?

2010-08-27 Thread Nikos Chantziaras

On 08/25/2010 02:44 AM, Blackdream W wrote:

I install the ati-drivers-10.7.1 just now,this version it seem support
openCL 1.1.

Any games base on it?


Not right now.  And it probably will stay that way, since games mainly 
target Windows as a platform and there they can use either PhysX on 
NVidia cards and DX11 Physics for ATI; OpenCL doesn't play a role there.





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

2010-08-27 Thread Jesús J . Guerrero Botella
2010/8/27 Nikos Chantziaras rea...@arcor.de:
 On 08/27/2010 10:37 AM, Dale wrote:

 I been putting this off but it looks like the newer kernels are going to
 push me to changing this real soon. I have a older system, Abit NF7 2.0
 motherboard with the older IDE drives. I'm still using the older IDE
 drivers. This is what I have currently:

 hda Actual hard drive OS on this
 hdb Actual hard drive Not in use
 hdc Actual hard drive home partition
 hdd DVD burner Duh! It's a burner.
 sda Actual hard drive connected through a SATA PCI card. Misc stuff.

 The advice by the other posters to label your disks is a good one.  I'm
 using labels too.  Not sure why I didn't think to mention it :P

 Applying labels to your filesystems is trivial.  Simply use the e2label
 utility (it's in the sys-fs/e2fsprogs package and installed by default, so
 there's nothing new to emerge).  For example, if your hda1 is your root
 partition and your hda2 your swap, you can label them like this:

  e2label /dev/hda1 GentooRoot
  e2label /dev/hda2 GentooSwap

 Note: hda1, not just hda.  You are labeling the filesystem on a partition,
 not the whole drive.

 After you label all your filesystems, you simply modify your /etc/fstab like
 this:

 Before:
 /dev/hda1  /  ext4  noatime  0 1
 /dev/hda2  none  swap  sw  0 0

 After:
 /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
 /dev/disk/by-label/GentooSwap  none  swap  sw 0 0

 That is, you simply change /dev/blah to /dev/disk/by-label/DriveLabel
 and that's it.



Or you can do it by uuid, all the info you need can be picked from this output:

$ ls /dev/disk/by-uuid/ -l

Then just add lines to fstab like this:

UUID=6ea2b219-0bcc-4c90-9960-82a9659e6d0e / ext4 noatime 0 1
-- 
Jesús Guerrero Botella



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

2010-08-27 Thread J. Roeleveld
On Friday 27 August 2010 11:00:58 Jesús J. Guerrero Botella wrote:
 2010/8/27 Nikos Chantziaras rea...@arcor.de:
  On 08/27/2010 10:37 AM, Dale wrote:
  I been putting this off but it looks like the newer kernels are going to
  push me to changing this real soon. I have a older system, Abit NF7 2.0
  motherboard with the older IDE drives. I'm still using the older IDE
  drivers. This is what I have currently:
  
  hda Actual hard drive OS on this
  hdb Actual hard drive Not in use
  hdc Actual hard drive home partition
  hdd DVD burner Duh! It's a burner.
  sda Actual hard drive connected through a SATA PCI card. Misc stuff.
  
  The advice by the other posters to label your disks is a good one.  I'm
  using labels too.  Not sure why I didn't think to mention it :P
  
  Applying labels to your filesystems is trivial.  Simply use the e2label
  utility (it's in the sys-fs/e2fsprogs package and installed by default,
  so there's nothing new to emerge).  For example, if your hda1 is your
  root partition and your hda2 your swap, you can label them like this:
  
   e2label /dev/hda1 GentooRoot
   e2label /dev/hda2 GentooSwap
  
  Note: hda1, not just hda.  You are labeling the filesystem on a
  partition, not the whole drive.
  
  After you label all your filesystems, you simply modify your /etc/fstab
  like this:
  
  Before:
  /dev/hda1  /  ext4  noatime  0 1
  /dev/hda2  none  swap  sw  0 0
  
  After:
  /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
  /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
  
  That is, you simply change /dev/blah to /dev/disk/by-label/DriveLabel
  and that's it.
 
 Or you can do it by uuid, all the info you need can be picked from this
 output:
 
 $ ls /dev/disk/by-uuid/ -l
 
 Then just add lines to fstab like this:
 
 UUID=6ea2b219-0bcc-4c90-9960-82a9659e6d0e / ext4 noatime 0 1

True, except that for mere mortals, Labels are slightly easier to read and 
understand :)

And that, I find, is less prone to mistakes.

--
Joost



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

2010-08-27 Thread Dale

Jesús J. Guerrero Botella wrote:

2010/8/27 J. Roeleveldjo...@antarean.org:
   

On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
 

On 08/27/2010 10:37 AM, Dale wrote:
   

Hi folks,

I been putting this off but it looks like the newer kernels are going to
push me to changing this real soon. I have a older system, Abit NF7 2.0
motherboard with the older IDE drives. I'm still using the older IDE
drivers. This is what I have currently:

hda Actual hard drive OS on this
hdb Actual hard drive Not in use
hdc Actual hard drive home partition
hdd DVD burner Duh! It's a burner.
sda Actual hard drive connected through a SATA PCI card. Misc stuff.


So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
videos, mp3's and various other data on sda. Currently hdb is not being
used, since for those who keep up with my threads would know, it is the
one that is terribly slow. Something along the lines of 10Mbs/sec or
something of that nature. It's just hard to get out of the case right
now and I can't get to it with a hammer either. :/
 

You can at least disconnect it then.  Right now all it does and eat
power, heat the case and make noise :-/

   

My theory is something like this: hda will become sda; hdb will become
sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
Would that be a logical expectation?
 

I'd say sda will stay as is, hda will become sdb, and so forth.
   

This entirely depends on the way your BIOS orders your drivers, as far
as I know. It could be either way. But, we all know how flexible grub
is. You can just use TAB to autocomplete and try. All you need to boot
is your root fs, after that fdisk -l will reveal all the info you
need. fstab is another story, that might cost you an extra reboot into
a livecd to fix it.

But, using labels as said will fix all the problems (beforehand) for
you, as said.


   


I have heard of the labels before but never used them.  I need to google 
that and see how that is done.


Another thing that I hadn't thought of, grub.  I didn't even think about 
grub would have to be edited.  That would have been interesting when I 
tried to boot up.


Thanks.

Dale

:-)  :-)



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

2010-08-27 Thread Dale

J. Roeleveld wrote:

On Friday 27 August 2010 11:00:58 Jesús J. Guerrero Botella wrote:
   

2010/8/27 Nikos Chantziarasrea...@arcor.de:
 

On 08/27/2010 10:37 AM, Dale wrote:
   

I been putting this off but it looks like the newer kernels are going to
push me to changing this real soon. I have a older system, Abit NF7 2.0
motherboard with the older IDE drives. I'm still using the older IDE
drivers. This is what I have currently:

hda Actual hard drive OS on this
hdb Actual hard drive Not in use
hdc Actual hard drive home partition
hdd DVD burner Duh! It's a burner.
sda Actual hard drive connected through a SATA PCI card. Misc stuff.
 

The advice by the other posters to label your disks is a good one.  I'm
using labels too.  Not sure why I didn't think to mention it :P

Applying labels to your filesystems is trivial.  Simply use the e2label
utility (it's in the sys-fs/e2fsprogs package and installed by default,
so there's nothing new to emerge).  For example, if your hda1 is your
root partition and your hda2 your swap, you can label them like this:

  e2label /dev/hda1 GentooRoot
  e2label /dev/hda2 GentooSwap

Note: hda1, not just hda.  You are labeling the filesystem on a
partition, not the whole drive.

After you label all your filesystems, you simply modify your /etc/fstab
like this:

Before:
/dev/hda1  /  ext4  noatime  0 1
/dev/hda2  none  swap  sw  0 0

After:
/dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
/dev/disk/by-label/GentooSwap  none  swap  sw 0 0

That is, you simply change /dev/blah to /dev/disk/by-label/DriveLabel
and that's it.
   

Or you can do it by uuid, all the info you need can be picked from this
output:

$ ls /dev/disk/by-uuid/ -l

Then just add lines to fstab like this:

UUID=6ea2b219-0bcc-4c90-9960-82a9659e6d0e / ext4 noatime 0 1
 

True, except that for mere mortals, Labels are slightly easier to read and
understand :)

And that, I find, is less prone to mistakes.

--
Joost


   


Hmmm, I use resierfs for my file systems, most of them anyway.  I still 
use e2fsprogs to change those?


Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA 
drivers?  That way I can boot it and see exactly how it will name them 
and what drive is what without actually changing anything at all.  Is 
there a boot option noide or some other switch I can use?


Dale

:-)  :-)



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

2010-08-27 Thread J. Roeleveld
On Friday 27 August 2010 11:49:00 Dale wrote:
 J. Roeleveld wrote:
  On Friday 27 August 2010 11:00:58 Jesús J. Guerrero Botella wrote:
  2010/8/27 Nikos Chantziarasrea...@arcor.de:
  On 08/27/2010 10:37 AM, Dale wrote:
  I been putting this off but it looks like the newer kernels are going
  to push me to changing this real soon. I have a older system, Abit
  NF7 2.0 motherboard with the older IDE drives. I'm still using the
  older IDE drivers. This is what I have currently:
  
  hda Actual hard drive OS on this
  hdb Actual hard drive Not in use
  hdc Actual hard drive home partition
  hdd DVD burner Duh! It's a burner.
  sda Actual hard drive connected through a SATA PCI card. Misc stuff.
  
  The advice by the other posters to label your disks is a good one.  I'm
  using labels too.  Not sure why I didn't think to mention it :P
  
  Applying labels to your filesystems is trivial.  Simply use the e2label
  utility (it's in the sys-fs/e2fsprogs package and installed by default,
  so there's nothing new to emerge).  For example, if your hda1 is your
  
  root partition and your hda2 your swap, you can label them like this:
e2label /dev/hda1 GentooRoot
e2label /dev/hda2 GentooSwap
  
  Note: hda1, not just hda.  You are labeling the filesystem on a
  partition, not the whole drive.
  
  After you label all your filesystems, you simply modify your /etc/fstab
  like this:
  
  Before:
  /dev/hda1  /  ext4  noatime  0 1
  /dev/hda2  none  swap  sw  0 0
  
  After:
  /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
  /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
  
  That is, you simply change /dev/blah to
  /dev/disk/by-label/DriveLabel and that's it.
  
  Or you can do it by uuid, all the info you need can be picked from this
  output:
  
  $ ls /dev/disk/by-uuid/ -l
  
  Then just add lines to fstab like this:
  
  UUID=6ea2b219-0bcc-4c90-9960-82a9659e6d0e / ext4 noatime 0 1
  
  True, except that for mere mortals, Labels are slightly easier to read
  and understand :)
  
  And that, I find, is less prone to mistakes.
  
  --
  Joost
 
 Hmmm, I use resierfs for my file systems, most of them anyway.  I still
 use e2fsprogs to change those?

Nope:
eve ~ # reiserfstune --help
reiserfstune: unrecognized option '--help'
reiserfstune: Usage: reiserfstune [options] device [block-count]

Options:

  -j | --journal-device filecurrent journal device
  --journal-new-device file new journal device
  -o | --journal-new-offset N   new journal offset in blocks
  -s | --journal-new-size N new journal size in blocks
  -t | --trans-max-size N   new journal max transaction size in blocks
  --no-journal-availablecurrent journal is not available
  --make-journal-standard   new journal to be standard
  -b | --add-badblocks file add to bad block list
  -B | --badblocks file set the bad block list
  -u | --uuid UUID|random   set new UUID
  -l | --label LABELset new label
  -f | --force  force tuning, less confirmations
  -Vprint version and exit

IOW (as example):
reiserfstune -l ROOTDISK /dev/hda1

 Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
 drivers?  That way I can boot it and see exactly how it will name them
 and what drive is what without actually changing anything at all.  Is
 there a boot option noide or some other switch I can use?

Afraid not.
The naming scheme is, officially, not constant and can change with reboots.

On my server, with hotswap, I get different device-names when I remove a disk 
and plug it back in.
Eg. /dev/sdb - /dev/sdj
(as example)
Don't think you'll have that particular issue, but having these names change 
between reboots is possible. Especially if a drive fails and is not found 
during boot or a new drive is added.

Not tested, but I believe USB-drives might also get pushed into the mix?

--
Joost



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

2010-08-27 Thread Alex Schuster
Dale writes:

 Hmmm, I use resierfs for my file systems, most of them anyway.  I still
 use e2fsprogs to change those?

No, but you can use reiserfstune -l.

 Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
 drivers?  That way I can boot it and see exactly how it will name them
 and what drive is what without actually changing anything at all.  Is
 there a boot option noide or some other switch I can use?

Don't know. But even if so the result is not cecessarily accurate.

My two SATA drives were sd[ab], but when I added two PATA drives those got 
these names, and the SATA ones became sa[cd]. But even this changes, with 
a kernel derived from GRML, the PATA ones were sd[bc], and the SATA ones 
sd[ad]. Weird, huh? And things become even mor eunpredictable when I have 
USB drives plugged in during boot. So I also suggest using labels or 
UUIDs.

My own method is yet another one. As I have everything on LVM (except for 
the /boot partitino, which is on an USB stick), my drives are identified 
by their volume group. /dev/weird is the system drive, /dev/weird2 is the 
identical backup drive. This way I do not have any /dev/sdX in either 
fstab or grub.conf. And when the system drive fails, I vgrename wird2 to 
weird, and then the backup drive will become the system drive.

Wonko



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

2010-08-27 Thread Nikos Chantziaras

On 08/27/2010 12:49 PM, Dale wrote:

Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
drivers? That way I can boot it and see exactly how it will name them
and what drive is what without actually changing anything at all. Is
there a boot option noide or some other switch I can use?


You do the labeling *before* you switch to the new kernel.  Once you get 
it working correctly with your current kernel, then you can upgrade to 
the new ATA drivers and it will just work (which is the whole point of 
this exercise.)





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

2010-08-27 Thread Stefan G. Weichinger
Am 27.08.2010 10:50, schrieb Nikos Chantziaras:

 Applying labels to your filesystems is trivial.  Simply use the e2label
 utility (it's in the sys-fs/e2fsprogs package and installed by default,
 so there's nothing new to emerge).  For example, if your hda1 is your
 root partition and your hda2 your swap, you can label them like this:
 
   e2label /dev/hda1 GentooRoot
   e2label /dev/hda2 GentooSwap
 
 Note: hda1, not just hda.  You are labeling the filesystem on a
 partition, not the whole drive.

Would that work for raid-devices as well?

# /etc/fstab
/dev/md0/   ext4noatime,nobarrier,nodiratime0 1

Just curious ...

Umm, why not try it?

# e2label /dev/md0 gentooRoot
# ls /dev/disk/by-label/gentooRoot -l
lrwxrwxrwx 1 root root 9 27. Aug 12:14 /dev/disk/by-label/gentooRoot -
../../md0

cool ...

thx, Stefan



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

2010-08-27 Thread Dale

J. Roeleveld wrote:

On Friday 27 August 2010 11:49:00 Dale wrote:
   

J. Roeleveld wrote:
 
Hmmm, I use resierfs for my file systems, most of them anyway.  I still

use e2fsprogs to change those?
 

Nope:
eve ~ # reiserfstune --help
reiserfstune: unrecognized option '--help'
reiserfstune: Usage: reiserfstune [options] device [block-count]

Options:

   -j | --journal-device filecurrent journal device
   --journal-new-device file new journal device
   -o | --journal-new-offset N   new journal offset in blocks
   -s | --journal-new-size N new journal size in blocks
   -t | --trans-max-size N   new journal max transaction size in blocks
   --no-journal-availablecurrent journal is not available
   --make-journal-standard   new journal to be standard
   -b | --add-badblocks file add to bad block list
   -B | --badblocks file set the bad block list
   -u | --uuid UUID|random   set new UUID
   -l | --label LABELset new label
   -f | --force  force tuning, less confirmations
   -Vprint version and exit

IOW (as example):
reiserfstune -l ROOTDISK /dev/hda1

   

Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
drivers?  That way I can boot it and see exactly how it will name them
and what drive is what without actually changing anything at all.  Is
there a boot option noide or some other switch I can use?
 

Afraid not.
The naming scheme is, officially, not constant and can change with reboots.

On my server, with hotswap, I get different device-names when I remove a disk
and plug it back in.
Eg. /dev/sdb -  /dev/sdj
(as example)
Don't think you'll have that particular issue, but having these names change
between reboots is possible. Especially if a drive fails and is not found
during boot or a new drive is added.

Not tested, but I believe USB-drives might also get pushed into the mix?

--
Joost


   


I do know the USB stuff changes but I wasn't sure about the others.  I 
would think the main drives in a system would come first but one could 
never make that promise.  I'm giving serious thought to using the 
labels.  It would also mean that I don't have to remember what partition 
is what.  Currently I would mount and then list what is in the directory 
to see what is in it and figure out what it is.  With the labels 
feature, even fdisk would tell me what is what.


This would be a good time to move the OS to a new drive.  If things work 
out, run from the new drive.  If things blow up, boot the old drive with 
the old kernel, old fstab and other settings.


Thanks.

Dale

:-)  :-)



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

2010-08-27 Thread Dale

Nikos Chantziaras wrote:

On 08/27/2010 12:49 PM, Dale wrote:

Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
drivers? That way I can boot it and see exactly how it will name them
and what drive is what without actually changing anything at all. Is
there a boot option noide or some other switch I can use?


You do the labeling *before* you switch to the new kernel.  Once you 
get it working correctly with your current kernel, then you can 
upgrade to the new ATA drivers and it will just work (which is the 
whole point of this exercise.)




I hadn't thought of that feature.  It should work regardless of which 
kernel I boot, either the old IDE drivers or the new PATA drivers.  Cool !!!


Time to start taking notes and putting ducks beaks to duck tails.

Dale

:-)  :-)



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

2010-08-27 Thread Dale

Alex Schuster wrote:

Dale writes:

   

Hmmm, I use resierfs for my file systems, most of them anyway.  I still
use e2fsprogs to change those?
 

No, but you can use reiserfstune -l.

   

Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
drivers?  That way I can boot it and see exactly how it will name them
and what drive is what without actually changing anything at all.  Is
there a boot option noide or some other switch I can use?
 

Don't know. But even if so the result is not cecessarily accurate.

My two SATA drives were sd[ab], but when I added two PATA drives those got
these names, and the SATA ones became sa[cd]. But even this changes, with
a kernel derived from GRML, the PATA ones were sd[bc], and the SATA ones
sd[ad]. Weird, huh? And things become even mor eunpredictable when I have
USB drives plugged in during boot. So I also suggest using labels or
UUIDs.

My own method is yet another one. As I have everything on LVM (except for
the /boot partitino, which is on an USB stick), my drives are identified
by their volume group. /dev/weird is the system drive, /dev/weird2 is the
identical backup drive. This way I do not have any /dev/sdX in either
fstab or grub.conf. And when the system drive fails, I vgrename wird2 to
weird, and then the backup drive will become the system drive.

Wonko

   


It would be nice if something like *fdisk could edit the labels tho.  It 
would be so much easier.  I didn't see anything in the man pages tho.


I looked into LVM a good while ago.  It's just to much for me to keep up 
with since I just have a desktop system here.  It has its good points 
but just way overkill for what I have here.


It seems as time goes on, things get more complicated.  lol

Dale

:-)  :-)



[gentoo-user] Virtualization where to go from VMWare-Server-1?

2010-08-27 Thread Konstantinos Agouros
Hi,

I am currently running a guest with VMware-Server-1. However the modules
needed for that on the host are no longer supported and I am stuck with 2.6.31
for the moment. 
So I am thinking of alternatives. My requirements:

It should only need as much RAM on the host as needed (so XEN with static 
assignment is out)

It should run headless (I don't want a window on the desktop but be able
get console access when needed).

VMWare import/compatibility would be nice but is not a must have.

I use VirtualBox on a Mac but can it run headless? Any other proposals?

Thanks,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



[gentoo-user] email client with USE flags -gtk -kde?

2010-08-27 Thread tpar...@etherstorm.net
Can anyone recommend an email client that will work with -gtk and -kde 
USE flags? I know the common ones such as Thunderbird, Evolution, Kmail, 
and Claws are out. Is there a option similar to those or do I stick with 
something like Alpine?




[gentoo-user] Re: Virtualization where to go from VMWare-Server-1?

2010-08-27 Thread Remy Blank
Konstantinos Agouros wrote:
 I use VirtualBox on a Mac but can it run headless? Any other proposals?

Yes, see the documentation for VBoxHeadless.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: 2.6.35 and AHCI - what about platform ?

2010-08-27 Thread Stefan G. Weichinger
Am 27.08.2010 01:34, schrieb Nikos Chantziaras:

 Since your SATA controller works without that option enabled, you have a
 normal AHCI controller on your motherboard's southbridge.  That means
 the answer is no.  You don't need that option enabled.

Thanks, Nikos!



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

2010-08-27 Thread Bill Longman
On 08/27/2010 01:10 AM, J. Roeleveld wrote:
 On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
 Anyway, make sure you have a bootable Linux CD/DVD handy.  That way, you
 won't be able to blow anything up and can boot from it in order to
 change your /etc/fstab and grub conf.
 
 Alternatively, give your partitions Labels and reconfigure /etc/fstab to use 
 those.
 Then you don't have to worry about the changes to the device-names.

I second Joost's recommendation. I don't think you can use labels on the
kernel command line, so your grub will have to know for sure which
device to boot.



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

2010-08-27 Thread J. Roeleveld
On Friday 27 August 2010 17:57:01 Bill Longman wrote:
 On 08/27/2010 01:10 AM, J. Roeleveld wrote:
  On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
  Anyway, make sure you have a bootable Linux CD/DVD handy.  That way, you
  won't be able to blow anything up and can boot from it in order to
  change your /etc/fstab and grub conf.
  
  Alternatively, give your partitions Labels and reconfigure /etc/fstab to
  use those.
  Then you don't have to worry about the changes to the device-names.
 
 I second Joost's recommendation. I don't think you can use labels on the
 kernel command line, so your grub will have to know for sure which
 device to boot.

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

(Read the section below Use a label):

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


grub:
title Linux
  root (hd0,0)
  kernel (hd0,0)/vmlinuz ro root=LABEL=ROOT rhgb quiet
initrd (hd0,0)/initrd-2.x.x-xx.img

Not tested it myself yet, but I think this doesn't require special patches :)

--
Joost



Re: [gentoo-user] Virtualization where to go from VMWare-Server-1?

2010-08-27 Thread Bill Longman
On 08/27/2010 12:58 AM, Konstantinos Agouros wrote:
 Hi,
 
 I am currently running a guest with VMware-Server-1. However the modules
 needed for that on the host are no longer supported and I am stuck with 2.6.31
 for the moment. 
 So I am thinking of alternatives. My requirements:
 
 It should only need as much RAM on the host as needed (so XEN with static 
 assignment is out)
 
 It should run headless (I don't want a window on the desktop but be able
 get console access when needed).
 
 VMWare import/compatibility would be nice but is not a must have.
 
 I use VirtualBox on a Mac but can it run headless? Any other proposals?

VBox runs great headless. I start three VMs at boot time, all over VRDP.
Highly recommended. You can migrate it to other systems if you want, too.



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

2010-08-27 Thread Nikos Chantziaras

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

On Friday 27 August 2010 17:57:01 Bill Longman wrote:

On 08/27/2010 01:10 AM, J. Roeleveld wrote:

On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:

Anyway, make sure you have a bootable Linux CD/DVD handy.  That way, you
won't be able to blow anything up and can boot from it in order to
change your /etc/fstab and grub conf.


Alternatively, give your partitions Labels and reconfigure /etc/fstab to
use those.
Then you don't have to worry about the changes to the device-names.


I second Joost's recommendation. I don't think you can use labels on the
kernel command line, so your grub will have to know for sure which
device to boot.


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

(Read the section below Use a label):

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


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





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

2010-08-27 Thread Bill Longman
On 08/27/2010 09:10 AM, J. Roeleveld wrote:
 On Friday 27 August 2010 18:03:51 Bill Longman wrote:
 On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
 On 08/27/2010 10:37 AM, Dale wrote:
 
 Snipped
 
 Yet another way to use labels:

 When you make the filesystem, apply the name then i.e.:

   mke2fs -j -L SpeedySSD /dev/sde1

 then in your /etc/fstab use the label like this:

   LABEL=SpeedySSD /usr/home  ext3  relatime  0 2
 
 I don't think Dale (The OT) would like to have to reformat his partitions 
 just 
 to get this to work :)

:-)

I thought, too, (of course *after* I had pressed SEND) that I should
have switched those two sentences around. I do not mean to imply that
you have to zap all your data to use labels. That would really drive
people away from Gentoo, wouldn't it? (I'll be right there, honey, I
just have to reformat my boot partition!)

Please read these as two completely separate and independent examples,
one for how to set them up in the first place and second, how to apply them.



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

2010-08-27 Thread Dale

Bill Longman wrote:

On 08/27/2010 09:10 AM, J. Roeleveld wrote:
   

On Friday 27 August 2010 18:03:51 Bill Longman wrote:
 

On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
   

On 08/27/2010 10:37 AM, Dale wrote:
 

Snipped

 

Yet another way to use labels:

When you make the filesystem, apply the name then i.e.:

   mke2fs -j -L SpeedySSD /dev/sde1

then in your /etc/fstab use the label like this:

   LABEL=SpeedySSD /usr/home  ext3  relatime  0 2
   

I don't think Dale (The OT) would like to have to reformat his partitions just
to get this to work :)
 

:-)

I thought, too, (of course *after* I had pressed SEND) that I should
have switched those two sentences around. I do not mean to imply that
you have to zap all your data to use labels. That would really drive
people away from Gentoo, wouldn't it? (I'll be right there, honey, I
just have to reformat my boot partition!)

Please read these as two completely separate and independent examples,
one for how to set them up in the first place and second, how to apply them.

   


I knew what you meant tho.  That was the best part of reading that.  
They should put this in the install guide.


Dale

:-)  :-)



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

2010-08-27 Thread J. Roeleveld
On Friday 27 August 2010 18:03:51 Bill Longman wrote:
 On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
  On 08/27/2010 10:37 AM, Dale wrote:

Snipped

 Yet another way to use labels:
 
 When you make the filesystem, apply the name then i.e.:
 
   mke2fs -j -L SpeedySSD /dev/sde1
 
 then in your /etc/fstab use the label like this:
 
   LABEL=SpeedySSD /usr/home  ext3  relatime  0 2

I don't think Dale (The OT) would like to have to reformat his partitions just 
to get this to work :)

--
Joost



[gentoo-user] How and whether to take action on elog message from sys-fs/lvm2-2.02.73

2010-08-27 Thread Kevin O'Gorman
I read the logs, but it doesn't always help.  This one apparently used to
build statically,
and is now using shared libraries.  Here's the message:
===
*Subject:* [portage] ebuild log for sys-fs/lvm2-2.02.73 on
treat.kosmanor.com

LOG: setup
Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with
their static versions. If you need the static binaries,
you must append .static the filename!
===
**
It's not clear to me that I would need this package when dynamically loading
is inactive,
partly because I don't think that happens -- /usr/lib is not on a separate
partition, so
it's always there.

Leaving that aside, the message does not state *which* filename to append
.static to,
and where to change it, so I'm baffled as to how to take action on this
message, even
if I thought it important to do.

Anyone have a clue?

-- 
Kevin O'Gorman, PhD


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

2010-08-27 Thread Bill Longman
On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
 On 08/27/2010 10:37 AM, Dale wrote:
 I been putting this off but it looks like the newer kernels are going to
 push me to changing this real soon. I have a older system, Abit NF7 2.0
 motherboard with the older IDE drives. I'm still using the older IDE
 drivers. This is what I have currently:

 hda Actual hard drive OS on this
 hdb Actual hard drive Not in use
 hdc Actual hard drive home partition
 hdd DVD burner Duh! It's a burner.
 sda Actual hard drive connected through a SATA PCI card. Misc stuff.
 
 The advice by the other posters to label your disks is a good one.  I'm
 using labels too.  Not sure why I didn't think to mention it :P
 
 Applying labels to your filesystems is trivial.  Simply use the e2label
 utility (it's in the sys-fs/e2fsprogs package and installed by default,
 so there's nothing new to emerge).  For example, if your hda1 is your
 root partition and your hda2 your swap, you can label them like this:
 
   e2label /dev/hda1 GentooRoot
   e2label /dev/hda2 GentooSwap
 
 Note: hda1, not just hda.  You are labeling the filesystem on a
 partition, not the whole drive.
 
 After you label all your filesystems, you simply modify your /etc/fstab
 like this:
 
 Before:
 /dev/hda1  /  ext4  noatime  0 1
 /dev/hda2  none  swap  sw  0 0
 
 After:
 /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
 /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
 
 That is, you simply change /dev/blah to
 /dev/disk/by-label/DriveLabel and that's it.

Yet another way to use labels:

When you make the filesystem, apply the name then i.e.:

  mke2fs -j -L SpeedySSD /dev/sde1

then in your /etc/fstab use the label like this:

  LABEL=SpeedySSD /usr/home  ext3  relatime  0 2





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

2010-08-27 Thread Bill Longman
On 08/27/2010 09:06 AM, Nikos Chantziaras wrote:
 On 08/27/2010 07:02 PM, J. Roeleveld wrote:
 Actually, you can:
 http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html

And this is similar to the syntax in the kernel's
Documentation/intel_txt.txt file.

 (Read the section below Use a label):

 fstab:
 LABEL=ROOT  / ext3defaults1 1
 LABEL=BOOT  /boot ext3defaults1 2
 LABEL=SWAP  swap  swapdefaults0 0
 LABEL=HOME  /home ext3nosuid,auto 1 2
 
 This syntax never worked here.  Always resulted in an unbootable system.
  Only the /dev/disk/by-label/ syntax works reliably.

Are you using ReiserFS, Nikos? It works wonders with ext.



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

2010-08-27 Thread Bill Longman
On 08/27/2010 09:06 AM, Nikos Chantziaras wrote:
 On 08/27/2010 07:02 PM, J. Roeleveld wrote:
 On Friday 27 August 2010 17:57:01 Bill Longman wrote:
 On 08/27/2010 01:10 AM, J. Roeleveld wrote:
 On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
 Anyway, make sure you have a bootable Linux CD/DVD handy.  That
 way, you
 won't be able to blow anything up and can boot from it in order to
 change your /etc/fstab and grub conf.

 Alternatively, give your partitions Labels and reconfigure
 /etc/fstab to
 use those.
 Then you don't have to worry about the changes to the device-names.

 I second Joost's recommendation. I don't think you can use labels on the
 kernel command line, so your grub will have to know for sure which
 device to boot.

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

 (Read the section below Use a label):

 fstab:
 LABEL=ROOT  / ext3defaults1 1
 LABEL=BOOT  /boot ext3defaults1 2
 LABEL=SWAP  swap  swapdefaults0 0
 LABEL=HOME  /home ext3nosuid,auto 1 2
 
 This syntax never worked here.  Always resulted in an unbootable system.
  Only the /dev/disk/by-label/ syntax works reliably.

What kernel drivers are you using?

Here's my fstab on my x64 box that has been booting perfectly for
months. And I boot it lots because it's my dev't box:

LABEL=boot /boot ext3  noauto,noatime  1 2
LABEL=root / ext3  relatime0 1
LABEL=swap none  swap  sw  0 0
LABEL=usr  /usr  ext3  relatime0 2
LABEL=var  /var  ext3  relatime0 2
LABEL=opt  /opt  ext3  relatime0 2
LABEL=home /home ext3  relatime0 2




Re: [gentoo-user] Firefox (Namoroka-3.6.8, actually) and Epiphany-2.31-r1 both fail to show captchas

2010-08-27 Thread Kevin O'Gorman
On Thu, Aug 26, 2010 at 6:17 PM, Michael Orlitzky mich...@orlitzky.comwrote:

 On 08/26/2010 04:29 PM, Paul Hartman wrote:

 On Thu, Aug 26, 2010 at 2:24 PM, Kevin O'Gormankogor...@gmail.com
  wrote:

 On a number of websites, I've been unable to see the captcha that I
 need
 to complete my business.  Neither the image nor the response show up.

 Opera, on the other hand, works fine (as does IE on my Windoze laptop).

 For instance, I can register (it's free) with the NY Times, read an
 article
 (example: http://www.nytimes.com/2010/08/26/world/asia/26kabul.html) but
 if
 I try to email this to anyone using the link that appears on the page,
 I'm
 confronted with a dialog that should have a captcha and a box for my
 answer.  It does not appear, and I cannot proceed.


 I can't try that page because it requires an account to email to
 someone else. But, in general, my first suspects would be if you're
 using NoScript or AdBlockPlus and perhaps they are not allowing the
 javascript from the captcha service to run.


 I just emailed myself that article, and there was no Captcha? Only had to
 disable NoScript to get the E-mail popup to show.

 That's normal.  I hadn't noticed, but the captcha does not appear until you
type something in the message box of the email popup.  On the systems with
the fault, all I see is a message: Word verification prevents automated
systems from adding spam messages to your email.
On Opera or IE, one also sees the captcha and a field to fill out.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] email client with USE flags -gtk -kde?

2010-08-27 Thread Philip Webb
100827 tpar...@etherstorm.net wrote:
 Can anyone recommend an email client that will work
 with -gtk and -kde USE flags?

Have you tried Mutt ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Apache crashed, what could be the reason?

2010-08-27 Thread Kyle Bader
 Except for that, only common scannings for phpMyAdmin, myadmin, pma,
 mysql, scripts, etc. Nothing more. Any ideas why apache died?

I noticed you have mod_dav  mod_cache and are running 2.2.15, perhaps
it's this?

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1452

-- 

Kyle



Re: [gentoo-user] How and whether to take action on elog message from sys-fs/lvm2-2.02.73

2010-08-27 Thread Alan McKinnon
Apparently, though unproven, at 18:55 on Friday 27 August 2010, Kevin O'Gorman 
did opine thusly:

 I read the logs, but it doesn't always help.  This one apparently used to
 build statically,
 and is now using shared libraries.  Here's the message:
 ===
 *Subject:* [portage] ebuild log for sys-fs/lvm2-2.02.73 on
 treat.kosmanor.com
 
 LOG: setup
 Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with
 their static versions. If you need the static binaries,
 you must append .static the filename!
 ===
 **
 It's not clear to me that I would need this package when dynamically
 loading is inactive,
 partly because I don't think that happens -- /usr/lib is not on a separate
 partition, so
 it's always there.
 
 Leaving that aside, the message does not state *which* filename to append
 .static to,
 and where to change it, so I'm baffled as to how to take action on this
 message, even
 if I thought it important to do.
 
 Anyone have a clue?


I should think it's quite obvious actually. The elog mentions /usr/lib 
nowhere, it does mention /sbin. It also explicitly mentions two filenames:

/sbin/lvm
/sbin/dmsetup

then says that they are no longer overwritten with static versions. So, 
presumably, /sbin/{lvm|dmsetup} exists (probably statically linked), and the 
ebuild writes dynamically linked versions in their place. If you want static 
versions, you must rename the two old files to lvm.static and dmsetup.static.

It is not a problem to have these binaries dynamically linked as

a. they are in /sbin and /lib which by convention are mandated to be on the 
same partition as / and therefore always available,
b. /usr/ is referenced nowhere. Witness:

nazgul ~ # ldd /sbin/lvm
linux-vdso.so.1 =  (0x7a3ff000)
libdl.so.2 = /lib/libdl.so.2 (0x7ff2c5aed000)
libdevmapper-event.so.1.02 = /lib/libdevmapper-event.so.1.02 
(0x7ff2c58e7000)
libdevmapper.so.1.02 = /lib/libdevmapper.so.1.02 (0x7ff2c56c1000)
libreadline.so.6 = /lib/libreadline.so.6 (0x7ff2c547c000)
libm.so.6 = /lib/libm.so.6 (0x7ff2c51f9000)
libudev.so.0 = /lib/libudev.so.0 (0x7ff2c4feb000)
libc.so.6 = /lib/libc.so.6 (0x7ff2c4c74000)
/lib64/ld-linux-x86-64.so.2 (0x7ff2c5cf1000)
libncurses.so.5 = /lib/libncurses.so.5 (0x7ff2c4a23000)
nazgul ~ # ldd /sbin/dmsetup 
linux-vdso.so.1 =  (0x7fff925ff000)
libdevmapper.so.1.02 = /lib/libdevmapper.so.1.02 (0x7fb0e5a8d000)
libudev.so.0 = /lib/libudev.so.0 (0x7fb0e587f000)
libc.so.6 = /lib/libc.so.6 (0x7fb0e5508000)
/lib64/ld-linux-x86-64.so.2 (0x7fb0e5cb3000)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Apache crashed, what could be the reason?

2010-08-27 Thread Jarry

On 27. 8. 2010 19:23, Kyle Bader wrote:


I noticed you have mod_dav  mod_cache and are running 2.2.15, perhaps
it's this?

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1452


You may be right! But what can I do? There is not even masked
version 2.2.16 in portage, despite the fact it has been released
by apache-foundation on 2010-07-25 (together with description
of vulnerability found in 2.2.15). There has already been bug
opened in gentoo-bugzila on 2010-07-28...

BTW in the meantime my apache crashed again the same way, after
not a single day uptime! Something I have never seen before,
actually my apache has been running without any problem since
the last update. And now this! Quite unpleasant, for such
a critical server-software...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] How and whether to take action on elog message from sys-fs/lvm2-2.02.73

2010-08-27 Thread felix
On Fri, Aug 27, 2010 at 09:55:58AM -0700, Kevin O'Gorman wrote:

 Leaving that aside, the message does not state *which* filename to
 append .static to, and where to change it, so I'm baffled as to
 how to take action on this message, even if I thought it important
 to do.

Itis a confusing message, but I finally figured it out.

Try this:

ls -l /sbin|grep lvm

You'll see that all lvm commands (vgscan etc) are symlinked to lvm.

You'll also see there's an lvm.static command.

So if you want to run one of the lvm commands in static mode, you
probably have to change its symlink to point to lvm.static instead of
lvm.

There may be other similar lvm commands, I do not know.  A similar ls
-l|grep for static shows other commands, but I do not think they are lvm.

That's all.  Simple once you see it :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



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

2010-08-27 Thread James
Hello,

We'll I've got a new samsung monitor 2333HD-1
that is verified 1920x1080.

Finally, I got it working on a dvi-d-2-dvi-d video cable
with no problems...(minimal xorg.conf) and ati-drivers.


OK, so I switch to a DVI-Don video card to HDMI
on the monitor and it comes in, but the bottom and sides
are missing. 

OK so I found this thread that I'm guessing is
on the mark:
http://www.phoronix.com/forums/showthread.php?t=23826

But, I'm a little bit 'chicken' with xorg.conf, not
to mention messing with the dot clock et al...
CLUCK  CLUCK  CLUCK

Anyone want to venture a guess about the display settings,
suggested in the link? that I should use? A better way?

Here's the (example) math I use to use:
#   DisplaySize 426 266
# width  = (1680pix  / 100pix/in) x [25.4mm/in] =  427 -- 426
# hieght = (1050pix  / 100pix/in) x [25.4mm/in] =  267 -- 266


Here is what's working with the dvi-dvi cable:

Section Monitor
Identifier   aticonfig-Monitor[0]-0
Option  VendorName ATI Proprietary Driver
Option  ModelName Generic Autodetecting Monitor
Option  DPMS true
HorizSync30-81
VertRefresh  56-75
EndSection

Section Device
Identifier  aticonfig-Device[0]-0
Driver  fglrx
BusID   PCI:2:0:0
#   Option  XAANoOffscreenPixmaps true
EndSection

Section Screen
Identifier aticonfig-Screen[0]-0
Device aticonfig-Device[0]-0
Monitoraticonfig-Monitor[0]-0
DefaultDepth 24
SubSection Display
Viewport  0 0
Depth 24
Modes1920x1080 1680x1050 1280x1024 1024x768
EndSubSection
EndSection





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

2010-08-27 Thread Paul Hartman
On Fri, Aug 27, 2010 at 1:31 PM, James wirel...@tampabay.rr.com wrote:
 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.

 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.


 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.

I guess this is the question to me:

Is the monitor doing overscan on HDMI?
or
Is the ATI driver doing underscan on HDMI based on the assumption that
the monitor will overscan?

Check if your monitor on-screen menu has overscan settings (or change
it to PC Mode or something, the manufacturers all have different
terminology). Otherwise if it has no settings you'll have to conitunue
messing with the ATI drivers instead.



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

2010-08-27 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:


 Is the monitor doing overscan on HDMI?

I'd assume the monitor (HDMI input) is doing the overscan,
since HDMI is suppose to be 'smart'. 
That what the link suggested.

 Is the ATI driver doing underscan on HDMI based on the assumption that
 the monitor will overscan?
NO, it works find with a dvi-d 2 dvi-d cable. The computer is
always dvi-d (to either dvi-d cable 1 or hdmi cable 2)..
so how could ati-driver be doing the hdmi (embedded) protocol?

 Check if your monitor on-screen menu has overscan settings (or change
 it to PC Mode or something, the manufacturers all have different
 terminology). Otherwise if it has no settings you'll have to conitunue
 messing with the ATI drivers instead.

NO, the only  pc setting is when you use a standard 15 pin
VGA cable and no protocol to adjust scan or scan ratesss


I'm guessing I stuck with xorg.conf machinations.
(oh boy, here we go again..)

Ideas?


James





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

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


 Is the monitor doing overscan on HDMI?

 I'd assume the monitor (HDMI input) is doing the overscan,
 since HDMI is suppose to be 'smart'.
 That what the link suggested.

 Is the ATI driver doing underscan on HDMI based on the assumption that
 the monitor will overscan?
 NO, it works find with a dvi-d 2 dvi-d cable. The computer is
 always dvi-d (to either dvi-d cable 1 or hdmi cable 2)..
 so how could ati-driver be doing the hdmi (embedded) protocol?

 Check if your monitor on-screen menu has overscan settings (or change
 it to PC Mode or something, the manufacturers all have different
 terminology). Otherwise if it has no settings you'll have to conitunue
 messing with the ATI drivers instead.

 NO, the only  pc setting is when you use a standard 15 pin
 VGA cable and no protocol to adjust scan or scan ratesss


 I'm guessing I stuck with xorg.conf machinations.
 (oh boy, here we go again..)

 Ideas?

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



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

2010-08-27 Thread Alan McKinnon
Apparently, though unproven, at 20:31 on Friday 27 August 2010, James did 
opine thusly:

 Hello,
 
 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.
 
 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.
 
 
 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.
 
 OK so I found this thread that I'm guessing is
 on the mark:
 http://www.phoronix.com/forums/showthread.php?t=23826
 
 But, I'm a little bit 'chicken' with xorg.conf, not
 to mention messing with the dot clock 


I don't have an answer to your actual question, but I can answer the above.

You have nothing to fear from fiddling with clock settings on a flat panel.
That only ever applied to CRT displays where running the horizontal frequency 
higher than the circuit was designed for would increase the HT voltage at the 
final anode - which often cracked the thin glass on the tube neck.

Flat panels do not have a concept of scan coil to drive, there is no HT 
transformer and there is no tube to have 28kV inside of. The owrst you can do 
is to get no picture.

 
-- 
alan dot mckinnon at gmail dot com



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

2010-08-27 Thread Daniel da Veiga
On Fri, Aug 27, 2010 at 15:31, James wirel...@tampabay.rr.com wrote:
 Hello,

 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.

 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.


 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.

 OK so I found this thread that I'm guessing is
 on the mark:
 http://www.phoronix.com/forums/showthread.php?t=23826

 But, I'm a little bit 'chicken' with xorg.conf, not
 to mention messing with the dot clock et al...
 CLUCK  CLUCK  CLUCK

 Anyone want to venture a guess about the display settings,
 suggested in the link? that I should use? A better way?

 Here's the (example) math I use to use:
 #       DisplaySize 426 266
 # width  = (1680pix  / 100pix/in) x [25.4mm/in] =  427 -- 426
 # hieght = (1050pix  / 100pix/in) x [25.4mm/in] =  267 -- 266


 Here is what's working with the dvi-dvi cable:

 Section Monitor
        Identifier   aticonfig-Monitor[0]-0
        Option      VendorName ATI Proprietary Driver
        Option      ModelName Generic Autodetecting Monitor
        Option      DPMS true
        HorizSync    30-81
        VertRefresh  56-75
 EndSection

 Section Device
        Identifier  aticonfig-Device[0]-0
        Driver      fglrx
        BusID       PCI:2:0:0
 #       Option      XAANoOffscreenPixmaps true
 EndSection

 Section Screen
        Identifier aticonfig-Screen[0]-0
        Device     aticonfig-Device[0]-0
        Monitor    aticonfig-Monitor[0]-0
        DefaultDepth     24
        SubSection Display
                Viewport  0 0
                Depth     24
                Modes    1920x1080 1680x1050 1280x1024 1024x768
        EndSubSection
 EndSection





Have you tried setting the INPUT NAME of the HDMI to PC using the
remote (on TV)?
My Samsung does the same, after I set my HDMI as PC everything is at
the right place.

-- 
Daniel da Veiga



[gentoo-user] Kernel Configuration

2010-08-27 Thread Aaron Bauman
All,
  I recently asked about some issues about getting my kernel to boot.  I
would rather not use the ubuntu kernel as previously suggested unless it is
completely safe.  I am currently booting successfully off of Ubuntu running
kernel version 2.6.32-21-generic.  The errors I kept getting when booting
the gentoo kernel was an RPC failure for NET:.  Not really sure what that
could be.  The following is my lspci output.

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
Alternate
00:01.0 PCI bridge: Toshiba America Info Systems Device 9602
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
(PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
(PCIE port 2)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
(PCIE port 3)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller
[AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
(rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64,
Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64,
Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64,
Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64,
Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64,
Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility
Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD
4200]
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
(rev 20)
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host
Controller (rev 20)
02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev
20)
02:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev
20)
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless
Network Adapter (PCI-Express) (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)

Respectfully,
Aaron


[gentoo-user] Open Letter (Plea for Medical Help/Assistance) to World Leaders

2010-08-27 Thread Mr. Teo En Ming (Zhang Enming) of Singapore

My Facebook account: http://www.facebook.com/profile.php?id=10750083982

Scanned documents in the (currently 42) photo albums of my Facebook 
account:

http://www.facebook.com/profile.php?id=10750083982#!/profile.php?id=10750083982v=photos

Videos in my Facebook account: 
http://www.facebook.com/profile.php?id=10750083982v=app_2392950137


==

To: The Linux Community

I am a big fan of Linux. In fact, I am running Fedora 11 x86_64 64-bit 
Linux on my home multimedia desktop tower system. In order to run 
multiple other Linux distributions at the same time without rebooting my 
home personal computer, I am using the open source Xen Type 1 
hypervisor/virtualization solution.


You may check out my work and in-depth technical details on VGA 
Pass-through for add-on PCI-Express x16 graphics card to Xen-based 
Windows XP Home Edition 32-bit guest operating system/HVM domU running 
inside my Fedora 11 64-bit host operating system at the xen-devel (Xen 
developers) mailing list at the following internet links from July to 
November 2009.


July 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-07/index.html
August 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-08/index.html
September 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-09/index.html
October 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-10/index.html
November 2009: 
http://lists.xensource.com/archives/html/xen-devel/2009-11/index.html


You may also watch High-Definition (HD) videos of Intel VT-d VGA 
Pass-through for PCI-Express x16 graphics card to Windows XP Home 
Edition HVM domU guest operating system at my Youtube account. Please 
visit the following Youtube link to watch my videos:


http://www.youtube.com/user/enmingteo

My works on the open source Xen virtualization Intel VT-d VGA 
pass-through, Building a Rocks HPC Cluster with Xen Hardware Virtual 
Machines (HVM), How to Setup a Virtual Supercomputer Center or HPC 
Cluster using Xen Virtual Machines, and Using Xen Virtualization 
Environment for Development and Testing of Supercomputer and High 
Performance Computing (HPC) Cluster MPICH2 Applications were also listed 
on the official Xen.org website.


http://www.xen.org/support/tutorial.html

Besides running Fedora 11 64-bit Linux as my host operating system (my 
heavily customized Xen Paravirt-Operations Domain 0 or Parent Partition 
in Windows Server 2008 speak with various pv-ops Dom0-patched 
self-compiled kernels), I am also running other Linux distributions like 
Fedora 12 i386 32-bit Linux, FreeBSD amd64 UNIX, openSolaris 64-bit 
UNIX, openSUSE 11.2 Linux, NPACI Rocks HPC Cluster, Slackware64 13.0 
64-bit Linux, and Ubuntu 9.10 Linux, either as para-virtualized (PV), or 
fully virtualized guest operating systems/domU. Non-*NIX operating 
systems like Windows XP, Windows Vista, and Windows 7 have to be run as 
Hardware Virtual Machines (HVM) under a Xen pv-ops Dom0 Linux operating 
system.


You may want to refer to my picture/screenshot tutorials of installing 
various Linux distributions, UNIX variants like FreeBSD, and UNIX 
operating system openSolaris as virtual machines/guest operating systems 
under a Linux host operating system at my wordpress.com website. Please 
click on the following internet link:


http://enmingteo.wordpress.com/

This is my secondary IT blog.

My primary IT blog is http://teo-en-ming-aka-zhang-enming.blogspot.com/

Since Google Inc. announced the release of the open source 32-bit 
Chromium OS (which is actually a stripped down Ubuntu 9.10-based Linux 
operating system) for netbooks last year, I have made an un-official 
port of chromiumos to the x86_64 64-bit architecture, which I called 
ChromiumOS64 myself. In the later stages of development, I have added 
Jeremy Fitzhardinge's Xen paravirt-ops Dom0 capability to my un-official 
ChromiumOS64 project (ChromiumOS64-Xen). My ChromiumOS64 and 
ChromiumOS64-Xen projects are listed at the official Xen.org website. 
Please visit


http://www.xen.org/community/projects.html

I am also enthusiastic about customizing and compiling my own Linux kernels.

To add basic security to my home personal Linux multimedia computer, I 
have installed the open source Snort Network Intrusion Detection System 
(NIDS) and the open source OSSEC Host Intrusion Detection System (HIDS). 
A basic iptables script is also in force. I am also running s...@home 
(BOINC client) on my Linux PC to contribute to the search for 
extraterrestrials.


And not forgetting that I have compiled Linux from Scratch (LFS) 6.5 
from scratch following the LFS 6.5 Handbook and installed the PacMan 
Package Manager, essentially making it an ArchLinux Linux distribution.


I hope that the above information that I have provided may be useful to you.


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

2010-08-27 Thread Jason Carson
 Hello,

 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.

 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.


 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.

Can you set overscan to 0% in the ATI Catalyst Control Center. Does that
make a difference?


 OK so I found this thread that I'm guessing is
 on the mark:
 http://www.phoronix.com/forums/showthread.php?t=23826

 But, I'm a little bit 'chicken' with xorg.conf, not
 to mention messing with the dot clock et al...
 CLUCK  CLUCK  CLUCK

 Anyone want to venture a guess about the display settings,
 suggested in the link? that I should use? A better way?

 Here's the (example) math I use to use:
 #   DisplaySize 426 266
 # width  = (1680pix  / 100pix/in) x [25.4mm/in] =  427 -- 426
 # hieght = (1050pix  / 100pix/in) x [25.4mm/in] =  267 -- 266


 Here is what's working with the dvi-dvi cable:

 Section Monitor
 Identifier   aticonfig-Monitor[0]-0
 Option  VendorName ATI Proprietary Driver
 Option  ModelName Generic Autodetecting Monitor
 Option  DPMS true
 HorizSync30-81
 VertRefresh  56-75
 EndSection

 Section Device
 Identifier  aticonfig-Device[0]-0
 Driver  fglrx
 BusID   PCI:2:0:0
 #   Option  XAANoOffscreenPixmaps true
 EndSection

 Section Screen
 Identifier aticonfig-Screen[0]-0
 Device aticonfig-Device[0]-0
 Monitoraticonfig-Monitor[0]-0
 DefaultDepth 24
 SubSection Display
 Viewport  0 0
 Depth 24
 Modes1920x1080 1680x1050 1280x1024 1024x768
 EndSubSection
 EndSection









Re: [gentoo-user] Kernel Configuration

2010-08-27 Thread Alan McKinnon
Apparently, though unproven, at 22:11 on Friday 27 August 2010, Aaron Bauman 
did opine thusly:

 All,
   I recently asked about some issues about getting my kernel to boot.  I
 would rather not use the ubuntu kernel as previously suggested unless it is
 completely safe. I am currently booting successfully off of Ubuntu running
 kernel version 2.6.32-21-generic.  The errors I kept getting when booting
 the gentoo kernel was an RPC failure for NET:.  Not really sure what that
 could be.  The following is my lspci output.


Please copy the full error you get and post it here.

Keep in mind for the future to always do this. We cannot help you without that 
info, so always just provide it in your first mail.

-- 
alan dot mckinnon at gmail dot com



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

2010-08-27 Thread Mick
On Friday 27 August 2010 11:21:08 Dale wrote:
 J. Roeleveld wrote:
  On Friday 27 August 2010 11:49:00 Dale wrote:
  J. Roeleveld wrote:
  
  Hmmm, I use resierfs for my file systems, most of them anyway.  I still
  use e2fsprogs to change those?
  
  Nope:
  eve ~ # reiserfstune --help
  reiserfstune: unrecognized option '--help'
  reiserfstune: Usage: reiserfstune [options] device [block-count]
  
  Options:
 -j | --journal-device filecurrent journal device
 --journal-new-device file new journal device
 -o | --journal-new-offset N   new journal offset in blocks
 -s | --journal-new-size N new journal size in blocks
 -t | --trans-max-size N   new journal max transaction size in
 blocks --no-journal-availablecurrent journal is not available
 --make-journal-standard   new journal to be standard
 -b | --add-badblocks file add to bad block list
 -B | --badblocks file set the bad block list
 -u | --uuid UUID|random   set new UUID
 -l | --label LABELset new label
 -f | --force  force tuning, less confirmations
 -Vprint version and exit
  
  IOW (as example):
  reiserfstune -l ROOTDISK /dev/hda1
  
  Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
  drivers?  That way I can boot it and see exactly how it will name them
  and what drive is what without actually changing anything at all.  Is
  there a boot option noide or some other switch I can use?
  
  Afraid not.
  The naming scheme is, officially, not constant and can change with
  reboots.
  
  On my server, with hotswap, I get different device-names when I remove a
  disk and plug it back in.
  Eg. /dev/sdb -  /dev/sdj
  (as example)
  Don't think you'll have that particular issue, but having these names
  change between reboots is possible. Especially if a drive fails and is
  not found during boot or a new drive is added.
  
  Not tested, but I believe USB-drives might also get pushed into the mix?
  
  --
  Joost
 
 I do know the USB stuff changes but I wasn't sure about the others.  I
 would think the main drives in a system would come first but one could
 never make that promise.  I'm giving serious thought to using the
 labels.  It would also mean that I don't have to remember what partition
 is what.  Currently I would mount and then list what is in the directory
 to see what is in it and figure out what it is.  With the labels
 feature, even fdisk would tell me what is what.
 
 This would be a good time to move the OS to a new drive.  If things work
 out, run from the new drive.  If things blow up, boot the old drive with
 the old kernel, old fstab and other settings.

While on the topic of labels, is there a way to change the label of a reiser4 
partition, *after* it has been created?  I rebuilt two partitions and forgot 
to relabel them ...
-- 
Regards,
Mick


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


Re: [gentoo-user] Kernel Configuration

2010-08-27 Thread Stroller


On 27 Aug 2010, at 21:11, Aaron Bauman wrote:
... I would rather not use the ubuntu kernel as previously suggested  
unless it is completely safe.  I am currently booting successfully  
off of Ubuntu running kernel version 2.6.32-21-generic.


Why would it be unsafe? The Ubuntu kernel config from /proc/config.gz  
is a config optimised for desktop systems of your architecture by a  
bunch of clever guys working for Canonical.


Whilst it may be possible to optimise the kernel very specifically for  
your hardware, I think you would notice more shortcomings of that than  
benefits, and it just seems a lengthy waste of time.


Stroller.



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

2010-08-27 Thread Stroller


On 28 Aug 2010, at 00:06, Mick wrote:

On Friday 27 August 2010 11:21:08 Dale wrote:

J. Roeleveld wrote:

On Friday 27 August 2010 11:49:00 Dale wrote:

J. Roeleveld wrote:

Hmmm, I use resierfs for my file systems, most of them anyway.  I  
still

use e2fsprogs to change those?


Nope:
eve ~ # reiserfstune --help
reiserfstune: unrecognized option '--help'
reiserfstune: Usage: reiserfstune [options] device [block-count]

Options:
  -j | --journal-device filecurrent journal device
  --journal-new-device file new journal device
  -o | --journal-new-offset N   new journal offset in blocks
  -s | --journal-new-size N new journal size in blocks
  -t | --trans-max-size N   new journal max transaction size in
  blocks --no-journal-availablecurrent journal is not  
available

  --make-journal-standard   new journal to be standard
  -b | --add-badblocks file add to bad block list
  -B | --badblocks file set the bad block list
  -u | --uuid UUID|random   set new UUID
  -l | --label LABELset new label
  -f | --force  force tuning, less confirmations
  -Vprint version and exit

IOW (as example):
reiserfstune -l ROOTDISK /dev/hda1


...
While on the topic of labels, is there a way to change the label of  
a reiser4
partition, *after* it has been created?  I rebuilt two partitions  
and forgot

to relabel them ...


Isn't the answer to that in the stuff you quoted?

Surely one can use reiserfstune without damaging the filesystem?




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

2010-08-27 Thread Stroller


On 27 Aug 2010, at 17:06, Nikos Chantziaras wrote:


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

On Friday 27 August 2010 17:57:01 Bill Longman wrote:

On 08/27/2010 01:10 AM, J. Roeleveld wrote:

On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
Anyway, make sure you have a bootable Linux CD/DVD handy.  That  
way, you

won't be able to blow anything up and can boot from it in order to
change your /etc/fstab and grub conf.


Alternatively, give your partitions Labels and reconfigure /etc/ 
fstab to

use those.
Then you don't have to worry about the changes to the device-names.


I second Joost's recommendation. I don't think you can use labels  
on the

kernel command line, so your grub will have to know for sure which
device to boot.


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

(Read the section below Use a label):

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


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


Because you need to use the `root=/dev/sdaX` format in GRUB?

I think an appropriate initrd/initramfs is required - I'm not sure if  
there are any other requirements - to use labels in GRUB. I think it's  
common to do things this way on RedHat systems, maybe with some other  
distros - that's what fouled me up when I tried using labels in GRUB;  
I just found grub.conf examples using them, and was unaware of this  
requirement.



Stroller.



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

2010-08-27 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:


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


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

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

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

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


TIA,
James







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

2010-08-27 Thread James
Daniel da Veiga danieldaveiga at gmail.com writes:


 Have you tried setting the INPUT NAME of the HDMI to PC using the
 remote (on TV)?
 My Samsung does the same, after I set my HDMI as PC everything is at
 the right place.


Can only do this on the PC selection which only works when
a standard 15 pin VGA cable is used...


James 







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

2010-08-27 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:

 You have nothing to fear from fiddling with clock settings on a flat panel.
 The owrst you can do is to get no picture.


Good to know.

thx
James






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

2010-08-27 Thread James
Jason Carson jason at jasoncarson.ca writes:


 Can you set overscan to 0% in the ATI Catalyst Control Center. Does that
 make a difference?


Dunno know. 'ATI catalyst Control Center' will not
launch from KDE menu system(strange)

Ideas on what to recompile?

ati-drivers? emerge -1 `qlist -I -C x11-drivers`

has already been ran several times today

???
Can I lauch it (syntax) from the command line?
(as root?)


James







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

2010-08-27 Thread Daniel Pielmeier
Nikos Chantziaras schrieb am 27.08.2010 18:06:
 On 08/27/2010 07:02 PM, J. Roeleveld wrote:

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

 (Read the section below Use a label):

 fstab:
 LABEL=ROOT  / ext3defaults1 1
 LABEL=BOOT  /boot ext3defaults1 2
 LABEL=SWAP  swap  swapdefaults0 0
 LABEL=HOME  /home ext3nosuid,auto 1 2
 
 This syntax never worked here.  Always resulted in an unbootable system.
  Only the /dev/disk/by-label/ syntax works reliably.
 

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

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Can't connect to new router

2010-08-27 Thread Grant
I just got a new TP-Link TL-WR1043ND wireless router but I can't seem
connect to it.  I've tried the Gentoo initscript as well as wicd.
With the initscript, I get:

wlan3: carrier lost
wlan3: timed out

I see a lot of this in dmesg:

b43-phy0 ERROR: MAC suspend failed

I can connect to other wireless routers just fine, and I can connect
to this one via ethernet.  I've tried configuring it in various ways,
security is disabled, and I've tried specifying static IPs with no
luck.  Does anyone know what I could be doing wrong?

- Grant



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

2010-08-27 Thread Dale

Stroller wrote:


On 28 Aug 2010, at 00:06, Mick wrote:

On Friday 27 August 2010 11:21:08 Dale wrote:

J. Roeleveld wrote:

On Friday 27 August 2010 11:49:00 Dale wrote:

J. Roeleveld wrote:

Hmmm, I use resierfs for my file systems, most of them anyway.  I 
still

use e2fsprogs to change those?


Nope:
eve ~ # reiserfstune --help
reiserfstune: unrecognized option '--help'
reiserfstune: Usage: reiserfstune [options] device [block-count]

Options:
  -j | --journal-device filecurrent journal device
  --journal-new-device file new journal device
  -o | --journal-new-offset N   new journal offset in blocks
  -s | --journal-new-size N new journal size in blocks
  -t | --trans-max-size N   new journal max transaction size in
  blocks --no-journal-availablecurrent journal is not 
available

  --make-journal-standard   new journal to be standard
  -b | --add-badblocks file add to bad block list
  -B | --badblocks file set the bad block list
  -u | --uuid UUID|random   set new UUID
  -l | --label LABELset new label
  -f | --force  force tuning, less confirmations
  -Vprint version and exit

IOW (as example):
reiserfstune -l ROOTDISK /dev/hda1


...
While on the topic of labels, is there a way to change the label of a 
reiser4
partition, *after* it has been created?  I rebuilt two partitions and 
forgot

to relabel them ...


Isn't the answer to that in the stuff you quoted?

Surely one can use reiserfstune without damaging the filesystem?




That could be asking a lot for me.  lol   I would think it could be 
changed the same way it was set tho.  reiserfstune -l LABEL


I got a lot of ideas here.  o_O

Dale

:-)  :-)