Re: [SCIENTIFIC-LINUX-USERS] SL7 DVD creation

2016-04-21 Thread Mark Stodola

This is exactly what I was looking for.  Thank you!
Now to learn some new tools...

-Mark
On 04/21/2016 01:39 PM, Pat Riehecky wrote:

Hi Mark,

We use lorax (in SL) to create the install trees and pungi to create the
media (was in EPEL).

You can host an SL context on the DVD following:
http://ftp.scientificlinux.org/linux/scientific/7/contexts/#_context_directory_structure


You can also use the attached script to build a DVD.

Pat

On 04/21/2016 01:28 PM, Mark Stodola wrote:

I'm working on making the jump from SL5 to 7 (skipped over 6).  For
SL5 I have a nice shell script that unpacks the official DVD iso,
adds/removes a few packages, rebuilds the repo data, tosses in a
custom syslinux config and kickstart files, and finally builds a
resultant bootable respun iso image.

From a quick search, I found instructions on using revisor for SL6.  I
don't see revisor in any of the SL7 repos and don't see updated
information on the website.

I see this "Context" idea, but it seems overkill and (possibly)
network dependent.  I want everything to end up right on the install
DVD for easy off-line installation.  My existing setup has some
workarounds and kludges to make it work, and would prefer to attempt
to use the modern, accepted method for doing this. Especially for the
EFI booting.

Any help or directional pointing is much appreciated.  Pat, is the
toolset used to build the official images available somewhere for
consumption?

-Mark




SL7 DVD creation

2016-04-21 Thread Mark Stodola
I'm working on making the jump from SL5 to 7 (skipped over 6).  For SL5 
I have a nice shell script that unpacks the official DVD iso, 
adds/removes a few packages, rebuilds the repo data, tosses in a custom 
syslinux config and kickstart files, and finally builds a resultant 
bootable respun iso image.


From a quick search, I found instructions on using revisor for SL6.  I 
don't see revisor in any of the SL7 repos and don't see updated 
information on the website.


I see this "Context" idea, but it seems overkill and (possibly) network 
dependent.  I want everything to end up right on the install DVD for 
easy off-line installation.  My existing setup has some workarounds and 
kludges to make it work, and would prefer to attempt to use the modern, 
accepted method for doing this.  Especially for the EFI booting.


Any help or directional pointing is much appreciated.  Pat, is the 
toolset used to build the official images available somewhere for 
consumption?


-Mark


Re: darktable

2016-04-13 Thread Mark Stodola

On 04/13/2016 01:30 AM, Yasha Karant wrote:

Is there any port of:

Grab the latest source tarball (recent version: darktable 2.0.3) – make
sure to use the .tar.xz file

to SL 7x?

Yasha Karant


There is a Fedora package, I would start there. You can always grab the 
source rpm and try recompiling.  They list the deps on their install 
page in the Fedora section.


Re: Offline update FAQ?

2016-03-02 Thread Mark Stodola

On 03/02/2016 09:12 AM, Howard, Chris wrote:

Can someone point me to a good cookbook for doing offline updates?

My fuzzy understanding is that I would build an internet-accessible
SL system, then periodically create my own repository
and from that cook a DVD and take it to the non-internet-accessible machine
and run Yum against it.

I need help filling in the steps.

Chris



You've got the right steps.  Using rsync is probably the easiest way to 
mirror a repo.  If I recall, examples are on the SL website, and I think 
Nico has posted links to the tools he has written as well.


Once you have the repo mirrored, you can burn it to DVD or copy to USB 
drive, etc.


On the offline machine, you need to edit or create a new file in 
/etc/yum.repos.d/.  It is probably easiest to copy an existing one if 
creating a separate, new repo.  Give the repo an alias in the [] and set 
the baseurl=file://path/to/repo/.  This is the directory containing the 
'repodata' directory.  If you have enabled=1, it will catch it with 
standard yum.  Otherwise you will need to pass 
--enablerepo=alias-you-used to yum with your commands.


Re: fglrx problems

2016-01-15 Thread Mark Stodola

On 01/15/2016 08:36 AM, Ken Teh wrote:

I installed a Radeon 5450 card in an SL6.7 machine in the hopes of
getting a higher resolution video.  The on-board could only handle
1280x1024.  But I've been unable to get it to work.  At first I thought
I bought the wrong card - a Radeon 6430.  So, I ordered a 5450 after
looking through the list of supported chipsets reported in the
Xorg.0.log file.  The 6430 was not listed even though it did list 6000
series.  The 5450 was explicitly listed.

But the net effect is the same.  The Xorg.0.log reports no screens
found.  It apparently starts with a

[KMS] drm report modesetting isn't supported

Then, starts to go through a series of fallbacks, deleting each Screen 0
because there was no matching config section.

I would appreciate any help you can provide.

Thanks.


Try installing the kmod-fglrx/fglrx-x11-drv packages from elrepo.  This 
is ATI's binary driver and is generally kept up to date.


-Mark


Re: SL 6.7 Kernel headers misses typedef sa_family_t

2016-01-14 Thread Mark Stodola

On 01/14/2016 04:06 AM, André Hartmann wrote:

Hello List,

I have written a program which uses SocketCAN for CAN communication.
The development takes place under Ubuntu Linux and compilation is fine
there (also cross-compilation for an embedded ARM Linux).

But when I compile my program under Scientific Linux 6.7, I get the
following errors:

"
In file included from socket_can/receivethread.h:6,
  from socket_can/receivethread.c:4:
/usr/include/linux/can.h:81: error: expected specifier-qualifier-list
before 'sa_family_t'
socket_can/receivethread.c: In function 'receivethread_init':
socket_can/receivethread.c:52: error: 'struct sockaddr_can' has no
member named 'can_family'
socket_can/receivethread.c:53: error: 'struct sockaddr_can' has no
member named 'can_ifindex'
"

Searching for the definition of sa_family_t gave a lot of usages,
but no definition:

$ cd /usr/include/linux
$ grep -r sa_family_t
llc.h:sa_family_t sllc_family;/* AF_LLC */
llc.h:sa_family_tsllc_arphrd;/* ARPHRD_ETHER */
llc.h:unsigned char   __pad[__LLC_SOCK_SIZE__ - sizeof(sa_family_t)
* 2 -
rose.h:sa_family_tsrose_family;
rose.h:sa_family_tsrose_family;
x25.h:sa_family_t   sx25_family;/* Must be AF_X25 */
if_pppox.h:   sa_family_t sa_family;/* address
family, AF_PPPOX */
if_pppox.h:sa_family_t sa_family;  /* address family,
AF_PPPOX */
in.h:  sa_family_tsin_family;/* Address family*/
ax25.h:sa_family_tsax25_family;
ipx.h:sa_family_tsipx_family;
netlink.h:#include  /* for sa_family_t */
netlink.h:sa_family_tnl_family;/* AF_NETLINK*/
can.h:sa_family_t can_family;
phonet.h:sa_family_t spn_family;
phonet.h:__u8 spn_zero[sizeof(struct sockaddr) - sizeof(sa_family_t)
- 3];
un.h:sa_family_t sun_family;/* AF_UNIX */
irda.h:sa_family_t sir_family;   /* AF_IRDA */
atalk.h:sa_family_t  sat_family;

If I add the typedef to socket.h, everything is fine until the next
kernel update:

typedef unsigned short sa_family_t;

The system is:

$ uname -a
Linux sl67-x64 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 08:24:23 CST
2015 x86_64 x86_64 x86_64 GNU/Linux

Any opinion on this?

Best regards,
André


It looks like sa_family_t has been morphing over time.  In SL5, it is 
indeed defined in linux/socket.h.  In SL6 I find it defined in 
bits/sockaddr.h.  In SL7 it continues to be in bits/sockaddr.h, but 
there is also __kernel_sa_family_t defined in linux/socket.h.


Try adding bits/sockaddr.h to your includes.

-Mark


Re: Dell Precision T1700 default xorg.conf file needed

2016-01-13 Thread Mark Stodola

On 01/13/2016 01:35 AM, Yasha Karant wrote:

On 01/11/2016 08:52 AM, Akemi Yagi wrote:

On Mon, Jan 11, 2016 at 8:43 AM, Mark Stodola <stod...@pelletron.com
<mailto:stod...@pelletron.com>> wrote:

On 01/11/2016 09:57 AM, Yasha Karant wrote:

On 01/09/2016 04:37 PM, Akemi Yagi wrote:


If you are sure the xorg.conf file existed but has been
removed with
no backup, then it was not done by ELRepo. I suggest you
look into the
code. You will find that ELRepo's package would not remove
xorg.conf
without backing up.


I respectfully disagree.  It is possible that there were multiple
installs/updates of the ELRepo driver during the experimental
stages of
getting
SL 7 to work on the platform as the platform was delivered.
But -- both
the primary and backup copies have an ElRepo comment and no
"stock"
content.  Because of the way the Dell boot bios interacted
with the
platform after a power outage (beyond the limits of the small UPS
attached to the unit -- that may need new batteries but the
Department
may not have the money to maintain), the only way to get to
the obvious
Dell boot configuration screen (GUI driven) was to remove the
Nvidia
card -- and the system does now boot to the text terminal
interface, but
no GUI.

I can email to you the xorg.conf files I found on the machine
after the
above actions.  I will do additional digging. Meanwhile, no
one has
responded so I either will find the X11 xorg configuration
utility or
attempt to copy one from a working machine that has no Nvidia
card.

Yasha


I haven't had much time to work with SL7 yet, but isn't it the
case that there is no xorg.conf by default?  Try just renaming the
nvidia generated one and see what happens.  I think the X server
attempts to autodetect settings, which has gotten fairly reliable
over the years for the most common setups.

-Mark


That is my understanding. In SL7, there should be no xorg.cong file by
default. In fact, |xorg.conf| is marked as deprecated in EL6, but will
still be used if it is present. Graphical settings are supposed to be
automatically detected and configured by the X server.

Akemi


Precisely the problem.  The Nvidia X11 driver package seems to have
"hardwired" some version of the Nvidia (not noveau) driver into the
system.  How does one find this and revert to "stock"  for an Intel
graphics driver or for some more generic VGA style driver?   If I list
the installed RPMs and remove the Nvidia RPM will this address the issue?

My laptop (upon which I am now working) has a laptop Nvidia "card". Thus,

rpm -qa reveals

nvidia-x11-drv-352.41-1.el7.elrepo.x86_64

when I do the same on the workstation in question, I presume I will find
a similar (but perhaps different numbered) nvidia-*-el7.elrepo.x86_64;
if I rpm -e the version on the workstation, will this action force a
return to "default/stock" or must I do something in addition?

Yasha Karant



Uninstalling both the kmod-nvidia and the nvidia-x11-drv should do the 
trick.  It may leave behind the xorg.conf for you to manually remove, 
depending on how the rpm was configured during build.


It is the kmod-nvidia module which does the nouveau blacklisting using 
/usr/lib/modprobe.d/blacklist-nouveau.conf.


-Mark


Re: a year later - CERN move to Centos - what are we doing?

2016-01-12 Thread Mark Stodola

Since this is becoming a top-post thread, I will continue the trend.

CentOS does not offer a support contract like RHEL.  Why would a company 
compete with itself?  It is essentially a community supported release of 
RHEL, just like SL.


Of course, some one please correct me if I am wrong here...

This is not a new topic, and was discussed at length when RedHat 
announced the acquisition of CentOS and changes to the build process. 
To my knowledge, the SL team had discussions with the CentOS and RedHat 
people on how to move forward.  The SL team decided to continue as a 
complete separate distribution instead of become in extra 
repository/site for the foreseeable future.


One of the key features I like about SL is the ability to stay on a 
specific point release and still receive relevant updates.  There are 
probably several other reasons Connie or Pat could elaborate on as well.


In the end, it is up to personal/company preference with any 
distribution you chose to use.  That is part of what open source is 
about.  Arguing for distribution usage/mergers doesn't really do 
anything productive here in a users' mailing list.


-Mark


On 01/12/2016 02:10 PM, Miles O'Neal wrote:

Has CentOS got support yet? My employer moved to RHEL because we got
tired of fighting third party vendors over their support on non-RHEL
platforms, but I personally always found SL to be more consistent and
quicker to release... and they had much better support.

On 01/12/2016 02:04 PM, lejeczek wrote:

hi,
after my first post I made a move, I should say a smaller rather, I
did migrate a small HA cluster from SL7.1 to Centos7.2.
Instructions to do that I'm sure everybody can easily look up, just
one tiny manual intervention was needed above what is already covered
by a doc on Centos website.
But most importantly nothing broke, all the usual servers, web, mail,
other net related services including HA carried on seamlessly.
Like I said earlier, and everybody knows, a lot, a lot is already
shared, differences boil down to maybe a philosophy behind each
organization responsible for each snip-off, some organizational and
administrative processes, protocols.
Slight advantage seems that Centos offers, but expected as they are
closer to the source in the lifecycle supply chain, is higher revision
of some rpm packages, I see I get slightly newer kernel for example, etc.

If I was to voice my opinion out - and scientific devel & other
responsible culprits are listening - then I say: go for it, get
together, merge userbase, share devel jobs, duties, etc. Merge/share
or even better, tell Redhat we want to use their, shared by all, bug
reporting system.

I've decided, I'll be moving over to Centos, gradually but surely.
Note, one thing to remember if you did SL -> Centos, afterwards, is
yum repos, make sure what you have enabled there.

cheers

On 12/01/16 09:48, lejeczek wrote:

hi everybody,

I've wondered and got curious, what do you guys, gals think about
that move?
More importantly do you think it's a step we SL users should also
consider?
CERN mention there were talks between them, Fermilab - what are
Fermilab plans with regards to future releases, with regards to SL in
general? (Not much info on the website.)
I personally am just about to trial a migration from SL7 to Centos.
I'm thinking it's inevitable, am I wrong?

best wishes.




--
Miles O'Neal
CAD Systems Engineer
Cirrus Logic | cirrus.com | 1.512.851.4659


Re: Dell Precision T1700 default xorg.conf file needed

2016-01-11 Thread Mark Stodola

On 01/11/2016 09:57 AM, Yasha Karant wrote:

On 01/09/2016 04:37 PM, Akemi Yagi wrote:

On Sat, Jan 9, 2016 at 12:34 PM, Yasha Karant > wrote:

The ElRepo Nvidia driver seems to have erased (not backed up) the
default X11 xorg.conf file on a Dell Precision T1700 with an addon
Nvidia
card.


If you are sure the xorg.conf file existed but has been removed with
no backup, then it was not done by ELRepo. I suggest you look into the
code. You will find that ELRepo's package would not remove xorg.conf
without backing up.

In the %post section:

[code]
# Check if xorg.conf exists, if it does, backup and remove [BugID #
127]

[ -f %{_sysconfdir}/X11/xorg.conf ] && \

mv %{_sysconfdir}/X11/xorg.conf
%{_sysconfdir}/X11/xorg.conf.elreposave &>/dev/null

[/code]

Hope you can find the real cause of the trouble you are having.

Akemi

I respectfully disagree.  It is possible that there were multiple
installs/updates of the ELRepo driver during the experimental stages of
getting
SL 7 to work on the platform as the platform was delivered.  But -- both
the primary and backup copies have an ElRepo comment and no "stock"
content.  Because of the way the Dell boot bios interacted with the
platform after a power outage (beyond the limits of the small UPS
attached to the unit -- that may need new batteries but the Department
may not have the money to maintain), the only way to get to the obvious
Dell boot configuration screen (GUI driven) was to remove the Nvidia
card -- and the system does now boot to the text terminal interface, but
no GUI.

I can email to you the xorg.conf files I found on the machine after the
above actions.  I will do additional digging.  Meanwhile, no one has
responded so I either will find the X11 xorg configuration utility or
attempt to copy one from a working machine that has no Nvidia card.

Yasha


I haven't had much time to work with SL7 yet, but isn't it the case that 
there is no xorg.conf by default?  Try just renaming the nvidia 
generated one and see what happens.  I think the X server attempts to 
autodetect settings, which has gotten fairly reliable over the years for 
the most common setups.


-Mark


Re: glibc debuginfo version mismatch

2015-10-01 Thread Mark Stodola
The glibc-2.12-1.166.el6_7.3.x86_64.rpm and the rest of the family there 
that match the offending debuginfo package are in the 6x fastbugs.  You 
have the base and security for 6x enabled, but not fastbugs. What 
version of 6 are you on?  Maybe the debuginfo ended up in one of the 
point release fastbugs by accident...  Can you check which repo the 
debuginfo package came from?


Try enabling the 6x fastbugs repo and see if it cleans up.

-Mark

On 10/01/2015 04:18 PM, Benjamin Moody wrote:

Hi,

My SL6 system seems to have recently upgraded glibc-debuginfo to version
  2.12-1.166.el6_7.3.x86_64

However, glibc is still at version
  2.12-1.166.el6.x86_64

The two packages are not compatible (e.g., gdb shows errors about CRC
mismatches.)

Running the command that gdb recommends ("debuginfo-install
glibc-2.12-1.166.el6.x86_64") gives
   Package matching glibc-debuginfo-2.12-1.166.el6.x86_64 already
installed. Checking for update.
   ...
   No debuginfo packages available to install

- Do I somehow have the wrong debuginfo yum repository configured?
- Is there a way to force yum to install the correct version of glibc-debuginfo?
- Does the corresponding glibc package exist somewhere and should I
upgrade to it?

Here are my currently enabled repositories...

/etc/yum.repos.d # egrep '^(name|baseurl|enabled)' *.repo
epel-testing.repo:name=Extra Packages for Enterprise Linux 6 - Testing
- $basearch
epel-testing.repo:enabled=0
epel-testing.repo:name=Extra Packages for Enterprise Linux 6 - Testing
- $basearch - Debug
epel-testing.repo:enabled=0
epel-testing.repo:name=Extra Packages for Enterprise Linux 6 - Testing
- $basearch - Source
epel-testing.repo:enabled=0
epel.repo:name=Extra Packages for Enterprise Linux 6 - $basearch
epel.repo:enabled=0
epel.repo:name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
epel.repo:enabled=0
epel.repo:name=Extra Packages for Enterprise Linux 6 - $basearch - Source
epel.repo:enabled=0
sl-livecd-extra.repo:name=Extra Packages for LiveCD/DVD $releasever - $basearch
sl-livecd-extra.repo:baseurl=http://www.livecd.ethz.ch/download/sl-livecd-extra/$releasever/$basearch
sl-livecd-extra.repo:enabled=0
sl-other.repo:name=Scientific Linux $releasever - $basearch - fastbug updates
sl-other.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/fastbugs/
sl-other.repo:enabled=0
sl-other.repo:name=Scientific Linux Debuginfo
sl-other.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/archive/debuginfo/
sl-other.repo:enabled=0
sl-other.repo:name=Scientific Linux Testing - $basearch
sl-other.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6rolling/testing/$basearch/
sl-other.repo:enabled=0
sl-other.repo:name=Scientific Linux Testing - Source
sl-other.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6rolling/testing/SRPMS/
sl-other.repo:enabled=0
sl-other.repo:name=Scientific Linux Addon Packages
sl-other.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/addons
sl-other.repo:enabled=0
sl.repo:name=Scientific Linux $releasever - $basearch
sl.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
sl.repo:enabled=1
sl.repo:name=Scientific Linux $releasever - $basearch - security updates
sl.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
sl.repo:enabled=1
sl.repo:name=Scientific Linux $releasever - Source
sl.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
sl.repo:enabled=0
sl6x.repo:name=Scientific Linux 6x - $basearch
sl6x.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6x/$basearch/os/
sl6x.repo:enabled=1
sl6x.repo:name=Scientific Linux 6x - $basearch - security updates
sl6x.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6x/$basearch/updates/security/
sl6x.repo:enabled=1
sl6x.repo:name=Scientific Linux 6x - $basearch - fastbug updates
sl6x.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6x/$basearch/updates/fastbugs/
sl6x.repo:enabled=0
softwarecollections.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6x/external_products/softwarecollections/$basearch/
softwarecollections.repo:enabled=1
softwarecollections.repo:baseurl=http://ftp.scientificlinux.org/linux/scientific/6x/external_products/softwarecollections/SRPMS/
softwarecollections.repo:enabled=0



Re: Help - Synaptics touchpad not working in 7.1

2015-07-20 Thread Mark Stodola

On 07/19/2015 07:38 PM, dgr...@ieee.org wrote:

Hi,

My Dad for me a new laptop when I was in hospital last week (scientific
epilepsy):
http://www.novatech.co.uk/laptop/range/novatechnspiren1735.html

All things work except for the touchpad.
The Windoz install discs have Synaptics drivers.

Neither lsusb or lspci show anything relating.

After much playing around the strong suspicion is that either the kernel
3.10 or x11 do not support it.

Any help would be kindly appreciated.
Gentoo or Funtoo are undesirable options.

Pity, it's a nice 4 wide thing that just fits a 120lbs rock and ice
climbers hands.
Heck, can scratch the knees without bending.



Check out post #11 at this link:
http://www.linuxquestions.org/questions/linux-newbie-8/touchpad-not-working-in-linux-mint-17-a-4175514286/

It looks like it can be fixed with a kernel boot option.


Re: [SCIENTIFIC-LINUX-USERS] Repo error after 7.0 to 7.1 upgrade

2015-04-15 Thread Mark Stodola

On 04/15/2015 10:49 AM, John Pilkington wrote:

On 15/04/15 15:38, Pat Riehecky wrote:



On 04/15/2015 09:13 AM, John Pilkington wrote:

On 15/04/15 14:37, Pat Riehecky wrote:

can I have you run:

yum clean expire-cache

and see if the errors persist?

Pat


I've been through the sequence twice.  Still exactly the same. Thanks.

John


What is the output of

df -h /var/cache/yum

Pat


[john@HP_Box ~]$ df -h /var/cache/yum
Filesystem   Size  Used Avail Use% Mounted on
/dev/mapper/sl-root   50G   12G   39G  23% /
[john@HP_Box ~]$

I downloaded (with Firefox)
http://ftp2.scientificlinux.org/linux/scientific/7x/x86_64/updates/security/repodata/primary.sqlite.bz2


It's 764.2 KiB.  And I don't see a problem unless 7x-security is enabled.


I'm guessing Pat had a typo and meant either:
du -h /var/cache/yum
OR
du -sh /var/cache/yum

-Mark


Re: IMAP client backup applications

2015-03-10 Thread Mark Stodola

On 3/9/2015 6:20 PM, Yasha Karant wrote:

On 03/07/2015 04:21 PM, Chris Schanzle wrote:

On 03/06/2015 06:58 PM, Yasha Karant wrote:
My department is being forced by the university administrative IT 
unit to MS Office365 distributed server (cloud) email service, as 
I have communicated in a previous query.  We are now being advised 
by others who have been forced to do this -- but of course not by IT 
-- to backup all of our email.  I use Mozilla Thunderbird, incoming 
IMAP, outgoing to a designated SMTP server.   I have found


http://www.beyondinbox.com/beyondinbox-download.html

licensed for fee that claims to function under Linux, MacOS X, and 
MS Windows for this purpose.  There are concerns to find a viable 
licensed-for-free product that will copy IMAP folders and all of the 
contents thereof to a local harddrive directory/file structure and 
that can restore these same IMAP folders and the contents thereof 
back to a remote IMAP service -- thus guarding against loss -- up to 
the last backup snapshot -- of all email.


Has anyone any experience with the above application?  is there a 
licensed for free reliable, viable alternative, GUI preferred, for 
Linux?


Yasha Karant


I've had good luck with imapsync[1] to make backup copies to another 
IMAP server.  It's smart and useful for migrating many accounts from 
one imap service to another, but it's also useful for just syncing 
one account.


When we migrated to the cloud, I had expectations of the cloud just 
vaporizing or turning into a thundercloud and taking a dump on us, 
but it has been OK.  MS hasn't lost any of our mail. Thunderbird does 
occasionally re-download all folders on my various systems (fedora, 
windows, CentOS 6) which takes a long time for my years of email 
archives due to their throttling (which has vastly improved as well 
-- use to take a week with many fatal errors while using it normally; 
now completes in about a day and rarely a failure).  The root cause 
of this is unknown - could be when they move me to another 'pod' or 
when they muck with my folders (redownload happened recently when 
they added Clutter).


[1] http://imapsync.lamiral.info/


At present, my department chair is suggesting:

http://www.mailstore.com/en/mailstore-home-email-archiving.aspx

that is licensed for free for home use -- presumably meaning single 
user unless one really must work from home for this use.


Note that this application does not support Linux.  Hence, my plan 
is:  under SL run VirtualBox running MS Win 7 pro running the above 
application, but save all of the produced files on the Linux side 
using VirtualBox shared folders.  Many of my colleagues here do not 
use MS Win as the primary OS environment; most use Linux or MacOS X 
with open system extensions (e.g., fink).  The colleague who suggested 
the above application is using MS Win on his workstation.


Has anyone had any experience with this sort of scheme or this 
application?


Yasha Karant


I would just pick something that seems to have merit and _try_ it.  At 
worst, it doesn't do what you intended and you go find something else to 
try.  I am in a similar situation (mail migration) and am planning on 
trying Chris's suggestion of imapsync.


Setting up an entire virtual machine seems a bit overblown for email 
save/restore.  Also, don't get too caught up on the licensing.  If you 
are doing it 1 time for a handful of users, I wouldn't worry too much.  
If you are going to use it on a regular basis, continuously, then the 
licensing becomes much more of an issue.  If you look at the licensing 
plans, you can see it is bracketed by user count and on an annual basis, 
targeted as a long term backup solution.


My advice, if you are using linux, find a linux solution.  There are 
dozens of scripts/programs out there to do this, just pick one and 
experiment.


-Mark


Re: SL7 install fails on EEEPC-100HD

2014-11-10 Thread Mark Stodola

On 11/10/2014 08:31 AM, Charles Elsaesser wrote:


Hello,

when trying to install
SL-7-x86_64-Everything-Dual-Layer-DVD.iso
from an usbkey created with
dd if=SL-7-x86_64-Everything-Dual-Layer-DVD.iso of=/dev/sdc bs=512
installation request goes on on most of x86_64 computers.

But on EEEPC-1000hd ( celeron processor, 900mhz), installation process
stops at boot request
boot:
and following messages are issued:
boot:
Failed to load libcom32.c32
Failed to load COM32 file vesamenu.c32

Is it completely impossible to run the boot process on EEEPC-1000hd
because it's known as a 32bits machine?

Can something be done to overcome this failing step?

Should I come back, to
SL-6.6-i386-2014-11-05-Everything-DVD1.iso
SL-6.6-i386-2014-11-05-Everything-DVD2.iso
?

Thank you for your help

Charles




Charles,

You are correct, the 1000HD uses a Celeron M 353 which is a 32-bit only 
processor.  SL7 is only available as a 64-bit OS.  You will have to 
stick with SL6 in this case or switch to another distribution that still 
builds for 32-bit.


I'm a bit sour over TUV's choice to drop 32-bit, but you have to roll 
with the punches.


-Mark


Re: any workaround for `GLIBC_2.14' not found on SL 6x

2014-08-30 Thread Mark Stodola

On 8/30/2014 12:02 PM, Yasha Karant wrote:

On 08/30/2014 03:50 AM, Nico Kadel-Garcia wrote:
On Sat, Aug 30, 2014 at 12:16 AM, Yasha Karant ykar...@csusb.edu 
wrote:
Is there any workaround for the issue below other than moving to SL 
7 (once

that release goes into production from beta)?

ykarant@jb344 Downloads]$ /usr/bin/AfterShotPro2X64
Install Path:   /opt/AfterShotPro2(64-bit)
LD_PATH:/opt/AfterShotPro2(64-bit)/lib:
XLIB_SKIP_ARGB_VISUALS: 1
./AfterShotPro: /lib64/libc.so.6: version `GLIBC_2.14' not found 
(required

by /opt/AfterShotPro2(64-bit)/lib/libstdc++.so.6)
./AfterShotPro: /lib64/libc.so.6: version `GLIBC_2.17' not found 
(required

by /opt/AfterShotPro2(64-bit)/lib/libstdc++.so.6)
./AfterShotPro: /opt/AfterShotPro2(64-bit)/lib/libuuid.so.1: no version
information available (required by /usr/lib64/libSM.so.6)
[ykarant@jb344 Downloads]$

Yasha Karant

Since it's commercial software, maybe you could ask *them*?
I already have.  As Corel (which bought Bibble -- strange -- if 
corporations are people, and corporations can buy other corporations, 
why cannot non-incorporated real human people buy other 
non-incorporated real human people -- perhaps because corporations are 
not people but merely engines of avarice) effectively was bought by 
Microsoft a number of years ago, their technical support for Linux is 
not superb.  Otherwise, Corel would keep (as does VirtualBox owned by 
Oracle, a parent corporation that competes with Red Hat for EL 
for-profit support) versions around that are in fact directly 
compatible with most distros. Interestingly, the IA-32 version (32 bit 
linux) runs fine under IA-32 SL 6x.


Speaking of which, is there any other workflow package that works as 
well or better directly under Linux (I do not mean Photoshop under MS 
Windows under VirtualBox under Linux -- I do mean native)?  I have 
tried gimp, but the import facilities for imaging vendor proprietary 
image formats (raw, e.g., Nikon NEF) is not as effective.  I do not 
run Mac OS X (a typical image manipulation environment) because none 
of our primary machines (both fixed workstations as well as laptops) 
are sold by Apple and thus it is software piracy in the USA to run Mac 
OS X on such machines (Apple will not sell a license for Mac OS X for 
non-Apple machines ) -- otherwise Mac OS X with fink or the equivalent 
might be a solution.


Yasha Karant


This might be a case where another distribution will fit your needs 
better.  Does Corel have a list of supported OSes you can reference?


-Mark


Re: rpm problem

2014-07-24 Thread Mark Stodola

On 07/24/2014 02:00 PM, ToddAndMargo wrote:

On 07/23/2014 09:05 AM, Mark Stodola wrote:

On 07/23/2014 10:43 AM, ToddAndMargo wrote:

Hi All,

I am having trouble installing the PDF Studio RPM.

https://www.dropbox.com/s/slgrnolcsktaezz/PDFStudio_v9_0_2_linux.rpm

# cat /etc/redhat-release
Scientific Linux release 6.5 (Carbon)

# uname -r
2.6.32-431.20.3.el6.x86_64

# rpm -ivh PDFStudio_v9_0_2_linux.rpm
Preparing... ### [100%]
 1:PDFStudio ### [100%]
error: unpacking of archive failed on file .pdfstudio9/:
cpio: Archive file not in header

Any way to fix this?

Many thanks,
-T


I would first check the integrity of the file.
I downloaded it here (not installed it, as I don't have SL6.5).
It unpacked fine though using rpm2cpio filename.rpm | cpio -idmv
I have the following checksum on it:

MD5: f39d0ef9c4fd74cbfcbffa37f0ee18f2  PDFStudio_v9_0_2_linux.rpm
SHA1: 2e69d1b564cfebcac5cba9244bd04f64cedc959f
PDFStudio_v9_0_2_linux.rpm

It has an odd directory structure, it seems to put everything in
/pdfstudio9.

-Mark




Hi Mark,

I get your same md5sum and I am able to to do the rpm2cpio
thing as well.  But, still get the cpio error when trying
to install.  Rats!

-T


Well, if the cpio works, extract it to / and run the postinstall portion 
from

rpm -qp --scripts filename.rpm

It looks like they are owned by 'root.root' in the rpm.

Have you tried getting it directly from qoppa.com?

-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: rpm problem

2014-07-24 Thread Mark Stodola

On 07/24/2014 02:19 PM, ToddAndMargo wrote:

On 07/24/2014 12:17 PM, Mark Stodola wrote:

On 07/24/2014 02:00 PM, ToddAndMargo wrote:

On 07/23/2014 09:05 AM, Mark Stodola wrote:

On 07/23/2014 10:43 AM, ToddAndMargo wrote:

Hi All,

I am having trouble installing the PDF Studio RPM.

https://www.dropbox.com/s/slgrnolcsktaezz/PDFStudio_v9_0_2_linux.rpm

# cat /etc/redhat-release
Scientific Linux release 6.5 (Carbon)

# uname -r
2.6.32-431.20.3.el6.x86_64

# rpm -ivh PDFStudio_v9_0_2_linux.rpm
Preparing... ### [100%]
 1:PDFStudio ### [100%]
error: unpacking of archive failed on file .pdfstudio9/:
cpio: Archive file not in header

Any way to fix this?

Many thanks,
-T


I would first check the integrity of the file.
I downloaded it here (not installed it, as I don't have SL6.5).
It unpacked fine though using rpm2cpio filename.rpm | cpio -idmv
I have the following checksum on it:

MD5: f39d0ef9c4fd74cbfcbffa37f0ee18f2  PDFStudio_v9_0_2_linux.rpm
SHA1: 2e69d1b564cfebcac5cba9244bd04f64cedc959f
PDFStudio_v9_0_2_linux.rpm

It has an odd directory structure, it seems to put everything in
/pdfstudio9.

-Mark




Hi Mark,

I get your same md5sum and I am able to to do the rpm2cpio
thing as well.  But, still get the cpio error when trying
to install.  Rats!

-T


Well, if the cpio works, extract it to / and run the postinstall portion
from
rpm -qp --scripts filename.rpm

It looks like they are owned by 'root.root' in the rpm.

Have you tried getting it directly from qoppa.com?


 We are sorry but as previously mentioned we do not support
 the RPM installer. We have other users that have been able
 to successfully install using the RPM so I'm not sure
 what that error could be.



-Mark






Well, if it works by hand, it shouldn't be too hard to recreate the RPM 
from what you have.  I would take a whack at it, but I'm already behind 
on preparing for extended travel.  Someone else here could help with the 
finer details if you need.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: rpm problem

2014-07-24 Thread Mark Stodola

On 07/24/2014 02:30 PM, ToddAndMargo wrote:

On 07/24/2014 12:29 PM, Mark Stodola wrote:

On 07/24/2014 02:19 PM, ToddAndMargo wrote:

On 07/24/2014 12:17 PM, Mark Stodola wrote:

On 07/24/2014 02:00 PM, ToddAndMargo wrote:

On 07/23/2014 09:05 AM, Mark Stodola wrote:

On 07/23/2014 10:43 AM, ToddAndMargo wrote:

Hi All,

I am having trouble installing the PDF Studio RPM.

https://www.dropbox.com/s/slgrnolcsktaezz/PDFStudio_v9_0_2_linux.rpm

# cat /etc/redhat-release
Scientific Linux release 6.5 (Carbon)

# uname -r
2.6.32-431.20.3.el6.x86_64

# rpm -ivh PDFStudio_v9_0_2_linux.rpm
Preparing... ### [100%]
 1:PDFStudio ### [100%]
error: unpacking of archive failed on file .pdfstudio9/:
cpio: Archive file not in header

Any way to fix this?

Many thanks,
-T


I would first check the integrity of the file.
I downloaded it here (not installed it, as I don't have SL6.5).
It unpacked fine though using rpm2cpio filename.rpm | cpio -idmv
I have the following checksum on it:

MD5: f39d0ef9c4fd74cbfcbffa37f0ee18f2  PDFStudio_v9_0_2_linux.rpm
SHA1: 2e69d1b564cfebcac5cba9244bd04f64cedc959f
PDFStudio_v9_0_2_linux.rpm

It has an odd directory structure, it seems to put everything in
/pdfstudio9.

-Mark




Hi Mark,

I get your same md5sum and I am able to to do the rpm2cpio
thing as well.  But, still get the cpio error when trying
to install.  Rats!

-T


Well, if the cpio works, extract it to / and run the postinstall
portion
from
rpm -qp --scripts filename.rpm

It looks like they are owned by 'root.root' in the rpm.

Have you tried getting it directly from qoppa.com?


 We are sorry but as previously mentioned we do not support
 the RPM installer. We have other users that have been able
 to successfully install using the RPM so I'm not sure
 what that error could be.



-Mark






Well, if it works by hand, it shouldn't be too hard to recreate the RPM
from what you have.  I would take a whack at it, but I'm already behind
on preparing for extended travel.  Someone else here could help with the
finer details if you need.

-Mark



is [Desktop Entry] part of the post install script?


Yes, if you look close, the lines right above that call xdg-open, and 
are echoing the [Desktop Entry] lines into a file (using the ).  It is 
basically creating a desktop icon entry in a common location.


/bin/echo -e #!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=PDF Studio 9
Exec=/bin/sh \$I4J_INSTALL_LOCATION/pdfstudio9\
Icon=$I4J_INSTALL_LOCATION/.install4j/pdfstudio9.png
  $I4J_INSTALL_LOCATION/pdfstudio9.desktop

That is all one line of a command essentially.
It looks like the script just makes a few symlinks and ensures the newly 
created desktop icon is executable.
The rest is just unpacking jar files, which I'm not as familiar with as 
I haven't touched java in close to a decade.  It all looks straight forward.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: rpm problem

2014-07-24 Thread Mark Stodola

On 07/24/2014 02:45 PM, ToddAndMargo wrote:

On 07/24/2014 12:37 PM, Mark Stodola wrote:

On 07/24/2014 02:30 PM, ToddAndMargo wrote:

On 07/24/2014 12:29 PM, Mark Stodola wrote:

On 07/24/2014 02:19 PM, ToddAndMargo wrote:

On 07/24/2014 12:17 PM, Mark Stodola wrote:

On 07/24/2014 02:00 PM, ToddAndMargo wrote:

On 07/23/2014 09:05 AM, Mark Stodola wrote:

On 07/23/2014 10:43 AM, ToddAndMargo wrote:

Hi All,

I am having trouble installing the PDF Studio RPM.

https://www.dropbox.com/s/slgrnolcsktaezz/PDFStudio_v9_0_2_linux.rpm



# cat /etc/redhat-release
Scientific Linux release 6.5 (Carbon)

# uname -r
2.6.32-431.20.3.el6.x86_64

# rpm -ivh PDFStudio_v9_0_2_linux.rpm
Preparing... ### [100%]
 1:PDFStudio ###
[100%]
error: unpacking of archive failed on file .pdfstudio9/:
cpio: Archive file not in header

Any way to fix this?

Many thanks,
-T


I would first check the integrity of the file.
I downloaded it here (not installed it, as I don't have SL6.5).
It unpacked fine though using rpm2cpio filename.rpm | cpio -idmv
I have the following checksum on it:

MD5: f39d0ef9c4fd74cbfcbffa37f0ee18f2  PDFStudio_v9_0_2_linux.rpm
SHA1: 2e69d1b564cfebcac5cba9244bd04f64cedc959f
PDFStudio_v9_0_2_linux.rpm

It has an odd directory structure, it seems to put everything in
/pdfstudio9.

-Mark




Hi Mark,

I get your same md5sum and I am able to to do the rpm2cpio
thing as well.  But, still get the cpio error when trying
to install.  Rats!

-T


Well, if the cpio works, extract it to / and run the postinstall
portion
from
rpm -qp --scripts filename.rpm

It looks like they are owned by 'root.root' in the rpm.

Have you tried getting it directly from qoppa.com?


 We are sorry but as previously mentioned we do not support
 the RPM installer. We have other users that have been able
 to successfully install using the RPM so I'm not sure
 what that error could be.



-Mark






Well, if it works by hand, it shouldn't be too hard to recreate the RPM
from what you have.  I would take a whack at it, but I'm already behind
on preparing for extended travel.  Someone else here could help with
the
finer details if you need.

-Mark



is [Desktop Entry] part of the post install script?


Yes, if you look close, the lines right above that call xdg-open, and
are echoing the [Desktop Entry] lines into a file (using the ).  It is
basically creating a desktop icon entry in a common location.

/bin/echo -e #!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=PDF Studio 9
Exec=/bin/sh \$I4J_INSTALL_LOCATION/pdfstudio9\
Icon=$I4J_INSTALL_LOCATION/.install4j/pdfstudio9.png
  $I4J_INSTALL_LOCATION/pdfstudio9.desktop

That is all one line of a command essentially.
It looks like the script just makes a few symlinks and ensures the newly
created desktop icon is executable.
The rest is just unpacking jar files, which I'm not as familiar with as
I haven't touched java in close to a decade.  It all looks straight
forward.

-Mark



Hi Mark,

Do you know how to do the reverse of the cpio extraction?
In other words, how to make it back into an rpm?

-T


You need to use rpmbuild and write a small SPEC file.  It's a bit much 
to explain in email.  I suggest grabbing this guide to get started:

https://www.gurulabs.com/downloads/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF

It's not hard, and if you grab a SPEC from another simple source rpm, it 
shouldn't take long to have a usable output.  Basically, you have to tar 
up the files you extracted, create the spec w/ the 
postinstall/preuninstall script sections, and tell it to go.


There are probably guides from TUV that have best practices for naming 
and locations, but you aren't required to follow them, especially for 
something this trivial/personal use.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: rpm problem

2014-07-24 Thread Mark Stodola

On 07/24/2014 03:19 PM, ToddAndMargo wrote:

On 07/24/2014 01:20 PM, Mark Stodola wrote:

On 07/24/2014 02:45 PM, ToddAndMargo wrote:

On 07/24/2014 12:37 PM, Mark Stodola wrote:

On 07/24/2014 02:30 PM, ToddAndMargo wrote:

On 07/24/2014 12:29 PM, Mark Stodola wrote:

On 07/24/2014 02:19 PM, ToddAndMargo wrote:

On 07/24/2014 12:17 PM, Mark Stodola wrote:

On 07/24/2014 02:00 PM, ToddAndMargo wrote:

On 07/23/2014 09:05 AM, Mark Stodola wrote:

On 07/23/2014 10:43 AM, ToddAndMargo wrote:

Hi All,

I am having trouble installing the PDF Studio RPM.

https://www.dropbox.com/s/slgrnolcsktaezz/PDFStudio_v9_0_2_linux.rpm





# cat /etc/redhat-release
Scientific Linux release 6.5 (Carbon)

# uname -r
2.6.32-431.20.3.el6.x86_64

# rpm -ivh PDFStudio_v9_0_2_linux.rpm
Preparing... ### [100%]
 1:PDFStudio ###
[100%]
error: unpacking of archive failed on file .pdfstudio9/:
cpio: Archive file not in header

Any way to fix this?

Many thanks,
-T


I would first check the integrity of the file.
I downloaded it here (not installed it, as I don't have SL6.5).
It unpacked fine though using rpm2cpio filename.rpm | cpio
-idmv
I have the following checksum on it:

MD5: f39d0ef9c4fd74cbfcbffa37f0ee18f2  PDFStudio_v9_0_2_linux.rpm
SHA1: 2e69d1b564cfebcac5cba9244bd04f64cedc959f
PDFStudio_v9_0_2_linux.rpm

It has an odd directory structure, it seems to put everything in
/pdfstudio9.

-Mark




Hi Mark,

I get your same md5sum and I am able to to do the rpm2cpio
thing as well.  But, still get the cpio error when trying
to install.  Rats!

-T


Well, if the cpio works, extract it to / and run the postinstall
portion
from
rpm -qp --scripts filename.rpm

It looks like they are owned by 'root.root' in the rpm.

Have you tried getting it directly from qoppa.com?


 We are sorry but as previously mentioned we do not support
 the RPM installer. We have other users that have been able
 to successfully install using the RPM so I'm not sure
 what that error could be.



-Mark






Well, if it works by hand, it shouldn't be too hard to recreate the
RPM
from what you have.  I would take a whack at it, but I'm already
behind
on preparing for extended travel.  Someone else here could help with
the
finer details if you need.

-Mark



is [Desktop Entry] part of the post install script?


Yes, if you look close, the lines right above that call xdg-open, and
are echoing the [Desktop Entry] lines into a file (using the ).
It is
basically creating a desktop icon entry in a common location.

/bin/echo -e #!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=PDF Studio 9
Exec=/bin/sh \$I4J_INSTALL_LOCATION/pdfstudio9\
Icon=$I4J_INSTALL_LOCATION/.install4j/pdfstudio9.png
  $I4J_INSTALL_LOCATION/pdfstudio9.desktop

That is all one line of a command essentially.
It looks like the script just makes a few symlinks and ensures the
newly
created desktop icon is executable.
The rest is just unpacking jar files, which I'm not as familiar with as
I haven't touched java in close to a decade.  It all looks straight
forward.

-Mark



Hi Mark,

Do you know how to do the reverse of the cpio extraction?
In other words, how to make it back into an rpm?

-T


You need to use rpmbuild and write a small SPEC file.  It's a bit much
to explain in email.  I suggest grabbing this guide to get started:
https://www.gurulabs.com/downloads/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF



It's not hard, and if you grab a SPEC from another simple source rpm, it
shouldn't take long to have a usable output.  Basically, you have to tar
up the files you extracted, create the spec w/ the
postinstall/preuninstall script sections, and tell it to go.

There are probably guides from TUV that have best practices for naming
and locations, but you aren't required to follow them, especially for
something this trivial/personal use.

-Mark



Hi Mark,

Thank you for helping me with this!

-T


Learning the art of building RPMs is a valuable skill, no time like the 
present to learn.  Once you know what you are doing, you can have a nice 
environment setup to build things.  A lot of people use 'mock' to ensure 
clean build environments (chroot), but like I said before, not necessary 
in this case.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: rpm problem

2014-07-23 Thread Mark Stodola

On 07/23/2014 10:43 AM, ToddAndMargo wrote:

Hi All,

I am having trouble installing the PDF Studio RPM.

https://www.dropbox.com/s/slgrnolcsktaezz/PDFStudio_v9_0_2_linux.rpm

# cat /etc/redhat-release
Scientific Linux release 6.5 (Carbon)

# uname -r
2.6.32-431.20.3.el6.x86_64

# rpm -ivh PDFStudio_v9_0_2_linux.rpm
Preparing... ### [100%]
 1:PDFStudio ### [100%]
error: unpacking of archive failed on file .pdfstudio9/:
cpio: Archive file not in header

Any way to fix this?

Many thanks,
-T


I would first check the integrity of the file.
I downloaded it here (not installed it, as I don't have SL6.5).
It unpacked fine though using rpm2cpio filename.rpm | cpio -idmv
I have the following checksum on it:

MD5: f39d0ef9c4fd74cbfcbffa37f0ee18f2  PDFStudio_v9_0_2_linux.rpm
SHA1: 2e69d1b564cfebcac5cba9244bd04f64cedc959f  PDFStudio_v9_0_2_linux.rpm

It has an odd directory structure, it seems to put everything in 
/pdfstudio9.


-Mark


Re: RHEL 7 just hit the market place, I'm looking forward to when we can start testing SL 7

2014-06-20 Thread Mark Stodola

On 06/20/2014 08:55 AM, Dag Wieers wrote:

On Fri, 20 Jun 2014, Lamar Owen wrote:


On 06/20/2014 03:55 AM, Dag Wieers wrote:


 It may have become a legal question now that the SRPMs are no longer
 available from ftp.redhat.com. That in itself is an unwelcome change.


It is an unfortunate change, yes, but I prefer to give Red Hat the
benefit of the doubt as far as motivations go, since they could close
it up completely like SuSE has with SLES and SLED (OpenSuSE is SuSE's
Fedora, so it doesn't count).  And SuSE is completely within its
rights under GPL to do how they are doing; this is not a jab against
SuSE, since SuSE has also done and is doing a lot of great work for
open source.  (Of course, since I haven't looked for publicly posted
source for SLES in a while, they may have posted it since I last
looked and I just don't know about it.)


I am glad you agree that Red Hat now moving closer to what SuSE is doing
is unfortunate and not welcomed by the community(*).

(*) Where community in my definition excludes people on Red Hat's
payroll ;-)



Although this discussion seems interesting, I see the same points being 
reiterated.  I don't see how any of this is going to change anything 
though.  RedHat and CentOS are moving forward whether we like it or not 
and the SL development team are doing what they can within those 
constraints.  If one needs all that integrity and vetting of the source, 
go fork over the money for a license.


Re: speed fan for SL?

2014-06-11 Thread Mark Stodola

On 6/11/2014 4:41 PM, ToddAndMargo wrote:

On 06/10/2014 06:26 AM, Mark Stodola wrote:

On 06/10/2014 12:16 AM, ToddAndMargo wrote:

On 06/09/2014 10:06 PM, Johan Guldmyr wrote:

- Original Message -

From: ToddAndMargo toddandma...@zoho.com
To: Scientific Linux Users 
SCIENTIFIC-LINUX-USERS@listserv.fnal.gov

Sent: Tuesday, June 10, 2014 7:58:42 AM
Subject: Re: speed fan for SL?

On 06/09/2014 09:30 PM, Johan Guldmyr wrote:

- Original Message -

From: ToddAndMargo toddandma...@zoho.com
To: Mark Stodola stod...@pelletron.com
Cc: Scientific Linux Users
SCIENTIFIC-LINUX-USERS@listserv.fnal.gov
Sent: Tuesday, June 10, 2014 7:21:19 AM
Subject: Re: speed fan for SL?

On 06/09/2014 05:44 PM, Mark Stodola wrote:

On 6/9/2014 7:40 PM, ToddAndMargo wrote:

Hi All,

Anyone know of a speed and temperature monitor for
SL?

I have used
http://almico.com/speedfan.php
in the Windows environment, but they don't offer
a Linux version.

-T



Have a look at lm_sensors.



Hi Mark,

Yum says it is installed, but I have no idea where
or what it is called.

Do you know what the man page is called.


sensors, that's also waht the command is called.


Many thanks,
-T


Hi Johan,

Thank you!  Some configuration required.  sensors-detect
seems to help.

Anyone use xsensors?

# xsensors
GUI failed!


xsensors works fine for me (at least I get a window with numbers up).
Perhaps your X server or X forwarding is not working?
I usually test if it is by running 'xterm' or 'xclock'.


Hi Johan,
I have xterms and programs running in xterms plaster
all over the place.  Maybe it is because I am running
Xfce 4.8?

-T


You can do a few things to get a bit more information about why it
failed.  I would start by checking for not found entries from the
output of ldd `which xsensors`.  Then grab a stack trace strace -o
xsensors.log xsensors to see if you can glean where it is having 
trouble.


I'm still tied to SL5, which doesn't have an xsensors package, I've
always used the command line tools.



Hi Mark,

I created a bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1108377

And I attached ldd and strace

-T
Does the cli 'sensors' program work?  A quick web search turns up 
situations where either kernel or sensor drivers aren't 
loaded/configured.  I also see a patch for option processing from 2012, 
but I doubt that is your issue.  Even though you ran sensors-detect, you 
may still have to dump some stuff into modprobe.conf to get the drivers 
to load on boot, at least that is how it used to be.  I haven't used 
it in quite a while.


Re: speed fan for SL?

2014-06-10 Thread Mark Stodola

On 06/10/2014 12:16 AM, ToddAndMargo wrote:

On 06/09/2014 10:06 PM, Johan Guldmyr wrote:

- Original Message -

From: ToddAndMargo toddandma...@zoho.com
To: Scientific Linux Users SCIENTIFIC-LINUX-USERS@listserv.fnal.gov
Sent: Tuesday, June 10, 2014 7:58:42 AM
Subject: Re: speed fan for SL?

On 06/09/2014 09:30 PM, Johan Guldmyr wrote:

- Original Message -

From: ToddAndMargo toddandma...@zoho.com
To: Mark Stodola stod...@pelletron.com
Cc: Scientific Linux Users
SCIENTIFIC-LINUX-USERS@listserv.fnal.gov
Sent: Tuesday, June 10, 2014 7:21:19 AM
Subject: Re: speed fan for SL?

On 06/09/2014 05:44 PM, Mark Stodola wrote:

On 6/9/2014 7:40 PM, ToddAndMargo wrote:

Hi All,

Anyone know of a speed and temperature monitor for
SL?

I have used
http://almico.com/speedfan.php
in the Windows environment, but they don't offer
a Linux version.

-T



Have a look at lm_sensors.



Hi Mark,

Yum says it is installed, but I have no idea where
or what it is called.

Do you know what the man page is called.


sensors, that's also waht the command is called.


Many thanks,
-T


Hi Johan,

Thank you!  Some configuration required.  sensors-detect
seems to help.

Anyone use xsensors?

# xsensors
GUI failed!


xsensors works fine for me (at least I get a window with numbers up).
Perhaps your X server or X forwarding is not working?
I usually test if it is by running 'xterm' or 'xclock'.


Hi Johan,
I have xterms and programs running in xterms plaster
all over the place.  Maybe it is because I am running
Xfce 4.8?

-T


You can do a few things to get a bit more information about why it 
failed.  I would start by checking for not found entries from the 
output of ldd `which xsensors`.  Then grab a stack trace strace -o 
xsensors.log xsensors to see if you can glean where it is having trouble.


I'm still tied to SL5, which doesn't have an xsensors package, I've 
always used the command line tools.


--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: speed fan for SL?

2014-06-09 Thread Mark Stodola

On 6/9/2014 7:40 PM, ToddAndMargo wrote:

Hi All,

Anyone know of a speed and temperature monitor for
SL?

I have used
  http://almico.com/speedfan.php
in the Windows environment, but they don't offer
a Linux version.

-T



Have a look at lm_sensors.


Re: need bash variable syntax help

2014-06-07 Thread Mark Stodola

On 6/7/2014 11:25 AM, Nico Kadel-Garcia wrote:

On Fri, Jun 6, 2014 at 11:52 PM, ToddAndMargotoddandma...@zoho.com  wrote:

Hi All,

In Bash script language, how do I create a variable name
from a variable?

I am trying to create a variable called abcStatus

x=abc
$xStatus=xyz

obviously doesn't work.  What am I doing wrong?

Many thanks,
-T

It's not really core to Scientific Linux itself, but:

For most bash cases where I've found myself wanting something like
this, I've usually wound up using hashes instead. The first hash,
abc, contains a list of variable names, abcstatus, abctime, abcdate,
abcowner, etc. that can then be referrenced to refer to other valures
or hashes as needed.
I agree with everything said so far, but would like to toss in a chapter 
from the Advanced Bash-Scripting Guide (ABS).
The dangers are of course still present, but might give a bit better 
explanation about what is going on.  I actually do have scripts I use 
that utilize the \$$var method.


http://www.tldp.org/LDP/abs/html/ivr.html


Re: How do I elevate in a script?

2014-04-30 Thread Mark Stodola

The setuid is not honored for shell scripts, try it and you will see.

-Mark

On 4/30/2014 2:35 AM, Matthieu Guionnet wrote:

Hi Todd,
why don't you just use setuid ?
http://en.wikipedia.org/wiki/Setuid

You just change the script owner or group to root.
And put the s bit with the chmod command.
That's all.

Matthieu.

Le mardi 29 avril 2014 à 13:22 -0700, ToddAndMargo a écrit :

On 04/29/2014 12:37 PM, Mark Whidby wrote:

On Tue, 2014-04-29 at 12:20 -0700, ToddAndMargo wrote:

Hi All,

I have a bash script that need to be run as root.
In the script, I check to see if it is running as
root and flag the user to run appropriately.

Is there a way to use su to prompt for the password
and continue the script if successful? (I would test for
$? after the prompt.)

Currently su will just open a new shell as root.

I can run a command inside su, but what about the
other 200 lines of code?  :'(

An interesting problem :-)

Something like this seems to work but I haven't thought through
the consequences of it, so be aware:

-cut here-
#!/bin/sh

this_script=$(basename $0)

if [ $(id -u) -ne 0 ]
then
echo Enter root's password
su -c ./$this_script
exit
fi

echo Hello world
echo Running as $(id -u)
-cut here-

You probably need to do something with $PATH to obviate the
need for the ./ on the su line.


Hi Mark,

I get it.  Fascinating!

If not root, call myself a second time with su

Thank you!

-T



Re: 6x-6.4?

2014-01-13 Thread Mark Stodola

On 01/13/2014 03:08 PM, jdow wrote:

I figure this is a stupid question; but, is 6.5 really not ready for prime
time yet? I see that the 6.5 repo tree appears to be open for business. But
6x seems to point to 6.4.

{o.o}   Joanne


The 6.5 tree is available for testing (BETA 1) as of December 19.  It is 
not officially released.  That means if you install against the 6.5 tree 
at this time, if package fixes occur without version changes, you may 
not get them later.


So, if you are ok wiping the machine after official release and want to 
test, go for it.  If this is for production use, stay with 6.4 for the 
time being.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: log in prompt out of screen

2013-12-12 Thread Mark Stodola

On 12/12/2013 06:04 AM, Jim Chen wrote:

Hello experts,

I have currently installed SL6.4 on a machine with PCM-3362 PC104 Atom
processor. Everything works apart from the login screen cannot be seen each
time after booting to the splash. It seems like the log in prompt is out of
the screen. The mouse cursor is there. After a while, I can move the cursor
and hit the return key then I can see the log in prompt.

I have tried all combination after googling on the web with the resolution,
frequency settings etc with no luck.

The machine can be used but very awkward each time I have to hit the return
key to get the log in screen.

Has anybody seen the same symptom? How can I fix it please?

Many thanks,
Jim


Jim,

We are going to need a bit more information for anyone to help you.  Can 
you provide chipset versions (lspci), what driver you are using, and 
probably the Xorg log file to get a better idea of what is going on.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: UEFI SL 6x boot

2013-09-24 Thread Mark Stodola

That is correct, SL and TUV do not support secure boot at this time.

This link is a year old, and I am sure more support it by now, but:
http://mjg59.dreamwidth.org/20522.html

I'm sure a more up to date list can be found with moderate searching.


On 09/24/2013 11:46 AM, Yasha Karant wrote:

This thread started because my colleague is using SuSE and tried Ubuntu
-- and both failed to secure boot properly from the generic hardware to
which he upgraded. This failure prompted a question about SL (as a
no-fee option for a TUV enterprise, commercial, supported, production
Linux base).

Evidently, the current answer for SL is that it is not UEFI Secure Boot
enabled, and SL 6x cannot reliably be installed upon such systems --
depending upon the quirks (or proprietary generosity) of the actual BIOS
supplier.

Yasha Karant

On 09/24/2013 09:04 AM, Connie Sieh wrote:

On Tue, 24 Sep 2013, Yasha Karant wrote:


Secure boot is enabled. Evidently, the only means to disable secure
boot requires that a secure boot loader/configuration program be running
-- e.g., the MS proprietary boot loader (typically, supplied as part of
MS Windows 8) must be used to disable secure boat if the UEFI actually
permits this to be disabled (I have heard of some UEFI implementations
that do not permit secure boot truly to be disabled).


If the system is Windows 8 logo compatible and is x86_4 then a way to
disable secure boot must be provided by the hardware vendor. This is
commonly done via a option in the bios. This requirement is part of
the microsoft windows 8 logo requirements. Note the method of
disabling is not defined by the UEFI spec. So each vendor may do it
differently.

The only hardware that does not permit secure boot to be disabled is
arm based Windows. The Windows logo requirements at at work here.



If Linux cannot handle this issue, then Linux is finished on all generic
(e.g., not Apple that supplies both the hardware and operating
environment software under a restrictive proprietary for-profit
intellectual property license) X86-64 hardware, as (almost?) all current
such hardware is MS 8 (UEFI secure boot) compliant.



At the moment Fedora, SuSE , Ubuntu all can handle secure boot. It is
expected that RHEL 7 will also handle it. It is also possible to sign
your own kernel and place your keys in the bios.

-connie


Yasha Karant

On 09/23/2013 10:29 PM, Connie Sieh wrote:

On Mon, 23 Sep 2013, Yasha Karant wrote:


A colleague who uses SuSE non-enterprise for his professional
(enterprise) workstations has now attempted to load the latest SuSE
on a
machine with a new generic (aftermarket) gamer UEFI X86-64
motherboard. It does not properly boot. I do not have any UEFI
motherboards, and thus no experience with SL6x on such motherboards.


Is secure boot enabled in the UEFI ?



Does anyone? Does SL6x boot correctly (and easily) on a UEFI
motherboard? If so, he may switch to SL.


Yes as long as secure boot is disabled .



Yasha Karant



-connie sieh





--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: LO destroyed envelopes

2013-06-25 Thread Mark Stodola

On 06/25/2013 12:07 PM, Todd And Margo Chester wrote:

Hi All,

Can you guys tell if this is finger pointing
or if this really is not a Libre Office problem?

https://bugs.freedesktop.org/show_bug.cgi?id=42327

Many thanks,
-T


Having had my fair share of odd behavior with CUPS, I would lean toward 
that as the culprit.  There are several different filters that get used 
depending on the mime type provided.  For instance, on SL 5, texttopaps 
did very bad things, causing me to force texttops for text/plain 
processing.  Some of these filters have been known to double-rotate, 
which might be what you are experiencing.  It might also be worth 
skimming through the ppd for the printer to see if the paper definitions 
or orientation are wrong.  If the ppd contains a page orientation, and 
the program specifies a rotation, this can also lead to incorrect 
orientation.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: LO destroyed envelopes

2013-06-25 Thread Mark Stodola

On 06/25/2013 01:21 PM, Todd And Margo Chester wrote:

On 06/25/2013 10:40 AM, Mark Stodola wrote:

On 06/25/2013 12:07 PM, Todd And Margo Chester wrote:

Hi All,

Can you guys tell if this is finger pointing
or if this really is not a Libre Office problem?

https://bugs.freedesktop.org/show_bug.cgi?id=42327

Many thanks,
-T


Having had my fair share of odd behavior with CUPS, I would lean toward
that as the culprit. There are several different filters that get used
depending on the mime type provided. For instance, on SL 5, texttopaps
did very bad things, causing me to force texttops for text/plain
processing. Some of these filters have been known to double-rotate,
which might be what you are experiencing. It might also be worth
skimming through the ppd for the printer to see if the paper definitions
or orientation are wrong. If the ppd contains a page orientation, and
the program specifies a rotation, this can also lead to incorrect
orientation.

-Mark



Hi Mark,

The frustrating thing is that I have no problems printing
from anything else. I can print an envelope just fine
from Wine/Word Pro, which also uses CUPS. Other programs,
portrait or landscape, print just as it is told.

Anyway, I opened up the following with Red Hat:
https://bugzilla.redhat.com/show_bug.cgi?id=977976

Maybe, someday, I will be able to print an envelope
through LO.

Thank you for your response.
-T


If you have the time and patience, you can look into turning up the 
debug/log level of cups to see what is going on between the programs. 
You can also intercept the print queue contents by leaving the spool 
enabled but the printer disabled.  With enough poking, you should be 
able to pin down where the problem exists.


I am guessing (not sure) that most word processors generate postscript 
and send it to CUPS.  You can compare the postscript generated in the 
spool from each of your programs to see how they differ.  It may be 
worth while to open the postscript in a text editor to see if there is 
other meta-data that could be affecting the outcome as well.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Samba4 rpm

2013-02-07 Thread Mark Stodola

On 02/07/2013 04:17 PM, Andrew Z wrote:

Hello,

i need to set up samba. and apparently there was a new release 4 already.
so i did yum search, but:

samba4-4.0.0-23.alpha11.el6.x86_64
[root@server ~]# rpm -ql samba4
/usr/share/doc/samba4-4.0.0
/usr/share/doc/samba4-4.0.0/COPYING
/usr/share/doc/samba4-4.0.0/WHATSNEW4.txt

i'm not sure what exactly i need to install here?

or should i just let it be and get samba 3 instead? My requirements are
very ancient - share printer and direcories. no need for active dir etc.

Thank you
AZ



I would recommend removing the samba4 packages and install the samba 
packages (3.5.x) from the SL repo.  If you need newer in the 3 series, 
sernet (http://ftp.sernet.de/pub/samba/3.6/rhel/6/x86_64/) provides 
up-to-date builds designed to not conflict with the rest of your 
installation.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: LAPACK for SL/CentOS/RHEL 5?

2013-02-05 Thread Mark Stodola

On 02/05/2013 11:51 AM, Alan McKay wrote:

I see LAPACK 3.0 when I do yum search, but the latest version is 3.4.2

Is there any place to get the newer RPMs for SL 5?

I've looked into building it but the instructions assume a knowledge
of using the package.  I'm just a lowly Sys Admin and want to build
this for some scientists I support.

thanks,
-Alan




Alan,

I'm not familiar with LAPACK myself, but if you are unable to locate a 
repo with newer versions (suggest checking EPEL), one thing to try would 
be retrieving the srpm (source rpm) and modifying the spec file to use 
the newer source package and rebuilding.  You might run into dependency 
issues that may or may not be trivial.


Best Regards,
Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: cloning with dd

2013-01-29 Thread Mark Stodola

On 01/29/2013 09:56 AM, Steve Gaarder wrote:

I've done cloning for many years with tar:

On the source machine, boot from an SL live CD and mount the source's
root file system. Make a tar file of this system with a command like:

cd /mnt/wherever
tar -cSf - . | ssh someuser@somewhere 'cat mysystem.tar'

Then, on the target, boot the live CD, partition the disk, create the
root filesystem and mount it. THen untar the contents with something like:

cd /mnt/wherever
ssh someuser@somewhere cat mysystem.tar | tar -xpSf -

You may need to change /etc/fstab and /boot/grub/grub.conf, if the
partition layout is different or the files use UUIDs. In the latter
case, I just change to partition names (e.g./dev/sda1).

Then run grub to install the boot loader:

grub
root (hd0,X)
setup (hd0)

This works great as long as the hardware is similar enough that the
initrd/initramfs still works. Otherwise, there's an extra step to
regenerate it, which I can explain if people want.

Steve Gaarder
System Administrator, Dept of Mathematics
Cornell University, Ithaca, NY, USA
gaar...@math.cornell.edu

On Tue, 29 Jan 2013, Yasha Karant wrote:


We have a limited, small, number of IEEE 802.3 connected hardware
platform identical workstations to clone -- no 802.11 nor any shared
(remote, distributed) disk storage (at this time). My plan was to get
one fully operational and configured, and then clone the hard drive
image onto the remaining machines one hard drive at a time.

Let A represent the operational (clone source) machine, and Bhd a
target hard drive. The hard drive on A is /dev/sda, call it Ahd. A is
shut down power off. Bhd is installed into an available bay on A, A is
booted, and Bhd appears as /dev/sdb in A. Using dd on A, clone
/dev/sda to /dev/sdb . Mount on A the partition of /dev/sdb that
contains /etc (there are no end user home directories -- only home
directories are those of the system administration users). Using a
text editor (e.g., vi), modify the /etc/sysconfig/net*
scripts/directories, as well as /etc/hosts. for the name and IP
address of machine B that will contain Bhd (resolv.conf will be the
same -- all of these machines are in the same DNS subzone, same TCP/IP
subnet). Iterate through all of the target workstation hard drives. As
there are no other distributed services running, this should suffice.

Shutdown A, remove Bhd, install Bhd into B, boot B upon which Bhd
should appear as /dev/sda . Done.

Is there a better method in terms of software? At this time, I do not
want to setup a remote image server that effectively will download the
full image of Ahd onto Bhd over a network, nor do I want to make a
custom install DVD as we only have a small number of workstations to
clone, not, say, one hundred.

I do understand that if Ahd and Bhd present different bad blocks to
the OS, and these are not hidden by the intelligence on each
individual hard drive, then dd may not work. However, the drives
already have been surveyed and the bad block situation should not be
an issue.

A related question (that was partially addressed in a different
thread): is there a way to remove/disable Network Manager and use a
traditional static configuration? On a laptop that needs to move
within the field from one 802.11 network to another, with a different
DNS zone and TCP/IP configuration, Network Manager provides similar
ease and functionality to the end user autoconfiguration applications
that are used under Mac OS X or modern MS Win. This is unnecessary and
in some sense dangerous for static workstations that need no such
dynamic configuration.

My thought was to find the RPM that installs Network Manager and
simply uninstall it, either via yum or a simple rpm -e command. Is
Network Manager too deeply ingrained in current EL6 (using TUV
compliant model) to make this feasible?

Yasha Karant



You can use g4u (Ghost for Unix) or g4l (Ghost for Linux) to image and 
back up disks over the network.  Usually using FTP.  There are other 
fancier utilities such as Clonezilla that may also work well.  Most have 
bootable media to get it on the network and a few clicks/commands to get 
the disks cloning.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: cloning with dd

2013-01-29 Thread Mark Stodola

On 01/29/2013 10:43 AM, Yasha Karant wrote:

There are advantages and disadvantages of the methodology you use. I
have the following questions:

1. The SL live CD presumably requires a manual configuration of the
network -- this university uses /22 IPv4 subnets (we have not made the
full conversion to IPv6, although we support IPv6 addresses and most
IPv6 utilities/services) and Network Manager does not seem to be able to
detect this. Thus, during the SL live CD boot, the network must be
manually configured one machine at a time.

2. On the target machine, one must repeat step (1) and get past LAN
security (assuming that the machine that contains the tar image is not
on the WAN with additional issues thereby created due to network
security control) to untar / onto the target machine. Note that (to the
best of my knowledge), tar does not create the MBR (I am being specific
to the IA-32/X86-64 typical boot architecture in this comment) and thus
requires the additional manual steps you outline. dd of an entire hard
drive does clone the MBR and also effectively does the formatting step
of each partition (we are not using logical volumes, but old fashioned
distinct partitions).

You also presume a high throughput network, depending upon the size of
the tar file image, as otherwise the time for getting the tar image can
be substantial. Whilst the network here is adequate at switched 802.11
100BT, with only limited segments at 1 Gbit/sec or higher bandwidth, the
actual throughput -- as measured -- can be less than 1 Mbit/sec causing
substantial delays. These workstations are NOT on a 1 Gbit/sec segment,
but only at 100BT, and we (locally) have network issues. As the
workstations have physical security locks and are cabled through raised
flooring, physically moving the machines to a location with a proper 1
Gbit/sec LAN segment, bypassing the local university security
implementations, VLAN segments, etc., is a significant amount of
physical work.

Am I misstating your methodology?

Yasha Karant

On 01/29/2013 07:56 AM, Steve Gaarder wrote:

I've done cloning for many years with tar:

On the source machine, boot from an SL live CD and mount the source's
root file system. Make a tar file of this system with a command like:

cd /mnt/wherever
tar -cSf - . | ssh someuser@somewhere 'cat mysystem.tar'

Then, on the target, boot the live CD, partition the disk, create the
root filesystem and mount it. THen untar the contents with something
like:

cd /mnt/wherever
ssh someuser@somewhere cat mysystem.tar | tar -xpSf -

You may need to change /etc/fstab and /boot/grub/grub.conf, if the
partition layout is different or the files use UUIDs. In the latter
case, I just change to partition names (e.g./dev/sda1).

Then run grub to install the boot loader:

grub
root (hd0,X)
setup (hd0)

This works great as long as the hardware is similar enough that the
initrd/initramfs still works. Otherwise, there's an extra step to
regenerate it, which I can explain if people want.

Steve Gaarder
System Administrator, Dept of Mathematics
Cornell University, Ithaca, NY, USA
gaar...@math.cornell.edu

On Tue, 29 Jan 2013, Yasha Karant wrote:


We have a limited, small, number of IEEE 802.3 connected hardware
platform identical workstations to clone -- no 802.11 nor any shared
(remote, distributed) disk storage (at this time). My plan was to get
one fully operational and configured, and then clone the hard drive
image onto the remaining machines one hard drive at a time.

Let A represent the operational (clone source) machine, and Bhd a
target hard drive. The hard drive on A is /dev/sda, call it Ahd. A
is shut down power off. Bhd is installed into an available bay on A,
A is booted, and Bhd appears as /dev/sdb in A. Using dd on A, clone
/dev/sda to /dev/sdb . Mount on A the partition of /dev/sdb that
contains /etc (there are no end user home directories -- only home
directories are those of the system administration users). Using a
text editor (e.g., vi), modify the /etc/sysconfig/net*
scripts/directories, as well as /etc/hosts. for the name and IP
address of machine B that will contain Bhd (resolv.conf will be the
same -- all of these machines are in the same DNS subzone, same TCP/IP
subnet). Iterate through all of the target workstation hard drives.
As there are no other distributed services running, this should suffice.

Shutdown A, remove Bhd, install Bhd into B, boot B upon which Bhd
should appear as /dev/sda . Done.

Is there a better method in terms of software? At this time, I do not
want to setup a remote image server that effectively will download the
full image of Ahd onto Bhd over a network, nor do I want to make a
custom install DVD as we only have a small number of workstations to
clone, not, say, one hundred.

I do understand that if Ahd and Bhd present different bad blocks to
the OS, and these are not hidden by the intelligence on each
individual hard drive, then dd may not work. However, the drives
already have been surveyed and 

Re: What is the correct way to set up a dual boot system for CentOS 6.3, or SL 6.3, and Windows 7?

2012-08-21 Thread Mark Stodola

On 08/20/2012 09:31 AM, Conan Doyle wrote:

After numerous searches on how to setup CentOS 6.3 and Win7 to dual boot
I turn to the readers of this forum for help...

I suppose my question is quite simple:

What is the correct way to set up a dual boot system for CentOS 6.3, or
SL 6.3, and Windows 7?

I have tried several times, with several variations, but run into the
same problem: After installing Win7, then CentOS, the machine boots
straight into Win7 and no grub menu appears...

I have a pretty new system that I built in Nov 2012: i5-2500K, Gigabyte
GA-Z68XP-UD3 mobo, 8GB RAM, eVGA NVIDIA GTX 560 card, and two 1 TB SATA
drives.

My first attempt was to install Win7 on drive 0 then install CentOS on
drive 1, with grub installed in the /boot partition which was on
/dev/sdb1. Apparently there were some issues with this due to Win7,
UEFI, etc. I didn't really understand all these problems so I tried again.

My second attempt was to try to disable the EFI stuff in BIOS and
install WinXP, then install Win7 over this to avoid the system restore
partition, and EFI issues etc. then install CentOS over this, again
installing grub to /boot, which was /dev/sdb1.

I noticed the default location for grub was /dev/sda, which is the
windows disk... Would this not hose up the windows install?


I believe your problem is right here.  Both of your previous 
descriptions installed the boot loader to a partition on the second 
disk.  Most BIOS will boot from the first MBR it finds.  This is 
typically the MBR of disk 0.


Your first attempt looked good, but you needed to install the boot 
loader for CentOS (SL, TUV, etc) to /dev/sda (notice no partition).  If 
the installer doesn't catch it, you will have to manually add in a chain 
loader for Win7 to the grub menu.  This is a quick text file editing. 
Examples can be found doing a web search along the lines of 'grub 
windows 7 boot entry'.


A typical dual boot should install Windows _first_, then any linux 
distributions.  This allows the later boot loaders to locate and add 
entries for the previous operating systems if possible.  The Windows 
loader can be a pain to get other operating systems (such as linux) to 
work, but it is possible.  You'd have to extract the linux boot loader 
from the disk into a file, put it on the windows partition, and manually 
add entries to the NTLDR configuration.  At least, that is how it was 
many years ago when I did it with NT4 and using lilo.




I have set up Windows/CentOS dual booting before, but not on this
machine, and not with CentOS 6.3. Any help would be appreciated more
than you can imagine...


I have been a CentOS user for a while, but I am intrigued by SL, and
would definitely jump ship to SL if I can get it dual booting with Win7...

Ed



--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: How to build a custom ISO?

2012-08-16 Thread Mark Stodola

On 08/16/2012 08:38 AM, Artifex Maximus wrote:

Hello!

Is there any recommended way to create a custom ISO installer? I have
no X on my SL just pure console. I've read that revisor is old and not
supported but pungi is great. I've tried pungi under Fedora 17 for
cross build without success (packages were downloaded but some
problems with anaconda at building boot image stage). CentOS 6.3 does
not have pungi. I think SL does not have pungi as well. So revisor is
the only tool for building such images here in SL land?

Bye,
a


Revisor is the recommended tool for SL6.  You always have the option of 
rolling by hand.  I use a set of modified scripts to roll custom SL5 
images based on the documentation on the SL's website and from searching 
the web.  If you simply want to customize the packages, you can make the 
necessary changes, rebuild the repo data, update the comps files, and 
build the image.


Remember, SL and TUV are _not_ bleeding edge like Fedora.  Just because 
the bleeding edge calls something old doesn't mean it is garbage and 
useless.  It just means someone has come up with a new/different way of 
accomplishing the same task.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Changing the logo on login screen

2012-08-06 Thread Mark Stodola

On 08/06/2012 09:00 AM, Jeff Gregor wrote:

I'm setting up a couple of old machines as sort of web/email kiosks for
internal users. I'd like to be able to change the SL logo on the login
screen to use my organization's logo. I've figured out how to change the
background image on the login screen, but can't seem to figure out where
the login panel (gdm-simple-greeter?) is configured. Any help would be
appreciated! Thanks...


I haven't tried in SL6 yet, but in SL5, I place my theme directory in 
/usr/share/gdm/themes/theme_name/


In there, I have a GdmGreeterTheme.desktop that defines the name, 
description, author, and greeter filename.
Then, there is a file matching the greeter filename above (usually 
something like theme_name.xml) that contains all the goodies you are 
looking for.


It is probably quickest to just clone an existing theme and tweak your 
colors/text accordingly.


-Mark
--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: significance of indicating root partition location in bot process

2012-07-18 Thread Mark Stodola

On 07/18/2012 08:37 AM, anuraag chowdhry wrote:

Hi all,

in the following print from grub.conf:

title Scientific Linux (2.6.32-131.0.15.el6.i686)
 root (hd0,0)
 kernel /vmlinuz-2.6.32-131.0.15.el6.i686 ro
root=UUID=8ea0b46d-4a99-4e10
-a40b-6c265ae4a09e

what is the above root= line indicating and what is the significance of
this in the booting process.
I understand that it might point the label or uuid of the root partition
location but what is the significance of this in booting process.?

Br//\c


It is specifying where the / partition is (that contains /etc, /bin, 
etc).  Without it, it would not know which partition to mount first and 
look for the files needed to boot and mount the rest of the filesystems.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless

2012-07-10 Thread Mark Stodola

On 07/10/2012 07:59 AM, Freak Trick wrote:

I have Atheros Ethernet (On Board) which is not detected by the SL 6.2
(Updated).

Ethernet Details:

[root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet
02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0
Gigabit Ethernet (rev c0)


After looking up various internet resources, I came across:
http://www.linuxfoundation.org/collaborate/workgroups/networking/alx
The site has the required drivers. I am going as per the instructions
mentioned to compile and install the drivers, however I get the
following error:

[root@localhost compat-wireless-2012-03-12-p]# make
make -C /lib/modules/2.6.32-220.23.1.el6.i686/build
M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686'
CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o
In file included from
/home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55,
from command-line:0:
/home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27:
error: static declaration of ‘irq_set_affinity_hint’ follows non-static
declaration
include/linux/interrupt.h:218: note: previous declaration of
‘irq_set_affinity_hint’ was here
make[3]: ***
[/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1
make[2]: ***
[/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2
make[1]: ***
[_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686'
make: *** [modules] Error 2

I would be thankful for any help provided in resolving the issue.

Thanks!


You might want to try the various atl drivers from ELrepo (elrepo.org). 
 They maintain current drivers for a lot of devices not generally 
supported by TUV.  I think you'll want kmod-atl2.  If you find that none 
of the ELrepo drivers work, it might be worth contacting them to get the 
correct one built and added to the repository.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Port puzzle

2012-07-06 Thread Mark Stodola

On 07/06/2012 04:06 AM, Anne Wilson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Logwatch on my laptop tells me

Listed by source hosts:
  Dropped 30 packets on interface eth0
From 192.168.0.40 - 30 packets to tcp(38575)

192.168.0.40 is a mail/file/print server running SL.  It may also be
relevant that the laptop has fstab mounts to data areas on the server.

I feel that there must be some way I can trace what is actually
sending those packets, so that I can make an assessment, but I've no
idea how/where to look.  I see that it's an unallocated address, so
I've no pointer at all.

Where should I start looking?

Anne
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/2qpMACgkQj93fyh4cnBeQlQCggnN/Spo5TubvCrXtCogKVTiJ
VWQAnReuFaQpTA9pJOFweO5K40tPBuUM
=vRqk
-END PGP SIGNATURE-


If the connection is still active, you can use a combination of 'netstat 
-na' and/or 'lsof -nP -i4' to find the process owning the connection. 
If it isn't, it will be difficult to track down without fancier 
logging/capturing tools.  You mentioned remote mounts, but not what 
method (CIFS, NFS, etc).  If it is NFS, pseudo-random ports are chosen 
for the client connections and may be your culprit.


-Mark

--
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: XFCE 4.10

2012-06-01 Thread Mark Stodola

On 05/31/2012 08:43 PM, zxq9 wrote:

On 06/01/2012 03:16 AM, Glenn Morris wrote:

Andrew Z wrote:


just curious if you know the time-frame for 4.10 hitting the SL in
packaged form :) ?


Probably no time soon, since it apparently requires newer versions of
Gtk+, Glib etc than exist in SL 6.

http://docs.xfce.org/xfce/building
Xfce 4.10 requires Gtk+ 2.20 and Glib 2.24

SL6 has 2.18 and 2.22.


This sort of thing is why you exchange cutting edge for stability. Its
the same issue with moving KDE ahead to  4.3: a lot of the core distro
would have to go along with it.

The dependency breakages (or, at a minimum, package rebuilds) required
are a hard enough maintenance problem that its better to just spin off a
new distro than to deal with rifted library problems. Distros get hard
to maintain pretty fast, which is why most distros don't make it very far.

Since both XFCE and KDE aren't part of SL or TUV's distro but come from
EPEL (and probably other repos) its impossible to expect the SL team to
decide to fork the entire distro for the sake of one window manager, as
this is completely against their goals.


Just a minor correction, KDE is indeed part of TUV/SL, it just is not 
the latest bleeding edge, as you state.


--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Whitelisting websites

2012-05-11 Thread Mark Stodola
I would recommend looking into squid or some other filtering proxy.  The 
fundamental problem with using iptables/hosts restrictions is wildcard 
matching for subdomains and various other technical details that you end 
up sinking a vast amount of time to resolve.  There are also several 
commercial solutions that can be implemented at the firewall/router 
level on a per-machine or per-user basis.


-Mark

On 05/11/2012 03:31 PM, Tam Nguyen wrote:

Hi Christopher,
-You can ALLOW vs. DENY, REJECT using /etc/sysconfig/iptables rules.

-You can also, in the httpd.conf file, under the directives *Order
allow,deny*, you can specify allow or deny access to ip address

To deal with DHCP or IPs change, you should research RARP on how to
request IP address from Physical address.  Then you will have to come up
with a script that will updated your server.

Good luck


On Fri, May 11, 2012 at 3:33 PM, Christopher Tooley ctoo...@uvic.ca
mailto:ctoo...@uvic.ca wrote:

Hello All,

I've been requested to whitelist websites for a local user here,
apparently the internet is extremely distracting for work, save for
certain sites - has anyone done something like this before? I know I
could put IPs and website addresses in /etc/hosts, but I don't want
to have to fix the hosts file whenever IPs change.

This will be entirely for one computer.

The only thing I can think of is to have a cron script that will
periodically update the /etc/hosts file with the correct IPs and
addresses - any other suggestions?

Thanks,
-Chris





--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Lifecycle

2012-04-24 Thread Mark Stodola

On 04/24/2012 11:01 AM, Akemi Yagi wrote:

On Tue, Apr 24, 2012 at 8:53 AM, zxq9z...@zxq9.com  wrote:

On 04/24/2012 11:58 PM, g wrote:



On 04/24/2012 11:02 AM, zxq9 wrote:


   From a question on the Japanese mailing list:

TUV is committing to a 10 year production lifecycle for 5 and 6. CentOS
has now reflected this on their project's lifecycle page. Scientific
Linux does not match this.



in a previous post from Connie Sieh;


  Date: Tue, 31 Jan 2012 12:20:13 -0500
  From: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list
  rhelv6-l...@redhat.com
  To: rhelv6-l...@redhat.com
  Subject: [rhelv6-list] Announcement: Red Hat Enterprise Linux Life Cycle
  Extended to Ten Years

Today Red Hat is pleased to announce that it has extended the life cycle
of
Red  Hat Enterprise Linux 5, 6 and future releases from seven to 10 years,
effective immediately. This announcement is in response to the widespread
adoption of Red Hat Enterprise Linux 5 since its introduction in 2007, and
the increasing rate of adoption of Red Hat Enterprise Linux 6 since its
launch in 2010.


hth.



I take that to mean that SL is similarly extended, then. I suppose the
project page just hasn't been updated to reflect this.

Thanks for finding that.


My understanding is that it was a simple forward of the TUV
announcement and that SL has not made an official statement about the
plan.

But I could be wrong. :(

Akemi


I don't see why there is any confusion.  Quoting the SL website:
http://www.scientificlinux.org/about/future

--- BEGIN QUOTE ---
Scientific Linux plans to do security updates as long as the The 
Upstream Vendor (TUV) continues releasing updates and patches. The 
support end dates are based on our current understanding of TUV's 
support schedule.

--- END QUOTE ---

It is pretty clear (to me at least) that they will follow TUV's decision.

The above quote is also present at 
http://www.scientificlinux.org/distributions/roadmap


The End Support at http://www.scientificlinux.org/distributions states 
Until at least date.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Firefox 10 system wide preferences

2012-03-29 Thread Mark Stodola

On 03/28/2012 04:44 PM, g wrote:


On 03/28/2012 09:29 PM, Mark Stodola wrote:



I'm just looking to set the default homepage for now.  Is anyone
successfully doing this?  Has it changed from Firefox 3.0, 3.6, and the
current packaged 10?

-=-

menu bar;

   Edit  Preferences  General

   Startup


That is for a single user, not system wide.





A working example and file path would be much appreciated.

-=-

your choice.




--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Firefox 10 system wide preferences

2012-03-29 Thread Mark Stodola

On 03/28/2012 04:58 PM, Kinzel, David wrote:

-Original Message-
From: owner-scientific-linux-us...@listserv.fnal.gov
[mailto:owner-scientific-linux-us...@listserv.fnal.gov] On
Behalf Of Mark Stodola
Sent: Wednesday, March 28, 2012 3:30 PM
To: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV
Subject: Firefox 10 system wide preferences

I've never attempted to set system wide/global preferences for
Firefox,
but am now looking into how to do it.  Google has not been
very kind in
shedding light on the subject as all of the solutions site different
file locations and names.

I'm just looking to set the default homepage for now.  Is anyone
successfully doing this?  Has it changed from Firefox 3.0,
3.6, and the
current packaged 10?

A working example and file path would be much appreciated.


Hi Mark:

I believe you should be able to update the global prefs.js in something like

/usr/lib64/firefox-3.6/defaults/profile/prefs.js

Eg something like

user_pref(browser.startup.homepage, http://google.com;)

Anything in firefox about:config should be able to be set like that globally.


I'm actually trying on FF 10 on a 32bit install.
I've been trying various filenames with those contents (also pref(), 
lock_pref() and lockPref()) in:

/usr/lib/firefox/
/usr/lib/firefox/defaults/
/usr/lib/firefox/defaults/preferences/ (this is where channel-prefs.js 
exists)
I even created /etc/firefox (and a few subdirectories based on a google 
search.
I'm stuck with the file:///usr/share/doc/HTML/index.html, even after 
clearing out ~/.mozilla.


I'm not looking for theoretical replies, but rather someone who is 
_actually_ doing it and has it working.  There must be someone out there 
who's got this worked out on SL/CentOS/TUV.







Cheers,
Mark
--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591




This email communication and any files transmitted with it may contain
confidential and or proprietary information and is provided for the use of the
intended recipient only. Any review, retransmission or dissemination of this
information by anyone other than the intended recipient is prohibited. If you
receive this email in error, please contact the sender and delete this
communication and any copies immediately. Thank you.

http://www.encana.com



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Firefox 10 system wide preferences

2012-03-28 Thread Mark Stodola
I've never attempted to set system wide/global preferences for Firefox, 
but am now looking into how to do it.  Google has not been very kind in 
shedding light on the subject as all of the solutions site different 
file locations and names.


I'm just looking to set the default homepage for now.  Is anyone 
successfully doing this?  Has it changed from Firefox 3.0, 3.6, and the 
current packaged 10?


A working example and file path would be much appreciated.

Cheers,
Mark
--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: pxeboot kernel problem (additional)

2012-03-06 Thread Mark Stodola

Stephen Berg (Contractor) wrote:

On 03/06/2012 06:00 AM, Tom H wrote:

On Tue, Mar 6, 2012 at 6:36 AM, Stephen Berg (Contractor)
stephen.berg@nrlssc.navy.mil  wrote:

On 03/05/2012 11:04 AM, Stephan Wiesand wrote:
ksdevice=link seems to work for us when reinstalling SL5 systems 
with SL6.
But maybe that's just because we have installed all systems with 
pci=bfsort

since the SL4 times, making device numbering consistent across kernel
versions (and we use only eth0 for PXE). Using pci=[no]bfsort, it 
should
always be possible to make the interface in use primary one. But 
then I'm
not sure what Networkmanager or the new parallel udev device 
discovery may

be doing... And since 6.1, some (recent Dell) servers have biosdevname
enabled by default. Which makes the first onboard interface em1, for
example :-) The advantage is that this will always match the 
physical socket

labelled 1 on the server.
ksdevice=link works for me when I'm doing an actual pxe boot.  I 
haven't
used the pci=bfsort parameter but the sorting of the names isn't the 
problem

here.  The kernel/initrd.img combo from the DVD seem to be ignoring
ksdevice=link and ksdevice=mac addr.  Regardless of sorting issues 
those
should work if I've only got one NIC with an active link, which is 
true, or

if I specify the mac address of the NIC I'm installing over.

What happens if you use a regular DVD, tab out of the menu, and add
your ks=... and ksdevice=... values to the kernel line?

Don't have a DVD drive on that system.  I built a USB stick from the 
install DVD that's boots correctly.  Tried out Tom's suggestion on a 
different system with only one NIC and everything proceeded as expected.


Tried on the problem system and again it worked just like I want it 
to.  But when using the vmlinuz/initrd.img combo from the install dvd 
manually entered into /boot/grub/grub.conf it ignores the ksdevice 
parameter.  The system boots to the installer but gets stuck awaiting 
a selection of which NIC to use.  Selecting the active NIC and 
everything proceeds normally.


What install DVD are you grabbing the image from?  There was a bug in 
6.0 and 6.1 involving the network interfaces during installation.  A new 
6.1 iso was issued and the fix was in place for the initial 6.2 
release.  Make sure you are at least using the corrected 6.1 image.


--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Docbook, Publican, docbook-utils?

2012-03-06 Thread Mark Stodola
Does anyone have any recent experience writing documentation in docbook 
with current tools?
I'm in the process of updating a user manual that I wrote several user 
ago in docbook xml that used xsltproc, fop, and docbook 4.1.x 
definitions.  It looks like I've fallen behind and new tools are 
around.  A search shows that supposedly TUV is using a tool set called 
Publican, but information is scarce.  I also see docbook-utils and 
docbook-utils-pdf as available packages.  Grabbing the latest fop and 
definitions is giving me quite a screen full of errors.  There must be 
an easier way by now.  I'd like to continue to generate html, pdf, and 
ps output at a minimum.


What are people using for a tool chain these days?

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: a question on mozilla applications

2012-02-20 Thread Mark Stodola

On 2/20/2012 5:37 PM, Yasha Karant wrote:

On 02/20/2012 02:32 PM, Chris Pemberton wrote:

On 02/20/12 13:29, Yasha Karant wrote:

Before someone states that this is not a Scientific Linux issue, as it
seems to be restricted to this distribution (perhaps other EL
distributions as well), this issue would seem to qualify.

Rather than using the Mozilla packages that exist within the
distribution repository, I use the production (not testing or beta)
installations from Mozilla: firefox, thunderbird/lightning, and
seamonkey, currently 10.0.2 except SeaMonkey 2.7.2.

My laptop and workstation are operating environment identical except
that my laptop is IA-32 SL6x and my workstation is X86-64 SL6x (and
there are some hardware differences reflected in driver differences).
On my workstation, as root, I can update any of the Mozilla
applications I have mentioned within a major release (e.g., 10.0.1 to
10.0.2) from within the application. However, on my laptop, this
generally fails and I must download a new tar.bz2 file that I must
unpack into the appropriate directory. Does anyone have an idea on
what is the reason? Note that my mozilla configuration files between
the two platforms are the same in so far as I have any control over
these (e.g., visitation to different URLs from firefox or seamonkey
might have different cookies, etc., loaded -- but all URLs are either
mandated by my university or from clean sites).

I have done a cursory check of the mozilla public lists but have found
nothing of relevance.

Thanks for any insight.

Yasha Karant

Could you start firefox from a terminal, try the internal update
process, and see if any usefull information is given in the terminal?
Sure sounds like a permission problem; but you said you are using root?
You should be able to destroy anything as root:)

Chris


There is no problem in downloading from Mozilla the entire update as a 
tar.bz2 package followed by the manual installation ( tar -vxjf ) as 
root into the appropriate directory.


However, there is a mechanism, for minor release updates (e.g., 10.0.1 
to 10.0.2) within firefox, thunderbird/lightning, and seamonkey 
without the manual unpacking -- the files are updated within the 
running application and the updated instance is invoked at the next 
initiation (restart) of the application.  This mechanism needs to be 
as root if the files are installed in a systems, as contrasted with an 
ordinary end-user, directory.  However, the mechanism fails on one 
SL6x box but succeeds on another; when the mechanism fails, then I 
must used the manual installation method from the tar.bz2 file as 
explained above.


Yasha Karant


I believe Chris is well aware of that.  He instructed you to start 
firefox from a terminal and attempt the update process from within 
firefox (meaning _not_ the tar.bz2) and see if it has any errors written 
to stdout or stderr in the terminal.  It helps if you read the email you 
are replying to.


-Mark


Re: SL 6.2 rpmfusion

2012-02-18 Thread Mark Stodola

On 2/18/2012 3:57 AM, Daniel Pun wrote:

Hi Steven,

I did already enable EPEL after the installation of SL 6.2
and have removed the RPMFUSION Fedora packages
and now installed EL6 RPMFUSION packages.

According to your suggestions, my output are as follows:

[pund@church ~]$ rpm -qpl rpmfusion-free-release-6-0.1.noarch.rpm
warning: rpmfusion-free-release-6-0.1.noarch.rpm: Header V3 RSA/SHA256 
Signature, key ID 849c449f: NOKEY

/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-6
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo
/etc/yum.repos.d/rpmfusion-free-updates.repo
[pund@church ~]$  rpm -qpl rpmfusion-nonfree-release-6-0.1.noarch.rpm
warning: rpmfusion-nonfree-release-6-0.1.noarch.rpm: Header V3 
RSA/SHA256 Signature, key ID 5568bbb2: NOKEY

/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el-6
/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo
[pund@church ~]$



I will install yum-plugin-fastestmirror and see how it goes.
Thank you very much for your help.

Best regards,
-Daniel.


If all you are after is kmod-nvidia, I highly recommend using the ELRepo 
repository.


-Mark


Re: CUPS doesn't offer Ledger as a paper size

2012-02-02 Thread Mark Stodola

James M Pulver wrote:

We've got a Brother MFC-j5910 which is working great networked via the brother 
LPD and CUPS driver, except if you want to print 11x17 / Tabloid. The printer 
for some reason doesn't support that, and instead supports the less common 
17x11 / Ledger format. If I use a program that allows you to set a CUSTOM paper 
size of 17x11, it prints as expected (well, not really, I have to still change 
to landscape when it should be portrait for that size configuration)... The 
issue I have is, on Windows computers using the standard CUPS drivers shared 
over SAMBA, I can't select a custom paper size (and most users on Linux expect 
to use Tabloid, not a custom paper size)...

Any ideas what I should do here? CUPS is on a SL5 server.

--
James Pulver
LEPP Computer Group
Cornell University
  
You should be able to modify the ppd file in /etc/cups/ppd/.  You can 
add/modify paper dimensions as needed there.  I'd start by cloning the 
Ledger entry, naming it Tabloid (or whatever), then adjusting the 
dimensions to the orientation you want.  Restart cups after editing.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Install Mount Configuration

2012-01-25 Thread Mark Stodola

Jeremy Wellner wrote:

I have a sadly newb question to put forward to the list.

In setting up SL 6.1 for my workstation I made the decision to not use 
the dell fakeraid card that was built in and instead used the built in 
soft raid with SL to make RAID1 mirrors of all the basic partitions so 
I would have a rather robust workstation.


This plan, has hit a snag at this point however because with the 
latest kernel update, it is unable to apply because my /boot is too small.


FilesystemSize  Used Avail Use% Mounted on
/dev/md2  385G  4.2G  361G   2% /
tmpfs  12G  220K   12G   1% /dev/shm
/dev/md0   97M   83M  9.8M  90% /boot
/dev/md3  1.4T  164G  1.2T  13% /home

So since this doesn't have a lot on it yet, I'm ok with a 
nuke/pave/reinstall in the name of learning, however I'm wondering 
what a decent mount layout should look like.


This is a machine with 24GB of RAM and a pair of 2 TB HDDs.

Thanks!

Jeremy Wellner
Technology Group
Stanwood-Camano School District
jwell...@stanwood.wednet.edu mailto:jwell...@stanwood.wednet.edu

Internal: x4357
External: 360-629-1205
Cell: 425-418-4972

“We’re here to put a dent in the universe. Otherwise why else even 
be here?”

-Steve Jobs

That seems like a pretty full /boot, maybe you should uninstall some 
older, unused kernels.  100M should be plenty of space for /boot.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: output of var/log/messages on the terminal

2011-12-10 Thread Mark Stodola

On 12/10/2011 1:49 PM, Andrew Z wrote:

gys,
 how can i send the  /var/log/messages on a designated terminal?
 i remember some many years ago i saw on of SAs having messages file 
to 11 or 10 terminal from the moment machine booted. The gain - they 
just switch to it instead of typing tail .


Hope makes sence and thank you in advance.
Andrew
I don't practice this myself, but I suspect an entry in /etc/inittab 
like this would suffice:

tty11::respawn:/usr/bin/tail -f /var/log/messages

-Mark


Re: upgrading apache to 2.2.21

2011-11-22 Thread Mark Stodola

dricha...@globalcerts.net wrote:

Thanks for your response.

  

Heho,


I am running Scientific Linux 6.0, which comes with Apache 2.2.15.
I need to upgrade it to 2.2.21.
  

Please keep in mind that a manual installation will result in you having
to keep track of security updates.



The reason for the upgrade is to pick up the security fixes in 2.2.21.
  
This is where TUV's practices can get one confused.  They have a habit 
(for good reason) of sticking with a version number on release and 
backporting patches (including security) as needed.  Sometimes it is 
worth reading the changelog/revision history for a specific package to 
save yourself some time in the long run.


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: List mirrors gateways

2011-11-18 Thread Mark Stodola

Monte Milanuk wrote:

Hello all,

Are there any mirrors or mail2news gateways for the scientific-linux 
lists?  Specifically, I thought I read some time back about efforts to 
get it on Gmane.org, but I can't find any archives there yet/still?  
I'm mainly interested in that because it makes it very easy to follow 
a list without filling my mail box, etc.


Thanks,

Monte

Monte,

There are archives maintained on the website if that is what you are after:
http://www.scientificlinux.org/maillists/

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Updated version of Install-DVD.iso and Everything-DVD1.iso now available for SL 6.1 i386/x86_64

2011-11-10 Thread Mark Stodola

Connie Sieh wrote:
I have patched the Install-DVD.iso and Everything-DVD1.iso for both 
i386 and x86_64 to fix the issue where the network was required during 
a install.This also removes the ability to install security 
errata during the install as this was broken for the 
Everything-DVD1.iso and it did not follow TUV.


Images are available at

ftp://ftp.scientificlinux.org/linux/scientific/6.1/i386/iso/
ftp://ftp.scientificlinux.org/linux/scientific/6.1/x86_64/iso/

The new image names are

SL-61-x86_64-2011-11-09-Install-DVD.iso
SL-61-x86_64-2011-11-09-Everything-DVD1.iso

SL-61-i386-2011-11-09-Install-DVD.iso
SL-61-i386-2011-11-09-Everything-DVD1.iso


The old versions have been moved to a archive/ directory in each of 
the above directories.


These images were remastered by taking the existing images and 
adding the patch and then recreating the images.  The only 
difference is the addition of /images/updates.img which contains the 
patch.


-Connie Sieh

Connie,

Thank you for taking the time to fix this.  Much appreciate by myself 
and I'm sure many others.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: kudzu changes ifcfg-ethx files when moving disc

2011-10-31 Thread Mark Stodola

Bill Askew wrote:

We have some Lenovo T61p laptops that we are running SL 5.0 on.
I configure /etc/sysconfig/ifcfg-eth0 with a static IP address.  I am not 
putting in the MAC information on purpose.  
I reboot and the configuration works fine.  
In the production environment we have, one laptop is used to produce the 
installations for all the laptops.  The drives are then installed in 
different laptops.
When the new laptop is booted it looks like kudzu conceders the Ethernet 
chip to be a new device since the MAC address is different, so, kudzu 
messes up the Ethernet configuration.
Is there an option to keep kudzu from changing Ethernet configurations or 
do I just need to disable it?

If I disable kudzu, will hot plug items like a USB device still work?
Thanks
  

Bill,
I've experienced the same situation over the years.  I simply disable 
kudzu after the initial installation.  It will not affect USB or other 
hotplug type devices as you question (at least from my experience).  I 
have a setup script/rpm that issues a 'chkconfig kudzu off' and go on my 
way.  The only time I've needed to run it again is if I change hardware 
that requires different drivers.  You can then make the changes by hand, 
or run kudzu from the command line on an as-need basis.


For information's sake, kudzu builds, maintains, and monitors 
/etc/sysconfig/hwconf in case you are curious how it determines things.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: hardware compatibility list

2011-10-25 Thread Mark Stodola
I'll second this.  Been using Intel-branded motherboards and NICs 
(ELrepo drivers) for quite a few years now without problems.


Phong Nguyen wrote:
Intel-branded motherboards are likely to be compatible, though you may need to get backported drivers for the NIC via ELRepo. 


On 25 Oct 2011, at 1018, Scott Williams wrote:

  

Hi,

I have been searching for a hardware compatibility list for scientific
linux, specifically for motherboards (which I have had a problem with
in the past). I have a hardware supplier that has limited stock, so I
am not free to choose from an extensive list and would like to be able
to check particular motherboards for compatibility. Initial searches
have not proved successful. Does such a list exist?

Thanks,
Scott

--


Scott Williams  email: willi...@nscl.msu.edu
Physicist telephone: +1 517 908 7296
NSCLfax: +1 517 353 5967
Michigan State University
1 Cyclotron
East Lansing, MI 48824, USA





--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: ifplugd rpm

2011-10-21 Thread Mark Stodola

On 10/21/2011 10:29 AM, Werf, C.G. van der (Carel) wrote:


I am looking for a tool like ifplugd.

Can anyone point out why I can find ifplugd-packages for el4 and el6 
but not for el5 ?


Regards,

Carel van der Werf

I may be wrong, but that particular project is defunct as far as I can 
tell.  No releases since 2005.
NetworkManager provides the same sort of services and is widely used 
among distributions.  It is included with SL6.  I don't recall coming 
across it in SL4, but an older version can probably be built and 
installed if you can't find it in an existing repo such as EPEL or similar.


-Mark


Re: SL 5.7 Intel Integrated HD Graphics 3000 SandyBridge

2011-10-17 Thread Mark Stodola

Matthias Schroeder wrote:

Hi Yasha,

On 10/17/2011 03:37 PM, Yasha Karant wrote:

After much searching, I found for my wife a laptop that we could afford
given that her Department had no funds to replace her stolen laptop, one
that does work under EL including the 802.11 WNIC. It is a Lenovo G570
that uses an Intel Integrated HD Graphics 3000 (SandyBridge)
graphics/video controller. The supplied display is 15.6” HD screen
(1366x768), 16:9 widescreen. The 1366x768 resolution is not one of the
choices, and I am not certain that the default VESA Xwindows driver has
this resolution. Thus, the display is not optimum.

Does anyone either have experience with this unit (I did hunt on Linux
on Laptops) or with the correct Xwin driver for Intel Integrated HD
Graphics 3000 and/or the 1366x768 screen?


The intel driver for the SandyBridge built-in graphics controller is 
not compatible with the Sl5.7 kernel, so I don't think that SL5.X is 
suitable for that hardware.


I would expect SL6.1 to be ok though.

Matthias



Yasha Karant
Agreed, I did some testing on new hardware and found that even the VESA 
driver caused hardware lockup after a period of time.  TUV officially 
supports the chipset as of 6.1, no earlier.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: need help with gnutls and p11-kit

2011-09-27 Thread Mark Stodola

Howard, Chris wrote:

I've been given the task of installing filezilla on  SL 5.3

It demands gnutls with a version higher than what comes with SL.
gnutls demands p11-kit  (whatever that is!)

Compiling p11-kit seems to work but then gnutls can't seem to find it.
Configure says No package 'p11-kit-1' found
And I don't see any hints about how to resolve that issue.

Any help would be appreciated.

Chris Howard
  

Chris,

I've got filezilla 3.3.2 running on SL5.2 (gnutls 2.8.5, wxwidgets 
2.8.10) all with using stock packages.

filezilla-3.3.2-1.el5.rf.i386 (pretty sure that rf is for rpmforge)

-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Any CentOS 5.6 friendly ink jet printers?

2011-09-16 Thread Mark Stodola

On 09/16/2011 09:21 PM, Todd And Margo Chester wrote:

Hi All,

I have a sweet old duffer on CentOS 5.6, x32 with
an HP DJ 6940 printer on the USB bus. CUPS like to
put it offline a lot, which frustrates the two of us.

There is also no easy way to clean the heads (other
than a dubious command line program).

Can anyone recommend a Linux friendly ink jet? One
with a front panel control to clean the thing? Must
be CUPS friendly too.

Many thanks,
-T


I've been using HP exclusively for years with SL.  USB going offline has 
been a problem in the past, and there are scripts to help with it (newer 
cups version handle things more gracefully).  Currently I've been using 
HP Officejet 7000WF printers over ethernet with extremely good luck. 
They provide a web interface to perform all of the Windows driver 
functions, as well as a few buttons on the front to print diagnostics 
and initiate head cleanings.


-Mark


Re: Fwd: ADSL/pppoe configuration

2011-08-29 Thread Mark Stodola

Tanmoy Chatterjee wrote:

On Tue, Aug 30, 2011 at 12:35 AM, Steven J. Yellin
yel...@slac.stanford.edu wrote:
  

   You may already understand what I'm about to write, but it's possible
that you're enough of a newbie that you've misunderstood the role of rpms,
so I'll explain anyway:
   Downloading a rpm, like rp-pppoe, is not a method of connection; it's
part of a proceedure for getting the rp-pppoe software into your computer if
it isn't already there.  If the command

rpm -q rp-pppoe

shows that the package is already there (compare with what you get for a
non-existent rpm as in 'rpm -q Tanmoy') then there's no point in again
putting it into your computer via a USB stick.  The rpm should be installed
once, and then never needs to be installed again.  In the case of a
distribution such as RHEL, standard practice is to have necessary rpms
installed initially as part of the original system.  It would be somewhat
surprising if that didn't happen with rp-pppoe.


I think I have failed to clearly point out my problem. I know how to
set-up pppoe connection via Roaring Penguin software rp-pppoe as I
have already done so with my Fedora 13 and Ubuntu partitions.
As I am currently installing SL from Livecd which does not come with
that rp-pppoe package. So that I have to download it somehow and then
install it to set up a pppoe connection. That's why I am asking
whether there are any other software/method to set up pppoe connection
in SL?
My confusion increases with googling and after going through RHEL
documents - I have found some suggestions there as how to configure it
with pppd. Just want to know how is it different than the software we
are dicussing rp-pppoe and is there some easy steps to do so.
  

Steven Yellin

On Mon, 29 Aug 2011, Tanmoy Chatterjee wrote:



...
On Mon, Aug 29, 2011 at 1:33 AM, Urs Beyerle urs.beye...@env.ethz.ch
wrote:
...
  

download the rp-pppoe rpm and put it on an USB stick.


3) I can do that. But after checking the RHEL Deployment guide - they
have not mentioned this method for pppoe connection - as not being a
computer student I want to know what the standard practice in this
case for distribution such as RHEL.

...
  


I'm still not sure what you are trying to accomplish.  If you have other 
linux distributions on other partitions, can't you simply wget the RPM 
from there, reboot to SL, mount the other OS's partition and 
copy/install it from there?


http://ftp.scientificlinux.org/linux/scientific/6.1/i386/os/Packages/rp-pppoe-3.10-8.el6.i686.rpm
Change release/arch as needed...

Why go through all of the trouble of cobbling your connection via other 
means?  Sounds like you are trying to make it harder than it actually is.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: How to update the Kernel, keeping the proprietary modules.

2011-08-18 Thread Mark Stodola

On 8/18/2011 5:33 PM, Pablo Cavero wrote:

Hi,

I have another question, so how to I can do an kernel update, and 
don't lose the proprietary modules.
I use a Raid Adaptec and Network Cards Intel, and if I move, like 
example, from the Kernel:


2.6.32-71.el6.x86_64

to

2.6.32-131.6.1.el6.x86_64

How to I keep the modules??

I have the GCC, Make, etc, and Source of the Intel Drivers for the 
NICS, but for the Adaptec Drivers, only have the Disk pre-config to 
the first time of installs. The Intel driver was compiled and 
installed in the same server.


Best Regards,

--
Pablo Cavero
System Engineer
+569 8920 9509 tel:%2B569%208920%209509


I'd have a look at ELRepo and see if your drivers are there.  They build 
kmod drivers that will track with kernel upgrades as best as possible.  
You can use them as an example to build your own at the very least.


-Mark



Re: usb attached mouse is dying and usbcore is missing

2011-08-15 Thread Mark Stodola

Alan Bartlett wrote:

On 15 August 2011 18:47, Andrew Z form...@gmail.com wrote:

  

Saga continues.. Now the intervals between lockups increased from 15 minutes
to hours/days.
Last night i tried to rmmod usb* modules and to my amusement i could not.
rmmod -f caused nothing, but hanging of the session with no info in logs...
Wonderful i can't even remove the dam module



Hint. Rather than attempt to use a big hammer, rmmod, try a more
gentle method, modprobe -r module_name.

Alan.
  
I haven't been following too close, but are you sure your mouse isn't 
faulty?  Does this happen with a different mouse?  Does this mouse 
behave fine on another machine?


I mention this because I've seen cases where you start going down one 
path only to find the other was correct.  I've had bad keyboard/mice in 
the past and blamed everything but, until finally realizing it.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: How to turn off screen saver and DPMS

2011-07-15 Thread Mark Stodola

Michael Jones wrote:

On 07/14/2011 01:41 PM, Dag Wieers wrote:

On Thu, 14 Jul 2011, Michael Jones wrote:

   Despite this radically overkill approach, the screen still turns 
off after around half an hour. I suspect that the reason is the 
monitors built in power saving features, which I believe should be 
prevented by the xset -dpms command, but doesn't appear to be.


   Does anyone have any ideas? Is there something that can be added 
to the xorg configuration to prevent the screen from turning off, 
perhaps?


We have been investigating this somewhere in 2008 for a conference 
(FrOSCon) with the aim of providing 2 large conference screens 
directing people to various talks at the entrance (a bit like as you 
can see at airports), but also for the various presentation computers 
in the various rooms.


Obviously, the first year having to provide input every hour to make 
sure they didn't blank was not very much appeciated. (But hey, 
CentOS+ELRepo actually worked on the hardware, in contract to latest 
Fedora and Ubuntu) So our LiveUSB solution that was not designed for 
it, was not tested for this kind of use.


The next year I came up with the following configuration (tested on 
CentOS 5), which worked:


 ### Disable screensaver start
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
bool  /apps/gnome_settings_daemon/screensaver/start_screensaver false

 ### Disable screensaver locking
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
bool /apps/gnome-screensaver/lock_enabled false

 ### Disable screensaver altogether
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
bool /apps/gnome-screensaver/idle_activation_enabled false

 ### Increase screensaver idle time (max 2h, we set to 10h)
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
bool /apps/gnome-screensaver/idle_delay 600

 ### Disable DPMS screen blank on AC and battery
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
string /apps/gnome-power-manager/ac_dpms_sleep_method off
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
string /apps/gnome-power-manager/battery_dpms_sleep_method off

 ### Disable Computer sleep when on AC and battery
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
integer /apps/gnome-power-manager/ac_sleep_computer 0
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
integer /apps/gnome-power-manager/battery_sleep_computer 0

 ### Disable Display sleep when on AC and battery
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
integer /apps/gnome-power-manager/ac_sleep_display 0
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
integer /apps/gnome-power-manager/battery_sleep_display 0

 ### Disable Dim-on-Idle
 gconftool-2 --direct 
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t 
bool /apps/gnome-power-manager/dim_on_idle false


 ### Other noblank features
 cat EOF /etc/X11/xinit/xinitrc.d/noblank.sh
 echo Disable screen blanking for $TERM and $DISPLAY
 setterm -powersave off -blank 0
 #xset -dpms
 xset dpms 0 0 0
 xset s noblank
 xset s off
 EOF
 chmod 0755 /etc/X11/xinit/xinitrc.d/noblank.sh

It is quite possible some things are redundant, but once it worked I 
wasn't very interested to find those items that were not helping the 
cause ;-)


Hope this works for you. Do let me know if you can improve this scheme !

Kind regards,


This does indeed work! I'm going to hand it off to the rest of our 
software staff for integration and any necessary improvements. If I 
hear of any changes that seem useful to others, I'll certainly pass 
them along.


Thanks a bunch!

Michael Jones
Software Engineer
CyberMetrix
2860 N National Rd #A
Columbus, IN 47201-4746 USA
812-375-5868
Just an observation, but depending on what you need displayed and 
interacted with, you could consider running a more trimmed WM or none at 
all.  This would drop all of the gconf settings and leave you with 
simply dealing with the xset/DPMS features of the X server.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: RPM: file versions

2011-07-15 Thread Mark Stodola

Andrew Z wrote:
On Fri, Jul 15, 2011 at 3:41 PM, Phil Perry p...@pendre.co.uk 
mailto:p...@pendre.co.uk wrote:


On 15/07/11 19:54, Andrew Z wrote:

On Fri, Jul 15, 2011 at 2:42 PM, Phil Perryp...@pendre.co.uk
mailto:p...@pendre.co.uk  wrote:

On 15/07/11 19:28, Andrew Z wrote:


Skip

You need to have your SPEC file create the symlinks in the
buildroot so that
they are a part of the package, i.e, the symlinks are
owned by the rpm
package. Then when you uninstall or update the package rpm
will
remove/update the symlinks for you rather than leave them
dangling as per
your example above.

Take a look in any relevant package SPEC file from the
distro for examples
of how this should be handled.


Phil,
 thank you. That's what i thought and i took a look @
glibc-2.3.4-2.54.src.rpm. I didn't notice any of the
functionality you
mentioned, which prompted me to write the email.

another question is :
 do i explicitly add the file.version to the %files section
 or just
mention the link ?

Thank you
Andrew


To summarize,  lib_andrew-123.rpm installs the file
lib_andrew.so.123 and creates a symlink to it called lib_andrew.so

Here is how I would handle it:

# make the libdir directory in the buildroot
%{__mkdir_p} %{buildroot}/path/to/libdir/

# then install the lib
%{__install} -p -m 0755 lib_andrew.so.123 %{buildroot}/path/to/libdir/

# then create the symlink(s) as necessary
%{__ln_s} lib_andrew.so.123 %{buildroot}/path/to/libdir/lib_andrew.so


You must also make sure /path/to/libdir is on the ldconfig path if
you have installed to a non-standard path - if not, add it like so:

%{__mkdir_p} %{buildroot}%{_sysconfdir}/ld.so.conf.d/
echo /path/to/libdir 
%{buildroot}%{_sysconfdir}/ld.so.conf.d/lib_andrew.conf

but if you can, it's far easier to just install to /usr/lib(64)

Finally, in %post run /sbin/ldconfig

Your %files section then needs to include all of the above.

Hope that helps


Phil this is very helpful indeed. But the links are created by make 
not by mr (rpm).  So how should we go around this?
 
Andrew


If I'm not mistaken, you should not need to manually link libraries.  
ldconfig should be taking care of this for you, so all you would need is 
the %post entry to run ldconfig with the proper flags after 
install/upgrade/removal.  Assuming it ends up in a standard path, 
otherwise the ld.so.conf entries are needed as well.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: pbone

2011-06-01 Thread Mark Stodola

Nico Kadel-Garcia wrote:

On Tue, May 31, 2011 at 12:36 PM, Todd And Margo Chester
toddandma...@gmail.com wrote:
  

On 05/31/2011 05:12 AM, Nico Kadel-Garcia wrote:


On Tue, May 31, 2011 at 1:03 AM, Todd And Margo Chester
toddandma...@gmail.com  wrote:
  

Hi All,

I ask the guys over at

http://rpm.pbone.net/

to add a line for FC14, FC15, RHEL6, and SL6 over on
their advanced search and they actually did.

Now we can search for SL6 and RHEL6 specific
RPMS at pbone.  Very cool.

-T


Thanks very much indeed. I do some testing with FC15, now that it's out.

  

You guys are all welcome!  Thank you for noticing.  :-)

Nico,

FC15 changed their network adapter naming convention.  See:

http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming

And, they substituted nm-connection-editor for system-config-network.
My eth0 became p2p1.  ifconfig -a will show the new names.  (We will
probably see these changes in EL sometime soon.)



This is not likely. This would be a substantial change to the most
basic configuration tools on the installation media and their default
interfaces. I would not expect to see a feature like that in an RHEL
release, and thus in SL, until after  all the kinks are worked out of
it in Fedora, and RHEL 7 and thus SL 7 is released.
  
This is a feature in RHEL 6.1.  It is disabled by default except on 
certain Dell models.

You can find this in the Hardware Support section of the release notes:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.1_Release_Notes/ar01s01.html

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: USB over IP programming experience

2011-05-13 Thread Mark Stodola

David,

This sounds like a job for a terminal server (RS232 over IP).  They are 
very common and easy to work with.  In fact, I'll be on your campus for 
the next 2 weeks (flying in Sunday) to help install an accelerator that 
is being moved.  Part of the installation includes such a device.  I'd 
be happy to meet up and show it to you along with code.  Our control 
system software is written so that you can open a direct device (serial) 
connection or a TCP/IP connection with a simple command line argument.  
This results in minimal code changes.


If you are interested in meeting or want more detailed information, we 
can take it off-list.  My contact at Vanderbilt is Mike McCurdy, 410 
24th Ave S.


Cheers,
Mark

David McLean wrote:

Hi,
This is a two-part question: Firstly, has anyone worked with any of 
the USB over IP devices in a Linux environment? Secondly, if so, has 
anyone had any experience developing software to communicate with 
these devices.


I'm looking at trying to control various RS-232 devices over a 
network. I currently have developed software that controls these 
devices though a basic USB to RS-232 adapter but I would like to place 
a networkable IP-based hub with these adapters connected to it. From 
what I've seen so far, many USB over IP devices do not support Linux. 
Does anyone have any experience or insight with USB over IP?


Thanks for your attention!

--

/ David L. McLean
Research Automation Engineer

VIIBRE -Vanderbilt Institute for Integrative Biosystems Research and 
Education


6805.4 Stevenson Center
VU Station B 351807
Nashville, TN 37235-1807

Ph: 615.343.4124
Fx: 615.322.4977
www.vanderbilt.edu/viibre

david.l.mcl...@vanderbilt.edu mailto:david.l.mcl...@vanderbilt.edu /




--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: OpenGL driver not correctly installed? Which driver for nVidia 280?

2011-04-12 Thread Mark Stodola

Brunner, Brian T. wrote:

Board: Gigabyte GA-M59SLI-S5
(http://www.gigabyte.com/products/product-page.aspx?pid=2302dl=1#ov)
Chipset nVidia nForce 590 SLI
CPU: AMD 64 FX 62 (2-core)
Video: Nvidia 280
OS: SL6 (kernel 2.6.32-71.24.1.el6.i686)
RAM: 4GB

I did yum install wine wine-devel and a few other things.

Attempting to run video games (Diablo II-LOD and World of Warcraft)
under wine raises an error OpenGL drivers are probably not installed
correctly.

== Question: Which video driver package(s) should I install?


(Sorry, I won't buy nVidia again. Promise. At least not until they
support Linux as well as ATI)

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.

//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

  
Install the kmod-nvidia and associated packages from ELRepo.  I'd take 
nvidia over ati under linux, the 2D performance from the ati driver is 
horrible, especially under multiple monitor configurations.  The binary 
driver has been very stable for the last 5+ years.  Just my 2 cents...


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Intel 82579 Gbit LAN chipsets

2011-04-05 Thread Mark Stodola

Chris Tooley wrote:

Hello all,

I am wondering whether the Intel 82579 Gbit LAN chipsets are supported 
natively by any packages or the kernel, or whether I have to install a 
newer driver?


Thanks,
~Chris Tooley
I try to use Intel NICs as often as possible.  If the standard SL kernel 
doesn't support it, ELRepo (http://elrepo.org/) typically has the latest 
driver ready to drop in without hassle.


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: forum for Scientific Linux users

2011-03-25 Thread Mark Stodola

n...@li.nux.ro wrote:

Kevin Thomas writes:


« HTML content follows »
I don't know if everyone was aware of this (I just found out 
yesterday), but there is a forum for Scientific Linux.  It looks like 
it was created fairly recently.  I just wanted to bring it up in case 
some of you prefer web forums to mail lists (like me).  The url 
is URL:http://scientificlinux.proboards.com/index.cgi?http://scientificli 
nux.proboards.com/index.cgi?



Kevin


Maybe it would be interesting to have some official forums under 
scientificlinux.org domain name; these proboard things, they come and go.


My 2p

--
Nux!
www.nux.ro
My biggest complaint with web forums is the volume of spam that seems to 
get through, no matter how hard you work against it.  I don't think that 
is something Connie, Troy, and company want eating up their time.  The 
mailing list is indexed and searchable on the website already.  I'm not 
trying to dissuade, just putting an alternate perspective on it.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: HPLIP v.2.8.10

2011-02-08 Thread Mark Stodola

Alan Bartlett wrote:

On 8 February 2011 03:21, Chris Tooley ctoo...@uvic.ca wrote:

  

I am attempting to get an HP Color LaserJet cp2025dn installed on some SL5
systems.

Firstly, if anyone has any experience getting these up and running I would
be grateful for some hints or help :)

Anyway, according to here:
http://hplipopensource.com/hplip-web/models/color_laserjet/hp_color_laserjet_cp2025dn.html

I need to have HPLIP 2.8.10 or greater installed - which seems to pan out as
I have tried to get a PPD from a newer ubuntu system to work with SL5 and it
has issues with a foomatic script - which implies to me that a PPD alone
won't work.

As far as I can see, HPLIP in the repos is version 1.6.7 - is there a repo
out there that has a newer version?



Scott Robbins has an page [1] titled Installing HPLIP 3.10.6 on
CentOS 5.3 that might be worth a read.

Alan.

[1] http://home.roadrunner.com/~computertaijutsu/hplip.html
  

This might be of help:
http://www.openprinting.org/printer/HP/HP-HP_Color_Laserjet_CP2025dn
It looks like it is supported by the older HPIJS.  You probably won't 
get all of the advanced features it may have, but it will print.  The 
package is called hpijs in SL5.


If that fails, try some of the generic PCL drivers or even Postscript.

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: please give me the required link

2011-01-18 Thread Mark Stodola

Urs builds a great livecd, however no torrents listed on his site.
http://www.livecd.ethz.ch/

Not sure why it needs to be a torrent though, plenty of fast mirrors 
available.


-Mark

Parshwa Murdia wrote:

hi,

can one get me TORRENT link for KDE desktop version of live CD of SL
5.5 for a single desktop PC at home.

  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Network Shared close periodically

2011-01-13 Thread Mark Stodola
This could be a simple matter of firmware for the USB wireless 
adapters.  Have you tried removing the USB adapters for a few seconds 
after linux has been shutdown, then booting windows?  You could also 
unplug them while windows is running and then replug to load windows' 
copy of the firmware.  I've had adapters that refuse to work between the 
2 OSes because of mismatched driver/firmware combinations without 
removing power from the adapter.  I imagine there is some flag or device 
ID change that occurs once the firmware is properly loaded, causing 
subsequent loads to be ignored.  I've seen this with JTAG programmers as 
well.  You may be experiencing this, only in a more subtle manner.


-Mark

Rachid Ayad wrote:
 Sorry i forgot to say even when only windows is running the network 
is also stopping priodically. Before installing linux as double boot I 
shrinked the NTFS parttion to free space for linux so 

The wireless source is in a linux box running linux enterprize.

 Thank you, Rachid


On Thu, 13 Jan 2011, Rachid Ayad wrote:

Justly I just arrived at a Lab that has many wondows boxes and I need 
linux for my work so I installed SL Linux 5.5 as double boot with 
VISTA and in all machines with double boot windows-linux the network 
is lost periodically. All the PCs have USB wireless probe. I am new 
in the Lab but at the time I am writing this email i did not check 
yet the wrieless source.


Thank you, rachid.


On Thu, 13 Jan 2011, Francesco Alfano wrote:


Hello,
I have a problem with the (exported) sharing of network resources.
Initially i've used a sever with RedHat 7.3 kernel 2.4 now i've 
installed Scientific Linux 5.5 with kernel 2.6.18-194.32.1.el5PAE 
with Samba version 3.0.33-3.29.el5_5.1.
The problem is that I lose the network connection periodically, 
about 10 minutes!


I initially thought the problem was caused by a misconfiguration of 
samba version of sl, that I installed on a client machine with 
windows 2000 the Microsoft Windows for Unix in order to use nfs 
connection exported from linux server, but the problema arise equally.


It's a serious problem for me because the disconnection of a mapped 
drive on w2k (connected via smb or nfs) is causing the crash of a 
basic application that tries to detect the presence every second of 
a new file in shared resource.


This problem was not present with the older version of linux !!!


Thanks in advance for your help.

--
--
Best Regards
Francesco Alfano






--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: EVO video with nvidia drivers

2011-01-03 Thread Mark Stodola

Devin Bougie wrote:

Hi, All.  We have several SL5 systems using the proprietary nvidia driver from 
sl-contrib.  We did not have any trouble with these systems until we tried to 
view video in EVO (ViEVO).  We have no problem using EVO with the latest 
260.19.29 drivers downloaded and installed from nvidia.com.  However, we are 
unable to view video when using nvidia-x11-drv from sl-contrib or 
nvidia-graphics260.19.21 from atrpms.  In all cases, xorg.conf is essentially 
unchanged.

Please see below for example output from unsuccessful and successful attempts 
at running ViEVO.  Any suggestions for fixing this using the sl-contrib (or 
atrpms) drivers would be greatly appreciated.

Many thanks,
Devin

Here is the output from attempting to run ViEVO while using nvidia-x11-drv from 
sl-contrib:
--
[da...@lnx226 ~]% rpm -qa |grep -i nvidia
nvidia-x11-drv-195.36.24-1.0.x86_64
nvidia-x11-drv-32bit-195.36.24-1.0.x86_64
[da...@lnx226 ~]% uname -a
Linux lnx226.lns.cornell.edu 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:46:16 EST 
2010 x86_64 x86_64 x86_64 GNU/Linux
[da...@lnx226 ViEVO]% ./ViEVO 127.0.0.1/:2224
Settings error: .preferences.xml: cannot open file
Got Doublebuffered Visual!
glX-Version 1.4
Sorry, no Direct Rendering possible!
System name - Linux 
Nodename - lnx226.lns.cornell.edu 
Release - 2.6.18-194.26.1.el5 
Version - #1 SMP Tue Nov 9 12:46:16 EST 2010 
Architecture - x86_64 
Error when oppening BMPimage file: earth.bkg 
/// VERSION /


  Vievo 2.0 (Build: linux 32-bit PROD Date: 13.05.2010 )

///  OpenGL Support Protocol  
///
  OpenGL version:  1.4 (2.1.2 NVIDIA 195.36.24)
  Vendor:  NVIDIA Corporation
  Renderer:  Quadro NVS 290/PCI/SSE2
  ---
  YUV_TEXTURES_SUPPORTED : 0 
  
  GLEE_VERSION_2_0 : 0 
  GLEE_ARB_shader_objects :   0 
  GLEE_ARB_vertex_shader :0 
  GLEE_ARB_fragment_shader :  0 
  GLEE_ARB_shading_language_100 : 0 
  -
  PIXEL_BUFFER_OBJECTS_ARB_SUPPORTED : 0 
  OPEN_GL_2_1_SUPPORTED : 0 
/  END  /


libDeckLinkAPI.so: cannot open shared object file: No such file or directory
No DeckLink drivers
TCP Channel: Not Connected: Connection refused
X Error of failed request:  BadLength (poly request too large or internal Xlib 
length error)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  410
  Current serial number in output stream:  411
--

And, here is the output from a successful run using 260.19.29 from nvidia.com:
--
[da...@lnx226 ~]% uname -a
Linux lnx226.lns.cornell.edu 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:46:16 EST 
2010 x86_64 x86_64 x86_64 GNU/Linux
[da...@lnx226 ~]% grep GLX /var/log/Xorg.0.log
(II) NVIDIA GLX Module  260.19.29  Wed Dec  8 12:24:30 PST 2010
[da...@lnx226 ViEVO]% ./ViEVO 127.0.0.1/:2224
Got Doublebuffered Visual!
glX-Version 1.4
Congrats, you have Direct Rendering!
System name - Linux 
Nodename - lnx226.lns.cornell.edu 
Release - 2.6.18-194.26.1.el5 
Version - #1 SMP Tue Nov 9 12:46:16 EST 2010 
Architecture - x86_64 
Error when oppening BMPimage file: earth.bkg 
/// VERSION /


  Vievo 2.0 (Build: linux 32-bit PROD Date: 13.05.2010 )

///  OpenGL Support Protocol  
///
  OpenGL version:  3.3.0 NVIDIA 260.19.29
  Vendor:  NVIDIA Corporation
  Renderer:  Quadro NVS 290/PCI/SSE2
  ---
  YUV_TEXTURES_SUPPORTED : 1 
  
  GLEE_VERSION_2_0 : 1 
  GLEE_ARB_shader_objects :   1 
  GLEE_ARB_vertex_shader :1 
  GLEE_ARB_fragment_shader :  1 
  GLEE_ARB_shading_language_100 : 1 
  -
  PIXEL_BUFFER_OBJECTS_ARB_SUPPORTED : 1 
  OPEN_GL_2_1_SUPPORTED : 1 
/  END  /


libDeckLinkAPI.so: cannot open shared object file: No such file or directory
No DeckLink drivers
TCP Channel: Not Connected: Connection refused
Exiting sanely...
222
--
  
Looks like a DRI/GLX issue at first glance.  I've had very good luck 
with the ELrepo packages:
kmod-nvidia, nvidia-x11-drv combination.  Maybe you are missing the 
kernel module in the first instance.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Need help recovering SL4 /boot (not backed up)

2010-12-22 Thread Mark Stodola

Pann McCuaig wrote:

Greetings SL fans,

Sorry for the length of this post, but I'm hoping someone can come to my
rescue and want to provide sufficient context.

Recently I had a hard drive failure on a Sun X4600 box running SL4.8.
The box has four drives; the drive that failed was /boot (only). The
other three drives make up /dev/md0.

The /boot drive was not backed up (headsmack!).

I have created a rescue USB stick based on the System Rescue CD, which
boots via grub. I can boot the System Rescue CD successfully, and it
sees /dev/md0, which I can then mount and read from and write to.

I have attempted to create a kernel and initrd image to add to the USB
stick that will boot the box as if the kernel and initrd image were on
the failed (and now removed) boot drive.

I built the kernel and initrd image on a box similar to the box with the
failed hard drive. I replaced /etc/modprobe.conf with the file from the
target server, and then did 'yum install kernel-largesmp'. I copied all
the resulting kernel-related files from /boot to the USB stick, as well
as the appropriate directory from /lib/modules.

I then restored the helper box to its original state.

I booted the System Rescue CD on the target system and copied the
/lib/modules directory into place on /dev/md0. I fixed up grub/menu.lst
to have a stanza to boot the newly created SL4 kernel. I rebooted the
box, and everything seemed to be going swimmingly, until . . .

. . . the booted kernel seems unable to build /dev/md0 and the boot
process fails.

In the original configuration, the boot drive was /dev/sda, and the
drives making up the soft RAID partition were /dev/sdb, dev/sdc, and
/dev/sdd.

The System Rescue CD detects the USB stick as /dev/sda and the three SAS
drives as sdb, sdc, and sdd. All is well.

It's not clear to me what is going awry with the SL kernel, but as
the boot verbiage scrolls by, I see /dev/sdc referenced twice, and no
reference to /dev/sdd. When the kernel attempts to assemble /dev/md0, it
uses /dev/sda, /dev/sdb, and /dev/sdc and this fails and /dev/md0 cannot
be mounted and the kernel panics.

Help, please. Suggestions? Thanks.

BTW, I've put both SL4.8 Disc One, and the SL4.8 Live CD on a bootable
USB stick; both boot successfully, but I was unable to find a way to
make either one recognize /dev/md0, much less rescue me.

Cheers,
 Pann
  
If all you lost was /boot, you can probably boot off the install media 
in rescue mode so it mounts things, chroot to /mnt/sysimage/, then 
reinstall the kernel and grub packages as appropriate, make sure grub is 
installed to the MBR or whatever means you use to boot, and reboot.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: User interfaces for mysql

2010-12-09 Thread Mark Stodola

Larry,

Could you elaborate on this.  I'm having trouble following what exactly 
you are trying to accomplish.  If you want to provide a web interface to 
a mysql database using php, this is certainly possible.  You'll need 
apache, php, php-mysql all installed and functioning.  If you've written 
your php properly and have apache set correctly, the php will be 
interpreted and executed by apache when the clients visit, with your 
script outputting html back to the client.


I lose you when you say it will not execute, and then talk about the 
browser interface.  Have you checked apache's error logs? Are you trying 
to get the php to run on each client?  If so, then a web browser is not 
the way to go, unless you write a java applet to handle this, which will 
end up sandboxed.


Cheers,
Mark

Larry Linder wrote:
Have a nice set of html interfaces for humans.  Planed to use php scripts to 
insert data into data base.   However there is a catch to this scheme the php 
is a server side script and will not execute - or at least I couldn't get it 
to run under a brouser interface.


Have been looking at wxpython 


Any sugestions other than shoot myself.

Thanks
Larry Linder
  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: texlive-texmf packages

2010-12-03 Thread Mark Stodola

Give this a try:

http://lists.centos.org/pipermail/centos/2008-July/061620.html

-Mark

Hiisi wrote:

Hi, list!
I need kvoptions to be installed on my system (SL5). However yum tells
me that No package texlive-texmf-latex available even with
--enablerepo=*. Which repo should I add in order to install texmf
packages?
ls /etc/yum.repos.d
adobe-linux-i386.repo
adobe.repo
atrpms.repo
atrpms-testing.repo
dag.repo
epel.repo
epel-testing.repo
remi.repo
rpmfusion-free-updates.repo
rpmfusion-free-updates-testing.repo
sl-contrib.repo
sl-debuginfo.repo
sl-fastbugs.repo
sl.repo
sl-security.repo
sl-srpms.repo
sl-testing.repo
TIA
  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: firstboot problem on laptop Dell E6510

2010-12-02 Thread Mark Stodola

Try adding 'noprobe' to your boot options during install.

-Mark

FRANCHISSEUR Robert wrote:

Hello,

is there a way to bypass the probing of the video card during install ?

There  is  an nvidia card probed on new Dell E6510 laptop which  does
not  work  with the nv driver .  I tried vga=nnn that first work  but
anaconda then find the nvidia and X failed.

If  not,  my second question is: after installing  nvidia-x11-drv, is
there  a way to have firstboot running on the next reboot (I  removed
/etc/sysconfig/firstbootand  /var/lock/subsys/firstboot   without
success)

Thanks for your help.

  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: install alien

2010-11-05 Thread Mark Stodola

Frenck Cacia wrote:

The fedora version does not exist, there are other versions of alien, but
 I
find it difficult to install
  
Alien is a last ditch effort at best.  Are you able to obtain the source 
code to the .deb package and compile it yourself?  Odds are you are 
going to run into dependency/library problems with the debian package 
anyway, even if you do get alien up and running.


You extract the contents of the .deb using the following:
ar vx filename.deb
tar xvfz data.tar.gz
or
ar p filename.deb data.tar.gz | tar xz

You can then install it by hand or roll it into an RPM.

-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Another side effect that crept in with SL 5.5

2010-08-11 Thread Mark Stodola

Larry,

Although my problem might be different, it may be relevant.  I've not 
used 5.5 (still hanging on 5.2).  I've run into problems like this as 
well with printing in a similar fashion.  I've found that the community 
adopted the use of texttopaps, which is horribly bugging, borderline 
CRAP.  Try editing /etc/cups/mime.convs and changing the text/plain 
filter back to texttops (remove the 'pa' from the existing entry).  My 
experience wasn't a non-printing, but a printing of something entirely 
different from what I expected (font, pitch, etc).


Another workaround may be to use enscript to generate a postscript or 
pdf and then send it to the printer.

Example:

enscript -q -B -MLetter -fLetterGothicLineMonospace7/11 
--margins=45::10: -o - filename.txt | ps2pdf - filename.pdf


Or a texttops filter:
/usr/lib/cups/filter/texttops pdf-gen postgres filename 1 cpi=16 
lpi=6 page-top=18 page-left=46 filename | ps2pdf - filename.pdf


Hope that helps.

Cheers,
Mark

Larry Linder wrote:

A script that has worked for 12 years no longer works.
It worked fine with SL5.4   Redhat 6 7.1 7.3 from 10 yeas ago, works with susi 
9.2.  etc.

This is almost as old as unix itself.
LPD  LPR
lpr does not recognize the -o cpi=10.   In fact it doesn't recognize -o 
cpi=12 or any other font size.
This script takes the complete parts (thousands of parts) list and inventory 
and allows users to input a partnumber, or range of pn's and print  labels 
from anywhere in parts list, awks the parts list and prints the labels at 
selected locations on a page of sticky labels.  Completely formated to label 
page.

Tests:
Removed the -o cpi=10 from script and it runs fine except the font size is the 
default of 12.
The output data was redirected to file junk 
If you cat junk | lpr -o other options -P ep900c it will print.

Add -o cpi=10 and it halts no error message - nothing.
Page is in CUPS as a sent file but no printing.
The hardware, printserver, printer is unchanged but with the upgrade to SL 5.5 
we can no longer print at a defined cpi.

To test we tried several printers on the network and all have the same result.
They work fine with out the -o cpi=10.
The job shows it was processed by cups but never is deleted from jobs list.

It like the font list was some how disconnected, lpr never times out after 
hours of letting it run.


It has got be something that was changed or upgraded and defaults set or ???

Larry Linder
  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: More on Spurious Interrupt

2010-06-25 Thread Mark Stodola

Is this at all related with using a VM?

Is this of any help? http://bugs.centos.org/view.php?id=2189

Cheers,
Mark

Larry Linder wrote:
Adding nosmp apm=force noapic api=off pci=noacpi after a reboot of system 
appeared to work on first inspection.   Some time after reboot there are more 
interrupts and a write to /var/log/messages.   Hard on a disk to say the 
least.

What we see is:
Jun 25 09:31:47 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.
Jun 25 09:32:55 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.
Jun 25 09:34:37 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.
Jun 25 09:36:03 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.
Jun 25 09:41:35 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.
Jun 25 09:43:42 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.

Jun 25 09:45:37 engr01 last message repeated 2 times
Jun 25 09:46:56 engr01 last message repeated 2 times
Jun 25 09:48:12 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.
Jun 25 09:50:09 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.

Jun 25 09:52:07 engr01 last message repeated 2 times
Jun 25 09:54:36 engr01 kernel: spurious APIC interrupt on CPU#0, should never 
happen.

Jun 25 10:01:00 engr01 last message repeated 4 times
Jun 25 10:02:47 engr01 last message repeated 3 times
Jun 25 10:04:53 engr01 last message repeated 2 times

There does not seem to be much on the net that offers any advice or ???

Need to solve this problem before I have another disk to swap out.

It is unique to a single core processor installation, as we have looked for 
this same activity on several boxes with multi core processor and it doesn't 
happen.


Larry Linder
  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: netconfig

2010-06-11 Thread Mark Stodola

Felix Farcas wrote:

Hello

I have a SL 5.3 x64.
Is it possible to install netconfig in Scientific Linux 5.3. I saw in 
the documentation that say that this program was removed.


Do you have any solution?

Thank you
Felix


Is there something it can do that system-config-network or 
system-config-network-cmd can't do?


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Nvidia woes...

2010-04-27 Thread Mark Stodola

Sergio,

I haven't noticed any memory leaks, but I also haven't been actively 
hunting them down.  There don't seem to be any signs of dwindling 
performance before this happens.  Most times, it is just idling 
overnight.  At most, there is a small amount of network traffic on an 
isolated LAN of no more than 5 or so devices, mostly Win XP or SL5.2 
systems (often running off a custom livecd based on Urs' scripts).


What card/config/drivers are you running?

Cheers,
Mark

Sergio Ballestrero wrote:

 Hello Mark,
we are having problems with X11 slowly leaking memory, which then leads to a 
system crash. Do you see anything similar?
 My attempts at using valgrind have been inconclusive (if not confusing) up to 
now...

 Cheers,
  Sergio

On 27 Apr 2010, at 22:54, Mark Stodola wrote:

  

Hey everyone,

I currently have deployed a number of SL 5.2 i386 machines.  Due to the 
circumstances, I'm not in a position to upgrade them to the latest 5.x with 
ease.  Lately I've been having trouble with systems locking up hard that are 
running an nvidia card using the 190.42 or 195.36.15 proprietary drivers.  Dual 
monitors connected via DVI, twinview.

I've tried a GeForce 9600GT as well as a Quadro NVS 290 with varying success.  
The Quadro seems to have lasted about a month before locking, while the 9600GT 
is much more often, daily/weekly.  I'm running the stock 5.2 kernel 
(2.6.18-92.1.6.el5) and Xorg (xorg-x11-server 1.1.1-48.41.el5_2.1).  The 
systems are generally idle when it happens.  I'm having no luck capturing log 
data or kdump data.

The strange part is, having identical hardware in several locations, only some 
experience the issue.

Hardware:
Intel DG43NB motherboards (bios revision doesn't seem to matter at this point, 
running 98,99,104, or 105)
^- hardware revision is the same for all of them: AAE34877-402
Areca ARC-1200 SATA RAID card (latest firmware, 1.48), running 2 320G seagates
Additional PCI-e NIC, Intel PRO/1000, running e1000e v0.4.1.12-NAPI
Single stick, 1GB DDR2 (800) memory
PS/2 Keyboard/mouse

I'm curious if anyone else has run into similar problems such as this, and if they have 
found a solution.  I'm looking at trying the 185.18.31 drivers, which seem to be 
certified for linux by a few software vendors, according to nvidia's website.

What driver versions and/or card make/models are people using successfully?  
Any help or pointers are greatly appreciated.

As I said, not all of them are misbehaving, and I have several with the same 
config minus the video card running fine on SL5.2 and Windows XP Pro (SP3).

Getting desperate,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591



  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Problem mounting cifs

2010-04-16 Thread Mark Stodola
You might be able to get some info out of the contents in 
/proc/fs/cifs/.  Does nautilus actually mount the filesystem somewhere, 
or is it using smbclient and friends to make it appear as such?  CIFS is 
actually quite different from SMB once you start digging into it.


Also, a newer samba might help.  I'd recommend checking out sernet-samba 
(http://enterprisesamba.org/index.php?id=54).
It's a build of newer samba versions against various enterprise linux 
distributions, including RHEL.  I had to upgrade a few of our servers so 
they could properly authenticate to a Win 2008 server.


Cheers,
Mark

Julian Klein wrote:

Thank you very much for your suggestions!

Unfortunately, nfs is not an option. One of my two NAS (the Netgear) 
supports nfs, but I found out, that if I bind writing rights to some 
IPs of my subnet, it's working with that device.


Unfortunately the kernel, of the other device, does not support nfs. 
There's a community-build kernel supporting this, but I do not have 
enough confidence in my linux knowledge to change the kernel.


But I am confused what's the difference between mounting a share (via 
mount -t ... or editing the fstab) and accessing the share with 
nautilus (smb://u...@192.xxx.xxx.xxx/share)?
I always thought, that cifs is the newer version of smb and that there 
aren't many differences.
When I am looking for mounted devices (mount or df) I don't get 
anything about the shares, which are accessed via nautilus - so they 
are not mounted!?






--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Clean SL 5.4 Install and Anaconda Disk Partitioning Madness

2010-03-24 Thread Mark Stodola

Brent L. Bates wrote:

 I've been searching Google for answers and can't find any, so I decided
to check here.

 I'm trying to do a clean install of SL 5.4.  I'm booting from an SL 5.4
x86_64 DVD.  When I get to the point of custom partitioning my drives,
Anaconda makes a mess of things.  I have 4 drives and I want 4 partions on
each drive.  The first partion will be `/boot', next `/', then `/data', and
finally a swap partion.  As I create each partition on each drive, Anaconda
will suddenly rearrange the order of the partions.  When I go onto another
drive, the order may be different than the last drive I just partitioned.
 When I try to do the 4th and last partition, I get an `Extended' 4th partion
(which is empty) and a real 5th partition, instead of a simple single
partition.

 In the end, what I want is the first partition on each drive combined
into a software RAID 1 and be `/boot'.  The next 2 sets will be software RAID
0's and `/'  `/data'.  The final partitions will be 4 separate swap
partitions that the OS will take care of.

 I've tried creating all the partitions on one drive and then moving onto
the next one and the next one, but it scrambles things up.  I've tried
creating the first partition on each drive, then combining them into the RAID
1 md0 device, and specifying the files system type, and mount point `/boot'.
 Next I go onto the next partition, which I've tried as a software RAID 0
partition and swap at various times.  This one usually works, but not always.
 When I get to the 3rd partition, then it will suddenly rearrange the
partitions on that drive.  I've even seen it suddenly create a swap partition
on a different drive than what I'm actually working on.

 I've done this with earlier versions of SL, but I don't remember having
this much trouble with Anaconda randomly rearranging things and creating an
extra unneeded partion.  Any insights would be greatly appreciated.  Thanks


I've noticed anaconda likes to try and be smarter than you.  Quite 
annoying.  You can probably solve this by specifying things explicitly 
in a kickstart file, pre-partitioning the disk using fdisk/sfdisk, or 
fiddling with the force primary partition check box and the order you 
specify the partitions in anaconda.  I've worked in the reverse order 
over the years, manually tricking anaconda, then forcing an sfdisk dump 
in, and finally resorted to tailoring a kickstart to do my bidding 
because disk sizes aren't constant for me.


Hope that helps a bit.

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: can't boot livedvd64_SL54_2009-11-20.iso

2010-03-22 Thread Mark Stodola

Alan Bartlett wrote:

On 22 March 2010 14:39, Urs Beyerle urs.beye...@env.ethz.ch wrote:
  

Stephen Isard wrote:


1. remove rhgb from the default boot options - no graphical bootup per
default.
2. make norhgb working - /etc/rc.sysinit has to be modified.
3. (at least) remove rhgb from failsafe bootup options.

or just leave it like it is.

Anybody has an opinion on that?



+1 to option 1. :-)

Alan.
  
Although I don't use Urs' livecd (I do build my own using his scripts), 
I'd have to lean toward 1 or 3.  I know for a fact that rhgb can cause 
problems if using the ati fglrx module as well.  To me, 'failsafe' 
should mean no fancy options or actions during boot.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: SL archives and indexed postings not accessible

2010-03-19 Thread Mark Stodola

Works fine for me on FF under SL 5.2.
I navigated from listserv.fnal.gov to the archives, then chose 
SCIENTIFIC-LINUX-USERS, selected a random month and clicked on a random 
message.


-Mark

William Lutter wrote:

I find that on both firefox linux and IE winxp that I can't access either archived 
messages or Indexed links in the listserv.fnal.gov emails.   I get a MS The page 
cannot be found screen.

Uh, am I missing some new development?  I figure everyone should also have this 
problem.  It's been occuring the last week? both at work and on my home, so I 
don't think it is a firewall issue.

But, then again, I don't see anyone else mentioning this...
Bill Lutter
  



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: udev rule to name USB disks after their serial number

2010-03-05 Thread Mark Stodola

Tim Edwards wrote:

We have a process here were users must push files onto USB disks. The
user logs in remotely to a machine which may have many USB disks
attached and he/she knows the serial number of the disk to write to.

In trying to do away with some complex, hacky scripts I'm trying to
udev-ise this. Ie. when a USB disk is plugged into the machine a symlink
to it is made that is /dev/disknumber-123456 where '123456' is the
serial number of the disk.

My udev rule is:
KERNEL==sd*, SUBSYSTEMS==scsi, SYMLINK+=disknumber-%E{serial}
It can create devices with symlink '/dev/disknumber-' but the
substitution of the ATRR{serial} bit seems to be impossible to get working.

The man page is usual includes no examples which might actually give me
the context I need to properly understand the 'printf-like substitution'
syntax that the developers are talking about.

Tim Edwards
  

Tim,

I think you are confusing sysfs with environment variables.  the %E{key} 
is used for environment variables.  The serial number is a SYSFS 
attribute.  Try changing %E{serial} to %s{serial} and see if it works.


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: udev rule to name USB disks after their serial number

2010-03-05 Thread Mark Stodola

Tim Edwards wrote:

On 05/03/10 15:16, Mark Stodola wrote:
  
  
  

Tim,

I think you are confusing sysfs with environment variables.  the %E{key}
is used for environment variables.  The serial number is a SYSFS
attribute.  Try changing %E{serial} to %s{serial} and see if it works.

Cheers,
Mark




That didn't work unfortunately, my rules file now looks like this:
KERNEL==sd*, SUBSYSTEMS==scsi, SYMLINK+=disknumber-%s{serial}

Any other ideas?

Tim
  
It works here, I just made a /etc/udev/rules.d/10-test.rules file with 
your above line.
Next I ran 'udevcontrol reload_rules'.  I then connected my Kingston USB 
drive and /dev/disknumber-5B7A121E appeared.


Do you have any other custom rules that are mangling this one?

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: udev rule to name USB disks after their serial number

2010-03-05 Thread Mark Stodola

Tim Edwards wrote:

On 05/03/10 15:36, Mark Stodola wrote:
  

Tim Edwards wrote:


On 05/03/10 15:16, Mark Stodola wrote:
 
  

  

Tim,

I think you are confusing sysfs with environment variables.  the %E{key}
is used for environment variables.  The serial number is a SYSFS
attribute.  Try changing %E{serial} to %s{serial} and see if it works.

Cheers,
Mark




That didn't work unfortunately, my rules file now looks like this:
KERNEL==sd*, SUBSYSTEMS==scsi, SYMLINK+=disknumber-%s{serial}

Any other ideas?

Tim
  
  

It works here, I just made a /etc/udev/rules.d/10-test.rules file with
your above line.
Next I ran 'udevcontrol reload_rules'.  I then connected my Kingston USB
drive and /dev/disknumber-5B7A121E appeared.

Do you have any other custom rules that are mangling this one?

Cheers,
Mark




It might just be a peculiarity of the USB stick I'm using to test it
then since it's creating a device '/dev/disknumber-' looking like it
can't find the serial number.

 I'll try with one of the actual USB hard drives they're using when I
can get access to one next week.

Tim
  

You can verify that using 'systool'.  Try the following command:
systool -b usb -p -v
Find your USB drive in the output, and there should be something like this:
 Device = 1-2
 Device path = /sys/devices/pci:00/:00:1a.7/usb1/1-2
   bConfigurationValue = 1
   bDeviceClass= 00
   bDeviceProtocol = 00
   bDeviceSubClass = 00
   bMaxPacketSize0 = 64
   bMaxPower   = 200mA
   bNumConfigurations  = 1
   bNumInterfaces  =  1
   bcdDevice   = 0100
   bmAttributes= 80
   configuration   =
   devnum  = 3
   idProduct   = 1d00
   idVendor= 13fe
   manufacturer= Kingston
   maxchild= 0
   product = DataTraveler 2.0
   serial  = 5B7A121E
   speed   = 480
   uevent  = store method only
   version =  2.00


If no serial exists for the device, the serial = line will be absent.

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: SL5.4 and Asus eee S101 netbook

2010-03-05 Thread Mark Stodola

William Lutter wrote:
I've installed SL5.4 on an ASUS eee S101 netbook that my lab has purchased.  Reviews say Fedora 10 and Ubuntu 9.10 work flawlessly (Ubuntu). 
http://www.newegg.com/Product/Product.aspx?Item=N82E16834220595


I usually use SL, so I've installed 5.4.   lscpi indicates that the ethernet controler is 
Atheros (AR8121 ...) and wireless is atheros (AR928X).  There are no atheros 
entries in the other card adaptor lists in the network configuration submenus.  So,  
neither the ethernet card nor wireless adaptors are recognized?

The README file from downloading atheros driver from madwifi shows  latest download is 
2/08.   README says lspci should show it as unknown and a 0x168x vendor ID.   
lspci -v indicates both ethernet  (8324) and wireless (1a3b:1067) are unknown devices.  
I'm guessing madwifi is not going to not work.  Looks like I need special software.

For lab usage, I don't need networking.  It would be nice to update software 
etc.  I'd install ubuntu if it gave me networking capability and which is not 
available via current RHEL5 SL distro.

thoughts?
Bill Lutter
  

This may be of help for the wireless (ath9k).
http://linuxwireless.org/en/users/Drivers/ath9k/RHEL5
My guess is some more googling could shed light on the wired interface 
as well.


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: SLC4 - udev

2009-07-13 Thread Mark Stodola

Nicola Maggi wrote:

On Wed, May 27, 2009 at 3:19 PM, Mark Stodolastod...@pelletron.com wrote:
  

Nicola Maggi wrote:


Hello to everyone,
I have a Scientific Linux CERN 4 installation and I need to control an
usb device with it.
My device is an Opal Kelly FPGA with an usb interface.
I need to access it from some c++ code.
In the FPGA user manual they say:
__
The Linux installation requires the addition of one file to the directory:

  60-opalkelly.rules -  /etc/udev/rules.d/

This file includes a generic udev rule to set the permissions on all
attached Opal Kelly USB devices to allow user access.  Once this file is
in place, you will need to reload the rules by either rebooting or using
the following command:

  /sbin/udevcontrol reload_rules
__
I successfully copied the file into rules.d/ but I still have some
problem.
I don't have the /sbin/udevcontrol application:
all the application with udev in their  name are:
udevinfo
udevtest
start_udev
udev
udevd
udevstart
udevstart.static
udev.static
udev_colume_id

the file 60-opalkelly.rules is pasted at the and of this mail.
How do I make the system load this rule manually?
If I reboot while the device is connected everything works fine,
except that I can only access the FPGA with root priviledges. Any way
to allow users to use it?
Thank you in advance,
Nicola Maggi


# udev rules file for all Opal Kelly VID matches.
# This file allows udev to change the mode to 666 (all read/write)
# for any Opal Kelly VID.
#

# For FedoraCore 5 and similar:
SUBSYSTEM==usb_device, SYSFS{idVendor}==151f, MODE=0666

# For FedoraCore 7 and similar:
SUBSYSTEM==usb, ATTRS{idVendor}==151f, MODE=0666

  

Nicola,

Those rules look like they were written for a different version of udev than
what SL 4 provides.
In order to reload new rules in SL 4, simply executing 'udevstart' should do
the trick.  It will cause a reload.
As for the rules, you'll need to rewrite them, which isn't difficult.
Newer udev (like the one in SL 5) have changed to allow everything in 1
definition similar to what you have provided.
The MODE entry isn't supported, you'll need an entry in
/etc/udev/permissions.d/ to handle that.
It will help if you know the device node name when writing the rules, or to
define one that will be consistent.

For example, here is what I use to make sure a serial adapter is always
detected correctly with the permissions I want:
# /etc/udev/rules.d/11-edgeport.rules
BUS=usb SYSFS{idVendor}=1608 SYSFS{idProduct}=0201 SYSFS{serial}=*-0
NAME=%k SYMLINK=ttyEDGE0%e
BUS=usb SYSFS{idVendor}=1608 SYSFS{idProduct}=0201 SYSFS{serial}=*-1
NAME=%k SYMLINK=ttyEDGE1%e

This generates /dev/ttyEDGE0, /dev/ttyEDGE01, /dev/ttyEDGE1, /dev/ttyEDGE11
aliased to the correct /dev/ttyUSB#.

# /etc/udev/permissions.d/10-udev.permissions
ttyS*:root:uucp:0666
ttyUSB*:root:uucp:0666

This gives any device node of /dev/ttyS# or /dev/tty/USB# permissions of
0666.

I hope that helps.

Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591





Hi,
thanks for the useful help but I just managed to find some time to
work on this problem.

I modified my 60-opalkelly.rules as follows:

# udev rules file for all Opal Kelly VID matches.
# This file allows udev to change the mode to 666 (all read/write)
# for any Opal Kelly VID.
#

# For FedoraCore 5 and similar:
SUBSYSTEM==usb_device, SYSFS{idVendor}==151f, NAME=%k, SYMLINK=usbFP%n

# For FedoraCore 7 and similar:
SUBSYSTEM==usb, ATTRS{idVendor}==151f,NAME=%k, SYMLINK=usbFP%n

and added this lines in the 50-udev.permissions file:
#opalkelly devices
usbFP*:nick2k3:nick2k3:0666

where nick2k3 is my non-root user.

I notice no change after a reboot or running /sbin/udevstart
Furthermore there is no usbFP device in /dev/ directory.
any hints?

(Anyway nothing I have done seems to prevent root access to the device
- which I think is a lucky thing-)

Thank you in advance,
Nicola
  

Nicola,

Try changing SUBSYSTEM=usb_device to BUS=usb.  I don't recall 
SUBSYSTEM being supported in SL4.
You can also debug your rules using udevinfo and udevtest.  lsusb might 
help as well, to verify vendor ID and such.


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: dual head with ATI Radeon 43xx

2009-06-18 Thread Mark Stodola
I run a 3650 on SL5.2 just fine.  I don't see any reason why a higher 
end card on a slightly newer revision wouldn't work, except maybe kernel 
changes.  Just download/compile/install (I'm using 
ati-driver-installer-8-12-x86.x86_64.run) the ATI driver and you can use 
aticonfig to ease the Xorg editing.


I use the following to set up dual 19 LCD monitors, primary on the left:
aticonfig --initial=dual-head --xinerama=on --screen-layout=right \
--resolution=0,1280x1024 --resolution=1,1280x1024

Cheers,
Mark

Ken Teh wrote:
Has anyone successfully run a single desktop across 2 monitors with an 
ATI Radeon 4300 series graphics card with SL5.3?



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Boot in Single CPU mode

2009-05-19 Thread Mark Stodola

Alan Bartlett wrote:

On 19/05/2009, Nicola Maggi nicola.ma...@gmail.com wrote:

  

 I've been required to start a SLC4 box in Single CPU mode, does anyone
 know how to do that?



On the kernel line, in your /etc/grub.conf file, append the string
nosmp (without the quotes).

I'm sure that will do what you want.

Alan

SL 4 used separate UP and SMP kernels, unlike the unified SL 5.
Your grub.conf should have 2 entries in there, just comment out the 
ELsmp entry, reorder so it isn't first, or change the default variable.


Cheers,
Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: SL 5.3 with IceWM from SL 5.2 mini_livecd (long post)

2009-03-25 Thread Mark Stodola
I have almost these exact specs, except mine is a P3 and not a celeron.  
I use Xubuntu (xfce) and have found it a pleasure to use.

-Mark

Radu-Cristian Fotescu wrote:
Folks, 


I might be polluting this list, but I'm having several questions and
observations, so I thought that sending a mail to Urs wouldn't be the bes
t
choice.

I was looking for a *reliable* Linux distro that would work fast with a
8-y.o. low-end laptop (HP Omnibook XE3, Celeron-128k, 850 MHz, 256 MB RAM

PC-100, slow CD-ROM). 
...snip...


Re: How can I install Skype on SL 5.0 ?

2009-03-11 Thread Mark Stodola
Try the CentOS package.  It will let you know of dependencies when you 
try to install.


Cheers,
Mark

Pedro Ferreira wrote:

Hello all,

I dont't know how to install skype on my SL5. I don't even know which 
distribution I should download, since there are no Red Hat versions. 
Which dependencies will I need to install?


Thanks,

Pedro Ferreira.



Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 
http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/ 
- Celebridades 
http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/ 
- Música 
http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/ 
- Esportes 
http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/ 




--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


  1   2   >