Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Module problems
Date: Tue, 02 Jun 1998 02:54:52 +0000	[thread overview]
Message-ID: <3573697C.31E57E2E@paralleldata.com> (raw)
In-Reply-To: 199806020051.SAA02610@galileo.apo.nmsu.edu

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


  reply	other threads:[~1998-06-02  2:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-02  0:51 Module problems brinkmann
1998-06-02  2:54 ` Wes Bauske [this message]
1998-06-02 10:06   ` Quant-X Alpha Linux Support
1998-06-02  5:52 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1998-06-01 17:49 brinkmann
1998-06-01 10:56 ` Jay.Estabrook
1998-06-01 21:06 ` Wes Bauske
1997-08-04  3:43 Scott Cunningham
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox