Re: [SCIENTIFIC-LINUX-USERS] Local repo mirror problem on 6.4
On 04/10/2013 11:44 AM, Pat Riehecky wrote: Hi Stephen, I'd suggest a 'yum clean expire-cache' on the systems not recognizing the new packages. You may have old metadata on them. I would encourage you to consider mirroring via rsync, rather than reposync. Rsync will let you preserve hardlinks (and we've got a lot of them) which should translate into less space used on your end. http://www.scientificlinux.org/download/mirroring/mirror.rsync Pat Got an rsync of the 6.4 repo done and set up one system to use it and that system still does not see the newer autofs contained in the base os repo. Not sure if there are other packages in this same state, autofs is one that we use heavily here so any updates to it are noticed pretty quick. When I saw that it was available in the 6.4 repo and noticed that none of my 6.4 systems were getting that update it raised a flag. I can still run a yum localupdate path to new autofs and it works just fine. But there seems to be something wrong with the package or the repo keeping it from being seen as an update to the 6.3 version. -- Stephen Berg Systems Administrator NRL Code: 7320 Office: 228-688-5738 stephen.berg@nrlssc.navy.mil
Re: [SCIENTIFIC-LINUX-USERS] Local repo mirror problem on 6.4
On 2013-04-11 13:35, Stephen Berg (Contractor) wrote: Got an rsync of the 6.4 repo done and set up one system to use it and that system still does not see the newer autofs contained in the base os repo. Not sure if there are other packages in this same state, autofs is one that we use heavily here so any updates to it are noticed pretty quick. When I saw that it was available in the 6.4 repo and noticed that none of my 6.4 systems were getting that update it raised a flag. I can still run a yum localupdate path to new autofs and it works just fine. But there seems to be something wrong with the package or the repo keeping it from being seen as an update to the 6.3 version. What yum plugins are in use? Something like protectbase or priorities perhaps?
Re: Intel 3945 WiFi with SL 5.9
On Thu, Apr 11, 2013 at 6:55 AM, Yonggang y...@bnl.gov wrote: Hi, I just installed Redhat 5.9 32-bit on my laptop, which has Intel 3945 WiFi. However, I couldn't make it work. If you are running SL 5.9 32-bit with this WiFi interface, could you please let me know if you have the same issue? If yes, how did you get it solved? Thanks, Yonggang You need to provide more info than saying couldn't make it work . My guess is that you'd need the iwl3945 module. Is this loaded? /sbin/lsmod | grep iwl Are you using NetworkManager and is it configured correctly? Akemi
Bootable USB installer for SL6.3
For reasons unknown, RHEL and SL insist on publishing installer images that work only from the DVD physical media. But none of the computers I buy today have DVD drives and I am not sure if Staples carry DVD blanks anymore. I guess I must be happy that SL install images do not come on floppies, punch cards or paper tape. Generally, this does not inconvinience me too much - I do most installs over the network (PXE boot). But sometimes I have machines generally not connected to the Internet (on a private network or out in the woods), so I have constructed bootable USB images for SL6.1 and 6.3. (6.4 on the way). (This installer tree is a copy of the .../x86_64/os tree minus the Packages directory, plus the isolinux/extlinux stuff and the DVD .iso files. The SL installer refuses to install from the Packages directory) (There is one caveat with running the installer from writable media - the SL6.3 installer sometimes writes the GRUB boot loader on the USB installer disk instead of the installation target disks - producing an unbootable system and ruining the USB installer disk at the same time. I have not seen the SL6.1 installer do this. Maybe one should use write-protect capable USB flash media). Download the stuff from here: http://trshare.triumf.ca/~olchansk/linux/ Instructions are here: http://trshare.triumf.ca/~olchansk/linux/SL63-64-USBBOOT/AAA-README-USBBOOT.txt Instructions for making USB-Bootable installation disk for 64bit SL6.3 -- 0. These instructions are intended for making a 64-bit SL6.3 installer on a USB Flash disk. 8GB flash media is recommended. 1. The ISO DVD images are NOT included. Download your own copies, before following these instructions. 2. Prepare the USB disk: a) su - b) fdisk -H224 -S56 /dev/sdX, make one partition of type 83-Linux, mark it bootable. Result should look like this: root# fdisk -l /dev/sdX Disk /dev/sdc: 7996 MB, 7996440576 bytes 224 heads, 56 sectors/track, 1245 cylinders Units = cylinders of 12544 * 512 = 6422528 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sdc1 * 11245 7808612 83 Linux b) mke2fs -j /dev/sdX1; tune2fs -c0 -i0 /dev/sdX1 c) mkdir /mnt/tmp d) mount /dev/sdX1 /mnt/tmp 3. Copy the data: a) cd to_the_directory_with_this_readme_file; rsync -av . /mnt/tmp b) cd to_the_directory_with_the_SL63_iso_images; rsync -av SL-63-*-DVD1.iso SL-63-*-DVD2.iso /mnt/tmp c) cd /mnt/tmp; chown -R root.root . 4. Make disk bootable a) cd /mnt/tmp/isolinux b) cat ./mbr.bin /dev/sdX ### (*NOT* /dev/sdX1) c) ./extlinux -i . 5. cd /; umount /mnt/tmp 6. try to boot from the newly made USB disk. //KO 21FEB2013 -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
RE: Intel 3945 WiFi with SL 5.9
Thanks, Akemi. I am forwarding the email to my colleague, August Piazza. He has been trying to help me with this issue for two days, and can provide more information about the computer. August, could you please try the command and provide the output to Akemi? Yonggang -Original Message- From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Akemi Yagi Sent: Thursday, April 11, 2013 2:30 PM To: Mailling list for Scientific Linux users worldwide Subject: Re: Intel 3945 WiFi with SL 5.9 On Thu, Apr 11, 2013 at 6:55 AM, Yonggang y...@bnl.gov wrote: Hi, I just installed Redhat 5.9 32-bit on my laptop, which has Intel 3945 WiFi. However, I couldn't make it work. If you are running SL 5.9 32-bit with this WiFi interface, could you please let me know if you have the same issue? If yes, how did you get it solved? Thanks, Yonggang You need to provide more info than saying couldn't make it work . My guess is that you'd need the iwl3945 module. Is this loaded? /sbin/lsmod | grep iwl Are you using NetworkManager and is it configured correctly? Akemi
Re: On-line update diagnostics
On Thu, 11 Apr 2013, Yasha Karant wrote: After updating my IA-32 image SL 6 laptop to SL 6.4 using the update pathway from the automatically displayed anaconda GUI using the approximately 4Gbyte update/install DVD, rebooting and using the system, the red badge (Update Applet 2.28.3) with a bang appeared on the upper panel. The claim is presented for 148 updates. I attempted to use the automatically displayed GUI updater that is invoked from the red badge icon. In addition to be exceptionally slow because of poor USA DSL bandwidth at my home, the following diagnostics appeared: Traceback (most recent call last): File /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2798, in install_signature self.yumbase.getKeyForPackage(pkg, askcb = lambda x, y, z: True) File /usr/lib/python2.6/site-packages/yum/__init__.py, line 4765, in getKeyForPackage result, errmsg = self.sigCheckPkg(po) File /usr/lib/python2.6/site-packages/yum/__init__.py, line 2189, in sigCheckPkg sigresult = rpmUtils.miscutils.checkSig(ts, po.localPkg()) File /usr/lib/python2.6/site-packages/rpmUtils/miscutils.py, line 67, in checkSig fdno = os.open(package, os.O_RDONLY) OSError: [Errno 2] No such file or directory: '/var/cache/yum/i386/6.4/adobe-linux-i386/packages/AdbeRdr9.5.4-1_i486linux_enu.rpm' could not add package update for lcms2-2.3-2.el6(i686)epel: lcms2-2.3-2.el6.i686 I cancelled the update and will try again later. 1. Does anyone know what is causing the above (recall that the DVD 6.4 upgrade was successful)? Someone removed /var/cache/yum/i386/6.4/adobe-linux-i386/packages/AdbeRdr9.5.4-1_i486linux_ enu.rpm 2. As the on-line update is VERY slow for my situation, I attempted to let the process run overnight unattended. Is there anyway to do this automated install so that it will simply skip those packages that fail (as the above) without requiring root password authentication intervention, similar to the -y switch on fsck. I realize that such automation is not ideal, but it would be less total time to re-install from DVD in the event that the process resulted in a no-boot or highly unstable system. Thanks for any insight. Yasha Karant -Connie Sieh
Re: On-line update diagnostics
On Thu, 11 Apr 2013, Yasha Karant wrote: Konstantin, I do not do so deliberately -- but the mechanism I mentioned is the one that EL presents. The script you provide is not part of any howto that I can find -- and most of the time, neither my students/research associates or I have the time to research and develop/test such things unless necessary. (In some cases, as with the current Nvidia CUDA 5 setup, we do out of necessity.) Thank you for the contribution. A related question: is there a way to burn an update DVD that will contain the files that your script downloads and uses so that the update can be burned on a machine with decent network bandwidth (e.g., accessing the LambaRail or whatever the current name is for this research backbone) and then utilized locally without accessing any network? In other words, going to the repo list authorized for a machine -- how does one get just the updated (update) rpm (etc.) files that are needed and how does one organize these on the DVD image so that your script will use these from said DVD? Use rsync to download the files to a directory. Burn the files to media. Modify the /etc/yum.repos.d/ security config file to point to the dvd. Since rsync only downloads changed/new files then the bandwidth is less than copying the full directory all the time. If the local network is faster you could change the /etc/yum.repos.d/ security config file to point to your mirror that you created above. -Connie Sieh Thanks, Yasha On 04/11/2013 09:57 AM, Konstantin Olchanski wrote: Yasha - of all possibilities you always choose the most painful, without fail. I update SL6.x to SL6.4 using this script. Running the SL installer (anaconda) unnecessary pain. #!/bin/sh YES=-y cat /etc/redhat-release uname -a /bin/ls -ltr /boot | grep vmli | tail -1 yum clean all yum $YES --releasever=6.4 update sl-release yum clean all yum $YES update yum* rpm* yum $YES update K.O. On Thu, Apr 11, 2013 at 09:38:21AM -0700, Yasha Karant wrote: After updating my IA-32 image SL 6 laptop to SL 6.4 using the update pathway from the automatically displayed anaconda GUI using the approximately 4Gbyte update/install DVD, rebooting and using the system, the red badge (Update Applet 2.28.3) with a bang appeared on the upper panel. The claim is presented for 148 updates. I attempted to use the automatically displayed GUI updater that is invoked from the red badge icon. In addition to be exceptionally slow because of poor USA DSL bandwidth at my home, the following diagnostics appeared: Traceback (most recent call last): File /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2798, in install_signature self.yumbase.getKeyForPackage(pkg, askcb = lambda x, y, z: True) File /usr/lib/python2.6/site-packages/yum/__init__.py, line 4765, in getKeyForPackage result, errmsg = self.sigCheckPkg(po) File /usr/lib/python2.6/site-packages/yum/__init__.py, line 2189, in sigCheckPkg sigresult = rpmUtils.miscutils.checkSig(ts, po.localPkg()) File /usr/lib/python2.6/site-packages/rpmUtils/miscutils.py, line 67, in checkSig fdno = os.open(package, os.O_RDONLY) OSError: [Errno 2] No such file or directory: '/var/cache/yum/i386/6.4/adobe-linux-i386/packages/AdbeRdr9.5.4-1_i486linux_enu.rpm' could not add package update for lcms2-2.3-2.el6(i686)epel: lcms2-2.3-2.el6.i686 I cancelled the update and will try again later. 1. Does anyone know what is causing the above (recall that the DVD 6.4 upgrade was successful)? 2. As the on-line update is VERY slow for my situation, I attempted to let the process run overnight unattended. Is there anyway to do this automated install so that it will simply skip those packages that fail (as the above) without requiring root password authentication intervention, similar to the -y switch on fsck. I realize that such automation is not ideal, but it would be less total time to re-install from DVD in the event that the process resulted in a no-boot or highly unstable system. Thanks for any insight. Yasha Karant
Re: [SCIENTIFIC-LINUX-USERS] Bootable USB installer for SL6.3
On 04/11/2013 02:18 PM, Steven Haigh wrote: On 12/04/13 04:33, Konstantin Olchanski wrote: Instructions for making USB-Bootable installation disk for 64bit SL6.3 -- *snip* This seems like the long way... The method I've used is VERY simple: # dd if=/path/to/iso of=/dev/usbstick Then boot from the USB stick. I've done this for a netinstall of Fedora, SL, etc etc for a long, long time. I've found 'livecd-iso-to-disk' from the livecd-tools package found within sl-addons[1] (previously in SL itself) to be an excellent utility. Thanks Urs for your work here! Pat [1] http://ftp.scientificlinux.org/linux/scientific/6x/addons/ -- Pat Riehecky Scientific Linux developer http://www.scientificlinux.org/
RE: Intel 3945 WiFi with SL 5.9
Akemi, I appreciate it if you can help more after reading the information below. As for the Network Manager, I didn't see it on the task bar at all in the first try. August, Did you see the Network Manager after re-installing the OS? Did you use it? Thanks, Yonggang -Original Message- From: Piazza, August Sent: Thursday, April 11, 2013 3:14 PM To: Cui, Yonggang; Akemi Yagi; Mailling list for Scientific Linux users worldwide Subject: RE: Intel 3945 WiFi with SL 5.9 root@130-199-131-253 ~]# lsmod |grep iwl iwl394578145 0 iwlcore 112069 1 iwl3945 mac80211 138689 2 iwl3945,iwlcore cfg80211 141065 3 iwl3945,iwlcore,mac80211 When attempting to restart networking # /etc/init.d/network restart The following error appears Determining IP information for wland0 .. then fails. -Original Message- From: Cui, Yonggang Sent: Thursday, April 11, 2013 2:52 PM To: Akemi Yagi; Mailling list for Scientific Linux users worldwide Cc: Piazza, August Subject: RE: Intel 3945 WiFi with SL 5.9 Thanks, Akemi. I am forwarding the email to my colleague, August Piazza. He has been trying to help me with this issue for two days, and can provide more information about the computer. August, could you please try the command and provide the output to Akemi? Yonggang -Original Message- From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Akemi Yagi Sent: Thursday, April 11, 2013 2:30 PM To: Mailling list for Scientific Linux users worldwide Subject: Re: Intel 3945 WiFi with SL 5.9 On Thu, Apr 11, 2013 at 6:55 AM, Yonggang y...@bnl.gov wrote: Hi, I just installed Redhat 5.9 32-bit on my laptop, which has Intel 3945 WiFi. However, I couldn't make it work. If you are running SL 5.9 32-bit with this WiFi interface, could you please let me know if you have the same issue? If yes, how did you get it solved? Thanks, Yonggang You need to provide more info than saying couldn't make it work . My guess is that you'd need the iwl3945 module. Is this loaded? /sbin/lsmod | grep iwl Are you using NetworkManager and is it configured correctly? Akemi
Re: Intel 3945 WiFi with SL 5.9
Looks like the module is loaded. Please show us the output returned by: /sbin/modinfo iwl3945 Still not clear if you are using NetworkManager correctly. Akemi On Thu, Apr 11, 2013 at 12:26 PM, Piazza, August apia...@bnl.gov wrote: I've been through the network manager .. -Original Message- From: Cui, Yonggang Sent: Thursday, April 11, 2013 3:25 PM To: Piazza, August; Akemi Yagi; Mailling list for Scientific Linux users worldwide Subject: RE: Intel 3945 WiFi with SL 5.9 Akemi, I appreciate it if you can help more after reading the information below. As for the Network Manager, I didn't see it on the task bar at all in the first try. August, Did you see the Network Manager after re-installing the OS? Did you use it? Thanks, Yonggang -Original Message- From: Piazza, August Sent: Thursday, April 11, 2013 3:14 PM To: Cui, Yonggang; Akemi Yagi; Mailling list for Scientific Linux users worldwide Subject: RE: Intel 3945 WiFi with SL 5.9 root@130-199-131-253 ~]# lsmod |grep iwl iwl394578145 0 iwlcore 112069 1 iwl3945 mac80211 138689 2 iwl3945,iwlcore cfg80211 141065 3 iwl3945,iwlcore,mac80211 When attempting to restart networking # /etc/init.d/network restart The following error appears Determining IP information for wland0 .. then fails. -Original Message- From: Cui, Yonggang Sent: Thursday, April 11, 2013 2:52 PM To: Akemi Yagi; Mailling list for Scientific Linux users worldwide Cc: Piazza, August Subject: RE: Intel 3945 WiFi with SL 5.9 Thanks, Akemi. I am forwarding the email to my colleague, August Piazza. He has been trying to help me with this issue for two days, and can provide more information about the computer. August, could you please try the command and provide the output to Akemi? Yonggang -Original Message- From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Akemi Yagi Sent: Thursday, April 11, 2013 2:30 PM To: Mailling list for Scientific Linux users worldwide Subject: Re: Intel 3945 WiFi with SL 5.9 On Thu, Apr 11, 2013 at 6:55 AM, Yonggang y...@bnl.gov wrote: Hi, I just installed Redhat 5.9 32-bit on my laptop, which has Intel 3945 WiFi. However, I couldn't make it work. If you are running SL 5.9 32-bit with this WiFi interface, could you please let me know if you have the same issue? If yes, how did you get it solved? Thanks, Yonggang You need to provide more info than saying couldn't make it work . My guess is that you'd need the iwl3945 module. Is this loaded? /sbin/lsmod | grep iwl Are you using NetworkManager and is it configured correctly? Akemi
Re: Intel 3945 WiFi with SL 5.9
On Thu, Apr 11, 2013 at 1:08 PM, Piazza, August apia...@bnl.gov wrote: Below is the output of modinfonot sure what you mean by NetworkManager correctly. Please explain. [root@130-199-131-253 ~]# modinfo iwl3945 filename: /lib/modules/2.6.18-348.el5/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko firmware: iwlwifi-3945-2.ucode From what you have shown, it looks as if the correct module has been loaded. Please confirm that the firmware is there: ls -l /lib/firmware/ What is not clear is at what point you have difficulty connecting to wireless. Do you see available wireless connections? Use the iwlist command if necessary. Or is it when you attempt to make a connection that it failed? Could it be a security setup/password issue? If/when using NetworkManager, do you get a request for the keyring password? etc. Akemi
Re: Bootable USB installer for SL6.3
On 04/11/2013 01:33 PM, Konstantin Olchanski wrote: (There is one caveat with running the installer from writable media - the SL6.3 installer sometimes writes the GRUB boot loader on the USB installer disk instead of the installation target disks - producing an unbootable system and ruining the USB installer disk at the same time. I have not seen the SL6.1 installer do this. Maybe one should use write-protect capable USB flash media). a write-protected usb would be nice. it would have to be done in a way that it would be done at creation time. a switch would be nice, but it would have to be a very small switch for the pny 16g0 usb memory stick that i use. :-) as for your writing grub to the usb memory stick, how is grub installer being called? i installed sl 6.3 live cd to a 8g0 partition [i use sda2 for writing files i wish to install.] and had such happen several times. after which it started writing to _sdb1_. i am very curious as to what went on and why it now, so far, has started writing grub to correct partition. -- in a world with out fences, who needs gates. tc. hago. g .