You are not logged in.

#1 2009-10-11 15:44:11

scragar
Member
Registered: 2009-07-14
Posts: 108

modprobe and module problems

I recently noticed that my USB devices didn't work all of a sudden, so I figured I'd play around, test a few things, it doesn't appear in /dev. I figured I'd try a few things,

modprobe usb-storage

etc.

I got this error:

FATAL: Could not load /lib/modules/2.6.30-ARCH/modules.dep: No such file or directory

So I googled it, then ran

depmod `uname -r`

And that didn't throw an error, a quick check to see if it worked then returned:

$ modprobe usb-storage
FATAL: Module usb_storage not found.

Now I have no idea what to do, this all worked perfectly earlier, since I had to modprobe pcspkr shortly after boot to fix my system beep, I did run a full update though. I include the related section of pacman.log

[2009-10-10 02:39] synchronizing package lists
[2009-10-10 02:39] starting full system upgrade
[2009-10-10 02:40] upgraded lib32-qt (4.5.3-2 -> 4.5.3-3)
[2009-10-11 14:49] synchronizing package lists
[2009-10-11 14:49] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
[2009-10-11 14:49] upgraded pacman (3.3.1-1 -> 3.3.2-1)
[2009-10-11 14:49] synchronizing package lists
[2009-10-11 14:49] starting full system upgrade
[2009-10-11 14:51] upgraded gparted (0.4.6-2 -> 0.4.7-1)
[2009-10-11 14:51] upgraded kernel26-firmware (2.6.30-1 -> 2.6.31-1)
[2009-10-11 14:51] >>> Updating module dependencies. Please wait ...
[2009-10-11 14:51] >>> MKINITCPIO SETUP
[2009-10-11 14:51] >>> ----------------
[2009-10-11 14:51] >>> If you use LVM2, Encrypted root or software RAID,
[2009-10-11 14:51] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2009-10-11 14:51] >>> More information about mkinitcpio setup can be found here:
[2009-10-11 14:51] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2009-10-11 14:51] 
[2009-10-11 14:51] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2009-10-11 14:51] ==> Building image "default"
[2009-10-11 14:51] ==> Running command: /sbin/mkinitcpio -k 2.6.31-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2009-10-11 14:51] :: Begin build
[2009-10-11 14:51] :: Parsing hook [base]
[2009-10-11 14:51] :: Parsing hook [udev]
[2009-10-11 14:51] :: Parsing hook [autodetect]
[2009-10-11 14:51] :: Parsing hook [pata]
[2009-10-11 14:51] :: Parsing hook [scsi]
[2009-10-11 14:51] :: Parsing hook [sata]
[2009-10-11 14:51] :: Parsing hook [filesystems]
[2009-10-11 14:51] :: Generating module dependencies
[2009-10-11 14:51] :: Generating image '/boot/kernel26.img'...SUCCESS
[2009-10-11 14:51] ==> SUCCESS
[2009-10-11 14:51] ==> Building image "fallback"
[2009-10-11 14:51] ==> Running command: /sbin/mkinitcpio -k 2.6.31-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2009-10-11 14:51] :: Begin build
[2009-10-11 14:51] :: Parsing hook [base]
[2009-10-11 14:51] :: Parsing hook [udev]
[2009-10-11 14:51] :: Parsing hook [pata]
[2009-10-11 14:51] :: Parsing hook [scsi]
[2009-10-11 14:52] :: Parsing hook [sata]
[2009-10-11 14:52] :: Parsing hook [filesystems]
[2009-10-11 14:52] :: Generating module dependencies
[2009-10-11 14:52] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2009-10-11 14:52] ==> SUCCESS
[2009-10-11 14:52] upgraded kernel26 (2.6.30.6-1 -> 2.6.31.3-1)
[2009-10-11 14:52] upgraded libmysqlclient (5.1.38-1 -> 5.1.39-1)
[2009-10-11 14:52] upgraded mysql-clients (5.1.38-1 -> 5.1.39-1)
[2009-10-11 14:52] upgraded mysql (5.1.38-1 -> 5.1.39-1)
[2009-10-11 14:52] upgraded xfsprogs (3.0.1-2 -> 3.0.3-1)

Offline

#2 2009-10-11 18:45:26

scragar
Member
Registered: 2009-07-14
Posts: 108

Re: modprobe and module problems

OK, this is really beginning to annoy me now, I gave up waiting and decided to try a few things, starting with reinstalling all my packages:

[b]$[/b] pacman -Qqe | grep -vx "$(pacman -Qqm)" | xargs pacman -S --noconfirm

That worked wonders, but unfortunately:

[b]$[/b] modprobe usb-storage
FATAL: Module usb_storage not found.

My problem persists, in fact:

[b]$[/b] cd /lib/modules/2.6.30-ARCH
[b]$[/b] ls -r
modules.usbmap       modules.pcimap     modules.ieee1394map  modules.alias.bin
modules.symbols.bin  modules.ofmap      modules.dep.bin      modules.alias
modules.symbols      modules.isapnpmap  modules.dep          misc
modules.seriomap     modules.inputmap   modules.ccwmap

Or in short, there are no modules in there, it's not that it just can't find them sad

Offline

#3 2009-10-11 19:02:02

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: modprobe and module problems

[2009-10-11 14:52] upgraded kernel26 (2.6.30.6-1 -> 2.6.31.3-1)

Have you modules on /lib/modules/2.6.31-ARCH?

Offline

#4 2009-10-11 19:15:49

scragar
Member
Registered: 2009-07-14
Posts: 108

Re: modprobe and module problems

Well, that is strange(Sorry for looking in the wrong dir), the modules do exist, and they are found in modules.dep there's a huge list of them(which as far as I can tell are all there), but modprobe still gives me problems.

[b]$[/b] grep cdrom modules.dep;  modprobe cdrom
kernel/drivers/block/pktcdvd.ko: kernel/drivers/cdrom/cdrom.ko
kernel/drivers/cdrom/cdrom.ko:
kernel/drivers/ide/ide-cd_mod.ko: kernel/drivers/ide/ide-core.ko kernel/drivers/cdrom/cdrom.ko
kernel/drivers/scsi/sr_mod.ko: kernel/drivers/scsi/scsi_mod.ko kernel/drivers/cdrom/cdrom.ko
FATAL: Module cdrom not found.
[b]$[/b] grep pcspkr modules.dep; modprobe pcspkr
kernel/drivers/input/misc/pcspkr.ko:
FATAL: Module pcspkr not found.

I'm almost ready for giving up on this and reinstalling.

Last edited by scragar (2009-10-11 19:32:49)

Offline

#5 2009-10-16 12:09:42

wutsch
Member
Registered: 2009-10-16
Posts: 1

Re: modprobe and module problems

just now i noticed exactly the same problem. have you found a solution or did you just reinstall your system?

Offline

#6 2009-10-16 12:32:16

miau
Member
Registered: 2009-05-06
Posts: 202

Re: modprobe and module problems

What is the output of dmesg if you plugin an USB device?

Offline

#7 2009-10-16 13:52:57

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: modprobe and module problems

And I presume you have rebooted _after_ your kernel update?
Looking at your posts - I would say that is your reason - otherwise /lib/modules/2.6.30-ARCH would no longer exist.
You are still running a 2.6.30 kernel, but you no longer have any modules to go with it.

Last edited by perbh (2009-10-16 13:54:55)

Offline

#8 2009-10-17 04:59:09

scragar
Member
Registered: 2009-07-14
Posts: 108

Re: modprobe and module problems

perbh wrote:

And I presume you have rebooted _after_ your kernel update?
Looking at your posts - I would say that is your reason - otherwise /lib/modules/2.6.30-ARCH would no longer exist.
You are still running a 2.6.30 kernel, but you no longer have any modules to go with it.

That was the problem. I realised shortly after making my last reply(then I couldn't find this thread to update it).

I was used to ubuntu, where kernel updates still leave the old kernel.
After making sure I reinstalled the newest kernel(because I'd tried rolling it back and stuff, not the best idea since there wasn't a real problem) I rebooted and it was all good(had a slight problem with GDM, but nothing I couldn't handle).

Sorry so much for taking peoples time on this issue, I should have realised it was a kernel version issue long before posting it here.

Offline

Board footer

Powered by FluxBB