From owner-freebsd-i386@FreeBSD.ORG Sun Sep 2 17:56:31 2007 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5783A16A41A; Sun, 2 Sep 2007 17:56:31 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2A513C467; Sun, 2 Sep 2007 17:56:31 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EA01B8C2507; Sun, 2 Sep 2007 19:39:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TaC65SUfYp00; Sun, 2 Sep 2007 19:39:54 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 710B18C24E9; Sun, 2 Sep 2007 19:39:54 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l82HdssN052719; Sun, 2 Sep 2007 19:39:54 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 2 Sep 2007 19:39:54 +0200 From: Roman Divacky To: arch@freebsd.org Message-ID: <20070902173953.GA52566@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: i386@freebsd.org Subject: PSL_RF inclusion in PSL_USERCHANGE for i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 17:56:31 -0000 hi in i386/i386/machdep.c the set_regs() function sets i386 registers (called by ptrace for example). it checks what eflags are being changed and compares that with a mask of allowed flags to be changed. the mask is defined in psl.h like this: #define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \ | PSL_D | PSL_V | PSL_NT | PSL_AC | PSL_ID) PSL_RF (Flag to ensure single-step only happens once per instruction.). Can someone tell me why this is omitted? I think its because of having in-kernel debugger. User-mode Linux requires this to be allowed. So I wonder why this is disabled in FreeBSD. (Linux itself does not check the eflags in any way). thanks for answer, and/or pointer to answer Roman Divacky From owner-freebsd-i386@FreeBSD.ORG Mon Sep 3 11:08:10 2007 Return-Path: Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67BF316A468 for ; Mon, 3 Sep 2007 11:08:10 +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 465D713C46E for ; Mon, 3 Sep 2007 11:08:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l83B85dr079059 for ; Mon, 3 Sep 2007 11:08:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l83B83Wd079055 for freebsd-i386@FreeBSD.org; Mon, 3 Sep 2007 11:08:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Sep 2007 11:08:03 GMT Message-Id: <200709031108.l83B83Wd079055@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-i386@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 11:08:10 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/115854 i386 Install FreeBSD with USB CDROM causes panic in BTX loa 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/70525 i386 [boot] boot0cfg: -o packet not effective o i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice o i386/71000 i386 [boot] BTX halted when booting from CD on a machine wi o i386/72960 i386 BTX halted with Promise Tx2000 Raid f i386/73265 i386 FreeBSD kernel crashes when booting on ECS 741GX-M Mai o i386/74008 i386 IBM eServer x225 cannot boot any v5.x - endless dump s o i386/74044 i386 [smb] ServerWorks OSB4 SMBus interface does not detect o i386/75887 i386 [pcvt] with vt0.disabled=0 and PCVT in kernel video/ke o i386/76944 i386 [busdma] [patch] i386 bus_dmamap_create() bug o i386/78339 i386 BTX loader crashes on boot on HP Proliant DL140 s i386/79169 i386 freeze with striped USB Drives under high load o i386/79409 i386 Coming back from idles make the server reboot o i386/79729 i386 umass, da0 not detected by devfs for o i386/79784 i386 [bfe] Broadcom BCM4401 : no carrier o i386/80268 i386 [crash] System with Transmeta Efficeon cpu crashes whi o i386/80989 i386 [install] Cannot install 5.4-RELEASE both in my system p i386/81111 i386 /boot/loader causes reboot due to CFLAGS+= -msse3 o i386/85072 i386 [psm] ps/2 Mouse detection failure on compaq chipset o i386/85866 i386 [hang] bootloader freezes on Pentium2/3 o i386/85938 i386 Install fails, unable to write partitions o i386/85944 i386 FreeBSD restarts after showing "Welcome to FreeBSD" sc o i386/86612 i386 SCSI DAT Drive Issue o i386/86667 i386 GNOME Battery Applet causing keyboard to lag/drop char o i386/86806 i386 Couldn't alloc kernel virtual memory o i386/86880 i386 [hang] 6.0 hangs or reboots whilst 5.4 is stable (ASUS o i386/86920 i386 [ndis] ifconfig: SIOCS80211: Invalid argument (regress o i386/87085 i386 [install] Will not install on Microtel system o i386/87122 i386 [install] Installer of 6.0-BETA5 can't find HDD partit o i386/87155 i386 [boot] [panic] Can't Alloc Virtual Memory in FreeBSD 6 o i386/87576 i386 [install] no installation on Acer aspire 1304xc laptop o i386/87630 i386 [ndis] No match for NdisIMGetCurrentPacketStack o i386/87876 i386 Installation Problems for i368 Compaq R3000 o i386/88124 i386 [hang] X -configure freezes 6.0rc1 o i386/88139 i386 [i386] feature request: 53C875 Chipset HP 5064-6016 do o i386/88315 i386 [sym] [hang] Symbios/LSI-HBA (SYM83C895) hangs o i386/88459 i386 [panic] Fatal trap 19 (process: idle: cpu0) on HP prol o i386/88610 i386 FreeBSD 6.0 bootonly crashes during boot after sis0, d o i386/88717 i386 freebsd 5.4 boots from lsi 53c1030 only in safe mode o i386/88755 i386 [install] FreeBSD R6.0 on ThinkPad R40 installation re o i386/88853 i386 [hang] SMP system FreeBSD 6.0-STABLE crashed while tra o i386/88929 i386 [install] FreeBSD 6.0 install CD fails to find disks o o i386/89249 i386 HighPoint RocketRAID 1520 (HPT372N) can't write on har o i386/89288 i386 [acpi] DMA error while booting with acpi enable o i386/89340 i386 [panic] 6.0-STABLE (2005-11-07) panic when mostly idle o i386/89383 i386 [sio] [panic] page fault o i386/90059 i386 panic in 2 mins after power on PC o i386/90065 i386 [wi] System hangs if wireless card wasn't disabled bef o i386/90519 i386 Resume after suspend results in g_vfs_done() errors an o i386/91038 i386 [panic] 6.0-RELEASE on Fujitsu Siemens Amilo Pro v2040 o i386/91282 i386 [install] 6.0R install CD crashes on Promise PDC20267 o i386/91745 i386 Second processor not detected on Proliant ML530 G2 wit o i386/92193 i386 Can't boot from 6.0 Installation CD: BTX halted (Gigab o i386/93524 i386 Automatic reboot o i386/93615 i386 [install] Operating system wont install. Problem with o i386/93752 i386 Cannot activate the serial ports on boot probe. BIOS o o i386/93762 i386 Machine lockup at boot loader countdown on SuperMicro o i386/93787 i386 freebsd 6.0 hangs on atkbd0 on Proliant 1850r server a o i386/93809 i386 panic: could not copy LDT on RELENG_5_3 through RELENG o i386/93923 i386 [ata] FreeBSD Install, Sil3112: Cannot dump. No dump d o i386/93989 i386 [install] Can't install FreeBSD from IEEE1394 DVD-RW o o i386/94141 i386 [iwi] iwi doesn't work on Acer Laptop o i386/94364 i386 [kbd] Unable to boot on NX9110 laptop o i386/94420 i386 FreeBSD does NOT support the pcChips M925 motherboard. o i386/94911 i386 [ata] ata regression with DOM-IDE o i386/95087 i386 System freeze irrespective of load on Promise FastTrak o i386/95365 i386 stability problems: interface not reachable on 6.1-PRE o i386/96014 i386 [install] HP Pavilion zv5000(Intel) reboot installatio o i386/96049 i386 Generic SMP Kernel Panic in 6.1-RC1 during mount root o i386/96225 i386 Toshiba M70-CL3 Hangs Up During Booting o i386/96302 i386 [ata] nVidia nForce CK804 SATA300 controller not recog o i386/96357 i386 FreeBSD cannot recognize all the logical partitions o i386/96382 i386 [bge] In 6.1-RC1 the bge driver does not reliably work o i386/97025 i386 fbsd (2 cd) dont install in vmware 5.5.0 - reboot. o i386/97263 i386 [ata] FreeBSD only detects first drive on PDC20378 378 o i386/97287 i386 Screen Corruption In FreeBSD 6.X When Apps Started In o i386/97525 i386 System freezes when cable modem connected on USB o i386/98154 i386 6-STABLE crashes when being online via modem (Fujitsu o i386/98215 i386 [geode] regression: FreeBSD can no longer boot Geode G o i386/98765 i386 [sata] timeouts on sata drive (Asus a7n8x-e) o i386/98964 i386 [iwi] iwi totally freezes system o i386/99608 i386 [atapicam] ATAPI or CAM crash on FreeBSD 6.1-stable wi o i386/100194 i386 On Intel D945GTPLKR delay at start FreeBSD kernel o i386/100420 i386 boot1/boot2 lba error o i386/100831 i386 [sio] sio ignores BIOS information about serial ports o i386/101135 i386 [iwi] iwi goes up and down o i386/101616 i386 FreeBSD freeze on bootup, Compaq Proliant (legacy) ser o i386/101667 i386 [ata] ATA problems when power management is on o i386/101857 i386 Mouse not moving after switching with StarView SV411 K o i386/102410 i386 [install] FreeBSD 6.1-RELEASE installation boot freeze o i386/102562 i386 [em] no traffic pass through a em card after approx. a o i386/103063 i386 [install] Can not install on Dell XPS 700 s i386/103624 i386 [ata] [install] Problem installing on Dell Powervault o i386/104349 i386 [bfe] Panic while uploading data via bfe network inter o i386/104473 i386 boot loader reboots before loading kernel on Albatron o i386/104572 i386 [ata] issues with detecting HDD on Intel Q965 Express o i386/104711 i386 [pcvt] with vt0.disabled=0 and PCVT in kernel - video/ o i386/104719 i386 Seagate ST3802110A errors/delays when using PIO4 or UD o i386/104867 i386 Clock running at 2x speed of wall clock o i386/105708 i386 [em] em driver failed to initialize on thinkpad X60 o i386/106233 i386 [bce] System halts on Dell 2950 (possibly due to locki o i386/107382 i386 [install] "Fatal trap 12" when installing FreeBSD 6.1 o i386/107564 i386 [install] fatal trap 19 during installation on a Dell o i386/108139 i386 [patch] System hangs after /sbin/shutdown o i386/108185 i386 [panic] freebsd 6.2 fatal kernel trap s i386/109200 i386 [ata] READ_UDMA UDMA ICRC error cause not detecting ca o i386/109250 i386 floppies on 6.2-Release are 6.2-Beta2 o i386/109568 i386 [panic] Reboot server with "Fatal trap 12" o i386/109610 i386 [panic] Fatal trap 12: page fault while in kernel mode o i386/110111 i386 [install] install hangs after APIC inspection, Xeon on o i386/110214 i386 [hang] FreeBSD 6.2 freezes on SSH activitiy caused by o i386/110218 i386 kmem_malloc(4096): kmem_map too small: 335544320 total o i386/112036 i386 [ata] TIMEOUT - WRITE_DMA retrying, TIMEOUT - READ_DMA o i386/112487 i386 [sio] kernel panic on swi0:sio o i386/112580 i386 BTX Halted on HP DV6255 Notebook o i386/112596 i386 [aac] aac driver causes kernel panic - page fault on 2 o i386/112635 i386 [hang] Hang during boot installation o i386/112700 i386 SMP Kernel with FreeBSD 6.2 release on compaq dl360 g1 o i386/114192 i386 Fail to boot with "error issuing ATA_IDENTIFY command" o i386/114208 i386 Problem booting the FreeBSD CD ISO image o i386/114535 i386 Toshiba Satellite 105A: "no driver attached" for vario o i386/115054 i386 NTP errors out on startup but restart of NTP fixes pro o i386/115152 i386 [ata] Sil 3512 SATA controller panics on 6.2 o i386/115285 i386 [panic] fatal trap 1 on freebsd 6.2 install boot up on o i386/115947 i386 Dell poweredge 860 hangs when stressed and ACPI is ena o i386/115951 i386 pppoed tun not closed after client abruptally disconne 125 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/73921 i386 [sysctl] [patch] sysctlbyname for machdep.tsc_freq doe o i386/74153 i386 [pst] FreeBSD 5.3 cannot boot ftom pst o i386/74327 i386 [pmap] [patch] mlock() causes physical memory leakage o i386/74454 i386 [bsd.cpu.mk] [patch] Adding VIA Eden family o i386/74650 i386 System Reboot with umount command p i386/75898 i386 Exception and reboot: Loader and kernel use SSE2 instr o i386/79091 i386 [i386] [patch] Small optimization for i386/support.s o i386/79840 i386 [sysinstall] Partitioning and formating a new disk fai o i386/80095 i386 ld-elf.so.1 crashes with executables produced by tinyc o i386/85417 i386 [i386] [patch] Possible bug in ia32 floating-point exc o i386/85423 i386 [ex] ex(4) does not correctly recognize NIC in PnP mod o i386/85652 i386 [loader] [patch] deal with out-of-memory errors during o i386/85653 i386 [i386] [patch] relieve hangs in tight loops in process o i386/85654 i386 [i386] [patch] separate max cpu from max apic in i386 o i386/85655 i386 [i386] [patch] expose cpu info for i386 systems o i386/85656 i386 [i386] [patch] expose more i386 specific CPU informati o i386/88020 i386 cannot boot unless: hint.apic.0.disabled="1" is set on o i386/88491 i386 [install] Panic when boot installation CD1 (Acer Trave o i386/88965 i386 vidcontrol hangs with 2 modules of RAM o i386/90243 i386 Laptop fan doesn't turn off (ACPI enabled) (Packard Be o i386/90839 i386 [ata] burncd gets error on CDRIOCFIXATE with HL-DT-ST o i386/91594 i386 FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/1000 MT o i386/91871 i386 [boot1] [patch] boot1: jump to 0xf000:0xfff0 instead o o i386/92501 i386 [irq] Hang on boot with ACPI enabled on ASUS A6R noteb o i386/93793 i386 [kbd] Keyboard stops working after a shutdown -p now ( o i386/95106 i386 [install] cannot install freebsd, Nvidia nForce 2 base o i386/95993 i386 Cyrix 5530 unable to map interrupt o i386/96406 i386 System freezes on IBM xSeries 335 with FreeBSD-6.0-REL o i386/98366 i386 [em] Intel PRO/1000 MT Dual PCI-X: simulatenious 1000 o i386/98932 i386 [i386] [patch] Kernel compilation failed on specific P o i386/100142 i386 [pci] [patch] /dev/smb0 device not available on system o i386/100204 i386 FreeBSD reports raid as broken - but it is not o i386/101062 i386 Freeze on detect Intel 900 VGA on boot with ACPI p i386/101379 i386 [i386] [patch] page fault clobbers error code in trap f i386/103192 i386 no CD/DVD devices found while install Freebsd o i386/105063 i386 [sio] US Robotics (3Com) 3CP5609 PCI 16550 Modem works o i386/105175 i386 [ipmi] ipmi acpi trouble on supermicro server o i386/106421 i386 FreeBSD 6.1 Installation - Fatal Trap 12 o i386/106493 i386 [patch] pxeboot(8) uses /pxeroot instead of / o i386/106789 i386 [nfe] or [nve]: Internal NIC of GA-K8N51GMF-RH does no o i386/106850 i386 [powerd] powernow0 attach returned 6 o i386/109423 i386 [ichsmb] ICH5 smb interface problems o i386/109470 i386 [wi] Orinoco Classic Gold PC Card Can't Channel Hop o i386/109760 i386 [modules] kldunload acpi_video - crash o i386/113100 i386 [sata] motherboard Asus M2N-MX chipset nForce 439 NCP= o i386/113110 i386 [mk] [patch] i686 is not an alias of pentiumpro on GCC o i386/113160 i386 [install] mountroot> prompt during first boot for inst o i386/113177 i386 [pci] [fix] Extended PCI Configuration register (>= 0x o i386/115197 i386 can not install from USB stick drive o i386/115253 i386 Wireless keyboard not working at boot o i386/115695 i386 When "device padlock" defined first ssh to machine giv 51 problems total. From owner-freebsd-i386@FreeBSD.ORG Mon Sep 3 23:17:36 2007 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ABEA16A419; Mon, 3 Sep 2007 23:17:36 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx02.syd.optusnet.com.au (fallbackmx02.syd.optusnet.com.au [211.29.133.72]) by mx1.freebsd.org (Postfix) with ESMTP id E9B5C13C459; Mon, 3 Sep 2007 23:17:35 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by fallbackmx02.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l831JCan001016; Mon, 3 Sep 2007 11:19:12 +1000 Received: from c220-239-235-248.carlnfd3.nsw.optusnet.com.au (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l831Ib07017221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Sep 2007 11:18:44 +1000 Date: Mon, 3 Sep 2007 11:18:37 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Roman Divacky In-Reply-To: <20070902173953.GA52566@freebsd.org> Message-ID: <20070903105130.L48985@delplex.bde.org> References: <20070902173953.GA52566@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: arch@freebsd.org, i386@freebsd.org Subject: Re: PSL_RF inclusion in PSL_USERCHANGE for i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 23:17:36 -0000 On Sun, 2 Sep 2007, Roman Divacky wrote: > in i386/i386/machdep.c the set_regs() function sets i386 registers (called > by ptrace for example). it checks what eflags are being changed and compares > that with a mask of allowed flags to be changed. the mask is defined in psl.h > like this: > > #define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \ > | PSL_D | PSL_V | PSL_NT | PSL_AC | PSL_ID) > > PSL_RF (Flag to ensure single-step only happens once per instruction.). Can someone > tell me why this is omitted? I think its because of having in-kernel debugger. I think it is just because user mode cannot set this flag directly, except probably in vm86 mode (vm86 support code already has special cases for it). (Old) docs say that it can be set by popfl and iret, but popfl doesn't set it for me now and user mode cannot execute iret (?). > User-mode Linux requires this to be allowed. So I wonder why this is disabled in FreeBSD. > (Linux itself does not check the eflags in any way). > > thanks for answer, and/or pointer to answer FreeBSD allows setting or at least preserving it in sigreturn(). See my large comment in sigreturn(). The comment has been copied ad nauseum into 3 versions of sigreturn(), so removing this special case would be a large cleanup. According to the comment, for user mode it is the CPU that sets PSL_RF for faults (for all faults or only for debug faults, so that faults can be restarted without interference from debuggers. I think the CPU also automatically clears PSL_RF after executing 1 instruction, so it is hard to observe it as set and hard to see how setting it in set_regs() could have any effect. Well, set_regs() is just an easier way to set registers than sigreturn(). sigreturn() omits PSL_RF from its security check, so there there is no possibility of a _new_ security hole from omitting the check in set_regs() too. (But better put PSL_RF in PSL_USERCHANGE and remove all the special cases). After return to user mode with PSL_RF set, I think PSL_RF affects only the first instruction in user mode, so any changes in effects would be observable only there. Please check that something reasonable happens. The user mode code is something like: int $0x80 # syscall xxx # some instruction -- what happens for # hardware breakpoints, etc., on this # instruction. I vaguely remember problems (perhaps under another OS) with debugging the first instruction after a syscall returns. Perhaps they are still there and are caused by precisely the resume flag, if the resume flag is set automatically by int $N or if the kernel sets it. Allowing set_regs() to set the resume flag might cause the same problem for just the ptrace/procfs calls that use set_regs() if it doesn't affect all syscalls. It's hard to see how this problem could actually be a feature. To use it as a feature, userland would have to ensure that the xxx in the above is a certain instruction that benefits from this behaviour. Bruce From owner-freebsd-i386@FreeBSD.ORG Tue Sep 4 04:41:34 2007 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A11B16A419; Tue, 4 Sep 2007 04:41:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 1624913C48A; Tue, 4 Sep 2007 04:41:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1ISPTP-000Ezm-MC; Tue, 04 Sep 2007 06:53:16 +0300 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l843r6W2077910; Tue, 4 Sep 2007 06:53:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l843r6bZ077903; Tue, 4 Sep 2007 06:53:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 4 Sep 2007 06:53:06 +0300 From: Kostik Belousov To: Bruce Evans Message-ID: <20070904035306.GB53667@deviant.kiev.zoral.com.ua> References: <20070902173953.GA52566@freebsd.org> <20070903105130.L48985@delplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <20070903105130.L48985@delplex.bde.org> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: efe3bc1504fa577d936f03857ce6b673 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1428 [September 3 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: arch@freebsd.org, Roman Divacky , i386@freebsd.org Subject: Re: PSL_RF inclusion in PSL_USERCHANGE for i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 04:41:34 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 03, 2007 at 11:18:37AM +1000, Bruce Evans wrote: >=20 > On Sun, 2 Sep 2007, Roman Divacky wrote: >=20 > >in i386/i386/machdep.c the set_regs() function sets i386 registers (call= ed > >by ptrace for example). it checks what eflags are being changed and=20 > >compares > >that with a mask of allowed flags to be changed. the mask is defined in= =20 > >psl.h > >like this: > > > >#define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \ > > | PSL_D | PSL_V | PSL_NT | PSL_AC | PSL_ID) > > > >PSL_RF (Flag to ensure single-step only happens once per instruction.).= =20 > >Can someone > >tell me why this is omitted? I think its because of having in-kernel=20 > >debugger. >=20 > I think it is just because user mode cannot set this flag directly, > except probably in vm86 mode (vm86 support code already has special > cases for it). (Old) docs say that it can be set by popfl and iret, > but popfl doesn't set it for me now and user mode cannot execute iret (?). It can. It would result in exception when the normal privilege checks trigg= ers, but would execute as expected otherwise. For instance, #include .text .globl main .type main, @function main: pushl $12 /* _exit() code */ pushfl pushl %cs pushl $2f iretl 1: movl $SYS_exit, %eax pushl %eax int $0x80 2: pushl $hello call printf popl %eax jmp 1b .size main, . - main hello: .asciz "Hello from iret\n" --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG3NahC3+MBN1Mb4gRArvYAJ463KcW7Ryhk9Q70RpLY1hqKuUFoQCeO9Xw v4RdylW+Gp4TNzhrLNA1Gwo= =0i/3 -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- From owner-freebsd-i386@FreeBSD.ORG Wed Sep 5 01:30:02 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA0BE16A420 for ; Wed, 5 Sep 2007 01:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8C90713C491 for ; Wed, 5 Sep 2007 01:30: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.1/8.14.1) with ESMTP id l851U2Ki025158 for ; Wed, 5 Sep 2007 01:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l851U2J2025157; Wed, 5 Sep 2007 01:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 5 Sep 2007 01:30:02 GMT Resent-Message-Id: <200709050130.l851U2J2025157@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Andrianov <666.root@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C672F16A41A for ; Wed, 5 Sep 2007 01:21:41 +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 B7AA113C45E for ; Wed, 5 Sep 2007 01:21:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l851Lfau056953 for ; Wed, 5 Sep 2007 01:21:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l851LfrY056952; Wed, 5 Sep 2007 01:21:41 GMT (envelope-from nobody) Message-Id: <200709050121.l851LfrY056952@www.freebsd.org> Date: Wed, 5 Sep 2007 01:21:41 GMT From: Dmitry Andrianov <666.root@gmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/116100: Fatal trap 12 right after reboot (da0s1error = 6) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 01:30:02 -0000 >Number: 116100 >Category: i386 >Synopsis: Fatal trap 12 right after reboot (da0s1error = 6) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 05 01:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Andrianov >Release: 7.0 >Organization: - >Environment: 7.0-CURRENT-200704 FreeBSD 7.0-CURRENT-200704 #0: Sun Apr 1 14:46:54 UTC 2007 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: bash-2.05b#mount -t msdosfs /dev/da0s1 /mnt bash-2.05b# .. bash-2.05b#reboot <118>Sep 3 18:54:08 zingel reboot: rebooted by root <118>Sep 3 18:54:08 zingel syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...1 0 0 0 done All buffers synced. g_vfs_done():da0s1[READ(offset=65536, length=4096)]error = 6 (da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0 (da0:dead_sim0:0:0:0): removing device entry Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0675487 stack pointer = 0x28:0xd86f7b98 frame pointer = 0x28:0xd86f7bd0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 94766 (reboot) bash-2.05b# kgdb /boot/kernel/kernel /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: <118>Sep 3 18:54:08 zingel syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...1 0 0 0 done All buffers synced. g_vfs_done():da0s1[READ(offset=65536, length=4096)]error = 6 (da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0 (da0:dead_sim0:0:0:0): removing device entry Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0675487 stack pointer = 0x28:0xd86f7b98 frame pointer = 0x28:0xd86f7bd0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 94766 (reboot) Physical memory: 495 MB Dumping 140 MB: 125 109 93 77 61 45 29 13 Dump complete Physical memory: 495 MB Dumping 140 MB: 125 109 93 77 61 45 29 13 #0 doadump () at pcpu.h:172 172 pcpu.h: No such file or directory. in pcpu.h bash-2.05b# dmesg -a | grep da0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 998MB (511296 2048 byte sectors: 64H 32S/T 249C) thk. >How-To-Repeat: mount -t msdosfs /dev/da0s1 /mnt .. reboot >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-i386@FreeBSD.ORG Wed Sep 5 05:49:15 2007 Return-Path: Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13B3616A417; Wed, 5 Sep 2007 05:49:15 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id A4EDA13C458; Wed, 5 Sep 2007 05:49:14 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l855lnO4020801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Sep 2007 15:48:09 +1000 Date: Wed, 5 Sep 2007 15:47:49 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Dmitry Andrianov <666.root@gmail.com> In-Reply-To: <200709050121.l851LfrY056952@www.freebsd.org> Message-ID: <20070905153535.F4195@besplex.bde.org> References: <200709050121.l851LfrY056952@www.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-i386@FreeBSD.org Subject: Re: i386/116100: Fatal trap 12 right after reboot (da0s1error = 6) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 05:49:15 -0000 On Wed, 5 Sep 2007, Dmitry Andrianov wrote: >> Environment: > 7.0-CURRENT-200704 FreeBSD 7.0-CURRENT-200704 #0: Sun Apr 1 14:46:54 UTC 2007 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 This is old, so not broken by me :-). >> Description: > bash-2.05b#mount -t msdosfs /dev/da0s1 /mnt > bash-2.05b# > .. > bash-2.05b#reboot > > <118>Sep 3 18:54:08 zingel reboot: rebooted by root > <118>Sep 3 18:54:08 zingel syslogd: exiting on signal 15 > Waiting (max 60 seconds) for system process `vnlru' to stop...done > Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > Waiting (max 60 seconds) for system process `syncer' to stop... > Syncing disks, vnodes remaining...1 0 0 0 done > All buffers synced. > g_vfs_done():da0s1[READ(offset=65536, length=4096)]error = 6 An i/o error in unmount is likely to cause problems. The system never gives up trying to write unwriteable buffers, and tends to panic trying to write them later. I recently fixed some panics in unmount (not yet committed), but the fix is to make unmount not fail, and that won't help for reboot because unmount cannot fail. msdosfs and perhaps even ffs normally does a write in unmount _after_ the "All buffers synced" message has been printed. > (da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0 > (da0:dead_sim0:0:0:0): removing device entry Removing a device entry is a wrong thing to do if there is i/o pending on the device. It would work if the i/o is reattached to dead_something, but that apparently isn't done. You need to figure out what caused the i/o error -- is it msdosfs, the disk driver or the disk? Bruce From owner-freebsd-i386@FreeBSD.ORG Wed Sep 5 05:50:08 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C664216A417 for ; Wed, 5 Sep 2007 05:50:08 +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 AEB4313C465 for ; Wed, 5 Sep 2007 05:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l855o8V4040153 for ; Wed, 5 Sep 2007 05:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l855o8Al040152; Wed, 5 Sep 2007 05:50:08 GMT (envelope-from gnats) Date: Wed, 5 Sep 2007 05:50:08 GMT Message-Id: <200709050550.l855o8Al040152@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Bruce Evans Cc: Subject: Re: i386/116100: Fatal trap 12 right after reboot (da0s1error = 6) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Evans List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 05:50:08 -0000 The following reply was made to PR i386/116100; it has been noted by GNATS. From: Bruce Evans To: Dmitry Andrianov <666.root@gmail.com> Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-i386@FreeBSD.org Subject: Re: i386/116100: Fatal trap 12 right after reboot (da0s1error = 6) Date: Wed, 5 Sep 2007 15:47:49 +1000 (EST) On Wed, 5 Sep 2007, Dmitry Andrianov wrote: >> Environment: > 7.0-CURRENT-200704 FreeBSD 7.0-CURRENT-200704 #0: Sun Apr 1 14:46:54 UTC 2007 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 This is old, so not broken by me :-). >> Description: > bash-2.05b#mount -t msdosfs /dev/da0s1 /mnt > bash-2.05b# > .. > bash-2.05b#reboot > > <118>Sep 3 18:54:08 zingel reboot: rebooted by root > <118>Sep 3 18:54:08 zingel syslogd: exiting on signal 15 > Waiting (max 60 seconds) for system process `vnlru' to stop...done > Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > Waiting (max 60 seconds) for system process `syncer' to stop... > Syncing disks, vnodes remaining...1 0 0 0 done > All buffers synced. > g_vfs_done():da0s1[READ(offset=65536, length=4096)]error = 6 An i/o error in unmount is likely to cause problems. The system never gives up trying to write unwriteable buffers, and tends to panic trying to write them later. I recently fixed some panics in unmount (not yet committed), but the fix is to make unmount not fail, and that won't help for reboot because unmount cannot fail. msdosfs and perhaps even ffs normally does a write in unmount _after_ the "All buffers synced" message has been printed. > (da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0 > (da0:dead_sim0:0:0:0): removing device entry Removing a device entry is a wrong thing to do if there is i/o pending on the device. It would work if the i/o is reattached to dead_something, but that apparently isn't done. You need to figure out what caused the i/o error -- is it msdosfs, the disk driver or the disk? Bruce From owner-freebsd-i386@FreeBSD.ORG Wed Sep 5 12:26:53 2007 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA3616A502; Wed, 5 Sep 2007 12:26:53 +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 37BD113C461; Wed, 5 Sep 2007 12:26:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l85CQohE074247; Wed, 5 Sep 2007 08:26:50 -0400 (EDT) (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.1/8.14.1) with ESMTP id l85CQoO5097533; Wed, 5 Sep 2007 08:26:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id B10CA241A2; Wed, 5 Sep 2007 08:27:13 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070905122713.B10CA241A2@freebsd-stable.sentex.ca> Date: Wed, 5 Sep 2007 08:27:13 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [releng_6 tinderbox] failure on i386/i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 12:26:53 -0000 TB --- 2007-09-05 11:00:49 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2007-09-05 11:00:49 - starting RELENG_6 tinderbox run for i386/i386 TB --- 2007-09-05 11:00:49 - cleaning the object tree TB --- 2007-09-05 11:01:30 - checking out the source tree TB --- 2007-09-05 11:01:30 - cd /tinderbox/RELENG_6/i386/i386 TB --- 2007-09-05 11:01:30 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_6 src TB --- 2007-09-05 11:11:45 - building world (CFLAGS=-O2 -pipe) TB --- 2007-09-05 11:11:45 - cd /src TB --- 2007-09-05 11:11:45 - /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 TB --- 2007-09-05 12:17:18 - generating LINT kernel config TB --- 2007-09-05 12:17:18 - cd /src/sys/i386/conf TB --- 2007-09-05 12:17:18 - /usr/bin/make -B LINT TB --- 2007-09-05 12:17:18 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-09-05 12:17:18 - cd /src TB --- 2007-09-05 12:17:18 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Sep 5 12:17:18 UTC 2007 >>> 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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_sema.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_shutdown.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_sig.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_subr.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_sx.c /src/sys/kern/kern_sx.c:1000:1: "LOCK_CLASS" redefined In file included from /src/sys/kern/kern_sx.c:47: /src/sys/sys/lock.h:71:1: this is the location of the previous definition *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-09-05 12:27:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-09-05 12:27:13 - ERROR: failed to build lint kernel TB --- 2007-09-05 12:27:13 - tinderbox aborted TB --- 1.43 user 4.17 system 5184.54 real http://tinderbox.des.no/tinderbox-releng_6-RELENG_6-i386-i386.full From owner-freebsd-i386@FreeBSD.ORG Wed Sep 5 13:50:42 2007 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5565B16A41A; Wed, 5 Sep 2007 13:50:42 +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 21D9613C46C; Wed, 5 Sep 2007 13:50:40 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l85DoO8d089209; Wed, 5 Sep 2007 09:50:24 -0400 (EDT) (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.1/8.14.1) with ESMTP id l85DoOKg003808; Wed, 5 Sep 2007 09:50:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 068A8241A2; Wed, 5 Sep 2007 09:50:47 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070905135048.068A8241A2@freebsd-stable.sentex.ca> Date: Wed, 5 Sep 2007 09:50:47 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [releng_6 tinderbox] failure on i386/pc98 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 13:50:42 -0000 TB --- 2007-09-05 12:27:13 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2007-09-05 12:27:13 - starting RELENG_6 tinderbox run for i386/pc98 TB --- 2007-09-05 12:27:13 - cleaning the object tree TB --- 2007-09-05 12:27:52 - checking out the source tree TB --- 2007-09-05 12:27:52 - cd /tinderbox/RELENG_6/i386/pc98 TB --- 2007-09-05 12:27:52 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_6 src TB --- 2007-09-05 12:38:35 - building world (CFLAGS=-O2 -pipe) TB --- 2007-09-05 12:38:35 - cd /src TB --- 2007-09-05 12:38:35 - /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 TB --- 2007-09-05 13:42:24 - generating LINT kernel config TB --- 2007-09-05 13:42:24 - cd /src/sys/pc98/conf TB --- 2007-09-05 13:42:24 - /usr/bin/make -B LINT TB --- 2007-09-05 13:42:25 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-09-05 13:42:25 - cd /src TB --- 2007-09-05 13:42:25 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Sep 5 13:42:25 UTC 2007 >>> 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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_sema.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_shutdown.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_sig.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_subr.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 -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/kern/kern_sx.c /src/sys/kern/kern_sx.c:1000:1: "LOCK_CLASS" redefined In file included from /src/sys/kern/kern_sx.c:47: /src/sys/sys/lock.h:71:1: this is the location of the previous definition *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-09-05 13:50:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-09-05 13:50:47 - ERROR: failed to build lint kernel TB --- 2007-09-05 13:50:47 - tinderbox aborted TB --- 1.24 user 4.10 system 5013.95 real http://tinderbox.des.no/tinderbox-releng_6-RELENG_6-i386-pc98.full From owner-freebsd-i386@FreeBSD.ORG Sat Sep 8 10:00:09 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC4F116A418 for ; Sat, 8 Sep 2007 10:00:09 +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 9E36213C45D for ; Sat, 8 Sep 2007 10:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l88A097X033724 for ; Sat, 8 Sep 2007 10:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l88A096g033721; Sat, 8 Sep 2007 10:00:09 GMT (envelope-from gnats) Resent-Date: Sat, 8 Sep 2007 10:00:09 GMT Resent-Message-Id: <200709081000.l88A096g033721@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, russell Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F28AB16A419 for ; Sat, 8 Sep 2007 09:57:18 +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 D321C13C46C for ; Sat, 8 Sep 2007 09:57:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l889vIpg001002 for ; Sat, 8 Sep 2007 09:57:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l889vIO5001001; Sat, 8 Sep 2007 09:57:18 GMT (envelope-from nobody) Message-Id: <200709080957.l889vIO5001001@www.freebsd.org> Date: Sat, 8 Sep 2007 09:57:18 GMT From: russell To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/116199: missing download links on website X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 10:00:09 -0000 >Number: 116199 >Category: i386 >Synopsis: missing download links on website >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Sep 08 10:00:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: russell >Release: >Organization: home user >Environment: >Description: tried downloading iso files of both 5.5 and 6.2 today - both have missing links - how can i get freeBSD? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-i386@FreeBSD.ORG Sat Sep 8 10:20:35 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F9A16A421; Sat, 8 Sep 2007 10:20:35 +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 136A613C4F2; Sat, 8 Sep 2007 10:20:35 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l88AKYpf035082; Sat, 8 Sep 2007 10:20:34 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l88AKY3O035077; Sat, 8 Sep 2007 10:20:34 GMT (envelope-from remko) Date: Sat, 8 Sep 2007 10:20:34 GMT Message-Id: <200709081020.l88AKY3O035077@freefall.freebsd.org> To: dccl12240@blueyonder.co.uk, remko@FreeBSD.org, freebsd-i386@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: i386/116199: missing download links on website X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 10:20:35 -0000 Synopsis: missing download links on website State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Sat Sep 8 10:20:30 UTC 2007 State-Changed-Why: This is not a PR this is a general support question, please see http://www.freebsd.org/where.html for more information on retrieving the ISO Files, or checkout one of the many mirrors that host our ISO files. http://www.freebsd.org/cgi/query-pr.cgi?pr=116199