Re: [CentOS-docs] becoming root

2008-04-07 Thread Ralph Angenendt
Ned Slider wrote:
 Any suggestions as to where might be an appropriate home for this on the 
 Wiki?

I think TipsAndTricks is appropriate for that, maybe under Admin Tricks
and shell one-liners? I don't see it under HowTo ...


 su

 or

 su -

 but the above are NOT the same thing.

... but the two commands above behave differently.

 When you become root by using 'su -', you also adopt root's PATH whereas 
 using just 'su' retains the original users PATH, hence why becoming root 
 using just 'su' and trying to run a command located in /usr/local/sbin, 
 /usr/sbin, or /sbin results in a 'command not found' error.

Please mention the bash manual page (and the section about login
shells), where this behaviour is explained in more detail.

Otherwise: Go ahead.

Cheers,

Ralph


pgp7uRBAbNaOs.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] To do List

2008-04-07 Thread Ralph Angenendt
John wrote:
 UserName: JohnStanley

You have access to pages below (and including)
http://wiki.centos.org/HardwareList now.

Cheers, 

Ralph


pgpWB5mefzUfg.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] To do List

2008-04-07 Thread John
On Sun, 2008-04-06 at 03:51 -0700, Akemi Yagi wrote:
 On Sat, Apr 5, 2008 at 11:57 PM, John [EMAIL PROTECTED] wrote:
 
   *Grins*,  Akemi
 
   ATRpms.net.
 
   To get a some sense of this mess one would have to;
   For 32bit Install 1. and 3.. For 64bit install 1. and 2.. This is
   what you were referring to correct? That you say you installed once?
   I am just referring to the Legacy Graphic Cards for instance, to get
   some idea from you about what you are talking about.
 
   http://atrpms.net/name/nvidia-graphics-legacy-71xx/
 
   
  1.http://atrpms.net/dist/el5/nvidia-graphics-legacy-71xx/nvidia-graphics71.86.04-71.86.04-93.el5.i386.rpm.html
   
  2.http://atrpms.net/dist/el5/nvidia-graphics-legacy-71xx/nvidia-graphics71.86.04-kmdl-2.6.18-53.1.14.el5.centos.plus-71.86.04-93.el5.x86_64.rpm.html
   
  3.http://dl.atrpms.net/all/nvidia-graphics71.86.04-kmdl-2.6.18-53.1.14.el5-71.86.04-93.el5.i686.rpm
 
   I did notice while I was browsing the site it seems that the
   the signed packages are expired. The package signature expired
   in December of 2007. I'm pickey...
   Signature:DSA/SHA1, Tue Feb 5 08:19:51 2008 ([expires: 2007-12-31])
   There is also no yum repo configuration for RHEL 4 or 5, or for
   CentOS for that matter. So give me some more insight on this way
   of the driver install from ATrpms. Like how you would direct the user
   getting the appropiate files for the graphics cards.
 
 In principle, setting up the atrpms repo is not much different from
 that for rpmforge.  First read the Repositories wiki article and go to
 http://atrpms.net/install.html for the instructions.  Just like
 rpmforge, CentOS-4 and -5 use .el4 and .el5, respictively.
 
 Once the repository has been set up, all you should do is:
 

yum install nvidia-graphics   We Hope!

 That should resolve dependencies for you and install necessary
 packages that matche your *running* kernel.
 
 There is a posting in the CentOS mailing list by Axel (atrpms
 maintainer) with a brief explanation about the difference between
 rpmforge and atrpms:
 
 http://lists.centos.org/pipermail/centos/2007-August/085287.html   -I'll 
 read over these later in the day.
 
 Two postings down in that thread, there is another one from him which
 is worth the bookmark.  It gives you some workaround for an error that
 might occur when the above command is run for the first time.  But we
 can talk about it later.

Will look for that also.

 Akemi
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] To do List

2008-04-07 Thread John
On Mon, 2008-04-07 at 13:06 +0200, Ralph Angenendt wrote:
 John wrote:
  UserName: JohnStanley
 
 You have access to pages below (and including)
 http://wiki.centos.org/HardwareList now.
 
 Cheers, 
 
 Ralph

Thanks Ralph!
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] becoming root

2008-04-07 Thread Ned Slider



Ralph Angenendt wrote:

Ned Slider wrote:
Any suggestions as to where might be an appropriate home for this on the 
Wiki?


I think TipsAndTricks is appropriate for that, maybe under Admin Tricks
and shell one-liners? I don't see it under HowTo ...



su

or

su -

but the above are NOT the same thing.


... but the two commands above behave differently.

When you become root by using 'su -', you also adopt root's PATH whereas 
using just 'su' retains the original users PATH, hence why becoming root 
using just 'su' and trying to run a command located in /usr/local/sbin, 
/usr/sbin, or /sbin results in a 'command not found' error.


Please mention the bash manual page (and the section about login
shells), where this behaviour is explained in more detail.

Otherwise: Go ahead.

Cheers,

Ralph



Thanks Ralph, will try and get something up later this week.

Ned
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] editing wiki

2008-04-07 Thread John
On Mon, 2008-04-07 at 20:02 +0200, Ralph Angenendt wrote:
 John wrote:
  Ralph,
  
  http://wiki.centos.org/Nvidia_Graphics_on_CentOS  I need edit rights for
  this page
  or do you prefer us to use
  http://wiki.centos.org/HardwareList/NvidiaDriver and finish that up. It
  is under the CentOS 4 section also. There is going to be three different
  ways to do the nvidia install. As in 3 different driver installs.
 
 There was a reason I gave you access to the hardware list page (you are
 able to create pages under there). It does not have to go into the
 CentOS4/5/3 sections if you are able to do a more general approach - I
 just want to have it *below* a an already existing section of the wiki,
 so that / doesn't get muddled like we did at the beginning :)
 
 So just go ahead with the page (which we don't have to link to yet), let
 us see what comes out of it and from where we link to it then.
 
 Cheers,
 
 Ralph

Alrighty
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Wiki Link

2008-04-07 Thread John
Ralph, Akemi, and Ned

http://wiki.centos.org/HardwareList/Nvidia_Graphics

That will be the Link.
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-07 Thread Ned Slider

John wrote:

Ralph, Akemi, and Ned

http://wiki.centos.org/HardwareList/Nvidia_Graphics

That will be the Link.


Thanks John. I should be able to have a bash at the RPMForge/dkms method 
in about a week (unless someone beats me to it!).


Ned
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-07 Thread Akemi Yagi
On Mon, Apr 7, 2008 at 12:41 PM, Ned Slider [EMAIL PROTECTED] wrote:
 John wrote:

  Ralph, Akemi, and Ned
 
  http://wiki.centos.org/HardwareList/Nvidia_Graphics
 
  That will be the Link.
 

  Thanks John. I should be able to have a bash at the RPMForge/dkms method in
 about a week (unless someone beats me to it!).

  Ned

I suppose this page will have a description for the differences
between the three methods and how to choose one. ??

Akemi
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] http://wiki.centos.org/HardwareList/Nvidia_Graphics

2008-04-07 Thread John
OK looking for some constructive critiuquing and ideas. This is just a
ruff draft

1. First we need to know what type of graphics card you 
have. Please do the following at the command window. To get to the
command window do the following

