[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/st0 doesn't exist



On Tue, Dec 11, 2001 at 08:04:52PM -0800, Chad Morgan wrote:
> I'm trying to setup a SCSI tape drive. 
> 
> For the record it is an HP C1537A 12/24GB DDS Drive
> 
> This is the output of /proc/scsi/scsi:
> Attached devices: 
> Host: scsi0 Channel: 00 Id: 04 Lun: 00
>   Vendor: HP       Model: C1537A           Rev: L610
>   Type:   Sequential-Access                ANSI SCSI revision: 02
> 
> My problem is that /dev/st0 and /dev/nst0 do not exist. Ie: ls /dev/st0
> would result in No such file or directory.
> 
> SCSI Support and my low level drive (advansys) are compiled into the
> kernel. I'm loading the scsi tape support as a module.
> 
> modprobe st reults in:
> Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
> 
> yet /dev/st0 is not there.

The message from the driver doesn't imply file creation :)  I assume
you're using the old dev directory and not using devfs?

In any case, you probably simply need to create the device files.  I
now use devfs so it's been a while since I worried about device files,
but let's see if  remember ...

Method 1:

 # cd /dev; MAKEDEV st

Method 2:

 # cd /dev
 # mknod -m 660 st0 c 9 0
 # mknod -m 660 nst0 c 9 128
 # chown root:tape st0 nst0

Method 3:

 Install a kernel that does devfs :)

Good luck,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpDudZAc72Ec.pgp
Description: PGP signature


Reply to: