Kopia Posted March 10 Posted March 10 Hello I wrote aind compile little module only for tests: #include <linux/module.h> #include <linux/sched.h> static int errval = 0; //module_param(errval,int,S_IRWXU); module_param(errval,int,S_IWUSR|S_IRUSR|S_IWGRP|S_IRGRP); MODULE_PARM_DESC(errval,"Value to return from init function"); int my_init_module(void) { printk("errval=%d\n",errval); return errval; } void my_cleanup_module(void) { printk("The module is now unloaded\n"); } module_init(my_init_module); module_exit(my_cleanup_module); MODULE_LICENSE("GPL"); compile by: make -C /lib/modules/6.6.75-current-sunxi64/build M=$(PWD) modules And it cause segmentation fault onlyme@orangepizero3:~/modules/errors$ sudo insmod errs.ko [sudo] password for onlyme: Message from syslogd@orangepizero3 at Mar 10 13:35:33 ... kernel:[ 331.593726] Internal error: Oops: 0000000096000004 [#1] SMP Message from syslogd@orangepizero3 at Mar 10 13:35:33 ... kernel:[ 331.798432] Code: 540005a0 f9401680 aa1a03e2 aa1703e1 (f9406400) Segmentation fault On Ubuntu x86 and raspbian (raspbery pi 3) it works, on orangepi zero 3 dosnet. Why? 0 Quote
Igor Posted March 10 Posted March 10 50 minutes ago, Kopia said: On Ubuntu x86 and raspbian (raspbery pi 3) it works Does it work on Armbian X86 and Armbian for Rpi? 0 Quote
Kopia Posted March 10 Author Posted March 10 (edited) It works on Ubunru x86, and Raspbian (raspberry pi 3). I didnt check it on Armbian x86 or Armbian Raspberry. But i will check it on Armbian-Raspberry Armbian on raspberry pi 3 Successfull! uname -r 6.12.17-current-bcm2711 headers: build -> /usr/src/linux-headers-6.12.17-current-bcm2711 insmod without any messages and lsmod: sudo lsmod Module Size Used by errs 12288 0 zram 36864 2 binfmt_misc 16384 1 Why it doesnt works on Orangepi zero3 Edited March 10 by Kopia 0 Quote
Igor Posted March 10 Posted March 10 1 hour ago, Kopia said: Armbian on raspberry pi 3 Successfull! Exactly. 1 hour ago, Kopia said: Why it doesnt works on Orangepi zero3 I am not aware of this problem but am sure this is not the only one. Allwinner support quality (and hw itself) is not on the level of mainstream hardware. Many of those devices are - "be happy that you can use them for something", fix problems on your own. We do a lot of fixing, we provide you tools for that, but our resources can't match mountain of problems that can be find in super cheap hardware ... that are leaving factories light speed and their solo mission is to be sold 0 Quote
Ryzer Posted March 10 Posted March 10 Hi Kopia, I have recently been try to build modules myself and ran into the same issue. Since I am still learning I thought I messed up somewhere but found that even when trying a simple module resulted in the kind of error. I tried the simplest module available by Johannes4linux: https://github.com/Johannes4Linux/Linux_Driver_Tutorial/tree/main/01_hello I currently have a Pcduino2 (Allwinner A10) running 6.12.9-edge-sunxi, which at first sight appears to load the module correctly but when lsmod is called I then experience a segfault. If I try lsmod before loading the simple hello module then lsmod works as expected. Before load hello module: ryan@pcduino2-1:~$ lsmod Module Size Used by aes_arm_bs 20480 2 crypto_simd 12288 1 aes_arm_bs aes_arm 12288 3 aes_arm_bs ccm 16384 6 sunrpc 360448 1 rtl8xxxu 167936 0 mac80211 667648 1 rtl8xxxu cfg80211 618496 2 mac80211,rtl8xxxu axp20x_adc 16384 0 sun4i_gpadc_iio 12288 0 industrialio 61440 2 sun4i_gpadc_iio,axp20x_adc rfkill 20480 3 cfg80211 sun4i_ts 12288 0 libarc4 12288 1 mac80211 sunxi_cedrus 40960 0 v4l2_mem2mem 16384 1 sunxi_cedrus videobuf2_dma_contig 16384 1 sunxi_cedrus videobuf2_memops 16384 1 videobuf2_dma_contig videobuf2_v4l2 16384 2 sunxi_cedrus,v4l2_mem2mem videobuf2_common 45056 5 sunxi_cedrus,videobuf2_dma_contig,videobuf2_memops,v4l2_mem2mem,videobuf2_v4l2 videodev 188416 3 sunxi_cedrus,v4l2_mem2mem,videobuf2_v4l2 mc 36864 5 sunxi_cedrus,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2 cpufreq_dt 16384 0 joydev 20480 0 input_leds 12288 0 evdev 16384 4 zram 24576 2 uio_pdrv_genirq 16384 0 uio 16384 1 uio_pdrv_genirq binfmt_misc 20480 1 dm_mod 98304 0 ip_tables 20480 0 x_tables 24576 1 ip_tables autofs4 36864 2 pinctrl_axp209 12288 0 lima 49152 0 gpu_sched 36864 1 lima sun4i_gpadc 12288 0 drm_shmem_helper 16384 1 lima sunxi 12288 0 phy_generic 16384 2 sunxi display_connector 16384 0 gpio_keys 16384 0 icplus 12288 1 With hello module loaded: ryan@pcduino2-1:~/exp-drivers/hello$ sudo dmesg | tail -n 5 [ 43.471780] wlx08d8330401aa: RX AssocResp from c0:c9:e3:3b:8b:9e (capab=0x1431 status=0 aid=3) [ 43.490077] usb 1-1: rtl8xxxu_bss_info_changed: HT supported [ 43.740960] wlx08d8330401aa: associated [ 2938.378205] hello: loading out-of-tree module taints kernel. [ 2938.380171] hello - Hello, Kernel! if I try to remove the module, this does not work: rmmod: ERROR: ../libkmod/libkmod-module.c:856 kmod_module_remove_module() could not remove 'hello': Resource temporarily unavailable rmmod: ERROR: could not remove module hello: Resource temporarily unavailable when calling lsmod: Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.135358] Internal error: Oops: 5 [#1] SMP THUMB2 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.535871] Process lsmod (pid: 1697, stack limit = 0xa7033696) Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.548141] Stack: (0xf0cfde00 to 0xf0cfe000) Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.558824] de00: c1705770 00000000 00000000 ffffffff c3f07000 7cfe460c 67cf1b22 7cfe460c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.573450] de20: 00000400 c4169a50 00000000 bf9ea044 c4169a68 f0cfdeb0 bf9ea044 c030d02f Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.588095] de40: 00000000 00000000 f0cfde98 c4169a78 00000001 c98f7800 2e8f6000 c3898000 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.602746] de60: c4169fa0 00000000 f0cfdf80 c44e03c0 00000000 00000400 00000001 c0c21784 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.617464] de80: c0355e81 c030d37d 00000400 00000001 01cc6c68 00000400 00000001 00000000 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.632093] dea0: f0cfde90 00000400 00000001 00000000 c44e03c0 00000000 00000000 00000000 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.646728] dec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 7cfe460c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.661312] dee0: 00000400 c44e03c0 c387a800 01cc6c68 f0cfdf80 c02e97b5 00001a55 c392c070 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.675981] df00: c392c070 00000000 00000000 00000000 ffefe31c ef2d9880 00000000 7cfe460c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.690649] df20: b6ec9fff f0cfdfb0 01cc706c 00000817 c387a800 00000255 c3898000 c0b0abff Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.705276] df40: 00000000 c0b0abff 00000000 00000000 00000000 7cfe460c 00000000 c44e03c0 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.719907] df60: c44e03c0 00000000 00000000 c01002a0 c387a800 00000003 00000000 c02e9fe9 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.734568] df80: 00000000 00000000 c01002a0 7cfe460c bef1f000 01cc52e0 000005e8 b6c15888 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.749269] dfa0: 00000003 c0100061 01cc52e0 000005e8 00000003 01cc6c68 00000400 00000001 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.763901] dfc0: 01cc52e0 000005e8 b6c15888 00000003 0000000a bef1f2b4 00000000 00000000 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.778638] dfe0: 00000003 bef1f1e0 b6bb037b b6b29656 40070030 00000003 00000000 00000000 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.793339] Call trace: Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.793356] m_show from seq_read_iter+0xd3/0x37c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.813529] seq_read_iter from seq_read+0xa5/0xcc Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.824806] seq_read from vfs_read+0x79/0x21c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.835638] vfs_read from ksys_read+0x45/0x9c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.846407] ksys_read from ret_fast_syscall+0x1/0x5c Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.857833] Exception stack(0xf0cfdfa8 to 0xf0cfdff0) Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.869272] dfa0: 01cc52e0 000005e8 00000003 01cc6c68 00000400 00000001 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.883870] dfc0: 01cc52e0 000005e8 b6c15888 00000003 0000000a bef1f2b4 00000000 00000000 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.898449] dfe0: 00000003 bef1f1e0 b6bb037b b6b29656 Message from syslogd@pcduino2-1 at Mar 10 17:14:04 ... kernel:[ 3254.909859] Code: f240 1850 f2cc 08ea (6922) 4641 Segmentation fault I know this is edge kernel so it is likely to have issues but when I also tried this on my Pcduino3 (Allwinner A20) running 6.6.75-current-sunxi, it then had a segmentation fault straight away. 0 Quote
dr_toggleswitch Posted March 11 Posted March 11 (edited) For larger compilations, like kernel modules/browser/bigger games, i had faults and complete crashes until i increased zram to a large amount and used a good quality SD card. It probably won't solve all problems, but it made a huge difference for me in being able to actually compile larger projects. # configuration values for the armbian-zram-config service # # enable the armbian-zram-config service? ENABLED=true # Zram swap enabled by default, unless set to disabled # SWAP=false # percentage of zram used as swap compared to physically available DRAM. # Huge overcommitment (300) is possible and sometimes desirable. See # https://forum.armbian.com/topic/5565-zram-vs-swap/?do=findComment&comment=61082 # and don't forget to adjust $MEM_LIMIT_PERCENTAGE below too. ZRAM_PERCENTAGE=300 # percentage of DRAM available to zram. If this amount is exceeded the zram # devices used for swap simply behave as if the device is full. You need to # adjust/increase this value only if you want to work with massive memory # overcommitment (ZRAM_PERCENTAGE exceeding 150 for example) MEM_LIMIT_PERCENTAGE=50 # create how many zram devices max for swap # ZRAM_MAX_DEVICES=4 Edited March 11 by dr_toggleswitch 0 Quote
mue473 Posted March 26 Posted March 26 Hello all, the same issue exists on BananaPi-M1 since upgrade to kernel 6.6.75. Originally "Armbian_community_24.5.0-trunk.168_Bananapi_bookworm_current_6.6.21_minimal.img" had been installed and upgraded several times. Because driver module was automatically loaded at start-up, the kernel crashed during init: Message from syslogd@bananapi at Mar 19 15:42:37 ... kernel:[ 3508.455002] 9fe0: bef4b400 bef4b3f0 0044f149 b6bedf72 40030030 00000003 00000000 00000000 [ 3508.083886] i2card: loading out-of-tree module taints kernel. [ 3508.084647] 8<--- cut here --- [ 3508.084672] Unable to handle kernel paging request at virtual address 7f2fe999 when read [ 3508.084700] [7f2fe999] *pgd=00000000 [ 3508.084736] Internal error: Oops: 5 [#1] SMP THUMB2 [ 3508.089676] Modules linked in: i2card(O+) rfkill ir_rc5_decoder lima gpu_sched can_dev drm_shmem_helper axp20x_adc sun4i_ts sunxi_cir sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig lz4hc videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc lz4 display_connector cpufreq_dt evdev uio_pdrv_genirq uio zram binfmt_misc dm_mod ip_tables x_tables autofs4 axp20x_usb_power pinctrl_axp209 industrialio sunxi phy_generic spidev realtek [ 3508.128583] CPU: 1 PID: 2294 Comm: insmod Tainted: G C O 6.6.75-current-sunxi #2 [ 3508.137241] Message from syslogd@bananapi at Mar 19 15:42:37 ... kernel:[ 3508.446812] 9fc0: 00000000 00000002 46c09400 0000017b 019991d0 00454a8c 00000002 0046fda4 Hardware name: Allwinner sun7i (A20) Family [ 3508.142495] PC is at mod_sysfs_setup+0x194/0x500 [ 3508.147165] LR is at mod_sysfs_setup+0x179/0x500 [ 3508.151815] pc : [<c018a548>] lr : [<c018a52d>] psr: 30030033 [ 3508.158110] sp : f0f49d98 ip : 00000000 fp : 00000008 [ 3508.163362] r10: bf9800cc r9 : bf980384 r8 : f0f49ee8 [ 3508.168614] r7 : 7f2fe985 r6 : bf980108 r5 : bf9800c0 r4 : 00000000 [ 3508.175171] r3 : 7f2fe98d r2 : 00000000 r1 : 00000000 r0 : c157c5d0 [ 3508.181728] Flags: nzCV IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 3508.189074] Control: 50c5387d Table: 44ac006a DAC: 00000051 0 Quote
mue473 Posted Wednesday at 08:26 AM Posted Wednesday at 08:26 AM Hello, I updated my BananaPi-M1 to 6.6.75-current-sunxi-25.5.0-trunk.352 - and the issue has disappeared. Generating and inserting user modules works again, thanks a lot. There are only two cosmetic problems: - "CONFIG_DEBUG_INFO_DWARF5=y" and "CONFIG_DEBUG_INFO=y" in the config file let gcc produce a lot of debug info, the object files are about twenty times as big as in the past. - "CONFIG_DEBUG_INFO_BTF_MODULES=y" triggers an aditional step which will not work: BTF [M] /usr/src/drivers/i2card/i2card.ko Skipping BTF generation for /usr/src/drivers/i2card/i2card.ko due to unavailability of vmlinux 0 Quote
Mariano1977 Posted Friday at 12:54 PM Posted Friday at 12:54 PM (edited) Hello, I'm having the same issue. I can load a module but cannot lsmod or rmmod. What I'm going to show here it's a "hello world" test I've made in order to avoid any other kind of error or issue related to our specific code. First of all, we have an Orange PI Zero LTS with the following /proc/cpuinfo: model name : ARMv7 Processor rev 5 (v7l) Hardware : Allwinner sun8i Family Revision : 0000 I download the armbian distribution pointed from the Orange PI site and download the image: Armbian_community_25.5.0-trunk.334_Orangepizero_bookworm_current_6.6.75_minimal.img I have immediately updated thru the repos going from 6.6.75 kernel to 6.12.20: before: Linux orangepizero 6.6.75-current-sunxi #1 SMP Sat Feb 1 17:37:57 UTC 2025 armv7l GNU/Linux after: Linux orangepizero 6.12.20-current-sunxi #1 SMP Sat Mar 22 19:54:28 UTC 2025 armv7l GNU/Linux I installed the current headers: apt install -y linux-headers-current-sunxi and check that everything matches: # ll /lib/modules/6.12.20-current-sunxi/ total 3296 lrwxrwxrwx 1 root root 44 Apr 8 13:30 build -> /usr/src/linux-headers-6.12.20-current-sunxi drwxr-xr-x 11 root root 4096 Apr 11 08:44 kernel -rw-r--r-- 1 root root 821974 Apr 8 13:30 modules.alias -rw-r--r-- 1 root root 854778 Apr 8 13:30 modules.alias.bin -rw-r--r-- 1 root root 12059 Apr 8 13:30 modules.builtin -rw-r--r-- 1 root root 29861 Apr 8 13:30 modules.builtin.alias.bin -rw-r--r-- 1 root root 14691 Apr 8 13:30 modules.builtin.bin -rw-r--r-- 1 root root 90579 Apr 8 13:30 modules.builtin.modinfo -rw-r--r-- 1 root root 265245 Apr 8 13:30 modules.dep -rw-r--r-- 1 root root 399904 Apr 8 13:30 modules.dep.bin -rw-r--r-- 1 root root 251 Apr 8 13:30 modules.devname -rw-r--r-- 1 root root 124510 Apr 8 13:30 modules.order -rw-r--r-- 1 root root 882 Apr 8 13:30 modules.softdep -rw-r--r-- 1 root root 325137 Apr 8 13:30 modules.symbols -rw-r--r-- 1 root root 402929 Apr 8 13:30 modules.symbols.bin The compiler was algo updated: # gcc --version gcc (Debian 12.2.0-14) 12.2.0 Now, the "hello world" code is as simple as: #include <linux/module.h> #include <linux/init.h> static int my_init(void) { printk(KERN_INFO "hello world\n"); printk(KERN_DEBUG "hello world with debug\n"); printk(KERN_ERR "hello world with error\n"); return 0; } static void my_exit(void) { printk(KERN_INFO "Goodbye world!\n"); } module_init(my_init); module_exit(my_exit); MODULE_DESCRIPTION("Hello test"); MODULE_AUTHOR("Mariano <mariano1977@gmail.com>"); MODULE_LICENSE("GPL"); using the following Makefile: obj-m += hello.o PWD := $(CURDIR) all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean then I compile: # make make -C /lib/modules/6.12.20-current-sunxi/build M=/root/kernel_modules/test1 make[1]: Entering directory '/usr/src/linux-headers-6.12.20-current-sunxi' CC [M] /root/kernel_modules/test1/hello.o MODPOST /root/kernel_modules/test1/Module.symvers CC [M] /root/kernel_modules/test1/hello.mod.o CC [M] /root/kernel_modules/test1/.module-common.o LD [M] /root/kernel_modules/test1/hello.ko make[1]: Leaving directory '/usr/src/linux-headers-6.12.20-current-sunxi' # ll total 140 -rw-r--r-- 1 root root 463 Apr 11 09:03 hello.c -rw-r--r-- 1 root root 61208 Apr 11 09:37 hello.ko -rw-r--r-- 1 root root 35 Apr 11 09:37 hello.mod -rw-r--r-- 1 root root 373 Apr 11 09:37 hello.mod.c -rw-r--r-- 1 root root 48640 Apr 11 09:37 hello.mod.o -rw-r--r-- 1 root root 10084 Apr 11 09:37 hello.o -rw-r--r-- 1 root root 173 Apr 11 09:25 Makefile -rw-r--r-- 1 root root 35 Apr 11 09:37 modules.order -rw-r--r-- 1 root root 0 Apr 11 09:37 Module.symvers # modinfo hello.ko filename: /root/kernel_modules/test1/hello.ko license: GPL author: Mariano <mariano1977@gmail.com> description: Hello test depends: name: hello vermagic: 6.12.20-current-sunxi SMP mod_unload ARMv7 thumb2 p2v8 Comparing with a module builded in the distribution: # modinfo /lib/modules/6.12.20-current-sunxi/kernel/net/mac80211/mac80211.ko filename: /lib/modules/6.12.20-current-sunxi/kernel/net/mac80211/mac80211.ko license: GPL description: IEEE 802.11 subsystem depends: cfg80211,libarc4 intree: Y name: mac80211 vermagic: 6.12.20-current-sunxi SMP ll ARMv7 thumb2 p2v8 Now, let's load the module: insmod hello.ko and doing a "dmesg -WT" we get: [Fri Apr 11 09:38:48 2025] hello: loading out-of-tree module taints kernel. [Fri Apr 11 09:38:48 2025] hello world [Fri Apr 11 09:38:48 2025] hello world with debug [Fri Apr 11 09:38:48 2025] hello world with error now when i try to see the loaded modules (via "lsmod"): # lsmod Message from syslogd@orangepizero at Apr 11 09:40:20 ... kernel:[ 388.918263] Internal error: Oops: 5 [#1] SMP THUMB2 Message from syslogd@orangepizero at Apr 11 09:40:20 ... kernel:[ 389.208503] Process lsmod (pid: 1755, stack limit = 0x1cd292f3) Message from syslogd@orangepizero at Apr 11 09:40:20 ... kernel:[ 389.216263] Stack: (0xd17d1e00 to 0xd17d2000) ... Segmentation fault Taking a look at dmesg: [Fri Apr 11 09:40:18 2025] 8<--- cut here --- [Fri Apr 11 09:40:18 2025] Unable to handle kernel paging request at virtual address 7f586345 when read [Fri Apr 11 09:40:18 2025] [7f586345] *pgd=00000000 [Fri Apr 11 09:40:18 2025] Internal error: Oops: 5 [#1] SMP THUMB2 [Fri Apr 11 09:40:18 2025] Modules linked in: hello(O) lima xradio_wlan gpu_sched drm_shmem_helper sun8i_thermal mac80211 libarc4 cfg80211 cpufreq_dt rfkill zram zsmalloc uio_pdrv_genirq uio binfmt_misc usb_f_acm u_serial g_serial libcomposite dm_mod autofs4 ext4 mbcache jbd2 sunxi phy_generic pwrseq_simple ac200_phy [Fri Apr 11 09:40:18 2025] CPU: 1 UID: 0 PID: 1755 Comm: lsmod Tainted: G O 6.12.20-current-sunxi #1 [Fri Apr 11 09:40:18 2025] Tainted: [O]=OOT_MODULE [Fri Apr 11 09:40:19 2025] Hardware name: Allwinner sun8i Family [Fri Apr 11 09:40:19 2025] PC is at m_show+0x74/0x158 [Fri Apr 11 09:40:19 2025] LR is at m_show+0x65/0x158 [Fri Apr 11 09:40:19 2025] pc : [<c0192c1c>] lr : [<c0192c0d>] psr: 90070033 [Fri Apr 11 09:40:19 2025] sp : d17d1e00 ip : c9a9f00d fp : 00400cc0 [Fri Apr 11 09:40:19 2025] r10: 7ffff000 r9 : bfac4304 r8 : c0d8e0bc [Fri Apr 11 09:40:19 2025] r7 : bfac4040 r6 : bfac4044 r5 : c5f385f0 r4 : 7f586335 [Fri Apr 11 09:40:19 2025] r3 : 00000000 r2 : 00000000 r1 : 0000000e r0 : 0000000e [Fri Apr 11 09:40:19 2025] Flags: NzcV IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [Fri Apr 11 09:40:19 2025] Control: 50c5387d Table: 44e0006a DAC: 00000051 [Fri Apr 11 09:40:19 2025] Register r0 information: non-paged memory [Fri Apr 11 09:40:19 2025] Register r1 information: non-paged memory [Fri Apr 11 09:40:19 2025] Register r2 information: NULL pointer Message from syslogd@orangepizero at Apr 11 09:40:20 ... kernel:[ 388.918263] Internal error: Oops: 5 [#1] SMP THUMB2 [Fri Apr 11 09:40:19 2025] Register r3 information: NULL pointer [Fri Apr 11 09:40:19 2025] Register r4 information: non-paged memory [Fri Apr 11 09:40:19 2025] Register r5 information: slab vm_area_struct start c5f385f0 pointer offset 0 size 80 [Fri Apr 11 09:40:19 2025] Register r6 information: 1-page vmalloc region starting at 0xbfac4000 allocated at load_module+0x4fb/0x16c0 [Fri Apr 11 09:40:19 2025] Register r7 information: 1-page vmalloc region starting at 0xbfac4000 allocated at load_module+0x4fb/0x16c0 [Fri Apr 11 09:40:19 2025] Register r8 information: non-slab/vmalloc memory [Fri Apr 11 09:40:19 2025] Register r9 information: 1-page vmalloc region starting at 0xbfac4000 allocated at load_module+0x4fb/0x16c0 [Fri Apr 11 09:40:19 2025] Register r10 information: non-paged memory [Fri Apr 11 09:40:19 2025] Register r11 information: non-paged memory [Fri Apr 11 09:40:19 2025] Register r12 information: slab kmalloc-cg-4k start c9a9f000 pointer offset 13 size 4096 [Fri Apr 11 09:40:19 2025] Process lsmod (pid: 1755, stack limit = 0x1cd292f3) [Fri Apr 11 09:40:19 2025] Stack: (0xd17d1e00 to 0xd17d2000) [Fri Apr 11 09:40:19 2025] 1e00: c16067b0 00000000 00000000 ffffffff c9a9f000 3a44803b 67f90db3 3a44803b [Fri Apr 11 09:40:19 2025] 1e20: 00000400 c5f385f0 00000000 bfac4044 c5f38608 d17d1eb0 bfac4044 c030982f [Fri Apr 11 09:40:19 2025] 1e40: 00000000 00000000 d17d1e98 c5f38618 00000001 c4954000 0b1e5000 c9a67000 [Fri Apr 11 09:40:19 2025] 1e60: c5f38460 00000000 d17d1f80 c61a46c0 00000000 00000400 00000001 c0b217c4 [Fri Apr 11 09:40:19 2025] 1e80: c0351fcd c0309b7d 00000400 00000001 0133eca0 00000400 00000001 00000000 [Fri Apr 11 09:40:19 2025] 1ea0: d17d1e90 00000400 00000001 00000000 c61a46c0 00000000 00000000 00000000 [Fri Apr 11 09:40:19 2025] 1ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 3a44803b [Fri Apr 11 09:40:19 2025] 1ee0: 00000400 c61a46c0 c49d3c00 0133eca0 d17d1f80 c02e5ef9 00001a55 c4e00048 [Fri Apr 11 09:40:19 2025] 1f00: c4e00048 00000000 00000000 00000000 c23954fc cc190108 00000000 3a44803b [Fri Apr 11 09:40:19 2025] 1f20: b6e94fff d17d1fb0 0133f0a4 00000817 c49d3c00 00000255 c9a67000 c0ac9d73 [Fri Apr 11 09:40:19 2025] 1f40: 00000000 c0ac9d73 00000000 00000000 00000000 3a44803b 00000000 c61a46c0 [Fri Apr 11 09:40:19 2025] 1f60: c61a46c0 00000000 00000000 c01002a0 c49d3c00 00000003 00000000 c02e672d [Fri Apr 11 09:40:19 2025] 1f80: 00000000 00000000 c01002a0 3a44803b bec84020 0133d2e0 000005e8 b6be0888 [Fri Apr 11 09:40:19 2025] 1fa0: 00000003 c0100061 0133d2e0 000005e8 00000003 0133eca0 00000400 00000001 [Fri Apr 11 09:40:19 2025] 1fc0: 0133d2e0 000005e8 b6be0888 00000003 0000000a bec842d4 00000000 00000000 [Fri Apr 11 09:40:19 2025] 1fe0: 00000003 bec84200 b6b7b37b b6af4656 40070030 00000003 00000000 00000000 [Fri Apr 11 09:40:19 2025] Call trace: [Fri Apr 11 09:40:19 2025] m_show from seq_read_iter+0xd3/0x37c [Fri Apr 11 09:40:19 2025] seq_read_iter from seq_read+0xa5/0xcc [Fri Apr 11 09:40:19 2025] seq_read from vfs_read+0x79/0x21c [Fri Apr 11 09:40:19 2025] vfs_read from ksys_read+0x45/0x9c [Fri Apr 11 09:40:19 2025] ksys_read from ret_fast_syscall+0x1/0x5c [Fri Apr 11 09:40:19 2025] Exception stack(0xd17d1fa8 to 0xd17d1ff0) [Fri Apr 11 09:40:19 2025] 1fa0: 0133d2e0 000005e8 00000003 0133eca0 00000400 00000001 [Fri Apr 11 09:40:19 2025] 1fc0: 0133d2e0 000005e8 b6be0888 00000003 0000000a bec842d4 00000000 00000000 [Fri Apr 11 09:40:19 2025] 1fe0: 00000003 bec84200 b6b7b37b b6af4656 [Fri Apr 11 09:40:19 2025] Code: f24e 08bc f2cc 08d8 (6922) 4641 [Fri Apr 11 09:40:19 2025] ---[ end trace 0000000000000000 ]--- I cannot find what's wrong... Does anyone have any idea of what can be happening? regards, Mariano Edited Friday at 01:07 PM by Mariano1977 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.