From owner-freebsd-current@FreeBSD.ORG Fri Apr 4 04:45:27 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 419EF106566B for ; Fri, 4 Apr 2008 04:45:27 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id E81D98FC27 for ; Fri, 4 Apr 2008 04:45:26 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com ([208.45.246.58]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m344jFr4071720; Fri, 4 Apr 2008 00:45:26 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id m344j6df012683; Fri, 4 Apr 2008 00:45:06 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id m344j6Bf012682; Fri, 4 Apr 2008 00:45:06 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200804040445.m344j6Bf012682@himinbjorg.tucs-beachin-obx-house.com> To: peterjeremy@optushome.com.au (Peter Jeremy) Date: Fri, 4 Apr 2008 00:45:06 -0400 (EDT) In-Reply-To: <20080403180137.GE49813@server.vk2pj.dyndns.org> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, "Tuc at T-B-O-H.NET" Subject: Re: [freebsd-current] re: fsck_4.2bsd: cannot alloc 4294967292 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 04:45:27 -0000 > On Thu, Apr 03, 2008 at 08:51:53AM -0400, Tuc at T-B-O-H.NET wrote: > >not the drive... As soon as I mount the drive and try to create > >filesystems on it I get a kernel panic > >(http://www.freebsd.org/cgi/query-pr.cgi?pr=3D122380) > > > > I even brought a 7.0 system up elsewhere, formatted it there, > >and mounted it on the Soekris system, and as soon as I start to use > >it it panics. > > This sounds very much like data corruption between the flash and the > filesystem layer. > > How does the flash connect to valhalla? USB or card slot or ...? > Can you provide a verbose dmesg of da0 and all its parents? > USB At the risk of cutting/pasting too little.... http://204.107.90.128/dmesg.txt > > Try dd'ing off the first 1MB or so using valhalla and also using one > of your other systems and compare the results. My suspicion is that > there is either an off-by-1-sector or similar error or you will find > valhalla is reading chunks of 0xff bytes where it shouldn't. > setup# MD5 (1Mcu) = f6886afdcdb7dcc6205d4e29649fbdb7 MD5 (1Mdu) = f6886afdcdb7dcc6205d4e29649fbdb7 valhalla# md5 1M* MD5 (1Mcu) = f6886afdcdb7dcc6205d4e29649fbdb7 MD5 (1Mdu) = f6886afdcdb7dcc6205d4e29649fbdb7 These were both with the disk unmounted. "cu" is partition da0s1c, and "du" is partition da0s1d (Which is the partition I use to mount) valhalla# disklabel /dev/da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 8048502 0 unused 0 0 # "raw" part, don't edit d: 8048502 0 4.2BSD 2048 16384 28552 Looks like matches all around. (And yes, I SHA256'd too) :-/ So now where? Tuc