[EMAIL PROTECTED] ~]#lspci -v note the difference in board manufactures.
  These drivers will work on all Aftermarket
  cards as long as it has an nVidia Chipset. 

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2
MX/MX 400] (rev b2) (prog-if 00 [VGA])
Subsystem: Chaintech Computer Co. Ltd Unknown device 1420
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 185
Memory at fd00 (32-bit, non-prefetchable) [size=16M]
Memory at e800 (32-bit, prefetchable) [size=128M]
[virtual] Expansion ROM at fe9f [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0

As if you read the first line where it says nVidia Corporation, you
will see
in the braces the video card model. As this specific card is a GeForce2
MX/MX 400.

Screenshot: Do one of Output lspci

Supported Graphics Cards by nVidia here: Provide a link List is to long
to put in How To. 


2. Now to Select the newest driver please go to:
http://www.nvidia.com/Download/index.aspx?lang=en-us

Where it says Option 1, select the Product Type from the drop down
box.
Next, Product Series, Operating System, and Language.

Screenshot: Here

2. Drivers can be obtained from here by manually downloading. Take you
Pick.
http://www.nvidia.com/object/linux_display_ia32_169.12.html (current
chipsets)
http://www.nvidia.com/object/linux_display_x86_96.43.01.html (legacy
chipsets)
http://www.nvidia.com/object/linux_display_x86_71.86.01.html (old legacy
chipsets)
http://www.nvidia.com/object/linux_display_amd64_169.12.html (current
chipsets)
http://www.nvidia.com/object/linux_display_amd64_96.43.01.html (legacy
chipsets)
http://www.nvidia.com/object/linux_display_amd64_71.86.01.html (old
legacy chipsets)


3.Installation:
After you have downloaded the driver (save it in the root folder). You 
need to be root to do so and install the driver. Now in you terminal
you will need to type the following. Applications | Accessories |
Terminal:
[EMAIL PROTECTED] ~]#telinit 3
Screenshot Here
This will take you to runlevel 3 where you can install the driver.

[EMAIL PROTECTED] ~]#sh linux_nVidia..

User needs to be aware of getting around in ncurses envir frame buffer
etc. Tab and arrors
The install will begin.


[EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]#


[EMAIL PROTECTED] ~]#telinit 5

4. Applications | Systemtools | NVIDIA X Server Settings. You may want
to go to X Server Display Configuration to configure you screen
resolution.
Next you will want to Click on Save to X Server Configuration File.
When the 
dialog box come up you will want to save it to/etc/X11/xorg.conf then
click 
on Save. Now click on Quit to exit the application.

Do screenshots for the above???

5.Alternate driver dowload.

Drivers can be obtained from here by manually downloading. Take you
Pick.

http://www.nvidia.com/object/linux_display_ia32_169.12.html (current
chipsets)
http://www.nvidia.com/object/linux_display_x86_96.43.01.html (legacy
chipsets)
http://www.nvidia.com/object/linux_display_x86_71.86.01.html (old legacy
chipsets)
http://www.nvidia.com/object/linux_display_amd64_169.12.html (current
chipsets)
http://www.nvidia.com/object/linux_display_amd64_96.43.01.html (legacy
chipsets)
http://www.nvidia.com/object/linux_display_amd64_71.86.01.html (old
legacy chipsets)


Problems:

If you have problems like Black Squares for Icons, downgrade the driver
to the next lowest one before you come to the formums or lists for help.
Can be done by:..



-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-07 Thread Ned Slider

Akemi Yagi wrote:

On Mon, Apr 7, 2008 at 12:41 PM, Ned Slider [EMAIL PROTECTED] wrote:

John wrote:


Ralph, Akemi, and Ned

http://wiki.centos.org/HardwareList/Nvidia_Graphics

That will be the Link.


 Thanks John. I should be able to have a bash at the RPMForge/dkms method in
about a week (unless someone beats me to it!).

 Ned


I suppose this page will have a description for the differences
between the three methods and how to choose one. ??

Akemi


That would be great - thanks for volunteering!!!

I was kind of avoiding that one due to lack of experience with methods 1 
 3. I went straight with method 2 and it has worked great for me, the 
obvious advantage being that it just works upon a kernel update. YMMV :)


What did you have in mind? A separate introductory and/or summary 
section, or a pros  cons for each section and leave the reader to make 
up their own mind which is best for them (I tend to prefer the latter 
option).





___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-07 Thread Ned Slider

Akemi Yagi wrote:



Way to go, Ned.

Akemi


You're too kind!

Question: I already have the RPMForge/dkms driver installed on all my 
machine(s). How do I best disable/remove the drivers to simulate a fresh 
install for the purpose of taking notes. I can't remember if I had to 
configure anything or if it was just a case of installing the RPMForge 
repo and yum installing dkms and the appropriate nvidia driver. I guess 
I need to rpm -e them and manually reconfigure xorg.conf back to using 
the original xorg nv driver? (just checked - I do have a backup of my 
original pristine vanilla xorg.conf using the nv driver)


___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-07 Thread Akemi Yagi
On Mon, Apr 7, 2008 at 4:12 PM, Ned Slider [EMAIL PROTECTED] wrote:
 Akemi Yagi wrote:

  Way to go, Ned.
 
  Akemi

  You're too kind!

  Question: I already have the RPMForge/dkms driver installed on all my
 machine(s). How do I best disable/remove the drivers to simulate a fresh
 install for the purpose of taking notes. I can't remember if I had to
 configure anything or if it was just a case of installing the RPMForge repo
 and yum installing dkms and the appropriate nvidia driver. I guess I need to
 rpm -e them and manually reconfigure xorg.conf back to using the original
 xorg nv driver? (just checked - I do have a backup of my original pristine
 vanilla xorg.conf using the nv driver)

Regarding the installation, yum install should take care of
dependencies for things like dkms.  dkms intern pulls gcc and
kernel-devel among other things.  There is one potential issue here.
If the user is running a non-standard kernel (such as xen), then
kernel-devel must be installed manually (kernel-xen-devel, for
example).

If you are going to delete the nvidia driver to do a simulation, I
think rpm -e removes *most* of the stuff installed.  I say most
because, the original installation of nvidia.ko may have created
symlinks in /lib/modules/ and these symlinks are apparently NOT
removed by the uninstall script of the nvidia rpm.  This may no be so
important for your testing but just in case.

Akemi
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki Link

2008-04-07 Thread John
On Mon, 2008-04-07 at 17:42 -0700, Akemi Yagi wrote:
 On Mon, Apr 7, 2008 at 4:12 PM, Ned Slider [EMAIL PROTECTED] wrote:
  Akemi Yagi wrote:
 
   Way to go, Ned.
  
   Akemi
 
   You're too kind!
 
   Question: I already have the RPMForge/dkms driver installed on all my
  machine(s). How do I best disable/remove the drivers to simulate a fresh
  install for the purpose of taking notes. I can't remember if I had to
  configure anything or if it was just a case of installing the RPMForge repo
  and yum installing dkms and the appropriate nvidia driver. I guess I need to
  rpm -e them and manually reconfigure xorg.conf back to using the original
  xorg nv driver? (just checked - I do have a backup of my original pristine
  vanilla xorg.conf using the nv driver)
 
 Regarding the installation, yum install should take care of
 dependencies for things like dkms.  dkms intern pulls gcc and
 kernel-devel among other things.  There is one potential issue here.
 If the user is running a non-standard kernel (such as xen), then
 kernel-devel must be installed manually (kernel-xen-devel, for
 example).

Mention of The Xen-Kernel:

Just a thought here. I never used the proprietary nvidia driver with the
xen kernel on any install of it I've done. But I beg to know why would
you even want to run that when you running Xen? If your running Xen then
your not after video acceleration correct? You after I/O and Memory
Bandwidth.

It's not a problem if you two want to validate a driver install of this
weird nature. I can do this. I have the extra machine for testing
purposes.  The only type of people that would maybe use this combination
would be strictly Developers.  I can see someone now, I have a Dell
Poweredge 1950 with a on board nvidia card and it runs the Xen
Hypervisor!!! Only connection to it is a Serial Console!

 If you are going to delete the nvidia driver to do a simulation, I
 think rpm -e removes *most* of the stuff installed.  I say most
 because, the original installation of nvidia.ko may have created
 symlinks in /lib/modules/ and these symlinks are apparently NOT
 removed by the uninstall script of the nvidia rpm.  This may no be so
 important for your testing but just in case.
 
 Akemi
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
-- 
~/john

OpenPGP Sig:BA91F079

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs