[7] in arla-drinkers
Re: arla problems under Solaris 2.6
daemon@ATHENA.MIT.EDU (Assar Westerlund)
Thu Jun 18 15:15:21 1998
From arla-drinkers-request@sundance.stacken.kth.se Thu Jun 18 19:15:20 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 7688 invoked from network); 18 Jun 1998 19:15:19 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 18 Jun 1998 19:15:19 -0000
Received: from dhcp217.conference.usenix.org (dhcp217.conference.usenix.org [204.119.186.217])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id VAA08109
for <arla-drinkers@stacken.kth.se>; Thu, 18 Jun 1998 21:10:13 +0200 (MET DST)
Received: (from assar@localhost) by dhcp217.conference.usenix.org (8.8.5/8.7.3) id VAA00108; Thu, 18 Jun 1998 21:11:15 +0200 (MET DST)
To: John Hawkinson <jhawk@bbnplanet.com>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: arla problems under Solaris 2.6
References: <199806172009.QAA14540@all-purpose-gunk.near.net>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
From: Assar Westerlund <assar@sics.se>
Date: 18 Jun 1998 21:11:12 +0200
In-Reply-To: John Hawkinson's message of "Wed, 17 Jun 1998 16:09:09 -0400 (EDT)"
Message-ID: <5liulycypb.fsf@dhcp217.conference.usenix.org>
Lines: 18
X-Mailer: Gnus v5.5/Emacs 19.34
John Hawkinson <jhawk@bbnplanet.com> writes:
> I'm not sure what to conclude here. It looks like the pointers
> in the struct mounta are not accessible in kernel space.
> I don't understand why that might be.
It seems to me that you need to copy in the `spec' and the `dir', but
they are only used in that debug output anyway, so try removing them
from there and see if it makes any difference.
> {Writing Device Drivers} instructs one not to use
> printf(), but instead to use cmn_err(). I didn't think
> this was the problem, but I replaced all printf()s with
> cmn_err()s, but that paniced in the same place.
Yeah, I know you _should_ use cmn_err but when I found a printf I
didn't bother changing all the calls to printf. :)
/assar