From owner-freebsd-stable@FreeBSD.ORG Wed Dec 3 23:18:55 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2EBAC8AC for ; Wed, 3 Dec 2014 23:18:55 +0000 (UTC) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6D2DCD2 for ; Wed, 3 Dec 2014 23:18:54 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id n12so13012503wgh.36 for ; Wed, 03 Dec 2014 15:18:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=BIkMWnK1lFEUueKbY7IaI2yd9spginKg2RfagB3pxpA=; b=GH3nvKogzLBQfVdMt1sXXwlJa+um8/C3P99lcbkYSW9o5o0BsorMZrqhYp89qq3WKX jDvQClwHjwyrQTjJPojWs6icmspCUYTY57UXboDEfPmTxe9tNMEFCaJ/cajxQv63kXLI hxL2SvATNf587iw3RuR65ttSQiPhwTbAGEXaD18VPSBX8y3JH7sdVx5cptwzc9349vVc R4LEXqy4UgLqP1SSqoTNt7x/5t4GP1/uvEYvQDK20IiLT4gQ+xJju2mNOZfjC64wSaTC Tj4AhYRfEIRK8uBDlcBsPwwzuV8SPEZgti7TzC44gxmIWZdBOW3y383KaCTi0cGrMdYs 2UcQ== X-Gm-Message-State: ALoCoQmOLLTL/EEpus7lKmSBS+jcamPa7OC5+lQIe06bF/BdBjazsI23+v7QvQcWqVSFMFQV39e0 X-Received: by 10.194.238.3 with SMTP id vg3mr10615014wjc.69.1417648245816; Wed, 03 Dec 2014 15:10:45 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id qg11sm32132354wic.17.2014.12.03.15.10.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2014 15:10:45 -0800 (PST) Message-ID: <547F98E8.9010104@multiplay.co.uk> Date: Wed, 03 Dec 2014 23:12:40 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Panic (fatal double fault) in a fresh installed 10.1-RELEASE (i386) r274401 with ZFS and GEOM_ELI References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 23:18:55 -0000 Either switch to amd64 or increase the stack size of your kernel. On 03/12/2014 21:07, Vinícius Zavam wrote: > tl;dr; I can't use 10.1-R after has it installed with ZFS(only)+GEOM_ELI. > https://i.imgur.com/LzJkGoL.png > > pciconf? http://pastebin.com/8Fkm1Rte > dmesg? http://pastebin.com/RtSUzsbg > > The box is an old Asus eeePC 1005pe ( > http://www.asus.com/Notebooks_Ultrabooks/Eee_PC_1005PE_Seashell) and I > would like to use it as a FreeBSD (i386) only machine. In the past it was > running smooth with a linux-based O.S. and FreeBSD 9.0-CURRENT (UFS-only). > > Last week, when I got time to kill that old setup, I decided to run it as a > FreeBSD-only machine by ripping everything out with a brand new fresh > installation. Powered by the "new" bsdinstall(8), this step was never so > easy and quick to do and I finished everything following just some dummy > default options. > > Installation image? FreeBSD-10.1-RELEASE-i386-memstick.img, downloaded from > ftp.br.freebsd.org and good checksum (sha256). > > 1. partitions? zfs-only (auto) > 1.1. discs? only one (stripe) > 1.2. encryption? yes (+swap) > 2. system components? all (doc, src, ports, ..) > 3. daemons? everything (moused, powerd, ntpd, ...) > 4. post install steps... reboot! > > All safe and sweet after first reboot and I was able to put back some > backup configurations and installing new packages (pkg, firefox, awesome, > screen, irssi, ..., xscreensaver); but it was late and after downloading > and installing everything I remembered, I decided to power off the system > (usual `halt -p`) and went to bed. > > Blablabla, breakfast... time to touch the beastie again... NOT! > https://i.imgur.com/LzJkGoL.png > > Tried to boot in single, safe and "WHATTHEF*" mode, but got nothing (also > with ACPI off). I was just okay with that and decided to reinstall it and > not loosing so much time... same usb stick... same image... same setup.. > done! I went to a "Live Session" after installing everything again, but, > this time, the battery discharged and the AC power cable... wasn't... > errr... you know :D > > Again, same panic (fatal double fault); APIC ID was sometimes 01 or 00, > depending on my way to boot. I reinstalled 10.1-R two more times, with a > different image (also sha256 checked), downloaded from ftp.freebsd.org and > ftp13.freebsd.org (yes, 13). This time I decided not to run powerd(8) and > not changing powerd_flags to "-a hiadaptive -b adaptive"; rebooted; halted; > powered on again... nice, but just a coincidence. I was using the machine > with firefox, screen and irssi and decided to halt and sleep. Later that > day I got the same panic again. > > I talked to people on IRC (#bsdcode/EFnet) and someone pointed me out that, > somehow, ZFS wasn't able to finish "internal tasks" (routines) and this > could be the cause to f* everything up. gavin@ also pointed me that > powerd(8) couldn't be the "generator" of my problems. nox@ gave me the > advice to wait a little more than the usual to put out the bootable > memstick I created with dd(1) on a "linux machine" (and not to use bs=10240 > or conv=sync parameters)... nothing! Same issue. > > The solution (maybe)? FreeBSD 11.0-CURRENT snapshot (20141113-r274463)? > NOT; downloaded the memstick, disc1 and bootonly images but they didn't > work (didn't even load the bsdinstall(8) or kernel). I also tried a shot > with UNetBootin (http://unetbootin.sourceforge.net) with no success and > here I am! > > My last setup with ZFS was to install everything with ZFS+GEOM_ELI again, > checkout the sources, compile and install world/kernel and upgrade > everything... got nothing. The box complained about "no buffer space" while > running the `make installworld` and, with no hope, I powered off the box by > holding the power button :D > > My current setup is up and running with FreeBSD 10.1-R (i386) with UFS and > no filesystem/swap encryption; that's how I was able to write the > dmesg.boot and pciconf output to pastebin. > > Finally, I ask you: does anyone has a glue or an idea how to solve it? I > really would love to run ZFS here with GELI and some fine tunning to handle > this. > > Ah! I have two other machines (desktops) with 11.0-CURRENT (amd64) running > okay with it... one with ZFS (but no encryption) and another one with UFS. > Both were installed using an ISO-IMAGE of 10.1-RC1. > > B.R., > >