bin/70279: Sysinstall can no longer perform install from tape

Gavin Atkinson gavin.atkinson at ury.york.ac.uk
Tue Aug 10 14:20:25 PDT 2004


>Number:         70279
>Category:       bin
>Synopsis:       Sysinstall can no longer perform install from tape
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 21:20:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Atkinson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD buffy.york.ac.uk 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Thu Jun 24 15:03:29 BST 2004 root at buffy.york.ac.uk:/usr/obj/usr/src/sys/GENERIC i386

>Description:

	Sysinstall has the ability to install FreeBSD from a set of distfiles stored on SCSI tape. Only it doesn't work - sysinstall cannot detect the fact a SCSI tape drive is installed.  This appears to have been broken back in May 2000 with the tape device renaming.  With the attached patch, sysinstall can happily install distributions from my SCSI (HP DDS-2) tape drive.

>How-To-Repeat:
	Select "Install from tape" when selecting media type on a machine with a SCSI tape drive recognised by the sa(4) driver.  Note sysinstall cannot find the tape drive.
>Fix:

	(Patch also at http://www.devrandom.co.uk/freebsd/sysinstrsa.diff )


Index: src/usr.sbin/sysinstall/devices.c
===================================================================
RCS file: /usr/cvs/src/usr.sbin/sysinstall/devices.c,v
retrieving revision 1.155
diff -u -r1.155 devices.c
--- src/usr.sbin/sysinstall/devices.c	2 Aug 2004 23:18:47 -0000	1.155
+++ src/usr.sbin/sysinstall/devices.c	10 Aug 2004 20:48:55 -0000
@@ -69,7 +69,7 @@
     { DEVICE_TYPE_CDROM,	"matcd%d",	"Matsushita CDROM ('sound blaster' type)", 46, 0, 8, 4 		},
 #endif
     { DEVICE_TYPE_CDROM,	"acd%d",	"ATAPI/IDE CDROM",	117, 0, 8, 4				},
-    { DEVICE_TYPE_TAPE, 	"rsa%d",	"SCSI tape drive",	14, 0, 16, 4				},
+    { DEVICE_TYPE_TAPE, 	"sa%d",		"SCSI tape drive",	14, 0, 16, 4				},
     { DEVICE_TYPE_TAPE, 	"rwt%d",	"Wangtek tape drive",	10, 0, 1, 4				},
     { DEVICE_TYPE_DISK, 	"da%d",		"SCSI disk device",	13, 65538, 8, 16			},
     { DEVICE_TYPE_DISK, 	"ad%d",		"ATA/IDE disk device",	116, 65538, 8, 16			},

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


More information about the freebsd-bugs mailing list