CentOS7リポジトリによるパッケージの提供の停止について(2024.11.26)
# mkdir /etc/yum.repos.d/SAVE
# mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/SAVE
下記、/etc/yum.repos.d/CentOS7.9.2009-Base.repo を作成します
#
[base]
name=CentOS-7.9.2009 - Base
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#released updates
[updates]
name=CentOS-7.9.2009 - Updates
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#additional packages that may be useful
[extras]
name=CentOS-7.9.2009 - Extras
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-7.9.2009 - Plus
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
#
[sclo]
name=CentOS-7.9.2009 - Devtoolset
baseurl=http://ftp.riken.jp/Linux/centos-vault/7.9.2009/sclo/$basearch/rh
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
skip_if_unavailable=1
# 7.0.1406
# 7.1.1503
# 7.2.1511
# 7.3.1611
# 7.4.1708
# 7.5.1804
# 7.6.1810
# 7.7.1908
# 7.8.2003
# 7.9.2009
firefox を更新すると動作しなくなる問題について(2023.04.06)
# yum update gtk3-3.22.30-8.el7_9.x86_64 firefox-102.9.0-3.el7.centos.x86_64
ixgbeの通信バッファメモリの解放遅延について(2023.02.20)
RedHawk7.2.0 RedHawk7.2.4+
static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring, static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring,
struct ixgbe_rx_buffer *bi) struct ixgbe_rx_buffer *bi)
{ {
struct page *page = bi->page; struct page *page = bi->page;
dma_addr_t dma; dma_addr_t dma;
/* since we are recycling buffers we should seldom need to alloc */ /* since we are recycling buffers we should seldom need to alloc */
if (likely(page)) if (likely(page))
return true; return true;
/* alloc new page for storage */ /* alloc new page for storage */
page = alloc_pages(GFP_ATOMIC | __GFP_COLD | __GFP_COMP, page = dev_alloc_pages(ixgbe_rx_pg_order(rx_ring));
ixgbe_rx_pg_order(rx_ring));
if (unlikely(!page)) { if (unlikely(!page)) {
rx_ring->rx_stats.alloc_rx_page_failed++; rx_ring->rx_stats.alloc_rx_page_failed++;
return false; return false;
} }
/* map page for use */ /* map page for use */
dma = dma_map_page(rx_ring->dev, page, 0, dma = dma_map_page(rx_ring->dev, page, 0,
ixgbe_rx_pg_size(rx_ring), DMA_FROM_DEVICE); ixgbe_rx_pg_size(rx_ring), DMA_FROM_DEVICE);
ssコマンドのアボートについて(2023.02.16)
# ss --version
ss utility, iproute2-ss130716
# ss -p -e -m
:
*** Error in `ss': munmap_chunk(): invalid pointer: 0x000000000062a060 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7b184)[0x7ffff7870184]
ss[0x404a68]
ss[0x408457]
ss[0x403530]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7ffff7816b15]
:
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
中止
この問題に対処するためには、リポジトリからアップデートすることで、問題が解決する事を確認しました。
# yum localinstall ./iproute-4.11.0-30.el7.x86_64.rpm
読み込んだプラグイン:aliases, changelog, fastestmirror, kabi, langpacks, tmprepo, verify,
: versionlock
Loading support for Red Hat kernel ABI
./iproute-4.11.0-30.el7.x86_64.rpm を調べています: iproute-4.11.0-30.el7.x86_64
次のリポジトリーへの更新として ./iproute-4.11.0-30.el7.x86_64.rpm を設定します: iproute-3.10.0-54.el7.x86_64
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ iproute.x86_64 0:3.10.0-54.el7 を 更新
---> パッケージ iproute.x86_64 0:4.11.0-30.el7 を アップデート
--> 依存性解決を終了しました。
依存性を解決しました
================================================================================
Package アーキテクチャー
バージョン リポジトリー 容量
================================================================================
更新します:
iproute x86_64 4.11.0-30.el7 /iproute-4.11.0-30.el7.x86_64 1.8 M
トランザクションの要約
================================================================================
更新 1 パッケージ
合計容量: 1.8 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
警告: RPMDB は yum 以外で変更されました。
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
ldns-1.6.16-10.el7.i686 は ldns-1.6.16-7.el7.x86_64 の複製です
14:libpcap-1.5.3-11.el7.i686 は 14:libpcap-1.5.3-8.el7.x86_64 の複製です
更新します : iproute-4.11.0-30.el7.x86_64 1/2
整理中 : iproute-3.10.0-54.el7.x86_64 2/2
検証中 : iproute-4.11.0-30.el7.x86_64 1/2
検証中 : iproute-3.10.0-54.el7.x86_64 2/2
更新:
iproute.x86_64 0:4.11.0-30.el7
完了しました!
Polkit 権限の昇格(CVE-2021-4034 No2)について(2022.09.16)
polkitのpkexecユーティリティにローカル権限昇格の脆弱性(CVE-2021-4034) (2022.01.28)
# yum update polkit
または、
# tar xvfz updates7-polkit.tar.gz
# yum localupdate \
polkit-0.112-26.el7_9.1.x86_64.rpm \
polkit-devel-0.112-26.el7_9.1.x86_64.rpm \
polkit-docs-0.112-26.el7_9.1.noarch.rpm
i2c-i801ドライバーの更新(2022.01.27)
# cd /
# tar xvfz /tmp/i801_smbus.tar.gz
# cd /usr/local/CNC/drivers/i801_smbus
# make patch
# make all
TPM2ドライバーが以下のエラーを出力する(2022.01.27)
# cd /
# tar xvfz /tmp/tpm_crb.tar.gz
# cd /usr/local/CNC/drivers/tpm_crb
# make patch
# make all
# cd /
# tar xvfz /tmp/bonding.tar.gz
# cd /usr/local/CNC/driver/bonding
# make patch
# make all
インストール後、以下の様にextra下に新たなbindingドライバが作成されます。
# find /lib/modules/|grep bonding
/lib/modules/4.1.15-rt17-RedHawk-7.2-trace/extra/bonding.ko.gz
/lib/modules/4.1.15-rt17-RedHawk-7.2-trace/kernel/drivers/net/bonding
/lib/modules/4.1.15-rt17-RedHawk-7.2-trace/kernel/drivers/net/bonding/bonding.ko.gz
/lib/modules/4.1.15-rt17-RedHawk-7.2-debug/extra/bonding.ko.gz
/lib/modules/4.1.15-rt17-RedHawk-7.2-debug/kernel/drivers/net/bonding
/lib/modules/4.1.15-rt17-RedHawk-7.2-debug/kernel/drivers/net/bonding/bonding.ko.gz
/lib/modules/4.1.15-rt17-RedHawk-7.2/extra/bonding.ko.gz
/lib/modules/4.1.15-rt17-RedHawk-7.2/kernel/drivers/net/bonding
/lib/modules/4.1.15-rt17-RedHawk-7.2/kernel/drivers/net/bonding/bonding.ko.gz
/lib/modules/4.1.15-rt17-RedHawk-7.2-kdump/kernel/drivers/net/bonding
/lib/modules/4.1.15-rt17-RedHawk-7.2-kdump/kernel/drivers/net/bonding/bonding.ko.gz
元のドライバは、kernel/drivers/net/bonding下にありますので、extra/bonding.ko.gzを削除し、demod後再起動で、元の状態に戻ります。
# yum update glibc-2.17
しかし、常に更新されているため、任意の版に対するパッチを適用するためには、依存関係を考慮して、RPMを適用する必要があります。
yum -Uvh \
glibc-2.17-106.el7_2.8.i686.rpm \
glibc-2.17-106.el7_2.8.x86_64.rpm \
glibc-common-2.17-106.el7_2.8.x86_64.rpm \
glibc-devel-2.17-106.el7_2.8.i686.rpm \
glibc-devel-2.17-106.el7_2.8.x86_64.rpm \
glibc-headers-2.17-106.el7_2.8.x86_64.rpm \
glibc-static-2.17-106.el7_2.8.i686.rpm \
glibc-static-2.17-106.el7_2.8.x86_64.rpm \
glibc-utils-2.17-106.el7_2.8.x86_64.rpm \
nscd-2.17-106.el7_2.8.x86_64.rpm
版の違う場合には、バージョン部分を変更して検索してください。
# rpm -qa|grep ccur-kernel
ccur-kernel-debug-7.2-20160309.x86_64
ccur-kernel-kdump-7.2-20160309.x86_64 インストールされていない場合には、DVDからインストールする
ccur-kernel-source-7.2-20160309.x86_64
ccur-kernel-trace-7.2-20160309.x86_64
ccur-kernel-7.2-20160309.x86_64
# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.1.15-rt17-RedHawk-7.2-trace root=/dev/sda3 ro rhgb quiet crashkernel=128M@64M pci=routeirq intremap=off
起動パラメータにcrashkernel=128M@64Mを含んでいない場合
/etc/default/grubファイルの下記エントリを修正後、/boot/efi/EFI/centos/grub.cfgを再生成した後、システムを再起動します。
# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet crashkernel=128M@64M pci=routeirq intremap=off"
GRUB_DISABLE_RECOVERY="true"
# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.1.15-rt17-RedHawk-7.2-trace
Found initrd image: /boot/initramfs-4.1.15-rt17-RedHawk-7.2-trace.img
Found linux image: /boot/vmlinuz-4.1.15-rt17-RedHawk-7.2-debug
Found initrd image: /boot/initramfs-4.1.15-rt17-RedHawk-7.2-debug.img
Found linux image: /boot/vmlinuz-4.1.15-rt17-RedHawk-7.2
Found initrd image: /boot/initramfs-4.1.15-rt17-RedHawk-7.2.img
done
kdump.serviceの起動確認
アクティブの場合
# systemctl status kdump.service
● kdump.service - Crash recovery kernel arming
Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled; vendor preset: enabled)
Active: active (exited) since Thu 2020-01-30 14:22:41 JST; 6s ago
Process: 7784 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)
Main PID: 7784 (code=exited, status=0/SUCCESS)
非アクティブの場合 下記コマンドで、イネーブルにして、再起動する。
# systemctl status kdump.service
● kdump.service - Crash recovery kernel arming
Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled; vendor preset: enabled)
Active: inactive (dead)
# systemctl start kdump.service
# systemctl enable kdump.service
# reboot
下記コマンドで起動を確認する。
# dmesg|grep crash
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.1.15-rt17-RedHawk-7.2-trace root=/dev/sda3 ro rhgb quiet crashkernel=128M@64M pci=routeirq intremap=off
[ 0.000000] Reserving 128MB of memory at 64MB for crashkernel (System RAM: 65195MB)
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.1.15-rt17-RedHawk-7.2-trace root=/dev/sda3 ro rhgb quiet crashkernel=128M@64M pci=routeirq intremap=off
PANICダンプの動作確認
実際に動作することをマルチユーザーモードで確認する
# init 3
:
# echo c > /proc/sysrq-trigger
PANICダンプ生成
:
# tree /var/crash/127.0.0.1-2020-01-30-14\:23\:43/
/var/crash/127.0.0.1-2020-01-30-14:23:43/
├── vmcore
└── vmcore-dmesg.txt
0 directories, 2 files
vmcore がクラッシュダンプで、vmcore-dmesg.txt は、クラッシュ時のリングバッファの内容が保存されたテキストです。
usb 1-1: USB disconnect, device number 2
usb 1-1: new low-speed USB device number 6 using xhci_hcd
usb 1-1: New USB device found, idVendor=04ca, idProduct=0061
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB Optical Mouse
usb 1-1: Manufacturer: PixArt
usb 1-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:04CA:0061.0005/input/input6
hid-generic 0003:04CA:0061.0005: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:14.0-1/input0
# lsusb
Bus 001 Device 007: ID 04ca:0061 Lite-On Technology Corp.
Bus 001 Device 003: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 006: ID 13fe:3600 Kingston Technology Company Inc. flash drive (4GB, EMTEC)
Bus 001 Device 004: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0557:2419 ATEN International Co., Ltd
このUSBIDを利用して、grubの起動パラメータに"usbhid.quirks=0x04CA:0x0061:0x00000400"を加える(ベンダーID:デバイスIDは、16進数を使用する事)。
/vmlinuz-4.1.15-rt17-RedHawk-7.2-trace root=/dev/sda3 ro pci=routeirq LANG=ja_JP.UTF8 crashkernel=128M@64M usbhid.quirks=04CA:0061:0x00000400
起動後、下記コマンドで確認する。
# cat /sys/module/usbhid/parameters/quirks
0x04CA:0x0061:0x00000400,(null),(null),(null)
この16進値の定義は、/usr/src/linux-4.1.15RedHawk7.2/include/linux/hid.hに存在する
#define HID_QUIRK_INVERT 0x00000001
#define HID_QUIRK_NOTOUCH 0x00000002
#define HID_QUIRK_IGNORE 0x00000004
#define HID_QUIRK_NOGET 0x00000008
#define HID_QUIRK_HIDDEV_FORCE 0x00000010
#define HID_QUIRK_BADPAD 0x00000020
#define HID_QUIRK_MULTI_INPUT 0x00000040
#define HID_QUIRK_HIDINPUT_FORCE 0x00000080
#define HID_QUIRK_NO_EMPTY_INPUT 0x00000100
#define HID_QUIRK_NO_INIT_INPUT_REPORTS 0x00000200
#define HID_QUIRK_ALWAYS_POLL 0x00000400
#define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00010000
#define HID_QUIRK_SKIP_OUTPUT_REPORT_ID 0x00020000
#define HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP 0x00040000
#define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000
#define HID_QUIRK_NO_INIT_REPORTS 0x20000000
#define HID_QUIRK_NO_IGNORE 0x40000000
#define HID_QUIRK_NO_INPUT_SYNC 0x80000000
# systemctl stop gpm.service
# rtkitctl -k
# unzip v11003_linux.zip
Archive: v11003_linux.zip
creating: LinuxDRM/
extracting: LinuxDRM/lxdrm.tar.gz
extracting: LinuxDRM/lxdrm_dkms.tar.gz
creating: LinuxXorg/
inflating: LinuxXorg/COPYING
creating: LinuxXorg/Drv/
inflating: LinuxXorg/Drv/lxdrv.tar.gz
creating: LinuxXorg/RPM/
extracting: LinuxXorg/RPM/lxrpm.tar.gz
creating: LinuxXorg/Src/
extracting: LinuxXorg/Src/lxsrc.tar.gz
# cd LinuxXorg/RPM/
# tar xvfz lxrpm.tar.gz
ReadMe.txt
release.txt
xf86-1.10-01.i386.rpm
xf86-1.10-01.x86_64.rpm
xorg67-1.10-01.i386.rpm
xorg68-1.10-01.i386.rpm
xorg68-1.10-01.x86_64.rpm
xorg69-1.10-01.i386.rpm
xorg69-1.10-01.x86_64.rpm
xorg7-1.10-01.i386.rpm
xorg7-1.10-01.x86_64.rpm
xorg71-1.10-01.i386.rpm
xorg71-1.10-01.x86_64.rpm
xorg72-1.10-01.i386.rpm
xorg72-1.10-01.x86_64.rpm
xorg73-1.10-01.i386.rpm
xorg73-1.10-01.x86_64.rpm
xorg74-1.10-01.i386.rpm
xorg74-1.10-01.x86_64.rpm
xorg75-1.10-01.i386.rpm
xorg75-1.10-01.x86_64.rpm
xorg751-1.10-01.i386.rpm
xorg751-1.10-01.x86_64.rpm
xorg76-1.10-01.i386.rpm
xorg76-1.10-01.x86_64.rpm
xorg761-1.10-01.i386.rpm
xorg761-1.10-01.x86_64.rpm
xorg77-1.10-01.i386.rpm
xorg77-1.10-01.x86_64.rpm
xorg771-1.10-01.i386.rpm
xorg771-1.10-01.x86_64.rpm
xorg772-1.10-01.i386.rpm
xorg772-1.10-01.x86_64.rpm
xorg78-1.10-01.i386.rpm
xorg78-1.10-01.x86_64.rpm
xorg781-1.10-01.i386.rpm
xorg781-1.10-01.x86_64.rpm
xorg782-1.10-01.i386.rpm
xorg782-1.10-01.x86_64.rpm
xorg783-1.10-01.i386.rpm
xorg783-1.10-01.x86_64.rpm
xorg784-1.10-01.i386.rpm
xorg784-1.10-01.x86_64.rpm
xorg785-1.10-01.i386.rpm
xorg785-1.10-01.x86_64.rpm
xorg786-1.10-01.i386.rpm
xorg786-1.10-01.x86_64.rpm
xorg787-1.10-01.i386.rpm
xorg787-1.10-01.x86_64.rpm
# rpm -ivh xorg784-1.10-01.x86_64.rpm
NetworkManager 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
NetworkManager-glib 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
NetworkManager-adsl 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
NetworkManager-libnm 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
NetworkManager-team 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
NetworkManager-tui 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
NetworkManager-wifi 1.0.6-27.el7.x86_64 -> 1.18.0-5.el7_7.1
dbus 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
dbus-devel 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
dbus-libs 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
dbus-x11 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
glib2 2.42.2-5.el7.x86_64 -> 2.56.1-5.el7
glib2-devel 2.42.2-5.el7.x86_64 -> 2.56.1-5.el7
ダウンロードして、rpm -Uvh でインストールを行う。
dbus 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
dbus-devel 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
dbus-libs 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
dbus-x11 1.6.12-13.el7.x86_64 -> 1.10.24-13.el7_6
glib2 2.42.2-5.el7.x86_64 -> 2.56.1-5.el7
glib2-devel 2.42.2-5.el7.x86_64 -> 2.56.1-5.el7
mount error(22): Invalid argument\n, 34mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
# mv /lib/modules/`uname -r`/kernel/fs/cifs/cifs.ko.gz /lib/modules/`uname -r`/kernel/fs/cifs/cifs.ko.gz.org
# cd /usr/src/linux-4.1.15RedHawk7.2
# make distclean
# ./ccur-config -c
# make menuconfig
# ./ccur-config -n -c
# echo "CONFIG_FENCE_TRACE=y" >> .config
# echo "CONFIG_FSCACHE=m" >> .config
# echo "CONFIG_CIFS_SMB2=y" >> .config
# make REDHAWKFLAVOR=`cat /proc/ccur/flavor` fs/cifs/cifs.ko
# ls -la /lib/modules/`uname -r`/kernel/fs/cifs/
# rmmod cifs
# rm -f /lib/modules/`uname -r`/kernel/fs/cifs/*
# cp fs/cifs/cifs.ko /lib/modules/`uname -r`/kernel/fs/cifs
# depmod -a
# make clean
# modprobe cifs
# lsmod |grep cifs
cifs 372736 0
# mount -t cifs -o username="user1",password="pass1",rw,uid=1000,gid=1000,vers=バージョン //IP.ADDDRES/share /mnt/share
# yum install epel-release
# yum groups install "MATE Desktop"
# yum install lightdm
# systemctl disable gdm
# systemctl enable lightdm
[ 17.680113] f 0#6: armed on ring 0!
[ 17.680151] f 0#6: signaled from irq context
[ 17.680561] f 0#7: armed on ring 0!
[ 17.680599] f 0#7: signaled from irq context
:
[ 19.689268] f 0#103: signaled from radeon_fence_signaled
[ 19.689346] f 0#104: armed on ring 0!
[ 19.689407] f 0#104: signaled from irq context
[ 19.706062] f 0#107: armed on ring 0!
:
# rpm -ivh fence_trace-1-0.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:fence_trace-1-0 ################################# [100%]
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/kdump
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/prt-debug
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/prt-trace
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/prt
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/standard
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/trace
Patching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/debug
Rebuild debug kernel modules
Install debug kernel modules
make[1]: Entering directory `/usr/src/linux-4.1.15RedHawk7.2'
INSTALL /lib/modules/4.1.15-rt17-RedHawk-7.2-debug/build/drivers/gpu/drm/radeon/radeon.ko
DEPMOD 4.1.15-rt17-RedHawk-7.2-debug
make[1]: Leaving directory `/usr/src/linux-4.1.15RedHawk7.2'
Rebuild standard kernel modules
Install standard kernel modules
make[1]: Entering directory `/usr/src/linux-4.1.15RedHawk7.2'
INSTALL /lib/modules/4.1.15-rt17-RedHawk-7.2/build/drivers/gpu/drm/radeon/radeon.ko
DEPMOD 4.1.15-rt17-RedHawk-7.2
make[1]: Leaving directory `/usr/src/linux-4.1.15RedHawk7.2'
Rebuild trace kernel modules
Install trace kernel modules
make[1]: Entering directory `/usr/src/linux-4.1.15RedHawk7.2'
INSTALL /lib/modules/4.1.15-rt17-RedHawk-7.2-trace/build/drivers/gpu/drm/radeon/radeon.ko
DEPMOD 4.1.15-rt17-RedHawk-7.2-trace
make[1]: Leaving directory `/usr/src/linux-4.1.15RedHawk7.2'
*************************************************
All the driver for this product has been updated.
*************************************************
なお、アンインストールする必要はありませんが、アンインストールの方法を下記に示します。
# rpm -e fence_trace-1-0
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/kdump
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/prt-debug
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/prt-trace
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/prt
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/standard
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/trace
Unpatching /usr/src/linux-4.1.15RedHawk7.2/configs/x86_64/debug
Rebuild debug kernel modules
Install debug kernel modules
make[1]: Entering directory `/usr/src/linux-4.1.15RedHawk7.2'
INSTALL /lib/modules/4.1.15-rt17-RedHawk-7.2-debug/build/drivers/gpu/drm/radeon/radeon.ko
DEPMOD 4.1.15-rt17-RedHawk-7.2-debug
make[1]: Leaving directory `/usr/src/linux-4.1.15RedHawk7.2'
Rebuild standard kernel modules
Install standard kernel modules
make[1]: Entering directory `/usr/src/linux-4.1.15RedHawk7.2'
INSTALL /lib/modules/4.1.15-rt17-RedHawk-7.2/build/drivers/gpu/drm/radeon/radeon.ko
DEPMOD 4.1.15-rt17-RedHawk-7.2
make[1]: Leaving directory `/usr/src/linux-4.1.15RedHawk7.2'
Rebuild trace kernel modules
Install trace kernel modules
make[1]: Entering directory `/usr/src/linux-4.1.15RedHawk7.2'
INSTALL /lib/modules/4.1.15-rt17-RedHawk-7.2-trace/build/drivers/gpu/drm/radeon/radeon.ko
DEPMOD 4.1.15-rt17-RedHawk-7.2-trace
make[1]: Leaving directory `/usr/src/linux-4.1.15RedHawk7.2'
*************************************************
All the driver for this product has been updated.
*************************************************
[ 1.266807] pci 0000:ff:12.4: [8086:6f60] type 00 class 0x088000
[ 1.266814] pci 0000:ff:12.4: reg 0x14: [mem 0x00000000-0x0000000f]
[ 1.266818] pci 0000:ff:12.4: reg 0x18: [mem 0x00000000-0x0000003f]
[ 1.266821] pci 0000:ff:12.4: reg 0x1c: [mem 0x00000000-0x0000000f]
[ 1.266825] pci 0000:ff:12.4: reg 0x20: [mem 0x00000000-0x0000003f]
[ 1.266828] pci 0000:ff:12.4: reg 0x24: [mem 0x00000000-0x0000000f]
:
:
[ 1.307698] pci 0000:ff:12.4: BAR 2: no space for [mem size 0x00000040]
[ 1.307699] pci 0000:ff:12.4: BAR 2: failed to assign [mem size 0x00000040]
[ 1.307701] pci 0000:ff:12.4: BAR 4: no space for [mem size 0x00000040]
[ 1.307702] pci 0000:ff:12.4: BAR 4: failed to assign [mem size 0x00000040]
[ 1.307703] pci 0000:ff:12.4: BAR 1: no space for [mem size 0x00000010]
[ 1.307704] pci 0000:ff:12.4: BAR 1: failed to assign [mem size 0x00000010]
[ 1.307705] pci 0000:ff:12.4: BAR 3: no space for [mem size 0x00000010]
[ 1.307706] pci 0000:ff:12.4: BAR 3: failed to assign [mem size 0x00000010]
[ 1.307708] pci 0000:ff:12.4: BAR 5: no space for [mem size 0x00000010]
[ 1.307709] pci 0000:ff:12.4: BAR 5: failed to assign [mem size 0x00000010]
[ 1.307714] pci_bus 0000:ff: Some PCI device resources are unassigned, try booting with pci=realloc
Section "Screen"
:
Device "DiscreteNvidia"
EndSection
# cd /usr/src/linux-4.1.15RedHawk7.2/
# ./ccur-config -c -n
# rmmod nvidia_uvm
# rmmod nvidia
# modprobe -r nvidia_uvm
# modprobe -r nvidia
# cd /tmp
# sh NVIDIA-Linux-x86_64-375.20.run
あるいは、
# sh NVIDIA-Linux-x86_64-375.20.run -K
アンインストールの方法
# sh NVIDIA-Linux-x86_64-375.20.run --uninstall
# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 CPU11 CPU12 CPU13 CPU14 CPU15
0: 54 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IO-APIC-edge timer
8: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IO-APIC-edge rtc0
9: 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IO-APIC-fasteoi acpi
18: 54 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IO-APIC-18-fasteoi ehci_hcd:usb1, ehci_hcd:usb2, i801_smbus
19: 12031 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IO-APIC-19-fasteoi xhci-hcd:usb3
38: 1956 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IO-APIC-20-fasteoi snd_hda_intel
45: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0
46: 119349 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-0
47: 119348 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-1
48: 119351 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-2
49: 119358 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-3
50: 119362 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-4
51: 119355 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-5
52: 119345 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-6
53: 119345 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth0-TxRx-7
54: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge 0000:00:11.4
55: 169270 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge 0000:00:1f.2
56: 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1
57: 119362 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-0
58: 119410 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-1
59: 119354 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-2
60: 119348 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-3
61: 119425 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-4
62: 119364 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-5
63: 119384 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-6
64: 119347 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth1-TxRx-7
65: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth2
66: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-0
67: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-1
68: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-2
69: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-3
70: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-4
71: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-5
72: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-6
73: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth2-TxRx-7
74: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth3
75: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-0
76: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-1
77: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-2
78: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-3
79: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-4
80: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-5
81: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-6
82: 0 0 0 0 0 0 0 0 119345 0 0 0 0 0 0 0 PCI-MSI-edge eth3-TxRx-7
83: 119324 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-0
84: 1 119321 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-1
85: 1 0 119324 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-2
86: 1 0 0 119337 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-3
87: 1 0 0 0 119322 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-4
88: 1 0 0 0 0 119318 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-5
89: 1 0 0 0 0 0 119321 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-6
90: 1 0 0 0 0 0 0 119313 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-7
91: 1 0 0 0 0 0 0 0 119332 0 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-8
92: 1 0 0 0 0 0 0 0 0 119318 0 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-9
93: 1 0 0 0 0 0 0 0 0 0 119317 0 0 0 0 0 PCI-MSI-edge eth4-TxRx-10
94: 1 0 0 0 0 0 0 0 0 0 0 119315 0 0 0 0 PCI-MSI-edge eth4-TxRx-11
95: 1 0 0 0 0 0 0 0 0 0 0 0 119325 0 0 0 PCI-MSI-edge eth4-TxRx-12
96: 1 0 0 0 0 0 0 0 0 0 0 0 0 119315 0 0 PCI-MSI-edge eth4-TxRx-13
97: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 119316 0 PCI-MSI-edge eth4-TxRx-14
98: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 119369 PCI-MSI-edge eth4-TxRx-15
99: 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth4
100: 119298 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-0
101: 1 119302 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-1
102: 1 0 119292 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-2
103: 1 0 0 119297 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-3
104: 1 0 0 0 119298 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-4
105: 1 0 0 0 0 119316 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-5
106: 1 0 0 0 0 0 119286 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-6
107: 1 0 0 0 0 0 0 119285 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-7
108: 1 0 0 0 0 0 0 0 119293 0 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-8
109: 1 0 0 0 0 0 0 0 0 119292 0 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-9
110: 1 0 0 0 0 0 0 0 0 0 119290 0 0 0 0 0 PCI-MSI-edge eth5-TxRx-10
111: 1 0 0 0 0 0 0 0 0 0 0 119288 0 0 0 0 PCI-MSI-edge eth5-TxRx-11
112: 1 0 0 0 0 0 0 0 0 0 0 0 119286 0 0 0 PCI-MSI-edge eth5-TxRx-12
113: 1 0 0 0 0 0 0 0 0 0 0 0 0 119293 0 0 PCI-MSI-edge eth5-TxRx-13
114: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 119287 0 PCI-MSI-edge eth5-TxRx-14
115: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 119308 PCI-MSI-edge eth5-TxRx-15
116: 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCI-MSI-edge eth5
117: 0 0 0 0 0 0 0 0 19266352 0 0 0 0 0 0 0 PCI-MSI-edge nvidia
NMI: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Non-maskable interrupts
NMD: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Duration in usecs of most recent NMI
LOC: 11226447 713377017 12605378 12393113 488377914 13957568 14129993 14788102 3292705 6347307 16958598 12572380 18435890 16202056 9118495 17404222 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Performance monitoring interrupts
IWI: 1 2 0 1 0 0 0 0 1 1 1 0 0 1 0 0 IRQ work interrupts
RTR: 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 APIC ICR read retries
RES: 397996 101 95701 3919 3194 3599 3414 3548 2856 3080 3156 3155 2855 3087 2977 2811 Rescheduling interrupts
FBS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FBS cross cpu interrupts
CAL: 11461 11454 11479 11527 11498 11531 11437 11513 13836 14269 4323 14169 13918 13946 13946 13711 Function call interrupts
TLB: 327 43 1003 751 239 242 282 238 264 215 177 207 235 216 174 273 TLB shootdowns
MOV: 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IRQ-move cleanup interrupts
TRM: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 797 5 797 797 797 797 797 797 797 797 797 797 797 797 797 797 Machine check polls
RTE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RT throttling events
ERR: 0
MIS: 0