Re: 5.4 not running HTT
[quote=FreeBSD-SA-05:09.htt.asc] NOTE: For users that are certain that their environment is not affected by this vulnerability, such as single-user systems, Hyper-Threading Technology may be re-enabled by setting the tunable machdep.hyperthreading_allowed. [/quote] - Original Message - From: Alex de Kruijff [EMAIL PROTECTED] On Fri, Jun 10, 2005 at 03:06:51PM -0500, Stephen Montgomery-Smith wrote: Steven Hartland wrote: Have a read /usr/src/UPDATING it explains. It should be in /usr/src/UPDATING, but I don't see it there myself. I got bitten by the same problem. The other guy who gave ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc provided the right answer, but it should be also mentioned in UPDATING. Now it is. But its a bit vage. (i.e. what is a knob) 20050513: p1 FreeBSD-SA-05:09.htt Add a knob for disabling/enabling HTT. Default off due to information disclosure on multi-user systems. I assume it can be turned on by echo 'kern.sched.ipiwakeup.htt2=1' /etc/sysctl.conf -- Alex This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
On Fri, Jun 10, 2005 at 03:06:51PM -0500, Stephen Montgomery-Smith wrote: Steven Hartland wrote: Have a read /usr/src/UPDATING it explains. It should be in /usr/src/UPDATING, but I don't see it there myself. I got bitten by the same problem. The other guy who gave ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc provided the right answer, but it should be also mentioned in UPDATING. Now it is. But its a bit vage. (i.e. what is a knob) 20050513: p1 FreeBSD-SA-05:09.htt Add a knob for disabling/enabling HTT. Default off due to information disclosure on multi-user systems. I assume it can be turned on by echo 'kern.sched.ipiwakeup.htt2=1' /etc/sysctl.conf -- Alex ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4 not running HTT
I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped using the HTT virtal CPU's. This have been going on for a while. the oldest is dated 20050519 and the latest is yesterday. Is there something that I have missed? Been using same configs for 5.3 without any problems. /Bjorn Little outputs from yesterdays build: # ps aux | grep idle root 12 99.0 0.0 0 8 ?? RL3:12PM 12:28.60 [idle: cpu0] root 11 0.0 0.0 0 8 ?? RL3:12PM 0:00.00 [idle: cpu1] # ps aux | grep acpi root 7 0.0 0.0 0 8 ?? IL3:12PM 0:00.00 [acpi_task0] root 8 0.0 0.0 0 8 ?? IL3:12PM 0:00.00 [acpi_task1] root 9 0.0 0.0 0 8 ?? IL3:12PM 0:00.00 [acpi_task2] root 20 0.0 0.0 0 8 ?? WL3:12PM 0:00.00 [irq9: acpi0] root 84 0.0 0.0 0 8 ?? WL3:12PM 0:00.00 [swi6: acpitaskq] root 87 0.0 0.0 0 8 ?? DL3:12PM 0:00.02 [acpi_thermal] acpi is loaded # kldstat Id Refs AddressSize Name 14 0xc040 3266f0 kernel 2 14 0xc0727000 56270acpi.ko 31 0xc23e9000 24000usb.ko SMP and apic is in the kernelconfig. # To make an SMP kernel, the next line is needed options SMP # Symmetric MultiProcessor Kernel device apic# I/O APIC # sysctl -a | grep cpu kern.threads.virtual_cpu: 2 kern.sched.ipiwakeup.onecpu: 0 kern.ccpu: 1948 kern.smp.maxcpus: 16 kern.smp.cpus: 2 debug.kdb.stop_cpus: 1 debug.PMAP1changedcpu: 0 hw.ncpu: 2 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% machdep.cpu_idle_hlt: 1 machdep.hlt_cpus: 2 machdep.hlt_logical_cpus: 0 machdep.logical_cpus_mask: 2 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #1: Fri Jun 10 15:03:54 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/games Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3047.90-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS E2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 1073717248 (1023 MB) avail memory = 1045368832 (996 MB) ACPI APIC Table: COMPAQ 0083 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 6 cpu1 (AP): APIC ID: 7 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard ioapic2 Version 1.1 irqs 32-47 on motherboard ioapic3 Version 1.1 irqs 48-63 on motherboard npx0: math processor on motherboard ... ... ... da0 at ciss0 bus 0 target 0 lun 0 da0: COMPAQ RAID 1 VOLUME OK Fixed Direct Access SCSI-0 device da0: 135.168MB/s transfers da0: 17359MB (35553120 512 byte sectors: 255H 32S/T 4357C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s1a ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
--On 10 June 2005 17:35 +0200 kama [EMAIL PROTECTED] wrote: I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped using the HTT virtal CPU's. This have been going on for a while. the oldest is dated 20050519 and the latest is yesterday. Is there something that I have missed? Been using same configs for 5.3 without any problems. Perhaps, ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc :) -Karl ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
Have a read /usr/src/UPDATING it explains. Steve / K - Original Message - From: kama [EMAIL PROTECTED] I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped using the HTT virtal CPU's. This have been going on for a while. the oldest is dated 20050519 and the latest is yesterday. Is there something that I have missed? Been using same configs for 5.3 without any problems. This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
Steven Hartland wrote: Have a read /usr/src/UPDATING it explains. It should be in /usr/src/UPDATING, but I don't see it there myself. I got bitten by the same problem. The other guy who gave ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc provided the right answer, but it should be also mentioned in UPDATING. I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped using the HTT virtal CPU's. This have been going on for a while. the oldest is dated 20050519 and the latest is yesterday. Is there something that I have missed? Been using same configs for 5.3 without any problems. This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
On Fri, Jun 10, 2005 at 03:06:51PM -0500, Stephen Montgomery-Smith wrote: Steven Hartland wrote: Have a read /usr/src/UPDATING it explains. It should be in /usr/src/UPDATING, but I don't see it there myself. It depends on which version you are looking at the source of. In the release/security branches (RELENG_5_4, etc.) all security patches (like this one) are noted in UPDATING. For the development branches (RELENG_5 , -CURRENT) security patches usually don't get mentioned. I.e. if you are looking at the source for RELENG_5_4 there is a notice in UPDATING, if you are looking at the source for RELENG_5 there is not. In this particular case there probably should have been a note added to UPDATING for both -STABLE and -CURRENT, but there wasn't. I got bitten by the same problem. The other guy who gave ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc provided the right answer, but it should be also mentioned in UPDATING. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
On Fri, Jun 10, 2005 at 11:14:25PM +0200, Erik Trulsson wrote: On Fri, Jun 10, 2005 at 03:06:51PM -0500, Stephen Montgomery-Smith wrote: Steven Hartland wrote: Have a read /usr/src/UPDATING it explains. It should be in /usr/src/UPDATING, but I don't see it there myself. It depends on which version you are looking at the source of. In the release/security branches (RELENG_5_4, etc.) all security patches (like this one) are noted in UPDATING. For the development branches (RELENG_5 , -CURRENT) security patches usually don't get mentioned. I.e. if you are looking at the source for RELENG_5_4 there is a notice in UPDATING, if you are looking at the source for RELENG_5 there is not. In this particular case there probably should have been a note added to UPDATING for both -STABLE and -CURRENT, but there wasn't. send-pr with the patch and/or talk to the security team. Kris pgpJOmoBhOVsT.pgp Description: PGP signature
Re: 5.4 not running HTT
Erik Trulsson wrote: It depends on which version you are looking at the source of. In the release/security branches (RELENG_5_4, etc.) all security patches (like this one) are noted in UPDATING. For the development branches (RELENG_5 , -CURRENT) security patches usually don't get mentioned. I.e. if you are looking at the source for RELENG_5_4 there is a notice in UPDATING, if you are looking at the source for RELENG_5 there is not. In this particular case there probably should have been a note added to UPDATING for both -STABLE and -CURRENT, but there wasn't. Quite right -- we fell into the trap of just following our standard procedures, instead of thinking about whether this met the test for being documented in UPDATING (which it certainly does, since it is a potentially astonishing user-visible change). I've added it to the stable branches, but not to -current, since hyper-threading is still enabled by default in HEAD. Colin Percival ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 not running HTT
On Fri, 10 Jun 2005, Karl Pielorz wrote: --On 10 June 2005 17:35 +0200 kama [EMAIL PROTECTED] wrote: I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped using the HTT virtal CPU's. This have been going on for a while. the oldest is dated 20050519 and the latest is yesterday. Is there something that I have missed? Been using same configs for 5.3 without any problems. Perhaps, ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc Thank you! =) /Bjorn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]