From owner-freebsd-ppc@freebsd.org Thu Apr 14 00:43:00 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37BFFB0E02F for ; Thu, 14 Apr 2016 00:43:00 +0000 (UTC) (envelope-from instructionset@gmail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA7FE18EF for ; Thu, 14 Apr 2016 00:42:59 +0000 (UTC) (envelope-from instructionset@gmail.com) Received: by mail-yw0-x22b.google.com with SMTP id o66so88725409ywc.3 for ; Wed, 13 Apr 2016 17:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=LCRdsup20oE/33N+38U+A4ZZiB03mVJgWGJsr78OvG8=; b=aOXZ9hk3vOti7ipvWmNndp5FKGWDeEgbemNboMLeoHa4jY2fh39IeTBdZl/PlJisnh oGABuuhLP/KtkCRMdyuxZmFYHrv1PTcX3mEKIhJxKD3ljIHu9xAbo3oGwFweOkYkU09n WsfuEGBupv1h92MtGQH8PNEGIKNIV0Hf8LRKXV7FKvVBwqblo+7qlhLh+Rdq6x+3tD4U VdYNgaamuxzO72d77pr27E0iECHJMViLhNjw9JQiqwrj4xrZdvwXgdmkj7KZRQarcnQP LxHXxY5zjszYfb6VGOVBLQrv4GBXB1haJ6qlKXkiMaiWbKqkViwDFOry7lt+lz85SV1p 2agg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=LCRdsup20oE/33N+38U+A4ZZiB03mVJgWGJsr78OvG8=; b=lbQDcFeF5DVfF9DHi9bd02gYMby5N+sSg57EXRMMbMFxlB7ONJK4E8Uc198FHwvAuI xLSwyXuh1XSPn81JnebcUcc6r+rkSWQxL3hBx+vKpcLH/WUmlXGn2AgDxt2DQoIZkvm/ YDylvCTJ/Vd7xZnenBTZ7V4yxLSLAea9roivE9NO+El5RAc56a7v3bxLVhw3q9T1D3If Su9jS9zgOpcCYcgBwPeQKggm6k6MrKoOV0D7YWcswYKyPHjlavwaXCFbP78kmFWGjqbn WH8ISGSbgeQnDL2/zPJ794UFumdK71v/iyho9YFze7wvltvpol6L0a91os0YEBEbo9Wf o2SQ== X-Gm-Message-State: AOPr4FWe9SMTlhNIu0FhN61jOwHS/OYjxKvGrMKyyZLPtP7mVW/Npkyj7ZlKCPTNbc6e47zQxIqRTaocw1xnjw== MIME-Version: 1.0 X-Received: by 10.37.37.151 with SMTP id l145mr6907147ybl.112.1460594579264; Wed, 13 Apr 2016 17:42:59 -0700 (PDT) Received: by 10.13.218.130 with HTTP; Wed, 13 Apr 2016 17:42:59 -0700 (PDT) In-Reply-To: References: <570D4E09.1000700@codelibre.net> <570EE30D.5060506@codelibre.net> Date: Wed, 13 Apr 2016 19:42:59 -0500 Message-ID: Subject: Re: Booting a new kernel after "make installkernel" From: Bill Sorenson To: Roger Leigh Cc: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 00:43:00 -0000 If this fixes your problem I'll file a bug report. I've been working on coming up with a real patch to properly fix this in my spare time. Thanks, Bill S. On Wed, Apr 13, 2016 at 7:37 PM, Bill Sorenson wrote: > Hopefully this makes sense. What i want you to do is replace > "sys/dev/ofw/ofw_iicbus.c" in 10.3 with the "sys/dev/ofw/ofw_iicbus.c" from > 10.2. There was a commit about 2 months ago to 10-stable and now 10.3 that > I think broke the way Open Firmware machines read temp sensors, so your > kernel wont boot because it thinks your system is overheating and resets. > > If you check out 10.3 and copy the 10.2 ofw_iicbus.c over into the tree > replacing the newer one, I'll bet you'll build and boot fine. > > If it solves your problem I'll know I'm on the right track. (I think the > breakage is actually in a driver somewhere, and the fix to ofw_iicbus.c > caused a regression). > > Anyway, you should be able to just try building the kernel rather than the > whole system if you want to save time. Especially if your 10.3 userland > already booted back up with your kernel.old before. > > Thanks, > Bill S. > > > On Wed, Apr 13, 2016 at 7:23 PM, Roger Leigh wrote: > >> I've retried with 10.2-releng (r297915) built from a 10.2-RELEASE-p0 >> install, and it built and rebooted just fine, now on p14. It took 14 >> hours, but great success! >> >> I'd be happy to retry with 10.3 or 11 either vanilla or with any patches >> you'd like testing. >> >> >> Thanks, >> Roger >> >> On 12/04/2016 20:41, Bill Sorenson wrote: >> >>> I have had an issue with 10.3 on PowerPC that causes an unbootable >>> situation. Try 10.2-releng and if that works I have something for you to >>> try. >>> >>> On Apr 12, 2016 2:36 PM, "Roger Leigh" >> > wrote: >>> >>> Hi folks, >>> >>> Sorry for the awfully naive question, but I've tried on several >>> occasions to build world using the instructions here: >>> https://www.freebsd.org/doc/en/books/handbook/makeworld.html >>> >>> They work fine on amd64, but on powerpc I'm always left with an >>> unbootable system. It looks like it can't load or boot the kernel. >>> I've not customised anything; I've been trying to build 10.x-stable. >>> >>> My previous experience was on Debian which required running yaboot >>> to update the Open Firmware bootloader configuration. Are there any >>> additional steps required on FreeBSD/powerpc which aren't in the >>> generic instructions? >>> >> >> >