1828625 Members
1979 Online
109983 Solutions
New Discussion

Tape Device

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Tape Device

I loaded a new kernel to help me support ACL's.
I loaded linux-2.4.19 kernel on my RH9 system. Not sure if anyone remembers my problem. I was trying to control Samba permissions from the windows side. It took a month of work but I got it,finally. Just in case someone was wondering. If you are interested in doing the same, please post and I can send you something offline to explain how we are doing this. We are running RH9 Linux, it hands out file shares, and we can now control permissions from the NT side through MMC or Computer Manager.

So enough of that.. My problem is, after loading this new kernel I cant use my tape drive.

When I run tar commands, I get:
"[root@mahimahi src]# tar -cvf /dev/st0 /ASU
tar: /dev/st0: Cannot open: No such device
tar: Error is not recoverable: exiting now"

Hardware browser shows:
"Manufacturer: unknown"
"Driver: none or built-in"
"Device: /dev/st"

My device is usually /dev/st0. Not sure what is going on here. Any help is appreciated. I am under the gun now. I got ACLS working but now I cant backup my box to tape.

UNIX IS GOOD
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor

Re: Tape Device

I know this sounds simple but still:
Shut down your station. Pull the cable of the tape out of controller turn the tape device off and on and then insert it again . Helped me a few times.

I'd like to know how to allow permissions modification the way you described. Can you post a file please?
Stuart Browne
Honored Contributor
Solution

Re: Tape Device

Umm, dumb question.. RH9 comes with 2.4.20-8 as it's kernel revision.

Why didn't you just pull the RH kernel-source RPM and use that?

In any case, how did you compile tape and SCSI support, as modules?

Is the 'st' module loaded when you try to use the device (lsmod) ?

Is the correct driver for your SCSI channel compiled in, or modular (see /etc/modules.conf for the driver name) ?

Did the tape device show up in 2 places:

- During POST in the SCSI controller init - phase
- During boot-up ? (use either the 'dmesg' command or the file '/var/log/dmesg' to find out)

You should see references about the 'st' device being found.
One long-haired git at your service...
Nobody's Hero
Valued Contributor

Re: Tape Device

Yes, Thank You.

I had to recompile the kernel with scsi tape support. Dont know how I forgot that. We built this kernel manually.

10x
RPM
UNIX IS GOOD