Re: usb patch

2011-10-30 Thread Joshua J. Kugler
On Sunday, October 30, 2011, Stephen Isard elucidated thus:
 I have an RCA VR5320 digital voice recorder.  It has a usb connector,
 but isn't recognized by SL 5.6.  I get log messages of the form
 
 kernel: usb 1-5: new high speed USB device using ehci_hcd and address
 4 kernel: usb 1-5: ep0 maxpacket = 32
 
 This is evidently a known problem and there is a patch for
 drivers/usb/core/hub.c with the comment A few devices (such as the
 RCA VR5220 voice recorder) are so non-compliant with the USB spec
 that they have invalid maxpacket sizes for endpoint 0. 
 Nevertheless, as long as we can safely use them, we may as well do
 so.  I think this patch is incorporated in 2.6.32 kernels.
 
 Q1: Am I correct in thinking that I would have to compile a whole new
 kernel, as opposed to just a module, to incorporate a patch to hub.c?
 
 Q2: Is there any sort of module or userspace hack I could try
 instead?
 
 I don't want to get into a position of maintaining my own kernel. 
 I'd rather wait until I catch up with 2.6.32 and impose on friends
 with newer kernels or windows machines in the meantime.

A1: Yes, it is a single module, but you'd need to pull the source from 
the new kernel, since it is a kernel module.  You may be able compile it 
with the source of the current kernel, but since you're pulling from a 
new kernel, it might have dependencies in the newer kernel.  In other 
words, you're welcome to try.

A2: No userspace hack that I know of, as USB operations are a kernel-
level thing.

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: need help with gnutls and p11-kit

2011-09-27 Thread Joshua J. Kugler
On Tuesday, September 27, 2011, Howard, Chris elucidated thus:
 Because:
 
 1) this system is a rock-solid Oracle
 production box that I cannot upgrade without a major
 effort

Upgrades between minor releases (5.x - 5.y) have always been painless 
for me.  Just a matter of yum update.  Why would it entail major 
effort?

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: Scientific mirrors in Japan

2011-08-26 Thread Joshua J. Kugler
On Friday, August 26, 2011, Phil Perry elucidated thus:
 I have to agree, if you have a mirrorlist then it kind of makes sense
 to install yum-fastestmirror by default to make use of it.

For what it's worth, +1

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: request for package :: where to request?

2011-06-20 Thread Joshua J. Kugler
On Monday 20 June 2011, Adrian Sevcenco elucidated thus:
 Hi! I would like to request a package (cmake 2.8.4)(it is required by
 experiment) and i don't know where to address my plea :) .. of course
 i already build it from fedora 15 src.rpm but i would like to know it
 somewhere safe in a repository :)... besides that, i have a lots of
 warnings and 3 errors (some non executable scripts) when checking
 with rpmlint so i would like to have a package made by expert hands
 :)

What version of SL are you running?  If you are running version 5, it 
looks like EPEL already has you covered.

If you're running SL 6, it would appear to already be in the repository.

See http://fedoraproject.org/wiki/EPEL for getting started.

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: request for package :: where to request?

2011-06-20 Thread Joshua J. Kugler
Hmm...I didn't see it in EPEL6, so I assume it was in Redhat now. That 
is odd.

Hmm...cmake seems to be in SL6:

http://ftp.scientificlinux.org/linux/scientific/6/i386/os/Packages/

Search for 'cmake'

Version 2.6.4

Did you try

yum install cmake

?

j

On Monday 20 June 2011, Adrian Sevcenco elucidated thus:
 On 06/20/2011 09:56 PM, Joshua J. Kugler wrote:
  On Monday 20 June 2011, Adrian Sevcenco elucidated thus:
  Hi! I would like to request a package (cmake 2.8.4)(it is required
  by experiment) and i don't know where to address my plea :) .. of
  course i already build it from fedora 15 src.rpm but i would like
  to know it somewhere safe in a repository :)... besides that, i
  have a lots of warnings and 3 errors (some non executable scripts)
  when checking with rpmlint so i would like to have a package made
  by expert hands
 
  :)
 
  What version of SL are you running?  If you are running version 5,
  it looks like EPEL already has you covered.
 
  If you're running SL 6, it would appear to already be in the
  repository.

 SL 6.1 and i have epel repos and i seen no cmake  __2.8.4__

 Thanks,
 Adrian



-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: Errors of instrument control with PyVISA in Scientific Linux 5.5

2011-05-23 Thread Joshua J. Kugler
On Monday 23 May 2011, eigenroot elucidated thus:
 Hello everyone,

 I would like to control a Keithley source meter with PyVISA in the
 lab. The operating system is Scientific Linux 5.5, and the Python
 version is 2.4. I first installed NI-VISA's Linux package (
 http://joule.ni.com/nidu/cds/view/p/id/2040/lang/en) which was
 compatible with Scientific Linux 5, and then ctypes from
 http://python.net/crew/theller/ctypes/ and linux-gpib from
 http://linux-gpib.sourceforge.net/. After everything was done
 successfully I fired up an interactive Python session, and typed

 import visa

 No errors. And then I typed

 keithley = visa.instrument(GPIB::25)

 but got errors:

 Traceback (most recent call last):
   File stdin, line 1, in ?
   File /usr/lib/python2.4/site-packages/pyvisa/visa.py, line 287,
 in instrument
 interface_type, _ = \
   File /usr/lib/python2.4/site-packages/pyvisa/vpp43.py, line 777,
 in parse_resource
 byref(interface_board_number))
   File /usr/lib/python2.4/site-packages/pyvisa/vpp43.py, line 398,
 in check_status
 raise visa_exceptions.VisaIOError, status
 pyvisa.visa_exceptions.VisaIOError: VI_ERROR_LIBRARY_NFOUND: A code
 library required by VISA could not be located or loaded.


 Could anyone please help? Thanks very much~!

Is the library installed? Where is it installed? I've discovered that 
ctypes isn't always that smart. It might be looking for it in /usr/lib, 
but the library you want might be in /usr/local/lib, in which case, it 
might not be found.

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Problem using boot ISO

2011-05-17 Thread Joshua J. Kugler
I downloaded SL-60-i386-2011-03-03-boot.iso today.  The sha256sum checks 
out. I'm booting it in VMWare.  It goes through its media check and 
says it's OK.  Then, I get the message:

The Scientific Linux disc was not found in any of your drives. Please 
insert the Scientific Linux disc and press OK to retry.

Anyone have any ideas? I really don't want to download the DVD right 
now. :)

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: Problem using boot ISO

2011-05-17 Thread Joshua J. Kugler
That is odd. Because, the ISO will give you the option of 
choosing Local CD/DVD when it asks you What type of media contains 
the installation image?

Ah well, entering this URL:

http://ftp1.scientificlinux.org/linux/scientific/6.0/i386/os/

as the URL for the installation image seems to be working now.  A bit 
slow, but it seems to be working. :)

j

On Tuesday 17 May 2011, you said:
 I think I encountered that problem once.  I believe I downloaded and
 tried that ISO thinking it would allow me to boot from a central
 server (over the internet) for the remainder of the files needed. 
 Apparently it is used to boot and look on your local network for
 files in a specific location (for the Scientific linux disc).

 Urs Beyerle has a nice live CD that does the job for less than 700M.
 http://distrowatch.com/?newsid=06560

 On Tue, May 17, 2011 at 6:01 PM, Joshua J. Kugler 
jos...@azariah.comwrote:
  I downloaded SL-60-i386-2011-03-03-boot.iso today.  The sha256sum
  checks out. I'm booting it in VMWare.  It goes through its media
  check and says it's OK.  Then, I get the message:
 
  The Scientific Linux disc was not found in any of your drives.
  Please insert the Scientific Linux disc and press OK to retry.
 
  Anyone have any ideas? I really don't want to download the DVD
  right now. :)




-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: Problem using boot ISO

2011-05-17 Thread Joshua J. Kugler
On Tuesday 17 May 2011, Jim McCarthy elucidated thus:
 I'm not an expert, but I believe the boot ISO is just that -- a
 bootable disk that is sufficient to initiate an installation, but not
 sufficient in terms of having all the RPMs needed for an install.  In
 the past I've used the boot ISO only when doing a network install
 -- did you see an option for giving an FTP or HTTP internet location
 for all the RPMs needed for the installation ?

 I suggest looking at the on-line release notes / installation
 instructions for a network install.

OK, that does clarify things.

The readme says this:

SL-60-i386-date-boot.iso
Example: SL-60-i386-2011-03-03-boot.iso
  This is the network install and rescue image.
  This image is designed to be burned onto a CD.  You then
boot your computer off the CD

I've not done a network install of an RH-derived distro for quite a 
while. A Debian network install boots up, starts the install, runs 
you through partitioning, etc, then finds a mirror and pulls down the 
packages needed for install.  While you can add module to the installer 
at run time, it does not pull down an install image.

 Hope this helps,

Yeah, it does. Just different worlds. :)

 -Original Message-
 From: owner-scientific-linux-us...@listserv.fnal.gov
 [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of
 Joshua J. Kugler
 Sent: Tuesday, May 17, 2011 4:02 PM
 To: scientific-linux-us...@fnal.gov
 Subject: Problem using boot ISO

 I downloaded SL-60-i386-2011-03-03-boot.iso today.  The sha256sum
 checks out. I'm booting it in VMWare.  It goes through its media
 check and says it's OK.  Then, I get the message:

 The Scientific Linux disc was not found in any of your drives. Please
 insert the Scientific Linux disc and press OK to retry.

 Anyone have any ideas? I really don't want to download the DVD right
 now. :)

 j



-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A