From owner-freebsd-emulation Tue Jul 21 13:39:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06283 for freebsd-emulation-outgoing; Tue, 21 Jul 1998 13:39:29 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06253; Tue, 21 Jul 1998 13:39:20 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA01804; Tue, 21 Jul 1998 13:37:52 -0700 (PDT) Message-Id: <199807212037.NAA01804@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Julian Elischer cc: John Wilkes , freebsd-questions@FreeBSD.ORG, sef@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: linux emulation and dongle on serial port In-reply-to: Your message of "Tue, 21 Jul 1998 12:38:27 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 21 Jul 1998 13:37:52 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > I want to use some Linux software which requires a Rainbow dongle on the > > > > serial port. It works fine running native Linux, but with FreeBSD (2.2.5 > > > > and 2.2.6) Linux emulation, the hardware dongle is not recognized. Is > > > > there any restriction on using the serial ports with linux emulation? > > > > > > You might try see what it's doing under linux with trace > > > > I finally did this and here is what it says: It looks like you used kdump. If this is the case, please repeat the dump with linux_kdump out of the ports collection, as Linux uses different syscall numbers. This is an FAQ, and I'm surprised that nobody mentioned it before. > > 329 rbuxid CALL recvmsg(0xa) > > 329 rbuxid RET recvmsg 10/0xa > > Ok, so I wonder where it's getting a message from? This is a giveaway; you have definitely used the wrong kdump. (recvmsg takes three arguments, not one. recvmsg is syscall #27 under FreeBSD, but #27 under Linux is alarm(), which takes one arg.) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message