From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 21 09:15:01 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A43992C5; Fri, 21 Nov 2014 09:15:01 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (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 32381110; Fri, 21 Nov 2014 09:15:01 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x12so6011786wgg.33 for ; Fri, 21 Nov 2014 01:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Pvd9sdb+SIRdwqmNeEvds0J7jTdcSLFIDO3lJWh0muU=; b=Gi9TjA8TIRL+R9WTm18d+htJ/UbUk7PTDrUlreDKubaybc5aTqBqfT8XkERP+3aGWI WniJZ3q8XlAFHxefEUgyM6nu1iFSOHH0Qav8hqWaaKh+bBVhEqqrCZwe4yM3rWmfK38X bKSl4WnO+bHApbIPHrtZDTUM0Q7muVBJzh+lSrdDBWxtTjvyy1QpokEEW33AleCrJK9y PMgqU7aXBUN37eBb0AsHRxrvlbJ/VUWa+6pYIoaP48QrgUH9YiSL4BV+dr+iyEMYSn7k CJIaGzIrdL7GOMOAP/WUvZMGsQh4ccxqkDCQF5GS4m2iScHT0dNgME5VQVKhglt3xPLx 767g== X-Received: by 10.180.76.110 with SMTP id j14mr18097613wiw.40.1416561296564; Fri, 21 Nov 2014 01:14:56 -0800 (PST) Received: from [192.168.1.131] ([83.145.205.163]) by mx.google.com with ESMTPSA id bj7sm7185203wjc.33.2014.11.21.01.14.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Nov 2014 01:14:55 -0800 (PST) Message-ID: <546F028D.9040907@gmail.com> Date: Fri, 21 Nov 2014 11:14:53 +0200 From: Jukka Ukkonen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev , Nathan Whitehorn Subject: Re: Booting freebsd on a powermac g4 from a CD References: <546E38E4.70305@gmail.com> <546E3959.5020904@freebsd.org> <20141121055732.GB56272@FreeBSD.org> In-Reply-To: <20141121055732.GB56272@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 09:15:01 -0000 On 11/21/14 07:57, Alexey Dokuchaev wrote: > On Thu, Nov 20, 2014 at 10:56:25AM -0800, Nathan Whitehorn wrote: >> On 11/20/14 10:54, Jukka Ukkonen wrote: >>> What might be the current official method or at least known >>> working method for booting FreeBSD on a PowerMac G4 from a CD? >> >> You should just be able to insert the CD and hold 'C'. Does that not >> work for you? What model of G4 is this? Right, I needed the CD boot only to fix an existing FreeBSD-10.1 installation which had started hanging during boot time autoconfig right after having displayed gem0 MAC address. These odd systematic hangs began after updating from 10.1-RC3 to 10.1. So, I installed an alternative 10.1 kernel from the CD. It booted without any major problems both from the CD and from the hard disk. The only apparent difference in my locally built kernel was that it used VT instead of syscons. The default ppc kernel on the CD seems to be using syscons. Obviously I rebuilt the kernel locally once more switching back from VT to syscons. Rebooting with the new locally built kernel which uses syscons worked just fine again. So, my quick hypothesis is that VT must be somehow broken. An additional little brain teaser I found while fixing the dysfunctional boot with the VT enabled kernel was that when I boot the ppc system from a CD it seems to be quite happy to work with a PS/2 keyboard connected to a USB adapter. When I boot the system from hard disk this adapter and the PS/2 keyboard connected to it are not recognized at all. Here is what "usbconfig list" tells about the gizmo... ugen1.2: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (400mA) Anyhow it seems that for now it makes sense to stick to using syscons instead of VT on ppc unless one wishes to start debugging VT code. Cheers, --jau