From owner-freebsd-stable Wed Jun 30 12:17:19 1999 Delivered-To: freebsd-stable@freebsd.org Received: from guard.polynet.lviv.ua (Guard.PolyNet.Lviv.UA [194.44.138.1]) by hub.freebsd.org (Postfix) with SMTP id 1321B15660 for ; Wed, 30 Jun 1999 12:17:03 -0700 (PDT) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 25748 invoked from network); 30 Jun 1999 19:17:00 -0000 Received: from unknown (HELO postoffice.polynet.lviv.ua) (unknown) by unknown with SMTP; 30 Jun 1999 19:17:00 -0000 Received: (qmail 42419 invoked from network); 30 Jun 1999 19:16:59 -0000 Received: (ofmipd unknown); 30 Jun 1999 19:16:37 -0000 Date: 30 Jun 1999 22:16:58 +0300 Message-ID: From: "Andrij Korud" To: "Chris Dillon" Cc: freebsd-stable@freebsd.org Subject: RE: Linux emulation MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On 30 Jun 1999, Andrij Korud wrote: > > > Hi. > > While trying to run PowerAlert plus for Linux on FreeBSD > 3.2-STABLE box I > > got a message: > > "LINUX: 'ioctl' fd=0, typ=0x54(T), num=0x17 not implemented" > > Any ideas? > > > > regards, > > Andrij Korud > > I'll be darned if I wasn't trying the same thing yesterday. :-) I'm > betting that ioctl has something to do with opening the serial port, > since the daemon keeps spitting out "Communication to UPS lost" in the > logs, even though I verified communication by using tip(1) on the port > and chatting with the UPS (the UPS "driver" files, which are actually > Win-INI style text files, are a good albeit cryptic reference to what > commands each UPS uses.) > > I also couldn't get the Shutdown Client to work with the server > running on an NT box, even though no errors were displayed. > > I've already modified the installation script to detect FreeBSD and > DTRT for the most part, and if I ever get this to work under > emulation, I think I'll make a port out of it (ala the StarOffice and > WP ports), and possibly even submit the installation script patches to > TrippLite, while at the same time pushing them for a native FreeBSD > version. :-) > > Just now I've traced it under Linux using strace utility and found that it fail on ioctl(comport, TIOCMBIC... but now I really don't know what this operation should do. regards, Andrij Korud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message