From owner-freebsd-arm@FreeBSD.ORG Wed Jan 9 20:56:18 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 378B826B for ; Wed, 9 Jan 2013 20:56:18 +0000 (UTC) (envelope-from roel@bouwman.net) Received: from smtp01.qsp.nl (smtp01.qsp.nl [193.254.214.162]) by mx1.freebsd.org (Postfix) with ESMTP id ED01BD54 for ; Wed, 9 Jan 2013 20:56:17 +0000 (UTC) Received: from smtp01.qsp.nl (localhost [127.0.0.1]) by smtp01.qsp.nl (Postfix) with ESMTP id 670472A0C81 for ; Wed, 9 Jan 2013 21:50:37 +0100 (CET) Received: from nwg.bouwman.net (berl.bouwman.net [80.101.149.113]) by smtp01.qsp.nl (Postfix) with ESMTP for ; Wed, 9 Jan 2013 21:50:37 +0100 (CET) Received: by nwg.bouwman.net (Postfix, from userid 501) id CA9024516F; Wed, 9 Jan 2013 21:50:29 +0100 (CET) Date: Wed, 9 Jan 2013 21:50:29 +0100 From: Roel Bouwman To: freebsd-arm@freebsd.org Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr) Message-ID: <20130109205029.GB3090@shuttle.bouwman.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2013 20:56:18 -0000 Hi Daisuke, > I have updated clang RPI code based on SVN r244906 + pmap-wb-caches-fix. > Now default transfer mode is DMA. If you want to use PIO(previous method), > you can change it by following command anytime: I have been playing with the image for a few hours now, and have already reflashed it three times. After a crash, the fsck at boot fails and causes a panic: Relevant info: sdhci_bcm0: mem 0xf2300000-0xf23000ff irq 70 on simplebus0 bcm_sdhci_attach(): SDHCI frequency: 100MHz mmc0: on sdhci_bcm0 ... mmcsd0: 7695MB at mmc0 25.0MHz/4bit/65535-block .. Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... WARNING: / was not properly dismounted WARNING: /: mount pending error: blocks 0 files 4 warning: no time-of-day clock registered, system time will not be set accurately Setting hostuuid: 12ffa981-59a2-11e2-8bd9-b827eb5f3b9e. Setting hostid: 0x76c702b3. Entropy harvesting: interrupts ethernet point_to_point kickstart. Starting file system checks: ** SU+J Recovering /dev/mmcsd0s2a ** Reading 8388608 byte journal from inode 4. ** Buildingp id 65 (fsck_ufs), uid 0: exited on signal 11 recovery table. panic: Bad link elm 0xc10fcb0c next->prev != elm KDB: enter: panic [ thread pid 65 tid 100049 ] Stopped at $d: ldrb r15, [r15, r15, ror r15]! db> This is reprocedable each and every time the system shuts down without unmounting the filesystems first. The card is a standard 8GB SD card. The last time the system crashed was a result of an attempt to load ng_ubt: root@raspberry-pi:/boot/kernel # kldload netgraph root@raspberry-pi:/boot/kernel # kldload ng_ubt ubt0: on usbus0 root@raspberry-pi:/boot/kernel # WARNING: attempt to domain_add(bluetooth) after domainfinalize() dmWARNING: attempt to domain_add(netgraph) after domainfinalize() smsc0: warning: bulk read error, USB_ERR_IOERROR ubt0: ubt_bulk_read_callback:885: bulk-in transfer failed: USB_ERR_IOERROR eubt0: ubt_intr_read_callback:785: interrupt transfer failed: USB_ERR_IOERROR panic: hashdestroy: hash not empty KDB: enter: panic [ thread pid 2595 tid 100080 ] Stopped at $d: ldrb r15, [r15, r15, ror r15]! db> Any clues as to either one of the issues? Roel.