From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 4 11:06:55 2011 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 A355D1065674 for ; Mon, 4 Apr 2011 11:06:55 +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 753958FC20 for ; Mon, 4 Apr 2011 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p34B6t9R028543 for ; Mon, 4 Apr 2011 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p34B6s5E028541 for freebsd-amd64@FreeBSD.org; Mon, 4 Apr 2011 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Apr 2011 11:06:54 GMT Message-Id: <201104041106.p34B6s5E028541@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 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, 04 Apr 2011 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/156106 amd64 boot0 fails to start o amd64/156074 amd64 Removing CD-Rom from Lenovo T61p hangs system o amd64/156014 amd64 FreeBSD 8.2-RELEASE amd64 freeze and crash o amd64/155903 amd64 FreeBSD32 emulation patch to support i386 X11 Server o amd64/155249 amd64 [build] 8.1 buildworld failure o amd64/155135 amd64 [boot] Does Not Boot On a Very Standard Hardware o amd64/154957 amd64 [boot] Install boot CD won't boot up - keeps rebooting o amd64/154629 amd64 [panic] Fatal trap 9: general protection fault while i o amd64/153935 amd64 [hang] system hangs while trying to do 'shutdown -h no o amd64/153831 amd64 [boot] CD bootloader won't on Tyan s2912G2nr o amd64/153496 amd64 [hyper-v] [install] Install on Hyper-V leaves corrupt o amd64/153372 amd64 [panic] kernel panic o amd64/153175 amd64 [amd64] Kernel Panic on only FreeBSD 8 amd64 o amd64/152874 amd64 [install] 8.1 install fails where 7.3 works due to lac o amd64/152430 amd64 [boot] HP ProLiant Microserver n36l cannot boot into i o amd64/151385 amd64 [boot] Installation hangs on MacBook o amd64/150170 amd64 [patch] [amd64] [headers] SIG_ATOMIC_MIN/SIG_ATOMIC_MA o amd64/148526 amd64 [ahci] ahci driver does not boot on AMD chip o amd64/145991 amd64 [NOTES] [patch] Add a requires line to /sys/amd64/conf o amd64/144405 amd64 [build] [patch] include /usr/obj/lib32 in cleanworld t s amd64/143173 amd64 [ata] Promise FastTrack TX4 + SATA DVD, installer can' f amd64/141413 amd64 [hang] Tyan 2881 m3289 SMDC freeze o amd64/141060 amd64 [install] Can't install 8.0-RELEASE on the server wher o amd64/140715 amd64 [boot] Dell M600 Blade fails to boot 7.2+ 64 bit o amd64/139998 amd64 [panic][net] 7.2 amd64 panic in rtrequest1_fib o amd64/139924 amd64 [boot] cd or dvd not load o amd64/138029 amd64 [panic][bpf] periodically kernel panic and reboot o amd64/137942 amd64 [pci] 8.0-BETA2 having problems with Asus M2N-SLI-delu o amd64/135265 amd64 [mpt] Boot from install cd hangs on HP DL160 G5 with L o amd64/135040 amd64 [ata] FreeBSD/amd64 does not (always) detect disk on S o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o amd64/133701 amd64 Recompiling the kernel with k8temp or smbios break GEO o amd64/132574 amd64 [boot] [hang] Freeze on bootstrap loader (CD) using AT o amd64/131456 amd64 [acpi] [ata] ACPI & ATA problems s amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL o amd64/130368 amd64 [hang] Switching from xorg to console locks up compute o amd64/129889 amd64 [boot] [hang] The booting process stops at the line mo o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o amd64/129315 amd64 [em] amd64 motherboard: Intel DG965WH motherboard comp o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/127640 amd64 [amd64] gcc(1) will not build shared libraries with -f o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 50 problems total. From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 5 22:10:48 2011 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 D80EE106566C; Tue, 5 Apr 2011 22:10:48 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 81A588FC08; Tue, 5 Apr 2011 22:10:48 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 88A85A82696; Wed, 6 Apr 2011 06:10:47 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id TJLx7jG4pLEU; Wed, 6 Apr 2011 06:10:41 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 58D04A8267F; Wed, 6 Apr 2011 06:10:40 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:subject:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=FPoo8ejpj4+HR6xQNL/0RFTSuf/FL7q2aiAHkJxD4TFQNbhv3aaPbZj3sv7pCPE3y qjQm/zeW2m7nqRqic8Gpw== Message-ID: <4D9B935D.4010705@delphij.net> Date: Tue, 05 Apr 2011 15:10:37 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110317 Thunderbird/3.1.9 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: freebsd-arch@freebsd.org, freebsd-amd64@freebsd.org X-Enigmail-Version: 1.1.2 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Where to find amd64 ABI information for FreeBSD? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2011 22:10:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, Is there a place to find ABI information for GCC on FreeBSD? Specifically, I'm looking for which registers has to be preserved across function call? (Or do we follow System V Application Binary Interface AMD64 Architecture Processor Supplement Draft Version 0.99.5?) Thanks in advance! Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBCAAGBQJNm5NdAAoJEATO+BI/yjfBIJ0IAIoUzVnFHqp0ZABglvYJped+ kILAINifF2zxdcZqinfGBVTPG2H9vm5CsIsaU58XyUELdYynSHpVb4nwIrrVzxk9 +Mw6fTY7B+AT6mHPsj2b4MoFrwi6d8mvkgovyiF1SZm/jbi2vpm7eOi6VZ2sCU1u /N1/6YyjK+pdqLWLtNlS+5QR8wC0WZC+cmDQ7pEkO5Vb2AebVJxZVEtG+/SDw9xG kkGs2vR+N+Gl9OfIwnoSHJ/izLS7lOoCfBGyl/rlXsLXQbe8ijq5e2K1RF0P3alO zu9LlHz1ExOTbl4NNUnDw+1Wyd15Lt+Uiq3h/mVPO/b5eTyNkjTwdtqDeofAwnA= =Mwee -----END PGP SIGNATURE----- From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 5 22:49:32 2011 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 903841065672; Tue, 5 Apr 2011 22:49:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4DE8FC20; Tue, 5 Apr 2011 22:49:31 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p35MnDAo098014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 01:49:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p35MnD1W083367; Wed, 6 Apr 2011 01:49:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p35MnD9L083366; Wed, 6 Apr 2011 01:49:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Apr 2011 01:49:13 +0300 From: Kostik Belousov To: d@delphij.net Message-ID: <20110405224913.GF78089@deviant.kiev.zoral.com.ua> References: <4D9B935D.4010705@delphij.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBycx+zjj0qtx+9x" Content-Disposition: inline In-Reply-To: <4D9B935D.4010705@delphij.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-amd64@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Where to find amd64 ABI information for FreeBSD? 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, 05 Apr 2011 22:49:32 -0000 --DBycx+zjj0qtx+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2011 at 03:10:37PM -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > Hi, >=20 > Is there a place to find ABI information for GCC on FreeBSD? > Specifically, I'm looking for which registers has to be preserved > across function call? (Or do we follow System V Application Binary > Interface AMD64 Architecture Processor Supplement Draft Version 0.99.5?) The parts of the mentioned document that depend on compiler and toolchain, are fully valid for FreeBSD. Our non-compliance is mostly in the specified bits of the kernel/usermode interface. --DBycx+zjj0qtx+9x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk2bnGgACgkQC3+MBN1Mb4j+5wCg7z2hu6nZfFLcaLezwJrIogdI 1EkAoJl7zTrKXEKpVcG6uwe1sxuUmPxx =Byes -----END PGP SIGNATURE----- --DBycx+zjj0qtx+9x-- From owner-freebsd-amd64@FreeBSD.ORG Wed Apr 6 13:07:02 2011 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 2C28F106566B for ; Wed, 6 Apr 2011 13:07:02 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx06.syd.optusnet.com.au (fallbackmx06.syd.optusnet.com.au [211.29.132.8]) by mx1.freebsd.org (Postfix) with ESMTP id F2EB08FC14 for ; Wed, 6 Apr 2011 13:07:00 +0000 (UTC) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by fallbackmx06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p36Bc9lO026856 for ; Wed, 6 Apr 2011 21:38:12 +1000 Received: from c122-106-155-58.carlnfd1.nsw.optusnet.com.au (c122-106-155-58.carlnfd1.nsw.optusnet.com.au [122.106.155.58]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p36Bbm1D014971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 21:37:49 +1000 Date: Wed, 6 Apr 2011 21:37:48 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kostik Belousov In-Reply-To: <20110405224913.GF78089@deviant.kiev.zoral.com.ua> Message-ID: <20110406212659.W1522@besplex.bde.org> References: <4D9B935D.4010705@delphij.net> <20110405224913.GF78089@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: d@delphij.net, freebsd-amd64@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: Where to find amd64 ABI information for FreeBSD? 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, 06 Apr 2011 13:07:02 -0000 On Wed, 6 Apr 2011, Kostik Belousov wrote: > On Tue, Apr 05, 2011 at 03:10:37PM -0700, Xin LI wrote: >> Is there a place to find ABI information for GCC on FreeBSD? >> Specifically, I'm looking for which registers has to be preserved >> across function call? (Or do we follow System V Application Binary I've always looked at the source code (mainly i386.h and i386.md). I don't know of any better way for i386. >> Interface AMD64 Architecture Processor Supplement Draft Version 0.99.5?) > > The parts of the mentioned document that depend on compiler and > toolchain, are fully valid for FreeBSD. Our non-compliance is mostly > in the specified bits of the kernel/usermode interface. Is it still a de-facto standard only at 0.99.x? I only have 0.95 from 2005. I guess little has changed. Bruce From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 7 23:20:11 2011 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 70635106566B for ; Thu, 7 Apr 2011 23:20: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 458CC8FC13 for ; Thu, 7 Apr 2011 23:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p37NKBYV012774 for ; Thu, 7 Apr 2011 23:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p37NKBxr012773; Thu, 7 Apr 2011 23:20:11 GMT (envelope-from gnats) Date: Thu, 7 Apr 2011 23:20:11 GMT Message-Id: <201104072320.p37NKBxr012773@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Rodrigo OSORIO X-Mailman-Approved-At: Fri, 08 Apr 2011 01:37:22 +0000 Cc: Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rodrigo OSORIO List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 23:20:11 -0000 The following reply was made to PR amd64/156014; it has been noted by GNATS. From: Rodrigo OSORIO To: bug-followup@FreeBSD.org, rodrigo@bebik.net Cc: Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash Date: Fri, 08 Apr 2011 01:12:55 +0200 Hi, After reinstall the full system in 8.2-RELEASE, the crashes persist You can find the full crash dump here : http://www.bebik.net/~rodrigo/freebsd/NewCrash/ Regards Rodrigo From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 8 02:16:59 2011 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 F3B2D106571D for ; Fri, 8 Apr 2011 02:16:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C8C2D8FC1F for ; Fri, 8 Apr 2011 02:16:58 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 550E546B55; Thu, 7 Apr 2011 22:16:58 -0400 (EDT) Received: from kavik.baldwin.cx (c-68-36-150-83.hsd1.nj.comcast.net [68.36.150.83]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9099D8A027; Thu, 7 Apr 2011 22:16:57 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org, Rodrigo OSORIO Date: Thu, 7 Apr 2011 22:16:53 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-RELEASE; KDE/4.5.5; i386; ; ) References: <201104072320.p37NKBxr012773@freefall.freebsd.org> In-Reply-To: <201104072320.p37NKBxr012773@freefall.freebsd.org> MIME-Version: 1.0 Message-Id: <201104072216.54380.jhb@freebsd.org> Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 07 Apr 2011 22:16:57 -0400 (EDT) Cc: Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash 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, 08 Apr 2011 02:16:59 -0000 On Thursday, April 07, 2011 07:20:11 pm Rodrigo OSORIO wrote: > The following reply was made to PR amd64/156014; it has been noted by > GNATS. > > From: Rodrigo OSORIO > To: bug-followup@FreeBSD.org, rodrigo@bebik.net > Cc: > Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash > Date: Fri, 08 Apr 2011 01:12:55 +0200 > > Hi, > > After reinstall the full system in 8.2-RELEASE, the crashes persist > > You can find the full crash dump here : > http://www.bebik.net/~rodrigo/freebsd/NewCrash/ Can you fire up kgdb and do 'proc 2' followed by 'bt' and reply with the output? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 8 22:47:14 2011 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 115CA106567B; Fri, 8 Apr 2011 22:47:14 +0000 (UTC) (envelope-from rodrigo@bebik.net) Received: from smtpfb2-g21.free.fr (smtpfb2-g21.free.fr [212.27.42.10]) by mx1.freebsd.org (Postfix) with ESMTP id BE3EB8FC18; Fri, 8 Apr 2011 22:47:10 +0000 (UTC) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by smtpfb2-g21.free.fr (Postfix) with ESMTP id 7DD48CAA387; Sat, 9 Apr 2011 00:30:57 +0200 (CEST) Received: from [192.168.1.40] (hodja.bebik.net [82.227.164.69]) by smtp3-g21.free.fr (Postfix) with ESMTP id 85459A620B; Sat, 9 Apr 2011 00:30:49 +0200 (CEST) Message-ID: <4D9F8CE7.40606@bebik.net> Date: Sat, 09 Apr 2011 00:32:07 +0200 From: Rodrigo OSORIO User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110330 Thunderbird/3.1.9 MIME-Version: 1.0 To: John Baldwin References: <201104072320.p37NKBxr012773@freefall.freebsd.org> <201104072216.54380.jhb@freebsd.org> In-Reply-To: <201104072216.54380.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 08 Apr 2011 22:52:58 +0000 Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash 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, 08 Apr 2011 22:47:14 -0000 On 04/08/11 04:16, John Baldwin wrote: > proc 2 Hello, Here is the result to your request. Regards - rodrigo desktop# kgdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_hda.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko #0 sched_switch (td=0xffffffff80b5dfc0, newtd=0xffffff0002a5a000, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 1858 cpuid = PCPU_GET(cpuid); (kgdb) proc 2 [Switching to thread 30 (Thread 100011)]#0 sched_switch (td=0xffffff0002a6d460, newtd=0xffffff0002a678c0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 1858 cpuid = PCPU_GET(cpuid); (kgdb) bt #0 sched_switch (td=0xffffff0002a6d460, newtd=0xffffff0002a678c0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 #1 0xffffffff805cb176 in mi_switch (flags=260, newtd=0x0) at /usr/src/sys/kern/kern_synch.c:449 #2 0xffffffff805fe7c2 in sleepq_timedwait (wchan=0xffffffff80b5da10, pri=76) at /usr/src/sys/kern/subr_sleepqueue.c:644 #3 0xffffffff805cb6d1 in _sleep (ident=0xffffffff80b5da10, lock=0x0, priority=Variable "priority" is not available. ) at /usr/src/sys/kern/kern_synch.c:230 #4 0xffffffff805651bf in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:142 #5 0xffffffff805994f8 in fork_exit (callout=0xffffffff80565130 , arg=0x0, frame=0xffffff8000063c40) at /usr/src/sys/kern/kern_fork.c:845 #6 0xffffffff8089547e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:565 #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000001 in ?? () #10 0x0000000000000000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0xffffffff80b82f18 in sleepq_chains () #32 0xffffff0002a6d888 in ?? () #33 0x0000000000000000 in ?? () #34 0xffffff0002a6d460 in ?? () #35 0xffffff8000063ac0 in ?? () #36 0xffffff8000063a68 in ?? () #37 0xffffff0002a5a000 in ?? () #38 0xffffffff805e81b9 in sched_switch (td=0xffffffff80565130, newtd=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1852 Previous frame inner to this frame (corrupt stack?) (kgdb) quit From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 03:31:56 2011 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 6FE9E106566B for ; Sat, 9 Apr 2011 03:31:56 +0000 (UTC) (envelope-from perlcat@windstream.net) Received: from pacmmta52.windstream.net (pacmmta52.windstream.net [162.39.147.111]) by mx1.freebsd.org (Postfix) with ESMTP id 30FCD8FC0A for ; Sat, 9 Apr 2011 03:31:55 +0000 (UTC) X-WS-COS: WSOB804 X-Cloudmark-Category: Undefined:Undefined X-Cloudmark-Analysis: v=1.1 cv=e/a7kgJmdV/vnzYtSh4xy+4e70awxO67NOXbB+Zpwx8= c=1 sm=0 a=GkERD3UmGQgA:10 a=hXEbJFA6NZEA:10 a=UT_QgiwtmQIA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=4OMSHyTieltsEQNCVvsA:9 a=96cJGYc2__JCsHKFMdMA:7 a=wPNLvfGTeEIA:10 a=pCTjt4IVz8ge9q2j7ihhWQ==:117 X-Cloudmark-Score: 0 Authentication-Results: pacmmta52 smtp.user=perlcat; auth=pass (PLAIN) Received: from [98.19.40.88] ([98.19.40.88:61115] helo=poot.rtfmcomputing.com) by pacmmta52 (envelope-from ) (ecelerity 2.2.2.45 r()) with ESMTPA id 37/D9-27167-97ECF9D4; Fri, 08 Apr 2011 23:11:54 -0400 Message-ID: <4D9FCE24.20201@windstream.net> Date: Fri, 08 Apr 2011 22:10:28 -0500 From: Tyson Boellstorff User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110322 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org, freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 09 Apr 2011 04:34:10 +0000 Cc: Subject: re: cellular modems and amd64 FreeBSD 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, 09 Apr 2011 03:31:56 -0000 A couple weeks ago, I posted about not being able to make my sierra wireless cellular modem work on amd64 FreeBSD. It is recognized as a CDROM instead of anything that can take an IP. dmesg info is here: http://docs.freebsd.org/cgi/mid.cgi?201103212107.18762.perlcat It turns out that I'm on about half of the right track. I tried booting to an openbsd amd64 4.8 kernel just to see what would happen, and it also detects the device as a CDROM. Clearly something is changed when the architecture goes to amd64, and I'd be happy to investigate if anybody can tell me what to do. What can I do to troubleshoot this? From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 04:30:16 2011 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 2F9731065670; Sat, 9 Apr 2011 04:30:16 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id E41AC8FC0A; Sat, 9 Apr 2011 04:30:15 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id p393rB3m029364; Fri, 8 Apr 2011 21:53:14 -0600 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-usb@freebsd.org Date: Sat, 9 Apr 2011 10:53:22 +0700 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.5.4; amd64; ; ) References: <4D9FCE24.20201@windstream.net> In-Reply-To: <4D9FCE24.20201@windstream.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104091053.23024.erich@alogreentechnologies.com> X-Mailman-Approved-At: Sat, 09 Apr 2011 04:40:17 +0000 Cc: Tyson Boellstorff , freebsd-amd64@freebsd.org Subject: Re: cellular modems and amd64 FreeBSD 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, 09 Apr 2011 04:30:16 -0000 Hi, On Saturday 09 April 2011 10:10:28 Tyson Boellstorff wrote: > > dmesg info is here: > http://docs.freebsd.org/cgi/mid.cgi?201103212107.18762.perlcat > can you also do a usbconfig -u 0 -a 4 dump_device_desc but replacing the 0 and 4 with the proper values for your system. I got my Huawei modem working after making the ID known to usbdevs and u3g.c. Erich From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 06:47:34 2011 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 92E3A106566C; Sat, 9 Apr 2011 06:47:34 +0000 (UTC) (envelope-from michael@fuckner.net) Received: from dedihh.fuckner.net (dedihh.fuckner.net [81.209.183.161]) by mx1.freebsd.org (Postfix) with ESMTP id 52D488FC17; Sat, 9 Apr 2011 06:47:34 +0000 (UTC) Received: from dedihh.fuckner.net (localhost [127.0.0.1]) by dedihh.fuckner.net (Postfix) with ESMTP id 552C62606; Sat, 9 Apr 2011 08:28:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at fuckner.net Received: from dedihh.fuckner.net ([127.0.0.1]) by dedihh.fuckner.net (dedihh.fuckner.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 3in0U5UhNNNQ; Sat, 9 Apr 2011 08:28:26 +0200 (CEST) Received: by dedihh.fuckner.net (Postfix, from userid 80) id 20D0825F5; Sat, 9 Apr 2011 08:28:26 +0200 (CEST) To: Tyson Boellstorff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Sat, 09 Apr 2011 06:28:26 +0000 From: Michael Fuckner In-Reply-To: <4D9FCE24.20201@windstream.net> References: <4D9FCE24.20201@windstream.net> Message-ID: <5064547b820109f85e4c8fd40fec80c2@net> X-Sender: michael@fuckner.net User-Agent: Roundcube Webmail/0.4 Cc: freebsd-amd64@freebsd.org, freebsd-usb@FreeBSD.org Subject: re: cellular modems and amd64 FreeBSD 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, 09 Apr 2011 06:47:34 -0000 On Fri, 08 Apr 2011 22:10:28 -0500, Tyson Boellstorff wrote: > A couple weeks ago, I posted about not being able to make my sierra > wireless cellular modem work on amd64 FreeBSD. It is recognized as a > CDROM instead of anything that can take an IP. > > dmesg info is here: > http://docs.freebsd.org/cgi/mid.cgi?201103212107.18762.perlcat > > It turns out that I'm on about half of the right track. > Wireless USB devices show as CDROMS, but there are a lot of ugly possibilities to implement this. Usually it is something like a SCSI-eject command telling the device to change it's class. Most devices today are switched by u3g, but there also is a manual way with usb_modeswitch (http://www.draisberghof.de/usb_modeswitch/) to understand what is really happening. My own experiences are written down here (in german, but the commands should be enough to understand what I am doing): http://michael.fuckner.net/me/blog/index.php?/archives/471-UMTS-mit-FreeBSD8.html Regards, Michael! From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 13:40:10 2011 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 D06DF106564A for ; Sat, 9 Apr 2011 13:40:10 +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 A36358FC0A for ; Sat, 9 Apr 2011 13:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p39DeAxH076605 for ; Sat, 9 Apr 2011 13:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p39DeARa076604; Sat, 9 Apr 2011 13:40:10 GMT (envelope-from gnats) Date: Sat, 9 Apr 2011 13:40:10 GMT Message-Id: <201104091340.p39DeARa076604@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Rodrigo OSORIO X-Mailman-Approved-At: Sat, 09 Apr 2011 15:40:55 +0000 Cc: Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rodrigo OSORIO List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2011 13:40:11 -0000 The following reply was made to PR amd64/156014; it has been noted by GNATS. From: Rodrigo OSORIO To: bug-followup@FreeBSD.org, rodrigo@bebik.net Cc: Subject: Re: amd64/156014: FreeBSD 8.2-RELEASE amd64 freeze and crash Date: Sat, 09 Apr 2011 15:36:59 +0200 Hello, Here is the result to your request. Regards - rodrigo desktop# kgdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_hda.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko #0 sched_switch (td=0xffffffff80b5dfc0, newtd=0xffffff0002a5a000, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 1858 cpuid = PCPU_GET(cpuid); (kgdb) proc 2 [Switching to thread 30 (Thread 100011)]#0 sched_switch (td=0xffffff0002a6d460, newtd=0xffffff0002a678c0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 1858 cpuid = PCPU_GET(cpuid); (kgdb) bt #0 sched_switch (td=0xffffff0002a6d460, newtd=0xffffff0002a678c0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 #1 0xffffffff805cb176 in mi_switch (flags=260, newtd=0x0) at /usr/src/sys/kern/kern_synch.c:449 #2 0xffffffff805fe7c2 in sleepq_timedwait (wchan=0xffffffff80b5da10, pri=76) at /usr/src/sys/kern/subr_sleepqueue.c:644 #3 0xffffffff805cb6d1 in _sleep (ident=0xffffffff80b5da10, lock=0x0, priority=Variable "priority" is not available. ) at /usr/src/sys/kern/kern_synch.c:230 #4 0xffffffff805651bf in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:142 #5 0xffffffff805994f8 in fork_exit (callout=0xffffffff80565130 , arg=0x0, frame=0xffffff8000063c40) at /usr/src/sys/kern/kern_fork.c:845 #6 0xffffffff8089547e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:565 #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000001 in ?? () #10 0x0000000000000000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0xffffffff80b82f18 in sleepq_chains () #32 0xffffff0002a6d888 in ?? () #33 0x0000000000000000 in ?? () #34 0xffffff0002a6d460 in ?? () #35 0xffffff8000063ac0 in ?? () #36 0xffffff8000063a68 in ?? () #37 0xffffff0002a5a000 in ?? () #38 0xffffffff805e81b9 in sched_switch (td=0xffffffff80565130, newtd=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1852 Previous frame inner to this frame (corrupt stack?) (kgdb) quit From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 19:26:49 2011 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 73EDE1065676; Sat, 9 Apr 2011 19:26:49 +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 496A88FC0C; Sat, 9 Apr 2011 19:26:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p39JQnPC092245; Sat, 9 Apr 2011 19:26:49 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p39JQnYT092241; Sat, 9 Apr 2011 19:26:49 GMT (envelope-from linimon) Date: Sat, 9 Apr 2011 19:26:49 GMT Message-Id: <201104091926.p39JQnYT092241@freefall.freebsd.org> To: john@feith.com, linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-emulation@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/155903: [emulation] [patch] FreeBSD32 emulation patch to support i386 X11 Server 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, 09 Apr 2011 19:26:49 -0000 Old Synopsis: FreeBSD32 emulation patch to support i386 X11 Server New Synopsis: [emulation] [patch] FreeBSD32 emulation patch to support i386 X11 Server State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Sat Apr 9 19:25:57 UTC 2011 State-Changed-Why: reclassify, and note feedback was requested. Responsible-Changed-From-To: freebsd-amd64->freebsd-emulation Responsible-Changed-By: linimon Responsible-Changed-When: Sat Apr 9 19:25:57 UTC 2011 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=155903 From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 19:43:35 2011 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 544B0106564A; Sat, 9 Apr 2011 19:43:35 +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 2A51A8FC1A; Sat, 9 Apr 2011 19:43:35 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p39JhZM1010599; Sat, 9 Apr 2011 19:43:35 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p39JhZEd010595; Sat, 9 Apr 2011 19:43:35 GMT (envelope-from linimon) Date: Sat, 9 Apr 2011 19:43:35 GMT Message-Id: <201104091943.p39JhZEd010595@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-amd64@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: amd64/156022: [hang] 8.2-RELEASE kernel hangs on ata probe for MacbookPro4, 1 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, 09 Apr 2011 19:43:35 -0000 Old Synopsis: 8.2-RELEASE kernel hangs on ata probe for MacbookPro4,1 New Synopsis: [hang] 8.2-RELEASE kernel hangs on ata probe for MacbookPro4,1 Responsible-Changed-From-To: freebsd-bugs->freebsd-amd64 Responsible-Changed-By: linimon Responsible-Changed-When: Sat Apr 9 19:43:05 UTC 2011 Responsible-Changed-Why: sounds machine-specific. http://www.freebsd.org/cgi/query-pr.cgi?pr=156022 From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 19:49:02 2011 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 55060106564A; Sat, 9 Apr 2011 19:49:02 +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 E726D8FC13; Sat, 9 Apr 2011 19:49:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p39Jn1KB011272; Sat, 9 Apr 2011 19:49:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p39Jn1K9011268; Sat, 9 Apr 2011 19:49:01 GMT (envelope-from linimon) Date: Sat, 9 Apr 2011 19:49:01 GMT Message-Id: <201104091949.p39Jn1K9011268@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, mav@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: amd64/156022: [hang] 8.2-RELEASE kernel hangs on ata probe for MacbookPro4, 1 [regression] 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, 09 Apr 2011 19:49:02 -0000 Old Synopsis: [hang] 8.2-RELEASE kernel hangs on ata probe for MacbookPro4,1 New Synopsis: [hang] 8.2-RELEASE kernel hangs on ata probe for MacbookPro4,1 [regression] Responsible-Changed-From-To: freebsd-amd64->mav Responsible-Changed-By: linimon Responsible-Changed-When: Sat Apr 9 19:43:39 UTC 2011 Responsible-Changed-Why: mav, a URL referenced in this PR seems to indicate that the following was the troublesome commit. Do you have any insight? Thanks. http://svn.freebsd.org/viewvc/base/head/sys/dev/ata/ata-pci.c?view=log http://svn.freebsd.org/viewvc/base?view=revision&revision=214016 http://www.freebsd.org/cgi/query-pr.cgi?pr=156022 From owner-freebsd-amd64@FreeBSD.ORG Sat Apr 9 22:59:38 2011 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 D39B7106566B for ; Sat, 9 Apr 2011 22:59:38 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 955C08FC08 for ; Sat, 9 Apr 2011 22:59:38 +0000 (UTC) Received: by vws18 with SMTP id 18so4252223vws.13 for ; Sat, 09 Apr 2011 15:59:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.176.34 with SMTP id cf2mr1854874vdc.81.1302388629592; Sat, 09 Apr 2011 15:37:09 -0700 (PDT) Received: by 10.52.159.2 with HTTP; Sat, 9 Apr 2011 15:37:09 -0700 (PDT) In-Reply-To: <20110405224913.GF78089@deviant.kiev.zoral.com.ua> References: <4D9B935D.4010705@delphij.net> <20110405224913.GF78089@deviant.kiev.zoral.com.ua> Date: Sat, 9 Apr 2011 15:37:09 -0700 Message-ID: From: Peter Wemm To: Kostik Belousov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: d@delphij.net, freebsd-amd64@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Where to find amd64 ABI information for FreeBSD? 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, 09 Apr 2011 22:59:38 -0000 On Tue, Apr 5, 2011 at 3:49 PM, Kostik Belousov wrote= : > On Tue, Apr 05, 2011 at 03:10:37PM -0700, Xin LI wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Hi, >> >> Is there a place to find ABI information for GCC on FreeBSD? >> =A0Specifically, I'm looking for which registers has to be preserved >> across function call? =A0(Or do we follow System V Application Binary >> Interface AMD64 Architecture Processor Supplement Draft Version 0.99.5?) > > The parts of the mentioned document that depend on compiler and > toolchain, are fully valid for FreeBSD. Our non-compliance is mostly > in the specified bits of the kernel/usermode interface. > There is also an accidental deviation with register usage in the way we start up applications. But as far as calling conventions go for preserved/scratch registers, we are compliant. Of note our i386 syscall abi is not consistent with i386 calling conventions. In particular, i386 syscalls save/restore ALL registers except for those used in return values. eg: %eax is changed, and %edx is changed for SOME syscalls that have a 64 bit or dual return (and preserved otherwise). Unlike i386, our amd64 syscalls do not preserve registers that are designated as scratch in the abi. There is an inconsistency between the syscall instruction and the ABI, but that is "repaired" in the libc syscall wrappers. --=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell