From owner-freebsd-amd64@FreeBSD.ORG Sun Apr 13 00:10:02 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 102FF1065671 for ; Sun, 13 Apr 2008 00: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 CFB598FC1D for ; Sun, 13 Apr 2008 00:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3D0A1Ec058953 for ; Sun, 13 Apr 2008 00:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3D0A1BG058952; Sun, 13 Apr 2008 00:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 13 Apr 2008 00:10:01 GMT Resent-Message-Id: <200804130010.m3D0A1BG058952@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, Kozo Nishida Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F4111065676 for ; Sun, 13 Apr 2008 00:06: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 2CDB18FC1F for ; Sun, 13 Apr 2008 00:06:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3D06lpQ046119 for ; Sun, 13 Apr 2008 00:06:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3D06lke046118; Sun, 13 Apr 2008 00:06:47 GMT (envelope-from nobody) Message-Id: <200804130006.m3D06lke046118@www.freebsd.org> Date: Sun, 13 Apr 2008 00:06:47 GMT From: Kozo Nishida To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sun, 13 Apr 2008 00:22:23 +0000 Cc: Subject: amd64/122699: can't reboot hp ML110 M5 using FreeBSD 7.0-Release amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 00:10:02 -0000 >Number: 122699 >Category: amd64 >Synopsis: can't reboot hp ML110 M5 using FreeBSD 7.0-Release amd64 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 00:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Kozo Nishida >Release: 7.0-RELEASE amd64 >Organization: Nara institute of science and technology >Environment: FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: My machine is hp ML110 M5. I installed FreeBSD RELEASE-7.0 amd64 to this machine. But I couldn' reboot this machine, even if I disabled acpi. The console stopped next line of Uptime: 6m1s, and no progress. >How-To-Repeat: Install FreeBSD 7.0-RELEASE amd64 to hp ML110 M5. # shutdown -r now >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Sun Apr 13 10:20:05 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12D46106566C for ; Sun, 13 Apr 2008 10:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EF4338FC14 for ; Sun, 13 Apr 2008 10:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3DAK4qq031343 for ; Sun, 13 Apr 2008 10:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3DAK4dS031342; Sun, 13 Apr 2008 10:20:04 GMT (envelope-from gnats) Date: Sun, 13 Apr 2008 10:20:04 GMT Message-Id: <200804131020.m3DAK4dS031342@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: "James O'Gorman" Cc: Subject: Re: amd64/122699: can't reboot hp ML110 M5 using FreeBSD 7.0-Release amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: James O'Gorman List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 10:20:05 -0000 The following reply was made to PR amd64/122699; it has been noted by GNATS. From: James O'Gorman To: Kozo Nishida Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: amd64/122699: can't reboot hp ML110 M5 using FreeBSD 7.0-Release amd64 Date: Sun, 13 Apr 2008 11:10:32 +0100 Kozo Nishida wrote: >> Description: > My machine is hp ML110 M5. > I installed FreeBSD RELEASE-7.0 amd64 to this machine. > But I couldn' reboot this machine, even if I disabled acpi. > The console stopped next line of Uptime: 6m1s, and no progress. > > >> How-To-Repeat: > Install FreeBSD 7.0-RELEASE amd64 to hp ML110 M5. > # shutdown -r now Hello Nishida-san, Please look at PR amd64/122473 - jhb@ already addressed this issue for me by updating ehci_pci.c from RELENG_7. James From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 14 11:06:46 2008 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12D531065672 for ; Mon, 14 Apr 2008 11:06:46 +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 01D498FC1F for ; Mon, 14 Apr 2008 11:06:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3EB6j3X072155 for ; Mon, 14 Apr 2008 11:06:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3EB6jtF072151 for freebsd-amd64@FreeBSD.org; Mon, 14 Apr 2008 11:06:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Apr 2008 11:06:45 GMT Message-Id: <200804141106.m3EB6jtF072151@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, 14 Apr 2008 11:23:27 +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, 14 Apr 2008 11:06:46 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up o amd64/74747 amd64 System panic on shutdown when process will not die o amd64/76136 amd64 system halts before reboot o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/85451 amd64 [hang] 6.0-BETA3 lockups on AMD64 (PREEMPTION only) o amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 o amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87977 amd64 [busdma] [panic] amd64 busdma dflt_lock called (by ata o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/88790 amd64 kernel panic on first boot (after the FreeBSD installa o amd64/89501 amd64 System crashes on install using ftp on local subnet o amd64/89503 amd64 Cant Boot Installation Disk o amd64/89546 amd64 [geom] GEOM error o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/91492 amd64 BTX halted o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/92889 amd64 [libc] xdr double buffer overflow o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/94677 amd64 panic in amd64 install at non-root user creation o amd64/94989 amd64 BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) and 5. o amd64/95888 amd64 kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP DL140G o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/102122 amd64 6.1-RELEASE amd64 Install Media panics on boot. s amd64/104311 amd64 ports/wine should be installable on amd64 o amd64/105514 amd64 FreeBSD/amd64 - Fails to boot on HP Pavilion dv8000 La o amd64/105531 amd64 [sata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - doe o amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on o amd64/106604 amd64 saslauthd crashes with signal 6 on FreeBSD 6.2-PREREL s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work a amd64/109584 amd64 zdump doesn't work o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 o amd64/111992 amd64 BTX failed - HP Laptop dv2315nr o amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c s amd64/115815 amd64 [sata] [request] Gigabyte GA-M61P-S3 Motherboard unsup o amd64/116159 amd64 Panic while debugging on CURRENT o amd64/116322 amd64 At start fsck on current, the system panics o amd64/116620 amd64 Ifconfig spins when creating carp(4) device on amd64/S o amd64/116977 amd64 FreeBSD/amd64 - Fails to boot on HP Pavilion dv9030ea o amd64/117296 amd64 [sata] I don`t see second SATA IDE on VIA VT8237A o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117418 amd64 FreeBSD 6.2 crash on amd64 4400+ f amd64/119417 amd64 [boot] FreeBSD 7.0 rc1 amd64 won't boot on thinkpad x6 o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/119936 amd64 [install] FreeBSD 7.0-RC1 amd64 and i386 installer dis o amd64/120081 amd64 [sata] Hard drive not found during install FreeBSD 7.0 o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, f amd64/120243 amd64 [ndis] can't get work Broadcom 802.11b/g WLAN on HP Pa f amd64/120956 amd64 [panic] FreeBSD 6.3 Release: Fatal trap 12: page fault o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem o amd64/122423 amd64 Port install fails after upgrade o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor f amd64/122699 amd64 can't reboot hp ML110 M5 using FreeBSD 7.0-Release amd 58 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/74608 amd64 [mpt] [hang] mpt hangs 5 minutes when booting s amd64/85273 amd64 FreeBSD (NetBSD or OpenBSD) not install on laptop Comp o amd64/91195 amd64 FreeBSD 6.0(amd64) and Asus A8R-MVP o amd64/100838 amd64 [powerd] FreeBSD 6.0/6.1 kernel panics when booting wi o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 o bin/105542 amd64 on amd64, ldd(1) produces bogus output for i386 execut o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot o amd64/111096 amd64 motherboard ASRock AM2NF6G-VSTA not supported a amd64/113111 amd64 [Makefile] [patch] Potentially wrong instructions will o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/116457 amd64 cant install freebsd on dv9420us o amd64/116514 amd64 freebsd6.2 can't detect GA-M61SME-S2's onboard lan car f amd64/116670 amd64 [sata] onboard SATA RAID1 controllers not supported fo s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/117186 amd64 kldload Unsupported file type on STABLE amd64 f amd64/119516 amd64 [ipv6] [panic] _mtx_lock_sleep: recursed on non-recurs f amd64/119949 amd64 6.3-RELEASE install; cannot find packages/INDEX error f amd64/121590 amd64 powerd(8) may not work correctly o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial 23 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 14 16:38:21 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC616106566B; Mon, 14 Apr 2008 16:38:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C2DCD8FC18; Mon, 14 Apr 2008 16:38:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (kris@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3EGcLCR010149; Mon, 14 Apr 2008 16:38:21 GMT (envelope-from kris@freefall.freebsd.org) Received: (from kris@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3EGcLdB010145; Mon, 14 Apr 2008 16:38:21 GMT (envelope-from kris) Date: Mon, 14 Apr 2008 16:38:21 GMT Message-Id: <200804141638.m3EGcLdB010145@freefall.freebsd.org> To: ruud@t-boonproductions.nl, kris@FreeBSD.org, freebsd-amd64@FreeBSD.org From: kris@FreeBSD.org Cc: Subject: Re: amd64/122468: Compile problems after upgrading to 7.0 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, 14 Apr 2008 16:38:22 -0000 Synopsis: Compile problems after upgrading to 7.0 State-Changed-From-To: open->feedback State-Changed-By: kris State-Changed-When: Mon Apr 14 16:37:44 UTC 2008 State-Changed-Why: Submitter needs to provide additional information about his upgrade process before we can attempt to proceed. http://www.freebsd.org/cgi/query-pr.cgi?pr=122468 From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 15 00:40:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFF381065675 for ; Tue, 15 Apr 2008 00:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ADCB48FC16 for ; Tue, 15 Apr 2008 00:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3F0e1Ql054905 for ; Tue, 15 Apr 2008 00:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3F0e1O5054904; Tue, 15 Apr 2008 00:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 15 Apr 2008 00:40:01 GMT Resent-Message-Id: <200804150040.m3F0e1O5054904@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 070AD106564A for ; Tue, 15 Apr 2008 00:31:42 +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 EA8C88FC12 for ; Tue, 15 Apr 2008 00:31:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3F0VZNE082581 for ; Tue, 15 Apr 2008 00:31:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3F0VZ0G082580; Tue, 15 Apr 2008 00:31:35 GMT (envelope-from nobody) Message-Id: <200804150031.m3F0VZ0G082580@www.freebsd.org> Date: Tue, 15 Apr 2008 00:31:35 GMT From: Paul To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Tue, 15 Apr 2008 02:29:46 +0000 Cc: Subject: amd64/122780: tcpdump on lagg interface during high pps wedges netcode X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 00:40:01 -0000 >Number: 122780 >Category: amd64 >Synopsis: tcpdump on lagg interface during high pps wedges netcode >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 15 00:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Paul >Release: 7.0 Release >Organization: GTCOMM >Environment: FreeBSD x 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Fri Apr 4 13:11:07 EDT 2008 root@x:/usr/obj/usr/src/sys/ROUTER amd64 >Description: Sending a rate of 200kpps through or to lagg interface and then using the tcpdump command causes the entire network stack to have issues on all interfaces including ones that use other drivers eventually causing machine to be unaccessable on the network. (ex. tcpdump -n -i lagg0 ) Lagg interface is on EM driver using two EM ports, example: ifconfig lagg0 laggproto lacp laggport em4 laggport em5 Port on the other end is either Cisco switch or another FREEBSD machine with lagg interface. Both have same problems. kern.hz=4000 kern.polling.enable=1 kern.polling.reg_frac=400 kern.polling.user_frac=20 kern.polling.idle_poll=1 kern.polling.each_burst=1000 kern.polling.burst_max=8000 EM is PCI-E 4x 4 port Intel Server card, copper ports I would be happy to provide any more information. dmesg reports nothing when it happens and I did not get a chance to do much more debugging on the issue. I do have a second issue with this setup which may or may not be related. With polling enabled, the machine panics on a spin lock when rebooting, during the shutdown process. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 15 08:10:03 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B011106564A for ; Tue, 15 Apr 2008 08:10: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 D57E88FC23 for ; Tue, 15 Apr 2008 08:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3F8A2US009977 for ; Tue, 15 Apr 2008 08:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3F8A2u6009970; Tue, 15 Apr 2008 08:10:02 GMT (envelope-from gnats) Date: Tue, 15 Apr 2008 08:10:02 GMT Message-Id: <200804150810.m3F8A2u6009970@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Ruud Boon X-Mailman-Approved-At: Tue, 15 Apr 2008 11:22:10 +0000 Cc: Subject: Re: amd64/122468: Compile problems after upgrading to 7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruud Boon List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 08:10:03 -0000 The following reply was made to PR amd64/122468; it has been noted by GNATS. From: Ruud Boon To: bug-followup@FreeBSD.org, ruud@t-boonproductions.nl Cc: Subject: Re: amd64/122468: Compile problems after upgrading to 7.0 Date: Mon, 14 Apr 2008 22:13:44 +0200 I've upgraded an other system doing the following upgrade procedure. The same problem occured. I used this procedure : # fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz # fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.asc # gpg --verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz # tar -xf freebsd-update-upgrade.tgz # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade # sh freebsd-update.sh -f freebsd-update.conf install # shutdown -r now # sh freebsd-update.sh -f freebsd-update.conf install # portupgrade -faP # sh freebsd-update.sh -f freebsd-update.conf install # shutdown -r now From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 17 13:19:44 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C06C106566B; Thu, 17 Apr 2008 13:19:44 +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 CCB588FC1C; Thu, 17 Apr 2008 13:19:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m3HDJhoE071103; Thu, 17 Apr 2008 09:19:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [64.7.128.104]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m3HDJgsK085040; Thu, 17 Apr 2008 09:19:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-legacy.sentex.ca (Postfix, from userid 666) id 5168D241A2; Thu, 17 Apr 2008 09:19:58 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080417131958.5168D241A2@freebsd-legacy.sentex.ca> Date: Thu, 17 Apr 2008 09:19:58 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [releng_5 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: Thu, 17 Apr 2008 13:19:44 -0000 TB --- 2008-04-17 13:05:11 - tinderbox 2.3 running on freebsd-legacy.sentex.ca TB --- 2008-04-17 13:05:11 - starting RELENG_5 tinderbox run for amd64/amd64 TB --- 2008-04-17 13:05:11 - cleaning the object tree TB --- 2008-04-17 13:05:53 - cvsupping the source tree TB --- 2008-04-17 13:05:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_5/amd64/amd64/supfile TB --- 2008-04-17 13:06:01 - building world (CFLAGS=-O -pipe) TB --- 2008-04-17 13:06:01 - cd /src TB --- 2008-04-17 13:06:01 - /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 [...] ===> lib/libsmutil ln -sf /src/lib/libsmutil/../../contrib/sendmail/include/sm/os/sm_os_freebsd.h sm_os.h rm -f .depend mkdep -f .depend -a -I/src/lib/libsmutil/../../contrib/sendmail/src -I/src/lib/libsmutil/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL /src/lib/libsmutil/../../contrib/sendmail/libsmutil/debug.c /src/lib/libsmutil/../../contrib/sendmail/libsmutil/err.c /src/lib/libsmutil/../../contrib/sendmail/libsmutil/lockfile.c /src/lib/libsmutil/../../contrib/sendmail/libsmutil/safefile.c /src/lib/libsmutil/../../contrib/sendmail/libsmutil/snprintf.c /src/lib/libsmutil/../../contrib/sendmail/libsmutil/cf.c ===> lib/libstand ln -s /src/lib/libstand/../../sys/i386/include machine patch -s -b .orig -o _bzlib.c < /src/lib/libstand/bzlib.c.diff /src/lib/libstand/../../contrib/bzip2/bzlib.c patch: **** misordered hunks! output would be garbled *** Error code 1 Stop in /src/lib/libstand. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-04-17 13:19:58 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-04-17 13:19:58 - ERROR: failed to build world TB --- 2008-04-17 13:19:58 - tinderbox aborted TB --- 622.27 user 102.94 system 886.40 real http://tinderbox.des.no/tinderbox-releng_5-RELENG_5-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 17 15:50:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86FEE1065673 for ; Thu, 17 Apr 2008 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3498FC25 for ; Thu, 17 Apr 2008 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3HFo1q8027763 for ; Thu, 17 Apr 2008 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3HFo1IL027762; Thu, 17 Apr 2008 15:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 17 Apr 2008 15:50:01 GMT Resent-Message-Id: <200804171550.m3HFo1IL027762@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, tom Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B3B1106566C for ; Thu, 17 Apr 2008 15:40:30 +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 81E408FC1B for ; Thu, 17 Apr 2008 15:40:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3HFeHQO099643 for ; Thu, 17 Apr 2008 15:40:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3HFeHAR099642; Thu, 17 Apr 2008 15:40:17 GMT (envelope-from nobody) Message-Id: <200804171540.m3HFeHAR099642@www.freebsd.org> Date: Thu, 17 Apr 2008 15:40:17 GMT From: tom To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Thu, 17 Apr 2008 16:18:31 +0000 Cc: Subject: amd64/122858: nsswitch in 7.0 is f*cked up X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 15:50:01 -0000 >Number: 122858 >Category: amd64 >Synopsis: nsswitch in 7.0 is f*cked up >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 17 15:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: tom >Release: FreeBSD 7.0 release >Organization: fsk >Environment: FreeBSD to-new.fsklaw.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Apr 16 14:22:33 PDT 2008 TMS3@to-new.fsklaw.com:/usr/obj/usr/src/sys/IPFAST amd64 >Description: Well you all seriously f'd up nsswitch huh? I've used this nsswitch.conf file for YEARS for samba/ldap/login etc. passwd: files ldap shadow: files ldap group: files ldap hosts: files dns wins ####NEW### networks: files dns automount: files ldap nisplus aliases: files ldap nisplus Use this and samba-ldap works but you can't shell in or ftp or anything. Use this: group: cache files ldap[ unavail=continue notfound=continue ] passwd: cache files ldap [ unavail=continue notfound=continue ] #group_compat: nis hosts: compat networks: files #passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files And samba-ldap, ssh login and ftp login works, but the damned machine won't resolve DNS. Desperately flailing about and doing this: group: cache files ldap[ unavail=continue notfound=continue ] passwd: cache files ldap [ unavail=continue notfound=continue ] #group_compat: nis hosts: compat dns networks: files dns #passwd_compat: nis shells: files dns services: compat dns services_compat: nis dns protocols: files dns rpc: files dns does no good. Only the default nsswitch.conf file actually does DNS, and the first one I posted will actually do DNS lookups. I'd really like to be able to do all of these things with a single nsswitch.conf file. PERHAPS when you guys make such SUBSTANTIAL CHANGES to such a necessary component, you could...oh I dunno...DOCUMENT IT SOMEWHERE!!!!!!!!!!!!! I searched google for 6 hours yesterday to find something similar to the second nsswitch.conf file, which I still had to edit to make it work for samba-ldap/ssh/ftp login. This is seriously ridiculous. How the hell am I supposed to use 7.0 in a production environment? I had fewer problems with 5.1 than I'm having with 7.0. TMS III >How-To-Repeat: Hell, just use the nsswitch.conf files I posted. >Fix: Why I'm asking. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 17 17:00:06 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99EA4106566C for ; Thu, 17 Apr 2008 17:00: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 72F6D8FC22 for ; Thu, 17 Apr 2008 17:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3HH06Z1035210 for ; Thu, 17 Apr 2008 17:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3HH06hs035207; Thu, 17 Apr 2008 17:00:06 GMT (envelope-from gnats) Date: Thu, 17 Apr 2008 17:00:06 GMT Message-Id: <200804171700.m3HH06hs035207@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: amd64/122858: nsswitch in 7.0 is f*cked up X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 17:00:06 -0000 The following reply was made to PR amd64/122858; it has been noted by GNATS. From: Kris Kennaway To: tom Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: amd64/122858: nsswitch in 7.0 is f*cked up Date: Thu, 17 Apr 2008 16:57:02 +0000 On Thu, Apr 17, 2008 at 03:40:17PM +0000, tom wrote: > >Synopsis: nsswitch in 7.0 is f*cked up > >Description: > Well you all seriously f'd up nsswitch huh? Why do you think it's OK to be so rude in your bug report? Fine, there might be a bug. It was not put there maliciously, so don't be a jerk about it. You're not encouraging anyone to want to help you. Kris From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 00:04:07 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9766C1065672; Fri, 18 Apr 2008 00:04:07 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 380DB8FC14; Fri, 18 Apr 2008 00:04:07 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id C5AFE28449; Fri, 18 Apr 2008 08:04:05 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 519E2EC6432; Fri, 18 Apr 2008 08:04:05 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id QJP11v3jpEkR; Fri, 18 Apr 2008 08:04:00 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id D4C22EC5B9C; Fri, 18 Apr 2008 08:03:58 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=HpB5o6Sf9e9Rgt09NzaL7y63nBdjxy7may9O33oPSI5H0ivjeKa27G+Jp8aYeT3d4 +63w7Hhn5cIRMV2YBuEFg== Message-ID: <4807E56C.5010805@delphij.net> Date: Thu, 17 Apr 2008 17:03:56 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080312) MIME-Version: 1.0 To: FreeBSD Tinderbox References: <20080417131958.5168D241A2@freebsd-legacy.sentex.ca> In-Reply-To: <20080417131958.5168D241A2@freebsd-legacy.sentex.ca> X-Enigmail-Version: 0.95.6 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: amd64@freebsd.org, stable@freebsd.org Subject: Re: [releng_5 tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 00:04:07 -0000 FreeBSD Tinderbox wrote: [...] > ===> lib/libstand > ln -s /src/lib/libstand/../../sys/i386/include machine > patch -s -b .orig -o _bzlib.c < /src/lib/libstand/bzlib.c.diff /src/lib/libstand/../../contrib/bzip2/bzlib.c > patch: **** misordered hunks! output would be garbled > *** Error code 1 Sorry, should have been fixed now. Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 03:52:34 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AA711065671; Fri, 18 Apr 2008 03:52:34 +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 B95918FC17; Fri, 18 Apr 2008 03:52:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m3I3qXTS079717; Thu, 17 Apr 2008 23:52:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [64.7.128.104]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m3I3qasP012775; Thu, 17 Apr 2008 23:52:36 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-legacy.sentex.ca (Postfix, from userid 666) id 70D0F241A2; Thu, 17 Apr 2008 23:52:53 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080418035253.70D0F241A2@freebsd-legacy.sentex.ca> Date: Thu, 17 Apr 2008 23:52:53 -0400 (EDT) X-Virus-Scanned: ClamAV 0.92.1/6526/Tue Apr 1 08:33:51 2008 clamav-milter version 0.92.1 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [releng_5 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: Fri, 18 Apr 2008 03:52:34 -0000 TB --- 2008-04-18 03:35:03 - tinderbox 2.3 running on freebsd-legacy.sentex.ca TB --- 2008-04-18 03:35:03 - starting RELENG_5 tinderbox run for amd64/amd64 TB --- 2008-04-18 03:35:03 - cleaning the object tree TB --- 2008-04-18 03:35:14 - cvsupping the source tree TB --- 2008-04-18 03:35:14 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_5/amd64/amd64/supfile TB --- 2008-04-18 03:35:27 - building world (CFLAGS=-O -pipe) TB --- 2008-04-18 03:35:27 - cd /src TB --- 2008-04-18 03:35:27 - /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 [...] /src/lib/libstand/stand.h:340: error: redefinition of 'ulmax' /src/lib/libstand/stand.h:340: error: previous definition of 'ulmax' was here /src/lib/libstand/stand.h:340: error: redefinition of 'ulmax' /src/lib/libstand/stand.h:340: error: previous definition of 'ulmax' was here /src/lib/libstand/stand.h:341: error: redefinition of 'ulmin' /src/lib/libstand/stand.h:341: error: previous definition of 'ulmin' was here /src/lib/libstand/stand.h:341: error: redefinition of 'ulmin' /src/lib/libstand/stand.h:341: error: previous definition of 'ulmin' was here *** Error code 1 Stop in /src/lib/libstand. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-04-18 03:52:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-04-18 03:52:53 - ERROR: failed to build world TB --- 2008-04-18 03:52:53 - tinderbox aborted TB --- 782.91 user 129.97 system 1070.11 real http://tinderbox.des.no/tinderbox-releng_5-RELENG_5-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 13:30:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C4B7106566C for ; Fri, 18 Apr 2008 13:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 76E738FC17 for ; Fri, 18 Apr 2008 13:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3IDU1uw042519 for ; Fri, 18 Apr 2008 13:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3IDU1MQ042516; Fri, 18 Apr 2008 13:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 18 Apr 2008 13:30:01 GMT Resent-Message-Id: <200804181330.m3IDU1MQ042516@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, James Snyder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 857271065672 for ; Fri, 18 Apr 2008 13:21:38 +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 71CEF8FC13 for ; Fri, 18 Apr 2008 13:21:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3IDLOK2036889 for ; Fri, 18 Apr 2008 13:21:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3IDLOLt036887; Fri, 18 Apr 2008 13:21:24 GMT (envelope-from nobody) Message-Id: <200804181321.m3IDLOLt036887@www.freebsd.org> Date: Fri, 18 Apr 2008 13:21:24 GMT From: James Snyder To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 18 Apr 2008 13:47:03 +0000 Cc: Subject: amd64/122888: zfs hang w/ prefetch on, zil off while running transmission-daemon X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 13:30:01 -0000 >Number: 122888 >Category: amd64 >Synopsis: zfs hang w/ prefetch on, zil off while running transmission-daemon >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 18 13:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: James Snyder >Release: FreeBSD 7.0-RELEASE >Organization: >Environment: FreeBSD erlanger.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Start and run transmission-daemon with a torrent active for somewhere between a few hours and a day. transmission-daemon will eventually hang in zfs:lo state (not sure if the state name is longer, I've just had top running when the hangs take place). I've had this happen both on zfs on root, and with zfs just providing /usr. It seems to only happen when the zil is disabled and prefetch is left enabled. loader.conf: zfs_load="YES" vfs.root.mountfrom="zfs:tank/root" vm.kmem_size_max="1073741824" vm.kmem_size="1073741824" vfs.zfs.zil_disable=1 >How-To-Repeat: loader.conf: zfs_load="YES" vfs.root.mountfrom="zfs:tank/root" vm.kmem_size_max="1073741824" vm.kmem_size="1073741824" vfs.zfs.zil_disable=1 - install transmission-daemon from ports, run transmission-daemon (it will daemonize, automatically backgrounding. I ran it as a regular user.) - grab a torrent, such as KNOPPIX (http://torrent.unix-ag.uni-kl.de/) - transmission-remote -a (add the torrent) - transmission-remote -s all (start all the torrents) wait hours to a day or so with whatever you want logging things running and active since anything that hits disk after the hang will get hung as well >Fix: Workaround seems to be to disable prefetch. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 14:52:47 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04B64106566C; Fri, 18 Apr 2008 14:52:47 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from unsam.edu.ar (mx.unsam.edu.ar [200.45.170.30]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE2F8FC13; Fri, 18 Apr 2008 14:52:43 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from gama.iib.unsam.edu.ar by unsam.edu.ar (MDaemon.PRO.v8.1.1.R) with ESMTP id md50007348838.msg; Fri, 18 Apr 2008 11:53:51 -0300 Received: from gama.iib.unsam.edu.ar (localhost [127.0.0.1]) by gama.iib.unsam.edu.ar (8.14.2/8.14.2) with ESMTP id m3IEr91Z052877; Fri, 18 Apr 2008 11:53:09 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by gama.iib.unsam.edu.ar (8.14.2/8.14.2/Submit) id m3IEr8IR052876; Fri, 18 Apr 2008 11:53:08 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: gama.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Fri, 18 Apr 2008 11:53:08 -0300 From: Fernan Aguero To: John Baldwin Message-ID: <20080418145308.GC51032@iib.unsam.edu.ar> References: <200804101336.m3ADaGn5000910@www.freebsd.org> <200804101351.49166.jhb@freebsd.org> <20080410184411.GF24288@iib.unsam.edu.ar> <200804101512.15318.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804101512.15318.jhb@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Processed: unsam-mail.unsam.edu.ar, Fri, 18 Apr 2008 11:53:51 -0300 (not processed: spam filter disabled) X-Return-Path: fernan@iib.unsam.edu.ar X-MDAV-Processed: unsam-mail.unsam.edu.ar, Fri, 18 Apr 2008 11:53:54 -0300 X-Mailman-Approved-At: Fri, 18 Apr 2008 15:39:16 +0000 Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 14:52:47 -0000 > On Thursday 10 April 2008 02:44:11 pm Fernan Aguero wrote: > > > ld-elf.so.1 doesn't use anything from /usr/src. The specific assert that > is > > > failing is this: > > > > > > assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); > > > > > > in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. > > > > I wrote down that error on paper and typed it in the email > > ... but I'm sure it said /usr/src ... that's why I decided > > to set my /etc/fstab to mount freebsd-7.0 sources from another FreeBSD > > box and symlink /usr/src. > > That's because the assert() macro puts the full filename of the current file > into the binary when it is compiled for the error message. The binary is not > trying to read anything from /usr/src itse.f > > > > I wonder if you somehow have 32-bit binaries instead of 64-bit? > > > > > > -- > > > John Baldwin > > > > I wonder the same thing because after doing that, even > > though make was now OK (I was able to cd > > /usr/ports/sysutils/screen && make install), other commands > > failed (vi, Exec format error. Binary file not executable). > > It certainly sounds like you have mixed and matched some things. Maybe just > do a minimal install but include the 'lib32' dist for 32-bit binary compat? > minimal probably doesn't include it (but vi also should be a 64-bit binary, > try using 'file' rather than brandelf to see what file thinks vi is). Sorry for the delay in replying, I have just did a new install (completely erasing and reformatting the disk) and this time I did a standard install, choosing developer + lib32. Now the box stops in the boot process attempting to mount root: [...] ad4: 152587 at ata2-master UDMA33 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/ad4s1a /libexec/ld-elf.so.1: /lib/libncurses.so.7: Shared object has no run-time symbol table Enter fill pathname of shell or RETURN for /bin/sh: I cannot even type RETURN and enter a shell, because the same message about libncurses.so.7 appears! Disk slicing/partitioning is as follows: 1) ad4s1 (using whole disk), set bootable 2) Install Boot Manager 3) ad4s1b, 32G, swap ad4s1a, 1G, / ad4s1d, 1G, /tmp ad4s1e, 5G, /usr ad4s1f, 10G, /var ad4s1g, rest of disk, /home BTW, I don't understand what you mean by "It certainly sounds like you have mixed and matched some things" ... this is a new box, fresh, and I'm using the 7.0 ISO that I just downloaded from freebsd.org (cheksums are OK), and following a straightforward installation procedure. I'm not trying to select any other package apart from those that are selected by choosing the options put forward by the installer (remember I started with a minimal install!). So in any case, if there's any 'mix and match' issue, it's an issue of mixed and matched packages included in the ISO image or a wrong combination of selections made by the installer ... BTW, I have just succesfully installed both ubuntu-7.10-amd64 (server edition) and FreeBSD-6.1-RELEASE (amd64) without any issues on the same box. In both cases, I was able to SSH in from another box and install third party packages (postgresql, screen, vim). To me this sounds like a problem with the 7.0-RELEASE CD and/or installer. Fernan From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 15:00:05 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2545B1065674 for ; Fri, 18 Apr 2008 15:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 107958FC13 for ; Fri, 18 Apr 2008 15:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3IF04ZS049888 for ; Fri, 18 Apr 2008 15:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3IF04kN049887; Fri, 18 Apr 2008 15:00:04 GMT (envelope-from gnats) Date: Fri, 18 Apr 2008 15:00:04 GMT Message-Id: <200804181500.m3IF04kN049887@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Fernan Aguero X-Mailman-Approved-At: Fri, 18 Apr 2008 16:32:25 +0000 Cc: Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fernan Aguero List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 15:00:05 -0000 The following reply was made to PR amd64/122624; it has been noted by GNATS. From: Fernan Aguero To: John Baldwin Cc: freebsd-amd64@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 Date: Fri, 18 Apr 2008 11:53:08 -0300 > On Thursday 10 April 2008 02:44:11 pm Fernan Aguero wrote: > > > ld-elf.so.1 doesn't use anything from /usr/src. The specific assert that > is > > > failing is this: > > > > > > assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); > > > > > > in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. > > > > I wrote down that error on paper and typed it in the email > > ... but I'm sure it said /usr/src ... that's why I decided > > to set my /etc/fstab to mount freebsd-7.0 sources from another FreeBSD > > box and symlink /usr/src. > > That's because the assert() macro puts the full filename of the current file > into the binary when it is compiled for the error message. The binary is not > trying to read anything from /usr/src itse.f > > > > I wonder if you somehow have 32-bit binaries instead of 64-bit? > > > > > > -- > > > John Baldwin > > > > I wonder the same thing because after doing that, even > > though make was now OK (I was able to cd > > /usr/ports/sysutils/screen && make install), other commands > > failed (vi, Exec format error. Binary file not executable). > > It certainly sounds like you have mixed and matched some things. Maybe just > do a minimal install but include the 'lib32' dist for 32-bit binary compat? > minimal probably doesn't include it (but vi also should be a 64-bit binary, > try using 'file' rather than brandelf to see what file thinks vi is). Sorry for the delay in replying, I have just did a new install (completely erasing and reformatting the disk) and this time I did a standard install, choosing developer + lib32. Now the box stops in the boot process attempting to mount root: [...] ad4: 152587 at ata2-master UDMA33 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/ad4s1a /libexec/ld-elf.so.1: /lib/libncurses.so.7: Shared object has no run-time symbol table Enter fill pathname of shell or RETURN for /bin/sh: I cannot even type RETURN and enter a shell, because the same message about libncurses.so.7 appears! Disk slicing/partitioning is as follows: 1) ad4s1 (using whole disk), set bootable 2) Install Boot Manager 3) ad4s1b, 32G, swap ad4s1a, 1G, / ad4s1d, 1G, /tmp ad4s1e, 5G, /usr ad4s1f, 10G, /var ad4s1g, rest of disk, /home BTW, I don't understand what you mean by "It certainly sounds like you have mixed and matched some things" ... this is a new box, fresh, and I'm using the 7.0 ISO that I just downloaded from freebsd.org (cheksums are OK), and following a straightforward installation procedure. I'm not trying to select any other package apart from those that are selected by choosing the options put forward by the installer (remember I started with a minimal install!). So in any case, if there's any 'mix and match' issue, it's an issue of mixed and matched packages included in the ISO image or a wrong combination of selections made by the installer ... BTW, I have just succesfully installed both ubuntu-7.10-amd64 (server edition) and FreeBSD-6.1-RELEASE (amd64) without any issues on the same box. In both cases, I was able to SSH in from another box and install third party packages (postgresql, screen, vim). To me this sounds like a problem with the 7.0-RELEASE CD and/or installer. Fernan From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 19:05:01 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7FC8106564A; Fri, 18 Apr 2008 19:05:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B827E8FC1E; Fri, 18 Apr 2008 19:05:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unknown [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 17CEF1A4D8B; Fri, 18 Apr 2008 12:05:00 -0700 (PDT) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m3IJ4lQH068097; Fri, 18 Apr 2008 15:04:48 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Fernan Aguero Date: Fri, 18 Apr 2008 12:19:53 -0400 User-Agent: KMail/1.9.7 References: <200804101336.m3ADaGn5000910@www.freebsd.org> <200804101512.15318.jhb@freebsd.org> <20080418145308.GC51032@iib.unsam.edu.ar> In-Reply-To: <20080418145308.GC51032@iib.unsam.edu.ar> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804181219.53524.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 18 Apr 2008 15:04:48 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6831/Fri Apr 18 12:09:18 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 19:05:01 -0000 On Friday 18 April 2008 10:53:08 am Fernan Aguero wrote: > > On Thursday 10 April 2008 02:44:11 pm Fernan Aguero wrote: > > > > ld-elf.so.1 doesn't use anything from /usr/src. The specific assert that > > is > > > > failing is this: > > > > > > > > assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); > > > > > > > > in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. > > > > > > I wrote down that error on paper and typed it in the email > > > ... but I'm sure it said /usr/src ... that's why I decided > > > to set my /etc/fstab to mount freebsd-7.0 sources from another FreeBSD > > > box and symlink /usr/src. > > > > That's because the assert() macro puts the full filename of the current file > > into the binary when it is compiled for the error message. The binary is not > > trying to read anything from /usr/src itse.f > > > > > > I wonder if you somehow have 32-bit binaries instead of 64-bit? > > > > > > > > -- > > > > John Baldwin > > > > > > I wonder the same thing because after doing that, even > > > though make was now OK (I was able to cd > > > /usr/ports/sysutils/screen && make install), other commands > > > failed (vi, Exec format error. Binary file not executable). > > > > It certainly sounds like you have mixed and matched some things. Maybe just > > do a minimal install but include the 'lib32' dist for 32-bit binary compat? > > minimal probably doesn't include it (but vi also should be a 64-bit binary, > > try using 'file' rather than brandelf to see what file thinks vi is). > > Sorry for the delay in replying, > > I have just did a new install (completely erasing and > reformatting the disk) and this time I did a standard > install, choosing developer + lib32. Now the box > stops in the boot process attempting to mount root: > > [...] > ad4: 152587 at ata2-master UDMA33 > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > Trying to mount root from ufs:/dev/ad4s1a > /libexec/ld-elf.so.1: /lib/libncurses.so.7: Shared object > has no run-time symbol table > Enter fill pathname of shell or RETURN for /bin/sh: > > I cannot even type RETURN and enter a shell, because the > same message about libncurses.so.7 appears! I think you have some sort of local corruption either on the CD itself, the ISO image, or perhaps on the hard drive? If the 7.0 CD were this fundamentally broken there would be more widespread reports of problems rather than this isolated incident. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 19:05:22 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E10E1065675; Fri, 18 Apr 2008 19:05:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1998FC1F; Fri, 18 Apr 2008 19:05:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unknown [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 8F89C1A4D8B; Fri, 18 Apr 2008 12:05:21 -0700 (PDT) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m3IJ4lQN068097; Fri, 18 Apr 2008 15:05:10 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Fri, 18 Apr 2008 14:39:15 -0400 User-Agent: KMail/1.9.7 References: <200804171540.m3HFeHAR099642@www.freebsd.org> In-Reply-To: <200804171540.m3HFeHAR099642@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804181439.16055.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 18 Apr 2008 15:05:10 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6831/Fri Apr 18 12:09:18 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.3 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, DISGUISE_PORN autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: tom , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122858: nsswitch in 7.0 is f*cked up X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 19:05:22 -0000 On Thursday 17 April 2008 11:40:17 am tom wrote: > I've used this nsswitch.conf file for YEARS for samba/ldap/login etc. > > passwd: files ldap > shadow: files ldap > group: files ldap > hosts: files dns wins > ####NEW### > networks: files dns > automount: files ldap nisplus > aliases: files ldap nisplus > > Use this and samba-ldap works but you can't shell in or ftp or anything. Did you look at the logs to see why you can't login to the box? Can you login on the console or can you not login in remotely? > Use this: > > group: cache files ldap[ unavail=continue notfound=continue ] > passwd: cache files ldap [ unavail=continue notfound=continue ] > #group_compat: nis > hosts: compat > networks: files > #passwd_compat: nis > shells: files > services: compat > services_compat: nis > protocols: files > rpc: files > > And samba-ldap, ssh login and ftp login works, but the damned machine won't resolve DNS. If you read the nsswitch.conf(5) manpage, you will find that 'compat' is only used for 'passwd' and 'group' to support the old NIS '+/-' entries in the password and group files. It is useless for other sources: compat support `+/-' in the ``passwd'' and ``group'' databases. If this is present, it must be the only source for that entry. So, having 'hosts: compat' would certainly break all the hostname resolution. > Desperately flailing about and doing this: > > group: cache files ldap[ unavail=continue notfound=continue ] > passwd: cache files ldap [ unavail=continue notfound=continue ] > #group_compat: nis > hosts: compat dns > networks: files dns > #passwd_compat: nis > shells: files dns > services: compat dns > services_compat: nis dns > protocols: files dns > rpc: files dns Don't use 'compat'. You don't need it (you aren't running NIS). I would try: group: cache files ldap[ blah blah ] passwd: cache files ldap[ blah blah ] hosts: files dns network: files dns automount: files ldap aliases: files ldap Some notes: Do you really need 'network', 'automount', and 'aliases' entries? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 19:10:03 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871B01065674 for ; Fri, 18 Apr 2008 19:10: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 73B528FC0C for ; Fri, 18 Apr 2008 19:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3IJA3tZ068479 for ; Fri, 18 Apr 2008 19:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3IJA31v068478; Fri, 18 Apr 2008 19:10:03 GMT (envelope-from gnats) Date: Fri, 18 Apr 2008 19:10:03 GMT Message-Id: <200804181910.m3IJA31v068478@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 19:10:03 -0000 The following reply was made to PR amd64/122624; it has been noted by GNATS. From: John Baldwin To: Fernan Aguero Cc: freebsd-amd64@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 Date: Fri, 18 Apr 2008 12:19:53 -0400 On Friday 18 April 2008 10:53:08 am Fernan Aguero wrote: > > On Thursday 10 April 2008 02:44:11 pm Fernan Aguero wrote: > > > > ld-elf.so.1 doesn't use anything from /usr/src. The specific assert that > > is > > > > failing is this: > > > > > > > > assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); > > > > > > > > in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. > > > > > > I wrote down that error on paper and typed it in the email > > > ... but I'm sure it said /usr/src ... that's why I decided > > > to set my /etc/fstab to mount freebsd-7.0 sources from another FreeBSD > > > box and symlink /usr/src. > > > > That's because the assert() macro puts the full filename of the current file > > into the binary when it is compiled for the error message. The binary is not > > trying to read anything from /usr/src itse.f > > > > > > I wonder if you somehow have 32-bit binaries instead of 64-bit? > > > > > > > > -- > > > > John Baldwin > > > > > > I wonder the same thing because after doing that, even > > > though make was now OK (I was able to cd > > > /usr/ports/sysutils/screen && make install), other commands > > > failed (vi, Exec format error. Binary file not executable). > > > > It certainly sounds like you have mixed and matched some things. Maybe just > > do a minimal install but include the 'lib32' dist for 32-bit binary compat? > > minimal probably doesn't include it (but vi also should be a 64-bit binary, > > try using 'file' rather than brandelf to see what file thinks vi is). > > Sorry for the delay in replying, > > I have just did a new install (completely erasing and > reformatting the disk) and this time I did a standard > install, choosing developer + lib32. Now the box > stops in the boot process attempting to mount root: > > [...] > ad4: 152587 at ata2-master UDMA33 > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > Trying to mount root from ufs:/dev/ad4s1a > /libexec/ld-elf.so.1: /lib/libncurses.so.7: Shared object > has no run-time symbol table > Enter fill pathname of shell or RETURN for /bin/sh: > > I cannot even type RETURN and enter a shell, because the > same message about libncurses.so.7 appears! I think you have some sort of local corruption either on the CD itself, the ISO image, or perhaps on the hard drive? If the 7.0 CD were this fundamentally broken there would be more widespread reports of problems rather than this isolated incident. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 19:10:05 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C71401065671 for ; Fri, 18 Apr 2008 19:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B40208FC20 for ; Fri, 18 Apr 2008 19:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3IJA55v068495 for ; Fri, 18 Apr 2008 19:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3IJA5w8068494; Fri, 18 Apr 2008 19:10:05 GMT (envelope-from gnats) Date: Fri, 18 Apr 2008 19:10:05 GMT Message-Id: <200804181910.m3IJA5w8068494@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/122858: nsswitch in 7.0 is f*cked up X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 19:10:05 -0000 The following reply was made to PR amd64/122858; it has been noted by GNATS. From: John Baldwin To: freebsd-amd64@freebsd.org Cc: tom , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122858: nsswitch in 7.0 is f*cked up Date: Fri, 18 Apr 2008 14:39:15 -0400 On Thursday 17 April 2008 11:40:17 am tom wrote: > I've used this nsswitch.conf file for YEARS for samba/ldap/login etc. > > passwd: files ldap > shadow: files ldap > group: files ldap > hosts: files dns wins > ####NEW### > networks: files dns > automount: files ldap nisplus > aliases: files ldap nisplus > > Use this and samba-ldap works but you can't shell in or ftp or anything. Did you look at the logs to see why you can't login to the box? Can you login on the console or can you not login in remotely? > Use this: > > group: cache files ldap[ unavail=continue notfound=continue ] > passwd: cache files ldap [ unavail=continue notfound=continue ] > #group_compat: nis > hosts: compat > networks: files > #passwd_compat: nis > shells: files > services: compat > services_compat: nis > protocols: files > rpc: files > > And samba-ldap, ssh login and ftp login works, but the damned machine won't resolve DNS. If you read the nsswitch.conf(5) manpage, you will find that 'compat' is only used for 'passwd' and 'group' to support the old NIS '+/-' entries in the password and group files. It is useless for other sources: compat support `+/-' in the ``passwd'' and ``group'' databases. If this is present, it must be the only source for that entry. So, having 'hosts: compat' would certainly break all the hostname resolution. > Desperately flailing about and doing this: > > group: cache files ldap[ unavail=continue notfound=continue ] > passwd: cache files ldap [ unavail=continue notfound=continue ] > #group_compat: nis > hosts: compat dns > networks: files dns > #passwd_compat: nis > shells: files dns > services: compat dns > services_compat: nis dns > protocols: files dns > rpc: files dns Don't use 'compat'. You don't need it (you aren't running NIS). I would try: group: cache files ldap[ blah blah ] passwd: cache files ldap[ blah blah ] hosts: files dns network: files dns automount: files ldap aliases: files ldap Some notes: Do you really need 'network', 'automount', and 'aliases' entries? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 22:08:24 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DAD4106564A for ; Fri, 18 Apr 2008 22:08:24 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.freebsd.org (Postfix) with ESMTP id A21408FC0C for ; Fri, 18 Apr 2008 22:08:23 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m3IM8KxH011999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Apr 2008 08:08:21 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m3IM8KCc019150; Sat, 19 Apr 2008 08:08:20 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m3IM8J1o019149; Sat, 19 Apr 2008 08:08:19 +1000 (EST) (envelope-from peter) Date: Sat, 19 Apr 2008 08:08:19 +1000 From: Peter Jeremy To: Fernan Aguero Message-ID: <20080418220819.GI73016@server.vk2pj.dyndns.org> References: <200804101336.m3ADaGn5000910@www.freebsd.org> <200804101351.49166.jhb@freebsd.org> <20080410184411.GF24288@iib.unsam.edu.ar> <200804101512.15318.jhb@freebsd.org> <20080418145308.GC51032@iib.unsam.edu.ar> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7vAdt9JsdkkzRPKN" Content-Disposition: inline In-Reply-To: <20080418145308.GC51032@iib.unsam.edu.ar> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 22:08:24 -0000 --7vAdt9JsdkkzRPKN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 18, 2008 at 11:53:08AM -0300, Fernan Aguero wrote: >Enter fill pathname of shell or RETURN for /bin/sh: > >I cannot even type RETURN and enter a shell, because the >same message about libncurses.so.7 appears! What about if you enter /rescue/sh here? The tools in /rescue are all statically linked. I've checked my copies of both 7.0-RELEASE-amd64-livefs.iso and 7.0-RELEASE-amd64-disc1.iso and get the following results: # rescue/md5 -r rescue/md5 libexec/ld-elf.so.1 lib/libncurses.so.7 lib/libc= =2Eso.7 bin/sh boot/kernel/kernel 55fcd4d3c7914dde00a3bf67dd045d67 rescue/md5 61620a834da2d96314ed8966c20dbc50 libexec/ld-elf.so.1 fcb9abd938532ae64dc64c444821d0d9 lib/libncurses.so.7 8ff68ce60040f07f63d41ac3400bbb54 lib/libc.so.7 7f012c2361c37d1f23ffa3279f8ac32c bin/sh 12b4c1d7484f4a332a5b3339ec492503 boot/kernel/kernel Can you please confirm you get the same (the installer should be verifying MD5s of these files when it installs them as well). >To me this sounds like a problem with the 7.0-RELEASE CD >and/or installer. I've checked the relevant files on my copy of the CDs and I don't have any problems running them. Possibly there is a problem with the installer but, we should have lots more similar complaints is so. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --7vAdt9JsdkkzRPKN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgJG9MACgkQ/opHv/APuIfG1QCggC3vkj0vtKXftP3z/ARzDQIZ 998AnjNBHUkO6BBQdUY4Jb73E69eSzPW =Ru1p -----END PGP SIGNATURE----- --7vAdt9JsdkkzRPKN-- From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 19:27:26 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED1671065672; Fri, 18 Apr 2008 19:27:26 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from unsam.edu.ar (mx.unsam.edu.ar [200.45.170.30]) by mx1.freebsd.org (Postfix) with ESMTP id EA5418FC16; Fri, 18 Apr 2008 19:27:23 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from gama.iib.unsam.edu.ar by unsam.edu.ar (MDaemon.PRO.v8.1.1.R) with ESMTP id md50007355352.msg; Fri, 18 Apr 2008 16:28:31 -0300 Received: from gama.iib.unsam.edu.ar (localhost [127.0.0.1]) by gama.iib.unsam.edu.ar (8.14.2/8.14.2) with ESMTP id m3IJRg7f055410; Fri, 18 Apr 2008 16:27:42 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by gama.iib.unsam.edu.ar (8.14.2/8.14.2/Submit) id m3IJRgWx055409; Fri, 18 Apr 2008 16:27:42 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: gama.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Fri, 18 Apr 2008 16:27:42 -0300 From: Fernan Aguero To: John Baldwin Message-ID: <20080418192742.GG51032@iib.unsam.edu.ar> References: <200804101336.m3ADaGn5000910@www.freebsd.org> <200804101512.15318.jhb@freebsd.org> <20080418145308.GC51032@iib.unsam.edu.ar> <200804181219.53524.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804181219.53524.jhb@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Processed: unsam-mail.unsam.edu.ar, Fri, 18 Apr 2008 16:28:31 -0300 (not processed: spam filter disabled) X-Return-Path: fernan@iib.unsam.edu.ar X-MDAV-Processed: unsam-mail.unsam.edu.ar, Fri, 18 Apr 2008 16:28:32 -0300 X-Mailman-Approved-At: Fri, 18 Apr 2008 22:26:55 +0000 Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 19:27:27 -0000 > On Friday 18 April 2008 10:53:08 am Fernan Aguero wrote: > > > On Thursday 10 April 2008 02:44:11 pm Fernan Aguero wrote: > > > > > ld-elf.so.1 doesn't use anything from /usr/src. The specific assert > that > > > is > > > > > failing is this: > > > > > > > > > > assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); > > > > > > > > > > in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. > > > > > > > > I wrote down that error on paper and typed it in the email > > > > ... but I'm sure it said /usr/src ... that's why I decided > > > > to set my /etc/fstab to mount freebsd-7.0 sources from another FreeBSD > > > > box and symlink /usr/src. > > > > > > That's because the assert() macro puts the full filename of the current > file > > > into the binary when it is compiled for the error message. The binary is > not > > > trying to read anything from /usr/src itse.f > > > > > > > > I wonder if you somehow have 32-bit binaries instead of 64-bit? > > > > > > > > > > -- > > > > > John Baldwin > > > > > > > > I wonder the same thing because after doing that, even > > > > though make was now OK (I was able to cd > > > > /usr/ports/sysutils/screen && make install), other commands > > > > failed (vi, Exec format error. Binary file not executable). > > > > > > It certainly sounds like you have mixed and matched some things. Maybe > just > > > do a minimal install but include the 'lib32' dist for 32-bit binary > compat? > > > minimal probably doesn't include it (but vi also should be a 64-bit > binary, > > > try using 'file' rather than brandelf to see what file thinks vi is). > > > > Sorry for the delay in replying, > > > > I have just did a new install (completely erasing and > > reformatting the disk) and this time I did a standard > > install, choosing developer + lib32. Now the box > > stops in the boot process attempting to mount root: > > > > [...] > > ad4: 152587 at ata2-master UDMA33 > > SMP: AP CPU #1 Launched! > > SMP: AP CPU #2 Launched! > > SMP: AP CPU #3 Launched! > > Trying to mount root from ufs:/dev/ad4s1a > > /libexec/ld-elf.so.1: /lib/libncurses.so.7: Shared object > > has no run-time symbol table > > Enter fill pathname of shell or RETURN for /bin/sh: > > > > I cannot even type RETURN and enter a shell, because the > > same message about libncurses.so.7 appears! > > I think you have some sort of local corruption either on the CD itself, the > ISO image, or perhaps on the hard drive? If the 7.0 CD were this > fundamentally broken there would be more widespread reports of problems > rather than this isolated incident. > -- > John Baldwin I will try and burn another copy of the ISO image ... apart from that, as I said, the checksums on the downloaded image match to those in file, and the disk behaves OK with both Ubuntu and FreeBSD-6.x Fernan From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 18 19:30:05 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33823106564A for ; Fri, 18 Apr 2008 19:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 15EFD8FC24 for ; Fri, 18 Apr 2008 19:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3IJU4TR070396 for ; Fri, 18 Apr 2008 19:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3IJU48x070393; Fri, 18 Apr 2008 19:30:04 GMT (envelope-from gnats) Date: Fri, 18 Apr 2008 19:30:04 GMT Message-Id: <200804181930.m3IJU48x070393@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Fernan Aguero X-Mailman-Approved-At: Fri, 18 Apr 2008 22:27:40 +0000 Cc: Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fernan Aguero List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 19:30:05 -0000 The following reply was made to PR amd64/122624; it has been noted by GNATS. From: Fernan Aguero To: John Baldwin Cc: freebsd-amd64@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 Date: Fri, 18 Apr 2008 16:27:42 -0300 > On Friday 18 April 2008 10:53:08 am Fernan Aguero wrote: > > > On Thursday 10 April 2008 02:44:11 pm Fernan Aguero wrote: > > > > > ld-elf.so.1 doesn't use anything from /usr/src. The specific assert > that > > > is > > > > > failing is this: > > > > > > > > > > assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); > > > > > > > > > > in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. > > > > > > > > I wrote down that error on paper and typed it in the email > > > > ... but I'm sure it said /usr/src ... that's why I decided > > > > to set my /etc/fstab to mount freebsd-7.0 sources from another FreeBSD > > > > box and symlink /usr/src. > > > > > > That's because the assert() macro puts the full filename of the current > file > > > into the binary when it is compiled for the error message. The binary is > not > > > trying to read anything from /usr/src itse.f > > > > > > > > I wonder if you somehow have 32-bit binaries instead of 64-bit? > > > > > > > > > > -- > > > > > John Baldwin > > > > > > > > I wonder the same thing because after doing that, even > > > > though make was now OK (I was able to cd > > > > /usr/ports/sysutils/screen && make install), other commands > > > > failed (vi, Exec format error. Binary file not executable). > > > > > > It certainly sounds like you have mixed and matched some things. Maybe > just > > > do a minimal install but include the 'lib32' dist for 32-bit binary > compat? > > > minimal probably doesn't include it (but vi also should be a 64-bit > binary, > > > try using 'file' rather than brandelf to see what file thinks vi is). > > > > Sorry for the delay in replying, > > > > I have just did a new install (completely erasing and > > reformatting the disk) and this time I did a standard > > install, choosing developer + lib32. Now the box > > stops in the boot process attempting to mount root: > > > > [...] > > ad4: 152587 at ata2-master UDMA33 > > SMP: AP CPU #1 Launched! > > SMP: AP CPU #2 Launched! > > SMP: AP CPU #3 Launched! > > Trying to mount root from ufs:/dev/ad4s1a > > /libexec/ld-elf.so.1: /lib/libncurses.so.7: Shared object > > has no run-time symbol table > > Enter fill pathname of shell or RETURN for /bin/sh: > > > > I cannot even type RETURN and enter a shell, because the > > same message about libncurses.so.7 appears! > > I think you have some sort of local corruption either on the CD itself, the > ISO image, or perhaps on the hard drive? If the 7.0 CD were this > fundamentally broken there would be more widespread reports of problems > rather than this isolated incident. > -- > John Baldwin I will try and burn another copy of the ISO image ... apart from that, as I said, the checksums on the downloaded image match to those in file, and the disk behaves OK with both Ubuntu and FreeBSD-6.x Fernan