From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 24 16:10:02 2010 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 8002F1065676 for ; Sun, 24 Jan 2010 16: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 5C61E8FC1A for ; Sun, 24 Jan 2010 16:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0OGA2bN001085 for ; Sun, 24 Jan 2010 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0OGA2I8001084; Sun, 24 Jan 2010 16:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 24 Jan 2010 16:10:02 GMT Resent-Message-Id: <201001241610.o0OGA2I8001084@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, sng Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D00E106568F for ; Sun, 24 Jan 2010 16:02:37 +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 7AF288FC1F for ; Sun, 24 Jan 2010 16:02:37 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0OG2b1K093261 for ; Sun, 24 Jan 2010 16:02:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0OG2bEr093260; Sun, 24 Jan 2010 16:02:37 GMT (envelope-from nobody) Message-Id: <201001241602.o0OG2bEr093260@www.freebsd.org> Date: Sun, 24 Jan 2010 16:02:37 GMT From: sng To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: amd64/143173: Promise FastTrack TX4 + sata DVD, instalator can't mount cd and install system 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, 24 Jan 2010 16:10:02 -0000 >Number: 143173 >Category: amd64 >Synopsis: Promise FastTrack TX4 + sata DVD, instalator can't mount cd and install system >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 24 16:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: sng >Release: AMD64 8.0- STABLE >Organization: >Environment: >Description: I was going to install FreeBSD on machine with Promise FastTrack TX4 and SATA DVD (Plextor PX-810SA) connected to it. CD is booting, but im getting this error: ata2: SIGNATURE: eb140101 ata2: SIGNATURE: ffffffff acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: CDROM at ata2-master SATA150 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command Im getting sysinstall menu, I can set partitions and so on but instlator can't mount cd and install system on HDD. I had to install from net or UBS stick. Full DMESG: Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 285 SE (2588.98-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x3 real memory = 8589934592 (8192 MB) avail memory = 7712686080 (7355 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, ddf00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_hpet0: iomem 0xfec01000-0xfec013ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 ohci0: mem 0xff3ed000-0xff3edfff irq 19 at device 0.0 on pci1 ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0xff3ee000-0xff3eefff irq 19 at device 0.1 on pci1 ohci1: [ITHREAD] usbus1: on ohci1 pci1: at device 4.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 pcib3: at device 2.0 on pci2 pci3: on pcib3 vgapci0: port 0x9000-0x90ff mem 0xe0000000-0xefffffff,0xff4f0000-0xff4fffff irq 26 at device 0.0 on pci3 pci3: at device 0.1 (no driver attached) pci2: at device 3.0 (no driver attached) pcib4: at device 11.0 on pci0 pci4: on pcib4 atapci1: port 0xbc00-0xbc7f,0xb800-0xb8ff mem 0xff5ff000-0xff5fffff,0xff5c0000-0xff5dffff irq 29 at device 1.0 on pci4 atapci1: [ITHREAD] atapci1: [ITHREAD] ata2: on atapci1 ata2: SIGNATURE: eb140101 ata2: [ITHREAD] ata3: on atapci1 ata3: SIGNATURE: 00000101 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: SIGNATURE: 00000101 ata5: [ITHREAD] acpi_button0: on acpi0 atrtc0: port 0x70-0x71 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 cpu0: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 cpu1: on acpi0 powernow1: on cpu1 device_attach: powernow1 attach returned 6 cpu2: on acpi0 powernow2: on cpu2 device_attach: powernow2 attach returned 6 cpu3: on acpi0 powernow3: on cpu3 device_attach: powernow3 attach returned 6 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xd3fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 uhub0: 3 ports with 3 removable, self powered uhub1: 3 ports with 3 removable, self powered ugen1.2: at usbus1 ums0: on usbus1 ums0: 16 buttons and [XYZ] coordinates ID=0 uhid0: on usbus1 ata2: SIGNATURE: eb140101 ata2: SIGNATURE: ffffffff acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: CDROM at ata2-master SATA150 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command ad6: 152627MB at ata3-master SATA150 ad10: 152627MB at ata5-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/ad10s1a >How-To-Repeat: Connect sata dvd to PCI Promise FastTrack TX4 controler- that do the magic... >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 24 16:40:52 2010 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 74F021065670; Sun, 24 Jan 2010 16:40:52 +0000 (UTC) (envelope-from piokud84@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 83B158FC0A; Sun, 24 Jan 2010 16:40:51 +0000 (UTC) Received: by fxm26 with SMTP id 26so329989fxm.13 for ; Sun, 24 Jan 2010 08:40:50 -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 :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=tSAuFlioJ8+uV02oifEcTW7qflO1eTr0V8RzELEkuHY=; b=WacWuw+zZ/Zp6N7oqgCKgSUDwuwI09YqoxqhaWusB8Aao6Y+4abby2jSsPXjRvxhqF NQKsTOSuOsa5FA5xVPD/eCxT71SjM6FHty1PFb2zujqwgyvByv/JR9vqEuQiT1sotfR4 /p9K4dNmd72szS2hz+KNoXzRT0nsuGDaxqH0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=nPvriPt5nIpOkRqLtWvi1EZnl7ep+OGKZ8mElQptTLX9VD7SrqiN83sP8dY8J/m72Y ZaBH+dNSQbcgDTyqJDwdcRjdroLYAR3Bsuc3gdyOVLiyEC2Ry1VCx0tbDsbrnJdxAgmA 2liKcCXNmPxIaS0Qi6hF1G/teAeUGg5cp+sms= Received: by 10.223.17.70 with SMTP id r6mr5632112faa.22.1264349628544; Sun, 24 Jan 2010 08:13:48 -0800 (PST) Received: from ?192.168.0.6? (chello089074015015.chello.pl [89.74.15.15]) by mx.google.com with ESMTPS id 13sm2279401fxm.5.2010.01.24.08.13.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 Jan 2010 08:13:47 -0800 (PST) Message-ID: <4B5C63A9.4050400@gmail.com> Date: Sun, 24 Jan 2010 16:13:45 +0100 From: Piotrek User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@freebsd.org, freebsd-amd64@freebsd.org, freebsd-hardware@freebsd.org Subject: Promise FastTrack TX4 + SATA DVD 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, 24 Jan 2010 16:40:52 -0000 I was going to install FreeBSD on machine with Promise FastTrack TX4 and SATA DVD (Plextor PX-810SA) connected to it. CD is booting, but im getting this error: ata2: SIGNATURE: eb140101 ata2: SIGNATURE: ffffffff acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: CDROM at ata2-master SATA150 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command Im getting sysinstall menu, I can set partitions and so on, but instlator can't mount cd and install system on HDD, I have to install system from net or UBS stick. Full DMESG: Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 285 SE (2588.98-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x3 real memory = 8589934592 (8192 MB) avail memory = 7712686080 (7355 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, ddf00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_hpet0: iomem 0xfec01000-0xfec013ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 ohci0: mem 0xff3ed000-0xff3edfff irq 19 at device 0.0 on pci1 ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0xff3ee000-0xff3eefff irq 19 at device 0.1 on pci1 ohci1: [ITHREAD] usbus1: on ohci1 pci1: at device 4.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 pcib3: at device 2.0 on pci2 pci3: on pcib3 vgapci0: port 0x9000-0x90ff mem 0xe0000000-0xefffffff,0xff4f0000-0xff4fffff irq 26 at device 0.0 on pci3 pci3: at device 0.1 (no driver attached) pci2: at device 3.0 (no driver attached) pcib4: at device 11.0 on pci0 pci4: on pcib4 atapci1: port 0xbc00-0xbc7f,0xb800-0xb8ff mem 0xff5ff000-0xff5fffff,0xff5c0000-0xff5dffff irq 29 at device 1.0 on pci4 atapci1: [ITHREAD] atapci1: [ITHREAD] ata2: on atapci1 ata2: SIGNATURE: eb140101 ata2: [ITHREAD] ata3: on atapci1 ata3: SIGNATURE: 00000101 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: SIGNATURE: 00000101 ata5: [ITHREAD] acpi_button0: on acpi0 atrtc0: port 0x70-0x71 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 cpu0: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 cpu1: on acpi0 powernow1: on cpu1 device_attach: powernow1 attach returned 6 cpu2: on acpi0 powernow2: on cpu2 device_attach: powernow2 attach returned 6 cpu3: on acpi0 powernow3: on cpu3 device_attach: powernow3 attach returned 6 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xd3fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 uhub0: 3 ports with 3 removable, self powered uhub1: 3 ports with 3 removable, self powered ugen1.2: at usbus1 ums0: on usbus1 ums0: 16 buttons and [XYZ] coordinates ID=0 uhid0: on usbus1 ata2: SIGNATURE: eb140101 ata2: SIGNATURE: ffffffff acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: CDROM at ata2-master SATA150 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command ad6: 152627MB at ata3-master SATA150 ad10: 152627MB at ata5-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/ad10s1a Waiting for patches ;) PS. I never did debugging, so if someone needs dumps etc. please give me some clues what do I need to do... From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 24 20:30:06 2010 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 29028106566B for ; Sun, 24 Jan 2010 20:30:06 +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 F1BB98FC13 for ; Sun, 24 Jan 2010 20:30:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0OKU5lo030331 for ; Sun, 24 Jan 2010 20:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0OKU5Ft030326; Sun, 24 Jan 2010 20:30:05 GMT (envelope-from gnats) Date: Sun, 24 Jan 2010 20:30:05 GMT Message-Id: <201001242030.o0OKU5Ft030326@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Alexander Motin Cc: Subject: Re: amd64/143173: Promise FastTrack TX4 + sata DVD, instalator can't mount cd and install system X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Motin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 20:30:06 -0000 The following reply was made to PR amd64/143173; it has been noted by GNATS. From: Alexander Motin To: bug-followup@FreeBSD.org, piokud84@gmail.com Cc: Subject: Re: amd64/143173: Promise FastTrack TX4 + sata DVD, instalator can't mount cd and install system Date: Sun, 24 Jan 2010 22:20:54 +0200 I am not sure that that Promise driver at all supports ATAPI devices. I don't have such controllers yet to test it. -- Alexander Motin From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 24 22:42:29 2010 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 1CA27106566C; Sun, 24 Jan 2010 22:42:29 +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 E73F38FC14; Sun, 24 Jan 2010 22:42:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0OMgSht065680; Sun, 24 Jan 2010 22:42:28 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0OMgSB5065676; Sun, 24 Jan 2010 22:42:28 GMT (envelope-from linimon) Date: Sun, 24 Jan 2010 22:42:28 GMT Message-Id: <201001242242.o0OMgSB5065676@freefall.freebsd.org> To: piokud84@gmail.com, linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: amd64/143173: [ata] Promise FastTrack TX4 + SATA DVD, installer can't mount cd and install system 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, 24 Jan 2010 22:42:29 -0000 Synopsis: [ata] Promise FastTrack TX4 + SATA DVD, installer can't mount cd and install system State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Sun Jan 24 22:42:02 UTC 2010 State-Changed-Why: Apparently we don't support this yet. Mark suspended awaiting patches. http://www.freebsd.org/cgi/query-pr.cgi?pr=143173 From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 11:06:55 2010 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 BA70A1065692 for ; Mon, 25 Jan 2010 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8D0CA8FC0C for ; Mon, 25 Jan 2010 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PB6tVi038690 for ; Mon, 25 Jan 2010 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0PB6stB038688 for freebsd-amd64@FreeBSD.org; Mon, 25 Jan 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Jan 2010 11:06:54 GMT Message-Id: <201001251106.o0PB6stB038688@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, 25 Jan 2010 12:31:23 +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, 25 Jan 2010 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- s amd64/143173 amd64 [ata] Promise FastTrack TX4 + SATA DVD, installer can' o amd64/142270 amd64 [hang] System trap on Xorg shutdown when using nvidia o amd64/141413 amd64 [hang] Tyan 2881 m3289 SMDC freeze o amd64/141112 amd64 [ata] [panic] Kernel panic when booting with any sATA o amd64/141060 amd64 [install] Can't install 8.0-RELEASE on the server wher o amd64/140715 amd64 [boot] Dell M600 Blade fails to boot 7.2+ 64 bit o amd64/140596 amd64 [panic] Kernel panic/crash o amd64/140391 amd64 [hang] powerd(8) freezes computer on Phenom II compute o amd64/140145 amd64 [boot] Installation boot sequence freezes o amd64/139998 amd64 [panic] 7.2 amd64 panic in kern_mutex.c:339 o amd64/139924 amd64 [boot] cd or dvd not load o amd64/139614 amd64 [minidump] minidumps fail when many interrupts fire f amd64/138661 amd64 [panic] Kernel Panic after typing "reboot" o amd64/138626 amd64 telepites o amd64/138029 amd64 [panic] periodically kernel panic and reboot o amd64/137942 amd64 [pci] 8.0-BETA2 having problems with Asus M2N-SLI-delu o amd64/136814 amd64 [mxge] mxge driver error s i386/135447 amd64 [i386] [request] Intel Core i7 and Nehalem-EP new feat o amd64/135265 amd64 [install] Boot from install cd hangs on HP DL160 G5 wi o amd64/135040 amd64 [ata] FreeBSD/amd64 does not (always) detect disk on S o amd64/135014 amd64 [padlock] Using padlock(4) in 8-current triggers "fpud o amd64/134978 amd64 [panic] g_up pmap amd64 panic o amd64/134757 amd64 32 bit processes on 64 bit platforms occasionally drop o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o amd64/133701 amd64 Recompiling the kernel with k8temp or smbios break GEO o amd64/132574 amd64 [boot] [hang] Freeze on bootstrap loader (CD) using AT f amd64/132019 amd64 [install] kernel trap 12 while installation o amd64/131906 amd64 [ata] SATA data corruption with Promise PDC20378 (amd6 o amd64/131456 amd64 ACPI & ATA problems o amd64/131314 amd64 [modules] [panic] large modules fail to load on amd64 o amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL f amd64/130885 amd64 sockstat(1) on amd64 does not work o amd64/130864 amd64 [hang] Problem with copying files to a large partition o amd64/130817 amd64 FreeBSD does not support HP DL160G5 [regression] o amd64/130494 amd64 [boot] netbooting BTX fails on amd64 o amd64/130483 amd64 [mxge] MSI must be disabled when Myricom 10Gbps Card i o amd64/130368 amd64 [hang] Switching from xorg to console locks up compute o amd64/129889 amd64 [boot] [hang] The booting process stops at the line mo o amd64/129721 amd64 [hang] Motherboard K9N2G Neo-FD hangs on boot of 7.0-R o amd64/129667 amd64 [ata] Elitegroup A780GM-A IDE controller not recognize o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o amd64/129315 amd64 [boot] [reboot] amd64 motherboard: Intel DG965WH mothe o amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o amd64/128810 amd64 AMD 64 port installation o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/128263 amd64 [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 a o amd64/128259 amd64 csh(1): "`" crashes csh o amd64/127640 amd64 gcc(1) will not build shared libraries with -fprofile- o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o amd64/127451 amd64 [scheduler] incorrect load on quad core o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI s amd64/127276 amd64 ldd(1) invokes linux yes o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/123520 amd64 [ahd] unable to boot from net while using ahd p amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails f amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116159 amd64 [panic] Panic while debugging on CURRENT s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/89501 amd64 [install] System crashes on install using ftp on local o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/76136 amd64 [hang] system halts before reboot o amd64/74747 amd64 [panic] System panic on shutdown when process will not 103 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 13:20:03 2010 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 AD678106568F for ; Mon, 25 Jan 2010 13: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 709E88FC1A for ; Mon, 25 Jan 2010 13:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PDK3cs056493 for ; Mon, 25 Jan 2010 13:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0PDK3Qs056492; Mon, 25 Jan 2010 13:20:03 GMT (envelope-from gnats) Resent-Date: Mon, 25 Jan 2010 13:20:03 GMT Resent-Message-Id: <201001251320.o0PDK3Qs056492@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, Andrei Lavreniyuk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD9AD106566C for ; Mon, 25 Jan 2010 13:13: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 AC93D8FC15 for ; Mon, 25 Jan 2010 13:13:41 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PDDfa2011524 for ; Mon, 25 Jan 2010 13:13:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0PDDfRe011523; Mon, 25 Jan 2010 13:13:41 GMT (envelope-from nobody) Message-Id: <201001251313.o0PDDfRe011523@www.freebsd.org> Date: Mon, 25 Jan 2010 13:13:41 GMT From: Andrei Lavreniyuk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 25 Jan 2010 14:43:34 +0000 Cc: Subject: amd64/143212: [nfs] NFSv4 client strange work ... 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, 25 Jan 2010 13:20:03 -0000 >Number: 143212 >Category: amd64 >Synopsis: [nfs] NFSv4 client strange work ... >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: Mon Jan 25 13:20:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andrei Lavreniyuk >Release: FreeBSD 8.0-STABLE >Organization: Technica-03, Inc. >Environment: FreeBSD datacenter.technica-03.local 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon Jan 25 10:30:02 EET 2010 root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64 amd64 >Description: # mount /mnt mount_newnfs: /mnt, : No such file or directory ^^^^^^^^^^^^^^^^^^^^ Whence the comma undertakes? >How-To-Repeat: kernel: options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options NFSLOCKD # Network Lock Manager options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec options NFS_MAXATTRTIMO=60 options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec options NFS_MAXDIRATTRTIMO=60 options NFS_GATHERDELAY=10 # Default write gather delay (msec) options NFS_WDELAYHASHSIZ=16 # and with this options NFSCL #experimental NFS client with NFSv4 options NFSD #experimental NFS server with NFSv4 rc.conf: rpcbind_enable="YES" nfs_client_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" nfsuserd_enable="YES" nfsuserd_flags="-domain localdomain" nfscbd_enable="YES" nfscbd_flags="-p 7654 -P root" fstab: open.technica-03.local:/data /mnt newnfs rw,nfsv4,tcp,sec=krb5p 0 0 mnt: # ls -la total 69 drwxr-xr-x 23 root wheel 28 25 янв 11:09 ./ drwxr-xr-x 23 root wheel 28 25 янв 11:09 ../ -rw-r--r-- 2 root wheel 6466 17 дек 15:06 .cshrc -rw-r--r-- 2 root wheel 3356 22 авг 23:28 .profile dr-xr-xr-x 3 root wheel 3 12 май 2009 .zfs/ -r--r--r-- 1 root wheel 6200 7 янв 12:27 COPYRIGHT drwxr-xr-x 2 root wheel 46 20 янв 17:49 bin/ drwxr-xr-x 9 root wheel 38 25 янв 10:41 boot/ drwxr-xr-x 2 root wheel 2 10 май 2009 cdrom/ drwxr-xr-x 3 root wheel 3 11 май 2009 compat/ dr-xr-xr-x 10 root wheel 512 25 янв 13:10 dev/ -rw------- 1 root wheel 4096 25 янв 11:09 entropy drwxr-xr-x 21 root wheel 136 25 янв 11:19 etc/ drwxr-xr-x 2 root wheel 2 10 май 2009 floppy/ lrwxr-xr-x 1 root wheel 9 12 май 2009 home@ -> /usr/home drwxr-xr-x 3 root wheel 48 20 янв 17:49 lib/ drwxr-xr-x 2 root wheel 6 20 янв 17:50 libexec/ drwxr-xr-x 2 root wheel 2 4 май 2009 media/ drwxr-xr-x 2 root wheel 2 25 янв 10:08 mnt/ drwxr-xr-x 5 root wheel 4 24 янв 14:52 nfs/ dr-xr-xr-x 1 root wheel 0 25 янв 15:11 proc/ drwxr-xr-x 2 root wheel 134 20 янв 17:49 rescue/ drwxr-xr-x 18 root wheel 63 25 янв 08:39 root/ drwxr-xr-x 2 root wheel 124 20 янв 17:50 sbin/ lrwxr-xr-x 1 root wheel 11 20 янв 17:49 sys@ -> usr/src/sys drwxr-xr-x 3 root wheel 2 24 янв 14:40 test/ drwxrwxrwt 14 root wheel 512 25 янв 14:34 tmp/ drwxr-xr-x 21 root wheel 21 7 янв 09:56 usr/ drwxr-xr-x 26 root wheel 25 25 янв 13:11 var/ >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 14:40:06 2010 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 469CC106566C for ; Mon, 25 Jan 2010 14:40:06 +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 0B9F78FC1E for ; Mon, 25 Jan 2010 14:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PEe5e3025148 for ; Mon, 25 Jan 2010 14:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0PEe5fZ025147; Mon, 25 Jan 2010 14:40:05 GMT (envelope-from gnats) Resent-Date: Mon, 25 Jan 2010 14:40:05 GMT Resent-Message-Id: <201001251440.o0PEe5fZ025147@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, sng Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 456EF106568B for ; Mon, 25 Jan 2010 14:39:50 +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 1B7618FC0C for ; Mon, 25 Jan 2010 14:39:50 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PEdnsj051787 for ; Mon, 25 Jan 2010 14:39:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0PEdnUu051751; Mon, 25 Jan 2010 14:39:49 GMT (envelope-from nobody) Message-Id: <201001251439.o0PEdnUu051751@www.freebsd.org> Date: Mon, 25 Jan 2010 14:39:49 GMT From: sng To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: amd64/143213: EDIMAX EW-7318USg can't set IP adress 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, 25 Jan 2010 14:40:06 -0000 >Number: 143213 >Category: amd64 >Synopsis: EDIMAX EW-7318USg can't set IP adress >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 25 14:40:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: sng >Release: AMD64 8.0- STABLE >Organization: >Environment: >Description: My USB EDIMAX EW-7318USg gives me this error: ifconfig: ioctl (SIOCAIFADDR): Invalid argument When i'm trying to set IP and netmask ifconfig rum0 inet 192.168.0.6 netmask 255.255.255.0 >How-To-Repeat: attach EDIMAX EW-7318USg to Your box and try to set IP >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 14:44:09 2010 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 7F3F3106566C; Mon, 25 Jan 2010 14:44:09 +0000 (UTC) (envelope-from piokud84@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 903708FC18; Mon, 25 Jan 2010 14:44:08 +0000 (UTC) Received: by fxm26 with SMTP id 26so1083768fxm.13 for ; Mon, 25 Jan 2010 06:44:07 -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 :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=fq9REAl1/njm4tlOHnMgNnyriw5KPigTtEzC07ben08=; b=WDtRpF7UPuMHc3l1WwQjGu9F6gTq+54buAdV10GE01ffl1cg5kTNBtUVz2reHQpErk ght5FZMG22HSezp/b17Ofme5K7JyuAtxqMYPlVegPCEX00cv0oc3XDRcwJlDU1huzjOf xa06kZFgKYoSp+y6spvjot7EakIvD1AdPb/I0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=ft30uXCBCMr2fSzte8QYJv7B8TeymYbGBKGJLN0hWavzaEqcIiNgefowX615I2qiAb oYTIWrBOzCT90vVKmoC6O3uBqtcITgxu70gzmBST7GXra23uQgH1Rnuva/9+Fgj1c4PA iNBFpOf1BJW5TMMJK+gkvGnxEukvIE32Ulevc= Received: by 10.87.72.8 with SMTP id z8mr8016886fgk.37.1264430647466; Mon, 25 Jan 2010 06:44:07 -0800 (PST) Received: from ?192.168.0.6? (chello089074015015.chello.pl [89.74.15.15]) by mx.google.com with ESMTPS id 13sm2732871fxm.13.2010.01.25.06.44.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Jan 2010 06:44:07 -0800 (PST) Message-ID: <4B5DA023.7060102@gmail.com> Date: Mon, 25 Jan 2010 14:44:03 +0100 From: Piotrek User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@freebsd.org, freebsd-amd64@freebsd.org, freebsd-hardware@freebsd.org Subject: Edimax EW-7318USg can't set IP 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, 25 Jan 2010 14:44:09 -0000 Hi My USB EDIMAX EW-7318USg gives me this error: ifconfig: ioctl (SIOCAIFADDR): Invalid argument When i'm trying to set IP and netmask ifconfig rum0 inet 192.168.0.6 netmask 255.255.255.0 FreeBSD 8.0 STABLE AMD64 any ideas how to fix it ?? Regards Piotr From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 16:40:01 2010 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 E06061065670; Mon, 25 Jan 2010 16:40:01 +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 B8B468FC21; Mon, 25 Jan 2010 16:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PGe1AI028599; Mon, 25 Jan 2010 16:40:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0PGe1cb028595; Mon, 25 Jan 2010 16:40:01 GMT (envelope-from linimon) Date: Mon, 25 Jan 2010 16:40:01 GMT Message-Id: <201001251640.o0PGe1cb028595@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/143212: [nfs] NFSv4 client strange work ... 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, 25 Jan 2010 16:40:02 -0000 Synopsis: [nfs] NFSv4 client strange work ... Responsible-Changed-From-To: freebsd-amd64->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jan 25 16:39:44 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=143212 From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 16:46:01 2010 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 E7C381065676; Mon, 25 Jan 2010 16:46:01 +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 BF8D48FC22; Mon, 25 Jan 2010 16:46:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PGk1m6036773; Mon, 25 Jan 2010 16:46:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0PGk1GL036769; Mon, 25 Jan 2010 16:46:01 GMT (envelope-from linimon) Date: Mon, 25 Jan 2010 16:46:01 GMT Message-Id: <201001251646.o0PGk1GL036769@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/143213: [rum] EDIMAX EW-7318USg can't set IP adress 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, 25 Jan 2010 16:46:02 -0000 Old Synopsis: EDIMAX EW-7318USg can't set IP adress New Synopsis: [rum] EDIMAX EW-7318USg can't set IP adress Responsible-Changed-From-To: freebsd-amd64->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jan 25 16:44:59 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=143213 From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 25 18:55:36 2010 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 1E94F1065696; Mon, 25 Jan 2010 18:55:36 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 7866E8FC1C; Mon, 25 Jan 2010 18:55:35 +0000 (UTC) Received: by ewy10 with SMTP id 10so2992148ewy.3 for ; Mon, 25 Jan 2010 10:55:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=tSwYgQGkaOrAn2ep9fY8WJMjhmAAVkS4VuP2eqWhnXc=; b=XUe+bMqCjl3BQUFQJgDW9+FvLzGTzPpGjq8PiuVZpa7vyXac6Mgqsa5WNtt+7ydRE4 DVwTjrSRoFSThH9RIFudl1Tr8bZC5XDjmu4KgakH2EJ00087aqyMnCChbOOU3Uziq27a ugB3CFnFD8nw2ZSk8AjmS1hKkelz5EjFDxe48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ApUDyr6gikIDXT031Hn2zHkOwwUGUShlZwLGd8i7fAnPAxBTinnzqvg1j+9xmqGGxF KxpaEIPAa552iSlxY7ckeTH3Wv6z5CqW+JMiWKI5FM50bUZ4OiN4GrNEwz/+MRVl+CQL BLpgMEDP1+HDrMin5j5HPP/SfSOx341XaizWE= MIME-Version: 1.0 Sender: onemda@gmail.com Received: by 10.213.100.7 with SMTP id w7mr2702206ebn.23.1264444397143; Mon, 25 Jan 2010 10:33:17 -0800 (PST) In-Reply-To: <4B5DA023.7060102@gmail.com> References: <4B5DA023.7060102@gmail.com> Date: Mon, 25 Jan 2010 19:33:17 +0100 X-Google-Sender-Auth: 4baf6aa043caa2ae Message-ID: <3a142e751001251033j46f1847bved5b91629bb4ded5@mail.gmail.com> From: Pavo Banicevic To: Piotrek Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Mon, 25 Jan 2010 19:36:48 +0000 Cc: freebsd-bugs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-amd64@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Edimax EW-7318USg can't set IP 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, 25 Jan 2010 18:55:36 -0000 On 1/25/10, Piotrek wrote: > Hi > > My USB EDIMAX EW-7318USg gives me this error: > > ifconfig: ioctl (SIOCAIFADDR): Invalid argument > > When i'm trying to set IP and netmask > > ifconfig rum0 inet 192.168.0.6 netmask 255.255.255.0 > > FreeBSD 8.0 STABLE AMD64 > > any ideas how to fix it ?? Read manual, there is nothing to fix. From owner-freebsd-amd64@FreeBSD.ORG Tue Jan 26 23:49:41 2010 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 E11361065698; Tue, 26 Jan 2010 23:49:41 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 734BC8FC13; Tue, 26 Jan 2010 23:49:41 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o0QNne9i025230; Tue, 26 Jan 2010 18:49:40 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o0QNnexq025225; Tue, 26 Jan 2010 23:49:40 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 26 Jan 2010 23:49:40 GMT Message-Id: <201001262349.o0QNnexq025225@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk 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: Tue, 26 Jan 2010 23:49:42 -0000 TB --- 2010-01-26 22:10:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-26 22:10:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2010-01-26 22:10:00 - cleaning the object tree TB --- 2010-01-26 22:10:25 - cvsupping the source tree TB --- 2010-01-26 22:10:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile TB --- 2010-01-26 22:18:15 - building world TB --- 2010-01-26 22:18:15 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-26 22:18:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-26 22:18:15 - TARGET=amd64 TB --- 2010-01-26 22:18:15 - TARGET_ARCH=amd64 TB --- 2010-01-26 22:18:15 - TZ=UTC TB --- 2010-01-26 22:18:15 - __MAKE_CONF=/dev/null TB --- 2010-01-26 22:18:15 - cd /src TB --- 2010-01-26 22:18:15 - /usr/bin/make -B buildworld >>> World build started on Tue Jan 26 22:18:15 UTC 2010 >>> 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 Tue Jan 26 23:44:30 UTC 2010 TB --- 2010-01-26 23:44:30 - generating LINT kernel config TB --- 2010-01-26 23:44:30 - cd /src/sys/amd64/conf TB --- 2010-01-26 23:44:30 - /usr/bin/make -B LINT TB --- 2010-01-26 23:44:30 - building LINT kernel TB --- 2010-01-26 23:44:30 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-26 23:44:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-26 23:44:30 - TARGET=amd64 TB --- 2010-01-26 23:44:30 - TARGET_ARCH=amd64 TB --- 2010-01-26 23:44:30 - TZ=UTC TB --- 2010-01-26 23:44:30 - __MAKE_CONF=/dev/null TB --- 2010-01-26 23:44:30 - cd /src TB --- 2010-01-26 23:44:30 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jan 26 23:44:30 UTC 2010 >>> 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 -frename-registers -pipe -fno-strict-aliasing -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-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/chipsets/ata-micron.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/chipsets/ata-national.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/chipsets/ata-netcell.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/chipsets/ata-nvidia.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/chipsets/ata-promise.c cc1: warnings being treated as errors /src/sys/dev/ata/chipsets/ata-promise.c: In function 'ata_promise_mio_status': /src/sys/dev/ata/chipsets/ata-promise.c:631: warning: cast from pointer to integer of different size *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-26 23:49:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-26 23:49:40 - ERROR: failed to build lint kernel TB --- 2010-01-26 23:49:40 - 4024.88 user 940.25 system 5979.32 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 27 09:38:41 2010 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 DD73E106566C; Wed, 27 Jan 2010 09:38:40 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7828FC20; Wed, 27 Jan 2010 09:38:40 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o0R9cdvt023418; Wed, 27 Jan 2010 04:38:39 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o0R9cdrI023377; Wed, 27 Jan 2010 09:38:39 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 27 Jan 2010 09:38:39 GMT Message-Id: <201001270938.o0R9cdrI023377@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk 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, 27 Jan 2010 09:38:41 -0000 TB --- 2010-01-27 08:05:01 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-27 08:05:01 - starting HEAD tinderbox run for amd64/amd64 TB --- 2010-01-27 08:05:01 - cleaning the object tree TB --- 2010-01-27 08:05:31 - cvsupping the source tree TB --- 2010-01-27 08:05:31 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile TB --- 2010-01-27 08:06:57 - building world TB --- 2010-01-27 08:06:57 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-27 08:06:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-27 08:06:57 - TARGET=amd64 TB --- 2010-01-27 08:06:57 - TARGET_ARCH=amd64 TB --- 2010-01-27 08:06:57 - TZ=UTC TB --- 2010-01-27 08:06:57 - __MAKE_CONF=/dev/null TB --- 2010-01-27 08:06:57 - cd /src TB --- 2010-01-27 08:06:57 - /usr/bin/make -B buildworld >>> World build started on Wed Jan 27 08:06:58 UTC 2010 >>> 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 Jan 27 09:32:53 UTC 2010 TB --- 2010-01-27 09:32:53 - generating LINT kernel config TB --- 2010-01-27 09:32:53 - cd /src/sys/amd64/conf TB --- 2010-01-27 09:32:53 - /usr/bin/make -B LINT TB --- 2010-01-27 09:32:53 - building LINT kernel TB --- 2010-01-27 09:32:53 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-27 09:32:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-27 09:32:53 - TARGET=amd64 TB --- 2010-01-27 09:32:53 - TARGET_ARCH=amd64 TB --- 2010-01-27 09:32:53 - TZ=UTC TB --- 2010-01-27 09:32:53 - __MAKE_CONF=/dev/null TB --- 2010-01-27 09:32:53 - cd /src TB --- 2010-01-27 09:32:53 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jan 27 09:32:53 UTC 2010 >>> 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 [...] /src/sys/dev/e1000/if_em.c:5291: error: 'struct adapter' has no member named 'mbuf_cluster_failed' /src/sys/dev/e1000/if_em.c: In function 'em_print_hw_stats': /src/sys/dev/e1000/if_em.c:5332: error: 'struct adapter' has no member named 'rx_irq' /src/sys/dev/e1000/if_em.c:5333: error: 'struct adapter' has no member named 'tx_irq' /src/sys/dev/e1000/if_em.c:5333: warning: format '%ld' expects type 'long int', but argument 5 has type 'int' /src/sys/dev/e1000/if_em.c: In function 'em_sysctl_int_delay': /src/sys/dev/e1000/if_em.c:5462: error: 'struct adapter' has no member named 'txd_cmd' /src/sys/dev/e1000/if_em.c:5466: error: 'struct adapter' has no member named 'txd_cmd' *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-27 09:38:39 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-27 09:38:39 - ERROR: failed to build lint kernel TB --- 2010-01-27 09:38:39 - 4079.87 user 959.98 system 5618.66 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 27 19:18:12 2010 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 B31B9106566B; Wed, 27 Jan 2010 19:18:12 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 702A38FC12; Wed, 27 Jan 2010 19:18:12 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o0RJIBB5086748; Wed, 27 Jan 2010 14:18:11 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o0RJIBuR086745; Wed, 27 Jan 2010 19:18:11 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 27 Jan 2010 19:18:11 GMT Message-Id: <201001271918.o0RJIBuR086745@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk 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, 27 Jan 2010 19:18:12 -0000 TB --- 2010-01-27 17:45:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-27 17:45:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2010-01-27 17:45:00 - cleaning the object tree TB --- 2010-01-27 17:45:23 - cvsupping the source tree TB --- 2010-01-27 17:45:23 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile TB --- 2010-01-27 17:46:00 - building world TB --- 2010-01-27 17:46:00 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-27 17:46:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-27 17:46:00 - TARGET=amd64 TB --- 2010-01-27 17:46:00 - TARGET_ARCH=amd64 TB --- 2010-01-27 17:46:00 - TZ=UTC TB --- 2010-01-27 17:46:00 - __MAKE_CONF=/dev/null TB --- 2010-01-27 17:46:00 - cd /src TB --- 2010-01-27 17:46:00 - /usr/bin/make -B buildworld >>> World build started on Wed Jan 27 17:46:01 UTC 2010 >>> 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 Jan 27 19:12:28 UTC 2010 TB --- 2010-01-27 19:12:28 - generating LINT kernel config TB --- 2010-01-27 19:12:28 - cd /src/sys/amd64/conf TB --- 2010-01-27 19:12:28 - /usr/bin/make -B LINT TB --- 2010-01-27 19:12:28 - building LINT kernel TB --- 2010-01-27 19:12:28 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-27 19:12:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-27 19:12:28 - TARGET=amd64 TB --- 2010-01-27 19:12:28 - TARGET_ARCH=amd64 TB --- 2010-01-27 19:12:28 - TZ=UTC TB --- 2010-01-27 19:12:28 - __MAKE_CONF=/dev/null TB --- 2010-01-27 19:12:28 - cd /src TB --- 2010-01-27 19:12:28 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jan 27 19:12:28 UTC 2010 >>> 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 [...] /src/sys/dev/e1000/if_em.c:5291: error: 'struct adapter' has no member named 'mbuf_cluster_failed' /src/sys/dev/e1000/if_em.c: In function 'em_print_hw_stats': /src/sys/dev/e1000/if_em.c:5332: error: 'struct adapter' has no member named 'rx_irq' /src/sys/dev/e1000/if_em.c:5333: error: 'struct adapter' has no member named 'tx_irq' /src/sys/dev/e1000/if_em.c:5333: warning: format '%ld' expects type 'long int', but argument 5 has type 'int' /src/sys/dev/e1000/if_em.c: In function 'em_sysctl_int_delay': /src/sys/dev/e1000/if_em.c:5462: error: 'struct adapter' has no member named 'txd_cmd' /src/sys/dev/e1000/if_em.c:5466: error: 'struct adapter' has no member named 'txd_cmd' *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-27 19:18:11 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-27 19:18:11 - ERROR: failed to build lint kernel TB --- 2010-01-27 19:18:11 - 4081.31 user 954.19 system 5591.00 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sat Jan 30 05:30:02 2010 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 2F1E5106566C for ; Sat, 30 Jan 2010 05: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 E6FF48FC16 for ; Sat, 30 Jan 2010 05:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0U5U1Ru039998 for ; Sat, 30 Jan 2010 05:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0U5U1WI039994; Sat, 30 Jan 2010 05:30:01 GMT (envelope-from gnats) Resent-Date: Sat, 30 Jan 2010 05:30:01 GMT Resent-Message-Id: <201001300530.o0U5U1WI039994@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, Nick Bowler Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1C221065693 for ; Sat, 30 Jan 2010 05:28:39 +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 348518FC16 for ; Sat, 30 Jan 2010 05:28:39 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0U5ScSe025756 for ; Sat, 30 Jan 2010 05:28:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0U5Scte025755; Sat, 30 Jan 2010 05:28:38 GMT (envelope-from nobody) Message-Id: <201001300528.o0U5Scte025755@www.freebsd.org> Date: Sat, 30 Jan 2010 05:28:38 GMT From: Nick Bowler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sat, 30 Jan 2010 05:51:53 +0000 Cc: Subject: amd64/143358: nearbyint raises spurious inexact exception 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, 30 Jan 2010 05:30:02 -0000 >Number: 143358 >Category: amd64 >Synopsis: nearbyint raises spurious inexact exception >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: Sat Jan 30 05:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nick Bowler >Release: 8.9 >Organization: >Environment: FreeBSD amythaon.draconx.ca 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The nearbyint function is required by the C standard to *not* raise the inexact floating point exception, and the FreeBSD man page concurs. Nevertheless, the exception is raised on FreeBSD 8.0, as demonstrated by the following program: #include #include #include #pragma STDC FENV_ACCESS ON int main(void) { double val; fenv_t env; feholdexcept(&env); printf("inexact: %d\n", fetestexcept(FE_INEXACT) != 0); val = nearbyint(0x1.6p2); printf("inexact: %d\n", fetestexcept(FE_INEXACT) != 0); fesetenv(&env); printf("%f\n", val); return 0; } >How-To-Repeat: Compile and run the above program. It prints 0, 1 and 6.00000. It should print 0, 0 and 6.00000. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Sat Jan 30 12:51:29 2010 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 0676510656C5; Sat, 30 Jan 2010 12:51:29 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D1A838FC0A; Sat, 30 Jan 2010 12:51:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0UCpS95077710; Sat, 30 Jan 2010 12:51:28 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0UCpSEP077706; Sat, 30 Jan 2010 12:51:28 GMT (envelope-from gavin) Date: Sat, 30 Jan 2010 12:51:28 GMT Message-Id: <201001301251.o0UCpSEP077706@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-standards@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: standards/143358: nearbyint raises spurious inexact exception 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, 30 Jan 2010 12:51:29 -0000 Synopsis: nearbyint raises spurious inexact exception Responsible-Changed-From-To: freebsd-amd64->freebsd-standards Responsible-Changed-By: gavin Responsible-Changed-When: Sat Jan 30 12:47:54 UTC 2010 Responsible-Changed-Why: This is (verified) not amd64 specific, it seems to be a regression in 8.0. I think -standards may be the best place for this PR, although I'll also ping das@ about it. Note that a comment in the function itself in lib/msun/src/s_nearbyint.c does also suggest that this PR is valid, "We save and restore the floating-point environment to avoid raising an inexact exception." I've also verified Solaris 10, Linux and FreeBSD 7.2 show the expected behaviour. http://www.freebsd.org/cgi/query-pr.cgi?pr=143358 From owner-freebsd-amd64@FreeBSD.ORG Sat Jan 30 15:20:35 2010 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 4A172106566C; Sat, 30 Jan 2010 15:20:35 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id B95B48FC1B; Sat, 30 Jan 2010 15:20:34 +0000 (UTC) Received: from c122-106-174-165.carlnfd1.nsw.optusnet.com.au (c122-106-174-165.carlnfd1.nsw.optusnet.com.au [122.106.174.165]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o0UFKUbf001197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 31 Jan 2010 02:20:32 +1100 Date: Sun, 31 Jan 2010 02:20:30 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: gavin@freebsd.org In-Reply-To: <201001301251.o0UCpSEP077706@freefall.freebsd.org> Message-ID: <20100131014341.J78095@delplex.bde.org> References: <201001301251.o0UCpSEP077706@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: das@freebsd.org, freebsd-standards@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: standards/143358: nearbyint raises spurious inexact exception 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, 30 Jan 2010 15:20:35 -0000 On Sat, 30 Jan 2010 gavin@freebsd.org wrote: > Synopsis: nearbyint raises spurious inexact exception > Note that a comment in the function itself in lib/msun/src/s_nearbyint.c > does also suggest that this PR is valid, "We save and restore the > floating-point environment to avoid raising an inexact exception." I've > also verified Solaris 10, Linux and FreeBSD 7.2 show the expected behaviour. This seems to be a bug in gcc-4.2, or perhaps a bug in the inline asms. gcc-4.2 still works with -O0, but with -O it removes the entire fesetenv() in nearbyint(). The fegetenv() isn't removed though its result is never used. I didn't get anywhere good trying to fix this, but I got to the following worse place of interest: after replacing the fesetenv(&env) by fesetenv(&xenv) where xenv is an invalidly initialized global variable (all 0's), the fegetenv(&env) corrupted the current environment (looks a bit like xenv was used to initialize the current environment). Removing fesetenv() in other contexts would give larger bugs. Bruce From owner-freebsd-amd64@FreeBSD.ORG Sat Jan 30 18:11:51 2010 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 7B40B106566B; Sat, 30 Jan 2010 18:11:51 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id BED6E8FC0C; Sat, 30 Jan 2010 18:11:50 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o0UIBj0W071673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Jan 2010 20:11:45 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id o0UIBjBK084343; Sat, 30 Jan 2010 20:11:45 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id o0UIBj6t084342; Sat, 30 Jan 2010 20:11:45 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 30 Jan 2010 20:11:45 +0200 From: Kostik Belousov To: Bruce Evans Message-ID: <20100130181145.GA3877@deviant.kiev.zoral.com.ua> References: <201001301251.o0UCpSEP077706@freefall.freebsd.org> <20100131014341.J78095@delplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lWZ9pouYHbrmKLtT" Content-Disposition: inline In-Reply-To: <20100131014341.J78095@delplex.bde.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: das@freebsd.org, gavin@freebsd.org, freebsd-standards@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: standards/143358: nearbyint raises spurious inexact exception 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, 30 Jan 2010 18:11:51 -0000 --lWZ9pouYHbrmKLtT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 31, 2010 at 02:20:30AM +1100, Bruce Evans wrote: > On Sat, 30 Jan 2010 gavin@freebsd.org wrote: >=20 > >Synopsis: nearbyint raises spurious inexact exception >=20 > >Note that a comment in the function itself in lib/msun/src/s_nearbyint.c > >does also suggest that this PR is valid, "We save and restore the > >floating-point environment to avoid raising an inexact exception." I've > >also verified Solaris 10, Linux and FreeBSD 7.2 show the expected=20 > >behaviour. >=20 > This seems to be a bug in gcc-4.2, or perhaps a bug in the inline asms. > gcc-4.2 still works with -O0, but with -O it removes the entire fesetenv() > in nearbyint(). The fegetenv() isn't removed though its result is never > used. I didn't get anywhere good trying to fix this, but I got to the > following worse place of interest: after replacing the fesetenv(&env) by > fesetenv(&xenv) where xenv is an invalidly initialized global variable > (all 0's), the fegetenv(&env) corrupted the current environment (looks > a bit like xenv was used to initialize the current environment). >=20 > Removing fesetenv() in other contexts would give larger bugs. While looking at this, I tried to run the example on custom-build gcc 4.4.3/binutils 2.20 toolchain, and bumped into the issue fixed by http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3eac7944b4112632ad6= fb257c7ce31deda72d89f --lWZ9pouYHbrmKLtT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktkdmAACgkQC3+MBN1Mb4hasgCfZQ3GFXJIWUX++8mi6QjlfaMP czMAoMCz9Zw3TohtRMr8EkYKCpEH6F3J =ZL8P -----END PGP SIGNATURE----- --lWZ9pouYHbrmKLtT-- From owner-freebsd-amd64@FreeBSD.ORG Sat Jan 30 19:36:16 2010 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 1AE671065693 for ; Sat, 30 Jan 2010 19:36:16 +0000 (UTC) (envelope-from das@freebsd.org) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id D02238FC15 for ; Sat, 30 Jan 2010 19:36:15 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id o0UJ1v6x064405; Sat, 30 Jan 2010 14:01:57 -0500 (EST) (envelope-from das@freebsd.org) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id o0UJ1v7m064404; Sat, 30 Jan 2010 14:01:57 -0500 (EST) (envelope-from das@freebsd.org) Date: Sat, 30 Jan 2010 14:01:57 -0500 From: David Schultz To: Kostik Belousov Message-ID: <20100130190157.GB63954@zim.MIT.EDU> Mail-Followup-To: Kostik Belousov , Bruce Evans , gavin@freebsd.org, freebsd-standards@freebsd.org, freebsd-amd64@freebsd.org References: <201001301251.o0UCpSEP077706@freefall.freebsd.org> <20100131014341.J78095@delplex.bde.org> <20100130181145.GA3877@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100130181145.GA3877@deviant.kiev.zoral.com.ua> X-Mailman-Approved-At: Sat, 30 Jan 2010 19:50:31 +0000 Cc: gavin@freebsd.org, freebsd-standards@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: standards/143358: nearbyint raises spurious inexact exception 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, 30 Jan 2010 19:36:16 -0000 On Sat, Jan 30, 2010, Kostik Belousov wrote: > On Sun, Jan 31, 2010 at 02:20:30AM +1100, Bruce Evans wrote: > > On Sat, 30 Jan 2010 gavin@freebsd.org wrote: > > > > >Synopsis: nearbyint raises spurious inexact exception > > > > >Note that a comment in the function itself in lib/msun/src/s_nearbyint.c > > >does also suggest that this PR is valid, "We save and restore the > > >floating-point environment to avoid raising an inexact exception." I've > > >also verified Solaris 10, Linux and FreeBSD 7.2 show the expected > > >behaviour. > > > > This seems to be a bug in gcc-4.2, or perhaps a bug in the inline asms. > > gcc-4.2 still works with -O0, but with -O it removes the entire fesetenv() > > in nearbyint(). The fegetenv() isn't removed though its result is never > > used. I didn't get anywhere good trying to fix this, but I got to the > > following worse place of interest: after replacing the fesetenv(&env) by > > fesetenv(&xenv) where xenv is an invalidly initialized global variable > > (all 0's), the fegetenv(&env) corrupted the current environment (looks > > a bit like xenv was used to initialize the current environment). > > > > Removing fesetenv() in other contexts would give larger bugs. > > While looking at this, I tried to run the example on custom-build > gcc 4.4.3/binutils 2.20 toolchain, and bumped into the issue fixed > by > http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3eac7944b4112632ad6fb257c7ce31deda72d89f Hmm, we should fix that, but I think it's orthogonal to the issue in the PR. Here's the code I'm getting with -O2: nearbyint: .LFB9: subq $56, %rsp .LCFI1: movsd %xmm0, 8(%rsp) leaq 16(%rsp), %rdi call fegetenv #APP fldenv 16(%rsp) ldmxcsr 44(%rsp) #NO_APP movsd 8(%rsp), %xmm0 call rint addq $56, %rsp ret gcc isn't removing the fesetenv(); it's actually moving the fesetenv() to before the rint() call. I believe the bug is that gcc is using incorrect builtin knowledge that the rint() function is pure. FreeBSD doesn't declare it this way because that would be wrong; rint() depends upon and modifies the floating point environment. When I compile with -fno-builtins, the resulting code is correct. I can't think of any good workarounds except using -fno-builtin or making a _rint() alias for rint() to trick gcc. This is related to a long-standing and thorny issue with gcc, namely, that it doesn't understand how to cope with code that modifies or examines the floating point environment (rounding modes, exception flags, etc.) Basically, it assumes that all floating point arithmetic is performed in the default environment, and has no side effects. Implementing C99's FENV_ACCESS pragma to address this has been on their todo list for years, but it's a big task.