Date: Sun, 14 Jun 2009 17:13:46 +0200 From: Mateusz Guzik <mjguzik@gmail.com> To: Alexander Best <alexbestms@math.uni-muenster.de> Cc: freebsd-current@freebsd.org Subject: Re: linux syscall get_robust_list causes panic Message-ID: <20090614151343.GA89156@skucha.lan> In-Reply-To: <permail-20090614142745f7e55a9d00004f58-a_best01@message-id.uni-muenster.de> References: <permail-20090614142745f7e55a9d00004f58-a_best01@message-id.uni-muenster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 14, 2009 at 04:27:45PM +0200, Alexander Best wrote: > hi there, > > i tried to run the latest release (20090531) of the linux test project (ltp) > with emulators/linux_dist-gentoo-stage3. however the kernel panics after ltp's > get_robust_list(2) test. set_robust_list(2) passes without any problems. > > i've attached a screenshot of the panic and the source which is causing the > panic. you won't be able to compile it without ltp however. after installing > and compiling ltp the source and the executable can be found in > "/usr/local/gentoo-stage3/ltp-full-20090531/testcases/kernel/syscalls/get_robust_list". > simply running the > "/usr/local/gentoo-stage3/ltp-full-20090531/testcases/kernel/syscalls/get_robust_list/get_robust_list01" > executable results in a panic. > > unfortunately i cannot supply a complete bt, because i only own a usb keyboard > which doesn't respond after the panic. actually i'm a bit surprised the > debugger was started, because i have "KDB_UNATTENDED" in my kernel conf. any > reason the machine doesn't reboot and save the dump to /var/crash/vmcore.*? > > i'm running r193846 (CURRENT). > > cheers. Just a guess: it looks like linux_get_robust_list can return EPERM without unlocking process found by pfind. Can you add PROC_UNLOCK(p) before that return and check it? Unfortunately I can't do that right now. -- Mateusz Guzik <mjguzik at gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090614151343.GA89156>