From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 6 08:49:06 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 6CEAC106567E for ; Mon, 6 Jul 2009 08:49:06 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id D7C5F8FC13 for ; Mon, 6 Jul 2009 08:49:04 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n667X08K029904 for ; Mon, 6 Jul 2009 17:33:01 +1000 Received: from server.vk2pj.dyndns.org (c122-106-247-205.belrs3.nsw.optusnet.com.au [122.106.247.205]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n667Wshd019980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Jul 2009 17:32:57 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n667WrmH008139; Mon, 6 Jul 2009 17:32:53 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n667Wmig008137; Mon, 6 Jul 2009 17:32:48 +1000 (EST) (envelope-from peter) Date: Mon, 6 Jul 2009 17:32:48 +1000 From: Peter Jeremy To: Olaf Greve Message-ID: <20090706073248.GA8044@server.vk2pj.dyndns.org> References: <20090703202958.978655ejfxy0r8kk@webmail.private.lan> <20090703185046.3782125a@bhuda.mired.org> <1BBC202D-920C-480A-B59D-BA0F1581E301@millennics.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <1BBC202D-920C-480A-B59D-BA0F1581E301@millennics.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) X-Mailman-Approved-At: Mon, 06 Jul 2009 14:10:00 +0000 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: Mon, 06 Jul 2009 08:49:07 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Jul-04 10:43:34 +0200, Olaf Greve wrote: >I must say, ZFS sounds very cool, yet.... the experimental thingy =20 >attached to it is somewhat off-putting at present. I wouldn't use ZFS unless you are running 7-stable _after_ 7.2-RELEASE (after 20th May to be precise) or -current. 7.2-RELEASE has a much older ZFS. I'm running ZFS on -current my home server without problems but it's not heavily loaded. >I've read the pages you both refer too, and it seems ZFS has good =20 >capabilities for disaster recovery, as well as automatic healing and =20 >snapshots. It certainly sounds like something to experiment with, but =20 >I'm not certain if now is the best time to do so. I would agree with this. ZFS is still a somewhat experimental feature and some people have found some rough edges. I'd recommend finding a spare amd64-capable box with a couple of disks and >=3D2GB RAM, install 7-stable and try both replicating data into it and load-stressing it to see how well it behaves for you. (Mind you, if you've not used gmirror before, I'd suggest you do the same for it). --=20 Peter Jeremy --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpRqJ8ACgkQ/opHv/APuIfd7ACcCDkP4DM/KKcNq+OWr5p+8GgK cWsAoIsWcU02fGkIJRIWcsOxM8xfW2es =+Oa+ -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo-- From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 6 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 378DD1065672 for ; Mon, 6 Jul 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 230BB8FC19 for ; Mon, 6 Jul 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 n66B6rR4010673 for ; Mon, 6 Jul 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 n66B6q1K010669 for freebsd-amd64@FreeBSD.org; Mon, 6 Jul 2009 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Jul 2009 11:06:52 GMT Message-Id: <200907061106.n66B6q1K010669@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, 06 Jul 2009 14:10:19 +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, 06 Jul 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 Jul 6 11:20: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 5278810656E3 for ; Mon, 6 Jul 2009 11:20: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 134378FC1E for ; Mon, 6 Jul 2009 11:20: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 n66BK2Tf022655 for ; Mon, 6 Jul 2009 11:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n66BK2BV022654; Mon, 6 Jul 2009 11:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 6 Jul 2009 11:20:02 GMT Resent-Message-Id: <200907061120.n66BK2BV022654@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, Yevgeniy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F17B106579F for ; Mon, 6 Jul 2009 11:19:05 +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 5B7B58FC0C for ; Mon, 6 Jul 2009 11:19:05 +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 n66BJ5R3089904 for ; Mon, 6 Jul 2009 11:19:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n66BJ5Hg089903; Mon, 6 Jul 2009 11:19:05 GMT (envelope-from nobody) Message-Id: <200907061119.n66BJ5Hg089903@www.freebsd.org> Date: Mon, 6 Jul 2009 11:19:05 GMT From: Yevgeniy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 06 Jul 2009 14:10:36 +0000 Cc: Subject: amd64/136376: net-mgmt/openvmps port does not build and running correctly 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, 06 Jul 2009 11:20:03 -0000 >Number: 136376 >Category: amd64 >Synopsis: net-mgmt/openvmps port does not build and running correctly on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 06 11:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Yevgeniy >Release: 7.1-RELEASE-p4 >Organization: >Environment: FreeBSD noc.umc.com.ua 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3: Thu Apr 2 09:57:28 EEST 2009 root@noc.umc.com.ua:/usr/obj/usr/src/sys/NOC amd64 >Description: net-mgmt/openvmps port does not build and running correctly on amd64 port produce lots of warning on building: vqp.c:43: warning: incompatible implicit declaration of built-in function 'memcpy' vqp.c:48: warning: incompatible implicit declaration of built-in function 'strcpy' vqp.c:51: warning: incompatible implicit declaration of built-in function 'bzero' vqp.c: In function 'send_response': vqp.c:144: warning: incompatible implicit declaration of built-in function 'memcpy' vqp.c:154: warning: incompatible implicit declaration of built-in function 'strlen' vqp.c: In function 'get_vlan': vqp.c:233: warning: incompatible implicit declaration of built-in function 'strcpy' vqp.c:237: warning: incompatible implicit declaration of built-in function 'strcpy' vqp.c:243: warning: incompatible implicit declaration of built-in function 'strcpy' vqp.c:253: warning: incompatible implicit declaration of built-in function 'strcpy' after installing vmpsd sends packet without VlanName >How-To-Repeat: simply build and install >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 7 09:36:26 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 7896C106566C; Tue, 7 Jul 2009 09:36:26 +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 4D9128FC17; Tue, 7 Jul 2009 09:36:26 +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 n679aPuW022990; Tue, 7 Jul 2009 09:36:25 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n679aPV4022986; Tue, 7 Jul 2009 09:36:25 GMT (envelope-from linimon) Date: Tue, 7 Jul 2009 09:36:25 GMT Message-Id: <200907070936.n679aPV4022986@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Tue, 07 Jul 2009 12:50:23 +0000 Cc: Subject: Re: ports/136376: net-mgmt/openvmps port does not build and running correctly 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: Tue, 07 Jul 2009 09:36:26 -0000 Synopsis: net-mgmt/openvmps port does not build and running correctly on amd64 Responsible-Changed-From-To: freebsd-amd64->freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jul 7 09:35:38 UTC 2009 Responsible-Changed-Why: Even though this applies to amd64, this is a ports issue. http://www.freebsd.org/cgi/query-pr.cgi?pr=136376 From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 06:56:16 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 45665106564A; Thu, 9 Jul 2009 06:56:16 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 946BC8FC0A; Thu, 9 Jul 2009 06:56:15 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: by ewy24 with SMTP id 24so408243ewy.43 for ; Wed, 08 Jul 2009 23:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=jSYunYvgwHt9NzU/5cVd0h0zzXTKy1/Yy1/V4yeXB9s=; b=lJs/R0Ky9JIK2A5wR8y0SwMro1KPUKJ7Ou3LFJUK+VR840RIow3CrLa4rmPZ3eUzTg uockeP78DDd3yI2nunqWi+pbpMEZcxFr9wP+BqNeF3xp85xOsinxWPx+tNzTiK+8D66S 9uSDL7Z5RZrzvCq4wim4kL18FsmjRiPeBEaYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=TpIz/1uCPf/Q5BErEY/tJg4jKtaQ3XKW4Y6apYNVrqHy5GQmdoEEqfQOMwwBGsxT59 ecS/VOkCqcXmgeyuuejJO8LzM7giudqlcNFeOY7flZ1rWbpU9W46FdJ7VKxNIHJM8O+6 I4FGqzAvQpWaM5xwTWGwGWpJUARDffFmDjjzI= MIME-Version: 1.0 Received: by 10.211.179.6 with SMTP id g6mr475337ebp.32.1247120660424; Wed, 08 Jul 2009 23:24:20 -0700 (PDT) Date: Thu, 9 Jul 2009 08:24:20 +0200 Message-ID: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> From: Lagrange Marc To: freebsd-amd64@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Building kernel : CPUID_FXSR undeclared (first use...) 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, 09 Jul 2009 06:56:16 -0000 Hi, I've just installed a 8-BETA1 on my new computer, checkouted the sources via svn (http://svn.freebsd.org/base/head). I've recompiled a kernel without debug and whitheness sucessfully, but when i've try to remove some things and it fails. The kernel configuration is here : http://banane.rhaamo.li/NAWAK The CPU is : CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (2499.73-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10677 Stepping = 7 Features=0xbfebfbff Features2=0x8e3fd AMD Features=0x20000800 AMD Features2=0x1 TSC: P-state invariant The kernel build error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -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/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -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 -Werror /usr/src/sys/amd64/amd64/in_cksum.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -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/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -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 -Werror /usr/src/sys/amd64/amd64/initcpu.c /usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpu': /usr/src/sys/amd64/amd64/initcpu.c:146: error: 'CPUID_FXSR' undeclared (first use in this function) /usr/src/sys/amd64/amd64/initcpu.c:146: error: (Each undeclared identifier is reported only once /usr/src/sys/amd64/amd64/initcpu.c:146: error: for each function it appears in.) *** Error code 1 Stop in /usr/obj/usr/src/sys/NAWAK. *** Error code 1 Stop in /usr/src. I've also experiencing the same issue with audio/oss, it failed on CPUID_FXSR, but now fail with CPU_SSE or CPU_SSE2... If someone have an idea with this problem, Thanks. -- rhaamo on irc.freenode.net/oftc/geeknode From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 08:11:13 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 51202106564A; Thu, 9 Jul 2009 08:11:13 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7828FC19; Thu, 9 Jul 2009 08:11:12 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: by ewy24 with SMTP id 24so439052ewy.43 for ; Thu, 09 Jul 2009 01:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=yQorVcipU+yFE0PAszJAFYO4GKZgkBkpxzzAdS2U2iY=; b=SPeIaA3auNkl4XUopqdqbTvIUpZ8ddCzfQVN0gTqCZjDlFWC6b6+koloZprs6B0XYg O9oCe7aF7Do21/Z5qjCBTkCYIDGjfnpsWgxW9wEPIuJ+Q066xhC6GDFWdE4zug89kGVE vha41SeHgr2OePx545SujfbuXI6PbFRHij2bo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vt+Jz/9K80xJAEPgTRf+Beby9bGJeXBysOUOLg7jtEWdNseDxTMmqr2nB8yOh4VPw5 0D5gVCq3Z13AFabAYaDxcnXjofPrtX2e3WYYFIK6eiF9kUUK3UGYymxdezryh/iinbxZ e2nBWkvmmXL/W1a8QJV9YoPE9kkeBkf4aczcw= MIME-Version: 1.0 Received: by 10.211.179.6 with SMTP id g6mr589533ebp.32.1247127070914; Thu, 09 Jul 2009 01:11:10 -0700 (PDT) In-Reply-To: References: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> Date: Thu, 9 Jul 2009 10:11:09 +0200 Message-ID: <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> From: Lagrange Marc To: rea-fbsd@codelabs.ru Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Building kernel : CPUID_FXSR undeclared (first use...) 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, 09 Jul 2009 08:11:13 -0000 On Thu, Jul 9, 2009 at 9:53 AM, Eygene Ryabinkin wrot= e: > Thu, Jul 09, 2009 at 08:24:20AM +0200, Lagrange Marc wrote: >> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dnative >> -std=3Dc99 =C2=A0-Wall -Wredundant-decls -Wnested-externs -Wstrict-proto= types >> =C2=A0-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =C2=A0-W= undef >> -Wno-pointer-sign -fformat-extensions -nostdinc =C2=A0-I. -I/usr/src/sys >> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS >> -include opt_global.h -fno-common -finline-limit=3D8000 --param >> inline-unit-growth=3D100 --param large-function-growth=3D1000 >> -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone =C2=A0-mfpmath= =3D387 >> -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow =C2=A0-msoft-float >> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector >> -Werror =C2=A0/usr/src/sys/amd64/amd64/initcpu.c >> /usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpu': >> /usr/src/sys/amd64/amd64/initcpu.c:146: error: 'CPUID_FXSR' undeclared >> (first use in this function) >> /usr/src/sys/amd64/amd64/initcpu.c:146: error: (Each undeclared >> identifier is reported only once >> /usr/src/sys/amd64/amd64/initcpu.c:146: error: for each function it appe= ars in.) > > What output will be produced by the following command (should be invoked > from your kernel compile directory, /sys/amd64/compile/ if > you compile manually or /usr/obj/usr/src/sys/ for 'make > kernel' builds; looks like you is NAWAK): > ----- > cpp -dD -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dnative= \ > -std=3Dc99 =C2=A0-Wall -Wredundant-decls -Wnested-externs -Wstrict-protot= ypes \ > =C2=A0-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =C2=A0-Wu= ndef \ > =C2=A0-Wno-pointer-sign -fformat-extensions -nostdinc =C2=A0-I. -I/usr/sr= c/sys \ > =C2=A0-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS = \ > =C2=A0-include opt_global.h -fno-common -finline-limit=3D8000 --param \ > =C2=A0inline-unit-growth=3D100 --param large-function-growth=3D1000 \ > =C2=A0-fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone =C2=A0-mfpm= ath=3D387 \ > =C2=A0-mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow =C2=A0-msoft-float= \ > =C2=A0-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector \ > =C2=A0-Werror =C2=A0/usr/src/sys/amd64/amd64/initcpu.c 2>&1 > ----- Output here : http://banane.rhaamo.li/bugs/CPUID_FXSR/output_cpp > And what is inside the file 'machine/specialreg.h' when you're sitting > in the same directory? File here : http://banane.rhaamo.li/bugs/CPUID_FXSR/specialreg.h > I'd expect that 'make clean && make kernel' invoked from /usr/src > should fix your problems, but may be it is not the case, so information > requested above will be helpful. Tryied make clean && make kernel after getting requested infos, same error. Thx. > -- > Eygene > =C2=A0_ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0___ =C2=A0= =C2=A0 =C2=A0 _.--. =C2=A0 # > =C2=A0\`.|\..----...-'` =C2=A0 `-._.-'_.-'` =C2=A0 # =C2=A0Remember that = it is hard > =C2=A0/ =C2=A0' ` =C2=A0 =C2=A0 =C2=A0 =C2=A0 , =C2=A0 =C2=A0 =C2=A0 __.-= -' =C2=A0 =C2=A0 =C2=A0# =C2=A0to read the on-line manual > =C2=A0)/' _/ =C2=A0 =C2=A0 \ =C2=A0 `-_, =C2=A0 / =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0# =C2=A0while single-stepping the kernel. > =C2=A0`-'" `"\_ =C2=A0,_.-;_.-\_ ', =C2=A0fsc/as =C2=A0 # > =C2=A0 =C2=A0 _.-'_./ =C2=A0 {_.' =C2=A0 ; / =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 # =C2=A0 =C2=A0-- FreeBSD Developers handbook > =C2=A0 =C2=A0{_.-``-' =C2=A0 =C2=A0 =C2=A0 =C2=A0 {_/ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0# > --=20 rhaamo on irc.freenode.net/oftc/geeknode From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 08:29:12 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 5CF9A106564A; Thu, 9 Jul 2009 08:29:12 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id B64B48FC1E; Thu, 9 Jul 2009 08:29:11 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: by ewy24 with SMTP id 24so447703ewy.43 for ; Thu, 09 Jul 2009 01:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zX3O3elpEF4wa63cohD2Q9soMiXY032KHvEJJI4nLE4=; b=p2KeuqVW5Yoin3FVPGiYXarQ4Gv9P18SdHnyjWJ5ib8cGS2U+5L1jTtPA8tELYf08/ qJ8GvsA+Ac63oRvkmLClojPiiW7UuUBgbXb2D3rrrZsTMJqcTaT0kSrUSyciNhnplUSy 9FXUVTklyE9u5O47I+cobG5EK8/rMBdIVyLlc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Xm7Bz8Y6Zvf5cP1ueKCR89ec4UNnBbfuQKOZpN2AgyeafvNFIuy4B7utWEvJBPJfeF u4oKHdzXlUpK7w2c0sfusFg8aHpKNlFt7ByuM/QsEgfuY5zY63fkhwg4UyvePhmeo6Rl v+YCgSmZLLhjxaFM6ZRAwnwkJJBmY8T11Xwls= MIME-Version: 1.0 Received: by 10.211.179.6 with SMTP id g6mr610389ebp.32.1247128150738; Thu, 09 Jul 2009 01:29:10 -0700 (PDT) In-Reply-To: References: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> Date: Thu, 9 Jul 2009 10:29:09 +0200 Message-ID: <1b5ab4050907090129g5599d754w469170297e1b459a@mail.gmail.com> From: Lagrange Marc To: rea-fbsd@codelabs.ru Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Building kernel : CPUID_FXSR undeclared (first use...) 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, 09 Jul 2009 08:29:12 -0000 On Thu, Jul 9, 2009 at 10:19 AM, Eygene Ryabinkin wro= te: > Thu, Jul 09, 2009 at 10:11:09AM +0200, Lagrange Marc wrote: >> > And what is inside the file 'machine/specialreg.h' when you're sitting >> > in the same directory? >> >> File here : http://banane.rhaamo.li/bugs/CPUID_FXSR/specialreg.h > > Then, it is simple: you had manually commented the line 105: > ----- > /*#define =C2=A0 =C2=A0 =C2=A0 CPUID_FXSR =C2=A0 =C2=A0 =C2=A00x01000000*= / > ----- > Uncomment it (inside /sys/amd64/include/specialreg.h) and rebuild > the stuff. =C2=A0Better will be to resync the sources, get rid of all > local modifications (if any) and rebuild. Argl yes... i remember commented this !@# line in oss source (thx symlinks) because oss fail on CPUID_FXSR .. Thx. > -- > Eygene > =C2=A0_ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0___ =C2=A0= =C2=A0 =C2=A0 _.--. =C2=A0 # > =C2=A0\`.|\..----...-'` =C2=A0 `-._.-'_.-'` =C2=A0 # =C2=A0Remember that = it is hard > =C2=A0/ =C2=A0' ` =C2=A0 =C2=A0 =C2=A0 =C2=A0 , =C2=A0 =C2=A0 =C2=A0 __.-= -' =C2=A0 =C2=A0 =C2=A0# =C2=A0to read the on-line manual > =C2=A0)/' _/ =C2=A0 =C2=A0 \ =C2=A0 `-_, =C2=A0 / =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0# =C2=A0while single-stepping the kernel. > =C2=A0`-'" `"\_ =C2=A0,_.-;_.-\_ ', =C2=A0fsc/as =C2=A0 # > =C2=A0 =C2=A0 _.-'_./ =C2=A0 {_.' =C2=A0 ; / =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 # =C2=A0 =C2=A0-- FreeBSD Developers handbook > =C2=A0 =C2=A0{_.-``-' =C2=A0 =C2=A0 =C2=A0 =C2=A0 {_/ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0# > --=20 rhaamo on irc.freenode.net/oftc/geeknode From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 08:04: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 B3310106566B for ; Thu, 9 Jul 2009 08:04:30 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6618E8FC15 for ; Thu, 9 Jul 2009 08:04:30 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:Sender; b=hxWzyQ0Tombimv3ZDMWqL8b4EOpV/bcYmUysOdvP2jklE40F9qyxQSw9658hbiRTLV0kmKYP2TmrOPqJmFkt/FR3SUgOfvpRqjt1i9aeHRAISu0jvaNsWnLFfaHyFNS5XOluTRFgpNx6O+uxgMYbe7Vy2VK2K+3hFQYXW5D6FUg=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MOoRa-0006TZ-AD; Thu, 09 Jul 2009 11:53:26 +0400 Date: Thu, 9 Jul 2009 11:53:24 +0400 From: Eygene Ryabinkin To: Lagrange Marc Message-ID: References: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> Sender: rea-fbsd@codelabs.ru X-Mailman-Approved-At: Thu, 09 Jul 2009 13:27:19 +0000 Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Building kernel : CPUID_FXSR undeclared (first use...) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 08:04:31 -0000 Thu, Jul 09, 2009 at 08:24:20AM +0200, Lagrange Marc wrote: > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dnative > -std=3Dc99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 > -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror /usr/src/sys/amd64/amd64/initcpu.c > /usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpu': > /usr/src/sys/amd64/amd64/initcpu.c:146: error: 'CPUID_FXSR' undeclared > (first use in this function) > /usr/src/sys/amd64/amd64/initcpu.c:146: error: (Each undeclared > identifier is reported only once > /usr/src/sys/amd64/amd64/initcpu.c:146: error: for each function it appea= rs in.) What output will be produced by the following command (should be invoked =66rom your kernel compile directory, /sys/amd64/compile/ if you compile manually or /usr/obj/usr/src/sys/ for 'make kernel' builds; looks like you is NAWAK): ----- cpp -dD -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dnative \ -std=3Dc99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef \ -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys \ -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS \ -include opt_global.h -fno-common -finline-limit=3D8000 --param \ inline-unit-growth=3D100 --param large-function-growth=3D1000 \ -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 \ -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float \ -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector \ -Werror /usr/src/sys/amd64/amd64/initcpu.c 2>&1 ----- And what is inside the file 'machine/specialreg.h' when you're sitting in the same directory? I'd expect that 'make clean && make kernel' invoked from /usr/src should fix your problems, but may be it is not the case, so information requested above will be helpful. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 08:19:49 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 C8D5D106566C; Thu, 9 Jul 2009 08:19:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7B10B8FC22; Thu, 9 Jul 2009 08:19:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=jcmElqFgsJ7uJGIo8zVnwCQvpZCc6hgYyQ3fGNFlEFBM9m/OAHGUWOVy5gd9xbYl9G4G9K7magOf2m+yIDtE5tVgGt8553wx1iLt8nVOjxHxYefFnYbU8mQ2KhBIGLBfAmQfyKdpmmU9BghcQweNcS8x2D4Yin1erQyxVyY4YD0=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MOor6-0009Ka-Lm; Thu, 09 Jul 2009 12:19:48 +0400 Date: Thu, 9 Jul 2009 12:19:46 +0400 From: Eygene Ryabinkin To: Lagrange Marc Message-ID: References: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b5ab4050907090111q4cb29ea7t2f7518e844efbf54@mail.gmail.com> Sender: rea-fbsd@codelabs.ru X-Mailman-Approved-At: Thu, 09 Jul 2009 13:27:27 +0000 Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Building kernel : CPUID_FXSR undeclared (first use...) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 08:19:50 -0000 Thu, Jul 09, 2009 at 10:11:09AM +0200, Lagrange Marc wrote: > > And what is inside the file 'machine/specialreg.h' when you're sitting > > in the same directory? > > File here : http://banane.rhaamo.li/bugs/CPUID_FXSR/specialreg.h Then, it is simple: you had manually commented the line 105: ----- /*#define CPUID_FXSR 0x01000000*/ ----- Uncomment it (inside /sys/amd64/include/specialreg.h) and rebuild the stuff. Better will be to resync the sources, get rid of all local modifications (if any) and rebuild. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #