From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 10:49:24 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47258106567D for ; Mon, 29 Jun 2009 10:49:24 +0000 (UTC) (envelope-from prvs=424ec9758=karthy@netic.dk) Received: from mxout02.netic.dk (mxout02.netic.dk [77.243.50.218]) by mx1.freebsd.org (Postfix) with ESMTP id B8F478FC27 for ; Mon, 29 Jun 2009 10:49:23 +0000 (UTC) (envelope-from prvs=424ec9758=karthy@netic.dk) DomainKey-Signature: s=dk; d=netic.dk; c=simple; q=dns; h=X-IronPort-Anti-Spam-Filtered: X-IronPort-Anti-Spam-Result:X-IronPort-AV:Received: Message-Id:From:To:Content-Type:Content-Transfer-Encoding: Mime-Version:Subject:Date:X-Mailer; b=rkY5ue/vr/45F4iwWWit0l5DBPZSxKXIhqKYRLQ289WaaqU7YuI+Wr/L thpMXKQtfm6pRNmXYne14FQbU0oJvg==; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netic.dk; i=karthy@netic.dk; q=dns/txt; s=dkim; t=1246272564; x=1277808564; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Karsten=20Thygesen=20|Subject: =20Netvault=20on=20FreeBSD-7.2=20AMD64|Date:=20Mon,=2029 =20Jun=202009=2012:19:44=20+0200|Message-Id:=20<237A4FC3- 3CBD-453B-A606-9F07E3F56FBD@netic.dk>|To:=20freebsd-amd64 @freebsd.org|Mime-Version:=201.0=20(Apple=20Message=20fra mework=20v935.3)|Content-Transfer-Encoding:=207bit; bh=Qv5hJR9oAlhjtIKHcdQSnzvzvgWUKhh/qkvXXHK3cKY=; b=jPz0fcAW7MkKkmwTLRo382lc9Kcq7/GnFQ15XUh/L1Uq2hPvHRn9TaRr UMl/3y4UHXvd5RJukvvrE/XTQklymQ==; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An0FAGoySEpN8z4+/2dsb2JhbACBUclAgkyBQQWBNw X-IronPort-AV: E=Sophos;i="4.42,308,1243807200"; d="scan'208";a="3071709" Received: from netic-fw.novipark.dk (HELO mackarthy02.netic.dk) ([77.243.62.62]) by mxout02.netic.dk with ESMTP/TLS/AES128-SHA; 29 Jun 2009 12:19:44 +0200 Message-Id: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> From: Karsten Thygesen To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Mon, 29 Jun 2009 12:19:44 +0200 X-Mailer: Apple Mail (2.935.3) Subject: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 10:49:24 -0000 Hi We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is problems running Netvault. Netvault only support FreeBSD in 32bit (and I can verify, that it works just fine here), so we are on out own with 64bit support. I'm quite new to 64bit edition of FreeBSD, so there might be something simple, that I do not know about, but when I try to run one of the netvault binaries, I get this error: [karthy@karthywork ~]$ ./txtconfig ELF interpreter /libexec/ld-elf.so.1 not found Abort trap: 6 [karthy@karthywork ~]$ ls -l /libexec/ld-elf.so.1 -r-xr-xr-x 1 root wheel 198456 Jun 29 11:32 /libexec/ld-elf.so.1 [karthy@karthywork ~]$ file txtconfig txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped [karthy@karthywork ~]$ uname -a FreeBSD karthywork.netic.dk 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/ usr/obj/usr/src/sys/GENERIC amd64 [karthy@karthywork ~]$ file /libexec/ld-elf.so.1 /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), stripped Anything I need to do to enable 32bit emulation support? best regards, Karsten From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 11:06:53 2009 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A954C106564A for ; Mon, 29 Jun 2009 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD408FC12 for ; Mon, 29 Jun 2009 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TB6rm0046234 for ; Mon, 29 Jun 2009 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5TB6q5n046230 for freebsd-amd64@FreeBSD.org; Mon, 29 Jun 2009 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Jun 2009 11:06:52 GMT Message-Id: <200906291106.n5TB6q5n046230@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org X-Mailman-Approved-At: Mon, 29 Jun 2009 11:38:34 +0000 Cc: Subject: Current problem reports assigned to freebsd-amd64@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- s i386/135447 amd64 [i386] [request] Intel Core i7 and Nehalem-EP new feat o amd64/135265 amd64 [install] Boot from install cd hangs on HP DL160 G5 wi o amd64/135040 amd64 FreeBSD/amd64 does not (always) detect disk on SB600/A o amd64/134978 amd64 g_up pmap amd64 panic o amd64/134786 amd64 [vfs] [patch] vfs.bufspace sysctl wideness on amd64 o amd64/134757 amd64 32 bit processes on 64 bit platforms occasionally drop o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o amd64/133701 amd64 Recompiling the kernel with k8temp or smbios break GEO o amd64/132574 amd64 [boot] [hang] Freeze on bootstrap loader (CD) using AT o amd64/132372 amd64 [ata] No disks found (nVidia nForce MCP55 sata control o amd64/132019 amd64 [install] kernel trap 12 while installation o amd64/131906 amd64 [ata] SATA data corruption with Promise PDC20378 (amd6 o amd64/131456 amd64 ACPI & ATA problems o amd64/131314 amd64 [modules] [panic] large modules fail to load on amd64 o amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL f amd64/130885 amd64 sockstat(1) on amd64 does not work o amd64/130864 amd64 [hang] Problem with copying files to a large partition o amd64/130817 amd64 FreeBSD does not support HP DL160G5 [regression] o amd64/130494 amd64 [boot] netbooting BTX fails on amd64 o amd64/130483 amd64 [mxge] MSI must be disabled when Myricom 10Gbps Card i o amd64/130368 amd64 [hang] Switching from xorg to console locks up compute o amd64/129889 amd64 [boot] [hang] The booting process stops at the line mo o amd64/129721 amd64 [hang] Motherboard K9N2G Neo-FD hangs on boot of 7.0-R o amd64/129667 amd64 [ata] Elitegroup A780GM-A IDE controller not recognize o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o amd64/129315 amd64 [boot] [reboot] amd64 motherboard: Intel DG965WH mothe f amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o amd64/128810 amd64 AMD 64 port installation o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/128686 amd64 [ata] can't detect SATA Disk on 8.0-Current with NF550 o amd64/128263 amd64 [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 a o amd64/128259 amd64 csh(1): "`" crashes csh o amd64/127640 amd64 gcc(1) will not build shared libraries with -fprofile- o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o amd64/127451 amd64 [scheduler] incorrect load on quad core o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI s amd64/127276 amd64 ldd(1) invokes linux yes o amd64/127129 amd64 mdconfig(8) is core dumping with Segmentation Fault 11 o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116159 amd64 [panic] Panic while debugging on CURRENT s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/89501 amd64 [install] System crashes on install using ftp on local o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/76136 amd64 [hang] system halts before reboot o amd64/74747 amd64 [panic] System panic on shutdown when process will not 90 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 12:17:17 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 694BB1065677 for ; Mon, 29 Jun 2009 12:17:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id BCBD18FC20 for ; Mon, 29 Jun 2009 12:17:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n5TBZeeU026801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jun 2009 14:35:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n5TBZe7u002198; Mon, 29 Jun 2009 14:35:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n5TBZe3M002197; Mon, 29 Jun 2009 14:35:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 29 Jun 2009 14:35:40 +0300 From: Kostik Belousov To: Karsten Thygesen Message-ID: <20090629113540.GX2884@deviant.kiev.zoral.com.ua> References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hjRTvux2945W8dyK" Content-Disposition: inline In-Reply-To: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.1 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-amd64@freebsd.org Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 12:17:17 -0000 --hjRTvux2945W8dyK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 29, 2009 at 12:19:44PM +0200, Karsten Thygesen wrote: > Hi >=20 > We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is =20 > problems running Netvault. >=20 > Netvault only support FreeBSD in 32bit (and I can verify, that it =20 > works just fine here), so we are on out own with 64bit support. >=20 > I'm quite new to 64bit edition of FreeBSD, so there might be something = =20 > simple, that I do not know about, but when I try to run one of the =20 > netvault binaries, I get this error: >=20 > [karthy@karthywork ~]$ ./txtconfig > ELF interpreter /libexec/ld-elf.so.1 not found > Abort trap: 6 >=20 > [karthy@karthywork ~]$ ls -l /libexec/ld-elf.so.1 > -r-xr-xr-x 1 root wheel 198456 Jun 29 11:32 /libexec/ld-elf.so.1 >=20 > [karthy@karthywork ~]$ file txtconfig > txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1 =20 > (FreeBSD), dynamically linked (uses shared libs), stripped >=20 > [karthy@karthywork ~]$ uname -a > FreeBSD karthywork.netic.dk 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: =20 > Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/=20 > usr/obj/usr/src/sys/GENERIC amd64 >=20 > [karthy@karthywork ~]$ file /libexec/ld-elf.so.1 > /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 =20 > (FreeBSD), stripped >=20 > Anything I need to do to enable 32bit emulation support? You need 32bit interpeter (/libexec/ld-elf32.so.1) and all shared libraries that are required by your binary in 32bit. --hjRTvux2945W8dyK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpIpwwACgkQC3+MBN1Mb4hlGACcDmrW64M+kglN0WF84KP3byMv a70AoNY34v6sdrPhZ1D5e6BBqa38U1Cx =KClJ -----END PGP SIGNATURE----- --hjRTvux2945W8dyK-- From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 14:50:01 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 226CE10656EC for ; Mon, 29 Jun 2009 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D8AB68FC08 for ; Mon, 29 Jun 2009 14:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TEo09u020509 for ; Mon, 29 Jun 2009 14:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5TEo0Ym020508; Mon, 29 Jun 2009 14:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 29 Jun 2009 14:50:00 GMT Resent-Message-Id: <200906291450.n5TEo0Ym020508@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuriy Glukhov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 077801065696 for ; Mon, 29 Jun 2009 14:42:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EA4E28FC16 for ; Mon, 29 Jun 2009 14:42:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TEgMeP040054 for ; Mon, 29 Jun 2009 14:42:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5TEgMNL040053; Mon, 29 Jun 2009 14:42:22 GMT (envelope-from nobody) Message-Id: <200906291442.n5TEgMNL040053@www.freebsd.org> Date: Mon, 29 Jun 2009 14:42:22 GMT From: Yuriy Glukhov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 29 Jun 2009 15:31:34 +0000 Cc: Subject: amd64/136161: sysinstall installs wrong architecture X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 14:50:01 -0000 >Number: 136161 >Category: amd64 >Synopsis: sysinstall installs wrong architecture >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 29 14:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Yuriy Glukhov >Release: 7.2 >Organization: >Environment: FreeBSD test.localdomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 1. Install an amd64 distribution on a USB pen drive. 2. Install the pen drive to a Xeon server. 3. Boot from the pen drive. 4. Run sysinstall, and install (standard installation) the OS to the local HDD, using one of FreeBSD FTPs. 5. Remove the pen drive and boot from the HDD with newly installed system. 6. Observe the uname -a. Actual result: the architecture is i386. Expected result: the architecture should be amd64. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 17:56:36 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74BB610656A8 for ; Mon, 29 Jun 2009 17:56:36 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from batman.home4u.ch (6to4.home4u.ch [IPv6:2002:3e0c:ad02::1]) by mx1.freebsd.org (Postfix) with ESMTP id 060E38FC17 for ; Mon, 29 Jun 2009 17:56:35 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from flashback.wenks.ch (flashback.wenks.ch [IPv6:2002:3e02:55b4:2:20a:95ff:fe8f:6586]) (authenticated bits=0) by batman.home4u.ch (8.14.3/8.14.3) with ESMTP id n5THuWj9036181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Jun 2009 19:56:33 +0200 (CEST) (envelope-from fabian@wenks.ch) Message-ID: <4A49004B.1060108@wenks.ch> Date: Mon, 29 Jun 2009 19:56:27 +0200 From: Fabian Wenk User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: freebsd-amd64@freebsd.org References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> In-Reply-To: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-amd64@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 17:56:36 -0000 Hello Karsten On 29.06.09 12:19, Karsten Thygesen wrote: > Hi > > We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is > problems running Netvault. > > Netvault only support FreeBSD in 32bit (and I can verify, that it > works just fine here), so we are on out own with 64bit support. > > I'm quite new to 64bit edition of FreeBSD, so there might be something > simple, that I do not know about, but when I try to run one of the > netvault binaries, I get this error: > > [karthy@karthywork ~]$ ./txtconfig > ELF interpreter /libexec/ld-elf.so.1 not found > Abort trap: 6 Build also the 32-bit libraries according to /usr/src/tools/lib32/README (from my 6.4-RELEASE system): ---8<---------------------------------------------------------- Set WITH_LIB32=yes in /etc/make.conf and do a buildworld/installworld. Alternatively, if you have just done a buildworld/installworld, you might be able to 'make build32' and 'make install32' in the top of the /usr/src tree. ---8<---------------------------------------------------------- On my system the following files are around: $ file /libexec/ld-elf* /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), stripped /libexec/ld-elf32.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped Hope this will help. bye Fabian From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 18:43:03 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E781810656C1 for ; Mon, 29 Jun 2009 18:43:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB848FC08 for ; Mon, 29 Jun 2009 18:43:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id n5TIQgX8028256; Mon, 29 Jun 2009 20:26:42 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 8DE98BA7E; Mon, 29 Jun 2009 20:26:42 +0200 (CEST) Date: Mon, 29 Jun 2009 20:26:42 +0200 From: Roland Smith To: Karsten Thygesen Message-ID: <20090629182642.GA3248@slackbox.xs4all.nl> References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-amd64@freebsd.org Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 18:43:03 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 29, 2009 at 12:19:44PM +0200, Karsten Thygesen wrote: > Hi >=20 > We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is =20 > problems running Netvault. >=20 > Netvault only support FreeBSD in 32bit (and I can verify, that it =20 > works just fine here), so we are on out own with 64bit support. >=20 > I'm quite new to 64bit edition of FreeBSD, so there might be something = =20 > simple, that I do not know about, but when I try to run one of the =20 > netvault binaries, I get this error: >=20 > [karthy@karthywork ~]$ ./txtconfig > ELF interpreter /libexec/ld-elf.so.1 not found > Abort trap: 6 AFAIK, a 32-bit app should be looking for /libexec/ld-elf32.so.1! Does /libexec/ld-elf32.so.1 exist? Are there any libraries in /usr/lib32? If not, you need to install or build 32-bit compatible libraries. Not just the system libraries (you should be able to get those from the install CD with sysinstall), but also any 3rd party libraries that netvault requires! > [karthy@karthywork ~]$ ls -l /libexec/ld-elf.so.1 > -r-xr-xr-x 1 root wheel 198456 Jun 29 11:32 /libexec/ld-elf.so.1 > [karthy@karthywork ~]$ file txtconfig > txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1 =20 > (FreeBSD), dynamically linked (uses shared libs), stripped >=20 > [karthy@karthywork ~]$ uname -a > FreeBSD karthywork.netic.dk 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: =20 > Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/=20 > usr/obj/usr/src/sys/GENERIC amd64 Seems that you are using a GENERIC kernel. That does include 32-bit compatibility.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpJB2IACgkQEnfvsMMhpyXK2wCggWwlVWbo8BFpt89Hr073qc9M y8QAn1ijFk68u3eMV9546rlX9dg0rFd3 =r9j7 -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 20:30:20 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BAB3106566C; Mon, 29 Jun 2009 20:30:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 611DB8FC1D; Mon, 29 Jun 2009 20:30:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TKUKQ4081656; Mon, 29 Jun 2009 20:30:20 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5TKUKmb081644; Mon, 29 Jun 2009 20:30:20 GMT (envelope-from linimon) Date: Mon, 29 Jun 2009 20:30:20 GMT Message-Id: <200906292030.n5TKUKmb081644@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-bugs@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Mon, 29 Jun 2009 21:23:31 +0000 Cc: Subject: Re: bin/136161: sysinstall(8) installs wrong architecture on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 20:30:21 -0000 Old Synopsis: sysinstall installs wrong architecture New Synopsis: sysinstall(8) installs wrong architecture on amd64 Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jun 29 20:29:26 UTC 2009 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=136161 From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 00:40:05 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31037106566C; Tue, 30 Jun 2009 00:40:05 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from atmail-6.bnguk.net (atmail-6.bnguk.net [80.74.253.20]) by mx1.freebsd.org (Postfix) with ESMTP id B98B78FC12; Tue, 30 Jun 2009 00:40:04 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from 53-233.adsl.zetnet.co.uk ([194.247.53.233] helo=mail.chrishedley.com) by atmail-6.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1MLQiA-0008Az-JU; Tue, 30 Jun 2009 00:56:35 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.chrishedley.com (Postfix) with ESMTP id 7F6039342A; Tue, 30 Jun 2009 00:56:32 +0100 (BST) X-Virus-Scanned: amavisd-new at chrishedley.com Received: from mail.chrishedley.com ([127.0.0.1]) by localhost (mail.chrishedley.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uqWgM9SMJNjY; Tue, 30 Jun 2009 00:56:29 +0100 (BST) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.chrishedley.com (Postfix) with ESMTP id 404679340F; Tue, 30 Jun 2009 00:56:29 +0100 (BST) Date: Tue, 30 Jun 2009 00:56:29 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: freebsd-current@freebsd.org In-Reply-To: Message-ID: References: <4A2C124A.1050707@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 00:40:05 -0000 On Fri, 26 Jun 2009, Chris Hedley wrote: > On Fri, 26 Jun 2009, Chris Hedley wrote: >> On Sun, 7 Jun 2009, Tim Kientzle wrote: >>> * Latest checkout date of a kernel that does boot. >>> * Earliest checkout date of a kernel that doesn't boot. > ... >> As for the versions of the kernel, I've narrowed it down to a half-day >> window, which is hopefully useful: the cvsup-specified dates I have are >> 2009.02.18.12.00.00 (working) and 2009.02.19.00.00.00 (not working). > > Just to pontificate for a moment, I notice that there's quite a few changes > to the ATA subsystem that afternoon. This might be significant as the > Supermicro SATA controllers I use (a pair of AOC-SAT2-MV8 cards, 8 port PCI-X > things) aren't entirely trouble-free: when they're up and running they're > fine, but they don't reset on reboot, even with the current (? 1.0c, anyway) > firmware which causes problems rescanning the drives. This could be a > complete red herring, but I wondered if it may be related. I've been fiddling about with this a bit more and I'm not sure it's just a zfs problem as it seems gmirror also can't find its entries. Attempting to boot of a non-zfs partition also leads to it hanging near the end of the kernel's boot messages. Anybody got any ideas of how I can get my system or AOC-SAT2-MV8 to work with the post 18th Feb kernels? Or of any ddb wizardry to further probe it for what it might be doing while it's apparently thinking about things? Thanks in advance, Chris. From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 02:36:08 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3821065672; Tue, 30 Jun 2009 02:36:08 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from atmail-8.bnguk.net (atmail-8.bnguk.net [80.74.253.5]) by mx1.freebsd.org (Postfix) with ESMTP id C04028FC08; Tue, 30 Jun 2009 02:36:07 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from 53-233.adsl.zetnet.co.uk ([194.247.53.233] helo=mail.chrishedley.com) by atmail-8.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1MLTCX-0002ob-TP; Tue, 30 Jun 2009 03:36:06 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.chrishedley.com (Postfix) with ESMTP id 5C4B9920E9; Tue, 30 Jun 2009 03:36:05 +0100 (BST) X-Virus-Scanned: amavisd-new at chrishedley.com Received: from mail.chrishedley.com ([127.0.0.1]) by localhost (mail.chrishedley.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QesG4g7uU49S; Tue, 30 Jun 2009 03:36:03 +0100 (BST) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.chrishedley.com (Postfix) with ESMTP id C9CD4920CD; Tue, 30 Jun 2009 03:36:02 +0100 (BST) Date: Tue, 30 Jun 2009 03:36:02 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: Kip Macy In-Reply-To: <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> Message-ID: References: <4A2C124A.1050707@freebsd.org> <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 02:36:08 -0000 On Mon, 29 Jun 2009, Kip Macy wrote: > I went through the commits from that time period and identified > possible candidates: > > svn commit: r188755 - head/sys/dev/ata > > Remove unused variable. > > svn commit: r188761 - in stable/7: lib/libc lib/libc/string > lib/libc/sys sys sys/contrib/pf sys/dev/ath/ath_hal sys/d\ > ev/cxgb sys/kern sys/net sys/netinet sys/netinet6 sys/sys > > r188144: > Standardize the various prison_foo_ip[46] functions and prison_if to > return zero on success and an error code otherwise. The possible errors > are EADDRNOTAVAIL if an address being checked for doesn't match the > prison, and EAFNOSUPPORT if the prison doesn't have any addresses in > that address family. For most callers of these functions, use the > returned error code instead of e.g. a hard-coded EADDRNOTAVAIL or > EINVAL. > > > svn commit: r188763 - head/sys/dev/ata > Make ch->dma.free() called symmetrically to ch->dma.alloc(). > > svn commit: r188765 - in head/sys/dev/ata: . chipsets > > Log: > As soon as they called in only same one place (ata_pcichannel_attach()), > join allocate() and dmainit() atapci subdriver's channel initialization > methods into single ch_attach() method. > > > > As opposite to ch_attach() add new ch_detach() method to deallocate/disable > channel. > > svn commit: r188743 - head/sys/dev/aac > Log: > Use outbound message register 0 instead of mailbox 7 in > aac_{rx,rkt}_get_fwstatus, as done in Adaptec's vendor driver as well as > the Linux drivers. > > Submitted by: jkim, from Adaptec's driver Thanks for that--it reminded me I still have the aac drivers in my current kernel which I no longer need as I've long since removed that card, so I recompiled without and... well, still no change. But it did give me an opportunity to spot something weird which I hadn't noticed before, which is the device numbering: instead of getting the usual ad0-ad9 for my discs, the numbering was a bit peculiar, ad4, ad6 and so on, as if it were enumerating them according to each logical slot rather than doing them by discs as they're found. I thought I'd try and outwit it by setting vfs.root.mountfrom to /dev/ad4a (part of my boot gmirror set with a hopefully usable rescue subsystem on it) but all this did was cause it to renumber them again, this time starting at ad12. I think it's possible to use device.hints to force it to assign particular IDs to the discs but I'll have to wade through the documentation to figure out how it's done, assuming that's the problem, anyway. And there's still the oddity with my keyboard where it's as if the CTRL key is jammed down on newer kernels, which is another thing I need to fix if I want to use the debugger (or the console, for that matter...) So some inadvertent progress of sorts. Possibly. :) Chris. From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 01:54:39 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15247106568C for ; Tue, 30 Jun 2009 01:54:39 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id BD7458FC2A for ; Tue, 30 Jun 2009 01:54:38 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yxe11 with SMTP id 11so4499224yxe.3 for ; Mon, 29 Jun 2009 18:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=23P/HRiOOYXAqOQY9nx4dE6HoLEYExD4tN2IEqwsn+I=; b=q7j2lFpEEU0ysxZdBQ3aq/CvpM+IDqYTDEsWr90DwspluVaM+gOuqL4KkJ2rjiYX4c +12aGD7bQVGcP6wxGMRjkY8yImesI5fjhomLvvHXF8R8I6hFpAyK8JadLfBDxY/N4pxt wQHYSEHam1/hXYx38o7BDv/QI/PVTGqyTmg4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=sDYKQFdPw4iGPqtU22/9euFslNggHt/lMXURX+2G9/KzisPYO6zcRQXP7pXxYKUyPL 1B9DNMnlTuifJYs5JWnXTtY4uVXGf6scS3vmwB6LdWENENFwwgyEEOJN1qTLU3KF0Ydk FM/6oTs1Aj1VoJQVgbUyDiPh3zEc34XJR5hfY= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.11.14 with SMTP id 14mr10304053ank.81.1246325428505; Mon, 29 Jun 2009 18:30:28 -0700 (PDT) In-Reply-To: References: <4A2C124A.1050707@freebsd.org> Date: Mon, 29 Jun 2009 18:30:28 -0700 X-Google-Sender-Auth: c94f8a658a26b4f0 Message-ID: <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> From: Kip Macy To: Chris Hedley Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 30 Jun 2009 02:48:12 +0000 Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 01:54:39 -0000 On Mon, Jun 29, 2009 at 4:56 PM, Chris Hedley wrote: > On Fri, 26 Jun 2009, Chris Hedley wrote: >> >> On Fri, 26 Jun 2009, Chris Hedley wrote: >>> >>> On Sun, 7 Jun 2009, Tim Kientzle wrote: >>>> >>>> * Latest checkout date of a kernel that does boot. >>>> * Earliest checkout date of a kernel that doesn't boot. >> >> =A0 =A0 =A0 =A0... >>> >>> As for the versions of the kernel, I've narrowed it down to a half-day >>> window, which is hopefully useful: the cvsup-specified dates I have are >>> 2009.02.18.12.00.00 (working) and 2009.02.19.00.00.00 (not working). >> >> Just to pontificate for a moment, I notice that there's quite a few >> changes to the ATA subsystem that afternoon. =A0This might be significan= t as >> the Supermicro SATA controllers I use (a pair of AOC-SAT2-MV8 cards, 8 p= ort >> PCI-X things) aren't entirely trouble-free: when they're up and running >> they're fine, but they don't reset on reboot, even with the current (? 1= .0c, >> anyway) firmware which causes problems rescanning the drives. =A0This co= uld be >> a complete red herring, but I wondered if it may be related. > > I've been fiddling about with this a bit more and I'm not sure it's just = a > zfs problem as it seems gmirror also can't find its entries. =A0Attemptin= g to > boot of a non-zfs partition also leads to it hanging near the end of the > kernel's boot messages. > > Anybody got any ideas of how I can get my system or AOC-SAT2-MV8 to work > with the post 18th Feb kernels? =A0Or of any ddb wizardry to further prob= e it > for what it might be doing while it's apparently thinking about things? > I went through the commits from that time period and identified possible candidates: svn commit: r188755 - head/sys/dev/ata Remove unused variable. svn commit: r188761 - in stable/7: lib/libc lib/libc/string lib/libc/sys sys sys/contrib/pf sys/dev/ath/ath_hal sys/d\ ev/cxgb sys/kern sys/net sys/netinet sys/netinet6 sys/sys r188144: Standardize the various prison_foo_ip[46] functions and prison_if to return zero on success and an error code otherwise. The possible error= s are EADDRNOTAVAIL if an address being checked for doesn't match the prison, and EAFNOSUPPORT if the prison doesn't have any addresses in that address family. For most callers of these functions, use the returned error code instead of e.g. a hard-coded EADDRNOTAVAIL or EINVAL. svn commit: r188763 - head/sys/dev/ata Make ch->dma.free() called symmetrically to ch->dma.alloc(). svn commit: r188765 - in head/sys/dev/ata: . chipsets Log: As soon as they called in only same one place (ata_pcichannel_attach()), join allocate() and dmainit() atapci subdriver's channel initialization methods into single ch_attach() method. As opposite to ch_attach() add new ch_detach() method to deallocate/disabl= e channel. svn commit: r188743 - head/sys/dev/aac Log: Use outbound message register 0 instead of mailbox 7 in aac_{rx,rkt}_get_fwstatus, as done in Adaptec's vendor driver as well as the Linux drivers. Submitted by: jkim, from Adaptec's driver From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 09:35:46 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBB6A1065670; Tue, 30 Jun 2009 09:35:46 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 70C288FC26; Tue, 30 Jun 2009 09:35:46 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.20] (helo=10.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #92) id 1MLZkf-0001Sj-5H; Tue, 30 Jun 2009 11:35:45 +0200 Received: from tcc4c.t.pppool.de ([89.55.204.76]:52859 helo=ernst.jennejohn.org) by 10.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1MLZke-0007Aw-TQ; Tue, 30 Jun 2009 11:35:45 +0200 Date: Tue, 30 Jun 2009 11:35:44 +0200 From: Gary Jennejohn To: Chris Hedley Message-ID: <20090630113544.3e2bef31@ernst.jennejohn.org> In-Reply-To: References: <4A2C124A.1050707@freebsd.org> <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 09:35:47 -0000 On Tue, 30 Jun 2009 03:36:02 +0100 (BST) Chris Hedley wrote: > But it did give me an opportunity to spot something weird which I hadn't > noticed before, which is the device numbering: instead of getting the > usual ad0-ad9 for my discs, the numbering was a bit peculiar, ad4, ad6 and > so on, as if it were enumerating them according to each logical slot > rather than doing them by discs as they're found. > It does seem to number based on slot, whereby the driver for some reason acts as though SATA has master/slave disks, which of course it doesn't. You can get back to the old behavior by putting "options ATA_STATIC_ID" into your kernel config file. --- Gary Jennejohn From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 14:26:07 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDD091065672; Tue, 30 Jun 2009 14:26:07 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from atmail-7.bnguk.net (atmail-7.bnguk.net [80.74.253.4]) by mx1.freebsd.org (Postfix) with ESMTP id A4B578FC13; Tue, 30 Jun 2009 14:26:07 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from 53-233.adsl.zetnet.co.uk ([194.247.53.233] helo=mail.chrishedley.com) by atmail-7.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1MLeHd-0004So-Mi; Tue, 30 Jun 2009 15:26:05 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.chrishedley.com (Postfix) with ESMTP id 6C23D935E1; Tue, 30 Jun 2009 15:26:02 +0100 (BST) X-Virus-Scanned: amavisd-new at chrishedley.com Received: from mail.chrishedley.com ([127.0.0.1]) by localhost (mail.chrishedley.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6HM3jVonj3er; Tue, 30 Jun 2009 15:25:59 +0100 (BST) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.chrishedley.com (Postfix) with ESMTP id 1ADFC935C7; Tue, 30 Jun 2009 15:25:59 +0100 (BST) Date: Tue, 30 Jun 2009 15:25:59 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: Gary Jennejohn In-Reply-To: <20090630113544.3e2bef31@ernst.jennejohn.org> Message-ID: References: <4A2C124A.1050707@freebsd.org> <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> <20090630113544.3e2bef31@ernst.jennejohn.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 14:26:08 -0000 On Tue, 30 Jun 2009, Gary Jennejohn wrote: > It does seem to number based on slot, whereby the driver for some reason > acts as though SATA has master/slave disks, which of course it doesn't. > > You can get back to the old behavior by putting "options ATA_STATIC_ID" > into your kernel config file. Hmm... weirdly, I noticed that /after/ putting that line into my config; maybe I should try again without it and see what happens...? I think I'll do that a bit later today and report back if there's any difference. From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 15:57:35 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3857C1065674; Tue, 30 Jun 2009 15:57:35 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id B32088FC28; Tue, 30 Jun 2009 15:57:34 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #92) id 1MLfi8-0007vm-GH; Tue, 30 Jun 2009 17:57:32 +0200 Received: from tac42.t.pppool.de ([89.55.172.66]:57084 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1MLfi8-0003N5-4V; Tue, 30 Jun 2009 17:57:32 +0200 Date: Tue, 30 Jun 2009 17:57:31 +0200 From: Gary Jennejohn To: Chris Hedley Message-ID: <20090630175731.4c589f80@ernst.jennejohn.org> In-Reply-To: References: <4A2C124A.1050707@freebsd.org> <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> <20090630113544.3e2bef31@ernst.jennejohn.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 15:57:35 -0000 On Tue, 30 Jun 2009 15:25:59 +0100 (BST) Chris Hedley wrote: > On Tue, 30 Jun 2009, Gary Jennejohn wrote: > > It does seem to number based on slot, whereby the driver for some reason > > acts as though SATA has master/slave disks, which of course it doesn't. > > > > You can get back to the old behavior by putting "options ATA_STATIC_ID" > > into your kernel config file. > > Hmm... weirdly, I noticed that /after/ putting that line into my config; > maybe I should try again without it and see what happens...? I think I'll > do that a bit later today and report back if there's any difference. Ah, yes. Now that I think about it again, you're right. That's also when I started seeing it. I'm now running mav's ata-cam patches and took ATA_STATIC_ID out of my config file. I'd sort of forgotten when/why I'd done it. Sorry for the confusion. --- Gary Jennejohn From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 30 21:23:00 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE80B106564A; Tue, 30 Jun 2009 21:23:00 +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 848D68FC15; Tue, 30 Jun 2009 21:23:00 +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 n5ULMwM8056788; Tue, 30 Jun 2009 17:22:58 -0400 (EDT) (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 n5ULMvAV081476; Tue, 30 Jun 2009 17:22:57 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 97C3F7302F; Tue, 30 Jun 2009 17:22:57 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090630212257.97C3F7302F@freebsd-current.sentex.ca> Date: Tue, 30 Jun 2009 17:22:57 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 21:23:01 -0000 TB --- 2009-06-30 19:20:01 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-06-30 19:20:01 - starting HEAD tinderbox run for amd64/amd64 TB --- 2009-06-30 19:20:01 - cleaning the object tree TB --- 2009-06-30 19:21:14 - cvsupping the source tree TB --- 2009-06-30 19:21:14 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2009-06-30 19:21:23 - building world TB --- 2009-06-30 19:21:23 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-30 19:21:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-30 19:21:23 - TARGET=amd64 TB --- 2009-06-30 19:21:23 - TARGET_ARCH=amd64 TB --- 2009-06-30 19:21:23 - TZ=UTC TB --- 2009-06-30 19:21:23 - __MAKE_CONF=/dev/null TB --- 2009-06-30 19:21:23 - cd /src TB --- 2009-06-30 19:21:23 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 30 19:21:24 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 >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Tue Jun 30 21:22:01 UTC 2009 TB --- 2009-06-30 21:22:02 - generating LINT kernel config TB --- 2009-06-30 21:22:02 - cd /src/sys/amd64/conf TB --- 2009-06-30 21:22:02 - /usr/bin/make -B LINT TB --- 2009-06-30 21:22:02 - building LINT kernel TB --- 2009-06-30 21:22:02 - MAKEOBJDIRPREFIX=/obj TB --- 2009-06-30 21:22:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-06-30 21:22:02 - TARGET=amd64 TB --- 2009-06-30 21:22:02 - TARGET_ARCH=amd64 TB --- 2009-06-30 21:22:02 - TZ=UTC TB --- 2009-06-30 21:22:02 - __MAKE_CONF=/dev/null TB --- 2009-06-30 21:22:02 - cd /src TB --- 2009-06-30 21:22:02 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 30 21:22:02 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 -------------------------------------------------------------- cd /obj/amd64/src/sys/LINT; MAKEOBJDIRPREFIX=/obj/amd64 MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/obj/amd64/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/obj/amd64/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/obj/amd64/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/obj/amd64/src/tmp VERSION="FreeBSD 8.0-CURRENT i386 800003" INSTALL="sh /src/tools/install.sh" PATH=/obj/amd64/src/tmp/legacy/usr/sbin:/obj/amd64/src/tmp/legacy/usr/bin:/obj/amd64/src/tmp/legacy/usr/games:/obj/amd64/src/tmp/usr/sbin:/obj/amd64/src/tmp/usr/bin:/obj/amd64/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 /usr/bin/make KERNEL=kernel depend -DNO_MODULES_OBJ machine -> /src/sys/amd64/include cc -c -O2 -frename-registers -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 -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/contrib/opensolaris/compat -I/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector /src/sys/amd64/amd64/g enassym.c /src/sys/amd64/amd64/genassym.c:67:23: error: nfs/rpcv2.h: No such file or directory *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-06-30 21:22:57 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-06-30 21:22:57 - ERROR: failed to build lint kernel TB --- 2009-06-30 21:22:57 - 5709.74 user 598.67 system 7376.29 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 07:02:32 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA49E106564A; Wed, 1 Jul 2009 07:02: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 C0A948FC13; Wed, 1 Jul 2009 07:02: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 n6172UuW097551; Wed, 1 Jul 2009 03:02:30 -0400 (EDT) (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 n6172Un3062594; Wed, 1 Jul 2009 03:02:30 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 076767302F; Wed, 1 Jul 2009 03:02:29 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090701070230.076767302F@freebsd-current.sentex.ca> Date: Wed, 1 Jul 2009 03:02:29 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 07:02:33 -0000 TB --- 2009-07-01 05:00:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-07-01 05:00:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2009-07-01 05:00:00 - cleaning the object tree TB --- 2009-07-01 05:01:03 - cvsupping the source tree TB --- 2009-07-01 05:01:03 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2009-07-01 05:01:10 - building world TB --- 2009-07-01 05:01:10 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-01 05:01:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-01 05:01:10 - TARGET=amd64 TB --- 2009-07-01 05:01:10 - TARGET_ARCH=amd64 TB --- 2009-07-01 05:01:10 - TZ=UTC TB --- 2009-07-01 05:01:10 - __MAKE_CONF=/dev/null TB --- 2009-07-01 05:01:10 - cd /src TB --- 2009-07-01 05:01:10 - /usr/bin/make -B buildworld >>> World build started on Wed Jul 1 05:01:12 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 >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Wed Jul 1 07:01:31 UTC 2009 TB --- 2009-07-01 07:01:31 - generating LINT kernel config TB --- 2009-07-01 07:01:31 - cd /src/sys/amd64/conf TB --- 2009-07-01 07:01:31 - /usr/bin/make -B LINT TB --- 2009-07-01 07:01:31 - building LINT kernel TB --- 2009-07-01 07:01:31 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-01 07:01:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-01 07:01:31 - TARGET=amd64 TB --- 2009-07-01 07:01:31 - TARGET_ARCH=amd64 TB --- 2009-07-01 07:01:31 - TZ=UTC TB --- 2009-07-01 07:01:31 - __MAKE_CONF=/dev/null TB --- 2009-07-01 07:01:31 - cd /src TB --- 2009-07-01 07:01:31 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jul 1 07:01:31 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 -------------------------------------------------------------- cd /obj/amd64/src/sys/LINT; MAKEOBJDIRPREFIX=/obj/amd64 MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/obj/amd64/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/obj/amd64/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/obj/amd64/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/obj/amd64/src/tmp VERSION="FreeBSD 8.0-CURRENT i386 800003" INSTALL="sh /src/tools/install.sh" PATH=/obj/amd64/src/tmp/legacy/usr/sbin:/obj/amd64/src/tmp/legacy/usr/bin:/obj/amd64/src/tmp/legacy/usr/games:/obj/amd64/src/tmp/usr/sbin:/obj/amd64/src/tmp/usr/bin:/obj/amd64/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 /usr/bin/make KERNEL=kernel depend -DNO_MODULES_OBJ machine -> /src/sys/amd64/include cc -c -O2 -frename-registers -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 -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/contrib/opensolaris/compat -I/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector /src/sys/amd64/amd64/g enassym.c /src/sys/amd64/amd64/genassym.c:67:23: error: nfs/rpcv2.h: No such file or directory *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-07-01 07:02:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-07-01 07:02:29 - ERROR: failed to build lint kernel TB --- 2009-07-01 07:02:29 - 5708.16 user 602.27 system 7349.05 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 07:16:38 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7C001065674 for ; Wed, 1 Jul 2009 07:16:38 +0000 (UTC) (envelope-from prvs=426ed4353=karthy@netic.dk) Received: from mxout02.netic.dk (mxout02.netic.dk [77.243.50.218]) by mx1.freebsd.org (Postfix) with ESMTP id 5FDDE8FC1F for ; Wed, 1 Jul 2009 07:16:37 +0000 (UTC) (envelope-from prvs=426ed4353=karthy@netic.dk) DomainKey-Signature: s=dk; d=netic.dk; c=simple; q=dns; h=X-IronPort-Anti-Spam-Filtered: X-IronPort-Anti-Spam-Result:X-IronPort-AV:Received:Cc: Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date: References:X-Mailer; b=ASlHxELWBZpiRY9T8Rm0C3D4ucf6zRa6/kAjWdzSklfvy6Z+baPk7+wZ oTNN4V6cHhMIpJWvwEJbENrAVvyZEQ==; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netic.dk; i=karthy@netic.dk; q=dns/txt; s=dkim; t=1246432598; x=1277968598; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Karsten=20Thygesen=20|Subject: =20Re:=20Netvault=20on=20FreeBSD-7.2=20AMD64|Date:=20Wed, =201=20Jul=202009=2008:47:00=20+0200|Message-Id:=20<39450 11B-1308-44E8-AB3D-F6BC224475C0@netic.dk>|To:=20Roland=20 Smith=20|Cc:=20freebsd-amd64@freebsd.or g|Mime-Version:=201.0=20(Apple=20Message=20framework=20v9 35.3)|Content-Transfer-Encoding:=207bit|In-Reply-To:=20<2 0090629182642.GA3248@slackbox.xs4all.nl>|References:=20<2 37A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk>=20<20090629 182642.GA3248@slackbox.xs4all.nl>; bh=7tOIhRfC6kz2t0ZhKRmZIM3+z3xW3lC5AKBh0h/TcUw=; b=ouceerBrzuyRwNkm4C5GQ6svXAxKJBqXO/Ow7aYck1NaJeZwb9lZ9uiB c3qjHvrvUzyP4uAe72D/NU2y6A6I0g==; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEAAyjSkpN8z4+/2dsb2JhbACBUc4zgkyBRAWBOA X-IronPort-AV: E=Sophos;i="4.42,321,1243807200"; d="scan'208";a="3087432" Received: from netic-fw.novipark.dk (HELO mackarthy02.netic.dk) ([77.243.62.62]) by mxout02.netic.dk with ESMTP/TLS/AES128-SHA; 01 Jul 2009 08:47:00 +0200 Message-Id: <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> From: Karsten Thygesen To: Roland Smith In-Reply-To: <20090629182642.GA3248@slackbox.xs4all.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 1 Jul 2009 08:47:00 +0200 References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> <20090629182642.GA3248@slackbox.xs4all.nl> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-amd64@freebsd.org Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 07:16:39 -0000 Hi Thanks a lot to all of you, who responded on my query. The solution was to install lib32 (I still wonder why I did de-select them during installation) as many of you pointed out. When I did this, the Netvault binaries could almost run, but they had problems finding their dynamic libraries, and after quite a lot of googling, I figured out, that I had to set LD_32_LIBRARY_PATH instead of LD_LIBRARY_PATH - that little, but crusial, difference took quite some hours to figure out. But after we got this knowledge, everything seems to work and we do now have Netvault on FreeBSD-7.2-amd64 (but it is an unsupported platform from Bakbone - come on, Bakbone, get up to speed!). A small wish is, that it would be wonderful if the FreeBSD handbook could be extended with a small chapter on how to run 32 bit binaries on 64 bit platforms - especially hints like LD_32_LIBRARY_PATH would be nice to know about... :-) But thanks guys - the FreeBSD community is the best!! Karsten On Jun 29, 2009, at 20:26 , Roland Smith wrote: > On Mon, Jun 29, 2009 at 12:19:44PM +0200, Karsten Thygesen wrote: >> Hi >> >> We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is >> problems running Netvault. >> >> Netvault only support FreeBSD in 32bit (and I can verify, that it >> works just fine here), so we are on out own with 64bit support. >> >> I'm quite new to 64bit edition of FreeBSD, so there might be >> something >> simple, that I do not know about, but when I try to run one of the >> netvault binaries, I get this error: >> >> [karthy@karthywork ~]$ ./txtconfig >> ELF interpreter /libexec/ld-elf.so.1 not found >> Abort trap: 6 > > AFAIK, a 32-bit app should be looking for /libexec/ld-elf32.so.1! > > Does /libexec/ld-elf32.so.1 exist? Are there any libraries in /usr/ > lib32? > If not, you need to install or build 32-bit compatible libraries. Not > just the system libraries (you should be able to get those from the > install CD with sysinstall), but also any 3rd party libraries that > netvault requires! > >> [karthy@karthywork ~]$ ls -l /libexec/ld-elf.so.1 >> -r-xr-xr-x 1 root wheel 198456 Jun 29 11:32 /libexec/ld-elf.so.1 > >> [karthy@karthywork ~]$ file txtconfig >> txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1 >> (FreeBSD), dynamically linked (uses shared libs), stripped >> >> [karthy@karthywork ~]$ uname -a >> FreeBSD karthywork.netic.dk 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: >> Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/ >> usr/obj/usr/src/sys/GENERIC amd64 > > Seems that you are using a GENERIC kernel. That does include 32-bit > compatibility. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much > appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: > C321A725) From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 08:30:37 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C72CC1065672; Wed, 1 Jul 2009 08:30:37 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (router.rabson.org [80.177.232.241]) by mx1.freebsd.org (Postfix) with ESMTP id 604918FC1B; Wed, 1 Jul 2009 08:30:33 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:225:ff:feed:9426] (unknown [IPv6:2001:470:909f:1:225:ff:feed:9426]) by itchy.rabson.org (Postfix) with ESMTP id 61E2E5D0E; Wed, 1 Jul 2009 09:12:50 +0100 (BST) Message-Id: From: Doug Rabson To: FreeBSD Tinderbox In-Reply-To: <20090701070230.076767302F@freebsd-current.sentex.ca> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 1 Jul 2009 09:12:50 +0100 References: <20090701070230.076767302F@freebsd-current.sentex.ca> X-Mailer: Apple Mail (2.935.3) X-Mailman-Approved-At: Wed, 01 Jul 2009 14:02:57 +0000 Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 08:30:38 -0000 Fixed. On 1 Jul 2009, at 08:02, FreeBSD Tinderbox wrote: > TB --- 2009-07-01 05:00:00 - tinderbox 2.6 running on freebsd- > current.sentex.ca > TB --- 2009-07-01 05:00:00 - starting HEAD tinderbox run for amd64/ > amd64 > TB --- 2009-07-01 05:00:00 - cleaning the object tree > TB --- 2009-07-01 05:01:03 - cvsupping the source tree > TB --- 2009-07-01 05:01:03 - /usr/bin/csup -z -r 3 -g -L 1 -h > localhost -s /tinderbox/HEAD/amd64/amd64/supfile > TB --- 2009-07-01 05:01:10 - building world > TB --- 2009-07-01 05:01:10 - MAKEOBJDIRPREFIX=/obj > TB --- 2009-07-01 05:01:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2009-07-01 05:01:10 - TARGET=amd64 > TB --- 2009-07-01 05:01:10 - TARGET_ARCH=amd64 > TB --- 2009-07-01 05:01:10 - TZ=UTC > TB --- 2009-07-01 05:01:10 - __MAKE_CONF=/dev/null > TB --- 2009-07-01 05:01:10 - cd /src > TB --- 2009-07-01 05:01:10 - /usr/bin/make -B buildworld >>>> World build started on Wed Jul 1 05:01:12 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 >>>> stage 5.1: building 32 bit shim libraries >>>> World build completed on Wed Jul 1 07:01:31 UTC 2009 > TB --- 2009-07-01 07:01:31 - generating LINT kernel config > TB --- 2009-07-01 07:01:31 - cd /src/sys/amd64/conf > TB --- 2009-07-01 07:01:31 - /usr/bin/make -B LINT > TB --- 2009-07-01 07:01:31 - building LINT kernel > TB --- 2009-07-01 07:01:31 - MAKEOBJDIRPREFIX=/obj > TB --- 2009-07-01 07:01:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2009-07-01 07:01:31 - TARGET=amd64 > TB --- 2009-07-01 07:01:31 - TARGET_ARCH=amd64 > TB --- 2009-07-01 07:01:31 - TZ=UTC > TB --- 2009-07-01 07:01:31 - __MAKE_CONF=/dev/null > TB --- 2009-07-01 07:01:31 - cd /src > TB --- 2009-07-01 07:01:31 - /usr/bin/make -B buildkernel > KERNCONF=LINT >>>> Kernel build for LINT started on Wed Jul 1 07:01:31 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 > -------------------------------------------------------------- > cd /obj/amd64/src/sys/LINT; MAKEOBJDIRPREFIX=/obj/amd64 > MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/obj/ > amd64/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/obj/amd64/src/tmp/ > legacy/usr/share/groff_font GROFF_TMAC_PATH=/obj/amd64/src/tmp/ > legacy/usr/share/tmac _SHLIBDIRPREFIX=/obj/amd64/src/tmp > VERSION="FreeBSD 8.0-CURRENT i386 800003" INSTALL="sh /src/tools/ > install.sh" PATH=/obj/amd64/src/tmp/legacy/usr/sbin:/obj/amd64/src/ > tmp/legacy/usr/bin:/obj/amd64/src/tmp/legacy/usr/games:/obj/amd64/ > src/tmp/usr/sbin:/obj/amd64/src/tmp/usr/bin:/obj/amd64/src/tmp/usr/ > games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 /usr/bin/make > KERNEL=kernel depend -DNO_MODULES_OBJ > machine -> /src/sys/amd64/include > cc -c -O2 -frename-registers -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 -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf - > I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/ > ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/ > gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/contrib/ > opensolaris/compat -I/src/sys/dev/cxgb -D_KERNEL - > DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline- > limit=8000 --param inline-unit-growth=100 --param large-function- > growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno- > builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone - > mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft- > float -fno-asynchronous-unwind-tables -ffreestanding -fstack- > protector /src/sys/amd64/amd64/g > enassym.c > /src/sys/amd64/amd64/genassym.c:67:23: error: nfs/rpcv2.h: No such > file or directory > *** Error code 1 > > Stop in /obj/amd64/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2009-07-01 07:02:29 - WARNING: /usr/bin/make returned exit > code 1 > TB --- 2009-07-01 07:02:29 - ERROR: failed to build lint kernel > TB --- 2009-07-01 07:02:29 - 5708.16 user 602.27 system 7349.05 real > > > http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > " From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 13:50:02 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4B081065670 for ; Wed, 1 Jul 2009 13:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC238FC15 for ; Wed, 1 Jul 2009 13:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n61Do23P080021 for ; Wed, 1 Jul 2009 13:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n61Do2op080020; Wed, 1 Jul 2009 13:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 1 Jul 2009 13:50:02 GMT Resent-Message-Id: <200907011350.n61Do2op080020@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Stas Sușcov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36761065680 for ; Wed, 1 Jul 2009 13:46:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D17B28FC08 for ; Wed, 1 Jul 2009 13:46:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n61DkdjZ075474 for ; Wed, 1 Jul 2009 13:46:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n61Dkd9o075472; Wed, 1 Jul 2009 13:46:39 GMT (envelope-from nobody) Message-Id: <200907011346.n61Dkd9o075472@www.freebsd.org> Date: Wed, 1 Jul 2009 13:46:39 GMT From: "Stas Sușcov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Wed, 01 Jul 2009 14:28:51 +0000 Cc: Subject: amd64/136218: Exported ZFS pools can't be imported into (Open)Solaris X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 13:50:03 -0000 >Number: 136218 >Category: amd64 >Synopsis: Exported ZFS pools can't be imported into (Open)Solaris >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 01 13:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stas Sușcov >Release: 7.2 to 8-current >Organization: UTCN >Environment: >Description: # zpool import -f pool: tank id: 2794438138141825953 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: http://www.sun.com/msg/ZFS-8000-5E config: tank UNAVAIL insufficient replicas raidz1 UNAVAIL corrupted data c0t1d0p0 ONLINE c0t2d0s8 UNAVAIL corrupted data c0t3d0s2 ONLINE # zpool import -f tank cannot import 'tank': no such pool or dataset # zdb -l /dev/dsk/c0t2d0s8 -------------------------------------------- LABEL 0 -------------------------------------------- version=13 name='tank' state=1 txg=2563123 pool_guid=2794438138141825953 hostname='' top_guid=15872320949015295970 guid=6991675266341970117 vdev_tree type='raidz' id=0 guid=15872320949015295970 nparity=1 metaslab_array=14 metaslab_shift=34 ashift=9 asize=3000599838720 is_log=0 children[0] type='disk' id=0 guid=7503403694738120161 path='/dev/da0' whole_disk=0 DTL=142 children[1] type='disk' id=1 guid=6991675266341970117 path='/dev/da1' whole_disk=0 DTL=139 children[2] type='disk' id=2 guid=12393268613817866398 path='/dev/da2' whole_disk=0 DTL=141 -------------------------------------------- LABEL 1 -------------------------------------------- version=13 name='tank' state=1 txg=2563123 pool_guid=2794438138141825953 hostname='' top_guid=15872320949015295970 guid=6991675266341970117 vdev_tree type='raidz' id=0 guid=15872320949015295970 nparity=1 metaslab_array=14 metaslab_shift=34 ashift=9 asize=3000599838720 is_log=0 children[0] type='disk' id=0 guid=7503403694738120161 path='/dev/da0' whole_disk=0 DTL=142 children[1] type='disk' id=1 guid=6991675266341970117 path='/dev/da1' whole_disk=0 DTL=139 children[2] type='disk' id=2 guid=12393268613817866398 path='/dev/da2' whole_disk=0 DTL=141 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3 >How-To-Repeat: Pool `tank` was created in FreeBSD 7.2-R. After it I booted into FreeBSD 8-current and imported and upgraded the pool to V.13. After I installed Nexenta CP2 (formerly OpenSolaris Nevada build 20081207) which uses ZFS V.14. The full description (inside Nexenta) is above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 17:44:28 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 736701065672 for ; Wed, 1 Jul 2009 17:44:28 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 073398FC17 for ; Wed, 1 Jul 2009 17:44:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n61HiQlG008929; Wed, 1 Jul 2009 19:44:26 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 47A9EBA9B; Wed, 1 Jul 2009 19:44:26 +0200 (CEST) Date: Wed, 1 Jul 2009 19:44:26 +0200 From: Roland Smith To: Karsten Thygesen Message-ID: <20090701174426.GB37269@slackbox.xs4all.nl> References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> <20090629182642.GA3248@slackbox.xs4all.nl> <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-amd64@freebsd.org Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 17:44:28 -0000 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2009 at 08:47:00AM +0200, Karsten Thygesen wrote: > Hi >=20 > Thanks a lot to all of you, who responded on my query. The solution =20 > was to install lib32 (I still wonder why I did de-select them during =20 > installation) as many of you pointed out. >=20 > When I did this, the Netvault binaries could almost run, but they had =20 > problems finding their dynamic libraries, and after quite a lot of =20 > googling, I figured out, that I had to set LD_32_LIBRARY_PATH instead =20 > of LD_LIBRARY_PATH - that little, but crusial, difference took quite =20 > some hours to figure out. But after we got this knowledge, everything =20 > seems to work and we do now have Netvault on FreeBSD-7.2-amd64 (but it = =20 > is an unsupported platform from Bakbone - come on, Bakbone, get up to =20 > speed!). >=20 > A small wish is, that it would be wonderful if the FreeBSD handbook =20 > could be extended with a small chapter on how to run 32 bit binaries =20 > on 64 bit platforms - especially hints like LD_32_LIBRARY_PATH would =20 > be nice to know about... :-) The thing is, I don't think you should have to set LD_32_LIBRARY_PATH. Did you reboot after installing the 32 bits libraries? Because if you do, /etc/rc.d/ldconfig should run ldconfig for the 32-bits libraries in /usr/lib32. See ldconfig32_paths in /etc/defaults/rc.conf and /etc/rc.d/ldconfig. Alternatively you can run '/etc/rc.d/ldconfig start' as root after installing the libraries. If that doesn't work, it would be a bug. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpLoHoACgkQEnfvsMMhpyVF8ACfZfZ42LjB9reyWEw12Op6IDvW JtMAoIhGCxbjsf+WiJPMNNdp35yfVTz/ =2QI9 -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw-- From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 19:16:30 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38D5F1065670 for ; Wed, 1 Jul 2009 19:16:30 +0000 (UTC) (envelope-from prvs=426ed4353=karthy@netic.dk) Received: from mxout02.netic.dk (mxout02.netic.dk [77.243.50.218]) by mx1.freebsd.org (Postfix) with ESMTP id A28EF8FC1F for ; Wed, 1 Jul 2009 19:16:29 +0000 (UTC) (envelope-from prvs=426ed4353=karthy@netic.dk) DomainKey-Signature: s=dk; d=netic.dk; c=simple; q=dns; h=X-IronPort-Anti-Spam-Filtered: X-IronPort-Anti-Spam-Result:X-IronPort-AV:Received:Cc: Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date: References:X-Mailer; b=Ru0svOeAh0AUH/GcPeDQ7ViN828WGyV/Qw2m6yw119+poOQBGgUd8bwF RkokDb11kCcaoHvdPiMZSDMzxmkfUQ==; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netic.dk; i=karthy@netic.dk; q=dns/txt; s=dkim; t=1246475790; x=1278011790; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Karsten=20Thygesen=20|Subject: =20Re:=20Netvault=20on=20FreeBSD-7.2=20AMD64|Date:=20Wed, =201=20Jul=202009=2021:16:26=20+0200|Message-Id:=20|To:=20Roland=20 Smith=20|Cc:=20freebsd-amd64@freebsd.or g|Mime-Version:=201.0=20(Apple=20Message=20framework=20v9 35.3)|Content-Transfer-Encoding:=207bit|In-Reply-To:=20<2 0090701174426.GB37269@slackbox.xs4all.nl>|References:=20< 237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk>=20<2009062 9182642.GA3248@slackbox.xs4all.nl>=20<3945011B-1308-44E8- AB3D-F6BC224475C0@netic.dk>=20<20090701174426.GB37269@sla ckbox.xs4all.nl>; bh=G18XozlcbNfIEz7rFXLmAn3kWR0rkdy+5lqrUG5/tHI=; b=Rq93pfvH/2k/TLS03pB0Llm5K6EsbUHBeVhFksotOqaWhgtGLrXADr7E VszKwxdS4wAZTw8BG3TvpSsySVQl0A==; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoBAM9SS0pN1a1h/2dsb2JhbAAI0TKEEQWBOA X-IronPort-AV: E=Sophos;i="4.42,327,1243807200"; d="scan'208";a="3091802" Received: from 0x4dd5ad61.adsl.cybercity.dk (HELO [192.168.1.115]) ([77.213.173.97]) by mxout02.netic.dk with ESMTP/TLS/AES128-SHA; 01 Jul 2009 21:16:27 +0200 Message-Id: From: Karsten Thygesen To: Roland Smith In-Reply-To: <20090701174426.GB37269@slackbox.xs4all.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 1 Jul 2009 21:16:26 +0200 References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> <20090629182642.GA3248@slackbox.xs4all.nl> <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> <20090701174426.GB37269@slackbox.xs4all.nl> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-amd64@freebsd.org Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 19:16:30 -0000 Hi Ronald Oh, I guess I wrote it a bit confusing - the binaries could find the lib32 libraries just fine, but they also need some netvault specific libraries, which is stored in a vendor specific directory - I had to set LD_32_LIBRARY_PATH to point to that library - there was no problems with the compatibility libraries. Karsten On Jul 1, 2009, at 19:44 , Roland Smith wrote: > On Wed, Jul 01, 2009 at 08:47:00AM +0200, Karsten Thygesen wrote: >> Hi >> >> Thanks a lot to all of you, who responded on my query. The solution >> was to install lib32 (I still wonder why I did de-select them during >> installation) as many of you pointed out. >> >> When I did this, the Netvault binaries could almost run, but they had >> problems finding their dynamic libraries, and after quite a lot of >> googling, I figured out, that I had to set LD_32_LIBRARY_PATH instead >> of LD_LIBRARY_PATH - that little, but crusial, difference took quite >> some hours to figure out. But after we got this knowledge, everything >> seems to work and we do now have Netvault on FreeBSD-7.2-amd64 (but >> it >> is an unsupported platform from Bakbone - come on, Bakbone, get up to >> speed!). >> >> A small wish is, that it would be wonderful if the FreeBSD handbook >> could be extended with a small chapter on how to run 32 bit binaries >> on 64 bit platforms - especially hints like LD_32_LIBRARY_PATH would >> be nice to know about... :-) > > The thing is, I don't think you should have to set LD_32_LIBRARY_PATH. > > Did you reboot after installing the 32 bits libraries? Because if you > do, /etc/rc.d/ldconfig should run ldconfig for the 32-bits libraries > in > /usr/lib32. See ldconfig32_paths in /etc/defaults/rc.conf and > /etc/rc.d/ldconfig. > > Alternatively you can run '/etc/rc.d/ldconfig start' as root after > installing the libraries. > > If that doesn't work, it would be a bug. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much > appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: > C321A725) From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 21:50:03 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F06D1065670 for ; Wed, 1 Jul 2009 21:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC708FC0A for ; Wed, 1 Jul 2009 21:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n61Lo2Ac051297 for ; Wed, 1 Jul 2009 21:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n61Lo2xt051296; Wed, 1 Jul 2009 21:50:02 GMT (envelope-from gnats) Date: Wed, 1 Jul 2009 21:50:02 GMT Message-Id: <200907012150.n61Lo2xt051296@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Stas SUSHKOV X-Mailman-Approved-At: Wed, 01 Jul 2009 22:09:31 +0000 Cc: Subject: Re: amd64/136218: Exported ZFS pools can't be imported into (Open)Solaris X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stas SUSHKOV List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 21:50:03 -0000 The following reply was made to PR amd64/136218; it has been noted by GNATS. From: Stas SUSHKOV To: bug-followup@FreeBSD.org, stas@net.utcluj.ro Cc: Cristi Magherusan , pjd@freebsd.org Subject: Re: amd64/136218: Exported ZFS pools can't be imported into (Open)Solaris Date: Thu, 02 Jul 2009 00:41:49 +0300 Finally I was able to import the poll on OpenSolaris 2009.06 (snv_111b) with ZFS v.14. I had to remove all slices from /dev/rdsk and than retry zpool import. This helped me: # mkdir /tmp/bad_devs # cd /tmp/bad_devs # for i in /dev/rdsk/c7t[0123456789]d0s*; do mv $i ./; done # zpool import -f tank # zpool upgrade -V 14 tank # zpool export tank Thanks. -- () Campania Panglicii în ASCII /\ http://stas.nerd.ro/ascii/ From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 2 10:41:41 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19B7E1065673; Thu, 2 Jul 2009 10:41:41 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E3BF38FC1E; Thu, 2 Jul 2009 10:41:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n62AfeVd089457; Thu, 2 Jul 2009 10:41:40 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n62AfegV089453; Thu, 2 Jul 2009 10:41:40 GMT (envelope-from linimon) Date: Thu, 2 Jul 2009 10:41:40 GMT Message-Id: <200907021041.n62AfegV089453@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Thu, 02 Jul 2009 13:12:14 +0000 Cc: Subject: Re: kern/136218: [zfs] Exported ZFS pools can't be imported into (Open)Solaris X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 10:41:41 -0000 Old Synopsis: Exported ZFS pools can't be imported into (Open)Solaris New Synopsis: [zfs] Exported ZFS pools can't be imported into (Open)Solaris Responsible-Changed-From-To: freebsd-amd64->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jul 2 10:41:22 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136218 From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 2 16:40:05 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26AD8106567C for ; Thu, 2 Jul 2009 16:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 034748FC12 for ; Thu, 2 Jul 2009 16:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n62Ge49H063558 for ; Thu, 2 Jul 2009 16:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n62Ge4ug063557; Thu, 2 Jul 2009 16:40:04 GMT (envelope-from gnats) Resent-Date: Thu, 2 Jul 2009 16:40:04 GMT Resent-Message-Id: <200907021640.n62Ge4ug063557@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Bishop Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70881065670 for ; Thu, 2 Jul 2009 16:30:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B19238FC15 for ; Thu, 2 Jul 2009 16:30:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n62GU3Q6099712 for ; Thu, 2 Jul 2009 16:30:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n62GU32G099711; Thu, 2 Jul 2009 16:30:03 GMT (envelope-from nobody) Message-Id: <200907021630.n62GU32G099711@www.freebsd.org> Date: Thu, 2 Jul 2009 16:30:03 GMT From: Tim Bishop To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Thu, 02 Jul 2009 16:51:34 +0000 Cc: Subject: amd64/136251: xn0 doesn't DHCP X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 16:40:05 -0000 >Number: 136251 >Category: amd64 >Synopsis: xn0 doesn't DHCP >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 02 16:40:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: FreeBSD xenserver.kent.ac.uk 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Jul 1 22:55:53 BST 2009 tdb@xenserver.kent.ac.uk:/usr/obj/usr/src/sys/XENHVM amd64 Running 8.0-CURRENT as of yesterday on Citrix XenServer 5.5.0. >Description: When using the amd64 XENHVM kernel (which has the xenpci device) the machine has a network device called xn0: xenpci0: port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff irq 30 at device 3.0 on pci0 xenbus0: on xenpci0 xn0: at device/vif/0 on xenbus0 xn0: Ethernet address: 36:ab:02:63:a3:ff However, this device doesn't behave like a normal network device, so adding the following to rc.conf doesn't do DHCP: ifconfig_xn0="DHCP" After some poking around I realised dhclient was launched by devd. However, the xn0 device has properties which don't match the existing rules: setting system=IFNET setting subsystem=xn0 setting type=ATTACH >How-To-Repeat: See above: 8.0-CURRENT, amd64 XENHVM kernel, Citrix XenServer. >Fix: I've worked around this problem by adding the following entry to /etc/devd.conf at line 77 (after the IFNET/LINK_UP/802.11 section): notify 0 { match "system" "IFNET"; match "subsystem" "xn[0-9]+"; match "type" "ATTACH"; action "/etc/rc.d/dhclient quietstart $subsystem"; }; This is my first look at devd, so apologies if this fix isn't appropriate. It'd be great if this fix could make it in to 8.0. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 2 17:15:19 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C509D106564A; Thu, 2 Jul 2009 17:15:19 +0000 (UTC) (envelope-from tdb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C00D8FC0C; Thu, 2 Jul 2009 17:15:19 +0000 (UTC) (envelope-from tdb@FreeBSD.org) Received: from freefall.freebsd.org (tdb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n62HFJed092714; Thu, 2 Jul 2009 17:15:19 GMT (envelope-from tdb@freefall.freebsd.org) Received: (from tdb@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n62HFJbO092710; Thu, 2 Jul 2009 17:15:19 GMT (envelope-from tdb) Date: Thu, 2 Jul 2009 17:15:19 GMT Message-Id: <200907021715.n62HFJbO092710@freefall.freebsd.org> To: tdb@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-xen@FreeBSD.org From: tdb@FreeBSD.org X-Mailman-Approved-At: Thu, 02 Jul 2009 18:17:36 +0000 Cc: Subject: Re: amd64/136251: xn0 doesn't DHCP X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 17:15:20 -0000 Synopsis: xn0 doesn't DHCP Responsible-Changed-From-To: freebsd-amd64->freebsd-xen Responsible-Changed-By: tdb Responsible-Changed-When: Thu Jul 2 17:15:19 UTC 2009 Responsible-Changed-Why: Reassign my PR to a more appropriate group. http://www.freebsd.org/cgi/query-pr.cgi?pr=136251 From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 3 07:50:04 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF68C1065673 for ; Fri, 3 Jul 2009 07:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B38128FC15 for ; Fri, 3 Jul 2009 07:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n637o4rd090417 for ; Fri, 3 Jul 2009 07:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n637o4S5090416; Fri, 3 Jul 2009 07:50:04 GMT (envelope-from gnats) Date: Fri, 3 Jul 2009 07:50:04 GMT Message-Id: <200907030750.n637o4S5090416@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Dominic Fandrey X-Mailman-Approved-At: Fri, 03 Jul 2009 13:36:07 +0000 Cc: Subject: Re: amd64/127276: ldd(1) invokes linux yes X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Fandrey List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 07:50:05 -0000 The following reply was made to PR amd64/127276; it has been noted by GNATS. From: Dominic Fandrey To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de Cc: Subject: Re: amd64/127276: ldd(1) invokes linux yes Date: Fri, 03 Jul 2009 09:22:37 +0200 How about documenting this behaviour in the manual page and closing this bug? I'm willing to write a patch if someone thinks this would be an acceptable solution. From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 3 18:31:00 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BEEF106564A for ; Fri, 3 Jul 2009 18:31:00 +0000 (UTC) (envelope-from ogreve@millennics.com) Received: from smtp-1.concepts.nl (smtp-1.concepts.nl [213.197.30.124]) by mx1.freebsd.org (Postfix) with ESMTP id 310A48FC19 for ; Fri, 3 Jul 2009 18:30:59 +0000 (UTC) (envelope-from ogreve@millennics.com) Received: from 5571ff42.ftth.concepts.nl ([85.113.255.66] helo=[192.168.1.106]) by smtp-1.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1MMnIf-0007cP-6g for freebsd-amd64@freebsd.org; Fri, 03 Jul 2009 20:15:53 +0200 Message-Id: From: Olaf Greve To: "freebsd-amd64@freebsd.org" Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (iPhone Mail 4A102) Content-Transfer-Encoding: 7bit Date: Fri, 3 Jul 2009 18:27:00 +0200 X-Mailer: iPhone Mail (4A102) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1MMnIf-0007cP-6g X-Concepts-MailScanner: Found to be clean X-Concepts-MailScanner-SpamCheck: X-Concepts-MailScanner-From: ogreve@millennics.com Subject: Howto do SW RAID? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 18:31:00 -0000 Hi guys, Firstly, thanks to the robustness of FreeBSD-AMD64 it's been many moons since I last found myself in need of help from the pros. :) However, such a situation has arissen now. Up until two weeks ago I was happily running the AMD64 version on my primary server and the i386 version on my secondary machine, with both of them using Adaptec SCSI hardware RAID arrays. All fine but for a failed disc in my secondary machine. Now, it was about time I'd revise the fallback machine anyway, and last week a server from work was phased out and given to me. :) Now, unfortunately I have precious little time to wipe the inferior Debian installation that's currently on it. ;) Some questions: 1-The BIOS lists it as having a Pentium 4 processor that mentions being EM64T compatible, so I think the AMD64 version should be the best choice, right? 2-Unfortunately the drives are not as fancy as my current servers. It has two SATA 160GB drives, set up in software RAID mode. For now, I want to set up fbsd in SW RAID mode too (too little time to buy other drives!). Can anyone explain me briefly how I can set it up? Tnx in advance and cheers, Olafo From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 3 19:46:33 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48119106564A for ; Fri, 3 Jul 2009 19:46:33 +0000 (UTC) (envelope-from ianjhart@ntlworld.com) Received: from queueout03-winn.ispmail.ntl.com (queueout03-winn.ispmail.ntl.com [81.103.221.33]) by mx1.freebsd.org (Postfix) with ESMTP id C44948FC0A for ; Fri, 3 Jul 2009 19:46:32 +0000 (UTC) (envelope-from ianjhart@ntlworld.com) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090703193020.IFVK5579.mtaout03-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Fri, 3 Jul 2009 20:30:20 +0100 Received: from cpc1-cove3-0-0-cust909.sol2.cable.ntl.com ([86.20.31.142]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090703193019.UHNG22934.aamtaout04-winn.ispmail.ntl.com@cpc1-cove3-0-0-cust909.sol2.cable.ntl.com> for ; Fri, 3 Jul 2009 20:30:19 +0100 X-Virus-Scanned: amavisd-new at cpc2-cove3-0-0-cust311.sol2.cable.ntl.com Received: from localhost (localhost [127.0.0.1]) by cpc1-cove3-0-0-cust909.sol2.cable.ntl.com (8.14.3/8.14.3) with ESMTP id n63JTwc9051769; Fri, 3 Jul 2009 20:29:58 +0100 (BST) (envelope-from ianjhart@cpc1-cove3-0-0-cust909.sol2.cable.ntl.com) Received: from gamma.private.lan (gamma.private.lan [192.168.0.12]) by webmail.private.lan (Horde Framework) with HTTP; Fri, 03 Jul 2009 20:29:58 +0100 Message-ID: <20090703202958.978655ejfxy0r8kk@webmail.private.lan> Date: Fri, 03 Jul 2009 20:29:58 +0100 From: Ian J Hart To: Olaf Greve References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-7.2 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on cpc1-cove3-0-0-cust909.sol2.cable.ntl.com X-Cloudmark-Analysis: v=1.0 c=1 a=d5q_fzPUAAAA:8 a=6I5d2MoRAAAA:8 a=kruHNeHDAAAA:8 a=3IPzndHkb801_Vb0G5wA:9 a=QAOnznvlUy2zaCH7dkUA:7 a=DUHJN9l0XWbLgL4XJY3u2abkfhsA:4 a=xLXZJe5p7NMA:10 a=SV7veod9ZcQA:10 Cc: "freebsd-amd64@freebsd.org" Subject: Re: Howto do SW RAID? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 19:46:33 -0000 Quoting Olaf Greve : > Hi guys, > > Firstly, thanks to the robustness of FreeBSD-AMD64 it's been many > moons since I last found myself in need of help from the pros. :) > However, such a situation has arissen now. > > Up until two weeks ago I was happily running the AMD64 version on my > primary server and the i386 version on my secondary machine, with > both of them using Adaptec SCSI hardware RAID arrays. All fine but > for a failed disc in my secondary machine. > > Now, it was about time I'd revise the fallback machine anyway, and > last week a server from work was phased out and given to me. :) > Now, unfortunately I have precious little time to wipe the inferior > Debian installation that's currently on it. ;) > > Some questions: > 1-The BIOS lists it as having a Pentium 4 processor that mentions > being EM64T compatible, so I think the AMD64 version should be the > best choice, right? > 2-Unfortunately the drives are not as fancy as my current servers. > It has two SATA 160GB drives, set up in software RAID mode. For now, > I want to set up fbsd in SW RAID mode too (too little time to buy > other drives!). Can anyone explain me briefly how I can set it up? > > Tnx in advance and cheers, > Olafo > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html -- ian j hart ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 4 08:43:43 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A5F1065670 for ; Sat, 4 Jul 2009 08:43:43 +0000 (UTC) (envelope-from ogreve@millennics.com) Received: from smtp-1.concepts.nl (smtp-1.concepts.nl [213.197.30.124]) by mx1.freebsd.org (Postfix) with ESMTP id 298088FC0C for ; Sat, 4 Jul 2009 08:43:42 +0000 (UTC) (envelope-from ogreve@millennics.com) Received: from 5571ff42.ftth.concepts.nl ([85.113.255.66] helo=[192.168.1.101]) by smtp-1.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1MN0qR-0003rF-7b; Sat, 04 Jul 2009 10:43:39 +0200 Message-Id: <1BBC202D-920C-480A-B59D-BA0F1581E301@millennics.com> From: Olaf Greve To: Mike Meyer In-Reply-To: <20090703185046.3782125a@bhuda.mired.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sat, 4 Jul 2009 10:43:34 +0200 References: <20090703202958.978655ejfxy0r8kk@webmail.private.lan> <20090703185046.3782125a@bhuda.mired.org> X-Mailer: Apple Mail (2.935.3) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1MN0qR-0003rF-7b X-Concepts-MailScanner: Found to be clean X-Concepts-MailScanner-SpamCheck: X-Concepts-MailScanner-From: ogreve@millennics.com Cc: "freebsd-amd64@freebsd.org" Subject: Re: Howto do SW RAID? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2009 08:43:43 -0000 Hi Mike and Ian, Firtsly: thanks a lot for your answers; they're very much appreciated! :) Then some specifics: >> >> Some questions: >> 1-The BIOS lists it as having a Pentium 4 processor that mentions >> being EM64T compatible, so I think the AMD64 version should be the >> best choice, right? >I'd say yes - I've been running a P4 that way for about three years >now, but there may still be some things for which ix86 might be a >better choice. Most commented on is probably that the nvidia >proprietary video drivers don't (yet) work on amd64 FreeBSD >builds. I'm perfectly happy with the OSS ATI drivers, but others >aren't. Roger that! As for video performance... As long as it can handle text mode, I'm o.k. with it. ;) The machine will only be used as a web and back-up server, so X will not even be installed by me. Now for the more tricky decision: Ian wrote: > > http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html And Mike wrote: >If you're willing to run a little bit experimental, zfs is a much >nicer storage solution in general: >https://www.ish.com.au/solutions/articles/freebsdzfs I must say, ZFS sounds very cool, yet.... the experimental thingy attached to it is somewhat off-putting at present. I noticed a remark about the kernel memory tuning possibly being hasslesome. I'm not exactly certain what to do best at this point in time, but perhaps that can best be decided by looking at what this very installation will have to do. At present, the anticipated use of the machine, is to become my fallback server for the primary one. That means that it will nightly rsync files from then primary one, as well as the MySQL DB instances running on it, and some other data I want backed up to the fallback machine. Performance (i.e. speed) is not the main key indicator, but stability and realibility are, as is -possibly- easiness of restoration when a drive fails completeley or partially. I've read the pages you both refer too, and it seems ZFS has good capabilities for disaster recovery, as well as automatic healing and snapshots. It certainly sounds like something to experiment with, but I'm not certain if now is the best time to do so. I still have to read the gmirror man pages to see what would be involved in disaster recovery, so I'm not certain yet if that's trivial or not. Hmmm, tough call... Meanwhile: can anyone comment om these points? Any hands-on experience with either, perhaps? Cheers! Olafo From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 4 09:52:36 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A641065670 for ; Sat, 4 Jul 2009 09:52:36 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id B6F0E8FC1A for ; Sat, 4 Jul 2009 09:52:36 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MN1v8-000Jur-Cv; Sat, 04 Jul 2009 10:52:34 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MN1v8-000Hj7-Ba; Sat, 04 Jul 2009 10:52:34 +0100 To: mwm@mired.org, ogreve@millennics.com In-Reply-To: <1BBC202D-920C-480A-B59D-BA0F1581E301@millennics.com> Message-Id: From: Pete French Date: Sat, 04 Jul 2009 10:52:34 +0100 Cc: freebsd-amd64@freebsd.org Subject: Re: Howto do SW RAID? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2009 09:52:37 -0000 > I must say, ZFS sounds very cool, yet.... the experimental thingy > attached to it is somewhat off-putting at present. I noticed a remark > about the kernel memory tuning possibly being hasslesome. I'm not None of those things are true anymore on the latest -STABLE and amd64. I use a ZFS based machine for backup, much as you describe. Nightly rsync and continuous stream of data to a mysql slave. ZFS gives you the distinct advantage of being bale to sake snapshots - so I have dailys for the last 5 days, and I keep the sunday one of those as weeklies going back as far as I have disc space for. All online and not actually taking up any significant space as snapshots will only use disc space for the changes. If you are clever with symobilc links you can even arrange it so your database snapshot is actually online inside your mysql linstance. One of my machine has the live database, plus 'live-7am', 'live-9am', 'live-11am' so if people make a mess of a table then they can grab the data from no older than two hours ago instantly "insert into live.table_i_screwed_up select * from live-9am.table_i_screwed_up;" Given your system I'd acquire a 3rd drive (4 gig flash card will do) for boot and then make a ZFS mirror our of the existing two and stick everything significant onto that. It works very nicely indeed. -pete. From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 4 21:37:30 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 512331065674; Sat, 4 Jul 2009 21:37:30 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from atmail-8.bnguk.net (atmail-8.bnguk.net [80.74.253.5]) by mx1.freebsd.org (Postfix) with ESMTP id 06C408FC08; Sat, 4 Jul 2009 21:37:29 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from [194.247.53.233] (helo=mail.chrishedley.com) by atmail-8.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1MNCvI-0000Ne-6Y; Sat, 04 Jul 2009 22:37:28 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.chrishedley.com (Postfix) with ESMTP id 6B044932E6; Sat, 4 Jul 2009 22:37:27 +0100 (BST) X-Virus-Scanned: amavisd-new at chrishedley.com Received: from mail.chrishedley.com ([127.0.0.1]) by localhost (mail.chrishedley.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wg9AQrb41w3z; Sat, 4 Jul 2009 22:37:24 +0100 (BST) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.chrishedley.com (Postfix) with ESMTP id 0D5AC932CB; Sat, 4 Jul 2009 22:37:24 +0100 (BST) Date: Sat, 4 Jul 2009 22:37:23 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: Gary Jennejohn In-Reply-To: <20090630175731.4c589f80@ernst.jennejohn.org> Message-ID: References: <4A2C124A.1050707@freebsd.org> <3c1674c90906291830g1c79c80bq42ce99f44588e968@mail.gmail.com> <20090630113544.3e2bef31@ernst.jennejohn.org> <20090630175731.4c589f80@ernst.jennejohn.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: New builds won't boot (fwd) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2009 21:37:30 -0000 On Tue, 30 Jun 2009, Gary Jennejohn wrote: > Ah, yes. Now that I think about it again, you're right. That's also > when I started seeing it. > > I'm now running mav's ata-cam patches and took ATA_STATIC_ID out of > my config file. I'd sort of forgotten when/why I'd done it. > > Sorry for the confusion. No problems, I may have a look at the ata-cam patch myself to see if that's any more successful. So thanks for the idea. :) On a completely different subject (and unrelated to the kind souls who have helped out), I'm a bit miffed to find these messages have been gated onto the web by freebsd.org, kerneltrap.org et al with complete, intact email addresses making them easily available to every spammer, 419er and other miscreant on the net. I was wondering why the amount of spam I was getting had tripled in the last fortnight. >:( From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 4 22:24:41 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEA12106566C for ; Sat, 4 Jul 2009 22:24:41 +0000 (UTC) (envelope-from ogreve@millennics.com) Received: from smtp-4.concepts.nl (smtp-4.concepts.nl [213.197.30.111]) by mx1.freebsd.org (Postfix) with ESMTP id 8268D8FC08 for ; Sat, 4 Jul 2009 22:24:41 +0000 (UTC) (envelope-from ogreve@millennics.com) Received: from 5571ff42.ftth.concepts.nl ([85.113.255.66] helo=[192.168.1.101]) by smtp-4.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1MNDew-0006z4-0N for freebsd-amd64@freebsd.org; Sun, 05 Jul 2009 00:24:38 +0200 Message-Id: From: Olaf Greve To: freebsd-amd64@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sun, 5 Jul 2009 00:24:32 +0200 References: X-Mailer: Apple Mail (2.935.3) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1MNDew-0006z4-0N X-Concepts-MailScanner: Found to be clean X-Concepts-MailScanner-SpamCheck: X-Concepts-MailScanner-From: ogreve@millennics.com Subject: Re: Howto do SW RAID? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2009 22:24:42 -0000 Hi Pete, >None of those things are true anymore on the latest -STABLE and amd64. + >Given your system I'd acquire a 3rd drive (4 gig flash card will do) for >boot and then make a ZFS mirror our of the existing two and stick >everything significant onto that. It works very nicely indeed. Alright, thanks for the extra input! Good to hear that the reported initial issues are now a thing of the past too. Meanwhile... earlier today I made up my mind: it seemed to me that the gmirror way involved less steps to configure it, and I need to have the machine set-up in as little time as possible, between a million of other matters. Also, the machine that has the failed drive will in due time be used by me for experimenting with some things (a.o. using newer PHP and MySQL versions than I use at present too), and I shall keep the e-mails and links on this subject and conduct a test with it when I've got some more air in my schedule. It certainly sounds like a cool filesystem! Then, as written above, in between matters I've set up the system using gmirror; it all worked very easily and I'm now at the level that I've set-up the ports tree, SSH access, etc. Tomorrow I'll reconstruct the rsync calls and DB syncing scripts etc. and then the machine should be go for acting as back-up machine while I'm abroad for a few weeks. Thanks again to you guys for your help and ideas! Cheers, Olafo