Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Alexander Leidinger
On Thu, 27 Jun 2013 23:58:33 +0200 Kristof Provost kris...@sigsegv.be wrote: On 2013-06-24 22:08:01 (+0200), Alexander Leidinger alexan...@leidinger.net wrote: On Mon, 24 Jun 2013 12:15:18 +0200 Kristof Provost kris...@sigsegv.be wrote: For what it's worth, I'm running into exactly

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Martin Matuska
On 2013-06-29 12:01, Alexander Leidinger wrote: On Thu, 27 Jun 2013 23:58:33 +0200 Kristof Provost kris...@sigsegv.be wrote: On 2013-06-24 22:08:01 (+0200), Alexander Leidinger alexan...@leidinger.net wrote: On Mon, 24 Jun 2013 12:15:18 +0200 Kristof Provost kris...@sigsegv.be wrote: For

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Alexander Leidinger
On Sat, 29 Jun 2013 14:02:35 +0200 Martin Matuska m...@freebsd.org wrote: some input would be great (at least the panic message - ideally from a debug kernel). The bt in the minidump is useless, but I made a bt directly in the kernel debugger: ---snip--- Fatal trap 12: page fault while in

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Martin Matuska
This was an obvious error by me - I forgot to register zfs_ioc_jail and zfs_ioc_unjail using the new functions. Amazing noone noticed this by now until it got merged down to stable/8. In addition, I see no need to log these operations to the zpool history as they cause no on-disk changes, so I

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Alexander Leidinger
On Sat, 29 Jun 2013 18:49:16 +0200 Martin Matuska m...@freebsd.org wrote: Please test the patch from current in r252380. Buildworld+kernel in progress, expect feedback soon. FYI: you misspelled my FreeBSD address in the commit. Bye, Alexander. -- http://www.Leidinger.netAlexander @

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Kristof Provost
On 2013-06-29 18:49:16 (+0200), Martin Matuska m...@freebsd.org wrote: This was an obvious error by me - I forgot to register zfs_ioc_jail and zfs_ioc_unjail using the new functions. Amazing noone noticed this by now until it got merged down to stable/8. In addition, I see no need to log

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-29 Thread Alexander Leidinger
On Sat, 29 Jun 2013 23:05:20 +0200 Kristof Provost kris...@sigsegv.be wrote: On 2013-06-29 18:49:16 (+0200), Martin Matuska m...@freebsd.org wrote: This was an obvious error by me - I forgot to register zfs_ioc_jail and zfs_ioc_unjail using the new functions. Amazing noone noticed this by

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-27 Thread Kristof Provost
On 2013-06-24 22:08:01 (+0200), Alexander Leidinger alexan...@leidinger.net wrote: On Mon, 24 Jun 2013 12:15:18 +0200 Kristof Provost kris...@sigsegv.be wrote: For what it's worth, I'm running into exactly the same problem. (amd64, stable/9). I have no custom settings in /etc/make.conf

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-24 Thread Kristof Provost
On 2013-06-14 23:07:02 (+0200), Alexander Leidinger alexan...@leidinger.net wrote: The bt in the minidump is useless, but I made a bt directly in the kernel debugger: ---snip--- Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x0 fault code

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-24 Thread Alexander Leidinger
On Mon, 24 Jun 2013 12:15:18 +0200 Kristof Provost kris...@sigsegv.be wrote: For what it's worth, I'm running into exactly the same problem. (amd64, stable/9). I have no custom settings in /etc/make.conf or /etc/src.conf I had a short discussion with the maintainer of our stress-test-suite,

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-15 Thread Mikolaj Golub
On Fri, Jun 14, 2013 at 11:07:02PM +0200, Alexander Leidinger wrote: db bt Tracing pid 2356 uart_sab82532_class() at 0 devfs_ioctl_f() at devfs_ioctl_f+0xf0 kern_ioctl() at kern_ioctl+0x1d7 sys_ioctl() at sys_ioctl+0x142 ---snip--- Anyone with a pointer to an explanation how to convert

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-15 Thread Alexander Leidinger
On Sat, 15 Jun 2013 11:17:07 +0300 Mikolaj Golub troc...@freebsd.org wrote: On Fri, Jun 14, 2013 at 11:07:02PM +0200, Alexander Leidinger wrote: db bt Tracing pid 2356 uart_sab82532_class() at 0 devfs_ioctl_f() at devfs_ioctl_f+0xf0 kern_ioctl() at kern_ioctl+0x1d7 sys_ioctl() at

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-14 Thread Alexander Leidinger
On Wed, 12 Jun 2013 22:39:53 +0200 Dimitry Andric d...@freebsd.org wrote: On Jun 12, 2013, at 22:30, Alexander Leidinger alexan...@leidinger.net wrote: I try to update from a pre-clang world (r242511M) to now (r251618M). The resulting kernel boots, but while starting some jails (with

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-13 Thread Alexander Leidinger
On Wed, 12 Jun 2013 15:10:59 -0700 Peter Wemm pe...@wemm.org wrote: On Wed, Jun 12, 2013 at 1:39 PM, Dimitry Andric d...@freebsd.org wrote: If you are running on i386, it might be a stack overflow? Try increasing the stack a little, it might help in that case. For i386 I'd be more

zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-12 Thread Alexander Leidinger
Hi, I try to update from a pre-clang world (r242511M) to now (r251618M). The resulting kernel boots, but while starting some jails (with ezjail from ports, so fairly late in the boot process) I get a kernel panic (IIRC zfs trying to access page 0). Before I try to get some time to debug this, I

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-12 Thread Dimitry Andric
On Jun 12, 2013, at 22:30, Alexander Leidinger alexan...@leidinger.net wrote: I try to update from a pre-clang world (r242511M) to now (r251618M). The resulting kernel boots, but while starting some jails (with ezjail from ports, so fairly late in the boot process) I get a kernel panic (IIRC

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-12 Thread Peter Wemm
On Wed, Jun 12, 2013 at 1:39 PM, Dimitry Andric d...@freebsd.org wrote: On Jun 12, 2013, at 22:30, Alexander Leidinger alexan...@leidinger.net wrote: I try to update from a pre-clang world (r242511M) to now (r251618M). The resulting kernel boots, but while starting some jails (with ezjail

Re: zfs kernel panic, known incompatibilities with clang CPUTYPE/COPTFLAGS?

2013-06-12 Thread Alfred Perlstein
On 6/12/13 3:10 PM, Peter Wemm wrote: On Wed, Jun 12, 2013 at 1:39 PM, Dimitry Andric d...@freebsd.org wrote: On Jun 12, 2013, at 22:30, Alexander Leidinger alexan...@leidinger.net wrote: I try to update from a pre-clang world (r242511M) to now (r251618M). The resulting kernel boots, but while