From owner-freebsd-questions@freebsd.org Wed Aug 10 15:21:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05441BB5273 for ; Wed, 10 Aug 2016 15:21:16 +0000 (UTC) (envelope-from Ben.Lavery@capita.co.uk) Received: from cluster-b.mailcontrol.com (cluster-b.mailcontrol.com [85.115.56.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailcontrol.com", Issuer "DigiCert SHA2 High Assurance Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A00C41966 for ; Wed, 10 Aug 2016 15:21:15 +0000 (UTC) (envelope-from Ben.Lavery@capita.co.uk) Received: from CAPPRWMEEG01.capita.co.uk ([195.89.201.254]) by rly08b.srv.mailcontrol.com (MailControl) with ESMTPS id u7AESo3k042674 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 10 Aug 2016 15:33:53 +0100 Received: from CAPPRWMEHC01.central.ad.capita.co.uk (10.154.131.162) by CAPPRWMEEG01.capita.co.uk (10.154.64.241) with Microsoft SMTP Server (TLS) id 14.3.294.0; Wed, 10 Aug 2016 15:33:50 +0100 Received: from edge.capita.co.uk (10.154.64.241) by CAPPRWMEHC01.central.ad.capita.co.uk (10.154.131.162) with Microsoft SMTP Server (TLS) id 14.3.294.0; Wed, 10 Aug 2016 15:33:29 +0100 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (213.199.154.113) by edge.capita.co.uk (10.154.64.241) with Microsoft SMTP Server (TLS) id 14.3.294.0; Wed, 10 Aug 2016 15:33:48 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capita.onmicrosoft.com; s=selector1-capita-co-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=R27Bap80WaWLsYXCNrTMTCv5PAenCvonofV8B86zA7g=; b=bk31wlZN6RGRT8d+vF0HXD/8m1btsBz5DpdQpP3rxxkJIxwyBEI80hsxO0m957vfoDqSah06PO3XPp165UNdO7ejQplMAh+Zg+QyUgKtEOWCPOL0xWgBPghnCH27wZtpUp8ByUS/YjtIIng3DirVjY2lK7XvJ7U/+Z6OFKRycjA= Received: from AM3PR04MB1202.eurprd04.prod.outlook.com (10.163.6.148) by AM3PR04MB1202.eurprd04.prod.outlook.com (10.163.6.148) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8; Wed, 10 Aug 2016 14:33:25 +0000 Received: from AM3PR04MB1202.eurprd04.prod.outlook.com ([fe80::6197:3592:b365:95ab]) by AM3PR04MB1202.eurprd04.prod.outlook.com ([fe80::6197:3592:b365:95ab%14]) with mapi id 15.01.0557.009; Wed, 10 Aug 2016 14:33:25 +0000 From: "Lavery, Benjamin (IT Enterprise Services)" To: "freebsd-questions@freebsd.org" Subject: RE: Serial redirection halts on Dell PowerEdge 1955 Blade (mfsBSD) Thread-Topic: Serial redirection halts on Dell PowerEdge 1955 Blade (mfsBSD) Thread-Index: AdHu+A/aAVoMm0dQTau1lXQn8/FjBwCahrWgAGx0ZiA= Date: Wed, 10 Aug 2016 14:33:25 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ben.Lavery@capita.co.uk; x-originating-ip: [82.203.17.6] x-ms-office365-filtering-correlation-id: 1270d5d6-80cb-4d6e-4de3-08d3c12b499b x-microsoft-exchange-diagnostics: 1; AM3PR04MB1202; 20:uvVbg8pq6PguH6x22TALtO5+/f41pRV62ZU2H/tdWPjWAlym67ikLdUGMVl8OenQ3iBZ/dSV71l/cgncxM7eWllQz6cDb9Bjy3aX08bBE2RwmSCvjIbhCjS/QDWcu9LrEpqQQZ8NOWVQBQ1BmFYsYKjBJ6cDdSVIYU8GrNhG98XfmSWMirU8U1RFpUUKXu+ltOTIQYKuawtlrt4yLWpWwE0DblqVatodrHtkLCJwSBS7SnCyTzaqMiYdqYkyVOwbad8mZqKZvUbTVASnruiCVlhAn9OukNBrEoZTr+BosFq+N+E+/cbVP8qtmX86CxZYGQegSwqvDf3+gkacCCzfasmkaTLD+Q3kjFBK3L9QNRx5qabD65dt7PIjASrVPSmbAE/vUkzo+8nptwcS2PgA3hEgrM0UV+u9qtdNkS2+U6dvPu6s77El8JHkwdKRoi7e5mYRmQZDSkokOPtS1g8tkUnIb/tp5LKIBKbnjYPk1xMURj8V8SyHA+Cn08l3IYK8 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR04MB1202; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040166)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:AM3PR04MB1202; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1202; x-forefront-prvs: 0030839EEE x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(189002)(13464003)(66654002)(199003)(2351001)(586003)(5640700001)(33656002)(7736002)(110136002)(50986999)(5002640100001)(54356999)(1720100001)(189998001)(450100001)(3660700001)(86362001)(3900700001)(2501003)(305945005)(74316002)(11100500001)(3280700002)(97736004)(7696003)(15975445007)(105586002)(2900100001)(106356001)(7846002)(66066001)(3846002)(76576001)(102836003)(101416001)(19580395003)(2906002)(87936001)(8676002)(8936002)(81156014)(107886002)(5890100001)(92566002)(68736007)(81166006)(5250100002)(74482002)(6116002)(19580405001)(9686002)(357404004); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR04MB1202; H:AM3PR04MB1202.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: capita.co.uk does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2016 14:33:25.0960 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1edaad83-b2ef-483d-81f1-2c48682f40ec X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1202 X-ExSBR-Organization: edge.capita.co.uk X-OriginatorOrg: capita.co.uk X-Scanned-By: MailControl 44278.1378 (www.mailcontrol.com) on 10.66.0.118 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 15:21:16 -0000 Fixed, thanks to this thread: http://mailing.freebsd.questions.narkive.com/= 1jubDzGu/r220-s-with-serial Adding=20 hw.uart.console=3D"io:0x2f8,br:57600" to /boot/loader.conf seems to have fixed the issue. -----Original Message----- From: Lavery, Benjamin (IT Enterprise Services)=20 Sent: 08 August 2016 11:48 To: 'freebsd-questions@freebsd.org' Subject: FW: Serial redirection halts on Dell PowerEdge 1955 Blade (mfsBSD) Good morning all, (Apologies, cross-posting from freebsd-hardware) I have been given an old Dell PowerEdge chassis filled with PowerEdge 1955 = blades. I also have a FreeNAS which I'm using to serve DHCP addresses and = TFTP for PXE booting. I can get the blades to PXE boot (I'm using pxelinux to load mfsbsd-10.3-RE= LEASE-amd64), but the serial redirection is only working for the first part= of the boot sequence. After select mfsBSD at the menu, I get the followin= g (verbose boot chosen at the boot menu): Loading memdisk... ok ok e820: 0000000000000000 00000000000a0000 1 e820: 0000000000100000 00000000cfea8000 1 e820: 00000000cffa8000 000000000000fc00 3 e820: 00000000cffb7c00 0000000000048400 2 Total size needed =3D 2513 bytes, allocating 3K Old dos memory at 0x8a000 (map says 0xa0000), loading at 0x89400 1588: 0xffff 15E801: 0x3c00 0xcbba INT 13 08: Success, count =3D 1, BPT =3D 0000:0000 Drive probing gives drive shift limit: 0x82 old: int13 =3D ca001da6 int15 =3D f000f859 int1e =3D f000efc7 new: int13 =3D 8940000a int15 =3D 894003ba int1e =3D f000efc7 Loading boot sector... booting... /boot/config: -D =20=20=20=20 FreeBSD/x86 boot Default: 0:ad(0p2)/boot/loader boot: BTX loader 1.00 BTX version is 1.02 console comconsole failed to initialize Consoles: internal video/keyboard serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS drive D: is disk2 BIOS 549kB/3353216kB available memory =20=20=20=20 FreeBSD/x86 bootstrap loader, Revision 1.1 (root@releng1.nyi.freebsd.org, Fri Mar 25 02:04:38 UTC 2016) \oading /boot/defaults/loader.conf lapic3: Routing NMI -> LINT1 lapic3: LINT1 trigger: edge lapic3: LINT1 polarity: high lapic7: Routing NMI -> LINT1 lapic7: LINT1 trigger: edge lapic7: LINT1 polarity: high MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 192-215 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 wlan: <802.11 Link Layer> snd_unit_init() u=3D0x00ff8000 [512] d=3D0x00007c00 [32] c=3D0x000003ff= [1024] feeder_register: snd_unit=3D-1 snd_maxautovchans=3D16 latency=3D5 feede= r_rate_min=3D1 fe eder_rate_max=3D2016000 feeder_rate_round=3D25 null: nfslock: pseudo-device =91=91=91=91=91=91=91=91=91=91=91 The odd glitch (=91) is me trying to input after output stops. I'm accessi= ng the console by TELNETing to the blade chassis, and connecting to the bla= de console. I believe this runs at a baud rate of 57600. Because of this = I've modified the following files within mfsBSD: etc/ttys (from inside mfsroot.gz) # Serial terminals ttyu0 "/usr/libexec/getty std.57600" vt100 on secure ttyu1 "/usr/libexec/getty std.57600" dialup on secure ttyu2 "/usr/libexec/getty std.57600" vt100 off secure ttyu3 "/usr/libexec/getty std.57600" vt100 off secure # Dumb console dcons "/usr/libexec/getty std.9600" vt100 off secure boot/loader.conf boot_multicons=3D"YES" boot_serial=3D"YES" comconsole_speed=3D"57600" console=3D"comconsole" The Java console from the chassis web interface doesn't work on my laptop, = but via another server I've been able to grab the attached screenshot. It = states: getty[706]: open /dev/ttyu0: No such file or directory Unfortunately the Java console doesn't work well enough for me to use to lo= g in and get at any settings (getting it to load that far took 10 minutes..= .) The blades BIOS is set up to redirect to COM2 (it's either that or be disab= led) and to emulate vt100/vt200 (could also be ANSI, but this doesn't seem = to allow input). Would anyone have any ideas about how I can get console redirection working= past this point? Or where I can look to get more information? Many thanks, Ben This email is security checked and subject to the disclaimer on web-page: h= ttp://www.capita.co.uk/email-disclaimer.aspx