Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: maloz on August 08, 2002, 06:06:34 PM
-
Hallo
I have problems at the installation Onstream DI30
I use the instructions of http://www.helmuth.net/mitel-sme/FlexDI30/FlexDI30.html
My first Problem, the ide-scsi Module is not loaded:
cat /proc/scsi/scsi
Attached devices: none
insmod die-scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: OnStream Model: DI-30 Rev: 1.09
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: LITEON Model: CD-ROM LTN526 Rev: YH0X
Type: CD-ROM ANSI SCSI revision: 02
My next Problem i can’t write on the tape
mt –f /dev/st0 erase say: input/output error
mt –f /dev/st0 status
OnStream SC-, DI-, DP-, or USB tape drive:
File number=0, block number=0.
Tape block size 32768 bytes. Density code 0x40 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
Many thank for your help !
Regards,
Matthias
-
Hi,
Did you read the how-to from Kelvin lee over at the contributed how-to's?
http://www.e-smith.org/docs/howto/contrib/onstreamdi30-howto.htm
Regards,
guestHH
-
Something else to try:
At, http://www.linux1onstream.nl/test/ide-tape.html they talk about adding an item to your lilo.conf (i.e. append = "hdc=scsi ..." or append = "hdc=ide-scsi ..."
I didn't find this to be necessary. However, it sounds to me like you said that ide-scsi is not loading properly.
I just thought you might try this.
After you make the changes to lilo.conf, be sure and run "lilo" from the command line to apply the changes.
Also, I have yet to template anything in the lilo.conf. If you get it work without the templates, let me know and I will try and add something to the how-to about templating the append statement.
I hope this helps. Please let me know if it doesn't.
Thanks!!!
-
Hallo RequestedDeletion, David,
It’s a good idea load ide-scsi with lilo, but it does not work in my box.
The module is loaded but removed someplace again.
lsmod show me at boot , ide-scsi is loaded
If I login say lsmod, ide-scsi not loaded
If I load the module via rc.local, it works
rmmod ide-scsi
insmod ide-scsi
insmod osst
lsmod
Now, my second problem:
If I write on the tape, say my messges:
Aug 10 17:17:50 server kernel: osst0: Couldn't write header frame
Aug 10 17:17:50 server kernel: osst0: Error with sense data: [valid=0] Info fld=0x0, Current osstce:00: sense key Not Ready
Aug 10 17:17:50 server kernel: Additional sense indicates Logical unit is in process of becoming ready
Aug 10 17:17:55 server kernel: osst0: Error with sense data: [valid=0] Info fld=0xbaf, Current osstce:00: sense key Medium Error
Aug 10 17:17:55 server kernel: Additional sense indicates Write error
Aug 10 17:17:55 server kernel: osst0: Bad block in header partition, skipped
Aug 10 17:17:55 server kernel: osst0: Reading back 1 frames from drive buffer
Aug 10 17:17:56 server kernel: osst0: Error with sense data: [valid=0] Info fld=0xbb0, Current osstce:00: sense key Medium Error
In my Windows-Box I can write on this tape, I think the tape is okay.
David, what say your
mt -f /dev/nst0 status ???
(OnStream SC-, DI-, DP-, or USB tape drive:
File number=0, block number=0.
Tape block size 32768 bytes. Density code 0x40 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN)
I think the problem is the density code 0x40 (no translation) ?
Thx
Matthias
-
suggest you do a backup to test the drive, ie:
flexbackup -newtape
flexbcakup -fs all
when finished create a test directory and change into it then
flexbackup -extract
you may have to execute the above line twice
I followed the howto but used the e-smith version of osst.o and installed afio, modified the flexbackup config to use afio and ran the above test without a problem. Error messages do appear in the log but the onstream site seems to suggest that these are normal.
you might load the modules in modules.conf
Your CD drive will probably have to be referenced via scdx as well
good luck
-
Matthias,
Sorry to take so long to get back with you. It is a beautiful weekend and I have spent most of it playing with the family.
Here are a few more items....
RE: David, what say your mt -f /dev/nst0 status ???
Unknown tape drive type (type code 97)
File number=0, block number=0.
mt_resid: 0, mt_erreg: 0x0
mt_dsreg: 0x40008000, mt_gstat: 0x41010000
General status bits on (41010000):
BOT ONLINE IM_REP_EN
RE: ide-scsi and scsi...
You might want to try just using the SCSI lilo.conf linke:
"hdc=scsi ..."
Specifically, we are trying to prevent ide-scsi or anything ide from controlling that device. This should "reserve" it for use with osst.o
RE: Error messages ...
At the bottom of the HowTo, there is a link to a "readme" for the OnStream "osst.o" module. (Just like Jasper said.)
it is: http://www.linux1onstream.nl/test/README.osst
At the bottom of that page, the do say that some osst.o in /var/log/messages is normal. The ones you mention, don't seem right.
RE: Jasper using AFIO.
Interesting idea, mind if I ask what caused you to move to that?
RE: Jasper's indication about CDROM using SCSI. That is indeed what ended up working out for me.
Thanks and it seems like you are getting closer.
-
Hi David
When first following the Onstream HowTo we had replaced the osst.o driver with the new one and kept getting segmentation faults. So I did a little research and went back to the one supplied with SME512 ie 0.8.61. Did a few tests, backup file systems and restore to a different location on the drive, then repeat so that the total backup size increased. Dump seemed to have problems reading the tape consistently so followed the links below
http://www.jpsdomain.org/linux/#backups
http://www.jpsdomain.org/linux/OnStream_DI-30-RedHat_Backup_mini-HOWTO.html
Gained the impression that afio might be more consistent, so located an rpm and configured flexbackup to use it. Appears to be a better solution but needs more testing.
Hope that helps
Jasper
-
Well, struggled myself with the DI-30 and SME5.1.2 Got it working at last:
See http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=pq8tqu0u5a2ui07gj98kl0rmq81hj707r5%404ax.com and
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=svstqu467hbg5lj3oocb71i3s706fv4ck1%404ax.com
All in dutch.
-
Marco Steenbergen wrote:
> Well, struggled myself with the DI-30 and SME5.1.2 Got it
> working at last
FWIW, the RedHat 7.3 kernel includes the osst.o module and that's the kernel we will be using with version 5.6. From limited testing backup works out of the box with the OnStream DI-30 drive.
Charlie
-
Charlie Brady wrote:
> FWIW, the RedHat 7.3 kernel includes the osst.o module and
> that's the kernel we will be using with version 5.6. From
> limited testing backup works out of the box with the OnStream
> DI-30 drive.
>
> Charlie
Hi Charlie,
The osst.o module that ships with 5.5 also works with the DI-30 without problems. However, the updated osst.o module that can be downloaded from various sites causes segmentation faults on 5.5. I use the original without any trouble.
Cheers,
Thomas
-
it appears that the onstream DI-30 does _not_ work out of the box.... I'm having difficulty getting it working.
Anybody gave it a try under 5.6?
Regards,
guestHH