From owner-freebsd-stable Sun Dec 2 19:43:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dc-mx04.cluster1.charter.net (dc-mx04.cluster0.hsacorp.net [209.225.8.14]) by hub.freebsd.org (Postfix) with ESMTP id A722D37B416 for ; Sun, 2 Dec 2001 19:43:19 -0800 (PST) Received: from [24.158.214.244] (HELO gforce.johnson.home) by dc-mx04.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP-TLS id 1708035; Sun, 02 Dec 2001 22:49:36 -0500 Received: (from glenn@localhost) by gforce.johnson.home (8.11.6/8.11.6) id fB33h8h00769; Sun, 2 Dec 2001 21:43:08 -0600 (CST) (envelope-from glenn) Date: Sun, 2 Dec 2001 21:43:08 -0600 From: Glenn Johnson To: Marcel Moolenaar Cc: stable@FreeBSD.ORG Subject: Re: problem with the new linux module Message-ID: <20011203034308.GA643@gforce.johnson.home> References: <20011130102101.A5245@node7.cluster.srrc.usda.gov> <20011202180007.A2618@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011202180007.A2618@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Dec 02, 2001 at 06:00:08PM -0800, Marcel Moolenaar wrote: > On Fri, Nov 30, 2001 at 10:21:01AM -0600, Glenn Johnson wrote: > > > The commits made to the Linux kernel module beginning Nov 5, 2001 > > 19:08:22 GMT have broken the Linux FLEX license manager. The output > > of 'lmutil lmhostid' should produce output as follows: > > > > lmutil - Copyright (C) 1989-2000 Globetrotter Software, Inc. > > The FLEXlm host ID of this machine is "000102c921d5" > > ^^^^^^^^^^^^^^^^ > > > > However, with the new Linux module, the following is produced: > > > > lmutil - Copyright (C) 1989-2000 Globetrotter Software, Inc. > > The FLEXlm host ID of this machine is "" > > ^^^^ > > Note the null host ID. This prevents any product that uses FLEXlm > > from verifying its' license and thus keeps it from running. > > You will have to provide more detailed information if you want this > to be resolved. It would be good to know which syscall(s) is behaving > differently. Ok, I do not have a good understanding of things at the kernel level so I may need some help getting more details. I ran ktrace on the process. Below is the tail end of the ktrace using linux_kdump to process the ktrace file. 692 lmutil CALL linux_socketcall(0x1,0xbfbff5c4) 692 lmutil RET linux_socketcall 3 692 lmutil CALL linux_ioctl(0x3,SIOCGIFHWADDR,0xbfbff614) 692 lmutil RET linux_ioctl -1 errno 22 Invalid argument 692 lmutil CALL close(0x3) 692 lmutil RET close 0 692 lmutil CALL write(0x1,0x280ad000,0x29) 692 lmutil GIO fd 1 wrote 41 bytes "The FLEXlm host ID of this machine is "" " 692 lmutil RET write 41/0x29 692 lmutil CALL munmap(0x280ad000,0x2000) 692 lmutil RET munmap 0 692 lmutil CALL exit(0) I hope this provides what you need. Let me know if you want me to send the entire ktrace file to you off-list. > Also, make sure your console log doesn't have messages related to > unsupported sysctls. There are no such messages. Thanks. -- Glenn Johnson glennpj@charter.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message