Red Hat Bugzilla – Bug 106411
st driver accepts writes with no tape in drive when using megaraid.c
Last modified: 2007-11-30 17:06:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
When using st.o in combination with megaraid.o and trying to write to a tape
device bad behavior happens.
No error is given and everything appears to go smoothly, even without a tape in
the drive. That just can't be right.
My fix was to use megaraid_2002.o and it seems to not suffer from the bug. It
errors when you write to /dev/st0 with no tape.
Version-Release number of selected component (if applicable):
megaraid: v1.18 (Release Date: Wed Dec 4 11:33:08 EST 2002)
Steps to Reproduce:
1. load megaraid.o and st.o
2. run tar cvfp /dev/st0 /usr with no tape in drive
3. everything appears to go fine
Actual Results: No error was reported that there was no medium in the drive.
The megaraid2 driver should be used for tape support. The older
megaraid driver is being phased out be LSI Logic.