Re: a few questions about SL admin best practises

2011-03-15 Thread Hiisi
On Mon, 2011-03-14 at 22:00 -0700, Garrett Holmstrom wrote:
 On 3/14/2011 9:15, Konstantin Olchanski wrote:
  On Sat, Mar 12, 2011 at 12:06:56AM -0800, Garrett Holmstrom wrote:
  gholms@luna ~ % mount | grep ext
  /dev/sda1 on /boot type ext4 (rw)
 
  In the LVM way of things, if I connect this disk to another
 computer,
  would these /boot partitions collide and prevent the computer from
 booting?
 
 That volume is just a regular partition since /boot can't reside on a
 LV. 

Abstracting from LVM I would say that yes, a computer with two disks
with a boot sector on each of them won´t boot without additional
configuration.
HTH
Hiisi


Re: Debuginfo repositories

2011-03-15 Thread Troy Dawson

Hello,
We didn't mean to not include the debuginfo repo in the yum 
configuration files.  I thought they were in there.  It wasn't until I 
was doing more documentation about the changes since SL5 that I noticed 
they weren't there.
We are working on updating sl-release so that the debuginfo repo's are 
in there.  Expect it by the end of the week.


As for RedHat yum repositories, you must be thinking about Fedora.  I 
don't have any yum repository configuration files on my RHEL machines. 
It's all handled through rhn.


Troy

On 03/14/2011 07:59 PM, Vaclav Mocek wrote:

Hello,

I am wondering why Scientific Linux doesn't support debuginfo
repositories in the same way as Red Hat does (disabled in *.repo files,
distributed directly in the directory with binaries).
I found some debug information 'hidden' in the directory
/linux/scientific/6rolling/archive/debuginfo/, however I am not sure
if it contains all debuginfo from all other binary directories and is
already in sync.

There are two reasons, why we shall care about debuginfo as a first
class citizen:
1) ABRT
(http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-abrt.html;)
2) SystemTap
(http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/SystemTap_Beginners_Guide/index.html;)

Without debuginfo it is difficult to generate a sensible crash log
(ABRT) and it helps [Red Hat] developers a lot. If one wants to analyse
and tune the performance of the system, the SystemTap is absolutely
essential and it needs debuginfo as well.

Best Regards

Vaclav M.



--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/SCF/FEF/SLSMS Group
__


Distribution Servers Downtime - March 16, 2011

2011-03-15 Thread Troy Dawson

Hello,
The distribution servers rsync.scientificlinux.org, 
ftp.scientificlinux.org, ftp1.scientificlinux.org, and 
ftp2.scientificlinux.org will be going down tomorrow, Wednesday March 
16, 2011 due to a major update to the backend storage.


Affected Machines:
rsync.scientificlinux.org
ftp.scientificlinux.org
ftp1.scientificlinux.org
ftp2.scientificlinux.org

Begin Downtime:
16 March 2011 - 02:00 am CDT (Chicago)
date -d '2011-03-16 02:00 CDT'

End Downtime:
16 March 2011 - 9:00 am CDT (Chicago)
date -d '2011-03-16 09:00 CDT'

Thank you for your patience.
Troy Dawson
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI LMSS Group
__


SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Sen Li
Hi,

I tried to install SL 6.0 on my laptop which is Lenovo Thinkpad T410s.
During the installation I just chose the 'Desktop' and did not add any more
packages. When the installation finished, the system was crashing on the
login interface. Here 'crashing' I mean freezing, the time is even stopped.
I am wondering is there any suggestion to solve this problem? Thanks a lot.

MVH
/Sen

-- 
Sen Li
Ph.D. student
Uppsala University


Re: RT2860 drivers, kmod not available?

2011-03-15 Thread Phil Perry

On 12/03/11 11:28, Phil Perry wrote:

On 12/03/11 01:46, Victor Helsing wrote:

SL6 is a great distribution, by the way. And congratulation to Urs for
his
excellent live CD/DVDs!

I am trying to get the Ralink RT2860 wireless working on one of my
systems.
I installed the RT2860 firmware model (believe it was from epel or
elrepo), but cannot find the kmod rt2860 which seems to go with it. There
is some chatter about this module related to prior fedora releases. There
is a mention of this being from the rpmfusion repository, but cannot
find a
workable version for el6/sl6.

Anyone have any thoughts on this? I don't think it is related to SL6
itself.

Victor



Hi Victor,

Yes, you are correct - it's not an SL6 issue specifically as the RT2860
drivers aren't included in the SL6 (and RHEL6) kernel.

Elrepo.org have previously provided these drivers for SL5 but finding
testers for them was notoriously difficult so we simply haven't ported
them over to SL6 yet. Now we have a potential tester in you, we
(elrepo.org) would be glad to knock up a package for you to test. Would
that be OK with you?

Regards,

Phil



Just to tie off this thread, there is now a driver for the RAlink RT2860 
Wireless device available for SL6 at elrepo:


http://elrepo.org/bugs/view.php?id=120

Many thanks to Victor for helping test the package.


Re: SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Vaclav Mocek

Hello Sen,

not sure, but I think that the new Lenovo Thinkpad T410s is a laptop 
with the hybrid graphics (NVIDIA Optimus). It means lots of problems, 
because Nvidia has no intention to support it in Linux. As far as know, 
there is no workable solution yet, except disabling of the Nvidia card 
in BIOS.


Good places to start:

http://forums.nvidia.com/index.php?showtopic=188184

http://linux-hybrid-graphics.blogspot.com

http://forums.gentoo.org/viewtopic-p-6392405.html?sid=3aa6992b33ba45578a93e4d9a2b82087


Good Luck, I have given it up after three days, better to avoid hybrid 
graphics.


BR

Vaclav M.

On 03/15/2011 04:50 PM, Sen Li wrote:

Hi,

I tried to install SL 6.0 on my laptop which is Lenovo Thinkpad T410s. 
During the installation I just chose the 'Desktop' and did not add any 
more packages. When the installation finished, the system was crashing 
on the login interface. Here 'crashing' I mean freezing, the time is 
even stopped. I am wondering is there any suggestion to solve this 
problem? Thanks a lot.


MVH
/Sen

--
Sen Li
Ph.D. student
Uppsala University


Re: Debuginfo repositories

2011-03-15 Thread Vaclav Mocek

Hello Troy,

thank you for reply.

We are working on updating sl-release so that the debuginfo repo's are 
in there.  Expect it by the end of the week.
Great news, I have found few bugs, one is nicely reproducible and I 
would like to report it to RedHat. ABRT + debuginfo will help me a lot.


As for RedHat yum repositories, you must be thinking about Fedora.  I 
don't have any yum repository configuration files on my RHEL machines. 
It's all handled through rhn.
Yes, you are right, I am sorry. The last RHEL I used to use was version 
4.x.  ABRT, SystemTap and all the related infrastructure  I really know 
from Fedora and I naively expected that in RHEL6 it will be used in the 
same way.


Another question: does RHEL6 use Presto plugin and delta rpm?

Vaclav M.


Re: Marking SL errata packages as such in Spacewalk

2011-03-15 Thread Matthew Willsher
On 12 Mar 2011, at 22:24, Matthew Willsher wrote:

 I've been having some fun with Spacewalk and have been trying to get errata 
 to get correctly marked in the errata view automagically. Having done some 
 searching around I've found some references that seem to indicate that it can 
 be made to work with SL somehow. Is there any way to get the errata working 
 with SL? 

I just wanted to check this again before I start doing some scripting to 
attempt to parse the errata mailing list archive. Anything would be helpful, no 
matter how rough.

Thanks,

Matt


Re: SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Alec T. Habig
Take a look here:

  http://www.thinkwiki.org/wiki/ThinkWiki

linux knowledge from around the net about Thinkpads accumulates here, a
very nice site.  And you can log in and add your own information to be
archived for future people in your situation.

The T410s has Intel graphics:

  http://www.thinkwiki.org/wiki/Category:T410s

and there's documentation of Fedora and Suse installs, with few graphics
problems: 

  http://www.thinkwiki.org/wiki/Installation_instructions_for_the_ThinkPad_T410s

My general advice though - usually you're far better off going with a
Fedora or Ubuntu style distro on laptops, the enterprise-based
distributions update too slowly on the hardware driver front for
portable computing needs.

An immediate suggestion for your problem - go in in rescue mode, edit
/etc/inittab, and change the default run level from 5 to 3.  That way
you can get in on console and tweak stuff, issuing a startx command to
bring up the desktop at will instead of being forced into a buggy state
right away.

-- 
Alec Habig, University of Minnesota Duluth Physics Dept.
ha...@neutrino.d.umn.edu
   http://neutrino.d.umn.edu/~habig/


Re: Marking SL errata packages as such in Spacewalk

2011-03-15 Thread Troy Dawson

On 03/15/2011 02:28 PM, Matthew Willsher wrote:

On 12 Mar 2011, at 22:24, Matthew Willsher wrote:


I've been having some fun with Spacewalk and have been trying to get errata to 
get correctly marked in the errata view automagically. Having done some 
searching around I've found some references that seem to indicate that it can 
be made to work with SL somehow. Is there any way to get the errata working 
with SL?


I just wanted to check this again before I start doing some scripting to 
attempt to parse the errata mailing list archive. Anything would be helpful, no 
matter how rough.

Thanks,

Matt


Hi Matt,
Sorry for not replying.
There are two ways of doing this.

1 - simple and easy, no real descriptions, just marking packages as 
security or fastbugs.

That should be easy enough by going through the SL yum repo's.

2 - Having all the detail for each errata.
For that you need to have a current RHEL machine and an account on rhn.
You download the errata metadata, convert it to whatever you want (if 
it's your personal spacewalk, I suspect you don't need to convert much) 
and then push it up onto your spacewalk server.


Troy
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/SCF/FEF/SLSMS Group
__


Re: SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Vaclav Mocek

On 03/15/2011 07:47 PM, Alec T. Habig wrote:

The T410s has Intel graphics

Depends what version:

http://shop.lenovo.com/SEUILibrary/controller/e/gbweb/LenovoPortal/en_GB/catalog.workflow:expandcategory?issBase=ProductsCategoryissCategory=/Notebooks/ThinkPad%20notebooks/T%20Series/T410

http://www.laptopmag.com/review/laptops/lenovo-thinkpad-t410s-nvidia-optimus.aspx
http://www.zdnet.de/mobiles_arbeiten_notebook_laptop_thinkpad_t410s_14_zoeller_mit_hybrid_grafik_und_ssd_review-2151-41541606-1.htm

I am afraid that the version T410s has hybrid graphics: Intel + NVIDIA 
NVS 3100m and as I wrote it is a source of troubles.


Vaclav M.


Re: SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Alan Bartlett
On 15 March 2011 20:05, Vaclav Mocek little@email.cz wrote:
 On 03/15/2011 07:47 PM, Alec T. Habig wrote:

 The T410s has Intel graphics

 Depends what version:

 http://shop.lenovo.com/SEUILibrary/controller/e/gbweb/LenovoPortal/en_GB/catalog.workflow:expandcategory?issBase=ProductsCategoryissCategory=/Notebooks/ThinkPad%20notebooks/T%20Series/T410

 http://www.laptopmag.com/review/laptops/lenovo-thinkpad-t410s-nvidia-optimus.aspx
 http://www.zdnet.de/mobiles_arbeiten_notebook_laptop_thinkpad_t410s_14_zoeller_mit_hybrid_grafik_und_ssd_review-2151-41541606-1.htm

 I am afraid that the version T410s has hybrid graphics: Intel + NVIDIA NVS
 3100m and as I wrote it is a source of troubles.

Have you checked to see if the issue will be resolved by using the
ELRepo kmod-nvidia package [1] ?

Alan.

[1] http://elrepo.org/tiki/kmod-nvidia


Re: SL6 livecd and md RAID partitions - danger

2011-03-15 Thread Urs Beyerle

On 03/14/2011 07:35 PM, Tom H wrote:

On Sun, Mar 13, 2011 at 3:16 PM, Urs Beyerleurs.beye...@env.ethz.ch  wrote:

On 03/13/2011 07:46 PM, Tom H wrote:

Usually md devices are renamed/renumbered when /etc/mdadm.conf has
HOMEHOSTsystem set and the metadata in the superblock has a
different homehost value.

The file /etc/mdadm.conf does not exist on the LiveCD. Therefore the md
devices should not be renamed...?

Bluejay, do you see /etc/mdadm.conf, if you boot your system with the
LiveCD?

I've checked the Live CD that I have and it doesn't have
/etc/mdadm.conf. The install that I made with the Live CD does have
one though, which I find confusing because I thought (incorrectly it
seems) that a Live CD install is made from the same image as the Live
CD itself. It doesn't have HOMEHOSTsystem but it is set to
automount some arrays.


In SL6, the LiveCD install first copies the LiveCD image to hard drive. 
Afterwards anaconda is finishing the install which includes to create 
/etc/mdadm.conf:

# mdadm.conf written out by anaconda

This was not the case for SL5 and SL4 LiveCD, where the install was just a copy 
of the running LiveCD to hard drive.


Persistent Data in SL LiveDVD on USB

2011-03-15 Thread William Shu
Dear All,
I must be missing something. I do not seem to install and retain packages on 
liveDVD installed on a USB stick, despite using the data persistence options on 
livecd-iso-to-disk, viz:

# livecd-iso-to-disk --reset-mbr --overlay-size-mb 1024 \
 --home-size-mb 512 \
 path/SL-60-i386-2011-03-07-LiveDVD.iso \
 /dev/partition name

The programs livecd-tools and liveusb-creator are retained on reboot, but not 
the others. Also, configuration data, etc. stored in the home directory, 
/home/sluser, are retained. 



Some sample installs that disappeared (Id not matter whether I used yum, ume:
$ su -c 'rpm -Uvh 
http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm'
$ su -c 'yum install yumex'
$ su -c 'yum install xfig transfig fig2ps gv'
$ su -c 'yum install ocaml ocaml-emacs ocaml-lablgl ocaml-lablgl-devel 
ocaml-lablgtk ocaml-lablgtk-devel ocaml-lablgtk-doc ocaml-doc'
$ su -c 'yum install latex2rtf latex2html'


Ragards,

William.



  


Re: SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Sen Li
Thanks for replying!
I have switchable graphic card which is intel+nvidia 3100m.
I have installed the 5.4 version on this laptop, it worked fine.  I will try
to disable nvidia in BIOS to see if it works and report back. otherwise, I
will stick to 5.4 or 5.5.

/Sen

On Tue, Mar 15, 2011 at 9:14 PM, Alan Bartlett a...@elrepo.org wrote:

 On 15 March 2011 20:05, Vaclav Mocek little@email.cz wrote:
  On 03/15/2011 07:47 PM, Alec T. Habig wrote:
 
  The T410s has Intel graphics
 
  Depends what version:
 
 
 http://shop.lenovo.com/SEUILibrary/controller/e/gbweb/LenovoPortal/en_GB/catalog.workflow:expandcategory?issBase=ProductsCategoryissCategory=/Notebooks/ThinkPad%20notebooks/T%20Series/T410
 
 
 http://www.laptopmag.com/review/laptops/lenovo-thinkpad-t410s-nvidia-optimus.aspx
 
 http://www.zdnet.de/mobiles_arbeiten_notebook_laptop_thinkpad_t410s_14_zoeller_mit_hybrid_grafik_und_ssd_review-2151-41541606-1.htm
 
  I am afraid that the version T410s has hybrid graphics: Intel + NVIDIA
 NVS
  3100m and as I wrote it is a source of troubles.

 Have you checked to see if the issue will be resolved by using the
 ELRepo kmod-nvidia package [1] ?

 Alan.

 [1] http://elrepo.org/tiki/kmod-nvidia




-- 
Sen Li
Ph.D. student
Uppsala University


Re: SL 6.0 on Thinkpad T410s crash on login.

2011-03-15 Thread Vaclav Mocek

Have you checked to see if the issue will be resolved by using the
ELRepo kmod-nvidia package [1] ?

Alan.

[1] http://elrepo.org/tiki/kmod-nvidia
Yes, I have tried it. Nvidia Optimus is not supported and never will be 
in Linux - official Nvidia's statement. The similar situation is with 
ATI's fglrx and their switchable HD5470, which is quite common now.


So only opensource drivers with kernel  2.6.35 (SL6 is based on 
2.6.32), with vga_switcheroo 
(http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6a9ee8af344e3bd7dbd61e67037096cdf7f83289;). 
As a result you will have poor 3D acceleration, higher power consumption 
and no OpenCL or CUDA.


The best solution is to switch the dedicated graphic card off in BIOS.