Odd-looking serial console prompt on RPI2

Shawn Webb shawn.webb at hardenedbsd.org
Wed Mar 1 23:57:33 UTC 2017


On Wed, Mar 01, 2017 at 09:20:13PM +0100, Michael Tuexen wrote:
> > On 1 Mar 2017, at 21:01, Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
> > 
> > On Mon, Feb 27, 2017 at 11:56:47AM -0800, bob prohaska wrote:
> >> Recently the serial console prompt on an RPI2 running  
> >> FreeBSD 12.0-CURRENT #15 r314322
> >> 
> >> has become corrupted. The initial output from U-boot and
> >> the early part of the boot phase looks normal, but here it goes off:
> >> 
> >> Release APs
> >> WARNING: WITNESS option enabled, expect reduced performance.
> >> random: unblocking device.
> >> Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
> >> warning: no time-of-day clock registered, system time will not be set accurately
> >> Setting hostid: 0x908fd2cStarting file system che/dev/mmcsd0s2a: FILE SYSN; SKIPPKS
> >> /dev2a: clea66 free rags, 13cks, 1.9ntation)/dev/da0p3: FILE SYSTEM KIPPING /dev/da0n, 45357(260308 34432 bl2% fragm)
> >> /dev/da0p4: FILE SYSTEM KIPPING /dev/da0n, 3663539 fragsblocks, 0gmentati/dev/da0p1: FILE SYSTEM KIPPING /dev/da0n, 16010(118 fra18 blockfragmentMounting local file syste.
> >> ELF ldconfig path: /lib  /usr/li /usr/lo/usr/loccc48 /uslib/grapr/local//usr/locpencollalocal/li5.20/macusr/loca4 /usr/lm37/lib al/llvm3Setting hostname: www.ze.
> >> Feeding entropy:.
> >> 
> >> There are a few dropped characters in the output from fsck, for example.
> >> 
> >> Finally, the login prompt looks like this:
> >> 
> >> n: eBSD/arm (www.zefottyu0)
> >> 
> >> Any attempt to type causes the line above to repeat without echo of the
> >> typed characters at each keystroke.
> >> 
> >> If anybody has a hint what's wrong I'd be grateful. One thing I haven't
> >> done is reboot the host driving the FTDI usb-serial adapter. It's been
> >> perfectly stable for more than a month running r311959, so it seems an
> >> unlikely culprit. 
> >> 
> >> Thanks for reading,
> >> 
> >> bob prohaska
> > 
> > Hey Bob,
> > 
> > I've got the same issue on the RPI3. Using HDMI instead of serial works
> > for me, except that doing so is not typical of how I use the RPI3.
> > 
> > I'll soon test on the OverDrive 1000.
> Interesting... Let us know what works and what doesn't...

Serial is broken on the OverDrive 1000 as well. Since the OverDrive 1000
only has a serial port for display (no VGA, HDMI, DVI, etc.), this means
FreeBSD 12-CURRENT is broken on it.

Here's all the output I get:

==== BEGIN LOG ====
>> FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
   Probing 4 block devices......* done
    ZFS found the following pools: rpool
    UFS found no partitions
Consoles: EFI console
Command line arguments: loader.efi
Image base: 0x81f653d000
EFI version: 2.60
EFI Firmware: SoftIron Overdrive 1000 (rev 1.00)

FreeBSD/arm64 EFI loader, Revision 1.1
(Wed Mar  1 21:43:21 UTC 2017 root at updater-01)
EFI boot environment
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x855e08+0x39bfc0 syms=[0x8+0x104088+0x8+0xbdd1b]
/boot/entropy size=0x1000
/boot/kernel/zfs.ko text=0x184c4d data=0x13b80+0x8ff88 syms=[0x8+0x1d538+0x8+0x1597f]
loading required module 'opensolaris'
/boot/kernel/opensolaris.ko text=0x2774 data=0x4b0+0x2730 syms=[0x8+0x10f8+0x8+0x7a3]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x801fe00000.
==== END LOG ====

All output stops after that last line.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170301/7b838753/attachment.sig>


More information about the freebsd-arm mailing list