You are not logged in.

#1 2022-06-06 23:07:52

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

ioremap error on PCI bus?

Hello.

I have a problem with my new arhc installation.
When booting i get a solid underscore when the lightDM log in screen should show.
Then after rebooting I saw that the boot up of tock a long time to complete.
So I started to debug my system and this is my findings.

This post was written as I debugged the system and such  can contain unnecessary information, my apologise.

First of the systemd-modules-load had an time out:

$ systemctl status systemd-modules-load

× systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
     Active: failed (Result: timeout) since Mon 2022-06-06 19:50:41 CEST; 5h 11min ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
   Main PID: 396 (code=killed, signal=TERM)
        CPU: 120ms

Jun 06 19:49:11 hesoid systemd-modules-load[396]: Inserted module 'crypto_user'
Jun 06 19:49:11 hesoid systemd-modules-load[396]: Inserted module 'dm_multipath'
Jun 06 19:50:41 hesoid systemd[1]: systemd-modules-load.service: start operation timed out. Terminating.
Jun 06 19:50:41 hesoid systemd[1]: systemd-modules-load.service: Main process exited, code=killed, status=15/TERM
Jun 06 19:50:41 hesoid systemd[1]: systemd-modules-load.service: Failed with result 'timeout'.
Jun 06 19:50:41 hesoid systemd[1]: Failed to start Load Kernel Modules.

To find the root cause for the time out I checked the journalctl for errors:

$ journalctl -p err -b

Jun 06 19:47:40 archlinux kernel: pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid
Jun 06 19:47:40 archlinux kernel: pci 0000:00:07.3: DPC: RP PIO log size 0 is invalid
Jun 06 19:47:40 archlinux kernel: 
Jun 06 19:47:40 archlinux kernel: traps: Missing ENDBR: _nv011430rm+0x0/0x10 [nvidia]
Jun 06 19:47:40 archlinux kernel: kernel BUG at arch/x86/kernel/traps.c:252!
Jun 06 19:47:40 archlinux systemd[1]: Failed to start Load Kernel Modules.
Jun 06 19:49:11 hesoid kernel: ioremap error for 0x63cc3000-0x63cc4000, requested 0x2, got 0x0
Jun 06 19:49:12 hesoid kernel: dell_smm_hwmon: unable to get SMM Dell signature
Jun 06 19:49:14 hesoid systemd-udevd[444]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Jun 06 19:49:14 hesoid kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Jun 06 19:50:41 hesoid systemd[1]: Failed to start Load Kernel Modules.
Jun 06 19:51:02 hesoid systemd-homed[1280]: Activation failed: Required key not available
Jun 06 19:52:12 hesoid systemd-udevd[410]: 0000:01:00.0: Worker [453] processing SEQNUM=3751 killed
Jun 06 20:09:19 hesoid tlp[3675]: Error: tlp.service is not enabled, power saving will not apply on boot.
Jun 06 20:09:19 hesoid tlp[3675]: >>> Invoke 'systemctl enable tlp.service' to correct this!

But expect from the PCI errors in the top I do not see any strange in the report.

I also inspected if there where any version issues with  the kernel and the repository but found no issues:

$ pacman -Q linux
linux 5.18.1.arch1-1
$ uname -r
5.18.1-arch1-1
$ file /boot/vmlinuz-linux
/boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 5.18.1-arch1-1 (linux@archlinux) #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000, RO-rootFS, swap_dev 0XA, Normal VGA

So no luck there.

What about the dmesg output:

$ sudo dmesg | grep error

[    0.717007] ahci: probe of 0000:00:0e.0 failed with error -22
[   92.211246] ioremap error for 0x63cc3000-0x63cc4000, requested 0x2, got 0x0
[   92.211567] ucsi_acpi: probe of USBC000:00 failed with error -12
[   92.262657] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   92.413657] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-72.ucode failed with error -2
[  207.414225] audit: type=1338 audit(1654537867.190:167): module=crypt op=ctr ppid=1280 pid=1537 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-homewor" exe="/usr/lib/systemd/systemd-homework" dev=254:0 error_msg='success' res=1

Interesting an ioremap error then perhaps the earlier PCI error has some thing to do with this error.

So do I miss a driver or what is going on?

Offline

#2 2022-06-06 23:10:15

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: ioremap error on PCI bus?

Jun 06 19:47:40 archlinux kernel: traps: Missing ENDBR: _nv011430rm+0x0/0x10 [nvidia]

See https://bbs.archlinux.org/viewtopic.php?id=276786 https://bugs.archlinux.org/task/74886 https://github.com/NVIDIA/open-gpu-kern … issues/256

Last edited by loqs (2022-06-06 23:16:02)

Offline

#3 2022-06-07 05:51:37

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: ioremap error on PCI bus?

Thank you. I will try some off the solutions mentioned.

Offline

#4 2022-06-07 19:13:59

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: ioremap error on PCI bus?

ibt=off worked. But I don't think it solves the problem.

Offline

#5 2022-06-07 19:23:06

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: ioremap error on PCI bus?

r00tr4t wrote:

ibt=off worked. But I don't think it solves the problem.

Which problem?  If you mean the ioremap error message are their any problems resulting from it?

Offline

#6 2022-06-16 19:33:05

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: ioremap error on PCI bus?

Which problem?  If you mean the ioremap error message are their any problems resulting from it?

Sorry for late reply. To much to do. I could boot in to the graphical environment with the ibt=off flag.
Agree it doesn't solve the initial problem but at least my I can use my computer again.

Offline

#7 2022-06-16 19:46:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,569

Re: ioremap error on PCI bus?

Your initial problem was

When booting i get a solid underscore when the lightDM log in screen should show.
Then after rebooting I saw that the boot up of tock a long time to complete.

which is either caused by the IBT situation (total failure) or the late DRM (remaining delay), https://wiki.archlinux.org/title/Kernel … _KMS_start

In unrelated news:

Jun 06 19:47:40 archlinux kernel: pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid
Jun 06 19:47:40 archlinux kernel: pci 0000:00:07.3: DPC: RP PIO log size 0 is invalid

https://bugzilla.kernel.org/show_bug.cgi?id=209943#c4

Jun 06 19:49:11 hesoid kernel: ioremap error for 0x63cc3000-0x63cc4000, requested 0x2, got 0x0

*possibly* https://lore.kernel.org/linux-usb/b9b00 … pg.de/T/#u

Offline

Board footer

Powered by FluxBB