Bug#940132: linux-image-5.2.0-2-amd64: Freeze when zram hits mem_limit

2019-09-12 Thread Alexey Pikalev
Package: src:linux
Version: 5.2.9-2
Severity: normal

Hello,

How to reproduce:
1. set up zram with mem_limit that we can hit, like 10MB or so
2. get system to start swapping there, for example put a large random file in 
tmpfs and attempt to lock large portion of memory with memtester
System freezes with swap write errors

If we do not set mem_limit then that process gets killed by OOM just fine.
My guess is that the way mem_limit works by denying swap writes is somehow 
blocking Linux OOM triggers?

Thanks

-- Package-specific info:
** Version:
Linux version 5.2.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 8.3.0 
(Debian 8.3.0-21)) #1 SMP Debian 5.2.9-2 (2019-08-21)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-5.2.0-2-amd64 
root=UUID=a548c59c-2eb5-451a-86a6-50e11befaed1 ro quiet

** Not tainted

** Kernel log:

** Model information
[1.692152] scsi host6: ahci
[1.692308] scsi host7: ahci
[1.692448] ata3: SATA max UDMA/133 abar m4096@0xfc032000 port 0xfc032100 
irq 24
[1.692457] ata4: SATA max UDMA/133 abar m4096@0xfc032000 port 0xfc032180 
irq 24
[1.692465] ata5: SATA max UDMA/133 abar m4096@0xfc032000 port 0xfc032200 
irq 24
[1.692531] ata6: SATA max UDMA/133 abar m4096@0xfc032000 port 0xfc032280 
irq 24
[1.692539] ata7: SATA max UDMA/133 abar m4096@0xfc032000 port 0xfc032300 
irq 24
[1.692547] ata8: SATA max UDMA/133 abar m4096@0xfc032000 port 0xfc032380 
irq 24
[1.692879] PCI Interrupt Link [LNKB] enabled at IRQ 10
[1.692934] virtio-pci :00:06.0: virtio_pci: leaving for legacy driver
[1.693926] virtio-pci :00:07.0: virtio_pci: leaving for legacy driver
[1.697127] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[1.697394] PCI Interrupt Link [LNKA] enabled at IRQ 11
[1.700614] 8139cp :00:05.0 eth0: RTL-8139C+ at 0x(ptrval), 
52:54:00:88:e3:90, IRQ 11
[1.703679] 8139too: 8139too Fast Ethernet driver 0.9.28
[1.708829] ACPI: bus type USB registered
[1.708856] usbcore: registered new interface driver usbfs
[1.708864] usbcore: registered new interface driver hub
[1.708901] usbcore: registered new device driver usb
[1.714140] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[1.717706] uhci_hcd: USB Universal Host Controller Interface driver
[1.717935] input: VirtualPS/2 VMware VMMouse as 
/devices/platform/i8042/serio1/input/input3
[1.718850] uhci_hcd :00:01.2: UHCI Host Controller
[1.718857] uhci_hcd :00:01.2: new USB bus registered, assigned bus 
number 1
[1.718881] uhci_hcd :00:01.2: detected 2 ports
[1.718994] uhci_hcd :00:01.2: irq 11, io base 0xc140
[1.719130] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, 
bcdDevice= 5.02
[1.719131] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[1.719132] usb usb1: Product: UHCI Host Controller
[1.719133] usb usb1: Manufacturer: Linux 5.2.0-2-amd64 uhci_hcd
[1.719134] usb usb1: SerialNumber: :00:01.2
[1.719224] hub 1-0:1.0: USB hub found
[1.719231] hub 1-0:1.0: 2 ports detected
[1.719980] input: VirtualPS/2 VMware VMMouse as 
/devices/platform/i8042/serio1/input/input2
[1.769811] 8139cp :00:05.0 ens5: renamed from eth0
[1.772491] virtio_blk virtio2: [vda] 41943040 512-byte logical blocks (21.5 
GB/20.0 GiB)
[1.773342]  vda: vda1 vda2 < vda5 >
[1.850666] ata2.01: NODEV after polling detection
[1.851145] ata2.00: ATAPI: QEMU DVD-ROM, 1.1.0, max UDMA/100
[1.853302] scsi 1:0:0:0: CD-ROMQEMU QEMU DVD-ROM 1.1. 
PQ: 0 ANSI: 5
[2.007014] ata3: SATA link down (SStatus 0 SControl 300)
[2.007259] ata7: SATA link down (SStatus 0 SControl 300)
[2.010040] ata5: SATA link down (SStatus 0 SControl 300)
[2.010273] ata4: SATA link down (SStatus 0 SControl 300)
[2.010509] ata6: SATA link down (SStatus 0 SControl 300)
[2.010766] ata8: SATA link down (SStatus 0 SControl 300)
[2.050873] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[2.066596] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[2.066600] cdrom: Uniform CD-ROM driver Revision: 3.20
[2.067790] sr 1:0:0:0: Attached scsi CD-ROM sr0
[2.245049] usb 1-1: New USB device found, idVendor=0409, idProduct=55aa, 
bcdDevice= 1.01
[2.245051] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2.245053] usb 1-1: Product: QEMU USB Hub
[2.245055] usb 1-1: Manufacturer: QEMU
[2.245056] usb 1-1: SerialNumber: 314159-:00:01.2-1
[2.247134] hub 1-1:1.0: USB hub found
[2.248097] hub 1-1:1.0: 8 ports detected
[2.374200] PM: Image not found (code -22)
[2.461671] random: fast init done
[2.550868] usb 1-1.1: new full-speed USB device number 3 using uhci_hcd
[2.610429] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: 
(null)
[2.699975] usb 1-1.1: New USB device found, idVendor=0627, idProduct=0001, 
bcdDevice= 0.00

Bug#822355: [hdparm] update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

2016-04-23 Thread Alexey Pikalev

Package: hdparm
Version: 9.43-2
Severity: normal

#dpkg-reconfigure hdparm
...
update-rc.d: warning: start and stop actions are no longer supported; 
falling back to defaults


https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#822354: [mdadm] update-rc.d: warning: start and stop actions are no longer supported

2016-04-23 Thread Alexey Pikalev

Package: mdadm
Version: 3.3.2-5+deb8u1
Severity: normal

#dpkg-reconfigure mdadm
...
update-rc.d: warning: start and stop actions are no longer supported; 
falling back to defaults


https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#822353: [keyboard-configuration] update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

2016-04-23 Thread Alexey Pikalev

Package: keyboard-configuration
Version: 1.123
Severity: normal

#dpkg-reconfigure keyboard-configuration
...
update-rc.d: warning: start and stop actions are no longer supported; 
falling back to defaults


https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#822352: [apcupsd] update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

2016-04-23 Thread Alexey Pikalev

Package: apcupsd
Version: 3.14.12-1.1
Severity: normal

#dpkg-reconfigure apcupsd
...
update-rc.d: warning: start and stop actions are no longer supported; 
falling back to defaults


https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#822350: [cron] update-rc.d: warning: start and stop actions are no longer supported

2016-04-23 Thread Alexey Pikalev

Package: cron
Version: 3.0pl1-127+deb8u1
Severity: normal

#dpkg-reconfigure cron
...
update-rc.d: warning: start and stop actions are no longer supported

https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#822347: [fetchmail] update-rc.d: warning: start and stop actions are no longer supported

2016-04-23 Thread Alexey Pikalev

Package: smartmontools
Version: 6.3+svn4002-2+b2
Severity: normal

#dpkg-reconfigure fetchmail
...
update-rc.d: warning: start and stop actions are no longer supported

https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#822346: [fetchmail] update-rc.d: warning: start and stop actions are no longer supported

2016-04-23 Thread Alexey Pikalev

Package: fetchmail
Version: 6.3.26-1+b1
Severity: normal

#dpkg-reconfigure fetchmail
...
update-rc.d: warning: start and stop actions are no longer supported

https://lists.debian.org/debian-devel/2013/05/msg01109.html



Bug#712503: [isc-dhcp-server] dhcpd is listening on random port for all interfaces

2016-01-23 Thread Alexey Pikalev

Package: isc-dhcp-server
Version: 4.3.1-6+deb8u2

Hello. Same in stable?

# netstat -tulp|grep dhcp
udp0  0 *:bootps*:*  
   29110/dhcpd
udp0  0 *:24658 *:*  
   29110/dhcpd
udp6   0  0 [::]:58601  [::]:*   
   29110/dhcpd

# cat /etc/default/isc-dhcp-server | sed '/^$/d;/^#/d'
INTERFACES=""
OPTIONS="-4"



Bug#489328: freevo: Fails to remove freevo user on package purge

2011-01-05 Thread Alexey Pikalev
As someone already mentioned, purge should remove user and conf files and
all data files.

Look at the aptitude manpage:
Purge : remove it and all its associated configuration and data
files.

apt-get manpage:
purge is identical to remove except that packages are removed and purged
(any configuration files are deleted too).

Purge should delete eerythinnng! That is what i expect as a user of
your package when i run purge.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#509575: module-init-tools update etch=>lenny fails on old system due to old diversion

2009-02-15 Thread Alexey Pikalev
I had the same problem while updating from etch to lenny today

[UPGRADE] module-init-tools 3.3-pre4-2 -> 3.4-1

dpkg failed to configure the package:

# dpkg --configure module-init-tools
Setting up module-init-tools (3.4-1) ...
dpkg-divert: rename involves overwriting `/sbin/depmod' with
  different file `/sbin/depmod.modutils', not allowed
dpkg: error processing module-init-tools (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 module-init-tools

I've found that diverted files was the same as original files:

# dpkg-divert  --list|grep depmod
diversion of /sbin/depmod to /sbin/depmod.modutils by module-init-tools
diversion of /usr/share/man/man8/depmod.8.gz to
/usr/share/man/man8/depmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/depmod.8.gz to
/usr/share/man/fr/man8/depmod.modutils.8.gz by module-init-tools

# ls -l /sbin/depmod*
-rwxr-xr-x 1 root root 44188 2008-04-05 05:41 /sbin/depmod
-rwxr-xr-x 1 root root 44188 2008-04-05 05:41 /sbin/depmod.modutils

# diff /sbin/depmod /sbin/depmod.modutils


tried to remove diversion:
# dpkg-divert --rename --remove /sbin/depmod
Removing `diversion of /sbin/depmod to /sbin/depmod.modutils by
module-init-tools'
dpkg-divert: rename involves overwriting `/sbin/depmod' with
  different file `/sbin/depmod.modutils', not allowed

then i removed depmod.modutils:
# mv /sbin/depmod.modutils /root/
# dpkg-divert --rename --remove /sbin/depmod
Removing `diversion of /sbin/depmod to /sbin/depmod.modutils by
module-init-tools'
# dpkg-divert --rename --remove /sbin/depmod
No diversion `any diversion of /sbin/depmod', none removed
# dpkg --configure module-init-tools
Setting up module-init-tools (3.4-1) ...
dpkg-divert: rename involves overwriting `/sbin/insmod' with
  different file `/sbin/insmod.modutils', not allowed
dpkg: error processing module-init-tools (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 module-init-tools

same with other files:
# mv /sbin/insmod.modutils /root/
# mv /sbin/update-modules.modutils /root/
# mv /sbin/modinfo.modutils /root/
# mv /sbin/lsmod.modutils /root/
# ls -l rmm*
-rwxr-xr-x 1 root root 7540 2008-04-05 05:41 rmmod
-rwxr-xr-x 1 root root 7540 2008-04-05 05:41 rmmod.Lmodutils
lrwxrwxrwx 1 root root   15 2008-07-29 02:34 rmmod.modutils ->
insmod.modutils
# dpkg-divert  --list|grep rmmod
diversion of /sbin/rmmod to /sbin/rmmod.Lmodutils by module-init-tools
diversion of /usr/share/man/man8/rmmod.8.gz to
/usr/share/man/man8/rmmod.modutils.8.gz by module-init-tools
diversion of /usr/share/man/fr/man8/rmmod.8.gz to
/usr/share/man/fr/man8/rmmod.modutils.8.gz by module-init-tools
# mv rmmod.Lmodutils /root/
# ls -l modpro*
-rwxr-xr-x 1 root root 25124 2008-04-05 05:41 modprobe
-rwxr-xr-x 1 root root 25124 2008-04-05 05:41 modprobe.Lmodutils
lrwxrwxrwx 1 root root15 2008-07-29 02:34 modprobe.modutils ->
insmod.modutils
# diff modprobe modprobe.Lmodutils
# mv modprobe.Lmodutils /root/
# dpkg --configure module-init-tools
Setting up module-init-tools (3.4-1) ...
# dpkg-reconfigure module-init-tools

Best regards, Alexey



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org