[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zram advice needed



On Mon, 2012-04-09 at 11:49 +0200, Rainer Dorsch wrote:
> Hello,
> 
> I have a small issue with zram, I cannot load it with modprobe, just with 
> insmod, which broke my /etc/init.d/zram script. The problem was introduced 
> with same recent upgrade in wheezy. 
> 
> blackbox:~# uname -a
> Linux blackbox 3.2.0-2-686-pae #1 SMP Tue Mar 20 19:48:26 UTC 2012 i686 
> GNU/Linux
> blackbox:~# modprobe zram
> ERROR: could not insert 'zram': No such file or directory
> blackbox:~# modprobe -d /lib/modules/3.2.0-2-686-pae zram 
> blackbox:~# lsmod|grep zram
> blackbox:~# insmod /lib/modules/3.2.0-2-686-
> pae/kernel/drivers/staging/zram/zram.ko
> blackbox:~# lsmod|grep zram
> zram                   13155  0 
> blackbox:~# 
> 
> Any hint what to check is very welcome.

ls -l /lib/modules/3.2.0-2-686-pae/modules.dep{,.bin}
grep zram /lib/modules/3.2.0-2-686-pae/modules.dep{,.bin}

Most likely you can fix this by running depmod again, but that is run
automatically at installation time.

Ben.

-- 
Ben Hutchings
Sturgeon's Law: Ninety percent of everything is crap.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: