Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2000 12:46:03 +1100 (EST)
From:      jsutton@bbcon.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17086: net/mopd does not function with VaxStation 3100
Message-ID:  <200003010146.MAA04059@sol.bbcon.com.au>

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

>Number:         17086
>Category:       ports
>Synopsis:       net/mopd does not function with VaxStation 3100
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 29 17:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Joel Sutton
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
Busy Bee Consulting
>Environment:

FreeBSD solsbury-hill.home 3.4-RELEASE FreeBSD 3.4-RELEASE #2: Fri Jan 28 15:18:55 EST 2000     jsutton@solsbury-hill.home:/usr/src/sys/compile/WKSTN  i386

>Description:

mopd does not seem to be talking to my VaxStation 3100. A few packets
seem to be going back and forth, according to the debug screen, but it
looks like nothing is being recognised. 

I am attempting to load the NetBSD/vax bootloader so that I can do an 
NFS boot from my FreeBSD server. All of the necessary files have been
placed in /tftpboot/mop/.

>How-To-Repeat:

Attempt to remote boot a VaxStation 3100 using the "boot esa0" command.

>Fix:

I've made this patch, based on the info I found in the NetBSD/vax
NetBoot How To. Can you please include it in the patches directory of
the mopd port. 

This is a bit out of my sphere of ability so I'm not 100% sure what it 
does. However mopd does work correctly with this patch. 

The URL of the How To is:

  http://world.std.com/~bdc/projects/vaxen/VAX-netboot-HOWTO.html

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	patches/patch-aa
#
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
X--- put.c.orig	Sat Aug 17 08:43:15 1996
X+++ common/put.c	Tue Feb 29 19:36:21 2000
X@@ -35,6 +35,9 @@
X #include <sys/types.h>
X #include <time.h>
X #include "common/mopdef.h"
X+#ifdef __FreeBSD__
X+#include <osreldate.h>
X+#endif
X 
X void
X mopPutChar(pkt, index, value)
X@@ -137,7 +140,7 @@
X 		mopPutChar (pkt, index, 0x00);
X 		mopPutChar (pkt, index, 0x2b);
X 	}
X-#if !defined(__FreeBSD__)
X+#if !defined(__FreeBSD__) || __FreeBSD_version >= 220000
X 	mopPutChar(pkt, index, (proto / 256));
X 	mopPutChar(pkt, index, (proto % 256));
X #else
END-of-patches/patch-aa
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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