Am Monday 09 April 2012 schrieben Sie: > tag 668216 unreproducible help > thanks > > On Apr 09, Rainer Dorsch <[email protected]> wrote: > > I have problems loading zram with modprobe and Ben Hutchings > > Works for me. > > > blackbox:~# modprobe zram zram_num_devices=2 > > ERROR: could not insert 'zram': No such file or directory > > Is the module already loaded? Or builtin? > > Check if upgrading to kmod 7 helps: http://www.bofh.it/~md/debian/
No, kmod7 does not help, exactly the same behaviour:
blackbox:/home/rd/SW.nobackup/kmod7# dpkg -i *.deb
(Lese Datenbank ... 431383 Dateien und Verzeichnisse sind derzeit
installiert.)
Vorbereitung zum Ersetzen von kmod 6-2 (durch kmod_7-1_i386.deb) ...
Ersatz für kmod wird entpackt ...
Vorbereitung zum Ersetzen von libkmod2:i386 6-2 (durch libkmod2_7-1_i386.deb)
...
Ersatz für libkmod2:i386 wird entpackt ...
Vorbereitung zum Ersetzen von module-init-tools 6-2 (durch module-init-
tools_7-1_all.deb) ...
Ersatz für module-init-tools wird entpackt ...
libkmod2:i386 (7-1) wird eingerichtet ...
kmod (7-1) wird eingerichtet ...
insserv: warning: script 'K01scratchbox-core' missing LSB tags and overrides
insserv: warning: script 'scratchbox-core' missing LSB tags and overrides
Trigger für man-db werden verarbeitet ...
module-init-tools (7-1) wird eingerichtet ...
blackbox:/home/rd/SW.nobackup/kmod7#
<reboot>
blackbox:~# modprobe zram
ERROR: could not insert 'zram': No such file or directory
blackbox:~# depmod
blackbox:~# modprobe zram
ERROR: could not insert 'zram': No such file or directory
blackbox:~#
But investigating further, I saw
https://lkml.org/lkml/2012/2/12/134
and changing
blackbox:~# cat /etc/modprobe.d/zram.conf
options zram num_devices=2
blackbox:~#
to
blackbox:~# cat /etc/modprobe.d/zram.conf
options zram zram_num_devices=2
blackbox:~#
solved the problem.
The error message of modprobe was not helpful in the debugging process for me
though.
Rainer
--
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: [email protected]
jabber: [email protected]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/
signature.asc
Description: This is a digitally signed message part.

