Re: [gentoo-dev] Debugging a Linux kernel deadlock when doing swap on ZFS

2012-04-15 Thread Richard Yao
Thanks everyone for your extremely useful tips. I seem to have it working now. The problem is that ZFS does memory allocations when asked to write things. A makeshift solution is to do `echo 524288 > /proc/sys/vm/min_free_kbytes`. A more permanent fix will take more time to produce, but at least I

Re: [gentoo-dev] Debugging a Linux kernel deadlock when doing swap on ZFS

2012-04-12 Thread Sergei Trofimovich
On Thu, 12 Apr 2012 19:30:08 -0400 Richard Yao wrote: > I am running Gentoo on ZFS using the kernel modules from sys-kernel/spl > and sys-fs/zfs. If I put swap on ZFS, the kernel appears to deadlock > when it tries to use it. I am having trouble getting a backtrace. > > Does anyone have any sugg

Re: [gentoo-dev] Debugging a Linux kernel deadlock when doing swap on ZFS

2012-04-12 Thread Mike Frysinger
On Thursday 12 April 2012 19:30:08 Richard Yao wrote: > I am running Gentoo on ZFS using the kernel modules from sys-kernel/spl > and sys-fs/zfs. If I put swap on ZFS, the kernel appears to deadlock > when it tries to use it. I am having trouble getting a backtrace. > > Does anyone have any sugges

[gentoo-dev] Debugging a Linux kernel deadlock when doing swap on ZFS

2012-04-12 Thread Richard Yao
I am running Gentoo on ZFS using the kernel modules from sys-kernel/spl and sys-fs/zfs. If I put swap on ZFS, the kernel appears to deadlock when it tries to use it. I am having trouble getting a backtrace. Does anyone have any suggestions on how I could debug this? signature.asc Description: O