NetBSD Problem Report #17213

Received: (qmail 8526 invoked by uid 605); 11 Jun 2002 08:27:24 -0000
Message-Id: <200206110827.g5B8RLb25524@brother.ludd.luth.se>
Date: Tue, 11 Jun 2002 10:27:21 +0200 (MEST)
From: Peter B <pb@ludd.luth.se>
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: NetBSD mt won't report fileposition with Exabyte 8500-85Qanx0

>Number:         17213
>Category:       kern
>Synopsis:       NetBSD's mt won't report fileposition with Exabyte 8500-85Qanx0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 11 08:28:00 +0000 2002
>Closed-Date:    
>Last-Modified:  Sun Jun 16 10:39:10 +0000 2002
>Originator:     Charlie Root (PB)
>Release:        ftp.se.netbsd.se:/pub/NetBSD/NetBSD-1.5.2/i386
>Organization:
	Luth
>Environment:
        486DX33, NetBSD-1.5.2
System: NetBSD lim 1.5 NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000 fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC i386

>Description:
        NetBSD 1.5.2 + Exabyte 8500 won't report fileposition correct.
        On a tape with many backups it's rather confusing to not know..!
        This streamer works just fine (without this bug) on FreeBSD.

............................................................................
Script started on Tue Jun 11 09:47:00 2002
lim# mt status
SCSI tape drive, residual=0
ds=3<Mounted>
er=0
blocksize: 0 (0, 0, 0, 0)
density: 0 (0, 0, 0, 0)
current file number: 0
current block number: 0
lim# mt fsf 1
lim# mt status
SCSI tape drive, residual=0
ds=3<Mounted>
er=0
blocksize: 0 (0, 0, 0, 0)
density: 0 (0, 0, 0, 0)
current file number: 0          <-- Hey where am I? :)
current block number: 0
lim# dmesg
NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000
    fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC
cpu0: Intel 486DX (486-class)
total memory = 7808 KB
avail memory = 2172 KB
using 123 buffers containing 492 KB of memory
mainbus0 (root)
isa0 at mainbus0
aha1 at isa0 port 0x334-0x337 irq 11 drq 7
aha1: model AHA-1540A/1542A/1542B, firmware 0.5
aha1: async, parity
scsibus0 at aha1: 8 targets, 8 luns per target
ne1 at isa0 port 0x300-0x31f irq 10
ne1: NE2000 Ethernet
ne1: Ethernet address 00:00:6e:20:e5:3a
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <Conner Peripherals 121MB - CP30101G>
wd0: drive supports 128-sector pio transfers, chs addressing
wd0: 116 MB, 762 cyl, 8 head, 39 sec, 512 bytes/sect x 237744 sectors
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.2MB, 80 cyl, 2 head, 15 sec
isapnp0: no ISA Plug 'n Play devices found
biomask fb65 netmask ff65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
st0 at scsibus0 target 6 lun 0: <EXABYTE, EXB-8500-85Qanx0, 06X0> SCSI2 1/sequential removable
st0: drive empty
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Script done on Tue Jun 11 09:49:23 2002
............................................................................

If there's any progress with this PR. Pls mail me at pb@ludd.luth.se

>How-To-Repeat:
	Install NetBSD-1.5.2 on IDE disc in a i386 machine with ISA 
        Adaptec 1542B
        Connect Exabyte 8500 externally. And insert tape.
        Rewind. Print status.
        Forward one file (on the condition that there is one on the 
        tape since before ofcourse :).
        Print status. And notice that's the same output.

>Fix:
        Most likely an error in the kernel, scsi-lib or the command (mt).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->kern-bug-people 
Responsible-Changed-By: fair 
Responsible-Changed-When: Sun Jun 16 03:22:38 PDT 2002 
Responsible-Changed-Why:  
this is a kern bug. 

Submitter also notes:
PR 17213 is present on NetBSD-1.5.2 / sparc too.
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.