[syslinux] Re: PATCH: Fix pxelinux for Promise ATA RAID BIOS

H. J. Lu hjl at lucon.org
Tue Oct 8 14:32:52 PDT 2002


On Tue, Oct 08, 2002 at 11:35:16AM -0700, H. Peter Anvin wrote:
> H. Peter Anvin wrote:
> > H. J. Lu wrote:
> > 
> >>Here is the Promise patch I promised :-).
> >>
> > 
> > 
> > Rejected.  I do NOT consider a BIOS that scribbles on random pieces of
> > memory to be supportable.
> > 
> 
> After thinking about it a bit, I'll modify that statement slightly: if
> you'd willing to go through and figure out which exact bits of memory it
> clobbers, I'll consider seeing if I can add a "Promise braindamage area"
> to the memory map.

This is what I got. The problem is the 16byte memory location inside
then original FKeyName. I moved PartInfo into that 16byte memory
location. It seems to work fine for me.


H.J.
-------------- next part --------------
--- syslinux-1.76/pxelinux.asm.promise	Tue Aug 27 11:44:44 2002
+++ syslinux-1.76/pxelinux.asm	Tue Oct  8 14:12:01 2002
@@ -175,18 +175,18 @@ KbdMap		resb 256		; Keyboard map
 BootFile	resb 256		; Boot file from DHCP packet
 PathPrefix	resb 256		; Path prefix derived from the above
 ConfigName	resb 256		; Configuration file from DHCP option
-FKeyName	resb 10*FILENAME_MAX	; File names for F-key help
 NumBuf		resb 15			; Buffer to load number
 NumBufEnd	resb 1			; Last byte in NumBuf
 DotQuadBuf	resb 16			; Buffer for dotted-quad IP address
 IPOption	resb 80			; ip= option buffer
+PartInfo	resb 16			; Partition table entry
+FKeyName	resb 10*FILENAME_MAX	; File names for F-key help
 		alignb 32
 KernelName      resb FILENAME_MAX       ; Mangled name for kernel
 KernelCName     resb FILENAME_MAX	; Unmangled kernel name
 InitRDCName     resb FILENAME_MAX       ; Unmangled initrd name
 MNameBuf	resb FILENAME_MAX
 InitRD		resb FILENAME_MAX
-PartInfo	resb 16			; Partition table entry
 E820Buf		resd 5			; INT 15:E820 data buffer
 HiLoadAddr      resd 1			; Address pointer for high load loop
 HighMemSize	resd 1			; End of memory pointer (bytes)


More information about the Syslinux mailing list