Before going the buggy ide-scsi emulation route, first try setting up the ATAPI device again from the beginning.

First make sure you are telling the kernel NOT to use the ide block device driver by appending 'hdc=ide-tape' to your kernel line in grub.conf (or the append= line in lilo.conf). Of course the hdc should be replaced with the correct IDE device name being assigned to the drive.

There should be an alias for char-major-37 in /etc/modules.conf (or /etc/modprobe.preload) to cause the ide-tape module to be loaded. For example, 'alias char-major-37 ide-tape'.

After rebooting, there should be two device nodes for the device, a rewinding device named /dev/ht0 and a non-rewinding device named /dev/nht0. If not then do:
cd /dev
./MAKEDEV -m 2 ht
./MAKEDEV -m 2 nht

For bacula you will use the non-rewinding device /dev/nht0.

If there are still i/o errors during operation, it might be necessary to turn off DMA for the ide interface by appending 'ide1=nodma' to the kernel line in grub.conf. (Replace the ide1 with whatever interface the drive is actually attached to.)

Josh Fisher

Kern Sibbald wrote:
Hello Andre,

On Monday 11 July 2005 16:07, Andre Hennig wrote:
  
Hello List Hello Kern

I think i have the problem solved.
I activated ide-scsi emulation for the atapi tape device so that /dev/st
and /dev/nst availably for use with mt. This has not functioned before
Then i rerun "btape test" with /dev/nst as archive device successful.
    

I hope this works for you. My experience with ide-scsi has not been good. 
Perhaps you will have better luck.  If "btape test" works, it is a very good 
sign. :-)

Good luck.

  

Reply via email to