From owner-freebsd-arm@FreeBSD.ORG Fri Sep 26 12:19:13 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CF00E1D; Fri, 26 Sep 2014 12:19:13 +0000 (UTC) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECCCF117; Fri, 26 Sep 2014 12:19:12 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id q1so2737980lam.35 for ; Fri, 26 Sep 2014 05:19:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=WW7pYwYxhZcJ6TwbA6ma1q0Nf5htteLQ7wZKLLl0Z1A=; b=wTrEJOykgtybfXQs3q+7/wyZIc1jn45FNrwWNdC2MI5bJFlHD6/RG3Q0NOmyFaOaJF SkdE6+mOf5ZQlRaHaBrAH2wIj6EqtjEUnxrrph2zKh0vHm6MQUbnVl8dBgOfb1Pnc9OE ScDZh4QxKb+geRQobo2GGZlasGFfPnIocxo3FXEoGPmf2/BOjZfYpv07SADKMgliVFrB 7ESTvDRvJyaTvQai66J/92zsOnc5rgyBbmam/w0AIzpJcK0EJEnbTLe57j7ZDj/+oucw GBCaHQDp4FJxzeDUD54KamKodW+11PM86LlXKfYc+6QT93dJ77e16ErewfKi452+kTQk WYqg== X-Received: by 10.112.62.200 with SMTP id a8mr18836381lbs.34.1411733950775; Fri, 26 Sep 2014 05:19:10 -0700 (PDT) Received: from ?IPv6:2001:1620:ff0:c51:9cf3:8d50:20f4:c5b1? ([2001:1620:ff0:c51:9cf3:8d50:20f4:c5b1]) by mx.google.com with ESMTPSA id k7sm1836395lak.22.2014.09.26.05.19.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Sep 2014 05:19:10 -0700 (PDT) Message-ID: <542559BC.7090100@gmail.com> Date: Fri, 26 Sep 2014 14:19:08 +0200 From: Mattia Rossi User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-arm , Ian Lepore Subject: Random Kernel Panic on Dreamplug (FS related) Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 12:19:13 -0000 This might be part of the weird FFS issues the Dreamplug has and no-one knows why they're happening. The panic occurred while running nsd-control reload (which should simply re-read a config file from disk). I was previously editing files without issues. Result is the following: vm_fault(0xc10a0000, d0238000, 2, 0) -> 2 Fatal kernel mode data abort: 'Permission Fault (P)' trapframe: 0xde019898 FSR=0000000f, FAR=d0238120, spsr=20000013 r0 =d0238120, r1 =00000e60, r2 =00000000, r3 =00000000 r4 =00000120, r5 =00000000, r6 =c3f3f6c0, r7 =00001000 r8 =c443e880, r9 =00000000, r10=c3d69000, r11=de019a20 r12=d0238120, ssp=de0198e8, slr=c0d53828, pc =c0de521c [ thread pid 21116 tid 100073 ] Stopped at memset+0x48: undge 0xa0cc20f8 db> db> bt Tracing pid 21116 tid 100073 td 0xc3e97000 db_trace_self() at db_trace_self pc = 0xc0dd5418 lr = 0xc094f8a8 (db_hex2dec+0x490) sp = 0xde0195a0 fp = 0xde0195b8 r10 = 0xc0f5e8c8 db_hex2dec() at db_hex2dec+0x490 pc = 0xc094f8a8 lr = 0xc094f260 (db_command_loop+0x300) sp = 0xde0195c0 fp = 0xde019660 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 db_command_loop() at db_command_loop+0x300 pc = 0xc094f260 lr = 0xc094efb0 (db_command_loop+0x50) sp = 0xde019668 fp = 0xde019678 r4 = 0xc0e2dfe4 r5 = 0xc0e4402e r6 = 0xc0f5e8b4 r7 = 0xc0ef62b8 r8 = 0xc0f52754 r9 = 0xc0f52750 r10 = 0xc3e97000 db_command_loop() at db_command_loop+0x50 pc = 0xc094efb0 lr = 0xc09519ec (X_db_symbol_values+0x250) sp = 0xde019680 fp = 0xde0197a0 r4 = 0x00000000 r5 = 0xc0f5e8c0 r6 = 0xc0f52778 X_db_symbol_values() at X_db_symbol_values+0x250 pc = 0xc09519ec lr = 0xc0b37b08 (kdb_trap+0xc4) sp = 0xde0197a8 fp = 0xde0197c8 r4 = 0x00000000 r5 = 0x0000000f r6 = 0xc0f52778 r7 = 0xc0ef62b8 kdb_trap() at kdb_trap+0xc4 pc = 0xc0b37b08 lr = 0xc0de7c60 (data_abort_handler+0x7f8) sp = 0xde0197d0 fp = 0xde0197e8 r4 = 0xde019898 r5 = 0x0000000f r6 = 0x600000d3 r7 = 0xd0238120 r8 = 0x00000000 r9 = 0xc0f648d4 r10 = 0xc3e97000 data_abort_handler() at data_abort_handler+0x7f8 pc = 0xc0de7c60 lr = 0xc0de7a28 (data_abort_handler+0x5c0) sp = 0xde0197f0 fp = 0xde019890 r4 = 0xc10a0000 r5 = 0x00000013 r6 = 0xde019eb0 r7 = 0x00000002 data_abort_handler() at data_abort_handler+0x5c0 pc = 0xc0de7a28 lr = 0xc0dd711c (exception_exit) sp = 0xde019898 fp = 0xde019a20 r4 = 0xffffffff r5 = 0xffff1004 r6 = 0xc3f3f6c0 r7 = 0x00001000 r8 = 0xc443e880 r9 = 0x00000000 r10 = 0xc3d69000 exception_exit() at exception_exit pc = 0xc0dd711c lr = 0xc0d53828 (ffs_truncate+0xaa8) sp = 0xde0198e8 fp = 0xde019a20 r0 = 0xd0238120 r1 = 0x00000e60 r2 = 0x00000000 r3 = 0x00000000 r4 = 0x00000120 r5 = 0x00000000 r6 = 0xc3f3f6c0 r7 = 0x00001000 r8 = 0xc443e880 r9 = 0x00000000 r10 = 0xc3d69000 r12 = 0xd0238120 memset() at memset+0x48 pc = 0xc0de521c lr = 0xc0d53828 (ffs_truncate+0xaa8) sp = 0xde0198e8 fp = 0xde019a20 Unwind failure (no registers changed) The sad thing is, that with fsck broken for the dreamplug, I have to re-format the disk, reinstall everything and recreate the config files which I didn't manage to copy to a safe place beforehand :-( Before I do that I'll leave the system in debugging mode for a few days, in case someone can help and needs some more information. Cheers, Mat