From owner-freebsd-stable@FreeBSD.ORG Fri Oct 17 19:59:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17F63106564A for ; Fri, 17 Oct 2008 19:59:37 +0000 (UTC) (envelope-from tonymaher@optusnet.com.au) Received: from fallbackmx07.syd.optusnet.com.au (fallbackmx07.syd.optusnet.com.au [211.29.132.9]) by mx1.freebsd.org (Postfix) with ESMTP id A42398FC12 for ; Fri, 17 Oct 2008 19:59:36 +0000 (UTC) (envelope-from tonymaher@optusnet.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by fallbackmx07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9HAEU3q013927 for ; Fri, 17 Oct 2008 21:14:30 +1100 Received: from karma.home (c58-107-100-206.thorn1.nsw.optusnet.com.au [58.107.100.206]) (authenticated sender tonymaher) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9HAESbk000867 for ; Fri, 17 Oct 2008 21:14:28 +1100 Message-ID: <48F86584.1090205@optusnet.com.au> Date: Fri, 17 Oct 2008 21:14:28 +1100 From: Tony Maher User-Agent: Thunderbird 2.0.0.17 (X11/20081004) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 7.1 prelease, dump, dtrace X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 19:59:37 -0000 Hello, Just some observations. I upgrade from 7.0 release to 7.1 prerelease (Oct 16) which went fine as usual :-) Then wanted to try dtrace. Initially just added options options KDTRACE_HOOKS options DDB_CTF options KDTRACE_FRAME Made kernel and rebooted ok. Then read handbook and followed # cd /usr/src # make WITH_CTF=1 buildworld # make WITH_CFT=1 kernel # make WITH_CFT=1 installworld # mergemaster -Ui Rebooted GEOM: new disk ar0 Trying to mount root from ufs:/dev/ar0s2a start_init: trying /sbin/init init died (signal 6, exit 0) panic: Going nowhere without my init! cpuid = 0 Uptime: 6s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Hmmm. Run restore from backup disk (7.0) cvsup again and reinstall 7.1 Do the dtrace kernel mods and just make kernel WITH_CFT=1. Reboot everything appears ok. Power up the USB disk used for backups. Hmmm. Hard lock. Page fault in usb3. Load up kernel with dtrace but not with WITH_CFT=1. Same problem. Next time power on disk before booting. Boots ok and usb disk mounts ok. Ok rebuild kernel without any dtrace options and reboot. Now can power on usb disk after booting and it all works ok. Ok - so stay away from dtrace for now! On another subject dump. I dump to a usb disk and to save space pipe output thru gzip before sending to disk $DUMP $ARGS -$LVL -f - /dev/$fs | gzip -1 -c > $dumpfile ; This has been working fine. A month ago I got a new larger usb disk so tried to send directly to disk and avoid the gzip. Dump stalled. Tried thru gzip to new disk - works fine. I saw the threads about dump stalling so stuck with piping thru gzip. Read it is supposed to be fixed under 7.1 so tried dump direct to disk under 7.1 and it works fine! System is FreeBSD 7.1-PRERELEASE #6: Fri Oct 17 19:55:21 EST 2008 root@karma.home:/usr/obj/usr/src/sys/KARMA Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2687.71-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3fd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 4208721920 (4013 MB) avail memory = 4049219584 (3861 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard ... ... So dump good, dtrace not so good! (dtrace -l worked) Everything else appears to be working fine. Thanks for all the hard work. cheers -- Tony Maher email: tonymaher@optusnet.com.au