From owner-freebsd-amd64@FreeBSD.ORG Mon Aug 11 11:06:54 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 4E162106566B for ; Mon, 11 Aug 2008 11:06:54 +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 391F88FC2A for ; Mon, 11 Aug 2008 11:06:54 +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 m7BB6sR2047125 for ; Mon, 11 Aug 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7BB6rP8047121 for freebsd-amd64@FreeBSD.org; Mon, 11 Aug 2008 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Aug 2008 11:06:53 GMT Message-Id: <200808111106.m7BB6rP8047121@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, 11 Aug 2008 11:31:39 +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, 11 Aug 2008 11:06:54 -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 [panic] System panic on shutdown when process will not o amd64/76136 amd64 [hang] system halts before reboot o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys f amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 f 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 [panic] kernel panic on first boot (after the FreeBSD o amd64/89501 amd64 [install] System crashes on install using ftp on local f amd64/89503 amd64 [boot] Cant Boot Installation Disk o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 f amd64/91492 amd64 [boot] BTX halted o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati f amd64/94989 amd64 [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled f amd64/102122 amd64 [boot] 6.1-RELEASE amd64 Install Media panics on boot. s amd64/104311 amd64 ports/wine should be installable on amd64 f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work a amd64/109584 amd64 zdump(8) doesn't work o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 f amd64/111992 amd64 [boot] BTX failed - HP Laptop dv2315nr f 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 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/116159 amd64 [panic] Panic while debugging on CURRENT o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh 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/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa 55 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l f 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 f amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 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 f 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 f amd64/116457 amd64 [install] can't install freebsd on dv9420us f amd64/116514 amd64 freebsd6.2 can't detect GA-M61SME-S2's onboard lan car f amd64/116670 amd64 [ata] onboard SATA RAID1 controllers not supported for s amd64/116689 amd64 [request] support for MSI K9MM-V f amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 f amd64/119949 amd64 [install] 6.3-RELEASE install; cannot find packages/IN o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet f amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/125820 amd64 [k8temp] [patch] sysctl dev.k8temp.*.sensor1.* are inv f amd64/125943 amd64 Serial Consoles do not work on amd64 freebsd 23 problems total. From owner-freebsd-amd64@FreeBSD.ORG Wed Aug 13 11:33:25 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 DEA92106564A for ; Wed, 13 Aug 2008 11:33:25 +0000 (UTC) (envelope-from misterniceguy0@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.228]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5438FC16 for ; Wed, 13 Aug 2008 11:33:25 +0000 (UTC) (envelope-from misterniceguy0@gmail.com) Received: by qb-out-0506.google.com with SMTP id e34so3614689qbe.35 for ; Wed, 13 Aug 2008 04:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=tQekumDtfCWhYdmUd9QCAwZWPdmDqtpbZWfdZ90T0aw=; b=a3arj57UJnIuPDtrTiBdYP92bkUzXey7HBXYaaGQPeMLPqGGbI6MWmVg9NzbYbQ+za CjnGRaabZgAnjC59zwv5HutXaOV+ae5TdR/mA+XTyngWhwK4KuEf3vGrFjp6NXJFXB66 96K0TfRfzKaFXvu4pUHnUtfku7VtF9OC2wSPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Fn/3mJC1lQHsI/Lef/F4bSqzVBBehQ5A6K8wbnj6krNu8AMo3MeCc40l8owh0y4ik7 E1SctOgw15K4UkfZ32ykxtgknxvw5jx5Q1T0RTmOwIyCW2nyzuXQTswpeNJv7bPblHHN GFIZhfGX1uRfavepJAIBbTZWtHbizwFdSlW+Q= Received: by 10.65.59.16 with SMTP id m16mr18634563qbk.0.1218623334381; Wed, 13 Aug 2008 03:28:54 -0700 (PDT) Received: by 10.65.232.4 with HTTP; Wed, 13 Aug 2008 03:28:54 -0700 (PDT) Message-ID: <3b9f447d0808130328k3f3636a8jab241ecdbe3d4d10@mail.gmail.com> Date: Wed, 13 Aug 2008 13:28:54 +0300 From: "Mister Nice Guy" To: freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Storesonline, Traffic-Resellers for Your Ecommerce Business 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, 13 Aug 2008 11:33:25 -0000 *Storesonline, Traffic-Resellers for Your Ecommerce Business* Ecommerce to thrive must have great traffic. To have good traffic is have a website that is high on the page rank of search engines. And to achieve this is to go to *Storesonline* website services is a great provider of services with hits and no misses. The website will assist you bring real customers to your business. Premium resellers as the site is, has a wide selection of surefire visitors campaigns, crafted to give your website quality traffic. Targeted traffic is right on the bull's eye. You cannot beat that. Customers will be able to sign up more affiliates with the sites offered advertising packages. The use of PopUnder Advertising considered as the most successful form of advertising on the internet, has attract more traffic than expected. Whenever a visitor leaves one of the sites, your webpage pops up instantly and is attention grabbing. Exposure is assured. Now is the time to go to * Storesonline* website and start your own ecommerce business. *Storesonline* flaunts the expansive assortment of solutions that meet the requirements of their ecommerce clients.. The site at the same time affords the customers the ability to supply professional ecommerce services to their clients. The tools are supplied for the customers to succeed and grow. With the most advanced devices you are now in the driver's seat. The guarantee is simple and straightforward. As traffic supplier the assurance is one of guaranteed targeted traffic. Even with the smallest campaign will send around a thousand visitors to your site. From owner-freebsd-amd64@FreeBSD.ORG Wed Aug 13 14:08:24 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 9898C1065675 for ; Wed, 13 Aug 2008 14:08:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4068FC4B for ; Wed, 13 Aug 2008 14:08:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7DDgAjI072280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Aug 2008 16:42:10 +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.2/8.14.2) with ESMTP id m7DDgA1J047986; Wed, 13 Aug 2008 16:42:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7DDgAIs047985; Wed, 13 Aug 2008 16:42:10 +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, 13 Aug 2008 16:42:10 +0300 From: Kostik Belousov To: amd64@freebsd.org, stable@freebsd.org Message-ID: <20080813134210.GG1803@deviant.kiev.zoral.com.ua> References: <200808130022.m7D0MCaK082721@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nhYGnrYv1PEJ5gA2" Content-Disposition: inline In-Reply-To: <200808130022.m7D0MCaK082721@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: peter@freebsd.org Subject: Re: Pending MFC Reminder [cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c] 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, 13 Aug 2008 14:08:24 -0000 --nhYGnrYv1PEJ5gA2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 13, 2008 at 12:22:12AM +0000, MFC Notification Service wrote: > Dear Konstantin Belousov, >=20 > As you have requested, I would like to notify you that you have > committed a change that may be MFC'ed now, as a testing period > specified at the time of that commit is over. >=20 > For reference purposes following is a copy of your original > commit message. >=20 > Regards, >=20 > Maxim "MFC Reminder" Sobolev > P.S. Please contact Maxim Sobolev if you > believe that you received this message due to an error. >=20 > kib 2008-07-30 11:30:55 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/amd64/amd64 cpu_switch.S genassym.c=20 > sys/amd64/ia32 ia32_signal.c=20 > sys/amd64/include pcb.h=20 > sys/amd64/linux32 linux32_machdep.c=20 > Log: > SVN rev 180992 on 2008-07-30 11:30:55Z by kib > =20 > Bring back the save/restore of the %ds, %es, %fs and %gs registers for > the 32bit images on amd64. > =20 > Change the semantic of the PCB_32BIT pcb flag to request the context > switch code to operate on the segment registers. Its previous meaning > of saving or restoring the %gs base offset is assigned to the new > PCB_GS32BIT flag. > =20 > FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux 32bit > emulation sets PCB_32BIT | PCB_GS32BIT. > =20 > Reviewed by: peter > MFC after: 2 weeks > =20 > Revision Changes Path > 1.162 +29 -18 src/sys/amd64/amd64/cpu_switch.S > 1.169 +1 -0 src/sys/amd64/amd64/genassym.c > 1.18 +1 -1 src/sys/amd64/ia32/ia32_signal.c > 1.65 +1 -0 src/sys/amd64/include/pcb.h > 1.47 +1 -1 src/sys/amd64/linux32/linux32_machdep.c This appeared to be a not quite trivial MFC to perform. The reason for complication is that the HEAD code for amd64 context switch was changed, in particular by the r177535 by peter@. The r177535 formally requires r177533 for the definition of the TDP_KTHREAD symbol for asm. The definition is needed for optimization of the context switch to the "pure kernel thread", introduced in r173004 that is not MFCed either, and possibly never be. I do not want to backport the code to the old context switch, that would mean a rewrite from scratch. Instead, I merged the r177535 (optimization of context switch by peter@), and commented out corresponding test in the cpu_switch.S for the TDP_KTHREAD. I would be glad to get an opinions on the approach taken, and especially for the wider testing on the RELENG_7/amd64. The problem better be solved for 7.1. The patch: http://people.freebsd.org/~kib/misc/amd64_ctx.releng_7.4.patch --nhYGnrYv1PEJ5gA2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkii5LEACgkQC3+MBN1Mb4gbPQCfYKTAF9jBX5BHrdZe65HL9gSV Zm8AoJfu5kJDSYWG0vv/TH6aIty/1N4C =9zso -----END PGP SIGNATURE----- --nhYGnrYv1PEJ5gA2-- From owner-freebsd-amd64@FreeBSD.ORG Wed Aug 13 18:56:03 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 D7D331065678; Wed, 13 Aug 2008 18:56:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id AD5ED8FC1F; Wed, 13 Aug 2008 18:56:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m7DIu1UO006571; Wed, 13 Aug 2008 14:56:01 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m7DIu0go042097; Wed, 13 Aug 2008 14:56:01 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id B88E373039; Wed, 13 Aug 2008 14:56:00 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080813185600.B88E373039@freebsd-current.sentex.ca> Date: Wed, 13 Aug 2008 14:56:00 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 18:56:04 -0000 TB --- 2008-08-13 18:55:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-08-13 18:55:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-08-13 18:55:00 - cleaning the object tree TB --- 2008-08-13 18:55:53 - cvsupping the source tree TB --- 2008-08-13 18:55:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-08-13 18:56:00 - building world (CFLAGS=-O -pipe) TB --- 2008-08-13 18:56:00 - cd /src TB --- 2008-08-13 18:56:00 - /usr/bin/make -B buildworld TB --- 2008-08-13 18:56:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-08-13 18:56:00 - ERROR: failed to build world TB --- 2008-08-13 18:56:00 - tinderbox aborted TB --- 2.38 user 4.29 system 60.01 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Aug 13 20:26:13 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 9D313106566C; Wed, 13 Aug 2008 20:26:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 336398FC12; Wed, 13 Aug 2008 20:26:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m7DKQ4wX096034; Wed, 13 Aug 2008 16:26:04 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 13 Aug 2008 15:48:37 -0400 User-Agent: KMail/1.9.7 References: <200808130022.m7D0MCaK082721@freefall.freebsd.org> <20080813134210.GG1803@deviant.kiev.zoral.com.ua> In-Reply-To: <20080813134210.GG1803@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808131548.37571.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 13 Aug 2008 16:26:04 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8027/Wed Aug 13 14:31:07 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: amd64@freebsd.org, stable@freebsd.org, peter@freebsd.org Subject: Re: Pending MFC Reminder [cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c] 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, 13 Aug 2008 20:26:13 -0000 On Wednesday 13 August 2008 09:42:10 am Kostik Belousov wrote: > On Wed, Aug 13, 2008 at 12:22:12AM +0000, MFC Notification Service wrote: > > Dear Konstantin Belousov, > > > > As you have requested, I would like to notify you that you have > > committed a change that may be MFC'ed now, as a testing period > > specified at the time of that commit is over. > > > > For reference purposes following is a copy of your original > > commit message. > > > > Regards, > > > > Maxim "MFC Reminder" Sobolev > > P.S. Please contact Maxim Sobolev if you > > believe that you received this message due to an error. > > > > kib 2008-07-30 11:30:55 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/amd64/amd64 cpu_switch.S genassym.c > > sys/amd64/ia32 ia32_signal.c > > sys/amd64/include pcb.h > > sys/amd64/linux32 linux32_machdep.c > > Log: > > SVN rev 180992 on 2008-07-30 11:30:55Z by kib > > > > Bring back the save/restore of the %ds, %es, %fs and %gs registers for > > the 32bit images on amd64. > > > > Change the semantic of the PCB_32BIT pcb flag to request the context > > switch code to operate on the segment registers. Its previous meaning > > of saving or restoring the %gs base offset is assigned to the new > > PCB_GS32BIT flag. > > > > FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux 32bit > > emulation sets PCB_32BIT | PCB_GS32BIT. > > > > Reviewed by: peter > > MFC after: 2 weeks > > > > Revision Changes Path > > 1.162 +29 -18 src/sys/amd64/amd64/cpu_switch.S > > 1.169 +1 -0 src/sys/amd64/amd64/genassym.c > > 1.18 +1 -1 src/sys/amd64/ia32/ia32_signal.c > > 1.65 +1 -0 src/sys/amd64/include/pcb.h > > 1.47 +1 -1 src/sys/amd64/linux32/linux32_machdep.c > > This appeared to be a not quite trivial MFC to perform. The reason for > complication is that the HEAD code for amd64 context switch was changed, > in particular by the r177535 by peter@. > > The r177535 formally requires r177533 for the definition of the > TDP_KTHREAD symbol for asm. The definition is needed for optimization > of the context switch to the "pure kernel thread", introduced in > r173004 that is not MFCed either, and possibly never be. > > I do not want to backport the code to the old context switch, that would > mean a rewrite from scratch. Instead, I merged the r177535 (optimization > of context switch by peter@), and commented out corresponding test in > the cpu_switch.S for the TDP_KTHREAD. > > I would be glad to get an opinions on the approach taken, and especially > for the wider testing on the RELENG_7/amd64. The problem better be > solved for 7.1. > > The patch: > http://people.freebsd.org/~kib/misc/amd64_ctx.releng_7.4.patch FYI, in 6.x and 7.x there is P_KTHREAD in p_flags that is what TDP_KTHREAD replaced. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Thu Aug 14 00:20: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 4F2AF106567C for ; Thu, 14 Aug 2008 00:20: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 303418FC17 for ; Thu, 14 Aug 2008 00:20: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 m7E0K1uO058106 for ; Thu, 14 Aug 2008 00:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7E0K1Go058105; Thu, 14 Aug 2008 00:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 14 Aug 2008 00:20:01 GMT Resent-Message-Id: <200808140020.m7E0K1Go058105@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, seth bollinger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE181065674 for ; Thu, 14 Aug 2008 00:17:25 +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 7E81A8FC23 for ; Thu, 14 Aug 2008 00:17:25 +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 m7E0HPL8000278 for ; Thu, 14 Aug 2008 00:17:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m7E0HPdR000277; Thu, 14 Aug 2008 00:17:25 GMT (envelope-from nobody) Message-Id: <200808140017.m7E0HPdR000277@www.freebsd.org> Date: Thu, 14 Aug 2008 00:17:25 GMT From: seth bollinger To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Thu, 14 Aug 2008 00:42:39 +0000 Cc: Subject: amd64/126519: Panic when plugging in an iphone 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, 14 Aug 2008 00:20:01 -0000 >Number: 126519 >Category: amd64 >Synopsis: Panic when plugging in an iphone >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 14 00:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: seth bollinger >Release: FreeBSD 7.0-RELEASE #1 >Organization: self >Environment: FreeBSD hyperion.isa-geek.net 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sat Aug 9 22:46:29 CDT 2008 root@hyperion.isa-geek.net:/usr/obj/usr/src/sys/CUSTOM amd64 >Description: Kernel will panic when I plug an iphone into the usb port. I also have a JCS & associates, Inc. usb thumb drive that will do the same thing. The backtrace seems to go on forever (over 7000k before I quit, all zero). Here's the dump: Unread portion of the kernel message buffer: uhid2: on uhub3 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x290 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804260cd stack pointer = 0x10:0xffffffffae2e7df0 frame pointer = 0x10:0xffffff0017a9bc00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 28 (usb1) trap number = 12 panic: page fault cpuid = 0 Uptime: 1d10h52m11s Physical memory: 4083 MB Dumping 1531 MB: 1516 1500 1484 1468 1452 1436 1420 1404 1388 1372 1356 1340 1324 1308 1292 1276 1260 1244 1228 1212 1196 1180 1164 1148 1132 1116 1100 1084 1068 1052 1036 1020 1004 988 972 956 940 924 908 892 876 860 844 828 812 796 780 764 748 732 716 700 684 668 652 636 620 604 588 572 556 540 524 508 492 476 460 444 428 412 396 380 364 348 332 316 300 284 268 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12 #0 doadump () at pcpu.h:194 194 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:194 #1 0x0000000000000004 in ?? () #2 0xffffffff804a6259 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #3 0xffffffff804a665d in panic (fmt=0x104
) at /usr/src/sys/kern/kern_shutdown.c:563 #4 0xffffffff8075ed44 in trap_fatal (frame=0xffffff0003444350, eva=18446742974217703424) at /usr/src/sys/amd64/amd64/trap.c:724 #5 0xffffffff8075f115 in trap_pfault (frame=0xffffffffae2e7d40, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:641 #6 0xffffffff8075fa58 in trap (frame=0xffffffffae2e7d40) at /usr/src/sys/amd64/amd64/trap.c:410 #7 0xffffffff807456be in calltrap () at /usr/src/sys/amd64/amd64/exception.S:169 #8 0xffffffff804260cd in usb_transfer_complete (xfer=0xffffff00051a8800) at /usr/src/sys/dev/usb/usbdi.c:947 #9 0xffffffff807439c4 in bus_dmamap_load (dmat=0xffffff00012db080, map=0xffffff0017997380, buf=0xffffffffae2e7fe0, buflen=0, callback=0xffffffff804261b0 , callback_arg=0xffffff00051a8800, flags=0) at /usr/src/sys/amd64/amd64/busdma_machdep.c:739 #10 0xffffffff804267af in usbd_transfer (xfer=0xffffff00051a8800) at /usr/src/sys/dev/usb/usbdi.c:312 #11 0xffffffff80426a1d in usbd_do_request_flags_pipe (dev=0xffffff00172e5600, pipe=0xffffff0017a9bc00, req=0xffffffffae2e7f90, data=0xffffffffae2e7fe0, flags=Variable "flags" is not available. ) at /usr/src/sys/dev/usb/usbdi.c:1098 #12 0xffffffff80426b71 in usbd_do_request_flags (dev=Variable "dev" is not available. ) at /usr/src/sys/dev/usb/usbdi.c:1068 #13 0xffffffff80424c23 in usbd_get_string_desc (dev=0xffffff00172e5600, sindex=Variable "sindex" is not available. ) at /usr/src/sys/dev/usb/usb_subr.c:171 #14 0xffffffff80425d73 in usbd_get_string (dev=0xffffff00172e5600, si=3, buf=0xffffffffae2e8160 "", len=128) at /usr/src/sys/dev/usb/usbdi.c:1342 #15 0xffffffff8041b9e5 in uhub_child_pnpinfo_str (cbdev=Variable "cbdev" is not available. ) at /usr/src/sys/dev/usb/uhub.c:658 #16 0xffffffff804ca521 in device_attach (dev=0xffffff001732b800) at /usr/src/sys/kern/subr_bus.c:656 #17 0xffffffff804254fb in usbd_new_device (parent=0xffffff0017201b00, bus=0xffffff000123b000, depth=Variable "depth" is not available. ) at /usr/src/sys/dev/usb/usb_subr.c:932 #18 0xffffffff8041b63e in uhub_explore (dev=0xffffff00173e3700) at /usr/src/sys/dev/usb/uhub.c:523 #19 0xffffffff8041b4f8 in uhub_explore (dev=0xffffff0017201400) at /usr/src/sys/dev/usb/uhub.c:546 #20 0xffffffff8041b4f8 in uhub_explore (dev=0xffffff00012b1900) at /usr/src/sys/dev/usb/uhub.c:546 #21 0xffffffff80421edb in usb_discover (v=Variable "v" is not available. ) at /usr/src/sys/dev/usb/usb.c:724 #22 0xffffffff80422e8c in usb_event_thread (arg=Variable "arg" is not available. ) at /usr/src/sys/dev/usb/usb.c:440 #23 0xffffffff80487973 in fork_exit (callout=0xffffffff80422e10 , arg=0xffffff0003450580, frame=0xffffffffae2e8c80) at /usr/src/sys/kern/kern_fork.c:781 #24 0xffffffff80745a8e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:415 #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000001 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000d1a000 in ?? () #50 0xffffffff80a8e1c0 in tdg_maxid () #51 0xffffffff80a9a9c0 in tdq_cpu () #52 0xffffffff80a9a9c0 in tdq_cpu () #53 0xffffff0003444350 in ?? () #54 0xffffff0003444658 in ?? () #55 0xffffffffae2e7b58 in ?? () #56 0x0000000000000000 in ?? () #57 0xffffffff804c4808 in sched_switch (td=0xffffffff80422e10, newtd=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1898 #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () The prior frame repeats forever... >How-To-Repeat: Plug the problem device into the usb port. >Fix: None. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu Aug 14 11:00:12 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 7C2101065677; Thu, 14 Aug 2008 11:00:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id EE4E48FC0C; Thu, 14 Aug 2008 11:00:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KTaDd-0004Nr-Ln; Thu, 14 Aug 2008 13:38:13 +0300 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 m7EAcAvJ028764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Aug 2008 13:38:10 +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.2/8.14.2) with ESMTP id m7EAcAU1076427; Thu, 14 Aug 2008 13:38:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7EAc9J5076426; Thu, 14 Aug 2008 13:38:09 +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: Thu, 14 Aug 2008 13:38:09 +0300 From: Kostik Belousov To: John Baldwin Message-ID: <20080814103809.GK1803@deviant.kiev.zoral.com.ua> References: <200808130022.m7D0MCaK082721@freefall.freebsd.org> <20080813134210.GG1803@deviant.kiev.zoral.com.ua> <200808131548.37571.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="enGqbSaueFq5omEL" Content-Disposition: inline In-Reply-To: <200808131548.37571.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KTaDd-0004Nr-Ln eaa0e42a1505bc85c3fafe971ace7f4d X-Terabit: YES Cc: amd64@freebsd.org, stable@freebsd.org, freebsd-stable@freebsd.org, peter@freebsd.org Subject: Re: Pending MFC Reminder [cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c] 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, 14 Aug 2008 11:00:12 -0000 --enGqbSaueFq5omEL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 13, 2008 at 03:48:37PM -0400, John Baldwin wrote: > On Wednesday 13 August 2008 09:42:10 am Kostik Belousov wrote: > > On Wed, Aug 13, 2008 at 12:22:12AM +0000, MFC Notification Service wrot= e: > > > Dear Konstantin Belousov, > > >=20 > > > As you have requested, I would like to notify you that you have > > > committed a change that may be MFC'ed now, as a testing period > > > specified at the time of that commit is over. > > >=20 > > > For reference purposes following is a copy of your original > > > commit message. > > >=20 > > > Regards, > > >=20 > > > Maxim "MFC Reminder" Sobolev > > > P.S. Please contact Maxim Sobolev if you > > > believe that you received this message due to an error. > > >=20 > > > kib 2008-07-30 11:30:55 UTC > > >=20 > > > FreeBSD src repository > > >=20 > > > Modified files: > > > sys/amd64/amd64 cpu_switch.S genassym.c=20 > > > sys/amd64/ia32 ia32_signal.c=20 > > > sys/amd64/include pcb.h=20 > > > sys/amd64/linux32 linux32_machdep.c=20 > > > Log: > > > SVN rev 180992 on 2008-07-30 11:30:55Z by kib > > > =20 > > > Bring back the save/restore of the %ds, %es, %fs and %gs registers = for > > > the 32bit images on amd64. > > > =20 > > > Change the semantic of the PCB_32BIT pcb flag to request the context > > > switch code to operate on the segment registers. Its previous meani= ng > > > of saving or restoring the %gs base offset is assigned to the new > > > PCB_GS32BIT flag. > > > =20 > > > FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux = 32bit > > > emulation sets PCB_32BIT | PCB_GS32BIT. > > > =20 > > > Reviewed by: peter > > > MFC after: 2 weeks > > > =20 > > > Revision Changes Path > > > 1.162 +29 -18 src/sys/amd64/amd64/cpu_switch.S > > > 1.169 +1 -0 src/sys/amd64/amd64/genassym.c > > > 1.18 +1 -1 src/sys/amd64/ia32/ia32_signal.c > > > 1.65 +1 -0 src/sys/amd64/include/pcb.h > > > 1.47 +1 -1 src/sys/amd64/linux32/linux32_machdep.c > >=20 > > This appeared to be a not quite trivial MFC to perform. The reason for > > complication is that the HEAD code for amd64 context switch was changed, > > in particular by the r177535 by peter@. > >=20 > > The r177535 formally requires r177533 for the definition of the > > TDP_KTHREAD symbol for asm. The definition is needed for optimization > > of the context switch to the "pure kernel thread", introduced in > > r173004 that is not MFCed either, and possibly never be. > >=20 > > I do not want to backport the code to the old context switch, that would > > mean a rewrite from scratch. Instead, I merged the r177535 (optimization > > of context switch by peter@), and commented out corresponding test in > > the cpu_switch.S for the TDP_KTHREAD. > >=20 > > I would be glad to get an opinions on the approach taken, and especially > > for the wider testing on the RELENG_7/amd64. The problem better be > > solved for 7.1. > >=20 > > The patch: > > http://people.freebsd.org/~kib/misc/amd64_ctx.releng_7.4.patch >=20 > FYI, in 6.x and 7.x there is P_KTHREAD in p_flags that is what TDP_KTHREA= D=20 > replaced. Thank you for note. I updated the patch to use P_KTHREAD. http://people.freebsd.org/~kib/misc/amd64_ctx.releng_7.5.patch --enGqbSaueFq5omEL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkikCxEACgkQC3+MBN1Mb4ikqwCfa0Bd1s5TCfwDD49RcriySSfm 2zEAnAttpLx4EQZltMzlr3mHZCrlYuAv =sON8 -----END PGP SIGNATURE----- --enGqbSaueFq5omEL-- From owner-freebsd-amd64@FreeBSD.ORG Thu Aug 14 10:22:33 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 B73A11065673; Thu, 14 Aug 2008 10:22:33 +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 8A4708FC17; Thu, 14 Aug 2008 10:22:33 +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 m7EAMXYI074400; Thu, 14 Aug 2008 10:22:33 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7EAMXaI074396; Thu, 14 Aug 2008 10:22:33 GMT (envelope-from linimon) Date: Thu, 14 Aug 2008 10:22:33 GMT Message-Id: <200808141022.m7EAMXaI074396@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Thu, 14 Aug 2008 11:26:04 +0000 Cc: Subject: Re: usb/126519: [usb] [panic] panic when plugging in an iphone 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, 14 Aug 2008 10:22:33 -0000 Old Synopsis: Panic when plugging in an iphone New Synopsis: [usb] [panic] panic when plugging in an iphone Responsible-Changed-From-To: freebsd-amd64->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 14 10:22:02 UTC 2008 Responsible-Changed-Why: Reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=126519 From owner-freebsd-amd64@FreeBSD.ORG Fri Aug 15 01:50: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 0B8BC106564A for ; Fri, 15 Aug 2008 01:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D1A4F8FC14 for ; Fri, 15 Aug 2008 01:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7F1o3Ca049466 for ; Fri, 15 Aug 2008 01:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7F1o3O2049465; Fri, 15 Aug 2008 01:50:03 GMT (envelope-from gnats) Resent-Date: Fri, 15 Aug 2008 01:50:03 GMT Resent-Message-Id: <200808150150.m7F1o3O2049465@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, Douglas William Thrift Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8878E1065671 for ; Fri, 15 Aug 2008 01:40:18 +0000 (UTC) (envelope-from douglas@slowhand.douglasthrift.net) Received: from slowhand.douglasthrift.net (slowhand.douglasthrift.net [69.55.236.40]) by mx1.freebsd.org (Postfix) with ESMTP id 425BD8FC08 for ; Fri, 15 Aug 2008 01:40:17 +0000 (UTC) (envelope-from douglas@slowhand.douglasthrift.net) Received: from slowhand.douglasthrift.net (slowhand.douglasthrift.net [69.55.236.40]) by slowhand.douglasthrift.net (8.14.3/8.14.3) with ESMTP id m7F1eH3a008467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 14 Aug 2008 18:40:17 -0700 (PDT) (envelope-from douglas@slowhand.douglasthrift.net) Received: (from douglas@localhost) by slowhand.douglasthrift.net (8.14.3/8.14.3/Submit) id m7F1eH8p008466; Thu, 14 Aug 2008 18:40:17 -0700 (PDT) (envelope-from douglas) Message-Id: <200808150140.m7F1eH8p008466@slowhand.douglasthrift.net> Date: Thu, 14 Aug 2008 18:40:17 -0700 (PDT) From: Douglas William Thrift To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Fri, 15 Aug 2008 02:40:02 +0000 Cc: Subject: amd64/126543: [amd64] __builtin_frame_address does not return 0 when reaching the top of the stack X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas William Thrift List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 01:50:04 -0000 >Number: 126543 >Category: amd64 >Synopsis: [amd64] __builtin_frame_address does not return 0 when reaching the top of the stack >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: Fri Aug 15 01:50:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Douglas William Thrift >Release: FreeBSD 7.0-STABLE-jc2 amd64 >Organization: >Environment: System: FreeBSD slowhand.douglasthrift.net 7.0-STABLE-jc2 FreeBSD 7.0-STABLE-jc2 #0: Thu Jun 26 21:33:03 PDT 2008 user@jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64 >Description: On the amd64 architecture the gcc builtin function __builtin_frame_address does not return 0 when it is called for the level that should be the top of the stack. Instead it seems to continue returning addresses and then causes a bus error. GCC documentation: http://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Return-Address.html I've seen this occur on this system and also on two systems running FreeBSD 7.0-RELEASE-p3. This causes devel/libexecinfo to be completely useless and crashy. >How-To-Repeat: Compile the following C program: #include int main(int argc, char *argv[]) { void *address; int index; for (index = 0; address != NULL && index != 5; ++index) { switch (index) { case 0: address = __builtin_frame_address(0); break; case 1: address = __builtin_frame_address(1); break; case 2: address = __builtin_frame_address(2); break; case 3: address = __builtin_frame_address(3); break; case 4: address = __builtin_frame_address(4); break; } printf("0x%x\n", address); } return 0; } Run on an i386 machine its output is fine: [douglas@backhome:~]$ ./test 0xbfbfec68 0xbfbfec9c 0x0 Run on an amd64 machine is not so fine: [douglas@justonenight:~]$ ./test 0xffffeaf0 0xffffeb40 0xffffecef 0x4c454853 Bus error: 10 (core dumped) The last hex value printed seems to consistently be a string from the environment variables. Judging by the two stack frame addresses printed on i386, perhaps the third address printed on amd64 is the one that should be a zero. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Sat Aug 16 20:40:05 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 81EE71065676 for ; Sat, 16 Aug 2008 20:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7AD8FC12 for ; Sat, 16 Aug 2008 20:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7GKe5DS015599 for ; Sat, 16 Aug 2008 20:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7GKe5Ob015598; Sat, 16 Aug 2008 20:40:05 GMT (envelope-from gnats) Date: Sat, 16 Aug 2008 20:40:05 GMT Message-Id: <200808162040.m7GKe5Ob015598@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Joseph Olatt Cc: Subject: Re: amd64/125002: [install] amd64, SATA hard disks not detected X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joseph Olatt List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 20:40:05 -0000 The following reply was made to PR amd64/125002; it has been noted by GNATS. From: Joseph Olatt To: bug-followup@FreeBSD.org, goodbitster@gmail.com Cc: Subject: Re: amd64/125002: [install] amd64, SATA hard disks not detected Date: Sat, 16 Aug 2008 13:18:31 -0700 Hello, I have also encountered the same problem. The system is: Acer Aspire AM1640-U1401A I have tried to install the following versions of FreeBSD and the installer said that it could not find the SATA disk. - FreeBSD 7.0 Release - FreeBSD 6.2 Release - FreeBSD 6.1 Release I installed Ubuntu 8.04.1 and here is the SATA information: /*** Begin transcript ***/ [ 22.014002] scsi0 : ahci [ 22.014087] scsi1 : ahci [ 22.014150] scsi2 : ahci [ 22.014186] scsi3 : ahci [ 22.014275] ata1: SATA max UDMA/133 abar m8192@0xfea7c000 port 0xfea7c100 irq 508 [ 22.014278] ata2: SATA max UDMA/133 abar m8192@0xfea7c000 port 0xfea7c180 irq 508 [ 22.014280] ata3: SATA max UDMA/133 abar m8192@0xfea7c000 port 0xfea7c200 irq 508 [ 22.014283] ata4: SATA max UDMA/133 abar m8192@0xfea7c000 port 0xfea7c280 irq 508 [ 22.652562] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 22.653166] ata1.00: ATA-7: ST3250410AS, 3.AAF, max UDMA/133 [ 22.653171] ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32) [ 22.653885] ata1.00: configured for UDMA/133 /*** End transcript ***/ I was not able to find AHCI in the BIOS to enable. regards, joseph