From owner-freebsd-alpha Mon Apr 2 11:51: 2 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.interchange.ca (ns.interchange.ca [216.126.79.2]) by hub.freebsd.org (Postfix) with ESMTP id 850DF37B71E; Mon, 2 Apr 2001 11:50:59 -0700 (PDT) (envelope-from michael@fastmail.ca) Received: by mail.interchange.ca (Fastmailer, from userid 555) id E9C64210B; Mon, 2 Apr 2001 14:50:54 -0400 (EDT) MIME-Version: 1.0 Message-Id: <3AC8CA0E.00003D.26518@frodo.searchcanada.ca> Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_UOH6SPG00M3NTT4D7TH0" To: jhb@FreeBSD.org Subject: Re: Proposed Loader fix Cc: mjacob@feral.com, freebsd-alpha@FreeBSD.org, michael@fastmail.ca, msmith@FreeBSD.org From: "Michael Richards" X-Fastmail-IP: 24.43.130.237 Date: Mon, 2 Apr 2001 14:50:54 -0400 (EDT) Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------Boundary-00=_UOH6SPG00M3NTT4D7TH0 Content-Type: Text/Plain Content-Transfer-Encoding: 7bit Yes, after posting that proposed fix, I realised that it wouldn't work properly that way. I was unable to apply the posted patches to srmdisk.c I get: -------------------------- |Index: srmdisk.c |=================================================================== |RCS file: /home/ncvs/src/sys/boot/alpha/libalpha/srmdisk.c,v |retrieving revision 1.9 |diff -u -r1.9 srmdisk.c |- --- srmdisk.c 2000/03/15 01:53:34 1.9 |+++ srmdisk.c 2001/04/02 10:22:17 -------------------------- Patching file srmdisk.c using Plan A... patch: **** malformed patch at line 9: int bd_unit; /* SRM unit number */ At any rate, I will have some patches up as soon as I this change tested. Currently the machine I use to compile the code is down so I can't verify that the changes actually work. -Michael >> How about something like this (untested) patch. I'm not entirely >> happy with it since it will never call prom_close and I remember >> having problems with ncr hardware not probing properly if we >> didn't close it in the loader. Possibly an 'open count' or >> similar would suffice. > > It would be better I think since prom_close() would get called > eventually. > > -- > > John Baldwin -- http://www.FreeBSD.org/~jhb/ > PGP Key: http://www.baldwin.cx/~john/pgpkey.asc > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ _________________________________________________________________ http://fastmail.ca/ - Fast Free Web Email for Canadians --------------Boundary-00=_UOH6SPG00M3NTT4D7TH0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message