You are not logged in.

#1 2019-10-03 10:43:15

microman333
Member
Registered: 2019-07-21
Posts: 8

using the Clear Linux Kernel - printk after login?/intel-ucode-clear

Hey guys I installed the linux-clear-bin from the AUR to test the performance of the Clear Linux Kernel.

https://aur.archlinux.org/packages/linux-clear-bin/


install:

git clone https://aur.archlinux.org/packages/linux-clear-bin/
cd /linux-clear-bin
makepkg -sirc

modifying /boot/loader/entries/clear.conf

title   Arch Linux (Clear Linux Kernel)
linux   /vmlinuz-linux-clear-bin
initrd  /intel-ucode.img
initrd  /initramfs-linux-linux-clear-bin.img
options root=LABEL=arch_os rw

I am getting these annoying printks in the TTY1 after login:

[    7.378675] kauditd_printk_skb: 7 callbacks suppressed
[    7.378676] audit: type=1006 audit(1570095939.249:18): pid=697 uid=0 old-auid=4294967295 auid=1000 tty=tty1 old-ses=4294967295 ses=1 res=1
[    7.395545] audit: type=1130 audit(1570095939.266:19): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.400467] audit: type=1006 audit(1570095939.270:20): pid=802 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1
[    7.451933] audit: type=1130 audit(1570095939.322:21): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Why are they be printed? Are there any problems?


The second question is related to intel-ucode-clear for AUR.

https://aur.archlinux.org/packages/intel-ucode-clear/

After install I am getting /boot/intel-ucode.cpio and /boot/i915-firmware.cpio.xz

how to add these into the /boot/loader/entries/clear.conf. Normally it is just an .img eg: initrd  /intel-ucode.img.?


There is also /boot/vmlinuz-linux-clear.cmdline

there are two lines I think they may be useless:
init=/usr/bin/initra-desktop

and
console=ttyS0, 115200n8

are they useless? Whats the reason there is no file /usr/bin/initra-desktop? what does "115200n8" in console=ttyS0, 115200n8 mean? Why the printk messages and how to load the firmware correctly cpio/cpio.xz?

Offline

#2 2019-10-11 17:28:07

ua4000
Member
Registered: 2015-10-14
Posts: 566

Re: using the Clear Linux Kernel - printk after login?/intel-ucode-clear

regarding a) audit:
They are printed because you have audit enabled. It's no problem, it's an info what's happening in your system.

In order to disable audit completely and suppress audit messages from appearing in journal you may set audit=0 as kernel parameter and/or mask systemd-journald-audit.socket

https://wiki.archlinux.org/index.php/Audit_framework

Offline

#3 2019-10-11 19:05:13

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: using the Clear Linux Kernel - printk after login?/intel-ucode-clear

microman333 wrote:

The second question is related to intel-ucode-clear for AUR.

https://aur.archlinux.org/packages/intel-ucode-clear/

After install I am getting /boot/intel-ucode.cpio and /boot/i915-firmware.cpio.xz

how to add these into the /boot/loader/entries/clear.conf. Normally it is just an .img eg: initrd  /intel-ucode.img.?

The extensions are different but all are cpio archives.  Is i915-firmware.cpio.xz intended to be used directly?
What advantages do the versions supplied in this package have other those supplied by arch in the linux-firmware and intel-ucode packages?

microman333 wrote:

There is also /boot/vmlinuz-linux-clear.cmdline

there are two lines I think they may be useless:
init=/usr/bin/initra-desktop

and
console=ttyS0, 115200n8

are they useless? Whats the reason there is no file /usr/bin/initra-desktop? what does "115200n8" in console=ttyS0, 115200n8 mean?

https://www.kernel.org/doc/Documentatio … meters.txt

Offline

Board footer

Powered by FluxBB