UDEVADM crash

cancel
Showing results for 
Search instead for 
Did you mean: 

UDEVADM crash

863 Views
benoit_callebau
Contributor I

I was using up to now, the kernel 4.9 image from the yocto based build (QorIQ SDK)

I recompiled the kernel 4.14.83 using the LSDK (1812 update 01072019) for the board LS1046ardb.

when starting up the kernel I get the following error : (note the board is a mpxls1046a board from Microsys)

Starting kernel ...


[    0.000000] Kernel command line: earlycon=uart8250,mmio,0x21c0500 root=/dev/mmcblk0p1 rw noinitrd console=ttyS0,115200 S

[    5.016475] systemd[1]: Set hostname to <localhost>.
[    5.440682] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but t.
[    5.457744] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP )
[    5.588255] random: systemd: uninitialized urandom read (16 bytes read)
[    5.595202] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    5.613901] random: systemd: uninitialized urandom read (16 bytes read)
[    5.620593] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.641883] random: systemd: uninitialized urandom read (16 bytes read)
[    5.648604] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.670015] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.699456] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
         Starting Set the console keyboard layout...
         Starting Create list of required st...ce nodes for the current kernel...
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Reached target Swap.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Set console scheme...
[  OK  ] Listening on Journal Audit Socket.
         Starting Journal Service...
         Starting Remount Root and Kernel File Systems...
         Starting udev Coldplug all Devices...
         Mounting POSIX Message Queue File System...
         Starting Load Kernel Modules...
         Mounting Huge Pages File System...
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Create list of required sta��…vice nodes for the current kernel.
[  OK  ] Started Set console scheme.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted Huge Pages File Syst[    6.106080] Unable to handle kernel NULL pointer dereference at virtual address 00000000
em.
[    6.130890] user pgtable: 4k pages, 48-bit VAs, pgd = ffff800876675000
[    6.130892] [0000000000000000] *pgd=0000000000000000
[    6.130896] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[    6.130897] Modules linked in:
[    6.130902] CPU: 0 PID: 2898 Comm: udevadm Not tainted 4.14.83-dirty #2
[    6.130904] Hardware name: LS1046A RDB Board (DT)
Process udevadm (pid: 2898, stack limit = 0xffff00000e048000)

When using the default yocto based 4.9 kernel image, everything is fine.

0 Kudos
5 Replies

579 Views
benoit_callebau
Contributor I

Hello,

unfortunately, I get the same issue. udevadm crashes also.

I attached the boot log and also the dtb file I use. I don't have the source file of the device tree unfortunately

Benoit

0 Kudos

579 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Benoit Callebaut,

I verified your Kernel configuration file and dtb file, I didn't reproduce your issue on my LS1046ARDB target board.

Please check whether this problem is caused by the rootfs filesystem.

Please try the following rootfs built with the LSDK 1812 default configuration.

Rootfs:

https://drive.google.com/open?id=1ZrP4maZccROaWCfXFFUkjRjGOFpG99FX 

Image built with your Kernel configuration file:

https://drive.google.com/open?id=1v5KgKxufSHqsHPENXrMEZzgxMt-xSprr 

If your problem remains, please capture your console log to me again.

0 Kudos

579 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Benoit Callebaut,

Probably there is problem with your Kernel configuration file, please check whether CONFIG_SYS_SUPPORTS_HUGETLBFS is enabled in your Kernel configuration file.

I uploaded the LSDK 1812 pre_built image https://drive.google.com/open?id=1kBlX3aXOprd9nxxskjS7NXRbCF4sAbNl , please use it to do verification on your target board. I attached LSDK 1812 default Kernel configuration file and LS1046ARDB Linux Kernel booting up log, please have reference.

Would you please send your Linux Kernel configuration file(.config) to me to do more investigation?

Thanks,

Yiping

0 Kudos

579 Views
benoit_callebau
Contributor I

Here is my configuration file. The CONFIG_SYS_SUPPORTS_HUGETLBFS is enabled.

I will check the pre built image

0 Kudos

579 Views
dj1
Contributor I

I also have the same issue... But mine is even more dramatic that this...

[ 3.758741] systemd-fstab-generator[1768]: Failed to create unit file /run/systemd/generator/-.mount, as it?
[ 3.772799] systemd-fstab-generator[1768]: Failed to create unit file /run/systemd/generator/boot.mount, as?
[ 3.787711] systemd[1763]: /lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
[ 3.808770] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPA.
[ 3.825824] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first)
[ 3.872699] systemd[1]: Configuration file /lib/systemd/system/fmc.service is marked executable. Please rem.
[ 3.904519] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.911161] systemd[1]: Reached target Libvirt guests shutdown.
[ 3.932108] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.939653] systemd[1]: Created slice System Slice.
[ 3.956120] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.962841] systemd[1]: Listening on udev Control Socket.
[ 4.175218] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
[ 4.182019] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
[ 4.527372] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 4.535786] Mem abort info:
[ 4.538915] Exception class = DABT (current EL), IL = 32 bits
[ 4.544998] SET = 0, FnV = 0
[ 4.548046] EA = 0, S1PTW = 0
[ 4.548046] Data abort info:
[ 4.548048] ISV = 0, ISS = 0x00000004
[ 4.548051] CM = 0, WnR = 0
[ 4.548063] user pgtable: 4k pages, 48-bit VAs, pgd = ffff800b67523000
[ 4.548064] [0000000000000000] *pgd=0000000000000000
[ 4.548069] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 4.548070] Modules linked in:
[ 4.548074] CPU: 3 PID: 2424 Comm: udevadm Not tainted 4.14.83-dirty #1
[ 4.548077] Hardware name: LS1046A RDB Board (DT)
[ 4.548079] task: ffff800b676e7240 task.stack: ffff00000fbd0000
[ 4.548087] PC is at sysfs_kf_seq_show+0x90/0x160
[ 4.548090] LR is at sysfs_kf_seq_show+0x90/0x160
[ 4.548092] pc : [<ffff000008288378>] lr : [<ffff000008288378>] pstate: 40000145
[ 4.548093] sp : ffff00000fbd3cc0
[ 4.548094] x29: ffff00000fbd3cc0 x28: 0000000000000001
[ 4.548097] x27: 0000aaab026b1dd0 x26: ffff800b696d00c0

0 Kudos