Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2017 18:57:31 -0500
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Michael Tuexen <tuexen@fh-muenster.de>
Cc:        bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org
Subject:   Re: Odd-looking serial console prompt on RPI2
Message-ID:  <20170301235731.553n3yabbfyktdvc@mutt-hbsd>
In-Reply-To: <4194F030-4E5C-4EB6-82D7-FD725E3B7CEF@fh-muenster.de>
References:  <20170227195647.GA91329@www.zefox.net> <20170301200112.ymwkfd64tzz5f3b2@mutt-hbsd> <4194F030-4E5C-4EB6-82D7-FD725E3B7CEF@fh-muenster.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Mar 01, 2017 at 09:20:13PM +0100, Michael Tuexen wrote:
> > On 1 Mar 2017, at 21:01, Shawn Webb <shawn.webb@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@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAli3X+gACgkQaoRlj1JF
bu40sQ//fnBt5RA6SCeAi1aE4dFiWjnCQxia9n/j/lJEWrRNsgjDbyGTatNIzWnK
h/PoI0ZQ583KqmNOMnUNl/QvprYMGwDqXvJKGA66tvdY7+wlT5Yr6uRQnwfoiROh
HnskCAcjJbN4r41yU73Z/JyXTydqODMP2XydP85zOdaY/XVzWFjzFrqTO1XkirD3
HGp+toZlyIJDlN9FyqT+D4BM3YRYfqr2sMbHXICMKUDMI/DVmx6p5uQYWAgBqokQ
gNQzqSL410hgC8xFsvtCf8uwve6yOota1wp8QcwBqOFG2yWh82g0n/24ZAcaw6lk
p/wMNtbdcDg9YJGOcmUJ4Z3HOu++q2QTd8WVzXCR6N0uqSeAqKgcBiDpRUVBphcN
RfES/4nRG5R9G/7q6lZfpMZ3VgqUqJv+QbmY+lOfpNtVWYSV1tmRtAk+qe4F13J3
s8D8UlIrkApAgy81l24yfyYRqmfFvDIhx4jpLCUJ4hdjiiouFH5kThvtW1+GjNIZ
RsObV0weAwbPs+KoibRTwX7cq3wCoKO/xbMYvIyMzwBUbKpx5SB4L0bQzn6uhjCN
9zRFP0tfY2OT0BOMlu1xkoPJd+Yinnhu29rMlvcTgH16bgSdHPmo1gFqwJ+anrG1
uUuolc0ggHSCn4xt/5PgTZrKw2JOpcVZiQJBGzo5r2x9ktHQKYo=
=N97v
-----END PGP SIGNATURE-----
home | help

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