From owner-freebsd-current Sun Jun 11 12:28:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailgate.originative.co.uk (mailgate.originative.co.uk [194.217.50.228]) by hub.freebsd.org (Postfix) with ESMTP id 7DD7937B564; Sun, 11 Jun 2000 12:28:22 -0700 (PDT) (envelope-from paul@originative.co.uk) Received: from originative.co.uk (lobster.originative.co.uk [194.217.50.241]) by mailgate.originative.co.uk (Postfix) with ESMTP id 724EF1D136; Sun, 11 Jun 2000 20:28:20 +0100 (BST) Message-ID: <3943E854.DA94249E@originative.co.uk> Date: Sun, 11 Jun 2000 20:28:20 +0100 From: Paul Richards Organization: Originative Solutions Ltd X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Brian Somers Cc: Mark Knight , paul@FreeBSD.ORG, freebsd-current@FreeBSD.ORG, wollman@FreeBSD.ORG, julian@FreeBSD.ORG Subject: Re: Panic during boot under current References: <200006051918.UAA00878@hak.lan.Awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Somers wrote: > > > In article <200005302211.PAA39853@bubba.whistle.com>, Archie Cobbs > > 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. Actually, PCI cards allocated their own softc dynamically, only ISA cards accessed the softc array. > config 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 Just got back from the Perl cruise, still catching up with things. > 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 It was working with more than one device (one PCI and one ISA) the day I left, which was 19 May. I think the changes to the PCI and ISA compatibility code modified something relating to unit number allocation that caused the ISA driver to get a unit number > NLNC whereas before the ISA instances would come first and the PCI instances would get unit numbers after the ISA cards, since the PCI part of the driver creates softc structures dynamically that worked fine. Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message