From owner-freebsd-sparc64@freebsd.org Sun Sep 6 13:02:13 2015 Return-Path: Delivered-To: freebsd-sparc64@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 57E099C5D42 for ; Sun, 6 Sep 2015 13:02:13 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from s16892447.onlinehome-server.info (s16892447.onlinehome-server.info [82.165.15.123]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 165031511; Sun, 6 Sep 2015 13:02:12 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from cpc2-slam8-2-0-cust642.2-4.cable.virginm.net ([82.24.206.131] helo=[192.168.0.5]) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1ZYZaB-0003DH-MS; Sun, 06 Sep 2015 14:02:10 +0100 Message-ID: <55EC3949.1020508@ilande.co.uk> Date: Sun, 06 Sep 2015 14:02:01 +0100 From: Mark Cave-Ayland User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Alexey Dokuchaev CC: John Baldwin , "freebsd-sparc64@freebsd.org" References: <557ADCAB.9020409@FreeBSD.org> <557B6116.70900@ilande.co.uk> <557C1162.3000106@FreeBSD.org> <557D82F8.50908@ilande.co.uk> <557DA6D5.4070800@FreeBSD.org> <557DCF54.7020606@ilande.co.uk> <557DF887.20508@ilande.co.uk> <20150906110308.GA68829@FreeBSD.org> <55EC2E8D.4020803@ilande.co.uk> <20150906124859.GA14919@FreeBSD.org> In-Reply-To: <20150906124859.GA14919@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 82.24.206.131 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: Re: PCI range checking under qemu-system-sparc64 X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: No (on s16892447.onlinehome-server.info); Unknown failure X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2015 13:02:13 -0000 On 06/09/15 13:48, Alexey Dokuchaev wrote: > On Sun, Sep 06, 2015 at 01:16:13PM +0100, Mark Cave-Ayland wrote: >> On 06/09/15 12:03, Alexey Dokuchaev wrote: >>> Mark did you have any success with getting the boot process further? >> >> Not really - due to changes with my job and involvment in GSoC this year >> then my QEMU SPARC64 work hasn't really progressed much :( >> >> I don't have my FreeBSD environment setup right now (due to OS upgrade) >> but can you post the console output for the boot as far as it gets with >> the current version of the patch applied? > > Last few lines: > > [...] > eeprom0: addr 0x1400002000-0x1400003fff on ebus0 > eeprom0: cannot allocate resources > device_attach: eeprom0 attach returned 6 > ebus0: addr 0 (no driver attached) > ebus0: addr 0x14000003f8-0x14000003ff irq 43 (no driver attached) > ebus0: addr 0x1400000060-0x1400000067 (no driver attached) > pci0: at device 4.0 (no driver attached) > atapci0: port 0x8100-0x8107,0x8180-0x8183,0x8200-0x8207,0x8280-0x8283,0x8300-0x830f at device 5.0 on pci0 > ata2: at channel 0 on atapci0 > ata3: at channel 1 on atapci0 > cryptosoft0: on nexus0 > nexus0: type unknown (no driver attached) > Timecounter "tick" frequency 100000000 Hz quality 1000 > Event timer "tick" frequency 100000000 Hz quality 1000 > Timecounters tick every 1.000 msec > IPsec: Initialized Security Association Processing. > > Full log available here: > > http://193.124.210.26/head-r287497-sparc64-qemu.log > > ./danfe Thanks a lot. I wonder if the problem is just that suitable console drivers can't be found? > ebus0: addr 0x14000003f8-0x14000003ff irq 43 (no driver attached) > ebus0: addr 0x1400000060-0x1400000067 (no driver attached) The QEMU hardware model is still a WIP and the serial port currently uses a 16550A UART (su) device rather than ESCC found in real hardware, while the keyboard is a simple PS2 keyboard. If you alter your kernel configuration to include building of the su and ps2 driver modules, does this help with detection of the serial and keyboard devices and if so, does boot progress any further at all? ATB, Mark.