From owner-freebsd-amd64@FreeBSD.ORG Sun Mar 16 07:27:53 2008 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 C5B37106566C; Sun, 16 Mar 2008 07:27:53 +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 B0F8F8FC18; Sun, 16 Mar 2008 07:27:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2G7RrAG023493; Sun, 16 Mar 2008 07:27:53 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2G7Rred023489; Sun, 16 Mar 2008 07:27:53 GMT (envelope-from linimon) Date: Sun, 16 Mar 2008 07:27:53 GMT Message-Id: <200803160727.m2G7Rred023489@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, bland@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Sun, 16 Mar 2008 11:11:19 +0000 Cc: Subject: Re: ports/121663: converters/iconv is NOT working 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: Sun, 16 Mar 2008 07:27:53 -0000 Old Synopsis: iconv is NOT working New Synopsis: converters/iconv is NOT working Responsible-Changed-From-To: freebsd-amd64->bland Responsible-Changed-By: linimon Responsible-Changed-When: Sun Mar 16 07:26:33 UTC 2008 Responsible-Changed-Why: Make this a ports PR and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=121663 From owner-freebsd-amd64@FreeBSD.ORG Sun Mar 16 18:16:47 2008 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 A01C4106564A for ; Sun, 16 Mar 2008 18:16:47 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from batman.home4u.ch (6to4.home4u.ch [IPv6:2002:d908:d3e2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 32E4B8FC16 for ; Sun, 16 Mar 2008 18:16:46 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from flashback.wenks.ch (flashback.wenks.ch [62.2.85.181]) (authenticated bits=0) by batman.home4u.ch (8.13.1/8.13.1) with ESMTP id m2GIGgH7034224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 16 Mar 2008 19:16:44 +0100 (CET) (envelope-from fabian@wenks.ch) Message-ID: <47DD6404.2060907@wenks.ch> Date: Sun, 16 Mar 2008 19:16:36 +0100 From: Fabian Wenk User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: freebsd-amd64@freebsd.org References: <265512.62486.qm@web34610.mail.mud.yahoo.com> In-Reply-To: <265512.62486.qm@web34610.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: Re: ** FreeBSD 6.2 - amd64 - attempting to install 32bit library support ** 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: Sun, 16 Mar 2008 18:16:47 -0000 Hello David On 27.02.08 02:01, David wrote: > After doing some reasarch, I found the following > possibility although I could find no specific > documentation what-so-ever. > > 1. cd /usr/src > 2. make build32 > 3. make install32 > 4. ldconfig -32 /usr/lib32 In my /etc/make.conf I have the following line: WITH_LIB32=yes And after building and installing the world the 32-bit Libraries are in /usr/lib32/. > My concern is whether this procedure overwrites any > current libraries on the FreeBSD 6.2 64 bit system or > attempts to change anything drastically (such as > convert the system back to a 32 bit OS). Also, does > this install modify the kernel? This should not happen, see also /usr/src/tools/lib32/README for a little more informations: ---8<-------------------------------------------------------------- # $FreeBSD: src/tools/lib32/README,v 1.2 2004/11/25 04:25:21 peter Exp $ 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<-------------------------------------------------------------- So I guess the steps which you have mention above will just work and not do any damage. bye Fabian From owner-freebsd-amd64@FreeBSD.ORG Sun Mar 16 20:11:10 2008 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 75C691065679 for ; Sun, 16 Mar 2008 20:11:10 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from batman.home4u.ch (6to4.home4u.ch [IPv6:2002:d908:d3e2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 00B128FC24 for ; Sun, 16 Mar 2008 20:11:09 +0000 (UTC) (envelope-from fabian@wenks.ch) Received: from flashback.wenks.ch (flashback.wenks.ch [62.2.85.181]) (authenticated bits=0) by batman.home4u.ch (8.13.1/8.13.1) with ESMTP id m2GKB5g7051228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 16 Mar 2008 21:11:07 +0100 (CET) (envelope-from fabian@wenks.ch) Message-ID: <47DD7ED4.7020009@wenks.ch> Date: Sun, 16 Mar 2008 21:11:00 +0100 From: Fabian Wenk User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: freebsd-amd64@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: Re: amd64 freezing 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: Sun, 16 Mar 2008 20:11:10 -0000 Hello Vlad On 06.03.08 21:48, Vlad GURDIGA wrote: > I tried to boot from an amd64 boot disk but both 6.3 and 7.0 releases > freeze after hardware identification. The last message it show (after Try booting with ACPI disabled or in safe mode from the boot menu. If ACPI disabled does work, you will need the following in /boot/loder.conf: hint.acpi.0.disabled="1" Or see [1] for an other option to try. If you need to boot in safe mode, then you also need the following in /boot/loader.conf: hint.apic.0.disabled="1" [1] http://lists.freebsd.org/pipermail/freebsd-amd64/2007-May/009852.html bye Fabian From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 17 11:06:59 2008 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 E20FA1065670 for ; Mon, 17 Mar 2008 11:06:59 +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 D8D308FC31 for ; Mon, 17 Mar 2008 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2HB6xiM055028 for ; Mon, 17 Mar 2008 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2HB6xMR055024 for freebsd-amd64@FreeBSD.org; Mon, 17 Mar 2008 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Mar 2008 11:06:59 GMT Message-Id: <200803171106.m2HB6xMR055024@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, 17 Mar 2008 11:18:23 +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, 17 Mar 2008 11:07:00 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up o amd64/74747 amd64 System panic on shutdown when process will not die o amd64/76136 amd64 system halts before reboot o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/80691 amd64 amd64 kernel hangs on load o amd64/85451 amd64 [hang] 6.0-BETA3 lockups on AMD64 (PREEMPTION only) o amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 o amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87977 amd64 [busdma] [panic] amd64 busdma dflt_lock called (by ata o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/88790 amd64 kernel panic on first boot (after the FreeBSD installa o amd64/89501 amd64 System crashes on install using ftp on local subnet o amd64/89503 amd64 Cant Boot Installation Disk o amd64/89546 amd64 [geom] GEOM error o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/91492 amd64 BTX halted o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/92889 amd64 [libc] xdr double buffer overflow o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/94677 amd64 panic in amd64 install at non-root user creation o amd64/94989 amd64 BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) and 5. o amd64/95888 amd64 kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP DL140G o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/102122 amd64 6.1-RELEASE amd64 Install Media panics on boot. s amd64/104311 amd64 ports/wine should be installable on amd64 o amd64/105514 amd64 FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 La o amd64/105531 amd64 [sata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - doe o amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on o amd64/106604 amd64 saslauthd crashes with signal 6 on FreeBSD 6.2-PREREL s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work a amd64/109584 amd64 zdump doesn't work o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 o amd64/111992 amd64 BTX failed - HP Laptop dv2315nr o amd64/112677 amd64 [aac] Adaptec 4805SAS causes 6.2 (AMD64) to panic (amd o amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c s amd64/115815 amd64 [sata] [request] Gigabyte GA-M61P-S3 Motherboard unsup o amd64/116159 amd64 Panic while debugging on CURRENT o amd64/116322 amd64 At start fsck on current, the system panics o amd64/116620 amd64 Ifconfig spins when creating carp(4) device on amd64/S o amd64/116977 amd64 FreeBSD/amd64 - Fails to boot on HP Pavilion dv9030ea o amd64/117296 amd64 [sata] I don`t see second SATA IDE on VIA VT8237A o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117418 amd64 FreeBSD 6.2 crash on amd64 4400+ f amd64/119417 amd64 [boot] FreeBSD 7.0 rc1 amd64 won't boot on thinkpad x6 o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/119936 amd64 [install] FreeBSD 7.0-RC1 amd64 and i386 installer dis o amd64/120081 amd64 [sata] Hard drive not found during install FreeBSD 7.0 o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, f amd64/120243 amd64 [ndis] can't get work Broadcom 802.11b/g WLAN on HP Pa f amd64/120956 amd64 [panic] FreeBSD 6.3 Release: Fatal trap 12: page fault o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem 56 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/74608 amd64 [mpt] [hang] mpt hangs 5 minutes when booting s amd64/85273 amd64 FreeBSD (NetBSD or OpenBSD) not install on laptop Comp o amd64/88020 amd64 cannot boot unless: hint.apic.0.disabled="1" is set on o amd64/91195 amd64 FreeBSD 6.0(amd64) and Asus A8R-MVP o amd64/100838 amd64 [powerd] FreeBSD 6.0/6.1 kernel panics when booting wi o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 o bin/105542 amd64 on amd64, ldd(1) produces bogus output for i386 execut o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot o amd64/111096 amd64 motherboard ASRock AM2NF6G-VSTA not supported a amd64/113111 amd64 [Makefile] [patch] Potentially wrong instructions will o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/116457 amd64 cant install freebsd on dv9420us o amd64/116514 amd64 freebsd6.2 can't detect GA-M61SME-S2's onboard lan car f amd64/116670 amd64 [sata] onboard SATA RAID1 controllers not supported fo s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/117186 amd64 kldload Unsupported file type on STABLE amd64 f amd64/119516 amd64 [ipv6] [panic] _mtx_lock_sleep: recursed on non-recurs f amd64/119949 amd64 6.3-RELEASE install; cannot find packages/INDEX error f amd64/121590 amd64 powerd may not work correctly 22 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 17 14:30:32 2008 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 1AE6A106564A for ; Mon, 17 Mar 2008 14:30:32 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2057E8FC1E for ; Mon, 17 Mar 2008 14:30:30 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: by nf-out-0910.google.com with SMTP id b2so2149981nfb.33 for ; Mon, 17 Mar 2008 07:30:29 -0700 (PDT) Received: by 10.78.183.8 with SMTP id g8mr42551796huf.39.1205764228435; Mon, 17 Mar 2008 07:30:28 -0700 (PDT) Received: by 10.78.139.1 with HTTP; Mon, 17 Mar 2008 07:30:28 -0700 (PDT) Message-ID: Date: Mon, 17 Mar 2008 10:30:28 -0400 From: "Isaac Mushinsky" To: "Vlad GURDIGA" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org Subject: Re: amd64 freezing 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, 17 Mar 2008 14:30:32 -0000 On 3/6/08, Vlad GURDIGA wrote: > > Hello, > > I tried to boot from an amd64 boot disk but both 6.3 and 7.0 releases > freeze after hardware identification. The last message it show (after > which the system freezes and the CPU cooler goes crazy) is this: > > md0: Preloaded image 4194304 bytes at 0xffffffff80b2f428 > > AFAIK, my hardware is 64bit-capable (I have a working 64-bit Solaris > 10 installed). > I have attached dmesg log from the currently working i386/7.0-RELEASE. > > What should I try? Do you have a SATA controller? I had a similar problem, and it was fixed by setting SATA to AHCI mode in BIOS rather than the default IDE. This is still not ideal, because for some reason my system will not boot without ACPI. With ACPI, I get some exceptions i n acpi_thermal; other than annoying acpi_thermal messages and a couple of minutes of delay apparently associated with acpi it boots ok. I have Abit IP35-Pro board, with 2 SATA drive attached. From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 17 14:41:33 2008 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 E330C1065676 for ; Mon, 17 Mar 2008 14:41:33 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id 727528FC5F for ; Mon, 17 Mar 2008 14:41:33 +0000 (UTC) (envelope-from itz@mushinsky.net) Received: by fk-out-0910.google.com with SMTP id b27so6807505fka.11 for ; Mon, 17 Mar 2008 07:41:32 -0700 (PDT) Received: by 10.78.161.4 with SMTP id j4mr42400427hue.63.1205764890397; Mon, 17 Mar 2008 07:41:30 -0700 (PDT) Received: by 10.78.139.1 with HTTP; Mon, 17 Mar 2008 07:41:30 -0700 (PDT) Message-ID: Date: Mon, 17 Mar 2008 10:41:30 -0400 From: "Isaac Mushinsky" To: "Vlad GURDIGA" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org Subject: Re: amd64 freezing 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, 17 Mar 2008 14:41:34 -0000 There was a bug PR for this here: http://www.freebsd.org/cgi/query-pr.cgi?pr=amd64/121439 From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 17 15:10:04 2008 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 81B581065673 for ; Mon, 17 Mar 2008 15:10: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 6F2AE8FC40 for ; Mon, 17 Mar 2008 15:10: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.2/8.14.2) with ESMTP id m2HFA4d9077574 for ; Mon, 17 Mar 2008 15:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2HFA45R077567; Mon, 17 Mar 2008 15:10:04 GMT (envelope-from gnats) Date: Mon, 17 Mar 2008 15:10:04 GMT Message-Id: <200803171510.m2HFA45R077567@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: "Isaac Mushinsky" Cc: Subject: Re: amd64/121439: [boot] Installation of FreeBSD 7.0 fails: ACPI problem with abit ip35 pro X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Isaac Mushinsky List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 15:10:04 -0000 The following reply was made to PR amd64/121439; it has been noted by GNATS. From: "Isaac Mushinsky" To: bug-followup@FreeBSD.org, paul.antonescu@gmail.com Cc: Subject: Re: amd64/121439: [boot] Installation of FreeBSD 7.0 fails: ACPI problem with abit ip35 pro Date: Mon, 17 Mar 2008 10:39:08 -0400 ------=_Part_9432_21885581.1205764748702 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have the same board and a similar problem installing 7.0 I was able to install by setting SATA controller from IDE to AHCI mode with ACPI. My workaround configuration is to set thermal polling rate to a very high number, so the exception occurs only once during boot. It is workable, but far from ideal: 1. I cannot boot without ACPI (system hangs apparently trying to mount /) 2. Thermal still does not work and throws exceptions. Perhaps there is a fix to ACPI table for this? ------=_Part_9432_21885581.1205764748702 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I have the same board and a similar problem installing 7.0
 
I was able to install by setting SATA controller from IDE to AHCI mode with ACPI. My workaround configuration is to set thermal polling rate to a very high number, so the exception occurs only once during boot.
 
It is workable, but far from ideal:
1. I cannot boot without ACPI (system hangs apparently trying to mount /)
2. Thermal still does not work and throws exceptions. Perhaps there is a fix to ACPI table for this?
 
------=_Part_9432_21885581.1205764748702-- From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 18 02:10:04 2008 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 6CD5E106567C for ; Tue, 18 Mar 2008 02:10: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 3909A8FC1D for ; Tue, 18 Mar 2008 02:10: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.2/8.14.2) with ESMTP id m2I2A4Nj046138 for ; Tue, 18 Mar 2008 02:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2I2A4I5046131; Tue, 18 Mar 2008 02:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 18 Mar 2008 02:10:04 GMT Resent-Message-Id: <200803180210.m2I2A4I5046131@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, Joe Kelsey Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2E94106564A for ; Tue, 18 Mar 2008 02:09:52 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: from dsl254-019-221.sea1.dsl.speakeasy.net (dsl254-019-221.sea1.dsl.speakeasy.net [216.254.19.221]) by mx1.freebsd.org (Postfix) with ESMTP id 446FF8FC1E for ; Tue, 18 Mar 2008 02:09:52 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 14415 invoked by uid 1001); 18 Mar 2008 01:41:31 -0000 Message-Id: <20080318014131.14414.qmail@zircon.seattle.wa.us> Date: 18 Mar 2008 01:41:31 -0000 From: Joe Kelsey To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Tue, 18 Mar 2008 02:26:32 +0000 Cc: Subject: amd64/121816: Error building RELENG_7 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joe Kelsey List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 02:10:04 -0000 >Number: 121816 >Category: amd64 >Synopsis: Error building RELENG_7 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 18 02:10:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Joe Kelsey >Release: FreeBSD 6.3-STABLE amd64 >Organization: Joseph M. Kelsey >Environment: System: FreeBSD zircon.zircon.seattle.wa.us 6.3-STABLE FreeBSD 6.3-STABLE #5: Tue Jan 29 13:09:12 PST 2008 root@zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON amd64 >Description: I am attempting to upgrade from 6.3 to 7.0 and cannot build the kernel. I keep getting an error in ieee80211 stuff. I have no idea what is wrong. I have cvsup'd several times to no avail. >How-To-Repeat: >Fix: MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -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 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror vers.c linking kernel.debug ieee80211_amrr.o(.text+0x1d0): In function `ieee80211_amrr_choose': /usr/src/sys/net80211/ieee80211_amrr.c:101: undefined reference to `ieee80211_note' ieee80211_amrr.o(.text+0x222):/usr/src/sys/net80211/ieee80211_amrr.c:125: undefined reference to `ieee80211_note' ieee80211_scan_ap.o(.text+0x8d): In function `wlan_modevent': /usr/src/sys/net80211/ieee80211_scan_ap.c:385: undefined reference to `ieee80211_scanner_register' ieee80211_scan_ap.o(.text+0xcb):/usr/src/sys/net80211/ieee80211_scan_ap.c:395: undefined reference to `ieee80211_scanner_unregister_all' ieee80211_scan_ap.o(.text+0x100): In function `ap_add': /usr/src/sys/net80211/ieee80211_scan_ap.c:255: undefined reference to `ieee80211_chan2ieee' ieee80211_scan_ap.o(.text+0x1c4): In function `ap_end': /usr/src/sys/net80211/ieee80211_scan_ap.c:287: undefined reference to `ieee80211_chan2ieee' ieee80211_scan_ap.o(.text+0x209):/usr/src/sys/net80211/ieee80211_scan_ap.c:289: undefined reference to `ieee80211_note' ieee80211_scan_ap.o(.text+0x24a):/usr/src/sys/net80211/ieee80211_scan_ap.c:328: undefined reference to `ieee80211_ht_adjust_channel' ieee80211_scan_ap.o(.text+0x255):/usr/src/sys/net80211/ieee80211_scan_ap.c:328: undefined reference to `ieee80211_create_ibss' ieee80211_scan_ap.o(.text+0x29d):/usr/src/sys/net80211/ieee80211_scan_ap.c:321: undefined reference to `ieee80211_find_channel' ieee80211_scan_ap.o(.text+0x2c1):/usr/src/sys/net80211/ieee80211_scan_ap.c:306: undefined reference to `ieee80211_note' ieee80211_scan_ap.o(.text+0x43b): In function `ap_start': /usr/src/sys/net80211/ieee80211_scan_ap.c:215: undefined reference to `ieee80211_scan_dump_channels' ieee80211_scan_ap.o(.text+0x610): In function `ap_detach': /usr/src/sys/net80211/ieee80211_scan_ap.c:83: undefined reference to `M_80211_SCAN' ieee80211_scan_ap.o(.text+0x63c): In function `ap_attach': /usr/src/sys/net80211/ieee80211_scan_ap.c:64: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x10d): In function `wlan_modevent': /usr/src/sys/net80211/ieee80211_scan_sta.c:1452: undefined reference to `ieee80211_scanner_register' ieee80211_scan_sta.o(.text+0x11b):/usr/src/sys/net80211/ieee80211_scan_sta.c:1453: undefined reference to `ieee80211_scanner_register' ieee80211_scan_sta.o(.text+0x12c):/usr/src/sys/net80211/ieee80211_scan_sta.c:1454: undefined reference to `ieee80211_scanner_register' ieee80211_scan_sta.o(.text+0x16a):/usr/src/sys/net80211/ieee80211_scan_sta.c:1464: undefined reference to `ieee80211_scanner_unregister_all' ieee80211_scan_sta.o(.text+0x176):/usr/src/sys/net80211/ieee80211_scan_sta.c:1465: undefined reference to `ieee80211_scanner_unregister_all' ieee80211_scan_sta.o(.text+0x1e0): In function `sta_flush_table': /usr/src/sys/net80211/ieee80211_scan_sta.c:194: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x456): In function `match_bss': /usr/src/sys/net80211/ieee80211_scan_sta.c:812: undefined reference to `ieee80211_chan2ieee' ieee80211_scan_sta.o(.text+0x482):/usr/src/sys/net80211/ieee80211_scan_sta.c:812: undefined reference to `ieee80211_chan2ieee' ieee80211_scan_sta.o(.text+0x521):/usr/src/sys/net80211/ieee80211_scan_sta.c:738: undefined reference to `ieee80211_get_suprates' ieee80211_scan_sta.o(.text+0x7a0):/usr/src/sys/net80211/ieee80211_scan_sta.c:864: undefined reference to `ieee80211_chan2ieee' ieee80211_scan_sta.o(.text+0x897):/usr/src/sys/net80211/ieee80211_scan_sta.c:878: undefined reference to `ieee80211_print_essid' ieee80211_scan_sta.o(.text+0xacc): In function `select_bss': /usr/src/sys/net80211/ieee80211_scan_sta.c:925: undefined reference to `ieee80211_note' ieee80211_scan_sta.o(.text+0xbdb): In function `adhoc_pick_bss': /usr/src/sys/net80211/ieee80211_scan_sta.c:1403: undefined reference to `ieee80211_sta_join' ieee80211_scan_sta.o(.text+0xc0a):/usr/src/sys/net80211/ieee80211_scan_sta.c:1387: undefined reference to `ieee80211_create_ibss' ieee80211_scan_sta.o(.text+0xc69):/usr/src/sys/net80211/ieee80211_scan_sta.c:1372: undefined reference to `ieee80211_note' ieee80211_scan_sta.o(.text+0xd3f):/usr/src/sys/net80211/ieee80211_scan_sta.c:1382: undefined reference to `ieee80211_ht_adjust_channel' ieee80211_scan_sta.o(.text+0xde3): In function `sta_pick_bss': /usr/src/sys/net80211/ieee80211_scan_sta.c:988: undefined reference to `ieee80211_sta_join' ieee80211_scan_sta.o(.text+0xe3f):/usr/src/sys/net80211/ieee80211_scan_sta.c:973: undefined reference to `ieee80211_note' ieee80211_scan_sta.o(.text+0xf10): In function `add_channels': /usr/src/sys/net80211/ieee80211_scan_sta.c:405: undefined reference to `ieee80211_find_channel' ieee80211_scan_sta.o(.text+0x1118): In function `adhoc_start': /usr/src/sys/net80211/ieee80211_scan_sta.c:1291: undefined reference to `ieee80211_scan_dump_channels' ieee80211_scan_sta.o(.text+0x12dc): In function `sta_start': /usr/src/sys/net80211/ieee80211_scan_sta.c:584: undefined reference to `ieee80211_chan2mode' ieee80211_scan_sta.o(.text+0x144d):/usr/src/sys/net80211/ieee80211_scan_sta.c:615: undefined reference to `ieee80211_scan_dump_channels' ieee80211_scan_sta.o(.text+0x14c9): In function `sta_detach': /usr/src/sys/net80211/ieee80211_scan_sta.c:161: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x14fc): In function `sta_attach': /usr/src/sys/net80211/ieee80211_scan_sta.c:137: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x16ce): In function `sta_add': /usr/src/sys/net80211/ieee80211_scan_sta.c:291: undefined reference to `ieee80211_find_channel_byieee' ieee80211_scan_sta.o(.text+0x18cd):/usr/src/sys/net80211/ieee80211_scan_sta.c:235: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x1a71):/usr/src/sys/net80211/ieee80211_scan_sta.c:320: undefined reference to `ieee80211_note_mac' ieee80211_scan_sta.o(.text+0x1b26): In function `adhoc_age': /usr/src/sys/net80211/ieee80211_scan_sta.c:1422: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x1e58): In function `sta_age': /usr/src/sys/net80211/ieee80211_scan_sta.c:1100: undefined reference to `M_80211_SCAN' ieee80211_scan_sta.o(.text+0x20f5):/usr/src/sys/net80211/ieee80211_scan_sta.c:1049: undefined reference to `ieee80211_note' ieee80211_scan_sta.o(.text+0x212e):/usr/src/sys/net80211/ieee80211_scan_sta.c:1074: undefined reference to `ieee80211_note' ieee80211_scan_sta.o(.text+0x2161):/usr/src/sys/net80211/ieee80211_scan_sta.c:1044: undefined reference to `ieee80211_note' ieee80211_scan_sta.o(.text+0x1201): In function `sta_assoc_fail': /usr/src/sys/net80211/ieee80211_scan_sta.c:1164: undefined reference to `ieee80211_note_mac' ieee80211_scan_sta.o(.text+0x1216): In function `saveie': /usr/src/sys/net80211/ieee80211_scan_sta.c:205: undefined reference to `ieee80211_saveie' ieee80211_scan_sta.o(.text+0x203f): In function `sta_age': /usr/src/sys/net80211/ieee80211_scan_sta.c:1079: undefined reference to `ieee80211_sta_join' ieee80211_scan_sta.o(.text+0x20d5):/usr/src/sys/net80211/ieee80211_scan_sta.c:1068: undefined reference to `ieee80211_bg_scan' *** Error code 1 Stop in /usr/obj/usr/src/sys/ZIRCON. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 18 11:07:46 2008 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 306021065672; Tue, 18 Mar 2008 11:07:46 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE968FC15; Tue, 18 Mar 2008 11:07:46 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2IB7jra064152; Tue, 18 Mar 2008 11:07:45 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2IB7jma064148; Tue, 18 Mar 2008 11:07:45 GMT (envelope-from gavin) Date: Tue, 18 Mar 2008 11:07:45 GMT Message-Id: <200803181107.m2IB7jma064148@freefall.freebsd.org> To: joe@zircon.seattle.wa.us, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org From: gavin@FreeBSD.org X-Mailman-Approved-At: Tue, 18 Mar 2008 11:22:23 +0000 Cc: Subject: Re: amd64/121816: Error building RELENG_7 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, 18 Mar 2008 11:07:46 -0000 Synopsis: Error building RELENG_7 State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Tue Mar 18 11:03:03 UTC 2008 State-Changed-Why: I suspect you are not using the standard "GENERIC" config file, but have customised it. The standard GENERIC file in RELENG_7 has "options wlan" on line 227, which you seem to be missing. I'm closing this PR. If you are still having problems compiling your kernel, it's probably best if you ask for advice on the freebsd-stable mailing list, build problems can usually be resolved much faster there than through the PR system. http://www.freebsd.org/cgi/query-pr.cgi?pr=121816 From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 02:50:06 2008 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 37FC3106564A for ; Wed, 19 Mar 2008 02:50:06 +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 CA6A58FC16 for ; Wed, 19 Mar 2008 02:50: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.2/8.14.2) with ESMTP id m2J2o4Xq043322 for ; Wed, 19 Mar 2008 02:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2J2o4rC043321; Wed, 19 Mar 2008 02:50:04 GMT (envelope-from gnats) Date: Wed, 19 Mar 2008 02:50:04 GMT Message-Id: <200803190250.m2J2o4rC043321@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: "Jeff Hinrichs - DM&T" X-Mailman-Approved-At: Wed, 19 Mar 2008 02:55:03 +0000 Cc: Subject: Re: amd64/105514: FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 Laptop X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeff Hinrichs - DM&T List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 02:50:06 -0000 The following reply was made to PR amd64/105514; it has been noted by GNATS. From: "Jeff Hinrichs - DM&T" To: bug-followup@FreeBSD.org, swhetzel@gmail.com Cc: Subject: Re: amd64/105514: FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 Laptop Date: Tue, 18 Mar 2008 21:14:42 -0500 Dell T105 Same problem with BTX Halted and scrolling screen. Booting from USB CDROM Space bar trick does not work for me. Affects: FBSD-6.3-AMD64-Boot-Only FBSD-6.3-AMD64-Disc1 FBSD-7.0-AMD64-Disc1 FBSD-7.0-i386-Disc1 ouch. -- Jeff Hinrichs Dundee Media & Technology, Inc jeffh@dundeemt.com 402.218.1473 From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 13:34:02 2008 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 576C21065745 for ; Wed, 19 Mar 2008 13:34:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 48AE08FC1A for ; Wed, 19 Mar 2008 13:34:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 168621A4D7E; Wed, 19 Mar 2008 06:32:39 -0700 (PDT) From: John Baldwin To: freebsd-amd64@freebsd.org, Jeff Hinrichs - DM&T Date: Wed, 19 Mar 2008 09:33:50 -0400 User-Agent: KMail/1.9.7 References: <200803190250.m2J2o4rC043321@freefall.freebsd.org> In-Reply-To: <200803190250.m2J2o4rC043321@freefall.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200803190933.51055.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: Subject: Re: amd64/105514: FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 Laptop 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, 19 Mar 2008 13:34:02 -0000 On Tuesday 18 March 2008 10:50:04 pm Jeff Hinrichs - DM&T wrote: > The following reply was made to PR amd64/105514; it has been noted by > GNATS. > > From: "Jeff Hinrichs - DM&T" > To: bug-followup@FreeBSD.org, swhetzel@gmail.com > Cc: > Subject: Re: amd64/105514: FreeBSD/amd64 - Fails to boot on HP Pavilion > dv8000 Laptop Date: Tue, 18 Mar 2008 21:14:42 -0500 > > Dell T105 > > Same problem with BTX Halted and scrolling screen. > > Booting from USB CDROM > Space bar trick does not work for me. > > Affects: > > FBSD-6.3-AMD64-Boot-Only > FBSD-6.3-AMD64-Disc1 > FBSD-7.0-AMD64-Disc1 > FBSD-7.0-i386-Disc1 > > > > ouch. The USB CDROM issue is a separate issue that was just fixed a few days ago. You can try grabbing the latest 8.0 snapshot to see if it works ok. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 13:40:11 2008 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 2483E1065670 for ; Wed, 19 Mar 2008 13:40:11 +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 05D988FC1A for ; Wed, 19 Mar 2008 13:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2JDeAFk004796 for ; Wed, 19 Mar 2008 13:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2JDeAiN004795; Wed, 19 Mar 2008 13:40:10 GMT (envelope-from gnats) Resent-Date: Wed, 19 Mar 2008 13:40:10 GMT Resent-Message-Id: <200803191340.m2JDeAiN004795@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, Vladimir Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BCAC106566B for ; Wed, 19 Mar 2008 13:32:49 +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 0E92A8FC1F for ; Wed, 19 Mar 2008 13:32:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2JDWklT075256 for ; Wed, 19 Mar 2008 13:32:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2JDWjKW075255; Wed, 19 Mar 2008 13:32:45 GMT (envelope-from nobody) Message-Id: <200803191332.m2JDWjKW075255@www.freebsd.org> Date: Wed, 19 Mar 2008 13:32:45 GMT From: Vladimir To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Wed, 19 Mar 2008 13:51:59 +0000 Cc: Subject: amd64/121863: amd-64 7.0-RELEASE FreeBSD IPSEC FAST_IPSEC() 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, 19 Mar 2008 13:40:11 -0000 >Number: 121863 >Category: amd64 >Synopsis: amd-64 7.0-RELEASE FreeBSD IPSEC FAST_IPSEC() >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 19 13:40:10 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Vladimir >Release: 7.0-RELEASE FreeBSD >Organization: SGPI >Environment: FreeBSD sgpi.ru 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: desided constract IPSEC on 7.0-RELEASE FreeBSD 7.0 update src-all (cvsup) cp GENERIK XXX i know that this http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html is OLD read in one manuals that how desided upgrade mast FREEBSD 6.3 to &.0 change IPSEC_ESP mast add in kernal options FAST_IPSEC add optins FAST_IPSEC in my new kernal and resive this error: unknown option "FAST_IPSEC" Cant find MAN for IPSEC for FreeBSD 7.0... may be my mistakes ore mistak's of FreeBSD amd64... >How-To-Repeat: cp GENERIC XXX add to file "XXX" options FAST_IPSEC device crypto save and exit config xxx (xxx - file of config kernel) unknown option "FAST_IPSEC" >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 15:13:16 2008 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 547FB1065676 for ; Wed, 19 Mar 2008 15:13:16 +0000 (UTC) (envelope-from archwndas@yahoo.com) Received: from web56505.mail.re3.yahoo.com (web56505.mail.re3.yahoo.com [66.196.97.34]) by mx1.freebsd.org (Postfix) with SMTP id E2DCF8FC25 for ; Wed, 19 Mar 2008 15:13:15 +0000 (UTC) (envelope-from archwndas@yahoo.com) Received: (qmail 4493 invoked by uid 60001); 19 Mar 2008 14:46:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=jstNWxQOQIs23fd6qGabb0kCtOd0ULNUDcDzWNBCdr5lezFxMn6fNdiU7KVg2soMdiQHYV18248wGaXAaNCGzS9LjGzf3lkLJ8/EOxLTxgQqRBOP5IEBF7Ym8OqM9qFrJnSbtvBXno0Zv5JHUcGHZbeHLhCqOEYd0xRQxkwJNAo=; X-YMail-OSG: yDLA71MVM1nlKXCqNMTDCS4LrgvEfIQ4ZjKyEUR0WxnGbpBQvGcGIB67NGQcAbxqwmVklBbmw5PRZ3t95j04JQHWYPl5oES.BDsTeLsrpwhLWRMYwKIamqb_uY9dAyBg8vZmIa40fwbwWnI- Received: from [87.202.100.169] by web56505.mail.re3.yahoo.com via HTTP; Wed, 19 Mar 2008 07:46:33 PDT X-Mailer: YahooMailRC/902.38 YahooMailWebService/0.7.185 Date: Wed, 19 Mar 2008 07:46:33 -0700 (PDT) From: Simeon Nifos To: freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <510085.2048.qm@web56505.mail.re3.yahoo.com> Subject: parallel performance in FreeBSD 7.0 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, 19 Mar 2008 15:13:16 -0000 Hi there, I would like to use OpenMP to run some parallel benchmarks in FreeBSD 7.0. Could somebody tell me what options should I recompile the FreeBSD kernel with? I have a Intel Core 2 Duo Laptop. Thanks in advance, Archwn. ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 15:29:04 2008 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 9C707106566C for ; Wed, 19 Mar 2008 15:29:04 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id 2048C8FC14 for ; Wed, 19 Mar 2008 15:29:03 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m2JFOS6m010453; Wed, 19 Mar 2008 16:24:29 +0100 From: Pieter de Goeje To: freebsd-amd64@freebsd.org Date: Wed, 19 Mar 2008 16:24:27 +0100 User-Agent: KMail/1.9.7 References: <510085.2048.qm@web56505.mail.re3.yahoo.com> In-Reply-To: <510085.2048.qm@web56505.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803191624.28424.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Simeon Nifos Subject: Re: parallel performance in FreeBSD 7.0 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, 19 Mar 2008 15:29:04 -0000 On Wednesday 19 March 2008, Simeon Nifos wrote: > Hi there, > I would like to use OpenMP to run some parallel benchmarks in FreeBSD 7.0. > Could somebody tell me what options should I recompile the FreeBSD kernel > with? I have a Intel Core 2 Duo Laptop. > > Thanks in advance, > Archwn. You don't need to recompile anything. Everything should work "out of the box". BTW, the amd64 mailing list is hardly relevant to this topic. -- Pieter de Goeje From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 15:13:12 2008 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 EDDAA106566B; Wed, 19 Mar 2008 15:13:12 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C9E628FC1E; Wed, 19 Mar 2008 15:13:12 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (bz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2JFDC0V011525; Wed, 19 Mar 2008 15:13:12 GMT (envelope-from bz@freefall.freebsd.org) Received: (from bz@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2JFDCIk011504; Wed, 19 Mar 2008 15:13:12 GMT (envelope-from bz) Date: Wed, 19 Mar 2008 15:13:12 GMT Message-Id: <200803191513.m2JFDCIk011504@freefall.freebsd.org> To: energizer@sgpi.ru, bz@FreeBSD.org, freebsd-amd64@FreeBSD.org, bz@FreeBSD.org From: bz@FreeBSD.org X-Mailman-Approved-At: Wed, 19 Mar 2008 15:39:00 +0000 Cc: Subject: Re: amd64/121863: amd-64 7.0-RELEASE FreeBSD IPSEC FAST_IPSEC() 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, 19 Mar 2008 15:13:13 -0000 Synopsis: amd-64 7.0-RELEASE FreeBSD IPSEC FAST_IPSEC() State-Changed-From-To: open->closed State-Changed-By: bz State-Changed-When: Wed Mar 19 15:07:32 UTC 2008 State-Changed-Why: man 4 ipsec tells you what to do on FreeBSD 7, so should the NOTES files in sys/conf/ options IPSEC device crypto and optionally: options IPSEC_FILTERTUNNEL In case you did not install man pages you can find them here: http://www.freebsd.org/cgi/man.cgi?query=ipsec&manpath=FreeBSD+7.0-RELEASE Responsible-Changed-From-To: freebsd-amd64->bz Responsible-Changed-By: bz Responsible-Changed-When: Wed Mar 19 15:07:32 UTC 2008 Responsible-Changed-Why: In case of follow-ups I'll handle them. http://www.freebsd.org/cgi/query-pr.cgi?pr=121863 From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 18:18:50 2008 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 BAB2B1065672 for ; Wed, 19 Mar 2008 18:18:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 2110A8FC2E for ; Wed, 19 Mar 2008 18:18:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 236048178-1834499 for multiple; Wed, 19 Mar 2008 14:19:55 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m2JIIkdS004587; Wed, 19 Mar 2008 14:18:46 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Wed, 19 Mar 2008 12:02:48 -0400 User-Agent: KMail/1.9.7 References: <200803191513.m2JFDCIk011504@freefall.freebsd.org> In-Reply-To: <200803191513.m2JFDCIk011504@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803191202.48490.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 19 Mar 2008 14:18:46 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6305/Wed Mar 19 03:32:53 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: energizer@sgpi.ru, bz@freebsd.org Subject: Re: amd64/121863: amd-64 7.0-RELEASE FreeBSD IPSEC FAST_IPSEC() 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, 19 Mar 2008 18:18:50 -0000 On Wednesday 19 March 2008 11:13:12 am bz@freebsd.org wrote: > Synopsis: amd-64 7.0-RELEASE FreeBSD IPSEC FAST_IPSEC() > > State-Changed-From-To: open->closed > State-Changed-By: bz > State-Changed-When: Wed Mar 19 15:07:32 UTC 2008 > State-Changed-Why: > man 4 ipsec > tells you what to do on FreeBSD 7, so should the NOTES files > in sys/conf/ > > options IPSEC > device crypto > and optionally: > options IPSEC_FILTERTUNNEL > > In case you did not install man pages you can find them here: > http://www.freebsd.org/cgi/man.cgi?query=ipsec&manpath=FreeBSD+7.0-RELEASE > > > Responsible-Changed-From-To: freebsd-amd64->bz > Responsible-Changed-By: bz > Responsible-Changed-When: Wed Mar 19 15:07:32 UTC 2008 > Responsible-Changed-Why: > In case of follow-ups I'll handle them. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=121863 Probably the handbook needs to be updated to show how to do the same thing on 7.0, so maybe re-open and file as a doc PR. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 19 22:30:01 2008 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 7F60F106566C for ; Wed, 19 Mar 2008 22:30: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 564958FC16 for ; Wed, 19 Mar 2008 22:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2JMU1nL049503 for ; Wed, 19 Mar 2008 22:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2JMU1ag049502; Wed, 19 Mar 2008 22:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 19 Mar 2008 22:30:01 GMT Resent-Message-Id: <200803192230.m2JMU1ag049502@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, Lewis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF48106564A for ; Wed, 19 Mar 2008 22:21:43 +0000 (UTC) (envelope-from moggie@elasticmind.net) Received: from mail.elasticmind.net (mail.elasticmind.net [85.113.90.11]) by mx1.freebsd.org (Postfix) with ESMTP id 087CA8FC17 for ; Wed, 19 Mar 2008 22:21:42 +0000 (UTC) (envelope-from moggie@elasticmind.net) Received: by mail.elasticmind.net (Postfix, from userid 1001) id 7639B26D025; Wed, 19 Mar 2008 22:02:31 +0000 (GMT) Message-Id: <20080319220231.7639B26D025@mail.elasticmind.net> Date: Wed, 19 Mar 2008 22:02:31 +0000 (GMT) From: Lewis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Thu, 20 Mar 2008 00:39:56 +0000 Cc: Subject: amd64/121885: random() system call returning the same number on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lewis List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 22:30:01 -0000 >Number: 121885 >Category: amd64 >Synopsis: random() system call returning the same number on amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 19 22:30:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Lewis >Release: FreeBSD 6.2-RELEASE-p11 amd64 >Organization: >Environment: System: FreeBSD 6.2-RELEASE-p11 FreeBSD 6.2-RELEASE-p11 #1: Sat Feb 16 11:59:02 GMT 2008 amd64 Also: FreeBSD 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Sun Feb 17 23:38:18 GMT 2008 amd64 gcc -v Using built-in specs. Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 >Description: I was experiencing some strange behavour using random() in a program so I thought I'd better make a test program to see what was going on. The test program is simply trying to use some random numbers to simulate packet loss. Unfortunately when the test program executed it showed the random() number function returning the number '8440544' each time. It first appeared that there was something wrong with my program, but when it was executed on an i386 box it seemed to work as expected - producing seemingly random numbers. I ran the program on another amd64 machine which behaved in the same way as the first test, resulting in random() returning the same number each time. The source code for the test program is included below. >How-To-Repeat: The test program was just compiled as any other and executed: gcc -o random random.c ./random >Fix: --- random.c begins here --- #include #include #include #include #include #include int main(int argc, char ** argv) { srandom(time(0) * getpid()); printf("time: %d\n", time(0)); printf("pid: %d\n", getpid()); double r_num; int i, percent = 50; /* Constant 0x7fffffff is equal to (2**31)-1, which is the * maximum value returned by the random() number function. * http://web.mit.edu/answers/c/c_random_numbers.html 2008/03/19 */ for (i = 0; i < 100; i++) { /*r_num = ((float) random() / (float) 0x7fffffff);*/ r_num = random(); if (r_num < (percent / 100)) { printf("random: %u - Dropped packet.\n",r_num); } else { printf("random: %u - Sent packet.\n", r_num); } } } /* Sample program output: random: 8440544 - Sent packet. random: 8440544 - Sent packet. random: 8440544 - Sent packet. random: 8440544 - Sent packet. random: 8440544 - Sent packet. */ --- random.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 20 07:20:03 2008 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 7E7131065671 for ; Thu, 20 Mar 2008 07: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 716A78FC1C for ; Thu, 20 Mar 2008 07: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.2/8.14.2) with ESMTP id m2K7K2BP005995 for ; Thu, 20 Mar 2008 07:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2K7K2qu005994; Thu, 20 Mar 2008 07:20:02 GMT (envelope-from gnats) Date: Thu, 20 Mar 2008 07:20:02 GMT Message-Id: <200803200720.m2K7K2qu005994@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Roland Smith Cc: Subject: Re: amd64/121885: random() system call returning the same number on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roland Smith List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 07:20:03 -0000 The following reply was made to PR amd64/121885; it has been noted by GNATS. From: Roland Smith To: Lewis Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: amd64/121885: random() system call returning the same number on amd64 Date: Thu, 20 Mar 2008 08:18:50 +0100 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 19, 2008 at 10:02:31PM +0000, Lewis wrote: > --- random.c begins here --- > #include > #include > #include > #include > #include > #include >=20 > int main(int argc, char ** argv) { >=20 > srandom(time(0) * getpid()); > printf("time: %d\n", time(0)); > printf("pid: %d\n", getpid()); > =09 > double r_num; This should be 'long random;', see random(3). With this change it works. Or, see below. > int i, percent =3D 50; > /* Constant 0x7fffffff is equal to (2**31)-1, which is the > * maximum value returned by the random() number function. > * http://web.mit.edu/answers/c/c_random_numbers.html 2008/03/19 */ >=20 > for (i =3D 0; i < 100; i++) { > /*r_num =3D ((float) random() / (float) 0x7fffffff);*/ > r_num =3D random(); >=20 > if (r_num < (percent / 100)) { > printf("random: %u - Dropped packet.\n",r_num); > } else { > printf("random: %u - Sent packet.\n", r_num); And if you want to use doubles, you should have used '%f' of '%g' here, instead of '%u'. In which case it works as well. > } > } > } >=20 > /* Sample program output: (long r_num): time: 1205997021 pid: 59547 random: 1651842516 - Sent packet. random: 658819253 - Sent packet. random: 597332715 - Sent packet. random: 635700682 - Sent packet. random: 996321444 - Sent packet. random: 870878043 - Sent packet. random: 1977054922 - Sent packet. random: 955816479 - Sent packet. random: 367175873 - Sent packet. random: 16441391 - Sent packet. random: 1188837559 - Sent packet. random: 1906346020 - Sent packet. random: 151679052 - Sent packet. (double r_num, with '%g' in printf) time: 1205997420 pid: 59748 random: 9.87536e+08 - Sent packet. random: 1.5497e+09 - Sent packet. random: 2.13094e+09 - Sent packet. random: 1.08434e+09 - Sent packet. random: 1.94301e+09 - Sent packet. random: 1.34453e+09 - Sent packet. random: 1.77993e+09 - Sent packet. random: 1.10691e+09 - Sent packet. random: 1.95755e+09 - Sent packet. random: 1.70928e+09 - Sent packet. random: 1.66913e+09 - Sent packet. random: 1.90308e+09 - Sent packet. I think this PR can be closed. 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) --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfiD9oACgkQEnfvsMMhpyWrOgCgl+gm3rRA5xYbYr6ljdxXBQ2a 9N0AniIMhHMxQscViXBWyzszwjkmxGpJ =pXIk -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 20 11:30:03 2008 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 4A3521065675 for ; Thu, 20 Mar 2008 11:30: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 477CB8FC15 for ; Thu, 20 Mar 2008 11:30: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.2/8.14.2) with ESMTP id m2KBU3NK026076 for ; Thu, 20 Mar 2008 11:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2KBU3KK026068; Thu, 20 Mar 2008 11:30:03 GMT (envelope-from gnats) Date: Thu, 20 Mar 2008 11:30:03 GMT Message-Id: <200803201130.m2KBU3KK026068@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Lewis X-Mailman-Approved-At: Thu, 20 Mar 2008 11:36:30 +0000 Cc: Subject: Re: amd64/121885: random() system call returning the same number on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lewis List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 11:30:03 -0000 The following reply was made to PR amd64/121885; it has been noted by GNATS. From: Lewis To: Roland Smith Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: amd64/121885: random() system call returning the same number on amd64 Date: Thu, 20 Mar 2008 11:03:28 +0000 Hi, Thanks for looking at this and spotting the problem, so much time was wasted trying to figure out what was wrong :( I guess much of the confusion was caused by the same code working on i386 but not amd64 and is what prompted people to suggest to me writing a PR. Would it have been because amd64 uses different sizes of 'double' than i386 or something like that? Regards, Lewis. Roland Smith wrote: > On Wed, Mar 19, 2008 at 10:02:31PM +0000, Lewis wrote: > >> --- random.c begins here --- >> #include >> #include >> #include >> #include >> #include >> #include >> >> int main(int argc, char ** argv) { >> >> srandom(time(0) * getpid()); >> printf("time: %d\n", time(0)); >> printf("pid: %d\n", getpid()); >> >> double r_num; >> > > This should be 'long random;', see random(3). > > With this change it works. Or, see below. > > >> int i, percent = 50; >> /* Constant 0x7fffffff is equal to (2**31)-1, which is the >> * maximum value returned by the random() number function. >> * http://web.mit.edu/answers/c/c_random_numbers.html 2008/03/19 */ >> >> for (i = 0; i < 100; i++) { >> /*r_num = ((float) random() / (float) 0x7fffffff);*/ >> r_num = random(); >> >> if (r_num < (percent / 100)) { >> printf("random: %u - Dropped packet.\n",r_num); >> } else { >> printf("random: %u - Sent packet.\n", r_num); >> > > And if you want to use doubles, you should have used '%f' of '%g' here, > instead of '%u'. In which case it works as well. > > >> } >> } >> } >> >> /* Sample program output: >> > (long r_num): > time: 1205997021 > pid: 59547 > random: 1651842516 - Sent packet. > random: 658819253 - Sent packet. > random: 597332715 - Sent packet. > random: 635700682 - Sent packet. > random: 996321444 - Sent packet. > random: 870878043 - Sent packet. > random: 1977054922 - Sent packet. > random: 955816479 - Sent packet. > random: 367175873 - Sent packet. > random: 16441391 - Sent packet. > random: 1188837559 - Sent packet. > random: 1906346020 - Sent packet. > random: 151679052 - Sent packet. > > (double r_num, with '%g' in printf) > time: 1205997420 > pid: 59748 > random: 9.87536e+08 - Sent packet. > random: 1.5497e+09 - Sent packet. > random: 2.13094e+09 - Sent packet. > random: 1.08434e+09 - Sent packet. > random: 1.94301e+09 - Sent packet. > random: 1.34453e+09 - Sent packet. > random: 1.77993e+09 - Sent packet. > random: 1.10691e+09 - Sent packet. > random: 1.95755e+09 - Sent packet. > random: 1.70928e+09 - Sent packet. > random: 1.66913e+09 - Sent packet. > random: 1.90308e+09 - Sent packet. > > I think this PR can be closed. > > Roland > From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 20 12:50:02 2008 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 DAD061065676 for ; Thu, 20 Mar 2008 12: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 D6F558FC20 for ; Thu, 20 Mar 2008 12: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.2/8.14.2) with ESMTP id m2KCo26V032881 for ; Thu, 20 Mar 2008 12:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2KCo2Eo032880; Thu, 20 Mar 2008 12:50:02 GMT (envelope-from gnats) Date: Thu, 20 Mar 2008 12:50:02 GMT Message-Id: <200803201250.m2KCo2Eo032880@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Roland Smith Cc: Subject: Re: amd64/121885: random() system call returning the same number on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roland Smith List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 12:50:03 -0000 The following reply was made to PR amd64/121885; it has been noted by GNATS. From: Roland Smith To: Lewis Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: amd64/121885: random() system call returning the same number on amd64 Date: Thu, 20 Mar 2008 13:45:57 +0100 --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 20, 2008 at 11:03:28AM +0000, Lewis wrote: > Hi, >=20 (please don't top-post) >>> double r_num; >>=20 >> This should be 'long r_num;', see random(3). [fixed spelling :)] >> With this change it works. Or, see below. >>> if (r_num < (percent / 100)) { >>> printf("random: %u - Dropped packet.\n",r_num); >>> } else { >>> printf("random: %u - Sent packet.\n", r_num); >>=20 >> And if you want to use doubles, you should have used '%f' of '%g' here, >> instead of '%u'. In which case it works as well. > Thanks for looking at this and spotting the problem, so much time was=20 > wasted trying to figure out what was wrong :( I guess much of the confusi= on=20 > was caused by the same code working on i386 but not amd64 and is what=20 > prompted people to suggest to me writing a PR. Would it have been because= =20 > amd64 uses different sizes of 'double' than i386 or something like that? I think it is rather the size of 'long', which is 32 bits on i386 and 64 bits on amd64. Compare /usr/src/sys/i386/include/_types.h and /usr/src/sys/amd64/include/_types.h=20 I'll send you the source for a program that determines the lengths of fundamental types off-list. 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) --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfiXIUACgkQEnfvsMMhpyVx/QCgrkp+Vu1F6lh/rTOYWlva60PM Y+IAniifAgWmij/grlvwWcWQCfr/7SOG =+GrJ -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs-- From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 20 12:59:29 2008 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 AF7B81065674; Thu, 20 Mar 2008 12:59:29 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9395C8FC36; Thu, 20 Mar 2008 12:59:29 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2KCxT5s033140; Thu, 20 Mar 2008 12:59:29 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2KCxTHM033136; Thu, 20 Mar 2008 12:59:29 GMT (envelope-from jhb) Date: Thu, 20 Mar 2008 12:59:29 GMT Message-Id: <200803201259.m2KCxTHM033136@freefall.freebsd.org> To: moggie@elasticmind.net, jhb@FreeBSD.org, freebsd-amd64@FreeBSD.org From: jhb@FreeBSD.org Cc: Subject: Re: amd64/121885: random() system call returning the same number 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: Thu, 20 Mar 2008 12:59:29 -0000 Synopsis: random() system call returning the same number on amd64 State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Thu Mar 20 12:59:14 UTC 2008 State-Changed-Why: Not an OS bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=121885 From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 20 17:07:18 2008 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 7F5DF106566B; Thu, 20 Mar 2008 17:07:18 +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 586D88FC1F; Thu, 20 Mar 2008 17:07:18 +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.2/8.14.2) with ESMTP id m2KH7HN4063120; Thu, 20 Mar 2008 13:07:17 -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.2/8.14.2) with ESMTP id m2KH7HSA042532; Thu, 20 Mar 2008 13:07:17 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 306D573039; Thu, 20 Mar 2008 12:07:17 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080320170717.306D573039@freebsd-current.sentex.ca> Date: Thu, 20 Mar 2008 12:07:17 -0500 (EST) X-Virus-Scanned: ClamAV 0.92.1/6305/Wed Mar 19 03:32:53 2008 clamav-milter version 0.92.1 on clamscanner3 X-Virus-Status: Clean 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: Thu, 20 Mar 2008 17:07:18 -0000 TB --- 2008-03-20 15:35:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-03-20 15:35:01 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-03-20 15:35:01 - cleaning the object tree TB --- 2008-03-20 15:35:54 - cvsupping the source tree TB --- 2008-03-20 15:35:54 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-03-20 15:36:01 - building world (CFLAGS=-O -pipe) TB --- 2008-03-20 15:36:01 - cd /src TB --- 2008-03-20 15:36:01 - /usr/bin/make -B buildworld >>> World build started on Thu Mar 20 15:36:03 UTC 2008 >>> 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 Thu Mar 20 17:02:35 UTC 2008 TB --- 2008-03-20 17:02:35 - generating LINT kernel config TB --- 2008-03-20 17:02:35 - cd /src/sys/amd64/conf TB --- 2008-03-20 17:02:35 - /usr/bin/make -B LINT TB --- 2008-03-20 17:02:35 - building LINT kernel (COPTFLAGS=) TB --- 2008-03-20 17:02:35 - cd /src TB --- 2008-03-20 17:02:35 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Mar 20 17:02:35 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=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-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-pci.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=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-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-queue.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=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-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-raid.c cc1: warnings being treated as errors /src/sys/dev/ata/ata-raid.c: In function 'ata_raid_attach': /src/sys/dev/ata/ata-raid.c:202: warning: implicit declaration of function 'ata_unit2str' /src/sys/dev/ata/ata-raid.c:202: warning: nested extern declaration of 'ata_unit2str' /src/sys/dev/ata/ata-raid.c:203: warning: format '%s' expects type 'char *', but argument 4 has type 'int' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-03-20 17:07:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-03-20 17:07:17 - ERROR: failed to build lint kernel TB --- 2008-03-20 17:07:17 - tinderbox aborted TB --- 4099.67 user 520.65 system 5535.99 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 20 21:57:05 2008 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 4172A1065670; Thu, 20 Mar 2008 21:57:05 +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 EABA38FC35; Thu, 20 Mar 2008 21:57:04 +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.2/8.14.2) with ESMTP id m2KLv4k1006015; Thu, 20 Mar 2008 17:57:04 -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.2/8.14.2) with ESMTP id m2KLv3DW056970; Thu, 20 Mar 2008 17:57:04 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id AA97E73039; Thu, 20 Mar 2008 16:57:03 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080320215703.AA97E73039@freebsd-current.sentex.ca> Date: Thu, 20 Mar 2008 16:57:03 -0500 (EST) X-Virus-Scanned: ClamAV 0.92.1/6305/Wed Mar 19 03:32:53 2008 clamav-milter version 0.92.1 on clamscanner3 X-Virus-Status: Clean 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: Thu, 20 Mar 2008 21:57:05 -0000 TB --- 2008-03-20 20:25:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-03-20 20:25:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-03-20 20:25:00 - cleaning the object tree TB --- 2008-03-20 20:25:44 - cvsupping the source tree TB --- 2008-03-20 20:25:44 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-03-20 20:25:49 - building world (CFLAGS=-O -pipe) TB --- 2008-03-20 20:25:49 - cd /src TB --- 2008-03-20 20:25:49 - /usr/bin/make -B buildworld >>> World build started on Thu Mar 20 20:25:51 UTC 2008 >>> 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 Thu Mar 20 21:52:20 UTC 2008 TB --- 2008-03-20 21:52:20 - generating LINT kernel config TB --- 2008-03-20 21:52:20 - cd /src/sys/amd64/conf TB --- 2008-03-20 21:52:20 - /usr/bin/make -B LINT TB --- 2008-03-20 21:52:20 - building LINT kernel (COPTFLAGS=) TB --- 2008-03-20 21:52:20 - cd /src TB --- 2008-03-20 21:52:20 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Mar 20 21:52:20 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=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-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-pci.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=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-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-queue.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=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-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-raid.c cc1: warnings being treated as errors /src/sys/dev/ata/ata-raid.c: In function 'ata_raid_attach': /src/sys/dev/ata/ata-raid.c:202: warning: implicit declaration of function 'ata_unit2str' /src/sys/dev/ata/ata-raid.c:202: warning: nested extern declaration of 'ata_unit2str' /src/sys/dev/ata/ata-raid.c:203: warning: format '%s' expects type 'char *', but argument 4 has type 'int' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-03-20 21:57:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-03-20 21:57:03 - ERROR: failed to build lint kernel TB --- 2008-03-20 21:57:03 - tinderbox aborted TB --- 4100.85 user 517.06 system 5522.76 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 21 02:51:38 2008 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 D5F44106564A for ; Fri, 21 Mar 2008 02:51:38 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56808.mail.re3.yahoo.com (web56808.mail.re3.yahoo.com [66.196.97.82]) by mx1.freebsd.org (Postfix) with SMTP id 7EB2E8FC13 for ; Fri, 21 Mar 2008 02:51:38 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 77932 invoked by uid 60001); 21 Mar 2008 02:24:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=oi7C064i4xTzAb5vrMcg/3HeA+VHdmE+sXZbrl8x/gMiCVboc9Y5DVplBHh5O0AzJX0fJ798rIt75MZzottx4F/rlX93+HDNaXz4eohhQFrOzAsUGMI8RHICp7p/6dlgj9BFGYR/SzkE2A1nj6ub1WfyhTuBc+cg4wjthOOEgUo=; X-YMail-OSG: o0lGwWgVM1ngG.P5FWCzAGtK94cisHrYFwMpjCvskgOxJjgih_Nri_epq7IurMDuqz1ebSLzom8aI8z8Uz7PJM015palAr2jlzdLD1jRDDvHi5BFqjxmntKziPYQxgY1PuLVGfvYcWHbrP0- Received: from [71.61.66.195] by web56808.mail.re3.yahoo.com via HTTP; Thu, 20 Mar 2008 19:24:55 PDT Date: Thu, 20 Mar 2008 19:24:55 -0700 (PDT) From: mdh To: freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <972031.77533.qm@web56808.mail.re3.yahoo.com> Subject: 7.0-STABLE hanging while running Xorg with nv driver 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, 21 Mar 2008 02:51:38 -0000 Hello, I posted to -questions earlier, but didn't get any response and was hoping that maybe someone here would have some more insight into how I might go about fixing this problem. I recently upgraded a system to 7.0/amd64 from 6.2. More accurately, I freshly installed 7.0-R on it, then csup'd to -STABLE. This system worked fine using nvidia.com's Xorg drivers with Xorg 6 on 6.2, and after installing 7.0 and building -STABLE, things seemed to be going well also. Once I started Xorg with kdm/KDE however, the system would (usually within 1-5 minutes after logging in) hang. I tried gdm/gnome with the same results. This was using the nv driver that was included with the system. The hang would occur after some level of activity had occured - once during openoffice startup, once during seamonkey startup, once after opening and then closing KDE's control center and then opening an xterm... The exact symptom was that the system (including network stack) would hang - I couldn't ssh to it, or ping it, or even toggle the caps lock/num lock LEDs on the keyboard. The mouse cursor was, however, still responsive on the screen. I found this very strange. It's a USB mouse. Unfortunately because it hangs in this way, I can't get a meaningful dump or anything of that sort. My next step was to start Xorg using the vga driver. I was unable to reproduce the hang using the vga driver, however the max resolution and depth is of course unbearable for even short-term use. ;) This leads me to believe that the issue may be with the nv driver. I'm also getting an error out of Xorg, which you can see in the attached xorg_err.txt file. I also have suspicions towards how acpi assigns the interrupts and such to the video controller. The video controller is a GeForce 6200 in the PCIEx16 slot. I have tried to start without acpi (both turning it off in the bios and instructing FreeBSD's boot loader not to load it, however it seems that FreeBSD can't find anything without acpi now - it couldn't mount root, or do other useful things.) A few things that changed between my old build and my current system... * 7.0 seems to support (or more fully support) this system's ACPI. It's an nvidia nf4u chipset. The support was either non-existent or very limited in 6.2. * I was using i386 before, but went to amd64 with 7.0. * I'm using the nv driver for Xorg instead of the ones from nvidia.com, since nvidia doesn't provide one for amd64. * Xorg 6 -> Xorg 7, and all other software up No hardware has changed. Thank you for any help you can provide. - mdh ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-amd64@FreeBSD.ORG Sat Mar 22 03:30:02 2008 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 0E240106566C for ; Sat, 22 Mar 2008 03:30: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 E4DB58FC1F for ; Sat, 22 Mar 2008 03:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2M3U1K7037786 for ; Sat, 22 Mar 2008 03:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2M3U1bg037782; Sat, 22 Mar 2008 03:30:01 GMT (envelope-from gnats) Resent-Date: Sat, 22 Mar 2008 03:30:01 GMT Resent-Message-Id: <200803220330.m2M3U1bg037782@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, Bill Squire Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1732106564A for ; Sat, 22 Mar 2008 03:28:00 +0000 (UTC) (envelope-from billsf@billsf.net) Received: from curacao.billsf.net (billsf.net [213.130.164.21]) by mx1.freebsd.org (Postfix) with ESMTP id B6A278FC14 for ; Sat, 22 Mar 2008 03:28:00 +0000 (UTC) (envelope-from billsf@billsf.net) Received: by curacao.billsf.net (Postfix, from userid 1000) id F26BD28F849; Sat, 22 Mar 2008 03:52:30 +0100 (CET) Message-Id: <20080322025230.F26BD28F849@curacao.billsf.net> Date: Sat, 22 Mar 2008 03:52:30 +0100 (CET) From: Bill Squire To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Sat, 22 Mar 2008 11:12:26 +0000 Cc: Subject: amd64/121951: Javascript bug in _amd64_ version of Mozilla-Firefox X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bill Squire List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 03:30:02 -0000 >Number: 121951 >Category: amd64 >Synopsis: Javascript bug in _amd64_ version of Mozilla-Firefox >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: Sat Mar 22 03:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Bill Squire >Release: FreeBSD 7.0-STABLE amd64 >Organization: Billsf Holding BV / Squire for Hire >Environment: System: FreeBSD curacao.billsf.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Mar 12 16:30:16 CET 2008 root@curacao.billsf.net:/usr/obj/pkg/src_7/src/sys/CURACAO-SMP amd64 Xorg-xorg-7.3_1 with xf86-video-ati-6.7.196 for ATI Radeon X550 (RV370) 5B63 (PCIE) with XFCE (Gnome apps and some KDE apps) >Description: A 'quirk' possibly in the amd64 Firefox causes an error loading AJAX-style Javascript and other modern scripts that embed XML and javascript. Same on FreeBSD v7 and v8. (from the javascript error console) http://maps.google.com/ http://maps.google.com/intl/en_ALL/mapfiles/103/maps2/main.js error: 'a has no properties' (:545) or, error: 'u has no properties' (:278) http://slashdot.org/ http://slashdot.org/index.pl error: '_gat is not defined' (:39) and, error: 'pageTracker has no properties' (:2415) >How-To-Repeat: goto: and note there are NO maps -- anywhere 100% repeatable -- problem has developed over the past six months. goto: , login and try to "Retrieve more of ...." (at the bottom of the page) Try to set preferences or any other 'ajax-style' window 100% repeatable -- has developed over 1/2 a year. Other very minor failures at various sites: (highly variable) Launching video at various news sites (non-flash) usually implies manual loading into a mediaplayer or 'carefully timed manipulation'. BBC, CBC, VARA, VPRO etc. Note: Some sites, particularly in the US, try to prevent non-Windows usage. (This may or may not be related to this.) has very good error recovery in its scripts -- works. error: 'u has no properties' (no noticable consequences) >Fix: Some sites should be aware of this and perhaps write better scripts. Run the Linux32 version -- Usually works well. Run the native 32bit version on an i386 (athlon-xp) or Run the 32bit version under emulation on amd64. (in a jail) (Both the real and 'emulated' i386 work error-free.) Turn off javascript when practical Learn Javascript-2.0! >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Sat Mar 22 12:10:22 2008 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 3CC60106566B; Sat, 22 Mar 2008 12:10:22 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 180258FC18; Sat, 22 Mar 2008 12:10:22 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (bz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2MCAL7n006064; Sat, 22 Mar 2008 12:10:21 GMT (envelope-from bz@freefall.freebsd.org) Received: (from bz@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2MCALbi006060; Sat, 22 Mar 2008 12:10:21 GMT (envelope-from bz) Date: Sat, 22 Mar 2008 12:10:21 GMT Message-Id: <200803221210.m2MCALbi006060@freefall.freebsd.org> To: bz@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-ports@FreeBSD.org From: bz@FreeBSD.org X-Mailman-Approved-At: Sat, 22 Mar 2008 12:33:28 +0000 Cc: Subject: Re: amd64/121951: Javascript bug in _amd64_ version of Mozilla-Firefox 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, 22 Mar 2008 12:10:22 -0000 Synopsis: Javascript bug in _amd64_ version of Mozilla-Firefox Responsible-Changed-From-To: freebsd-amd64->freebsd-ports Responsible-Changed-By: bz Responsible-Changed-When: Sat Mar 22 12:10:02 UTC 2008 Responsible-Changed-Why: Reassign to the right people. http://www.freebsd.org/cgi/query-pr.cgi?pr=121951