From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32746 invoked from network); 2 Jun 1998 02:54:14 -0000 Received: from smtp.paralleldata.com (HELO paralleldata.com) (38.153.145.2) by mail2.redhat.com with SMTP; 2 Jun 1998 02:54:14 -0000 Received: by paralleldata.com from localhost (router,SLMail V2.5); Mon, 01 Jun 1998 21:54:28 -0500 Received: by paralleldata.com from paralleldata.com (208.252.119.233::mail daemon; unverified,SLMail V2.5); Mon, 01 Jun 1998 21:54:25 -0500 Sender: "Wsb" Message-ID: <3573697C.31E57E2E@paralleldata.com> Date: Tue, 02 Jun 1998 02:54:52 +0000 From: "Wes Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.32 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Module problems References: <199806020051.SAA02610@galileo.apo.nmsu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit brinkmann@nmsu.edu wrote: > > > The 'No space left on device' usually means you specified > > reading a block size smaller than what is on the tape. In > > particular, I think the default block size for a tar tape > > is 10240. Try your dd with a block size at least 10240 and > > it should work. Also, I've found using 'mt -f /dev/st0 setblk 0' > > helps if you read tapes with variable length blocks. 8mm > > tape drives are actually variable length block devices. > > You can put pretty much any size block you want on them up > > to the system limit. On some AIX systems, I've written up > > to 256KB-1 block. Think you set that limit when you configure > > Linux in the SCSI section. It asks about the maximum transfer > > you want to handle. > > Wes, > > I wrote the tape with a 64KB fixed block size. I get: > > % dd if=/dev/tape bs=65536 > dd: /dev/tape: No space left on device > 0+0 records in > 0+0 records out > > and > > % mt -f /dev/tape setblk 0 > % dd if=/dev/tape bs=65536 > dd: /dev/tape: No space left on device > 0+0 records in > 0+0 records out > Was the tape created on the system you're trying to read it on? Just tried a dd on my eliant 820. Works fine. Though /dev/tape doesn't exist on my system. Did you create that yourself, maybe as a link to /dev/st0?? Here's how my devices look: [wsb@wsb5 scsi]$ cat scsi Attached devices: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: IBM OEM Model: DCHS09U Rev: 5353 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 06 Lun: 00 Vendor: EXABYTE Model: EXB-85058HE-0000 Rev: 0076 Type: Sequential-Access ANSI SCSI revision: 02 I am using a customized kernel though, not the standard RH5.0 one. My modules: [wsb@wsb5 scsi]$ lsmod Module Size Used by tulip 29120 1 st 33264 0 Does /dev/st0 work instead of /dev/tape?? Are the permissions on the device file correct? I use: crw-rw-rw- 1 root disk 9, 0 Jul 1 1996 /dev/st0 Wes