Module zram not loaded after booting linux-image-3.4.0-0.dmz.1
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
Hi Damentz,

Module zram is not loaded after booting linux-image-3.4.0-0.dmz.1

syslog:
kernel: zram: module is from the staging directory, the quality is unknown, you have been warned.
kernel: zram: Unknown parameter `zram_num_devices'

inxi -b
System: Host: debian Kernel: 3.4.0-0.dmz.1-liquorix-amd64 x86_64 (64 bit)
Desktop: Xfce 4.10.0 Distro: Debian GNU/Linux wheezy/sid
Machine: System: Acer (portable) product: TravelMate 4530 version: V1.11 serial: LXTPN0C01491707B691601
Mobo: Acer model: Elgon serial: LXTPN0C01491707B691601 Bios: Acer version: V1.11 date: 08/06/2008
CPU: Dual core AMD Athlon X2 QL-64 (-MCP-) clocked at 2100.00 MHz
Graphics: Card: Advanced Micro Devices [AMD] nee ATI RS780M/RS780MN [Mobility Radeon HD 3200 Graphics]
X.org: 1.12.99 drivers: ati,radeon tty size: 130x24 Advanced Data: N/A for root
Network: Card-1: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe driver: tg3
Card-2: Ralink RT2790 Wireless 802.11n 1T/2R PCIe driver: rt2800pci
Drives: HDD Total Size: 250.1GB (18.1% used)
Info: Processes: 176 Uptime: 6 min Memory: 1443.1/3704.1MB Client: Shell inxi: 1.8.5
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
Well, you could read the message it gave you, kernel: zram: Unknown parameter `zram_num_devices'

Lets find out what parameters zram has:

:: Code ::
$ sudo modinfo zram
[sudo] password for damentz:
filename:       /lib/modules/3.4.0-1.dmz.1-liquorix-amd64/kernel/drivers/staging/zram/zram.ko
description:    Compressed RAM Block Device
author:         Nitin Gupta <ngupta@vflare.org>
license:        Dual BSD/GPL
depends:       
staging:        Y
intree:         Y
vermagic:       3.4.0-1.dmz.1-liquorix-amd64 SMP preempt mod_unload modversions
parm:           num_devices:Number of zram devices (uint)


The parameter was renamed to num_devices.

Note that zram is not supposed to autoload at boot, you have it configured somewhere to load automatically and the parameter that's being set is deprecated. I don't know where you might have put this, so I can't provide any advice about where to find this configuration, other than looking at the regular places like /etc/modprobe.d/ and /etc/modules.

< Edited by damentz :: Jun 5, 12, 20:11 >

Back to top
pedro.nariyoshi
Status: Curious
Joined: 17 Aug 2011
Posts: 7
Reply Quote
You should also take a look at /etc/init.d/

I'm guessing you are using zram as a "faster swap", am I correct?
Back to top
Jos.v.W.
Status: Contributor
Joined: 25 Jan 2011
Posts: 57
Reply Quote
I adapted the script /etc/init.d/zram and now the zram swap works again.

Thanks & regards,
Jos v.W.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours