From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 03:43:26 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 E530616A417; Sun, 10 Feb 2008 03:43:25 +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 B4FDD13C465; Sun, 10 Feb 2008 03:43:25 +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 m1A3hOYI058989; Sat, 9 Feb 2008 22:43:24 -0500 (EST) (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.1) with ESMTP id m1A3hN58024447; Sat, 9 Feb 2008 22:43:24 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 9153273039; Sat, 9 Feb 2008 22:43:23 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080210034323.9153273039@freebsd-current.sentex.ca> Date: Sat, 9 Feb 2008 22:43:23 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner1 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 03:43:26 -0000 TB --- 2008-02-10 01:55:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-02-10 01:55:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-02-10 01:55:00 - cleaning the object tree TB --- 2008-02-10 01:55:46 - cvsupping the source tree TB --- 2008-02-10 01:55:46 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-02-10 01:55:51 - building world (CFLAGS=-O -pipe) TB --- 2008-02-10 01:55:51 - cd /src TB --- 2008-02-10 01:55:51 - /usr/bin/make -B buildworld >>> World build started on Sun Feb 10 01:55:53 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sun Feb 10 03:22:41 UTC 2008 TB --- 2008-02-10 03:22:41 - generating LINT kernel config TB --- 2008-02-10 03:22:41 - cd /src/sys/amd64/conf TB --- 2008-02-10 03:22:41 - /usr/bin/make -B LINT TB --- 2008-02-10 03:22:42 - building LINT kernel (COPTFLAGS=) TB --- 2008-02-10 03:22:42 - cd /src TB --- 2008-02-10 03:22:42 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Feb 10 03:22:42 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun Feb 10 03:39:22 UTC 2008 TB --- 2008-02-10 03:39:22 - building GENERIC kernel (COPTFLAGS=) TB --- 2008-02-10 03:39:22 - cd /src TB --- 2008-02-10 03:39:22 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sun Feb 10 03:39:22 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /src/sys/dev/uart/uart_subr.c cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /src/sys/dev/uart/uart_tty.c cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /src/sys/dev/usb/ehci.c /src/sys/dev/usb/ehci.c: In function 'ehci_sync_hc': /src/sys/dev/usb/ehci.c:1563: error: 'LOCK_FILE' undeclared (first use in this function) /src/sys/dev/usb/ehci.c:1563: error: (Each undeclared identifier is reported only once /src/sys/dev/usb/ehci.c:1563: error: for each function it appears in.) /src/sys/dev/usb/ehci.c:1563: error: 'LOCK_LINE' undeclared (first use in this function) *** Error code 1 Stop in /obj/amd64/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-10 03:43:23 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-10 03:43:23 - ERROR: failed to build GENERIC kernel TB --- 2008-02-10 03:43:23 - tinderbox aborted TB --- 4884.08 user 601.68 system 6502.70 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 09:35:48 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 8442C16A417; Sun, 10 Feb 2008 09:35:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4E13913C447; Sun, 10 Feb 2008 09:35:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m1A9Zlan094897; Sun, 10 Feb 2008 04:35:47 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.1) with ESMTP id m1A9Zlhp021625; Sun, 10 Feb 2008 04:35:47 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 21D2273039; Sun, 10 Feb 2008 04:35:47 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080210093547.21D2273039@freebsd-current.sentex.ca> Date: Sun, 10 Feb 2008 04:35:47 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 09:35:48 -0000 TB --- 2008-02-10 07:40:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-02-10 07:40:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-02-10 07:40:00 - cleaning the object tree TB --- 2008-02-10 07:40:50 - cvsupping the source tree TB --- 2008-02-10 07:40:50 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-02-10 07:40:56 - building world (CFLAGS=-O -pipe) TB --- 2008-02-10 07:40:56 - cd /src TB --- 2008-02-10 07:40:56 - /usr/bin/make -B buildworld >>> World build started on Sun Feb 10 07:40:57 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sun Feb 10 09:14:52 UTC 2008 TB --- 2008-02-10 09:14:52 - generating LINT kernel config TB --- 2008-02-10 09:14:52 - cd /src/sys/amd64/conf TB --- 2008-02-10 09:14:52 - /usr/bin/make -B LINT TB --- 2008-02-10 09:14:52 - building LINT kernel (COPTFLAGS=) TB --- 2008-02-10 09:14:52 - cd /src TB --- 2008-02-10 09:14:52 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Feb 10 09:14:52 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun Feb 10 09:31:47 UTC 2008 TB --- 2008-02-10 09:31:47 - building GENERIC kernel (COPTFLAGS=) TB --- 2008-02-10 09:31:47 - cd /src TB --- 2008-02-10 09:31:47 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sun Feb 10 09:31:47 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /src/sys/dev/uart/uart_subr.c cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /src/sys/dev/uart/uart_tty.c cc -c -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /src/sys/dev/usb/ehci.c /src/sys/dev/usb/ehci.c: In function 'ehci_sync_hc': /src/sys/dev/usb/ehci.c:1563: error: 'LOCK_FILE' undeclared (first use in this function) /src/sys/dev/usb/ehci.c:1563: error: (Each undeclared identifier is reported only once /src/sys/dev/usb/ehci.c:1563: error: for each function it appears in.) /src/sys/dev/usb/ehci.c:1563: error: 'LOCK_LINE' undeclared (first use in this function) *** Error code 1 Stop in /obj/amd64/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-10 09:35:46 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-10 09:35:46 - ERROR: failed to build GENERIC kernel TB --- 2008-02-10 09:35:46 - tinderbox aborted TB --- 4884.38 user 607.87 system 6946.62 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 07:10:02 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB4B816A417 for ; Sun, 10 Feb 2008 07:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3B4B13C457 for ; Sun, 10 Feb 2008 07:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1A7A25V074763 for ; Sun, 10 Feb 2008 07:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1A7A2tI074762; Sun, 10 Feb 2008 07:10:02 GMT (envelope-from gnats) Date: Sun, 10 Feb 2008 07:10:02 GMT Message-Id: <200802100710.m1A7A2tI074762@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: masatic@mbs.sphere.ne.jp (FUCHIGAMI Masachika) X-Mailman-Approved-At: Sun, 10 Feb 2008 12:15:32 +0000 Cc: Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FUCHIGAMI Masachika List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 07:10:03 -0000 The following reply was made to PR amd64/120202; it has been noted by GNATS. From: masatic@mbs.sphere.ne.jp (FUCHIGAMI Masachika) To: bug-followup@FreeBSD.org Cc: Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts Date: Sun, 10 Feb 2008 16:04:04 +0900 I found following patch works well. IMHO, AP does not accept SIPI because the core shutdowns or send SIPI to itself in BIOS bootup code. So, i modify the code to send SIPI before AP closes its ears. -- *** mp_machdep.c.orig Mon Oct 8 21:51:01 2007 --- mp_machdep.c Fri Feb 8 22:34:41 2008 *************** *** 788,796 **** --- 788,798 ---- lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL | APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, 0); /* wait for pending status end */ + #if 0 DELAY(10000); /* wait ~10mS */ + #endif lapic_ipi_wait(-1); /* * next we do a STARTUP IPI: the previous INIT IPI might still be From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 10:25:29 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72CEE16A419; Sun, 10 Feb 2008 10:25:29 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 47BAD13C455; Sun, 10 Feb 2008 10:25:29 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1AAPT6d094023; Sun, 10 Feb 2008 10:25:29 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1AAPTkp094019; Sun, 10 Feb 2008 10:25:29 GMT (envelope-from remko) Date: Sun, 10 Feb 2008 10:25:29 GMT Message-Id: <200802101025.m1AAPTkp094019@freefall.freebsd.org> To: riegersteve@gmail.com, remko@FreeBSD.org, freebsd-amd64@FreeBSD.org From: remko@FreeBSD.org X-Mailman-Approved-At: Sun, 10 Feb 2008 12:28:37 +0000 Cc: Subject: Re: amd64/93002: amd64 (6.0) coredumps at unpredictable times X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 10:25:29 -0000 Synopsis: amd64 (6.0) coredumps at unpredictable times State-Changed-From-To: analyzed->closed State-Changed-By: remko State-Changed-When: Sun Feb 10 10:25:28 UTC 2008 State-Changed-Why: Bruce Cran reports that this probably can be closed ; I agree since it had been fixed in RELENG_6 and above, I Would like to advise you to upgrade to at least FreeBSD 6.3 and where possible testout FreeBSD 7.0-RC2, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=93002 From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 16:28:16 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 746E416A468 for ; Sun, 10 Feb 2008 16:28:16 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 195A613C45D for ; Sun, 10 Feb 2008 16:28:15 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so3716577fgg.35 for ; Sun, 10 Feb 2008 08:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer:sender; bh=rB6aecKZkkIb75fxgEInS6vZp/PENVrrF5xM/dnnOT4=; b=TPSJRr7guWS5GvBXtTDR74LuB93DEOIgDpbeEWqzNHhb+W1wjLd9kFUYDrWSZro7mScJRieh+7VtZy+gT5dVJtHalI75L3Nz1kl6Z833rQquElLhyMuDwVd/Uvk8YmSRq9zF3s7zWDi7jZFog++axMUeWwsO5bXcu9lXbOqZyUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer:sender; b=fNfxjzW6VbQDTdbBXYz7lepKAzhvJr7sFBrZNNaW5A/cvanGflbKeOnCyjzLgIsOksJ50lskoJEFaYvAUZnz/w6/nQBmbs6G6QhNNq1K+7lnuJf/Mt3wXt9o4D58jqNsqOaJ9DVJNLyNXOkWzVyBoMdFCkIb3J+Euovgfk1lZUw= Received: by 10.82.121.15 with SMTP id t15mr27571437buc.1.1202659148668; Sun, 10 Feb 2008 07:59:08 -0800 (PST) Received: from ?89.214.209.214? ( [89.214.209.214]) by mx.google.com with ESMTPS id m5sm19474884gve.11.2008.02.10.07.59.07 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Feb 2008 07:59:08 -0800 (PST) Message-Id: From: Rui Paulo To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Sun, 10 Feb 2008 15:59:04 +0000 X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Subject: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 16:28:16 -0000 Hi, Some AMD systems have two thermal sensors on both cores. I wrote a simple driver to access these temperatures, but I don't have a system to test. If anyone has a AMD K8 system, I would love if you could test the k8temp driver that I wrote based on the Linux one. Get it at: http://people.freebsd.org/~rpaulo/k8temp.tgz Compile/test with: $ tar xzvf k8temp.tgz && cd k8temp $ make SYSDIR=/path/to/src/sys # kldload ./k8temp.ko This is still pre-alpha quality, so please don't use it on a production system. Thanks in advance. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 17:48:50 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8393F16A420 for ; Sun, 10 Feb 2008 17:48:50 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 291A413C44B for ; Sun, 10 Feb 2008 17:48:49 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so3734808fgg.35 for ; Sun, 10 Feb 2008 09:48:49 -0800 (PST) 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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ah7EPyaFljbe0bCGs1+4vpoG36u00SHQJlDzj0UVIAs=; b=IH6H81fwGaGfMoUiQB5JcQJlM1UaBo86riylV7MLvokUwvOtn02I6C0c6E1hjUW4jZjTANsNAXVM+CWkwyxLXIKbmsKz/mk8wB92v4NaWSB+1BazkFC+eQEKZY+1kJTl/KJFDoDt6iE0fARWzSs8jziakfTPRDe4wdGxlYz9/og= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bvqs1nWyhpca8cBNg2pspvLergpMSOm0rTCi6/hqwBcrwIvPBFOJ+RSUzzDdlXS9Uiddc6zT45zyNky3XXMAVyXYG3s6nOsQpPwPNJBF3BDnhoiPs1F+F8dIFOxgsl3yrQdxAjCSospPI3K9PODCW6/1iHiMoca7LXPxmogoREc= Received: by 10.86.28.5 with SMTP id b5mr14149381fgb.76.1202663999437; Sun, 10 Feb 2008 09:19:59 -0800 (PST) Received: by 10.86.99.17 with HTTP; Sun, 10 Feb 2008 09:19:59 -0800 (PST) Message-ID: <790a9fff0802100919wa1018f2t3ec0e71efb62aa00@mail.gmail.com> Date: Sun, 10 Feb 2008 11:19:59 -0600 From: "Scot Hetzel" To: "Rui Paulo" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 17:48:50 -0000 On 2/10/08, Rui Paulo wrote: > Hi, > Some AMD systems have two thermal sensors on both cores. I wrote a > simple driver to access these temperatures, but I don't have a system > to test. If anyone has a AMD K8 system, I would love if you could test > the k8temp driver that I wrote based on the Linux one. > > Get it at: > http://people.freebsd.org/~rpaulo/k8temp.tgz > > Compile/test with: > $ tar xzvf k8temp.tgz && cd k8temp > $ make SYSDIR=/path/to/src/sys > # kldload ./k8temp.ko > > This is still pre-alpha quality, so please don't use it on a > production system. > > Thanks in advance. I have been using sysutils/k8temp from ports to get the temperature for my system: # k8temp -d CPUID: Vendor: AuthenticAMD, Id=0x20f42 Model=4 Family=15 Stepping=2 Advanced Power Management=0x3f Temperature sensor: Yes Frequency ID control: Yes Voltage ID control: Yes THERMTRIP support: Yes HW Thermal control: Yes SW Thermal control: Yes 100MHz multipliers: No HW P-State control: No TSC Invariant: No Thermtrip=0x00000b24 (CurTmp=0x00 (-49c) TjOffset=0x00 DiodeOffset=0x0b (0c)) Thermtrip=0x006d0b20 (CurTmp=0x6d (60c) TjOffset=0x00 DiodeOffset=0x0b (0c)) CPU 0 Core 1 Sensor 0: 60c After compiling and loading the module, I am seeing these temperatures in the sysctl tree: # sysctl dev.k8temp dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb4 dev.k8temp.0.sensor0.core0: 59 dev.k8temp.0.sensor0.core1: -49 dev.k8temp.0.sensor1.core0: 59 dev.k8temp.0.sensor1.core1: 59 Thanks for creating the k8temp module. Scot From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 17:53:24 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 7799E16A418; Sun, 10 Feb 2008 17:53:24 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.freebsd.org (Postfix) with ESMTP id 56B8113C4CC; Sun, 10 Feb 2008 17:53:24 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from [81.104.123.28] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JOG6t-000KV5-AI; Sun, 10 Feb 2008 17:36:59 +0000 Received: from freaky by voi.aagh.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JOG6s-0009it-TN; Sun, 10 Feb 2008 17:36:58 +0000 Date: Sun, 10 Feb 2008 17:36:58 +0000 From: Thomas Hurst To: Rui Paulo Message-ID: <20080210173658.GA29898@voi.aagh.net> Mail-Followup-To: Rui Paulo , freebsd-amd64@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Not much. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Thomas Hurst Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 17:53:24 -0000 * Rui Paulo (rpaulo@FreeBSD.org) wrote: > Some AMD systems have two thermal sensors on both cores. I wrote a > simple driver to access these temperatures, but I don't have a system > to test. If anyone has a AMD K8 system, I would love if you could test > the k8temp driver that I wrote based on the Linux one. Works for me: dev.k8temp.0.sensor0.core0: 45 dev.k8temp.0.sensor0.core1: 44 dev.k8temp.0.sensor1.core0: 45 dev.k8temp.0.sensor1.core1: 45 dev.k8temp.1.sensor0.core0: 40 dev.k8temp.1.sensor0.core1: 43 dev.k8temp.1.sensor1.core0: 40 dev.k8temp.1.sensor1.core1: 40 I wrote a userspace implementation (in ports as sysutils/k8temp), which gives: CPU 0 Core 0 Sensor 0: 43c CPU 0 Core 1 Sensor 0: 46c CPU 1 Core 0 Sensor 0: 41c CPU 1 Core 1 Sensor 0: 40c You'll note it doesn't show two sensors per core; in get_temp() I check the selection took by verifying the final 4 byte read contains the selections I just wrote. Maybe I shouldn't bother, I can't remember if the docs say the selections are supposed to be reflected in the read, though they clearly are for core selection or it wouldn't work. sysutils/k8temp should work in all the other BSD's too, if anyone fancies testing.. -- Thomas 'Freaky' Hurst http://hur.st/ From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 18:36:03 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 EC05E16A418 for ; Sun, 10 Feb 2008 18:36:03 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id 9CD8113C45D for ; Sun, 10 Feb 2008 18:36:03 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m1AIa0DQ011298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Feb 2008 05:36:01 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m1AIa0Pg064453; Mon, 11 Feb 2008 05:36:00 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m1AIa0Z9064452; Mon, 11 Feb 2008 05:36:00 +1100 (EST) (envelope-from peter) Date: Mon, 11 Feb 2008 05:36:00 +1100 From: Peter Jeremy To: Rui Paulo Message-ID: <20080210183600.GJ64299@server.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 18:36:04 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: >Some AMD systems have two thermal sensors on both cores. I wrote a simple= =20 >driver to access these temperatures, but I don't have a system to test. If= =20 >anyone has a AMD K8 system, I would love if you could test the k8temp=20 >driver that I wrote based on the Linux one. I'll report a failure on a TurionX2 laptop: CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x40f82 Stepping =3D 2 Features=3D0x178bfbff Features2=3D0x2001 AMD Features=3D0xea500800 AMD Features2=3D0x1f Cores per package: 2 Loading k8temp gives: Feb 11 05:32:41 claus kernel: k8temp0: on hostb3 Feb 11 05:32:41 claus kernel: k8temp0: can't clear config registerdevice_at= tach: k8temp0 attach returned 6 --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHr0QQ/opHv/APuIcRAs71AJ9BDdPTn3/S1rz/dt3zLZvU8OL7owCgkatg GX3Tnbm38/QqfphW7Tak6TY= =pUOs -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 19:58:34 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 000CF16A417 for ; Sun, 10 Feb 2008 19:58:33 +0000 (UTC) (envelope-from jwm-freebsd-amd64@sentinelchicken.net) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id C023D13C442 for ; Sun, 10 Feb 2008 19:58:33 +0000 (UTC) (envelope-from jwm-freebsd-amd64@sentinelchicken.net) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Feb 2008 14:29:24 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id JRA91173; Sun, 10 Feb 2008 14:29:18 -0500 (EST) Received: from 207-172-209-180.c3-0.bkl-ubr2.sbo-bkl.ma.static.cable.rcn.com (HELO sentinelchicken.net) ([207.172.209.180]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Feb 2008 14:28:17 -0500 Received: (qmail 49588 invoked from network); 10 Feb 2008 19:29:17 -0000 Received: from aeryn.skepsi.net (HELO crichton.skepsi.net) (10.0.0.101) by aeryn.skepsi.net with SMTP; 10 Feb 2008 19:29:17 -0000 Received: (nullmailer pid 49585 invoked by uid 1000); Sun, 10 Feb 2008 19:29:17 -0000 Date: Sun, 10 Feb 2008 14:29:16 -0500 From: Jason Morgan To: freebsd-amd64@freebsd.org Message-ID: <20080210192916.GD46810@sentinelchicken.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A01020A.47AF508E.0007,ss=1,fgs=0, ip=207.172.4.11, so=2007-10-30 19:00:17, dmn=5.4.3/2007-11-16 X-Junkmail-IWF: false Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 19:58:34 -0000 On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: > Hi, > Some AMD systems have two thermal sensors on both cores. I wrote a simple > driver to access these temperatures, but I don't have a system to test. If > anyone has a AMD K8 system, I would love if you could test the k8temp > driver that I wrote based on the Linux one. > > Get it at: > http://people.freebsd.org/~rpaulo/k8temp.tgz > > Compile/test with: > $ tar xzvf k8temp.tgz && cd k8temp > $ make SYSDIR=/path/to/src/sys > # kldload ./k8temp.ko > > This is still pre-alpha quality, so please don't use it on a production > system. > > Thanks in advance. # uname -a FreeBSD numbuscus.skepsi.net 7.0-RC1 FreeBSD 7.0-RC1 #2: Wed Feb 6 21:50:29 EST 2008 root@numbuscus.skepsi.net:/usr/obj/usr/src/sys/NUMBUSCUS.smp amd64 # dmesg CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2500.11-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 # sysctl -a | grep k8temp k8temp0: on hostb3 k8temp0: 15 7 5 -11 dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 15 dev.k8temp.0.sensor0.core1: 8 dev.k8temp.0.sensor1.core0: 15 dev.k8temp.0.sensor1.core1: 15 HTH, ~Jason From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 21:21:20 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 7D32D16A419; Sun, 10 Feb 2008 21:21:20 +0000 (UTC) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by mx1.freebsd.org (Postfix) with ESMTP id 2257213C442; Sun, 10 Feb 2008 21:21:19 +0000 (UTC) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from localhost (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 85B5714D7CC; Sun, 10 Feb 2008 21:51:14 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by localhost (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hd33bWn8aoxJ; Sun, 10 Feb 2008 21:51:10 +0100 (CET) Received: from sleipner.home.swe (c213-100-49-167.swipnet.se [213.100.49.167]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 089E214D131; Sun, 10 Feb 2008 21:51:09 +0100 (CET) Message-ID: <47AF63BD.7020403@bahnhofbredband.se> Date: Sun, 10 Feb 2008 21:51:09 +0100 From: Carl Johan Gustavsson User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: Rui Paulo References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 21:21:20 -0000 Rui Paulo wrote: > Hi, > Some AMD systems have two thermal sensors on both cores. I wrote a > simple driver to access these temperatures, but I don't have a system > to test. If anyone has a AMD K8 system, I would love if you could test > the k8temp driver that I wrote based on the Linux one. > > Get it at: > http://people.freebsd.org/~rpaulo/k8temp.tgz > > Compile/test with: > $ tar xzvf k8temp.tgz && cd k8temp > $ make SYSDIR=/path/to/src/sys > # kldload ./k8temp.ko > > This is still pre-alpha quality, so please don't use it on a > production system. > > Thanks in advance. > -- > Rui Paulo > Hi! Tested it seems to work just fine! I gathered this info: # uname -a FreeBSD sleipner.home.swe 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat Feb 2 22:02:17 CET 2008 carl@sleipner.home.swe:/usr/home/carl/usr.obj/usr/src/sys/SLEIPNER_7 i386 exerpt from dmesg: CPU: Dual Core AMD Opteron(tm) Processor 165 (1808.34-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x3 Cores per package: 2 ... k8temp0: on hostb3 k8temp0: 44 41 44 41 # sysctl dev.k8temp dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 44 dev.k8temp.0.sensor0.core1: 40 dev.k8temp.0.sensor1.core0: 45 dev.k8temp.0.sensor1.core1: 45 It's tested in i386 now, but I can provide data for amd64 using the same cpu if you want. Thanks for your work! It's a very handy feature. /cjg From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 22:15:09 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 CB19316A418; Sun, 10 Feb 2008 22:15:09 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.freebsd.org (Postfix) with ESMTP id A532513C455; Sun, 10 Feb 2008 22:15:09 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from [81.104.123.28] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JOKS4-000Ojy-EO; Sun, 10 Feb 2008 22:15:08 +0000 Received: from freaky by voi.aagh.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JOKS4-000J9A-2G; Sun, 10 Feb 2008 22:15:08 +0000 Date: Sun, 10 Feb 2008 22:15:08 +0000 From: Thomas Hurst To: Rui Paulo , freebsd-amd64@freebsd.org Message-ID: <20080210221508.GA72580@voi.aagh.net> Mail-Followup-To: Rui Paulo , freebsd-amd64@freebsd.org References: <20080210173658.GA29898@voi.aagh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080210173658.GA29898@voi.aagh.net> Organization: Not much. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Thomas Hurst Cc: Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 22:15:09 -0000 * Thomas Hurst (tom.hurst@clara.net) wrote: > Works for me: 7.0/amd64, dual Opteron 275, 8G, btw. And before anyone asks, this won't work on a K10/Barcelona/Phenom; the PCI devices are there, but the registers are different. It might attach, but you won't get any sensible readings out of it. The K10 docs suggest it may be difficult to get a true temperature reading off it, since it's based on an arbitrary scale. -- Thomas 'Freaky' Hurst http://hur.st/ From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 10 21:54:14 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 D16E616A41B for ; Sun, 10 Feb 2008 21:54:14 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superman.superhero.nl (superhero.nl [82.95.198.17]) by mx1.freebsd.org (Postfix) with ESMTP id 30B1E13C457 for ; Sun, 10 Feb 2008 21:54:13 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 62918 invoked by uid 80); 10 Feb 2008 21:27:11 -0000 Received: from 10.202.77.197 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sun, 10 Feb 2008 22:27:10 +0100 (CET) Message-ID: <1678.10.202.77.197.1202678830.squirrel@webmail.superhero.nl> In-Reply-To: References: Date: Sun, 10 Feb 2008 22:27:10 +0100 (CET) From: "Gelsema, P \(Patrick\)" To: "Rui Paulo" User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Sun, 10 Feb 2008 23:57:33 +0000 Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 21:54:14 -0000 On Sun, February 10, 2008 16:59, Rui Paulo wrote: > Hi, > Some AMD systems have two thermal sensors on both cores. I wrote a > simple driver to access these temperatures, but I don't have a system > to test. If anyone has a AMD K8 system, I would love if you could test > the k8temp driver that I wrote based on the Linux one. > > Get it at: > http://people.freebsd.org/~rpaulo/k8temp.tgz > > Compile/test with: > $ tar xzvf k8temp.tgz && cd k8temp > $ make SYSDIR=/path/to/src/sys > # kldload ./k8temp.ko > hulk# uname -a FreeBSD hulk.superhero.nl 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 18:52:08 CET 2007 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC amd64 hw.machine: amd64 hw.model: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ hw.ncpu: 2 hulk# sysctl -a | grep k8temp k8temp0: on hostb3 k8temp0: 16 20 11 7 dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 19 dev.k8temp.0.sensor0.core1: 21 dev.k8temp.0.sensor1.core0: 19 dev.k8temp.0.sensor1.core1: 19 Rgds, Patrick > This is still pre-alpha quality, so please don't use it on a > production system. > > Thanks in advance. > -- > Rui Paulo > > > > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 00:09:03 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 14F2C16A421; Mon, 11 Feb 2008 00:09:03 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id BACE713C447; Mon, 11 Feb 2008 00:09:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 104A2207E; Mon, 11 Feb 2008 00:51:31 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.3/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id EA08B2049; Mon, 11 Feb 2008 00:51:30 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id BADC38448F; Mon, 11 Feb 2008 00:51:30 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Rui Paulo References: Date: Mon, 11 Feb 2008 00:51:30 +0100 In-Reply-To: (Rui Paulo's message of "Sun\, 10 Feb 2008 15\:59\:04 +0000") Message-ID: <86abm82wvx.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 00:09:03 -0000 Rui Paulo writes: > Some AMD systems have two thermal sensors on both cores. [...] Is there any way you can have it report the higher of these two as dev.cpu.N.temperature, for compatibility with coretemp(4)? This will make life much easier for system monitoring software (munin, nagios etc) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 08:10:57 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 278DA16A420; Mon, 11 Feb 2008 08:10:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id BC99613C461; Mon, 11 Feb 2008 08:10:56 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m1B8AuWE054709; Mon, 11 Feb 2008 03:10:56 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.2/8.14.1) with ESMTP id m1B8AuGJ004722; Mon, 11 Feb 2008 03:10:56 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id C9A4B1B5078; Mon, 11 Feb 2008 03:10:55 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080211081055.C9A4B1B5078@freebsd-stable.sentex.ca> Date: Mon, 11 Feb 2008 03:10:55 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [releng_7 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: Mon, 11 Feb 2008 08:10:57 -0000 TB --- 2008-02-11 07:31:31 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-02-11 07:31:31 - starting RELENG_7 tinderbox run for amd64/amd64 TB --- 2008-02-11 07:31:32 - cleaning the object tree TB --- 2008-02-11 07:31:55 - cvsupping the source tree TB --- 2008-02-11 07:31:55 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/amd64/amd64/supfile TB --- 2008-02-11 07:32:02 - building world (CFLAGS=-O2 -pipe) TB --- 2008-02-11 07:32:02 - cd /src TB --- 2008-02-11 07:32:02 - /usr/bin/make -B buildworld >>> World build started on Mon Feb 11 07:32:05 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] building profiled archive library ranlib libarchive_p.a gzip -cn /src/lib/libarchive/archive_entry.3 > archive_entry.3.gz gzip -cn /src/lib/libarchive/archive_read.3 > archive_read.3.gz gzip -cn /src/lib/libarchive/archive_util.3 > archive_util.3.gz gzip -cn /src/lib/libarchive/archive_write.3 > archive_write.3.gz gzip -cn /src/lib/libarchive/archive_write_disk.3 > archive_write_disk.3.gz make: don't know how to make cpio.5. Stop *** Error code 2 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-11 08:10:55 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-11 08:10:55 - ERROR: failed to build world TB --- 2008-02-11 08:10:55 - tinderbox aborted TB --- 1726.49 user 227.31 system 2363.60 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 08:42:05 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70C2116A418; Mon, 11 Feb 2008 08:42:05 +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 1A08A13C4DD; Mon, 11 Feb 2008 08:42:04 +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 m1B8g4ja032320; Mon, 11 Feb 2008 03:42:04 -0500 (EST) (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.1) with ESMTP id m1B8g3rq098466; Mon, 11 Feb 2008 03:42:03 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C00C873039; Mon, 11 Feb 2008 03:42:03 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080211084203.C00C873039@freebsd-current.sentex.ca> Date: Mon, 11 Feb 2008 03:42:03 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 08:42:05 -0000 TB --- 2008-02-11 07:05:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-02-11 07:05:01 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-02-11 07:05:01 - cleaning the object tree TB --- 2008-02-11 07:05:53 - cvsupping the source tree TB --- 2008-02-11 07:05:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-02-11 07:06:00 - building world (CFLAGS=-O -pipe) TB --- 2008-02-11 07:06:00 - cd /src TB --- 2008-02-11 07:06:00 - /usr/bin/make -B buildworld >>> World build started on Mon Feb 11 07:06:01 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Mon Feb 11 08:35:34 UTC 2008 TB --- 2008-02-11 08:35:34 - generating LINT kernel config TB --- 2008-02-11 08:35:34 - cd /src/sys/amd64/conf TB --- 2008-02-11 08:35:34 - /usr/bin/make -B LINT TB --- 2008-02-11 08:35:34 - building LINT kernel (COPTFLAGS=) TB --- 2008-02-11 08:35:34 - cd /src TB --- 2008-02-11 08:35:34 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Feb 11 08:35:34 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/geom/label/g_label_msdosfs.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/geom/label/g_label_ntfs.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/geom/label/g_label_reiserfs.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/geom/label/g_label_ufs.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/geom/lvm/g_lvm.c cc1: warnings being treated as errors /src/sys/geom/lvm/g_lvm.c: In function 'g_lvm_start': /src/sys/geom/lvm/g_lvm.c:267: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-11 08:42:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-11 08:42:03 - ERROR: failed to build lint kernel TB --- 2008-02-11 08:42:03 - tinderbox aborted TB --- 4209.73 user 532.21 system 5822.66 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 11:07: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 1A2AB16A46B for ; Mon, 11 Feb 2008 11:07:01 +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 01D9813C4EE for ; Mon, 11 Feb 2008 11:07:01 +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 m1BB70qq007317 for ; Mon, 11 Feb 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BB70AL007313 for freebsd-amd64@FreeBSD.org; Mon, 11 Feb 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Feb 2008 11:07:00 GMT Message-Id: <200802111107.m1BB70AL007313@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 Feb 2008 12:20:46 +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 Feb 2008 11:07:01 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up o amd64/74747 amd64 System panic on shutdown when process will not die o amd64/76136 amd64 system halts before reboot o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/80691 amd64 amd64 kernel hangs on load o amd64/85451 amd64 [hang] 6.0-BETA3 lockups on AMD64 (PREEMPTION only) o amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 o amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87977 amd64 [busdma] [panic] amd64 busdma dflt_lock called (by ata o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/88790 amd64 kernel panic on first boot (after the FreeBSD installa o amd64/89501 amd64 System crashes on install using ftp on local subnet o amd64/89503 amd64 Cant Boot Installation Disk o amd64/89546 amd64 [geom] GEOM error o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/91492 amd64 BTX halted o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/92889 amd64 [libc] xdr double buffer overflow o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/94677 amd64 panic in amd64 install at non-root user creation o amd64/94989 amd64 BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) and 5. o amd64/95888 amd64 kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP DL140G f amd64/97075 amd64 Panic, Trap 12 o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/102122 amd64 6.1-RELEASE amd64 Install Media panics on boot. s amd64/104311 amd64 ports/wine should be installable on amd64 f amd64/105514 amd64 FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 La o amd64/105531 amd64 [sata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - doe o amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on o amd64/106604 amd64 saslauthd crashes with signal 6 on FreeBSD 6.2-PREREL s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work f amd64/109584 amd64 zdump doesn't work o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 o amd64/111955 amd64 [install] Install CD boot panic due to missing BIOS sm o amd64/111992 amd64 BTX failed - HP Laptop dv2315nr o amd64/112677 amd64 [aac] Adaptec 4805SAS causes 6.2 (AMD64) to panic (amd o amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c s amd64/115815 amd64 [sata] [request] Gigabyte GA-M61P-S3 Motherboard unsup o amd64/116159 amd64 Panic while debugging on CURRENT o amd64/116322 amd64 At start fsck on current, the system panics o amd64/116620 amd64 Ifconfig spins when creating carp(4) device on amd64/S o amd64/116977 amd64 FreeBSD/amd64 - Fails to boot on HP Pavilion dv9030ea o amd64/117296 amd64 [sata] I don`t see second SATA IDE on VIA VT8237A o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117418 amd64 FreeBSD 6.2 crash on amd64 4400+ o amd64/117858 amd64 can not install / does not recognize network / no netw f amd64/119417 amd64 [boot] FreeBSD 7.0 rc1 amd64 won't boot on thinkpad x6 o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/119936 amd64 [install] FreeBSD 7.0-RC1 amd64 and i386 installer dis o amd64/120081 amd64 [sata] Hard drive not found during install FreeBSD 7.0 o amd64/120202 amd64 [patch] [panic] kernel panic at start_all_aps, AP not o amd64/120209 amd64 ZFS - reboot after panic: solaris assert: arc_buf_remo o amd64/120243 amd64 [bge] can't get work Broadcom 802.11b/g WLAN on HP Pav 58 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/74608 amd64 [mpt] [hang] mpt hangs 5 minutes when booting s amd64/85273 amd64 FreeBSD (NetBSD or OpenBSD) not install on laptop Comp o amd64/88730 amd64 kernel panics during booting from the installation CD o amd64/91195 amd64 FreeBSD 6.0(amd64) and Asus A8R-MVP o amd64/97489 amd64 [ata] nForce 410 ATA controller dma time out (ASUS K8N o amd64/100838 amd64 [powerd] FreeBSD 6.0/6.1 kernel panics when booting wi o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 o bin/105542 amd64 on amd64, ldd(1) produces bogus output for i386 execut o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/108345 amd64 6.2-* GENERIC will not boot Intel PD EMT64 w/ ACPI o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot o amd64/111096 amd64 motherboard ASRock AM2NF6G-VSTA not supported a amd64/113111 amd64 [Makefile] [patch] Potentially wrong instructions will o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/116457 amd64 cant install freebsd on dv9420us o amd64/116514 amd64 freebsd6.2 can't detect GA-M61SME-S2's onboard lan car o amd64/116670 amd64 [sata] onboard SATA RAID1 controllers not supported fo s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/117186 amd64 kldload Unsupported file type on STABLE amd64 o amd64/119516 amd64 [panic] _mtx_lock_sleep: recursed on non-recursive mut o amd64/119949 amd64 6.3-RELEASE install; cannot find packages/INDEX error 23 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 12:58: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 E911C16A417; Mon, 11 Feb 2008 12:58:25 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 6FEB513C45D; Mon, 11 Feb 2008 12:58:25 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1BCwJAH084206; Mon, 11 Feb 2008 13:58:24 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: <2B3CDACE-9D13-4A2C-900B-12EB421238B2@altesco.nl> From: Ben Stuyts To: obrien@freebsd.org In-Reply-To: <20080209002356.GB30493@dragon.NUXI.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 13:58:18 +0100 References: <3E1A8014-3F18-492B-8288-46706F420123@altesco.nl> <9892EE5A-068E-4BFA-8D31-9FF7184C3181@altesco.nl> <20080209002356.GB30493@dragon.NUXI.org> X-Mailer: Apple Mail (2.915) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Mon, 11 Feb 2008 13:58:24 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5769/Mon Feb 11 11:56:45 2008 on earth.altus-escon.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Panic when connecting USB drive to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 12:58:26 -0000 On 9 Feb 2008, at 01:23, David O'Brien wrote: > On Fri, Feb 08, 2008 at 07:02:46PM +0100, Ben Stuyts wrote: >>> >> I have connected the same drive to a different system, running a >> somewhat >> older version of i386 7.0, and it does not panic. So maybe it is >> amd64 >> specific. Here are the drive's details that came up: >> >> FreeBSD jirad.altus-escon.com 7.0-BETA4 FreeBSD 7.0-BETA4 #3: Tue >> Dec 4 >> 17:03:57 CET 2007 root@jirad.altus-escon.com:/usr/obj/usr/src/sys/ >> GENERIC i386 > > The kernel you paniced with is from Feb 2008. It would be helpful > if you > could try either a BETA4 kernel on your AMD64 machine, or a Feb 2008 > kernel on your i386. Ok, I tested with an updated kernel on the i386, and it works fine. So at least it is not a regression problem. > Also note, if these two machines are different, they can easily have > different hardware and thus trigger/not-trigger the problem just due > to > the HW differences. Yes, very different. In any case, the problem still exists on the amd64 machine, so I'd appreciate any help in getting this problem resolved. Ben From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 14:30: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 2159716A468 for ; Mon, 11 Feb 2008 14:30: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 EC2EC13C4FD for ; Mon, 11 Feb 2008 14:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BEU4Pv026340 for ; Mon, 11 Feb 2008 14:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BEU4VJ026339; Mon, 11 Feb 2008 14:30:04 GMT (envelope-from gnats) Date: Mon, 11 Feb 2008 14:30:04 GMT Message-Id: <200802111430.m1BEU4VJ026339@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Volker X-Mailman-Approved-At: Mon, 11 Feb 2008 14:34:17 +0000 Cc: Subject: Re: amd64/120243: [bge] can't get work Broadcom 802.11b/g WLAN on HP Pavilion DV8000 with DeskTopBSD 1.6 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 14:30:05 -0000 The following reply was made to PR amd64/120243; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, rostyslav@optonline.net Cc: Subject: Re: amd64/120243: [bge] can't get work Broadcom 802.11b/g WLAN on HP Pavilion DV8000 with DeskTopBSD 1.6 Date: Mon, 11 Feb 2008 15:25:51 +0100 Ross: Can we close this PR now? From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 15:30:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F28B16A419 for ; Mon, 11 Feb 2008 15:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 607B113C47E for ; Mon, 11 Feb 2008 15:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BFU1bP042846 for ; Mon, 11 Feb 2008 15:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BFU11j042845; Mon, 11 Feb 2008 15:30:01 GMT (envelope-from gnats) Resent-Date: Mon, 11 Feb 2008 15:30:01 GMT Resent-Message-Id: <200802111530.m1BFU11j042845@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, Aleksandr Dubel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B15316A469 for ; Mon, 11 Feb 2008 15:25:10 +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 8B33A13C467 for ; Mon, 11 Feb 2008 15:25:10 +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 m1BFMuFd009863 for ; Mon, 11 Feb 2008 15:22:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1BFMubV009862; Mon, 11 Feb 2008 15:22:56 GMT (envelope-from nobody) Message-Id: <200802111522.m1BFMubV009862@www.freebsd.org> Date: Mon, 11 Feb 2008 15:22:56 GMT From: Aleksandr Dubel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 11 Feb 2008 15:40:44 +0000 Cc: Subject: amd64/120538: FreeBSD amd64 not started at HP desktops dc7600() dc7700 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 Feb 2008 15:30:01 -0000 >Number: 120538 >Category: amd64 >Synopsis: FreeBSD amd64 not started at HP desktops dc7600() dc7700 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 11 15:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Aleksandr Dubel >Release: 7.0-rc1-amd64 6.3-release-amd64 >Organization: LLC "Astelit" >Environment: Sorry, I can't do that, because system can't start. >Description: When I am trying to boot from CD, I receive error: "No bios smap info from loader". Dc7600 has Pentium4 3.2 GHz, DC 7700 has Intel Core 2 Duo. I want to help to solve that problem. I have that kind of desktops, I have some free time and I have some experience in FreeBSD. I can do tests to fix that problem if needed. But I don’t know what to test. P.S. I think that problem is in file bios.c., system can’t receive correct CPUID information from that file, but maybe I am wrong. >How-To-Repeat: Just boot from amd64 CD on HP decktop >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:30:41 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 5D0D316A419; Mon, 11 Feb 2008 20:30:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3CAE213C4D1; Mon, 11 Feb 2008 20:30:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BKUfFp065184; Mon, 11 Feb 2008 20:30:41 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BKUetC065180; Mon, 11 Feb 2008 20:30:40 GMT (envelope-from jhb) Date: Mon, 11 Feb 2008 20:30:40 GMT Message-Id: <200802112030.m1BKUetC065180@freefall.freebsd.org> To: sashko@life.com.ua, jhb@FreeBSD.org, freebsd-amd64@FreeBSD.org From: jhb@FreeBSD.org Cc: Subject: Re: amd64/120538: FreeBSD amd64 not started at HP desktops dc7600() dc7700 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 Feb 2008 20:30:41 -0000 Synopsis: FreeBSD amd64 not started at HP desktops dc7600() dc7700 State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Mon Feb 11 20:26:57 UTC 2008 State-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=120538 From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:31:31 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 2B88716A421 for ; Mon, 11 Feb 2008 20:31:31 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id B342E13C455 for ; Mon, 11 Feb 2008 20:31:30 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so595054uge.37 for ; Mon, 11 Feb 2008 12:31:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=L9K2eU4odtJZnMDX0rLbaZMh5vXk4qVNM78kNBYvRZM=; b=oEhsQdW6rCL/0WH22QltsV+jOy3hIYOCTBLAAC02KH67mi8xBuObZZkUOnLLpspgsCpxyGR5/U3PglwF2nQX3AHG5eUkF0R92VqcMcmntfQaNj3mvfAtwrmMeZMf9Fs9jYZ+JBRNaK8zTT4iRQRzyWgz3IBRW2f+sccoBg61Gkw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=UlO5BOKbyEQRi5hQMPLk+34Y6K3nvv29fKrUNqa8X0NF1Sr1Gn1jrY9nZXU9ktead6kaIL+/AIYx20e/ItDNaQoolpFChLkVbdOzhplP4d8jQQHOM3x4IMQNDXSvTlbxXhXfTraLg54gJXYUUoy+bA85o+cA1GPBXHYM5h/I81s= Received: by 10.66.251.3 with SMTP id y3mr9488996ugh.88.1202761889149; Mon, 11 Feb 2008 12:31:29 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id g11sm9106411gve.6.2008.02.11.12.31.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:31:28 -0800 (PST) Message-Id: <80242296-1201-4BA0-BCF9-736DB583EAE4@freebsd.org> From: Rui Paulo To: Scot Hetzel In-Reply-To: <790a9fff0802100919wa1018f2t3ec0e71efb62aa00@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:31:24 +0000 References: <790a9fff0802100919wa1018f2t3ec0e71efb62aa00@mail.gmail.com> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:31:31 -0000 On Feb 10, 2008, at 5:19 PM, Scot Hetzel wrote: > On 2/10/08, Rui Paulo wrote: >> Hi, >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple driver to access these temperatures, but I don't have a system >> to test. If anyone has a AMD K8 system, I would love if you could >> test >> the k8temp driver that I wrote based on the Linux one. >> >> Get it at: >> http://people.freebsd.org/~rpaulo/k8temp.tgz >> >> Compile/test with: >> $ tar xzvf k8temp.tgz && cd k8temp >> $ make SYSDIR=/path/to/src/sys >> # kldload ./k8temp.ko >> >> This is still pre-alpha quality, so please don't use it on a >> production system. >> >> Thanks in advance. > > I have been using sysutils/k8temp from ports to get the temperature > for my system: > > # k8temp -d > CPUID: Vendor: AuthenticAMD, Id=0x20f42 Model=4 Family=15 Stepping=2 > Advanced Power Management=0x3f > Temperature sensor: Yes > Frequency ID control: Yes > Voltage ID control: Yes > THERMTRIP support: Yes > HW Thermal control: Yes > SW Thermal control: Yes > 100MHz multipliers: No > HW P-State control: No > TSC Invariant: No > Thermtrip=0x00000b24 (CurTmp=0x00 (-49c) TjOffset=0x00 > DiodeOffset=0x0b (0c)) > Thermtrip=0x006d0b20 (CurTmp=0x6d (60c) TjOffset=0x00 > DiodeOffset=0x0b (0c)) > CPU 0 Core 1 Sensor 0: 60c > > After compiling and loading the module, I am seeing these temperatures > in the sysctl tree: > > # sysctl dev.k8temp > dev.k8temp.0.%desc: AMD K8 Thermal Sensors > dev.k8temp.0.%driver: k8temp > dev.k8temp.0.%parent: hostb4 > dev.k8temp.0.sensor0.core0: 59 > dev.k8temp.0.sensor0.core1: -49 > dev.k8temp.0.sensor1.core0: 59 > dev.k8temp.0.sensor1.core1: 59 > > Thanks for creating the k8temp module. Seems to be working, thanks for testing. -49 means "temperature invalid", BTW. Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:33:31 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 EB38216A418 for ; Mon, 11 Feb 2008 20:33:31 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 800A513C46A for ; Mon, 11 Feb 2008 20:33:31 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so595678uge.37 for ; Mon, 11 Feb 2008 12:33:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=CwIS9gs8hMh0x8dYGeMa4jwuG3brLXYSwq+gEuvVOjU=; b=fP5+mnLb9N1CfUbgb8hSpvgnggGPd7VPLEzwGG6BVDAJ72YNCJah2P7HpbcgwscFid/UBNdOgbWCU1LSaJyJTyZnTkqmNXkMf5YqHiPb2uEGoHKD++/3xZgaRryEzdKVEbImvSuUD4egTIyADWALOhLbY+JBDyo/kX/nf1nP9e4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=LmdEgbEv+mDdbP4UxqALlQRcSdAapXBKEKLiiqgmftNSku9YC3+SvGKLffM2gH+wua4X9ckht0o+o5928xVNOOj0E8+bUJAnfWGEzkNIGzmot/w12YV534nVnxOjuALBeyDX6VHmzu40WBWqR/tQAfkSLBOj+q5QpN4u7pbc9sg= Received: by 10.66.233.10 with SMTP id f10mr9525703ugh.25.1202762010082; Mon, 11 Feb 2008 12:33:30 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id i6sm20485728gve.5.2008.02.11.12.33.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:33:26 -0800 (PST) Message-Id: <93CF872F-21D2-45FD-B41F-6566867C10AF@FreeBSD.org> From: Rui Paulo To: Thomas Hurst In-Reply-To: <20080210173658.GA29898@voi.aagh.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:33:17 +0000 References: <20080210173658.GA29898@voi.aagh.net> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:33:32 -0000 On Feb 10, 2008, at 5:36 PM, Thomas Hurst wrote: > * Rui Paulo (rpaulo@FreeBSD.org) wrote: > >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple driver to access these temperatures, but I don't have a system >> to test. If anyone has a AMD K8 system, I would love if you could >> test >> the k8temp driver that I wrote based on the Linux one. > > Works for me: > > dev.k8temp.0.sensor0.core0: 45 > dev.k8temp.0.sensor0.core1: 44 > dev.k8temp.0.sensor1.core0: 45 > dev.k8temp.0.sensor1.core1: 45 > dev.k8temp.1.sensor0.core0: 40 > dev.k8temp.1.sensor0.core1: 43 > dev.k8temp.1.sensor1.core0: 40 > dev.k8temp.1.sensor1.core1: 40 Just for curiosity, is this a quad core? What's the output of pciconf - lv? > I wrote a userspace implementation (in ports as sysutils/k8temp), > which > gives: > > CPU 0 Core 0 Sensor 0: 43c > CPU 0 Core 1 Sensor 0: 46c > CPU 1 Core 0 Sensor 0: 41c > CPU 1 Core 1 Sensor 0: 40c > > You'll note it doesn't show two sensors per core; in get_temp() I > check > the selection took by verifying the final 4 byte read contains the > selections I just wrote. Maybe I shouldn't bother, I can't remember > if > the docs say the selections are supposed to be reflected in the read, > though they clearly are for core selection or it wouldn't work. > > sysutils/k8temp should work in all the other BSD's too, if anyone > fancies testing.. I see. I will think about it. Thanks, -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:35:38 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5738416A41B for ; Mon, 11 Feb 2008 20:35:38 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6BBBD13C501 for ; Mon, 11 Feb 2008 20:35:37 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so596298uge.37 for ; Mon, 11 Feb 2008 12:35:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=1b1THobqhZ8XGbJ9zvIf9eDr/xbPVsJe/W4jqdCLZ3w=; b=a/0W+xw3hU0jlDJynNWhMPw/0j2P8nPjKfXigMeccD5DbtHpbbgo3ZEWl6UzEl2DKctr/9hHCLSmAY4fEPv8cG3XyjSW879PE+xrZrn/Pjl+agsgGPtccdHWcEimsMN5fZP7lJnp3cTcOzuz+X3q2bG4Ewm0so3pwHl91g+wft4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=nKrQ7J2GmOVvPP1bJ9z7MvIPI9uVgqLZmg8Z52JD6/LwBrhSyJXFXrH0Rpw8s5SgJQ4+3t+A5GsFZmoAOlztdIuyiOZzq0RNrTWl922k43QtKoJg5eosS2kn1rncuFJKR/YRLOeuvFd6BZyGzEIsiiqRRqwz/c8M++QEyqwIonE= Received: by 10.67.22.2 with SMTP id z2mr9542247ugi.1.1202762134810; Mon, 11 Feb 2008 12:35:34 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id g9sm20072635gvc.4.2008.02.11.12.35.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:35:30 -0800 (PST) Message-Id: From: Rui Paulo To: Carl Johan Gustavsson In-Reply-To: <47AF63BD.7020403@bahnhofbredband.se> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:35:09 +0000 References: <47AF63BD.7020403@bahnhofbredband.se> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:35:38 -0000 On Feb 10, 2008, at 8:51 PM, Carl Johan Gustavsson wrote: > Rui Paulo wrote: >> Hi, >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple driver to access these temperatures, but I don't have a system >> to test. If anyone has a AMD K8 system, I would love if you could >> test >> the k8temp driver that I wrote based on the Linux one. >> >> Get it at: >> http://people.freebsd.org/~rpaulo/k8temp.tgz >> >> Compile/test with: >> $ tar xzvf k8temp.tgz && cd k8temp >> $ make SYSDIR=/path/to/src/sys >> # kldload ./k8temp.ko >> >> This is still pre-alpha quality, so please don't use it on a >> production system. >> >> Thanks in advance. >> -- >> Rui Paulo >> > Hi! > > Tested it seems to work just fine! I gathered this info: > > # uname -a > FreeBSD sleipner.home.swe 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: > Sat > Feb 2 22:02:17 CET 2008 > carl@sleipner.home.swe:/usr/home/carl/usr.obj/usr/src/sys/ > SLEIPNER_7 i386 > > exerpt from dmesg: > CPU: Dual Core AMD Opteron(tm) Processor 165 (1808.34-MHz 686- > class CPU) > Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 > > Features > = > 0x178bfbff > < > FPU > ,VME > ,DE > ,PSE > ,TSC > ,MSR > ,PAE > ,MCE > ,CX8 > ,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x1 > AMD Features=0xe2500800 > AMD Features2=0x3 > Cores per package: 2 > ... > k8temp0: on hostb3 > k8temp0: 44 41 44 41 > > > # sysctl dev.k8temp > dev.k8temp.0.%desc: AMD K8 Thermal Sensors > dev.k8temp.0.%driver: k8temp > dev.k8temp.0.%parent: hostb3 > dev.k8temp.0.sensor0.core0: 44 > dev.k8temp.0.sensor0.core1: 40 > dev.k8temp.0.sensor1.core0: 45 > dev.k8temp.0.sensor1.core1: 45 > > It's tested in i386 now, but I can provide data for amd64 using the > same > cpu if you want. Well, it should work as well too. > Thanks for your work! It's a very handy feature. Thanks for the testing. :-) Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:35:49 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 7322116A47E for ; Mon, 11 Feb 2008 20:35:49 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 0686C13C4F9 for ; Mon, 11 Feb 2008 20:35:48 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so596298uge.37 for ; Mon, 11 Feb 2008 12:35:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:in-reply-to:subject:x-priority:references:message-id:content-type:content-transfer-encoding:mime-version:date:cc:x-mailer:sender; bh=5406r2AlQvJ+2QdOIymwB+yLlOP10xInCyBDMzcRwYo=; b=GgsjzTV1/cdAPXGqDvdLC5ZyT/DBtC3WstVgHqLcsvcvQPTTfqCRhg2RbUwoEO/Q7GTCfHNM/zwwsWFYze+GFxaOCm3HhHiUB4RgBWA6tXhz2qOhccEUkIKtwYytsLaQ2AhFpkBhHyrbTegxKBhEkcH3FLiY+YDe+8yXOsASvEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:in-reply-to:subject:x-priority:references:message-id:content-type:content-transfer-encoding:mime-version:date:cc:x-mailer:sender; b=FNwEHBJ3kNU3O1PgPgAmvXVz3nRigTjjZAjPXk2UOSdgqVEIT6nsTgG/fJYa5JiBFPx4IkLPdf87cybIRnSYqrcXMjuCKk7UaebLkQjB6rxj0MOSziKiO2SNFApF2lTG9oG8Phk6LtOg+gm0YvWvd4/Ozc1CFyshKqvJToUE0iY= Received: by 10.67.101.17 with SMTP id d17mr9513874ugm.53.1202762147622; Mon, 11 Feb 2008 12:35:47 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id g9sm20072635gvc.4.2008.02.11.12.35.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:35:46 -0800 (PST) From: Rui Paulo To: "Gelsema, P (Patrick)" In-Reply-To: <1678.10.202.77.197.1202678830.squirrel@webmail.superhero.nl> X-Priority: 3 (Normal) References: <1678.10.202.77.197.1202678830.squirrel@webmail.superhero.nl> Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:35:32 +0000 X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:35:49 -0000 On Feb 10, 2008, at 9:27 PM, Gelsema, P (Patrick) wrote: > On Sun, February 10, 2008 16:59, Rui Paulo wrote: >> Hi, >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple driver to access these temperatures, but I don't have a system >> to test. If anyone has a AMD K8 system, I would love if you could >> test >> the k8temp driver that I wrote based on the Linux one. >> >> Get it at: >> http://people.freebsd.org/~rpaulo/k8temp.tgz >> >> Compile/test with: >> $ tar xzvf k8temp.tgz && cd k8temp >> $ make SYSDIR=/path/to/src/sys >> # kldload ./k8temp.ko >> > > hulk# uname -a > FreeBSD hulk.superhero.nl 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 > 18:52:08 > CET 2007 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC > amd64 > > hw.machine: amd64 > hw.model: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ > hw.ncpu: 2 > > hulk# sysctl -a | grep k8temp > k8temp0: on hostb3 > k8temp0: 16 20 11 7 > dev.k8temp.0.%desc: AMD K8 Thermal Sensors > dev.k8temp.0.%driver: k8temp > dev.k8temp.0.%parent: hostb3 > dev.k8temp.0.sensor0.core0: 19 > dev.k8temp.0.sensor0.core1: 21 > dev.k8temp.0.sensor1.core0: 19 > dev.k8temp.0.sensor1.core1: 19 > > Rgds, > > Patrick Thanks for testing! Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:37:00 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 531BE16A419 for ; Mon, 11 Feb 2008 20:37:00 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id DB9C413C45A for ; Mon, 11 Feb 2008 20:36:59 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so596699uge.37 for ; Mon, 11 Feb 2008 12:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=fL75KtQyzrm7sy0ULOYOoQbUkLJmgy4V36aUuwTApiY=; b=fTskbsP1dzmhRzeVlqjQknfz82dcAAbWrTFqOjqsk0l/F6LD4RG68MH5w98JMhtDxw8yBWnFOq2b5aIxe+adNqIFKozRl71Imk/0wTqe0sdtfWiTLlhZngrxq5IfsuEtypeJjlSgYiG3NhD9CnpylOAK63SpWQM5oYCiBxNJ+oA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=AOdP4VSOeLRv9Q4zZP6Jg/D7OmKh09jFDdWdnmf5ZqMow+A5n09JXzoBo8NeFcW4f1KUdSWCw70YXuLYM7eFCTaqSGDoPf1Pda0XOTlabggl+yjpvVZFurj8BzW76PSWRdCH2zscHQuvu0LzVuZlegmrGfJS+Uy4h7KJrg3nVYY= Received: by 10.67.196.2 with SMTP id y2mr171974ugp.60.1202762218930; Mon, 11 Feb 2008 12:36:58 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id g9sm20073563gvc.4.2008.02.11.12.36.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:36:58 -0800 (PST) Message-Id: <3D486B58-5B91-4F44-B382-1E941C9ABBF5@FreeBSD.org> From: Rui Paulo To: Thomas Hurst In-Reply-To: <20080210221508.GA72580@voi.aagh.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:36:54 +0000 References: <20080210173658.GA29898@voi.aagh.net> <20080210221508.GA72580@voi.aagh.net> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:37:00 -0000 On Feb 10, 2008, at 10:15 PM, Thomas Hurst wrote: > * Thomas Hurst (tom.hurst@clara.net) wrote: > >> Works for me: > > 7.0/amd64, dual Opteron 275, 8G, btw. > > And before anyone asks, this won't work on a K10/Barcelona/Phenom; the > PCI devices are there, but the registers are different. It might > attach, but you won't get any sensible readings out of it. The K10 > docs > suggest it may be difficult to get a true temperature reading off it, > since it's based on an arbitrary scale. Hmm. Thanks for the information. I'll try to stop it from attaching based on the cpu model. Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:38:20 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 E612216A420 for ; Mon, 11 Feb 2008 20:38:20 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 79DF413C45A for ; Mon, 11 Feb 2008 20:38:20 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so597080uge.37 for ; Mon, 11 Feb 2008 12:38:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=4u9TKjC/Y3PuFLr+y2XnvCgHLAt6GQdDX3rj9WU9gfA=; b=qi8K3ZiiAFSfmEUaQ5HosVVq1R2zkJfYobJhVzuTsX/oXhDOOcFB+QjGkhhZ1O67Iyv0+/E+xnY6LgM7A8QH9vXUrtS5xZ7xOxUJe6OF3C248fqNMiA4K00z7FGZlLTaBdhFTHv+Lrykfd5YtgKO2vm/kiNc0bdO68OKYkVb7sY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=NQZ47ZQa8Zs/M+nd5miLYM5jsMI/hiEjRknahOfmn+cf2TDgrH0ocdpN+3hlxVRukcfAiKD6AyslVXxx4d7XOqkEyV61xbYQobl+RWw8wOqLeQuifRpDoEb4S4YOcLN3c5TUnE21C2c9N//XnnlaqxAOwM+6WnqSPpdTc1Ak9RE= Received: by 10.66.217.20 with SMTP id p20mr9518648ugg.51.1202762298804; Mon, 11 Feb 2008 12:38:18 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id j8sm6310087gvb.7.2008.02.11.12.38.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:38:18 -0800 (PST) Message-Id: <375A934D-77AA-4601-8E21-47AE4C3603EE@FreeBSD.org> From: Rui Paulo To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86abm82wvx.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:38:11 +0000 References: <86abm82wvx.fsf@ds4.des.no> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:38:21 -0000 On Feb 10, 2008, at 11:51 PM, Dag-Erling Sm=F8rgrav wrote: > Rui Paulo writes: >> Some AMD systems have two thermal sensors on both cores. [...] > > Is there any way you can have it report the higher of these two as > dev.cpu.N.temperature, for compatibility with coretemp(4)? This will > make life much easier for system monitoring software (munin, nagios =20= > etc) Yes, I could try that, but what namespace (compatible with =20 dev.cpu.N.temperature) do you suggest? dev.cpu.N.temperature dev.cpu.N.temperature2 ? This looks bad :-( Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:39:23 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 A0A1B16A420 for ; Mon, 11 Feb 2008 20:39:23 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 32E4A13C46B for ; Mon, 11 Feb 2008 20:39:22 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so597414uge.37 for ; Mon, 11 Feb 2008 12:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=PtxYYtuzmPM3sWijuMnp1AATA7cQTF2ywP6cr0hWTnY=; b=bAAzPk/SIfygjrZ8sPyUi9khLnwyA00KDORSMIgw7rOB5a/I0jXJQCT8vn+SC7Jiw1kYZQUJjI3x2D2UjVzDGaf8iwKSL09EmwwdD5MbCrv9W+UVDjednzp8PlFZNAIICfzQLenhzNdZqNgnvTMfIp7NgDmBT/Z9M54dQcHV6GE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=vnutvCHMmW0ItHpeo3JNtc0Zxjs/c5MMBXfr3+BfvoL7xxS4ubo7uAoarbEaJnBgI4VcROCtDv665QX8QcvrPtNbXYrLirNIYN1hd74QmWb7IGouILIW2OAzeLOssglMIvKSTDe6IrgKCjSc6nYguGjNgUQ7hXw8YHk5WAbJnXA= Received: by 10.66.254.19 with SMTP id b19mr9544078ugi.7.1202762361556; Mon, 11 Feb 2008 12:39:21 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id j8sm6310087gvb.7.2008.02.11.12.39.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:39:20 -0800 (PST) Message-Id: <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> From: Rui Paulo To: Peter Jeremy In-Reply-To: <20080210183600.GJ64299@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:39:18 +0000 References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:39:23 -0000 On Feb 10, 2008, at 6:36 PM, Peter Jeremy wrote: > On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple >> driver to access these temperatures, but I don't have a system to >> test. If >> anyone has a AMD K8 system, I would love if you could test the k8temp >> driver that I wrote based on the Linux one. > > I'll report a failure on a TurionX2 laptop: > CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz K8- > class CPU) > Origin = "AuthenticAMD" Id = 0x40f82 Stepping = 2 > > Features > = > 0x178bfbff > < > FPU > ,VME > ,DE > ,PSE > ,TSC > ,MSR > ,PAE > ,MCE > ,CX8 > ,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD Features=0xea500800 3DNow!> > AMD Features2=0x1f > Cores per package: 2 > > Loading k8temp gives: > Feb 11 05:32:41 claus kernel: k8temp0: on > hostb3 > Feb 11 05:32:41 claus kernel: k8temp0: can't clear config > registerdevice_attach: k8temp0 attach returned 6 Hmm. I'm not sure your CPU is supported. Could you try sysutils/k8temp and run it with the -d argument ? Thanks. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:46:41 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 B1AC316A468 for ; Mon, 11 Feb 2008 20:46:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 476DD13C474 for ; Mon, 11 Feb 2008 20:46:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 231612679-1834499 for multiple; Mon, 11 Feb 2008 15:46:31 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1BKk4In052106; Mon, 11 Feb 2008 15:46:07 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org, FUCHIGAMI Masachika Date: Mon, 11 Feb 2008 15:21:45 -0500 User-Agent: KMail/1.9.7 References: <200802100710.m1A7A2tI074762@freefall.freebsd.org> In-Reply-To: <200802100710.m1A7A2tI074762@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802111521.45864.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 11 Feb 2008 15:46:07 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5778/Mon Feb 11 13:53:43 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts 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 Feb 2008 20:46:41 -0000 On Sunday 10 February 2008 02:10:02 am FUCHIGAMI Masachika wrote: > The following reply was made to PR amd64/120202; it has been noted by GNATS. > > From: masatic@mbs.sphere.ne.jp (FUCHIGAMI Masachika) > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts > Date: Sun, 10 Feb 2008 16:04:04 +0900 > > I found following patch works well. > IMHO, AP does not accept SIPI because the core shutdowns or send SIPI to itself in BIOS bootup code. > So, i modify the code to send SIPI before AP closes its ears. > > -- > *** mp_machdep.c.orig Mon Oct 8 21:51:01 2007 > --- mp_machdep.c Fri Feb 8 22:34:41 2008 > *************** > *** 788,796 **** > --- 788,798 ---- > lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL | > APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, 0); > > /* wait for pending status end */ > + #if 0 > DELAY(10000); /* wait ~10mS */ > + #endif > lapic_ipi_wait(-1); > > /* > * next we do a STARTUP IPI: the previous INIT IPI might still be Removing the wait seems very odd, the pending status should still be there even if we wait. However, this particular IPI is only for older CPUs anyway. Try this patch instead perhaps: Index: amd64/amd64/mp_machdep.c =================================================================== RCS file: /usr/cvs/src/sys/amd64/amd64/mp_machdep.c,v retrieving revision 1.287 diff -u -r1.287 mp_machdep.c --- amd64/amd64/mp_machdep.c 2 Aug 2007 21:17:58 -0000 1.287 +++ amd64/amd64/mp_machdep.c 24 Sep 2007 15:09:43 -0000 @@ -783,13 +783,20 @@ /* wait for pending status end */ lapic_ipi_wait(-1); - /* do an INIT IPI: deassert RESET */ - lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL | - APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, 0); - - /* wait for pending status end */ - DELAY(10000); /* wait ~10mS */ - lapic_ipi_wait(-1); + /* + * do an INIT IPI: deassert RESET on older systems to reset APIC ID + * arbitration. XXX: Should we only do this once? + */ + if (strcmp(cpu_vendor, "GenuineIntel") != 0 || + (cpu_id & 0xf00) != 0xf00) { + lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL | + APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, + 0); + + /* wait for pending status end */ + DELAY(10000); /* wait ~10mS */ + lapic_ipi_wait(-1); + } /* * next we do a STARTUP IPI: the previous INIT IPI might still be Index: i386/i386/mp_machdep.c =================================================================== RCS file: /usr/cvs/src/sys/i386/i386/mp_machdep.c,v retrieving revision 1.282 diff -u -r1.282 mp_machdep.c --- i386/i386/mp_machdep.c 13 Nov 2007 23:00:24 -0000 1.282 +++ i386/i386/mp_machdep.c 26 Nov 2007 19:09:12 -0000 @@ -907,13 +907,20 @@ /* wait for pending status end */ lapic_ipi_wait(-1); - /* do an INIT IPI: deassert RESET */ - lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL | - APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, 0); - - /* wait for pending status end */ - DELAY(10000); /* wait ~10mS */ - lapic_ipi_wait(-1); + /* + * do an INIT IPI: deassert RESET on older systems to reset APIC ID + * arbitration. XXX: Should we only do this once? + */ + if (strcmp(cpu_vendor, "GenuineIntel") != 0 || + (cpu_id & 0xf00) != 0xf00) { + lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL | + APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, + 0); + + /* wait for pending status end */ + DELAY(10000); /* wait ~10mS */ + lapic_ipi_wait(-1); + } /* * next we do a STARTUP IPI: the previous INIT IPI might still be -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:47:31 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 EA73416A47E; Mon, 11 Feb 2008 20:47:31 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0830313C465; Mon, 11 Feb 2008 20:47:27 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BKlQvQ066715; Mon, 11 Feb 2008 20:47:26 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BKlPhV066711; Mon, 11 Feb 2008 20:47:25 GMT (envelope-from jhb) Date: Mon, 11 Feb 2008 20:47:25 GMT Message-Id: <200802112047.m1BKlPhV066711@freefall.freebsd.org> To: gregory@home.ru, jhb@FreeBSD.org, freebsd-amd64@FreeBSD.org From: jhb@FreeBSD.org Cc: Subject: Re: amd64/88730: kernel panics during booting from the installation CD 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 Feb 2008 20:47:32 -0000 Synopsis: kernel panics during booting from the installation CD State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Mon Feb 11 20:46:45 UTC 2008 State-Changed-Why: Duplicate of 111955. http://www.freebsd.org/cgi/query-pr.cgi?pr=88730 From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:50:03 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D01516A418 for ; Mon, 11 Feb 2008 20:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3381C13C4EE for ; Mon, 11 Feb 2008 20: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 m1BKo3RO066828 for ; Mon, 11 Feb 2008 20: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 m1BKo3V4066827; Mon, 11 Feb 2008 20:50:03 GMT (envelope-from gnats) Date: Mon, 11 Feb 2008 20:50:03 GMT Message-Id: <200802112050.m1BKo3V4066827@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/111955: [install] Install CD boot panic due to missing BIOS smap on 5.5 through to 7.0-Current Snapshot 200704 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:50:03 -0000 The following reply was made to PR amd64/111955; it has been noted by GNATS. From: John Baldwin To: bug-followup@freebsd.org, Roque@itg.uni-muenchen.de Cc: Subject: Re: amd64/111955: [install] Install CD boot panic due to missing BIOS smap on 5.5 through to 7.0-Current Snapshot 200704 Date: Mon, 11 Feb 2008 15:46:04 -0500 So the SMAP problem is that in the one BIOS I looked at, the SMAP BIOS call only works from real mode. Even if invoked from virtual 86 mode, the BIOS call fails. FreeBSD only calls the BIOS SMAP call from virtual 86 mode both in the loader and in the i386 kernel. The fix is quite complicated and involves rewriting the boot code to invoke BIOS calls from real mode rather than virtual 86 mode. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 21:20:02 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB89D16A417 for ; Mon, 11 Feb 2008 21:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB36C13C4F3 for ; Mon, 11 Feb 2008 21:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BLK2Xc070096 for ; Mon, 11 Feb 2008 21:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BLK2tJ070095; Mon, 11 Feb 2008 21:20:02 GMT (envelope-from gnats) Date: Mon, 11 Feb 2008 21:20:02 GMT Message-Id: <200802112120.m1BLK2tJ070095@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/120538: FreeBSD amd64 not started at HP desktops dc7600() dc7700 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 21:20:02 -0000 The following reply was made to PR amd64/120538; it has been noted by GNATS. From: John Baldwin To: bug-followup@FreeBSD.org, sashko@life.com.ua Cc: Subject: Re: amd64/120538: FreeBSD amd64 not started at HP desktops dc7600() dc7700 Date: Mon, 11 Feb 2008 15:48:20 -0500 Bah, GNATS accepted an empty why message which is bogus. This is a duplicate of amd64/111955. See the followups there for more details. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 22:12:40 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 4874D16A46B; Mon, 11 Feb 2008 22:12:40 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0CCE813C4D1; Mon, 11 Feb 2008 22:12:39 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 630302084; Mon, 11 Feb 2008 23:12:29 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.3/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id CA8BD207E; Mon, 11 Feb 2008 23:12:28 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id A072F84492; Mon, 11 Feb 2008 23:12:28 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Rui Paulo References: <86abm82wvx.fsf@ds4.des.no> <375A934D-77AA-4601-8E21-47AE4C3603EE@FreeBSD.org> Date: Mon, 11 Feb 2008 23:12:28 +0100 In-Reply-To: <375A934D-77AA-4601-8E21-47AE4C3603EE@FreeBSD.org> (Rui Paulo's message of "Mon\, 11 Feb 2008 20\:38\:11 +0000") Message-ID: <86fxvzrvlf.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 22:12:40 -0000 Rui Paulo writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Is there any way you can have it report the higher of these two as > > dev.cpu.N.temperature, for compatibility with coretemp(4)? This will > > make life much easier for system monitoring software (munin, nagios > > etc) > Yes, I could try that, but what namespace (compatible with > dev.cpu.N.temperature) do you suggest? > dev.cpu.N.temperature > dev.cpu.N.temperature2 ? As I wrote (see quoted text above), just have dev.cpu.N.temperature report the highest of the two. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 22:21:08 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 C77E116A564 for ; Mon, 11 Feb 2008 22:21:07 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA1013C4EA for ; Mon, 11 Feb 2008 22:21:04 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so626529uge.37 for ; Mon, 11 Feb 2008 14:21:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=TYi87kQSrxlI0kxfHThoCvV2pzUtC1cmGKosEPu07Rc=; b=IRpM7VDNHNk2yrjcmRp2ltueeIeBaB7flxVofkiZiNQCDf2a7OZDI15KmQloMwGg2awTU0pzJrxcs3mDZtqsCWzSHzKYjZGCGgPF1USuQTNCYBAxH6/HSWHq55wOsyp9SrtZLSBvVRQlDnxDNxSorcXNMMzXDF6WKIKxFkO6nYg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=BYQ+Mssp214n9DMUdtarWP1vy+DVh9KdEonzCL33Zsc8oKADPtDPSFIDsg/VXA014Vnh7bQIEats76l9FWrNVW7yzbIsNeS8ir94bBve7McCK8voMThNcf9INLewCMlXiFj6j0TaPWa2cRYHnUAodUa1uanKnQxsF5MPEgqQop0= Received: by 10.66.221.17 with SMTP id t17mr9611204ugg.66.1202768462537; Mon, 11 Feb 2008 14:21:02 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id g11sm20561946gve.6.2008.02.11.14.20.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 14:20:59 -0800 (PST) Message-Id: From: Rui Paulo To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86fxvzrvlf.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 22:20:54 +0000 References: <86abm82wvx.fsf@ds4.des.no> <375A934D-77AA-4601-8E21-47AE4C3603EE@FreeBSD.org> <86fxvzrvlf.fsf@ds4.des.no> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 22:21:09 -0000 On Feb 11, 2008, at 10:12 PM, Dag-Erling Sm=F8rgrav wrote: > Rui Paulo writes: >> Dag-Erling Sm=F8rgrav writes: >>> Is there any way you can have it report the higher of these two as >>> dev.cpu.N.temperature, for compatibility with coretemp(4)? This =20 >>> will >>> make life much easier for system monitoring software (munin, nagios >>> etc) >> Yes, I could try that, but what namespace (compatible with >> dev.cpu.N.temperature) do you suggest? >> dev.cpu.N.temperature >> dev.cpu.N.temperature2 ? > > As I wrote (see quoted text above), just have dev.cpu.N.temperature > report the highest of the two. Oops, sorry. Had a rough day. Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 22:26:39 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 4086116A41B for ; Mon, 11 Feb 2008 22:26:39 +0000 (UTC) (envelope-from jwm-freebsd-amd64@sentinelchicken.net) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id E6DFE13C459 for ; Mon, 11 Feb 2008 22:26:38 +0000 (UTC) (envelope-from jwm-freebsd-amd64@sentinelchicken.net) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 11 Feb 2008 17:26:35 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id JRF19074; Mon, 11 Feb 2008 17:26:11 -0500 (EST) Received: from 207-172-209-180.c3-0.bkl-ubr2.sbo-bkl.ma.static.cable.rcn.com (HELO sentinelchicken.net) ([207.172.209.180]) by smtp01.lnh.mail.rcn.net with ESMTP; 11 Feb 2008 17:25:07 -0500 Received: (qmail 74732 invoked from network); 11 Feb 2008 22:26:06 -0000 Received: from aeryn.skepsi.net (HELO crichton.skepsi.net) (10.0.0.101) by aeryn.skepsi.net with SMTP; 11 Feb 2008 22:26:06 -0000 Received: (nullmailer pid 74729 invoked by uid 1000); Mon, 11 Feb 2008 22:26:06 -0000 Date: Mon, 11 Feb 2008 17:26:06 -0500 From: Jason Morgan To: freebsd-amd64@freebsd.org Message-ID: <20080211222606.GM46810@sentinelchicken.net> References: <20080210192916.GD46810@sentinelchicken.net> <43B6638B-D4F7-4142-A2EB-E724148E7589@fnop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43B6638B-D4F7-4142-A2EB-E724148E7589@fnop.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A010202.47B0CB90.00AA,ss=1,fgs=0, ip=207.172.4.11, so=2007-10-30 19:00:17, dmn=5.4.3/2007-11-16 X-Junkmail-IWF: false Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 22:26:39 -0000 On Mon, Feb 11, 2008 at 08:34:03PM +0000, Rui Paulo wrote: > > On Feb 10, 2008, at 7:29 PM, Jason Morgan wrote: > >> On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: >>> Hi, >>> Some AMD systems have two thermal sensors on both cores. I wrote a simple >>> driver to access these temperatures, but I don't have a system to test. >>> If >>> anyone has a AMD K8 system, I would love if you could test the k8temp >>> driver that I wrote based on the Linux one. >>> >>> Get it at: >>> http://people.freebsd.org/~rpaulo/k8temp.tgz >>> >>> Compile/test with: >>> $ tar xzvf k8temp.tgz && cd k8temp >>> $ make SYSDIR=/path/to/src/sys >>> # kldload ./k8temp.ko >>> >>> This is still pre-alpha quality, so please don't use it on a production >>> system. >>> >>> Thanks in advance. >> >> # uname -a >> FreeBSD numbuscus.skepsi.net 7.0-RC1 FreeBSD 7.0-RC1 #2: Wed Feb 6 >> 21:50:29 EST 2008 >> root@numbuscus.skepsi.net:/usr/obj/usr/src/sys/NUMBUSCUS.smp amd64 >> >> # dmesg >> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2500.11-MHz >> K8-class CPU) >> Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1 >> Features=0x178bfbff> MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX, >> FXSR,SSE,SSE2,HTT> >> Features2=0x2001 >> AMD Features=0xea500800> 3DNow!> >> AMD Features2=0x11f >> Cores per package: 2 >> >> # sysctl -a | grep k8temp >> k8temp0: on hostb3 >> k8temp0: 15 7 5 -11 >> dev.k8temp.0.%desc: AMD K8 Thermal Sensors >> dev.k8temp.0.%driver: k8temp >> dev.k8temp.0.%parent: hostb3 >> dev.k8temp.0.sensor0.core0: 15 >> dev.k8temp.0.sensor0.core1: 8 >> dev.k8temp.0.sensor1.core0: 15 >> dev.k8temp.0.sensor1.core1: 15 > > Hmm, this seems low. Are you using any kind of super thermal cooling like > water cooling systems? I am not. Here is another set of readings and idle: # sysctl -a | grep k8temp k8temp0: on hostb3 k8temp0: 15 7 5 -11 dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 13 dev.k8temp.0.sensor0.core1: 6 dev.k8temp.0.sensor1.core0: 13 dev.k8temp.0.sensor1.core1: 13 And here is another reading at full-power, building a kernel: # sysctl -a | grep k8temp k8temp0: on hostb3 k8temp0: 15 7 5 -11 dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 27 dev.k8temp.0.sensor0.core1: 22 dev.k8temp.0.sensor1.core0: 27 dev.k8temp.0.sensor1.core1: 27 I use powerd to take reduce the MHz to 1000 when the system isn't loaded. Let me know if you want me to test something. HTH, ~Jason From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 23:54:05 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 CD81F16A417 for ; Mon, 11 Feb 2008 23:54:05 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 5798E13C442 for ; Mon, 11 Feb 2008 23:54:04 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so643317uge.37 for ; Mon, 11 Feb 2008 15:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=D8p6E26nloiMQXnjucttXiZsmfUeq09HRMWxkLqIwdA=; b=lJI+8d0ocOhHoT4R72qOP8TSL60QqFblCrhZyR7HvoQ6c0Vz92HbeVWL7HIs3J0y5kFahCxMQqGehraR2m3FcHOrWHgJVJO+jj1g/aSIN0odKUYkGI1u0eivNcVJlsiuAdq9VwfDulT+Eh4AHwTxMAKU+AflfZpyAzfO2749Upo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=JlyV+eW8b6siEH3tp2yTQAXH/ahGsWh5tDszuWyYyoYuxNiY9aWhV4WPnWMUI0HoE4oCK5DW5c35hcm1RfxKLdBRUDV61bsdr2Sz+rol+aq/1JozzAnYXnILkaz8wRD9NPgG7kN1gykjvEgkA4InPbGSZH8UlEhzXJM2gUvHOkU= Received: by 10.66.217.20 with SMTP id p20mr9699845ugg.51.1202774043461; Mon, 11 Feb 2008 15:54:03 -0800 (PST) Received: from ?89.214.138.1? ( [89.214.138.1]) by mx.google.com with ESMTPS id t12sm20904856gvd.2.2008.02.11.15.54.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 15:54:02 -0800 (PST) Message-Id: <58EF5598-3725-4BB8-AFA7-6C038259905C@FreeBSD.org> From: Rui Paulo To: Jason Morgan In-Reply-To: <20080211222606.GM46810@sentinelchicken.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 11 Feb 2008 23:53:58 +0000 References: <20080210192916.GD46810@sentinelchicken.net> <43B6638B-D4F7-4142-A2EB-E724148E7589@fnop.net> <20080211222606.GM46810@sentinelchicken.net> X-Mailer: Apple Mail (2.919.2) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 23:54:06 -0000 On Feb 11, 2008, at 10:26 PM, Jason Morgan wrote: > On Mon, Feb 11, 2008 at 08:34:03PM +0000, Rui Paulo wrote: >> >> On Feb 10, 2008, at 7:29 PM, Jason Morgan wrote: >> >>> On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: >>>> Hi, >>>> Some AMD systems have two thermal sensors on both cores. I wrote >>>> a simple >>>> driver to access these temperatures, but I don't have a system to >>>> test. >>>> If >>>> anyone has a AMD K8 system, I would love if you could test the >>>> k8temp >>>> driver that I wrote based on the Linux one. >>>> >>>> Get it at: >>>> http://people.freebsd.org/~rpaulo/k8temp.tgz >>>> >>>> Compile/test with: >>>> $ tar xzvf k8temp.tgz && cd k8temp >>>> $ make SYSDIR=/path/to/src/sys >>>> # kldload ./k8temp.ko >>>> >>>> This is still pre-alpha quality, so please don't use it on a >>>> production >>>> system. >>>> >>>> Thanks in advance. >>> >>> # uname -a >>> FreeBSD numbuscus.skepsi.net 7.0-RC1 FreeBSD 7.0-RC1 #2: Wed Feb 6 >>> 21:50:29 EST 2008 >>> root@numbuscus.skepsi.net:/usr/obj/usr/src/sys/NUMBUSCUS.smp amd64 >>> >>> # dmesg >>> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2500.11-MHz >>> K8-class CPU) >>> Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1 >>> Features=0x178bfbff>> MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX, >>> FXSR,SSE,SSE2,HTT> >>> Features2=0x2001 >>> AMD Features=0xea500800>> 3DNow!> >>> AMD Features2=0x11f >>> Cores per package: 2 >>> >>> # sysctl -a | grep k8temp >>> k8temp0: on hostb3 >>> k8temp0: 15 7 5 -11 >>> dev.k8temp.0.%desc: AMD K8 Thermal Sensors >>> dev.k8temp.0.%driver: k8temp >>> dev.k8temp.0.%parent: hostb3 >>> dev.k8temp.0.sensor0.core0: 15 >>> dev.k8temp.0.sensor0.core1: 8 >>> dev.k8temp.0.sensor1.core0: 15 >>> dev.k8temp.0.sensor1.core1: 15 >> >> Hmm, this seems low. Are you using any kind of super thermal >> cooling like >> water cooling systems? > > I am not. Here is another set of readings and idle: > > # sysctl -a | grep k8temp > k8temp0: on hostb3 > k8temp0: 15 7 5 -11 > dev.k8temp.0.%desc: AMD K8 Thermal Sensors > dev.k8temp.0.%driver: k8temp > dev.k8temp.0.%parent: hostb3 > dev.k8temp.0.sensor0.core0: 13 > dev.k8temp.0.sensor0.core1: 6 > dev.k8temp.0.sensor1.core0: 13 > dev.k8temp.0.sensor1.core1: 13 > > And here is another reading at full-power, building a kernel: > > # sysctl -a | grep k8temp > k8temp0: on hostb3 > k8temp0: 15 7 5 -11 > dev.k8temp.0.%desc: AMD K8 Thermal Sensors > dev.k8temp.0.%driver: k8temp > dev.k8temp.0.%parent: hostb3 > dev.k8temp.0.sensor0.core0: 27 > dev.k8temp.0.sensor0.core1: 22 > dev.k8temp.0.sensor1.core0: 27 > dev.k8temp.0.sensor1.core1: 27 > > I use powerd to take reduce the MHz to 1000 when the system isn't > loaded. > > Let me know if you want me to test something. Well, this should be okay. Thanks for testing! Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 11 20:34:10 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF32A16A469 for ; Mon, 11 Feb 2008 20:34:10 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7E8C313C45D for ; Mon, 11 Feb 2008 20:34:10 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so595852uge.37 for ; Mon, 11 Feb 2008 12:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=6ayirunaH50FcF+24skhs+A9hp5PWTfiyrOQGRIM2Ao=; b=sfRl71uq4lURnW/Bmwk243tGvoUfhzwFi/0LZSBPuIefyXFGcSw/tfddrAViH18/ycNePsX6Dnea4jc7FaS+iqpSNVPB2TdKYw9BYTMdLcCw97hPN30BksRkNYeP0G7jiVYpIY5V07shcX8yIj4GuDxPwG5hXvvaiYOxI7FKzjg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=cNnWjCie1eAM3zdYaUz8rzEp9gG0pOrIfg0KyESN3RWdKMjfuf/RuTbyxKf3AMpO8Wu6N3smVAXwvznlIw/52xoKsHMiDV7+Tac70U1K9n4BGyExI6Rof0GRroaXK5MNyP6v0XPfILicy43mrjNg2wUE3Nuv/+8047IhnnE39ag= Received: by 10.67.21.11 with SMTP id y11mr9537042ugi.10.1202762048863; Mon, 11 Feb 2008 12:34:08 -0800 (PST) Received: from ?89.214.167.223? ( [89.214.167.223]) by mx.google.com with ESMTPS id i6sm20485728gve.5.2008.02.11.12.34.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Feb 2008 12:34:05 -0800 (PST) Message-Id: <43B6638B-D4F7-4142-A2EB-E724148E7589@fnop.net> From: Rui Paulo To: Jason Morgan In-Reply-To: <20080210192916.GD46810@sentinelchicken.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 11 Feb 2008 20:34:03 +0000 References: <20080210192916.GD46810@sentinelchicken.net> X-Mailer: Apple Mail (2.915) Sender: Rui Paulo X-Mailman-Approved-At: Tue, 12 Feb 2008 03:32:50 +0000 Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 20:34:11 -0000 On Feb 10, 2008, at 7:29 PM, Jason Morgan wrote: > On Sun, Feb 10, 2008 at 03:59:04PM +0000, Rui Paulo wrote: >> Hi, >> Some AMD systems have two thermal sensors on both cores. I wrote a >> simple >> driver to access these temperatures, but I don't have a system to >> test. If >> anyone has a AMD K8 system, I would love if you could test the k8temp >> driver that I wrote based on the Linux one. >> >> Get it at: >> http://people.freebsd.org/~rpaulo/k8temp.tgz >> >> Compile/test with: >> $ tar xzvf k8temp.tgz && cd k8temp >> $ make SYSDIR=/path/to/src/sys >> # kldload ./k8temp.ko >> >> This is still pre-alpha quality, so please don't use it on a >> production >> system. >> >> Thanks in advance. > > # uname -a > FreeBSD numbuscus.skepsi.net 7.0-RC1 FreeBSD 7.0-RC1 #2: Wed Feb 6 > 21:50:29 EST 2008 > root@numbuscus.skepsi.net:/usr/obj/usr/src/sys/NUMBUSCUS.smp amd64 > > # dmesg > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2500.11-MHz > K8-class CPU) > Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1 > Features=0x178bfbff MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX, > FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD Features=0xea500800 3DNow!> > AMD Features2=0x11f > Cores per package: 2 > > # sysctl -a | grep k8temp > k8temp0: on hostb3 > k8temp0: 15 7 5 -11 > dev.k8temp.0.%desc: AMD K8 Thermal Sensors > dev.k8temp.0.%driver: k8temp > dev.k8temp.0.%parent: hostb3 > dev.k8temp.0.sensor0.core0: 15 > dev.k8temp.0.sensor0.core1: 8 > dev.k8temp.0.sensor1.core0: 15 > dev.k8temp.0.sensor1.core1: 15 Hmm, this seems low. Are you using any kind of super thermal cooling like water cooling systems? Regards. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 05:47:28 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 24B8616A418 for ; Tue, 12 Feb 2008 05:47:28 +0000 (UTC) (envelope-from famd64@ccstores.com) Received: from mail.qcislands.net (mail.qcislands.net [209.53.238.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0648813C45E for ; Tue, 12 Feb 2008 05:47:27 +0000 (UTC) (envelope-from famd64@ccstores.com) Received: from [209.53.237.181] (helo=[192.168.1.149]) by mail.qcislands.net with esmtp (Exim 4.68) (envelope-from ) id 1JOnzL-0002lb-Ls; Mon, 11 Feb 2008 21:47:27 -0800 Message-ID: <47B132C4.8010209@ccstores.com> Date: Mon, 11 Feb 2008 21:46:44 -0800 From: Jim Pazarena User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-amd64@freebsd.org References: <47A7474D.3010201@ccstores.com> <20080204203713.508add0f@peedub.jennejohn.org> <200802041452.24817.jhb@freebsd.org> In-Reply-To: <200802041452.24817.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (181) Cc: Subject: Re: parallel printer 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, 12 Feb 2008 05:47:28 -0000 John Baldwin wrote: > On Monday 04 February 2008 02:37:13 pm Gary Jennejohn wrote: >> On Mon, 04 Feb 2008 09:11:41 -0800 >> Jim Pazarena wrote: >> >>> I loaded 7.0RC1 on a new amd dual core machine >>> and when setting up the parallel printer actually, >>> when trying to print, the report starts, but the machine does >>> a panic and reboot. >>> >>> The system works fine in all other aspects, such as it is handing >>> out DHCP properly to a few other computers, it functions fine >>> ethernet wise ('re' driver works as expected). >>> >>> This core dump at parallel printing is a show stopper for me. >>> Any ideas? >>> >> AFAIK there's an error in handling interrupts. Try ``lptcontrol -p'' >> to run in polled mode (works for me). >> >> Note that this problem is not specific to AMD64. > > It should be fixed in RELENG_7 and RELENG_7_0. RC2 should include the > fix/workaround when it comes out. While 7.0RC2 now does indeed print as expected, each time I print the console echoes: lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] ... three iterations each time I print. -- Jim Pazarena famd64@ccstores.com From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 06:28:22 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 B311816A419; Tue, 12 Feb 2008 06:28:22 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 350A213C43E; Tue, 12 Feb 2008 06:28:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m1C6SJtI019501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Feb 2008 17:28:20 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m1C6SI32059687; Tue, 12 Feb 2008 17:28:18 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m1C6SIRM059686; Tue, 12 Feb 2008 17:28:18 +1100 (EST) (envelope-from peter) Date: Tue, 12 Feb 2008 17:28:18 +1100 From: Peter Jeremy To: Rui Paulo Message-ID: <20080212062818.GL64299@server.vk2pj.dyndns.org> References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wLAMOaPNJ0fu1fTG" Content-Disposition: inline In-Reply-To: <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 06:28:22 -0000 --wLAMOaPNJ0fu1fTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 11, 2008 at 08:39:18PM +0000, Rui Paulo wrote: >> Feb 11 05:32:41 claus kernel: k8temp0: can't clear config=20 >> registerdevice_attach: k8temp0 attach returned 6 > >Hmm. I'm not sure your CPU is supported. Could you try sysutils/k8temp and= =20 >run it with the -d argument ? It looks like it is: claus# k8temp -d CPUID: Vendor: AuthenticAMD, Id=3D0x40f82 Model=3D8 Family=3D15 Stepping=3D2 Advanced Power Management=3D0x3f Temperature sensor: Yes Frequency ID control: Yes Voltage ID control: Yes THERMTRIP support: Yes HW Thermal control: Yes SW Thermal control: Yes 100MHz multipliers: No HW P-State control: No TSC Invariant: No Thermtrip=3D0x00640e24 (CurTmp=3D0x64 (51c) TjOffset=3D0x00 DiodeOffset=3D0= x0e (-3c)) CPU 0 Core 0 Sensor 0: 51c Thermtrip=3D0x00000e64 (CurTmp=3D0x00 (-49c) TjOffset=3D0x00 DiodeOffset=3D= 0x0e (-3c)) Thermtrip=3D0x00670e20 (CurTmp=3D0x67 (54c) TjOffset=3D0x00 DiodeOffset=3D0= x0e (-3c)) CPU 0 Core 1 Sensor 0: 54c Thermtrip=3D0x00000e60 (CurTmp=3D0x00 (-49c) TjOffset=3D0x00 DiodeOffset=3D= 0x0e (-3c)) claus#=20 --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --wLAMOaPNJ0fu1fTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHsTyC/opHv/APuIcRAkj0AJ0bMN1h2vKckAJBcbKXQOwM6bRL/gCgvDxU xfN5jfnt465+SXvOMOwSOtw= =rSwg -----END PGP SIGNATURE----- --wLAMOaPNJ0fu1fTG-- From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 07:23:32 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D47516A41A; Tue, 12 Feb 2008 07:23:32 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id BB5D813C4E1; Tue, 12 Feb 2008 07:23:31 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id A4F1C2082; Tue, 12 Feb 2008 08:23:23 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.3/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 249B1207E; Tue, 12 Feb 2008 08:23:23 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 01EA284492; Tue, 12 Feb 2008 08:23:22 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Rui Paulo References: <86abm82wvx.fsf@ds4.des.no> <375A934D-77AA-4601-8E21-47AE4C3603EE@FreeBSD.org> <86fxvzrvlf.fsf@ds4.des.no> Date: Tue, 12 Feb 2008 08:23:22 +0100 In-Reply-To: (Rui Paulo's message of "Mon\, 11 Feb 2008 22\:20\:54 +0000") Message-ID: <867ihasknp.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 07:23:32 -0000 Rui Paulo writes: > Dag-Erling Sm=C3=B8rgrav writes: > > As I wrote (see quoted text above), just have dev.cpu.N.temperature > > report the highest of the two. > Oops, sorry. Had a rough day. It's OK, so did I :) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 10:40:24 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 E1EED16A420 for ; Tue, 12 Feb 2008 10:40:24 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 66A7613C45D for ; Tue, 12 Feb 2008 10:40:24 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so4285013fgg.35 for ; Tue, 12 Feb 2008 02:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=nmrti2yQNIBvxSCpEORgFoWrnbEEHy6Ih2w/x1JL/wA=; b=EZr9+sH6CuVR/VAXxRJQpq2dGvkVuTFAqmXAxQk5cLLz50edqKDXKYIaPC4gC3JfeleRmvoqh67ALeE4ivAhTHUqDb5xiHwMe47ScqW37cFKkCMjpHOZ3wmFFfKjHlpil/r49ZyRTjae1PFaIMB1BmOWVRRR3WVHBHwZS/VvenY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=lv9lm2eLTaC8Tw9NcMSHAberl2hVDyCIsvEWRvihUM3OrU620gHxECDEbYdv4KnSkDcTt39w4HBQ8GH0dwyygUPlCQ6mmJvajGkAQvLQXUXTW5ylVhTe7jHWRhaMqacDMle37DN/0Z5rWXG6IMAnhdNnDpamArlLpwqGDtEqoEs= Received: by 10.82.152.16 with SMTP id z16mr2110766bud.17.1202812823214; Tue, 12 Feb 2008 02:40:23 -0800 (PST) Received: from ?172.17.2.176? ( [193.136.24.139]) by mx.google.com with ESMTPS id g9sm14093596gvc.4.2008.02.12.02.40.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Feb 2008 02:40:22 -0800 (PST) Message-Id: <27E9C7BC-8BAC-4D51-BC55-FE4270A25AD6@freebsd.org> From: Rui Paulo To: Peter Jeremy In-Reply-To: <20080212062818.GL64299@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 12 Feb 2008 10:40:19 +0000 References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> <20080212062818.GL64299@server.vk2pj.dyndns.org> X-Mailer: Apple Mail (2.919.2) Sender: Rui Paulo Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 10:40:25 -0000 On Feb 12, 2008, at 6:28 AM, Peter Jeremy wrote: > On Mon, Feb 11, 2008 at 08:39:18PM +0000, Rui Paulo wrote: >>> Feb 11 05:32:41 claus kernel: k8temp0: can't clear config >>> registerdevice_attach: k8temp0 attach returned 6 >> >> Hmm. I'm not sure your CPU is supported. Could you try sysutils/ >> k8temp and >> run it with the -d argument ? > > It looks like it is: > claus# k8temp -d > CPUID: Vendor: AuthenticAMD, Id=0x40f82 Model=8 Family=15 Stepping=2 > Advanced Power Management=0x3f > Temperature sensor: Yes > Frequency ID control: Yes > Voltage ID control: Yes > THERMTRIP support: Yes > HW Thermal control: Yes > SW Thermal control: Yes > 100MHz multipliers: No > HW P-State control: No > TSC Invariant: No > Thermtrip=0x00640e24 (CurTmp=0x64 (51c) TjOffset=0x00 > DiodeOffset=0x0e (-3c)) > CPU 0 Core 0 Sensor 0: 51c > Thermtrip=0x00000e64 (CurTmp=0x00 (-49c) TjOffset=0x00 > DiodeOffset=0x0e (-3c)) > Thermtrip=0x00670e20 (CurTmp=0x67 (54c) TjOffset=0x00 > DiodeOffset=0x0e (-3c)) > CPU 0 Core 1 Sensor 0: 54c > Thermtrip=0x00000e60 (CurTmp=0x00 (-49c) TjOffset=0x00 > DiodeOffset=0x0e (-3c)) > claus# Could you please comment the if-block containing the relevant error message and try again? Thanks. -- Rui Paulo From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 11:28:42 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 E86E616A417; Tue, 12 Feb 2008 11:28:42 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 5D29913C44B; Tue, 12 Feb 2008 11:28:42 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id m1CBSYhV018386; Tue, 12 Feb 2008 12:28:39 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: <7D4773DE-B724-4274-8CE0-6E8503B2C227@altesco.nl> From: Ben Stuyts To: freebsd-amd64@freebsd.org, freebsd-current@freebsd.org In-Reply-To: <3E1A8014-3F18-492B-8288-46706F420123@altesco.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 12 Feb 2008 12:28:21 +0100 References: <3E1A8014-3F18-492B-8288-46706F420123@altesco.nl> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Tue, 12 Feb 2008 12:28:39 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5782/Tue Feb 12 09:29:55 2008 on earth.altus-escon.com X-Virus-Status: Clean Cc: Subject: Re: Panic when connecting USB drive to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 11:28:43 -0000 Hi, On 8 Feb 2008, at 15:11, I wrote: > I have a consistent panic when I connect a 2.5" LaCie 250 GB drive > to a SuperMicro 6015P-TR. Still no progress. Is there anything I can do to solve this problem? Or should I just file a PR? Thanks, Ben From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 09:30:23 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 0340316A46C; Tue, 12 Feb 2008 09:30:23 +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 CA12D13C500; Tue, 12 Feb 2008 09:30:22 +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 m1C9UMW0022744; Tue, 12 Feb 2008 09:30:22 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1C9UMnr022740; Tue, 12 Feb 2008 09:30:22 GMT (envelope-from linimon) Date: Tue, 12 Feb 2008 09:30:22 GMT Message-Id: <200802120930.m1C9UMnr022740@freefall.freebsd.org> To: rostyslav@optonline.net, linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Tue, 12 Feb 2008 12:18:10 +0000 Cc: Subject: Re: amd64/120243: [bge] can't get work Broadcom 802.11b/g WLAN on HP Pavilion DV8000 with DeskTopBSD 1.6 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, 12 Feb 2008 09:30:23 -0000 Synopsis: [bge] can't get work Broadcom 802.11b/g WLAN on HP Pavilion DV8000 with DeskTopBSD 1.6 State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Tue Feb 12 09:29:59 UTC 2008 State-Changed-Why: Note that submitter has been asked for feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=120243 From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 09:37:44 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 49C8816A418; Tue, 12 Feb 2008 09:37:44 +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 1C21513C45A; Tue, 12 Feb 2008 09:37:44 +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 m1C9biiK023146; Tue, 12 Feb 2008 09:37:44 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1C9bh1g023142; Tue, 12 Feb 2008 09:37:43 GMT (envelope-from linimon) Date: Tue, 12 Feb 2008 09:37:43 GMT Message-Id: <200802120937.m1C9bh1g023142@freefall.freebsd.org> To: Roque@itg.uni-muenchen.de, linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Tue, 12 Feb 2008 12:18:19 +0000 Cc: Subject: Re: amd64/111955: [install] Install CD boot panic due to missing BIOS smap on 5.5 through to 7.0-Current Snapshot 200704 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, 12 Feb 2008 09:37:44 -0000 Synopsis: [install] Install CD boot panic due to missing BIOS smap on 5.5 through to 7.0-Current Snapshot 200704 State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Tue Feb 12 09:37:18 UTC 2008 State-Changed-Why: jhb reports that he understands the problem but that a fix is not going to be quick. http://www.freebsd.org/cgi/query-pr.cgi?pr=111955 From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 14:48:03 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 3B4BC16A418; Tue, 12 Feb 2008 14:48:03 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.freebsd.org (Postfix) with ESMTP id 903CB13C45B; Tue, 12 Feb 2008 14:48:02 +0000 (UTC) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.14.1/8.14.1) with ESMTP id m1CEMmtT056290; Tue, 12 Feb 2008 06:22:48 -0800 (PST) (envelope-from frank@exit.com) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=exit.com; s=tinker; t=1202826168; bh=EAoq2ELeTgBC4fte8z/+TYaP/8g=; h=X-Authentication-Warning:Subject:From:Reply-To:To:Cc:In-Reply-To: References:Content-Type:Content-Transfer-Encoding:Organization: Date:Message-Id:Mime-Version:X-Mailer; b=DEOJOfJVX8IjFUgBVyuuGf6DI 0SFIN1UUu9x5qZppO6esEEg4EXA9SOIOAZ1UYAKXGKUcIEf0MJpX8QBoQN93MYU2JaU ibaY2bXEVbK8Jxc6vGrZRrXHJvJZisTLuMToexF1PI4V1IWOMvOmB/qcO+Ia8bfRJRL 4mxA1ZXqDL3I= Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.14.1/8.14.1) with ESMTP id m1CEMmbp013235; Tue, 12 Feb 2008 06:22:48 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.14.1/8.14.2/Submit) id m1CEMmA5013234; Tue, 12 Feb 2008 06:22:48 -0800 (PST) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: Rui Paulo In-Reply-To: <20080212062818.GL64299@server.vk2pj.dyndns.org> References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> <20080212062818.GL64299@server.vk2pj.dyndns.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Tue, 12 Feb 2008 06:22:47 -0800 Message-Id: <1202826167.10603.3.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV 0.92/5787/Tue Feb 12 03:54:30 2008 on tinker.exit.com X-Virus-Status: Clean Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 14:48:03 -0000 On Tue, 2008-02-12 at 17:28 +1100, Peter Jeremy wrote: > On Mon, Feb 11, 2008 at 08:39:18PM +0000, Rui Paulo wrote: > >> Feb 11 05:32:41 claus kernel: k8temp0: can't clear config > >> registerdevice_attach: k8temp0 attach returned 6 > > > >Hmm. I'm not sure your CPU is supported. Could you try sysutils/k8temp and > >run it with the -d argument ? > > It looks like it is: > claus# k8temp -d > CPUID: Vendor: AuthenticAMD, Id=0x40f82 Model=8 Family=15 Stepping=2 > Advanced Power Management=0x3f > Temperature sensor: Yes Same here: jill ~/k8temp#kldload ./k8temp.ko jill ~/k8temp#dmesg k8temp0: on hostb3 k8temp0: can't clear config registerdevice_attach: k8temp0 attach returned 6 k8temp1: on hostb7 k8temp1: can't clear config registerdevice_attach: k8temp1 attach returned 6 jill ~/k8temp#k8temp -d CPUID: Vendor: AuthenticAMD, Id=0xf5a Model=5 Family=15 Stepping=10 Advanced Power Management=0xf Temperature sensor: Yes Frequency ID control: Yes Voltage ID control: Yes THERMTRIP support: Yes HW Thermal control: No SW Thermal control: No 100MHz multipliers: No HW P-State control: No TSC Invariant: No Thermtrip=0x0b000424 (CurTmp=0x00 (-49c) TjOffset=0x0b DiodeOffset=0x04 (7c)) Thermtrip=0x0b510420 (CurTmp=0x51 (32c) TjOffset=0x0b DiodeOffset=0x04 (7c)) CPU 0 Core 1 Sensor 0: 32c Thermtrip=0x005a0f20 (CurTmp=0x5a (41c) TjOffset=0x00 DiodeOffset=0x0f (-4c)) CPU 1 Core 1 Sensor 0: 41c -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ http://www.zazzle.com/fmayhar* From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 18:25:35 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 6CC8B16A41B; Tue, 12 Feb 2008 18:25:35 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.freebsd.org (Postfix) with ESMTP id 2E91C13C4CE; Tue, 12 Feb 2008 18:25:35 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from [81.104.123.28] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JOzoy-00002k-RD; Tue, 12 Feb 2008 18:25:32 +0000 Received: from freaky by voi.aagh.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JOzoy-0006cA-G4; Tue, 12 Feb 2008 18:25:32 +0000 Date: Tue, 12 Feb 2008 18:25:32 +0000 From: Thomas Hurst To: Frank Mayhar Message-ID: <20080212182532.GA18779@voi.aagh.net> Mail-Followup-To: Frank Mayhar , Rui Paulo , freebsd-amd64@freebsd.org References: <20080210183600.GJ64299@server.vk2pj.dyndns.org> <141AC5FD-D8A0-4E6B-BC69-5D9F752EF5F2@freebsd.org> <20080212062818.GL64299@server.vk2pj.dyndns.org> <1202826167.10603.3.camel@jill.exit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1202826167.10603.3.camel@jill.exit.com> Organization: Not much. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Thomas Hurst Cc: freebsd-amd64@freebsd.org Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 18:25:35 -0000 * Frank Mayhar (frank@exit.com) wrote: > k8temp0: on hostb3 > k8temp0: can't clear config registerdevice_attach: k8temp0 attach returned 6 > k8temp1: on hostb7 > k8temp1: can't clear config registerdevice_attach: k8temp1 attach returned 6 > > Thermtrip=0x0b000424 (CurTmp=0x00 (-49c) TjOffset=0x0b DiodeOffset=0x04 (7c)) > Thermtrip=0x0b510420 (CurTmp=0x51 (32c) TjOffset=0x0b DiodeOffset=0x04 (7c)) > CPU 0 Core 1 Sensor 0: 32c > Thermtrip=0x005a0f20 (CurTmp=0x5a (41c) TjOffset=0x00 DiodeOffset=0x0f (-4c)) > CPU 1 Core 1 Sensor 0: 41c Well, the bits clearly are clearable; the 0's on the end of Thermtrip show the selection is working (it wouldn't show anything if not; your second CPU seems to not want to set the core selection bit at all, and neither care for the sensor selection bit). Interestingly the data sheet suggests on single core systems the core selection bit should be *set*: Thermal Sensor Core Select (ThermSenseCoreSel) -- Bit 2. This bit selects the CPU whose temperature is reported in the CurTemp field. This bit only applies to dual core processors. For single core processors CPU0 Thermal Sensor is always selected 0b = CPU1 Thermal Sensor. 1b = CPU0 Thermal Sensor. Maybe it's revision dependent. The data sheet is here: http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf See the end of page 179 for a description of the register. -- Thomas 'Freaky' Hurst http://hur.st/ From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 19:09:27 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 1578A16A494 for ; Tue, 12 Feb 2008 19:09:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 7968613C455 for ; Tue, 12 Feb 2008 19:09:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 231711074-1834499 for multiple; Tue, 12 Feb 2008 14:09:12 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1CJ9B3Y063998; Tue, 12 Feb 2008 14:09:17 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Tue, 12 Feb 2008 12:08:26 -0500 User-Agent: KMail/1.9.7 References: <47A7474D.3010201@ccstores.com> <200802041452.24817.jhb@freebsd.org> <47B132C4.8010209@ccstores.com> In-Reply-To: <47B132C4.8010209@ccstores.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802121208.26849.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 12 Feb 2008 14:09:17 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5789/Tue Feb 12 09:56:33 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: parallel printer 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, 12 Feb 2008 19:09:27 -0000 On Tuesday 12 February 2008 12:46:44 am Jim Pazarena wrote: > John Baldwin wrote: > > On Monday 04 February 2008 02:37:13 pm Gary Jennejohn wrote: > >> On Mon, 04 Feb 2008 09:11:41 -0800 > >> Jim Pazarena wrote: > >> > >>> I loaded 7.0RC1 on a new amd dual core machine > >>> and when setting up the parallel printer actually, > >>> when trying to print, the report starts, but the machine does > >>> a panic and reboot. > >>> > >>> The system works fine in all other aspects, such as it is handing > >>> out DHCP properly to a few other computers, it functions fine > >>> ethernet wise ('re' driver works as expected). > >>> > >>> This core dump at parallel printing is a show stopper for me. > >>> Any ideas? > >>> > >> AFAIK there's an error in handling interrupts. Try ``lptcontrol -p'' > >> to run in polled mode (works for me). > >> > >> Note that this problem is not specific to AMD64. > > > > It should be fixed in RELENG_7 and RELENG_7_0. RC2 should include the > > fix/workaround when it comes out. > > While 7.0RC2 now does indeed print as expected, each time I print the console > echoes: > > lpt0: [GIANT-LOCKED] > lpt0: [ITHREAD] > lpt0: [GIANT-LOCKED] > lpt0: [ITHREAD] > lpt0: [GIANT-LOCKED] > lpt0: [ITHREAD] > > ... three iterations each time I print. Yes, this is b/c the printer driver does some really dumb things. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 02:05:45 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 3482F16A419; Wed, 13 Feb 2008 02:05:45 +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 E6C3B13C458; Wed, 13 Feb 2008 02:05:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m1D25ixK060420; Tue, 12 Feb 2008 21:05:44 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m1D25hJs027495; Tue, 12 Feb 2008 21:05:43 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 8806E1B5078; Tue, 12 Feb 2008 21:05:43 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080213020543.8806E1B5078@freebsd-stable.sentex.ca> Date: Tue, 12 Feb 2008 21:05:43 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [releng_7 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 Feb 2008 02:05:45 -0000 TB --- 2008-02-13 01:12:39 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-02-13 01:12:39 - starting RELENG_7 tinderbox run for amd64/amd64 TB --- 2008-02-13 01:12:39 - cleaning the object tree TB --- 2008-02-13 01:13:13 - cvsupping the source tree TB --- 2008-02-13 01:13:13 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/amd64/amd64/supfile TB --- 2008-02-13 01:13:21 - building world (CFLAGS=-O2 -pipe) TB --- 2008-02-13 01:13:21 - cd /src TB --- 2008-02-13 01:13:21 - /usr/bin/make -B buildworld >>> World build started on Wed Feb 13 01:13:23 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/gpt.c cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/label.c cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/map.c cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/migrate.c /src/sbin/gpt/migrate.c: In function 'migrate_disklabel': /src/sbin/gpt/migrate.c:121: error: 'FS_ZFS' undeclared (first use in this function) /src/sbin/gpt/migrate.c:121: error: (Each undeclared identifier is reported only once /src/sbin/gpt/migrate.c:121: error: for each function it appears in.) *** Error code 1 Stop in /src/sbin/gpt. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-13 02:05:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-13 02:05:43 - ERROR: failed to build world TB --- 2008-02-13 02:05:43 - tinderbox aborted TB --- 2648.09 user 289.57 system 3183.74 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 20:57:35 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 6595016A46D for ; Tue, 12 Feb 2008 20:57:35 +0000 (UTC) (envelope-from kuzmich@rostov.ru) Received: from bufer-post.e-se.ru (bufer-post.e-se.ru [217.174.99.3]) by mx1.freebsd.org (Postfix) with ESMTP id A1CC813C4F6 for ; Tue, 12 Feb 2008 20:57:34 +0000 (UTC) (envelope-from kuzmich@rostov.ru) Received: from [77.66.152.114] ( [77.66.152.114]) by bufer-post.e-se.ru with ESMTP id 2351FC508416742876771; Tue, 12 Feb 2008 23:29:48 +0300 From: =?koi8-r?b?69XazsXDz9cg4czFy9PBzsTS?= To: Rui Paulo , freebsd-amd64@freebsd.org, Thomas Hurst Date: Tue, 12 Feb 2008 23:29:32 +0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802122329.32905.kuzmich@rostov.ru> X-Mailman-Approved-At: Wed, 13 Feb 2008 02:26:26 +0000 Cc: Subject: Re: CFT: k8temp driver X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 20:57:35 -0000 Thomas Hurst wrote: >>Maybe it's revision dependent. The data sheet is here: >>http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf Thanks! Here is small patch for my processor: 278c278 < temp = ((temp >> 16) & 0xff) - K8TEMP_MINTEMP; --- > temp = (((temp >> 14) & 0xfff) - K8TEMP_MINTEMP) / 4; kuzmich# grep 'CPU:' /var/run/dmesg.boot CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (1004.64-MHz 686-class CPU) kuzmich# sysctl -a | grep k8temp dev.k8temp.0.%desc: AMD K8 Thermal Sensors dev.k8temp.0.%driver: k8temp dev.k8temp.0.%parent: hostb3 dev.k8temp.0.sensor0.core0: 67 dev.k8temp.0.sensor0.core1: 56 dev.k8temp.0.sensor1.core0: 67 dev.k8temp.0.sensor1.core1: 67 kuzmich# 67C seems more correct then 30-35C before patch Many thanks to Rui Paulo for initial driver! From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 12 21:20:03 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EF2E16A468 for ; Tue, 12 Feb 2008 21:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E755613C4DB for ; Tue, 12 Feb 2008 21:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1CLK2Nq077972 for ; Tue, 12 Feb 2008 21:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1CLK2MO077971; Tue, 12 Feb 2008 21:20:02 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2008 21:20:02 GMT Resent-Message-Id: <200802122120.m1CLK2MO077971@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, paul Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F53716A419 for ; Tue, 12 Feb 2008 21:15:12 +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 EE8D313C4CC for ; Tue, 12 Feb 2008 21:15:11 +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 m1CLCuDx042190 for ; Tue, 12 Feb 2008 21:12:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1CLCuHe042189; Tue, 12 Feb 2008 21:12:56 GMT (envelope-from nobody) Message-Id: <200802122112.m1CLCuHe042189@www.freebsd.org> Date: Tue, 12 Feb 2008 21:12:56 GMT From: paul To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Wed, 13 Feb 2008 02:26:49 +0000 Cc: Subject: amd64/120568: cannot install 7.0-rc1: ACPI problem with abit ip35 pro 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, 12 Feb 2008 21:20:03 -0000 >Number: 120568 >Category: amd64 >Synopsis: cannot install 7.0-rc1: ACPI problem with abit ip35 pro >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 21:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: paul >Release: 7.0-RC1 >Organization: home >Environment: I cannot get to the shell... >Description: Trying to install FreeBSD 7.0-RC1 fails with (a lot of) ACPI errors. Trying to install with ACPI disabled, hangs the installation process. Abit IP35 Pro & Intel Q6600 >How-To-Repeat: Reinstaling the OS. >Fix: None to be aware of. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 02:47:36 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 2B3D716A46C for ; Wed, 13 Feb 2008 02:47:36 +0000 (UTC) (envelope-from freebsd-amd64@adam.gs) Received: from mail.adam.gs (mail.adam.gs [76.9.2.116]) by mx1.freebsd.org (Postfix) with ESMTP id 10A6913C47E for ; Wed, 13 Feb 2008 02:47:35 +0000 (UTC) (envelope-from freebsd-amd64@adam.gs) Received: from [127.0.0.1] (localhost.adam.gs [127.0.0.1]) by mail.adam.gs (Postfix) with ESMTP id BF95CF396D4 for ; Tue, 12 Feb 2008 21:28:45 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=mail; d=adam.gs; b=I7Iqt1Q0HpcWKEOmAqMR6tdYWTl1t2fln/dS8pGEom4Z1iBuQXRLa6zLk78BKiyuA0dc78vBn7zz2K5HhE7YsfZG2I+yqO+aIW2tgR0AbpxZhY4FbnnOu+8uVgbPX5mt9vbzCfpnAW7KfduIb2IaDwXyO0SNwVj0inWKZpU8Y+E=; Received: from [66.230.128.46] (unknown [66.230.128.46]) (Authenticated sender: adam@adam.gs) by mail.adam.gs (Postfix) with ESMTP id 87C00F39616; Tue, 12 Feb 2008 21:28:45 -0500 (EST) Message-Id: <775A2A53-7376-4C22-AD7A-7DDD42727D36@adam.gs> From: Adam Jacob Muller To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 12 Feb 2008 21:28:43 -0500 X-Mailer: Apple Mail (2.915) Cc: Subject: mfc of change to src/sys/amd64/isa/clock.c breaks build 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 Feb 2008 02:47:36 -0000 This MFC http://www.freebsd.org/cgi/cvsweb.cgi//src/sys/amd64/isa/clock.c.diff?r1=1.221.2.2;r2=1.221.2.3 of this change: http://www.freebsd.org/cgi/cvsweb.cgi//src/sys/amd64/isa/clock.c.diff?r1=1.235;r2=1.236 breaks build for LINT, and GENERIC kernels, possibly only on amd64, this change was also MFC'd to RELENG_7 but I do not have a 7 amd64 box to test. /usr/src/sys/amd64/isa/clock.c: In function `DELAY': /usr/src/sys/amd64/isa/clock.c:282: warning: implicit declaration of function `cpu_spinwait' /usr/src/sys/amd64/isa/clock.c:282: warning: nested extern declaration of `cpu_spinwait' *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error - Adam From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 03:05:26 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 39C5616A417; Wed, 13 Feb 2008 03:05:26 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 15C7B13C465; Wed, 13 Feb 2008 03:05:26 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1D35P1t007519; Wed, 13 Feb 2008 03:05:25 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1D35PAU007515; Wed, 13 Feb 2008 03:05:25 GMT (envelope-from linimon) Date: Wed, 13 Feb 2008 03:05:25 GMT Message-Id: <200802130305.m1D35PAU007515@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Wed, 13 Feb 2008 03:30:12 +0000 Cc: Subject: Re: amd64/120568: cannot install 7.0-rc1: ACPI problem with abit ip35 pro 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 Feb 2008 03:05:26 -0000 Synopsis: cannot install 7.0-rc1: ACPI problem with abit ip35 pro Responsible-Changed-From-To: freebsd-amd64->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Wed Feb 13 03:05:14 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=120568 From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 10:19:28 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 3BF5416A474 for ; Wed, 13 Feb 2008 10:19:28 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id F3BB813C4D5 for ; Wed, 13 Feb 2008 10:19:27 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JPESO-0003Rt-K4 for amd64@freebsd.org; Wed, 13 Feb 2008 10:03:15 +0000 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JPESN-0005cW-WC for amd64@freebsd.org; Wed, 13 Feb 2008 10:03:12 +0000 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m1DA2xRj036773 for ; Wed, 13 Feb 2008 10:02:59 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m1DA2x60036772 for amd64@freebsd.org; Wed, 13 Feb 2008 10:02:59 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 13 Feb 2008 10:02:59 +0000 From: Anton Shterenlikht To: amd64@freebsd.org Message-ID: <20080213100258.GA36708@mech-aslap33.men.bris.ac.uk> References: <20080213020543.8806E1B5078@freebsd-stable.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080213020543.8806E1B5078@freebsd-stable.sentex.ca> User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.3 X-Spam-Level: - Cc: Subject: progress with Turion64x2? 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 Feb 2008 10:19:28 -0000 Hello I note the latest report on Turion64x2 is from Summer 2006: http://lists.freebsd.org/mailman/htdig/freebsd-amd64/2006-July/008508.html There were some serious problems with ACPI then. Has there been any progress with this cpu? I'm particularly interested in HP 6715s notebook. many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 10:37:59 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 DA4D416A47C; Wed, 13 Feb 2008 10:37:58 +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 AEF6A13C46A; Wed, 13 Feb 2008 10:37:58 +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 m1DAbvQJ088934; Wed, 13 Feb 2008 05:37:57 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m1DAbvZu037552; Wed, 13 Feb 2008 05:37:57 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 898811B5078; Wed, 13 Feb 2008 05:37:57 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080213103757.898811B5078@freebsd-stable.sentex.ca> Date: Wed, 13 Feb 2008 05:37:57 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner1 X-Virus-Status: Clean Cc: Subject: [releng_7 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 Feb 2008 10:37:59 -0000 TB --- 2008-02-13 09:45:16 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-02-13 09:45:16 - starting RELENG_7 tinderbox run for amd64/amd64 TB --- 2008-02-13 09:45:16 - cleaning the object tree TB --- 2008-02-13 09:45:26 - cvsupping the source tree TB --- 2008-02-13 09:45:26 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/amd64/amd64/supfile TB --- 2008-02-13 09:45:33 - building world (CFLAGS=-O2 -pipe) TB --- 2008-02-13 09:45:33 - cd /src TB --- 2008-02-13 09:45:33 - /usr/bin/make -B buildworld >>> World build started on Wed Feb 13 09:45:34 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/gpt.c cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/label.c cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/map.c cc -O2 -pipe -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/sbin/gpt/migrate.c /src/sbin/gpt/migrate.c: In function 'migrate_disklabel': /src/sbin/gpt/migrate.c:121: error: 'FS_ZFS' undeclared (first use in this function) /src/sbin/gpt/migrate.c:121: error: (Each undeclared identifier is reported only once /src/sbin/gpt/migrate.c:121: error: for each function it appears in.) *** Error code 1 Stop in /src/sbin/gpt. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-13 10:37:57 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-13 10:37:57 - ERROR: failed to build world TB --- 2008-02-13 10:37:57 - tinderbox aborted TB --- 2649.25 user 285.02 system 3160.59 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 11:40:19 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 431C616A4B3; Wed, 13 Feb 2008 11:40:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0268D13C4D9; Wed, 13 Feb 2008 11:40:18 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m1DBeIhH063416; Wed, 13 Feb 2008 06:40:18 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [64.7.128.104]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m1DBeIsp050767; Wed, 13 Feb 2008 06:40:18 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-legacy.sentex.ca (Postfix, from userid 666) id 14B6F241A2; Wed, 13 Feb 2008 06:40:41 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080213114041.14B6F241A2@freebsd-legacy.sentex.ca> Date: Wed, 13 Feb 2008 06:40:41 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [releng_6 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 Feb 2008 11:40:19 -0000 TB --- 2008-02-13 10:10:56 - tinderbox 2.3 running on freebsd-legacy.sentex.ca TB --- 2008-02-13 10:10:56 - starting RELENG_6 tinderbox run for amd64/amd64 TB --- 2008-02-13 10:10:56 - cleaning the object tree TB --- 2008-02-13 10:11:48 - cvsupping the source tree TB --- 2008-02-13 10:11:48 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_6/amd64/amd64/supfile TB --- 2008-02-13 10:11:59 - building world (CFLAGS=-O2 -pipe) TB --- 2008-02-13 10:11:59 - cd /src TB --- 2008-02-13 10:11:59 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries TB --- 2008-02-13 11:29:53 - generating LINT kernel config TB --- 2008-02-13 11:29:53 - cd /src/sys/amd64/conf TB --- 2008-02-13 11:29:53 - /usr/bin/make -B LINT TB --- 2008-02-13 11:29:53 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2008-02-13 11:29:53 - cd /src TB --- 2008-02-13 11:29:53 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Feb 13 11:29:53 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/amd64/amd64/uio_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/amd64/amd64/uma_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/amd64/amd64/vm_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/amd64/isa/atpic.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/amd64/isa/clock.c /src/sys/amd64/isa/clock.c: In function `DELAY': /src/sys/amd64/isa/clock.c:282: warning: implicit declaration of function `cpu_spinwait' /src/sys/amd64/isa/clock.c:282: warning: nested extern declaration of `cpu_spinwait' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-13 11:40:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-13 11:40:41 - ERROR: failed to build lint kernel TB --- 2008-02-13 11:40:41 - tinderbox aborted TB --- 4239.18 user 544.88 system 5384.56 real http://tinderbox.des.no/tinderbox-releng_6-RELENG_6-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 15:50:19 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 A901416A420; Wed, 13 Feb 2008 15:50:19 +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 84D3F13C47E; Wed, 13 Feb 2008 15:50:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m1DFoIdn018747; Wed, 13 Feb 2008 10:50:18 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m1DFoIU7014372; Wed, 13 Feb 2008 10:50:18 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1E73473039; Wed, 13 Feb 2008 10:50:17 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080213155018.1E73473039@freebsd-current.sentex.ca> Date: Wed, 13 Feb 2008 10:50:17 -0500 (EST) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 15:50:19 -0000 TB --- 2008-02-13 14:20:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-02-13 14:20:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-02-13 14:20:00 - cleaning the object tree TB --- 2008-02-13 14:20:47 - cvsupping the source tree TB --- 2008-02-13 14:20:47 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-02-13 14:20:54 - building world (CFLAGS=-O -pipe) TB --- 2008-02-13 14:20:54 - cd /src TB --- 2008-02-13 14:20:54 - /usr/bin/make -B buildworld >>> World build started on Wed Feb 13 14:20:55 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Wed Feb 13 15:47:51 UTC 2008 TB --- 2008-02-13 15:47:51 - generating LINT kernel config TB --- 2008-02-13 15:47:51 - cd /src/sys/amd64/conf TB --- 2008-02-13 15:47:51 - /usr/bin/make -B LINT TB --- 2008-02-13 15:47:51 - building LINT kernel (COPTFLAGS=) TB --- 2008-02-13 15:47:51 - cd /src TB --- 2008-02-13 15:47:51 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Feb 13 15:47:51 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/kern/serdev_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding cc: /src/sys/fs/coda/coda_namecache.c: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-02-13 15:50:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-02-13 15:50:17 - ERROR: failed to build lint kernel TB --- 2008-02-13 15:50:17 - tinderbox aborted TB --- 4016.99 user 501.81 system 5417.19 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 13 16:35:53 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 D1DD316A46B; Wed, 13 Feb 2008 16:35:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id B22C513C4F5; Wed, 13 Feb 2008 16:35:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 0903346BD2; Wed, 13 Feb 2008 11:16:54 -0500 (EST) Date: Wed, 13 Feb 2008 16:16:53 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: FreeBSD Tinderbox In-Reply-To: <20080213155018.1E73473039@freebsd-current.sentex.ca> Message-ID: <20080213161624.F13849@fledge.watson.org> References: <20080213155018.1E73473039@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Wed, 13 Feb 2008 17:10:51 +0000 Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 16:35:53 -0000 On Wed, 13 Feb 2008, FreeBSD Tinderbox wrote: > /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > cc: /src/sys/fs/coda/coda_namecache.c: No such file or directory > mkdep: compile failed > *** Error code 1 Looks like I missed committing to src/sys/conf, but have now caught up. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-amd64@FreeBSD.ORG Fri Feb 15 13:53:55 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 C201616A468 for ; Fri, 15 Feb 2008 13:53:55 +0000 (UTC) (envelope-from masatic@mbs.sphere.ne.jp) Received: from mail.as.customer.ne.jp (mail10.as.customer.ne.jp [202.239.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 28C4713C467 for ; Fri, 15 Feb 2008 13:53:54 +0000 (UTC) (envelope-from masatic@mbs.sphere.ne.jp) Received: (qmail 11324 invoked by SAV 20080215.006); 15 Feb 2008 22:27:13 +0900 Received: from unknown (HELO inca.mbs.sphere.ne.jp) ([202.229.254.62]) by mail.as.customer.ne.jp with SMTP; 15 Feb 2008 22:27:13 +0900 To: freebsd-amd64@freebsd.org From: masatic@mbs.sphere.ne.jp (FUCHIGAMI Masachika) Date: Fri, 15 Feb 2008 22:29:21 +0900 Message-ID: <200802151329.014D79140124000.masatic.ME@inca.mbs.sphere.ne.jp> In-Reply-To: Your message of "Mon, 11 Feb 2008 15:21:45 -0500" <200802111521.45864.jhb@freebsd.org> References: <200802111521.45864.jhb@freebsd.org> X-Mailer: Message Editor Version 2.3.8 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 15 Feb 2008 14:16:41 +0000 Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts 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, 15 Feb 2008 13:53:55 -0000 "John Baldwin " said: jhb>> Removing the wait seems very odd, the pending status should still be there jhb>> even if we wait. However, this particular IPI is only for older CPUs anyway. jhb>> Try this patch instead perhaps: Thank you for your help, but that patch does not work. "panic: AP #1 (PHY# 1) failed!" is displayed. (MP init/start chart on athlon64x2 I understand -- correct?) BSP LAPIC0 LAPIC1 AP | | | | | | | | send | | | INIT-->|--INIT--->| | (init assert then deassert) IPI set pend. | | | |<--ACK----|-INIT->| | clear | JUMP to | pend. | reset vector Wait | | | 10ms | | -+ | | | | | | | | | | *** something wrong occurs in my box??? Check | | | | | pend. | | |Halt loop | | | | +-:---------+ send-->|--SIPI--->| : SIPI set pend. |----->Wake up and | |<--ACK----| Jump to trampoline | clear | | | pend. | | Check | | | pend. | | | | | | | Wait | | | 200us | | | | | | | send | | | 2nd--->|--SIPI--->| | SIPI set pend. |----->(ignored) | |<--ACK----| | | clear | | | pend. | | Check | | mp_naps++ pend. | | | | | | | Wait | | | 200us | | | | | | | | | | | Check | | | mp_naps | | | | | | | From owner-freebsd-amd64@FreeBSD.ORG Fri Feb 15 14:57:53 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 81F0F16A4F4 for ; Fri, 15 Feb 2008 14:57:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id E702913C4E8 for ; Fri, 15 Feb 2008 14:57:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 232035553-1834499 for multiple; Fri, 15 Feb 2008 09:55:51 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1FEvfsL099789; Fri, 15 Feb 2008 09:57:43 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Fri, 15 Feb 2008 09:56:34 -0500 User-Agent: KMail/1.9.7 References: <200802111521.45864.jhb@freebsd.org> <200802151329.014D79140124000.masatic.ME@inca.mbs.sphere.ne.jp> In-Reply-To: <200802151329.014D79140124000.masatic.ME@inca.mbs.sphere.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802150956.35085.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 15 Feb 2008 09:57:43 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5830/Fri Feb 15 08:07:34 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: FUCHIGAMI Masachika Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts 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, 15 Feb 2008 14:57:53 -0000 On Friday 15 February 2008 08:29:21 am FUCHIGAMI Masachika wrote: > "John Baldwin " said: > jhb>> Removing the wait seems very odd, the pending status should still be there > jhb>> even if we wait. However, this particular IPI is only for older CPUs anyway. > jhb>> Try this patch instead perhaps: > > Thank you for your help, but that patch does not work. > "panic: AP #1 (PHY# 1) failed!" is displayed. > > > (MP init/start chart on athlon64x2 I understand -- correct?) Oh, you have AMD CPUs, that patch just checks for Intel CPUs. I'll have to update it. You can try just commenting out the whole deassert INIT IPI as your CPUs don't need it (it's only needed on older CPUs with APIC busses). > BSP LAPIC0 LAPIC1 AP > | | | | > | | | | > send | | | > INIT-->|--INIT--->| | (init assert then deassert) > IPI set pend. | | > | |<--ACK----|-INIT->| > | clear | JUMP to > | pend. | reset vector > Wait | | | > 10ms | | -+ > | | | | | | > | | | | *** something wrong occurs in my box??? > Check | | | | | > pend. | | |Halt loop | > | | | +-:---------+ > send-->|--SIPI--->| : > SIPI set pend. |----->Wake up and > | |<--ACK----| Jump to trampoline > | clear | | > | pend. | | > Check | | | > pend. | | | > | | | | > Wait | | | > 200us | | | > | | | | > send | | | > 2nd--->|--SIPI--->| | > SIPI set pend. |----->(ignored) > | |<--ACK----| | > | clear | | > | pend. | | > Check | | mp_naps++ > pend. | | | > | | | | > Wait | | | > 200us | | | > | | | | > | | | | > Check | | | > mp_naps | | | > | | | | > > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 16 11:57: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 5AC3C16A417; Sat, 16 Feb 2008 11:57: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 495D213C447; Sat, 16 Feb 2008 11:57: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 m1GBvWnD001217; Sat, 16 Feb 2008 11:57:32 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1GBvWqu001213; Sat, 16 Feb 2008 11:57:32 GMT (envelope-from linimon) Date: Sat, 16 Feb 2008 11:57:32 GMT Message-Id: <200802161157.m1GBvWqu001213@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-bugs@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Sat, 16 Feb 2008 12:17:38 +0000 Cc: Subject: Re: kern/120209: [zfs] reboot after panic: solaris assert: arc_buf_remove_ref 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, 16 Feb 2008 11:57:33 -0000 Synopsis: [zfs] reboot after panic: solaris assert: arc_buf_remove_ref Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Feb 16 11:57:14 UTC 2008 Responsible-Changed-Why: This does not sound amd64-specific. http://www.freebsd.org/cgi/query-pr.cgi?pr=120209