Bug in 4.3 hp driver w/ fuji 2361 disk drives
Ron Sheen
ron at tahoe.UUCP
Thu Jan 1 14:33:55 AEST 1987
Index: sys/vaxmba/hp.c 4.3BSD
Description:
The distributed hp.c incorrectly initializes the hpst
structure. HPDT_RM02 is set to 14 and HPDT_2361 is set
to 15. There is no RM02 entry in the hpst structure and
the Fuji 2361 entry is the 14'th. When attempting to access
a 2361 drive, the system tries to access hpst[15]. This
causes the system to panic whenever an access is made to
a Fujitsu 2361 drive.
Repeat-By:
Access a Fuji 2361 drive, system panics with a trap type 8.
Fix: (Workaround)
The workaround I chose was to swap the values of HPDT_RM02 and
HPDT_2361 as we don't have any RM02's. A better fix would be
to make an entry for RM02's in the hpst struture.
RCS file: hp.c,v
retrieving revision 1.1
diff -r1.1 hp.c
197,199c197
< #define HPDT_RM02 14
< MBDT_RM02, /* beware, actually mapped */
< #define HPDT_2361 15
---
> #define HPDT_2361 14
200a199,200
> #define HPDT_RM02 15
> MBDT_RM02, /* beware, actually mapped */
--
--- Ron Sheen ...!seismo!unrvax!ron
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list