From owner-freebsd-embedded@FreeBSD.ORG Fri Oct 17 11:34:50 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C33331065686 for ; Fri, 17 Oct 2008 11:34:50 +0000 (UTC) (envelope-from jkv@unixcluster.dk) Received: from mail1-hoer.fullrate.dk (mail1-hoer.fullrate.dk [90.185.1.42]) by mx1.freebsd.org (Postfix) with ESMTP id 83CE08FC13 for ; Fri, 17 Oct 2008 11:34:50 +0000 (UTC) (envelope-from jkv@unixcluster.dk) Received: from unixcluster.dk (unknown [90.185.104.134]) by mail1-hoer.fullrate.dk (Postfix) with ESMTP id 2513A50F0C for ; Mon, 13 Oct 2008 20:07:45 +0200 (CEST) Received: from jkvs-macbook.local (unknown [10.0.0.148]) by unixcluster.dk (Postfix) with ESMTPSA id E769511442 for ; Mon, 13 Oct 2008 20:07:44 +0200 (CEST) Message-ID: <48F38E70.3020201@unixcluster.dk> Date: Mon, 13 Oct 2008 20:07:44 +0200 From: jkv User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problems with updatep2(nanobsd) on soekris 4801 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 11:34:50 -0000 Hi, Im currently experiencing some unexpected problems on my nanobsd(freebsd 7.0-release) running on a soekris 4801. The system have been running good for some time, but yesterday i decided to update the system with a few more packages. As described in the documentations i made a new image(using the same nanobsd conf file as i used at the initial setup) and tried to update partition 2 with the updatep2 script, but for some reason this causes my system to crash. Any ideas? Regards, Johnny (10.0.0.45 is the freebsd which i use for compiling the images) nanobsd# nc 10.0.0.45 5555 | sh updatep2 ad1: FAILURE - device detached ad1: detached g_vfs_done():ad1s1a[READ(offset=376012800, length=11776)]error = 6 vnode_pager_getpages: I/O read error Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc0 fault code = supervisor read, page not present instruction pointer = 0x20:0xc04cedb1 stack pointer = 0x28:0xc8008a80 frame pointer = 0x28:0xc8008a80 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1046 (cron) trap number = 12 panic: page fault Uptime: 4m51s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Some additional information: # fdisk /dev/ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=3933 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3933 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1826433 (891 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 787/ head 15/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1826559, size 1826433 (891 Meg), flag 0 beg: cyl 788/ head 1/ sector 1; end: cyl 551/ head 15/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 3652992, size 11088 (5 Meg), flag 0 beg: cyl 552/ head 0/ sector 1; end: cyl 562/ head 15/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 3664080, size 300384 (146 Meg), flag 0 beg: cyl 563/ head 0/ sector 1; end: cyl 860/ head 15/ sector 63 # # mount /dev/ad1s1a on / (ufs, local, read-only) devfs on /dev (devfs, local) /dev/md0 on /etc (ufs, local) /dev/md1 on /var (ufs, local)