Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 21:50:29 +0100
From:      Roel Bouwman <roel@bouwman.net>
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>

next in thread | raw e-mail | index | archive | help
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: <Broadcom 2708 SDHCI controller> mem 0xf2300000-0xf23000ff irq 70 on simplebus0
bcm_sdhci_attach(): SDHCI frequency: 100MHz
mmc0: <MMC/SD bus> on sdhci_bcm0
...

mmcsd0: 7695MB <SDHC SDC   1.0 SN 570618485 MFG 12/2012 by 116 JE> 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: <Broadcom Corp Bluetooth Com One Device, class 224/1, rev 2.00/1.00, addr 4> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130109205029.GB3090>