FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 04-09-2012, 09:49 AM
Rainer Dorsch
 
Default zram advice needed

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.

Thanks,
Rainer

--
Rainer Dorsch
http://bokomoko.de/


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201204091149.27883.ml@bokomoko.de">http://lists.debian.org/201204091149.27883.ml@bokomoko.de
 
Old 04-09-2012, 02:16 PM
Ben Hutchings
 
Default 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.
 
Old 04-09-2012, 03:24 PM
Rainer Dorsch
 
Default 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/
 
Old 04-09-2012, 04:30 PM
Ben Hutchings
 
Default zram advice needed

On Mon, 2012-04-09 at 17:24 +0200, Rainer Dorsch wrote:
[...]
> > 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:~#

Well I have no idea what's going wrong. Please report a bug against
kmod (assuming that package is installed) or else module-init-tools.

Ben.

--
Ben Hutchings
Sturgeon's Law: Ninety percent of everything is crap.
 
Old 04-09-2012, 07:48 PM
Rainer Dorsch
 
Default zram advice needed

Hi,

Am Monday 09 April 2012 schrieb Ben Hutchings:
> On Mon, 2012-04-09 at 17:24 +0200, Rainer Dorsch wrote:
> [...]
>
> > > 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:~#
>
> Well I have no idea what's going wrong. Please report a bug against
> kmod (assuming that package is installed) or else module-init-tools.
>

I have kmod installed

rd@blackbox:~/sb$ apt-cache policy kmod
kmod:
Installiert: 6-2
Kandidat: 6-2
Versionstabelle:
*** 6-2 0
500 http://ftp-stud.fht-esslingen.de/debian/ wheezy/main i386 Packages
300 http://ftp-stud.fht-esslingen.de/debian/ sid/main i386 Packages
100 /var/lib/dpkg/status
rd@blackbox:~/sb$

and opened a bug report

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668216

Thanks again,
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/
 

Thread Tools




All times are GMT. The time now is 10:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org