Page 1 of 1
usb not mounted
Posted: Tue Apr 04, 2023 11:35 am
by abd_bela
Hi
I checked the minimal MX 21.3 ( I want to customize the distro)
I installed it , that is OK.
I plugged and USB, it is not mounted automatically, I opened the thunar manager but there is no button for the usb.
the program thunar-volman is there.
Please what is the procedure used (by other distros) to mount the usb, or maybe a bug in thunar,thunar-volman?
Thanks a lot
Re: usb not mounted
Posted: Wed Apr 05, 2023 8:42 pm
by CharlesV
Please post you QSI so we know what computer, drivers etc you have
Re: usb not mounted
Posted: Thu Apr 06, 2023 6:51 am
by user-green
Hello, abd_bela
In MX 21.3-minimal, USB drives are not automatically here, too. I think some library for the function is missing.
You can use pmount command instead as the example below:
$ pmount /dev/sdb1
To unmount mannually, excute as below:
$ pumount /dev/sdb1
Best regards.
Re: usb not mounted
Posted: Mon Apr 17, 2023 7:11 pm
by fan_of_LTS
In MX 21.3 we are using Thunar 4.18.3. I think it changed a little from the last version.
In Thunar, click Edit, Preferences, then the Advanced tab. under Volume Management click the word Configure. Now you can check the removable storage behavior that you want.
I like this improvement over the older version of Thunar.
can't create kernel program
Posted: Sat Apr 29, 2023 2:22 pm
by abd_bela
Hi,
I tried to create a simple " hello" module, but I got this error: ( The source header is installed :
apt-get install kmod linux-headers-6.0.0-6mx-amd64
515 apt-get install build-essential kmod)
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
Here is the hello program, the make file and the error:
#include <linux/module.h> /* Needed by all modules */
#include <linux/printk.h> /* Needed for pr_info() */
int init_module(void) {
pr_info("Hello world 1.\n");
return 0;
}
void cleanup_module(void) {
pr_info("Goodbye world 1.\n");
}
MODULE_LICENSE("GPL");
/** Makefile
obj-m += hello-1.o
PWD=/home/abela/tmp
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
**/
make
make -C /lib/modules/6.0.0-6mx-amd64/build M=/home/abela/tmp modules
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-6mx-amd64'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [/usr/src/linux-headers-6.0.0-6mx-common/Makefile:753: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-6mx-amd64'
make: *** [Makefile:8: all] Error 2
Thanks for help