Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem of changing DDS tape drive in Openserver 5.0.2 box

Status
Not open for further replies.

eepico

MIS
Jan 6, 2002
60
0
0
HK
Hail~~

Few days ago I brought back my very old Openserver 5.0.2 box out for testing purpose. I removed its old DDS-1 tape drive and installed a new Compaq SDT-9000 DDS-3 drive in. After mkdev tape and selected the DAT model, kernel was rebuilt and the drive worked properly after reboot.

The day after, my partner suddenly removed the new DDS drive using mkdev tape and wanted to change the model into Generic SCSI-1/SCSI-2. But the system failed to rebuild the kernel and I also couldn't build the drive as DAT model back as before. We both got the same error messages shown below:

bash-2.03# mkdev tape



Tape Drive Configuration Program

1. Configure SCSI tape drive
2. Configure non-SCSI tape drive

Select an option or enter q to quit: 1



SCSI Tape Drive Configuration Program

1. Install a SCSI Tape Drive
2. Remove a SCSI Tape Drive
3. Change default Tape Drive
4. View Current SCSI Tape Drive configuration

Select an option or enter q to return to main menu: 1

Enter the prefix of the SCSI host adapter that supports this device
or press <Return> for the default: 'alad'
Enter h for a list of host adapters or enter q to quit: alad

Which 'alad' SCSI host adapter supports this device?
Select 0-1, or enter q to quit: 0

The Host Adapter parameters will be automatically configured

What SCSI Bus is this device attached to? Press <Return> to use the default:0
Select 0-n, or h for help, or q to quit: 0

What is the Target ID for this device?
Select 0-15, or h for help, or q to quit: 4

What is the LUN of this device? Press <Return> to use the default: 0
Select 0-7, or h for help, or q to quit: 0

You are about to add the following SCSI device:

Host
Adapter Adapter
Type Device Number ID LUN BUS
----------------------------------------------
alad Stp 0 4 0 0

Update SCSI configuration? (y/n) y

The SCSI configuration file has been updated.

Adding device to system configuration files ...


System files have been successfully updated.

Configuring Stp driver ...


Enter Vendor Identification string or
press <Return> to use default
or enter q to return to main menu:



Enter SCSI version that device is conformant to or
press <Return> to use default
or enter q to return to main menu:



Enter Response Data Format that device uses or
press <Return> to use default
or enter q to return to main menu:


The following tape drive types are supported:

1. Generic SCSI-1 / SCSI-2 tape drive
2. EXABYTE 8mm tape drive (8200 or 8500)
3. IBM rebadged EXABYTE 8mm tape drive (8200)
4. DAT drive (Compressing and non-Compressing)
5. QIC Cartridge tape drive


Please choose one of the above, press <Return>
for default,or enter q to return to main menu: 4
/usr/lib/mkdev/tape: command substitution: line 2: unexpected EOF while looking for matching `''
/usr/lib/mkdev/tape: command substitution: line 3: syntax error: unexpected end of file


Stp driver successfully configured

Default special devices have been created with the following links:
/dev/xct0 linked to /dev/xStp0
/dev/rct0 linked to /dev/rStp0 and /dev/rmt/0b
/dev/nrct0 linked to /dev/nrStp0 and /dev/rmt/0bn

In /etc/default/boot:
No current boot string.

Enter new string, "rm" to remove string,
or enter q to leave current string as is: q



SCSI Tape Drive Configuration Program

1. Install a SCSI Tape Drive
2. Remove a SCSI Tape Drive
3. Change default Tape Drive
4. View Current SCSI Tape Drive configuration

Select an option or enter q to return to main menu: q



Tape Drive Configuration Program

1. Configure SCSI tape drive
2. Configure non-SCSI tape drive

Select an option or enter q to quit: q


You must create a new kernel to effect the driver change you specified.
Do you wish to create a new kernel now? (y/n) y

The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please wait.

Root for this system build is /
idmkreg: can not locate or open Stp/device.dat'
"/var/opt/K/SCO/Unix/5.0.2Dp/etc/conf/pack.d/Stp/space.h", line 56: syntax error
"/var/opt/K/SCO/Unix/5.0.2Dp/etc/conf/pack.d/Stp/space.h", line 61: syntax error
"/var/opt/K/SCO/Unix/5.0.2Dp/etc/conf/pack.d/Stp/space.h", line 65: warning: sizeof returns 0
ERROR: '/var/opt/K/SCO/Unix/5.0.2Dp/etc/conf/pack.d/Stp/space.c' will not compile properly

ld space.o fatal: Can't open file /var/opt/K/SCO/Unix/5.0.2Dp/etc/conf/pack.d/Stp/space.o for input
ERROR: Can not link-edit unix


Error: Kernel link failed.



Any hints what's the problem??

Jack
 
Removed the previously installed gcc and make (gnu) packages from Skunkware 98, I'm done! => Kernel relink successfully :D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top