LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2008, 05:42 PM   #1
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Rep: Reputation: 15
Question Need help on running a make on tapefix.


I need some help mounting my DAT tape drive.

I have used the DAT drive to do a system backup on A SCO system. THen I have removed the drive and attached it to a SUSE system with the tape that was used to tar data onto.

On the Linux system I get an I/O error.

I have downloaded tapefix. It has been extracted in the gue, not tar and untared.

I can not do a make the get the 2 commands that I think will help me see the data to write it to a folder.

Thanks for your help.
Jack

Last edited by sjpiv44; 04-02-2008 at 05:44 PM.
 
Old 04-02-2008, 06:42 PM   #2
Beads
Member
 
Registered: Nov 2004
Location: Washington
Distribution: Mint
Posts: 104

Rep: Reputation: 17
Hi Jack. If I read this correct, you did not untar the tapefix routine? Although I have not used tapefix, it would appear the routine would have to be untarred; then installed.

Perhaps I'm simply not understanding where you are at with this.

Please offer some more detail.

Thanks.
 
Old 04-04-2008, 03:25 PM   #3
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
I am not sure how to install tapefix. I seem to follow to the make, and then error with doing a make. The downloaded file in the tmp. I have qunzip, & tared.
This is where I do not understand. Make????

Thanks, Jack
 
Old 04-04-2008, 03:45 PM   #4
thorn168
Member
 
Registered: Oct 2004
Location: USA
Distribution: Vector Linux 5.1 Std., Vector Linux 5.8 Std., Win2k, XP, OS X (10.4 & 10.5)
Posts: 344

Rep: Reputation: 42
Here is a link with a list of the tar and untar commands

http://www.computerhope.com/unix/utar.htm
 
Old 04-07-2008, 05:04 PM   #5
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
I have tapefix.tar.gz. I have ungziped to a tape.tar. tared and I have a folder with 4 files.
Makefile, query.c README setvarblock.c
This is what I get when I do a make:
FORDONE:/tmp/tapefix # ls
Makefile README query.c setvarblock.c
FORDONE:/tmp/tapefix make
cc -o query query.c
make: cc: Command not found
make: *** [query] Error 127

This is the error I get after doing a: mt -f /dev/st0 setblk 0.

When I do below,
tar tvf /dev/st0
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

I am still having a format error and I need to find out what and see if we can correct the problem.

Thanks,
Jack

Last edited by sjpiv44; 04-07-2008 at 05:14 PM. Reason: type-o
 
Old 04-07-2008, 05:52 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
cc is the c compiler. It does not appear to be installed.
what is the output of the command:
mt -f /dev/st0 status

Have you verified you can read/write to the drive via SuSE and another tape?
 
Old 04-08-2008, 11:37 AM   #7
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks for you responce Michael. Yes I have been successful in writing to a tape and then viewing the contents. I will be at site today and copy a few files and then write them back.

I was successful in archiving the files from the SCO, UNIX, system and then writing them on the SUSE, Linux, system with a tape device that died shortly there after. It was replaced it with an HP 1599A. They previously had a 1599A and had to replace it with a 1533. I have just verified that the HP 1599A replaced the 1533.

That is why I am trying to install tapefix routines on the linux system.

Again, I appreciate your time and help.
Jack

Last edited by sjpiv44; 04-10-2008 at 04:13 PM.
 
Old 04-10-2008, 05:05 PM   #8
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Unhappy

I am still having a tape read problem. Also, I would like to the the [./configure] commands working.

As above, pertaining to the make:cc : command not found, problem, I would like to fine out where the problem occurs. And if the C++ compiler is not installed, how do I install in SUSE?

The SCO tape has been written successfully in January. I have not been able to repeat it sense. I would really like to use this media because there are a large number of large files that we need. Floppy, fpt, uucp do not seem to be an option.

Thanks,
Jack
 
Old 04-11-2008, 04:56 PM   #9
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Hello ravinbhure,
see the responce that I got on the commands you suggested.

mt -f /dev/st0 status
drive type = Generic SCSI-2 tape
drive status = 318767104
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 0 bytes. Density code 0x13 (DDS (61000 bpi)).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN

FORDONE:~ # mt -f /dev/st0 fsf
mt: /dev/st0: rmtioctl failed: Input/output error

I noticed that you had '$' in from to the suggestions.

Thanks for any help in this matter.
Jack, sjpiv44
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Running MAKE ChunkyDrew Linux - Newbie 3 04-13-2007 04:40 PM
errors running make no.4 Linux - Newbie 7 09-20-2006 03:58 PM
How to make sure that syslogd is always running gn00kie Solaris / OpenSolaris 8 08-14-2006 11:49 PM
General question while running make "make[2]: *** [main.o] Error 1" matazar42 Linux - Software 3 08-15-2005 12:39 PM
Problem when running make? eXor Linux - Software 5 08-13-2003 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration