Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  2 Apr 2001 14:50:54 -0400 (EDT)
From:      "Michael Richards" <michael@fastmail.ca>
To:        jhb@FreeBSD.org
Cc:        mjacob@feral.com, freebsd-alpha@FreeBSD.org, michael@fastmail.ca, msmith@FreeBSD.org
Subject:   Re: Proposed Loader fix
Message-ID:  <3AC8CA0E.00003D.26518@frodo.searchcanada.ca>

next in thread | raw e-mail | index | archive | help

--------------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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC8CA0E.00003D.26518>