Re: Tape drive support in 2.2.10 kernal
Hi Christian,
> Tapes are not mounted like harddisks or cds, so maybe you do not need to
> know the device name because you don't mount a thing. mt should know about
> it. Ok, maybe for tar...
>
> > > > Under Linux I do not see a tape device (st0, rst0). Are the tape
> > > > devices not given in the default install?
> > > Do you have the device files?
> > >
> > > root@gleep:~>ll /dev/st0*
> > > crw-rw---- 1 root tape 9, 0 Jul 5 2000 /dev/st0
> > > crw-rw---- 1 root tape 9, 96 Jul 5 2000 /dev/st0a
> > > crw-rw---- 1 root tape 9, 32 Jul 5 2000 /dev/st0l
> > > crw-rw---- 1 root tape 9, 64 Jul 5 2000 /dev/st0m
> > > root@gleep:~>ll /dev/rst0*
> > > ls: /dev/rst0*: No such file or directory
> >
> > I do not have any of those devices. Are they supposed to be created
> > during the install procedure? I am installing off a 3 cd set
> Yes, they should. I have them and the install is most probably from 2.2r0.
> The boot-floppies source also says they should be there. Sorry, I have no
> time to do a potato test install to confirm that now.
> man mknod. /dev/MAKEDEV st0 should do it (unless you have more than one
> tapes ;-)
> But... the kernel _does_ tell you about the device names:
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> ^^^
> Detected scsi removable disk sdb at scsi0, channel 0, id 2, lun 0
> ^^^
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
> ^^^
> If I had a tape, I would talk about st0, I bet.
Below is my dmesg. Notice that the point where SCSI devices are detected,
the tape drive is not assigned to a device. Perhaps this is because the
device nodes were not set up for the tape drive. I'll investigate down
this path. Note the error on sdb can be ignored. I have been using that
device in raw mode, like a tape, to move files form the OpenBSD system
on my Mac to the AmigaOS/Debian system.
Linux version 2.2.10 (root@aahz) (gcc version 2.7.2.3) #1 Wed Mar 29 20:39:52 CEST 2000
Amiga hardware found: [A2000] VIDEO BLITTER AUDIO FLOPPY KEYBOARD MOUSE SERIAL PARALLEL A2000_CLK CHIP_RAM PAULA DENISE_HR AGNUS_HR_NTSC ZORRO
Console: colour dummy device 80x25
Calibrating delay loop... 9.88 BogoMIPS
Memory: 16720k/18432k available (1168k kernel code, 476k data, 68k init)
kmem_create: Forcing size word alignment - filp
VFS: Diskquotas version dquot_6.4.0 initialized
kmem_create: Forcing size word alignment - dquot
POSIX conformance testing by UNIFIX
Zorro: Probing AutoConfig expansion devices: 9 devices
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
kmem_create: Forcing size word alignment - skbuff_head_cache
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - tcp_open_request
Initializing RT netlink socket
Starting kswapd v 1.5
Console: switching to colour frame buffer device 80x25
fb0: Amiga ECS frame buffer device, using 640K of video memory
>clgenfb_init()
clgen: Driver for Cirrus Logic based graphic boards, v1.4 ?
clgen: Spectrum board detected; RAM (2 MB) at $800000, REG at $ec0000
>init_vgachip()
clgen: This board has 2097152 bytes of DRAM memory
<init_vgachip()
clgen_decode_var()
Requested: 640x480x8
virtual: 640x1440
offset: (0,0)
grayscale: 0
>clgen_set_par()
Requested mode: 640x480x8
pixclock: 40000
virtual offset: (0,0)
clgen_set_disp(): 8 bit color depth
<clgenfb_init()
M68K Serial driver version 1.01
pty: 256 Unix98 ptys configured
RAM disk driver initialized: 16 RAM disks of 4096K size
loop: registered device at major 7
FD: probing units
found <5>fd: drive 0 didn't identify, setting default ffffffff
fd0
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
wd33c93-0: chip=WD33c93A/9 no_sync=0xff no_dma=0 debug_flags=0x00
setup_args=,,,,,,,,,
Version 1.25 - 09/Jul/1997, Compiled Mar 29 2000 at 21:19:18
scsi0 : GVP Series II SCSI
scsi : 1 host.
sending SDTR 0103015e00sync_xfer=30 Vendor: SEAGATE Model: ST32550N Rev: 0021
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
sending SDTR 0103015f00sync_xfer=40 Vendor: SONY Model: CD-ROM CDU-76S Rev: 1.1c
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
sending SDTR 0103015e00sync_xfer=30 Vendor: EXABYTE Model: EXB-85058SQANXR1 Rev: 0781
Type: Sequential-Access ANSI SCSI revision: 02
sending SDTR 0103015e00sync_xfer=30 Vendor: SyQuest Model: SQ3105S Rev: 1_24
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi0, channel 0, id 5, lun 0
scsi : detected 1 SCSI cdrom 2 SCSI disks total.
Uniform CDROM driver Revision: 2.55
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4194058 [2047 MB] [2.0 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 215440 [105 MB] [0.1 GB]
sdb: Write Protect is off
Partition check:
sda: RDSK sda1 sda2 sda3 sda4 sda5
sdb:SCSI disk error : host 0 channel 0 id 5 lun 0 return code = 28000000
extra data not valid Current error sd08:10: sense key Not Ready
Additional sense indicates Logical unit not ready, cause not reportable
scsidisk I/O error: dev 08:10, sector 0
Dev 08:10: unable to read RDB block 0
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 44388k swap-space (priority -1)
eth0: A2065 at 0x00ee0000, Ethernet Address 00:80:10:00:07:48
ttyS0 at 0x80dff018: Amiga builtin
--Lance
--
Lance Tagliapietra | lancetag@luminet.net | Contract Software Engineer
Amiga Enthusiast | TeXnically Aware | Embedded Systems Developer
Reply to: