DevHeads.net

Postings by m.roth

CUDA tools?

Hi, again.

So, kmod-nvidia installed. Trouble is, I have no tool to test it. And my
user might need nvcc, which, of course, is only provided by the NVidia
CUDA, which won't install, because it conflicts with kmod-nvidia.

Has *anyone* dealt with this? If so, what was your solution?

mark

Missing file in current kernel-devel package

Ok, folks,

I've identified what my problem is, trying to install the NVidia
proprietary drivers: in kernel-devel-3.10.0-514.26.2.el7.x86_64, there
is a file
/usr/src/kernels/3.10.0-514.26.2.el7.x86_64/include/linux/fence.h

It does not exist in the kernel-devel-3.10.0-693.2.2.el7.x86_64
package. Is this something that got missed, or did HR drop it, or....?

mark

C7: kernel-3.10.0-693.2.2, huh?

Ok... I just fully updated a user's machine. And got a kernel panic on
reboot. So, having run into this earlier this year, I tried to reinstall
the kernel.
yum reinstall kernel-3.10.0-693.2.2.el7.x86_64
Installed package kernel-3.10.0-693.2.2.el7.x86_64 (from updates) not
available.
Error: Nothing to do

Huh? Anyone?

mark

Default value of SELinux boolean httpd_graceful_shutdown will changed.]

httpd_graceful_shutdown will changed.
"Selinux List at Fedora Project" < ... at lists dot fedoraproject.org>
On 09/29/2017 03:57 PM, Alexander Bokovoy wrote:

Re: [CentOS] Semi-OT: hardware: NVidia proprietary driver, C7.4

Hi, folks,

Well, still more fun (for values of fun approaching zero):

1. Went to install CUDA 9.0... well, gee, there is *no* CUDA 9.0.
Even though I installed the 9 repo, all that I get is 8. I've
used their webform, and an waiting on a reply.
2. I remove all nvidia packages.
3. It appears that the kmod-nvidia is what I need; that's what
nvidia-detect says. So I try to install...

Semi-OT: hardware: NVidia proprietary driver, C7.4

This is really frustrating. I've got a server with two K20c Tesla cards. I
need to use the proprietary drivers to use the CUDA toolkit. Btw, I had no
trouble at all with building for CentOS 7.3

I have what NVidia claims is the correct driver package, a 340 series. It
appears to build, but then fails to load. The only error I see is "no such
device", which makes no sense to me, esp.

rkhunter and prelink

Can't remember if I posted this before... We're getting warnings from
rkhunterWarning: Checking for prerequisites [ Warning ]
All file hash checks will be skipped because:
This system uses prelinking, but the hash function command does not
look like SHA1 or MD5.

Now, googling, I find people saying to rm /etc/prelink.cache, then run
rkhunter --propupd.

Works. And then, prelink runs in the middle of the night, via
/etc/cron.daily, and when the cron job of rkhunter runs, it's back to
complaining.

Anyone have any ideas what's going on here?

CentOS 7, nfs & autofs

Hi, folks,

We've been seeing this almost since we started rolling out C7: for no
apparent reason, it will automount *everyone* in /etc/auto.home, even
though most of those folks not only have never logged onto that server
or workstation, but are not allowed to.

We distribute to all our systems the same auto.home, and we certainly
don't want to customize it for nearly 200 systems, we like it under
central control.

Any clues as to why it does this?

C7 and ebtables

I need to set ebtables up on a mini-firewall we've got. I'd like to just
use ebtables-save to dump the rules from another firewall, and restore it
to the new one.

There is *no* manpage* for either ebtables-save or ebtables-restore. Usage
- restore doesn't like -?, -h, or --help, and I have no clue as to what it
will accept.

Light-weight window manager, recommendations

So, I've mentioned that I've got an original netbook, circa 2009, and I'm
going to put CentOS on it. 32 bit. Not huge disk, old Atom processor, not
tons of memory. Any recommendations for a light-weight window manager?

Before I went to KDE, I used fvwm2, and all I'm going to do is use it to
read webmail and browse, read news, etc, so I don't need a lot.

mark

NFS issue, C7

Actually, with C6, too. We've been fighting a problem with a server with a
RAID appliance that's having issues. It's also serving /home/* and project
directories for one team.

Still fighting the IPv6 client dying...

Well, we're still fighting it, and one thing I've discovered that I find
extremely odd: the IPv6 lease file. On my C7 workstation, if I grep -c
lease6, I see 5 leases; on a C6 server, I see 9, and in the last few days,
I saw my box - they mass restarted the IPv6 clients everywhere yesterday,
because a good number of systems had lost the client.

Can someone explain why there would be more than, say, 2 or 3 lease6's in
the least file?

mark

CentOS 7, NM, and IPv6

Hi, folks,

I and the other admin here have just been assigned a mission... here's
what's happening: only very recently - the last week? our CentOS 7
boxes, or at least some of them, will lose their IPv6 addresses, and
not get it back.

1. We're running dibbler on the same box that serves DHCP.
2. It's been working for many months.
3. The lease file remains in place.
4.

C7 and spoofed MAC address

Got a problem: a user's workstation froze. He wound up rebooting, without
calling me in first, so I dunno. But, and this is a show-stopper, when it
came up, it came up with the firmware MAC, not the spoofed one. In
/etc/sysconfig/network-scripts/ifcg-eth0, I've got the spoofed MAC
address, and a UUID. In the grub.conf, I've got net.ifnames=0
biosdevname=0. But when I logged onto his machine, ip a showed eth0... but
with the firmware MAC.

And I'm wondering if it went to renew its IP address, and lost the spoofed
MAC.

The case of C6, grub, and the missing menu

An important server accidentally got rebooted yesterday (ahem, shuffle).
On boot, it insisited on an fsck. So I rebooted, intending to get to the
grub boot menu, and tell it fastboot.

Nope. In grub.ocnf, it's got timeout=5, but I'd see the std. POST, a blank
for a very short time, then it would be booting. By repeatedly type "e" I
got into the menu once or twice, but trying to edit a line, it would
suddenly start typing 8.8.8.8... by itself (and no, the keyboard's just
fine, thank you).

The question is, why did it never offer me the menu?

CentOS 6 and crypttab

Folks,

I have an issue: I've gotten that drive that I posted about the other
day encrypted, and things were looking good... until there was a
problem with another RAID attached to the box, and I wound up having to
reboot.

What had been /dev/sdb came up as /dev/sdc. So... is there any way
other than using /dev/disk/by-uuid/<uUUID> as the second field in
/etc/crypttab to deal with this possibility?

mark

Problems with EPEL

I didn't want to join yet another mailing list.... Is anyone/everyone
having issues? Our hourly cron job checking update is failing on EPEL:
Updateinfo file is not valid XML: <open file
'/var/cache/yum/x86_64/7/epel/gen/updateinfo.xml', mode 'rt' at 0x1dd46f0>

When I try to look at it, it appears to have binary data in it.

mark

CentOS 6 and luksOpen

Upgraded a RAID. Copied everything from backup.

And then my manager said I had to encrypt the drive.

I've done that, and made the filesystem, but I can't mount it.

CentOS 6.
I have the entry in /etc/crypttab, and a key in /etc/crypt.pw, and the
luks UUID in /etc/fstab. I cannot find the command that tells it to create
the device in /dev/mapper from the info in /etc/crypttab.

Clues for the poor?

C7, systemd, say what?!

I just updated a system - as in minutes ago, and log back in after it
reboots, and this is in dmesg:
[ 88.202272] systemd-readahead[484]:
open(/var/tmp/dracut.fP4yj1/initramfs/usr/bin/loginctl) failed: Too many
levels of symbolic links
[ 88.202515] systemd-readahead[484]:
open(/var/tmp/dracut.fP4yj1/initramfs/usr/lib/systemd/system/dracut-emergency.service)
failed: Too many levels of symbolic links

Anyone know what this is - some weird bug, a garbage message?

mark

C6 or C7 for an old netbook

I've got an old HP Netbook, which is just fine for taking with when I'm
travelling, to check email and news. I have a very old Ubuntu
netbook-remix on it, and it really, *really* needs to be updated to
something current. I, of course, would prefer CentOS....

The question is: I see that *if* the specs I just looked up (I'm at work,
not home, where I could just turn it on, but they sound right) Atom N270
CPU, 2G RAM, 160GB drive - what should I put on it, C6 or C7?

CentOS 7, X issue

One of my users is reporting that he's working (heavy graphics, I
believe), and X freezes. So, to save him from rebooting, I did init 3. And
waited. Almost a minute and a half later, it had not completed. I quit,
killed X, and then could init 3, then init 5.

I'm not finding clues as to what hung.

CentOS 6.9, shredding a RAID

I've got an old RAID that I attached to a box. LSI card, and the RAID has
12 drives, for a total RAID size of 9.1TB, I think. I started shred
/dev/sda the Friday before last... and it's still running. Is this
reasonable for it to be taking this long...?

mark

Centos 7 and MAC address munging

Odd situation: I've mentioned before that I have several users for whom I
have to spoof the MAC address, due to a software license. Now, I've got
net.ifnames=0 biosdevname=0 on the grub2 command line, and I've got the
spoofed MAC address in /etc/sysconfig/network-sctipts/ifcfg-eth0.

But he had a serious problem - X froze, and he thought to reboot, rather
than call me. It came up with the actual MAC.

CentOS 6 and pxeboot

Hi, folks,

We've been using pxeboot to pull up a menu, to build or rebuild
machines for years. We have this new server, and it fails. Times out.
What's happening is that it tries in this order
.../pxelinux.cfg/b8945908-d6a6-41a9-611d-74a6ab80b83d
.../pxelinux.cfg/01-88-99-aa-bb-cc-dd
.../pxelinux.cfg/C0A8025B
.../pxelinux.cfg/C0A8025
.../pxelinux.cfg/C0A802
.../pxelinux.cfg/C0A80
.../pxelinux.cfg/C0A8
.../pxelinux.cfg/C0A
.../pxelinux.cfg/C0
.../pxelinux.cfg/C
.../pxelinux.cfg/default

The first are MAC addresses, etc. I want it to pull default.

CentOS 6, apcupsd

Hi, folks,

Anyone know what apcupsd is no longer in the EPEL repo for CentOS/RHEL
6? It's still in for 7.

mark

CentOS 7, systemd,, and message floods

I've just updated a couple of servers, latest 7.3, and systemd is flooding
dmesg, journalctl with info level messages...

Re: [CentOS] firewalld management on a headless server

James B. Byrne wrote:

Re: [CentOS] Need help

I'm sending to you, directly, because manitu is again blocking my ISP....

Rosenthal, Shoshana wrote:

OT: hardware: blackmagic video capture cards

Hi, folks,

I'm still trying to find a video capture card that won't crash Dell
servers, and ran across a Blackmagic BDLKDUO2 DeckLink Duo 2. It claims
to support Linux. I'm also seeing, in the few non-Blabkmagic or sales
pages I can find, that they like "binary blobs".

kernel 2.6.32-642.15.1.el6.x86_6

Folks,

There's some kind of bug here, esp. with this kernel. We've got a cron
yum update, and it fails, repeatably, un multiple machines. We reboot
to the previous kernel, it comes up, we do a reinstall of the kernel
modules, and everything's fine.

I was thinking it was with yum, but the admin I work with says it
happened today on some with no exlude=kernel\* in yum.conf. My
manager's thinking that the initramfs isn't being rebuilt.

Have other folks seen this?