From owner-freebsd-arm@FreeBSD.ORG Sun Apr 20 23:37:38 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 362D3A4B for ; Sun, 20 Apr 2014 23:37:38 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13F8310DD for ; Sun, 20 Apr 2014 23:37:37 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id s3KNbath091928 for freebsd-arm@freebsd.org; Sun, 20 Apr 2014 23:37:36 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.101] (192.168.1.66 [192.168.1.66]) by kientzle.com with SMTP id e5atbusnwtumj2kinvjyzxa34a; for freebsd-arm@freebsd.org; Sun, 20 Apr 2014 23:37:36 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Curious BeagleBone console hang... Message-Id: <723E6F77-A274-4115-8D37-C12353494EA1@freebsd.org> Date: Sun, 20 Apr 2014 16:37:36 -0700 To: FreeBSD ARM Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2014 23:37:38 -0000 Here's an odd one: $ stty 72 consistently hangs the serial console on a BeagleBone running FreeBSD-CURRENT r264208. (I found this out by accidentally omitting 'rows' when I typed the command.) Doesn't seem to affect an SSH session, only the serial console. After doing this, nothing seems to be running; the console is just completely non responsive: even echo is dead. I can recover by logging in through SSH and killing the console login. Trying to puzzle it out: $ truss stty 72 ... ioctl(0,TIOCGETA,0xbffffcb0) = 0 (0x0) ioctl(0,TIOCGETD,0xbffffc9c) = 0 (0x0) ioctl(0,TIOCGWINSZ,0xbffffcdc) = 0 (0x0) ioctl(1,TIOCGETA,0xbffffb60) = 0 (0x0) ioctl(2,TIOCGETA,0xbffffb60) = 0 (0x0) fstat(1,{ mode=crw------- ,inode=32,size=0,blksize=4096 }) = 0 (0x0) fstat(2,{ mode=crw------- ,inode=32,size=0,blksize=4096 }) = 0 (0x0 Does this make sense to anyone? Tim