OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Strange behavior when I did a modprobe command, Device or resource busy ( solved workaround )
post Mar 19 2020, 02:42 AM
Post #1

Group: Members
Posts: 141
Joined: 28-May 19
Member No.: 848,911

I've compiled some modules for my TV dvb stick. When I insert my dvb stick in the usb port , debian loads only some modules. Unfortunately dvb-core, dvb-usb , dib8000 and dvb-usb-dib0700 didn't load. When I've tried to load them manually a message has appeared telling that the device or resource is busy.
But when I shutdown cosmo and plug first my dvb stick on the usb port ,and after turning on cosmo, the drivers were loaded correctly. Also if I compile the kernel with these drivers inside kernel ( like a monolithic kernel ) , the dvb stick works correctly when I insert it in the usb port. The config is identical except about config_XXX=m and config_XXX=y. I think maybe the problem is initrd.gz. I've extracted it, but didn't see any pre loaded module.
Thank you all

Just add dvb_usb into etc/initramfs-tools/modules and run again mkinitramfs -o /home/gemini/initramfs-$(uname -r)
After this create a linux image :

./mkbootimg --kernel cosmo/arch/arm64/boot/Image.gz-dtb --ramdisk initramfs-4.4.146 --base 0x40078000 --second_offset 0x00e88000 --cmdline "bootopt=64S3,32N2,64N2 log_buf_len=4M" --kernel_offset 0x00008000 --ramdisk_offset 0x14f88000 --tags_offset 0x13f88000 --pagesize 2048 -o linux-boot-mod.img

and :

dd if=linux-boot-mod.img of=/dev/disk/by-partlabel/DEBIAN_KDE

After boot lsmod shows dvb_usb , dvb_core and rc_core .

and when I 've inserted my dibcom device into usb port :


SOLVED . Better than load all the modules in a monolithic kernel .

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 6th April 2020 - 01:48 PM