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

Re: zram advice needed



Hello Ben,

thanks for you quick reply.

Am Monday 09 April 2012 schrieb Ben Hutchings:
> 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}

That looks ok for me (?):

rd@blackbox:~$ ls -l /lib/modules/3.2.0-2-686-pae/modules.dep{,.bin}
-rw-r--r-- 1 root root 351421 Apr  9 17:20 /lib/modules/3.2.0-2-686-
pae/modules.dep
-rw-r--r-- 1 root root 487906 Apr  9 17:20 /lib/modules/3.2.0-2-686-
pae/modules.dep.bin
rd@blackbox:~$ grep zram /lib/modules/3.2.0-2-686-pae/modules.dep{,.bin}
/lib/modules/3.2.0-2-686-pae/modules.dep:kernel/drivers/staging/zram/zram.ko:
Übereinstimmungen in Binärdatei /lib/modules/3.2.0-2-686-pae/modules.dep.bin.
rd@blackbox:~$ su -
Passwort: 
blackbox:~# modprobe zram zram_num_devices=2
ERROR: could not insert 'zram': No such file or directory
blackbox:~# ls -l /lib/modules/3.2.0-2-686-
pae/kernel/drivers/staging/zram/zram.ko
-rw-r--r-- 1 root root 17412 Mär 20 23:01 /lib/modules/3.2.0-2-686-
pae/kernel/drivers/staging/zram/zram.ko
blackbox:~# 
 
> Most likely you can fix this by running depmod again, but that is run
> automatically at installation time.

No, doesn't help unforteunately:

blackbox:~# depmod
blackbox:~# modprobe zram zram_num_devices=2
ERROR: could not insert 'zram': No such file or directory
blackbox:~# 


Thanks,
Rainer



-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdorsch@web.de
jabber: rdorsch@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

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


Reply to: