[SOLVED] Debian testing (buster), "vfat not found"
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"operation not permitted" for a modprobe is odd. Searching for this message mainly points to cases where people create their own driver, which is not your situation. I also saw something about a major number clash; perhaps you have a module in the kernel that somehow clashes with vfat?
"operation not permitted" for a modprobe is odd. Searching for this message mainly points to cases where people create their own driver, which is not your situation. I also saw something about a major number clash; perhaps you have a module in the kernel that somehow clashes with vfat?
Yeah, saw that in my googling. The idea of manually editing kernel or header source code files at this time of night really does not fill me with joy. Did think of manually installing a new kernel as a way of solving this bug, but would rather not figure out how apt would react to that at the next update. And Sid currently has the same kernel version as testing.
Quote:
Originally Posted by berndbausch
Did you check the kernel message buffer?
Code:
dmesg | tail
Just did. Only thing in the tail is a bit of mutter from me plugging in the flash drive to see if the bug is still there. Didn't get the "vfat not found" message or any message (I think I had to try to manually mount it for that), but it didn't get mounted either. I rebooted to see if anything else would show up, nope. I went through the entire dmesg after the reboot, nothing jumped out at me. Anything I should grep for you? Here's the post-reboot tail, just in case:
Code:
[89841.746412] usb 1-1.2: new high-speed USB device number 4 using ehci-pci
[89841.856072] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5599, bcdDevice= 1.00
[89841.856078] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[89841.856081] usb 1-1.2: Product: Cruzer Dial
[89841.856084] usb 1-1.2: Manufacturer: SanDisk
[89841.856087] usb 1-1.2: SerialNumber: 4C530001300315112060
[89856.084605] usb 1-1.2: USB disconnect, device number 4
[89859.450159] usb 1-1.2: new high-speed USB device number 5 using ehci-pci
[89859.560148] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5599, bcdDevice= 1.00
[89859.560154] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[89859.560157] usb 1-1.2: Product: Cruzer Dial
[89859.560160] usb 1-1.2: Manufacturer: SanDisk
[89859.560162] usb 1-1.2: SerialNumber: 4C530001300315112060
[90830.671707] traps: light-locker[1769] trap int3 ip:7f282b005be5 sp:7ffcf0a9d4e0 error:0 in libglib-2.0.so.0.5800.2[7f282afcd000+7e000]
Quote:
Originally Posted by berndbausch
Your signature applies to me as well
Heh. Yep. From two universities and a decade and a half ago, but still fits.
Update: Tried uninstalling the apparmor package, since it looked like it was doing something with kernel modules that might be blocking modprobe. No such luck. Flash drive showed up in the file manager this time, but clicking on it gave the "vfat not found" message. Modprobe gave the "operation not permitted" error. So reinstalled apparmor.
Last edited by crazyeddie740; 01-06-2019 at 08:51 PM.
It's formatted fat32, according to gparted. Tried the chown invocation, no dice. According to ls, /media/$USER is owned by me. /media/$USER/usbdrive wasn't created, since the drive wasn't successfully mounted. Looks like something funky is going on with the vfat kernel module, but I don't know what nor what to do about it.
Last edited by crazyeddie740; 01-10-2019 at 05:42 PM.
I *think* this is a list of the numbers associated with all the devices currently active on my system. If so, any idea how I can find out what number the vfat module is trying to grab?
I think. vfat and fat32 are not the same. Also probably the vfat driver is built into the kernel, therefore cannot be modprobed. Probably. Can you try this usb stick on another host? Do you know what kind of filesystem is it?
if you cannot modprobe vfat, (find /lib/modules/`uname -r` |grep vfat ; depmod -a ), and vfat is an external module , then you should report a bug to debian-testing's bugreports..
You are using a testing distribution,
and so it is normal to have bugs on testing distributions...
I think. vfat and fat32 are not the same. Also probably the vfat driver is built into the kernel, therefore cannot be modprobed. Probably. Can you try this usb stick on another host? Do you know what kind of filesystem is it?
As far as I can tell, it looks like vfat tries to call fat32 (or some other fat, whatever is appropriate). I do vaguely remember formatting this thumbdrive to fat32 a few months ago, so gparted's word for it checks out. The automounter thinks it's vfat (which, again, appears to just see what flavor of fat it is, and then hooks it up with the appropriate driver), and I'd rather not tell the automounter it's wrong unless I have to. I'm getting the same error messages with an mp3 player, which I'm fairly sure is fat32. And I've got both a fat32 and a vfat *.ko file hanging out in /lib/modules/4.19.0-1-amd64/kernel/fs/fat/ So I *think* it's an external kernel module.
Last edited by crazyeddie740; 01-12-2019 at 04:40 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.