From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 1 09:47:32 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A99E0106564A; Thu, 1 Jan 2009 09:47:32 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 826A08FC2C; Thu, 1 Jan 2009 09:47:32 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n019lVKO093337; Thu, 1 Jan 2009 04:47:31 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n019lVjP028745; Thu, 1 Jan 2009 04:47:31 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 9651F7302F; Thu, 1 Jan 2009 04:47:31 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090101094731.9651F7302F@freebsd-current.sentex.ca> Date: Thu, 1 Jan 2009 04:47:31 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2009 09:47:33 -0000 TB --- 2009-01-01 08:11:30 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-01-01 08:11:30 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2009-01-01 08:11:30 - cleaning the object tree TB --- 2009-01-01 08:12:09 - cvsupping the source tree TB --- 2009-01-01 08:12:09 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2009-01-01 08:12:18 - building world TB --- 2009-01-01 08:12:18 - MAKEOBJDIRPREFIX=/obj TB --- 2009-01-01 08:12:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-01-01 08:12:18 - TARGET=sparc64 TB --- 2009-01-01 08:12:18 - TARGET_ARCH=sparc64 TB --- 2009-01-01 08:12:18 - TZ=UTC TB --- 2009-01-01 08:12:18 - __MAKE_CONF=/dev/null TB --- 2009-01-01 08:12:18 - cd /src TB --- 2009-01-01 08:12:18 - /usr/bin/make -B buildworld >>> World build started on Thu Jan 1 08:12:20 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Jan 1 09:31:19 UTC 2009 TB --- 2009-01-01 09:31:19 - generating LINT kernel config TB --- 2009-01-01 09:31:19 - cd /src/sys/sparc64/conf TB --- 2009-01-01 09:31:19 - /usr/bin/make -B LINT TB --- 2009-01-01 09:31:19 - building LINT kernel TB --- 2009-01-01 09:31:19 - MAKEOBJDIRPREFIX=/obj TB --- 2009-01-01 09:31:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-01-01 09:31:19 - TARGET=sparc64 TB --- 2009-01-01 09:31:19 - TARGET_ARCH=sparc64 TB --- 2009-01-01 09:31:19 - TZ=UTC TB --- 2009-01-01 09:31:19 - __MAKE_CONF=/dev/null TB --- 2009-01-01 09:31:19 - cd /src TB --- 2009-01-01 09:31:19 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jan 1 09:31:19 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror vers.c linking kernel kern_exec.o(.bss+0x8): multiple definition of `elf64_fallback_brand' imgact_elf.o(.data+0x0): first defined here kern_mib.o(.bss+0x2c8): multiple definition of `elf64_fallback_brand' imgact_elf.o(.data+0x0): first defined here elf_machdep.o(.bss+0x0): multiple definition of `elf64_fallback_brand' imgact_elf.o(.data+0x0): first defined here *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-01-01 09:47:31 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-01-01 09:47:31 - ERROR: failed to build lint kernel TB --- 2009-01-01 09:47:31 - 4600.91 user 415.00 system 5760.73 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 1 10:20:15 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C069D1065672; Thu, 1 Jan 2009 10:20:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 99AC68FC18; Thu, 1 Jan 2009 10:20:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n01AKDbj054233; Thu, 1 Jan 2009 05:20:13 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n01AKDsg051665; Thu, 1 Jan 2009 05:20:13 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5F52B7302F; Thu, 1 Jan 2009 05:20:13 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090101102013.5F52B7302F@freebsd-current.sentex.ca> Date: Thu, 1 Jan 2009 05:20:13 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2009 10:20:16 -0000 TB --- 2009-01-01 08:49:24 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-01-01 08:49:24 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2009-01-01 08:49:24 - cleaning the object tree TB --- 2009-01-01 08:49:46 - cvsupping the source tree TB --- 2009-01-01 08:49:46 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/sparc64/sun4v/supfile TB --- 2009-01-01 08:49:54 - building world TB --- 2009-01-01 08:49:54 - MAKEOBJDIRPREFIX=/obj TB --- 2009-01-01 08:49:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-01-01 08:49:54 - TARGET=sun4v TB --- 2009-01-01 08:49:54 - TARGET_ARCH=sparc64 TB --- 2009-01-01 08:49:54 - TZ=UTC TB --- 2009-01-01 08:49:54 - __MAKE_CONF=/dev/null TB --- 2009-01-01 08:49:54 - cd /src TB --- 2009-01-01 08:49:54 - /usr/bin/make -B buildworld >>> World build started on Thu Jan 1 08:49:56 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Jan 1 10:05:57 UTC 2009 TB --- 2009-01-01 10:05:57 - generating LINT kernel config TB --- 2009-01-01 10:05:57 - cd /src/sys/sun4v/conf TB --- 2009-01-01 10:05:57 - /usr/bin/make -B LINT TB --- 2009-01-01 10:05:57 - building LINT kernel TB --- 2009-01-01 10:05:57 - MAKEOBJDIRPREFIX=/obj TB --- 2009-01-01 10:05:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-01-01 10:05:57 - TARGET=sun4v TB --- 2009-01-01 10:05:57 - TARGET_ARCH=sparc64 TB --- 2009-01-01 10:05:57 - TZ=UTC TB --- 2009-01-01 10:05:57 - __MAKE_CONF=/dev/null TB --- 2009-01-01 10:05:57 - cd /src TB --- 2009-01-01 10:05:57 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jan 1 10:05:57 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror vers.c linking kernel kern_exec.o(.bss+0x8): multiple definition of `elf64_fallback_brand' imgact_elf.o(.data+0x0): first defined here kern_mib.o(.bss+0x2c8): multiple definition of `elf64_fallback_brand' imgact_elf.o(.data+0x0): first defined here elf_machdep.o(.bss+0x0): multiple definition of `elf64_fallback_brand' imgact_elf.o(.data+0x0): first defined here *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-01-01 10:20:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-01-01 10:20:13 - ERROR: failed to build lint kernel TB --- 2009-01-01 10:20:13 - 4578.48 user 408.34 system 5448.98 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-sparc64@FreeBSD.ORG Sat Jan 3 21:40:44 2009 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5008B106564A for ; Sat, 3 Jan 2009 21:40:44 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.freebsd.org (Postfix) with ESMTP id 3B0228FC14 for ; Sat, 3 Jan 2009 21:40:44 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.96] (75-101-29-67.dsl.static.sonic.net [75.101.29.67]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KCW00CC9XFUSE60@asmtp012.mac.com>; Sat, 03 Jan 2009 12:40:43 -0800 (PST) Message-id: From: Marcel Moolenaar To: Marius Strobl In-reply-to: <20081231194741.GA57089@alchemy.franken.de> Date: Sat, 03 Jan 2009 12:40:41 -0800 References: <6b8e8f4f0812281128lf48f391r38f063f7f797404@mail.gmail.com> <20081231194741.GA57089@alchemy.franken.de> X-Mailer: Apple Mail (2.930.3) Cc: marcel@FreeBSD.org, freebsd-sparc64@FreeBSD.org Subject: Re: invalid disk label on updated current ultra60 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2009 21:40:44 -0000 On Dec 31, 2008, at 11:47 AM, Marius Strobl wrote: > On Sun, Dec 28, 2008 at 09:28:49AM -1000, David Cornejo wrote: >> Hi, >> >> I've got an ultra60 that works fine with a kernel built Nov 22nd and >> new kernels starting at least a couple of days ago claim that the >> disklabel on da0 & da1 are invalid and mounting root fails. This >> is a >> fairly old system that was probably installed with 6 or 7 and >> upgraded >> to 8. I haven't seen this problem on my x86/amd64 machines is there >> some incantation to make the disklabels valid? >> > > Apparently the problem are labels (originally) generated by > Solaris, which uses the native geometry reported by the > target rather than a synthetic one based on 255 heads and > 63 sectors as demonstrated by the following format(1M) output > for two identical disks, the first labeled with format(1M) > and the second with sunlabel(8) (after zeroing the previous > one): > 0. c1t0d0 > /pci@1f,700000/scsi@2/sd@0,0 > 1. c1t1d0 > /pci@1f,700000/scsi@2/sd@1,0 > > The 63 sectors limit of GEOM_PART_VTOC8 also causes problems > with IDE disks > 32GB where FreeBSD uses a synthetic geometry > based on 255 sectors like Solaris does in order to circumvent > the 16-bit cylinders, heads and sectors fields of the Sun and > VTOC8 disk labels. I think the upper limits for heads and > sectors therefore should be just removed from GEOM_PART_VTOC8, > which should also be safe, i.e. no upper bound needed, as done > by the below patch in order for their maximum value to be used. > Marcel, are you okay with this? Do you have a good idea how > to avoid the warning regarding geometry mismatch for labels > created by Solaris? I'm perfectly happy with it. The limits are mostly PC BIOS specific, though I kept them under the assumption that 1) they would hold for sparc64 and 2) we may make assumptions out the geometry in differenmt parts of the FreeBSD source base. It seems the limits simply don't hold, so it's better to remove them and deal with problems in other parts of the source tree if we encounter them. As for the warning: I made the geometry mismatch visible so that we can work the problem. If it's something that we cannot fix on sparc64 because Solaris uses the native geometry and we never do (for example), then we should just get rid of the warning and add a comment instead... FYI, -- Marcel Moolenaar xcllnt@mac.com