Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2000 20:18:19 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Mark Knight <markk@knigma.org>, paul@FreeBSD.ORG
Cc:        freebsd-current@FreeBSD.ORG, wollman@FreeBSD.ORG, julian@FreeBSD.ORG
Subject:   Re: Panic during boot under current 
Message-ID:  <200006051918.UAA00878@hak.lan.Awfulhak.org>
In-Reply-To: Message from Mark Knight <markk@knigma.org>  of "Mon, 05 Jun 2000 18:23:19 BST." <vs6aRUAHI%2BO5EwK2@knigma.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In article <200005302211.PAA39853@bubba.whistle.com>, Archie Cobbs
> <archie@whistle.com> writes
> >Brian Somers writes:
> >> Also (Mark sits beside me at work), is there anyone else out there 
> >> that actually runs FreeBSD-current under VMWare (irrespective of the 
> >> host OS) ?
> 
> This problem has now been traced down to a bug in the lnc driver, where
> multiple instances are installed.
> 
> This surfaced as a result of changes made on 16th May.

Specifically, the lnc driver declares NLNC softcs.  Mark has an isa 
style ``device lnc0'' in his config and then uses vmware with two 
configured devices.

config <kernel> produces lnc.h which contains ``#define NLNC 1'' and 
if_lnc_pci.c dives in and starts writing to the second softc.

I'll look at fixing this at some point if you don't have time Paul :-I

This may have broken because Paul changed the softc decl from static 
to just global (so that the other if_lnc*.c modules can get at it).... 
either that or Mark has been ``just lucky'' so far and the lnc driver 
has never worked properly with more than one device.  This would neatly 
explain why he's seen funny errors in the past - one of them was a 
message to you Garrett saying that your npx.c modification to do no 
more than output a boot-time diagnostic seemed to screw up his 
kernel !!!

> -- 
> Mark Knight                       PGP Public Key: finger mkn@knigma.org

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006051918.UAA00878>