Subject: crashing when using tape/cd-rom
To: port-sparc <port-sparc@NetBSD.ORG>
From: Iain Hibbert <plunky@skate.demon.co.uk>
List: port-sparc
Date: 07/03/1995 17:37:02
Hi,
    I upgraded to Jun 3 sources recently, in the hope that I would be
able to use my tape and CD-ROM drives..  here is what happens:

    /dev/rst0 is -rw-rw---- root.operator

  the account I'm using is in the operator group, the tape is in, I
type 'tar tv' and kablooie, panic, reboot..  the dmesg output is
below..

  another interesting thing is, when it boots it pauses just before it
gets to the Fujitsu disk (target 3, sd0) and complains a bit, this
didn't happen under 1.0 - and also under 1.0, I'm sure it said the
disk and tape were SCSI2 devices (SunOS did for sure..), the tape
worked fine under SunOS 4.1.1..

  is any of this fixed and/or known about? (I'm making friends with
sup, will do an update soon)

  I've tried Theos kernel (number 13) with much the same results.. my
config file is basically the GENERIC_SCSI3 one, I don't think I've
changed anything around yet..  (root on sd0 swap on sd0 instead of
swap generic)

]ain

st0(esp0:4:0): illegal request, data = 00 00 00 00 20 00
st0: cannot set selected mode
CSR = 80001118
panic: DMAWAIT1
syncing disks... sd0(esp0:3:0): timed out
CSR = 80001119
panic: DMAWAIT1
Frame pointer is at 0xf80dd1a8
Call traceback:
  pc = f80c58dc  args = (f80ef000, fe6, 0, f80dd2c8, ffff, f80f5800) fp = f80dd210
  pc = f801e5d0  args = (104, f80e3800, 1, f80dd32c, ffffffff, 3e8) fp = f80dd278
  pc = f80b2674  args = (104, f80e3800, 1, 0, a, 1000) fp = f80dd2e0
  pc = f80b31f0  args = (f8564b80, f80b2604, 10a8, 1, 0, f80f5800) fp = f80dd348
  pc = f80b5054  args = (f856ac00, f80e3800, 1, fffffffb, ffffffff, 5) fp = f80dd3b8
  pc = f801142c  args = (f856ac9c, 4000e4, f8b580c0, f80b5004, f8b58090, 19) fp = f80dd420
  pc = f80113a0  args = (4000e5, bbfd0, f80ff220, f80ff000, 2710, f423f) fp = f80dd488
  pc = f80a5c64  args = (f80dd5c0, 54, f80f9f08, 8, 0, f423f) fp = f80dd4f0
  pc = f800683c  args = (f80dd5c0, f80a5c1c, 1c146bee, 1e69, ffff, f423f) fp = f80dd560
  pc = f800683c  args = (f80ed000, 8000e1, f80e2800, 0, 0, 1000) fp = f80dd610
  pc = f803352c  args = (f8b65744, 11, f80334b8, 0, ffff, f9732fb0) fp = f80dd678
  pc = f8032dac  args = (f8b65744, 6d00, 2000, 0, 0, f80f5800) fp = f80dd6e0
  pc = f8087588  args = (f8564080, 6d00, 2000, ffffffff, f80dd7b4, 0) fp = f80dd750
  pc = f808a79c  args = (f80dd820, f808743c, f80e2800, f8572a80, f8b580b0, e0000321) fp = f80dd7c0
  pc = f8089a00  args = (f80dd8a8, f808a724, fe005000, f856c000, 1, f9732fb0) fp = f80dd848
  pc = f8039df0  args = (0, 2, f8564900, f80ff108, f80898e4, f423f) fp = f80dd8d0
  pc = f80393dc  args = (f80ff108, 0, 0, f80ddab8, ffffffff, 10) fp = f80dd938
  pc = f80c588c  args = (f80ff000, f80e3000, f80ed000, f80dda58, ffff, f9732fb0) fp = f80dd9a0
  pc = f801e5d0  args = (100, f80e3800, 1, f80ddabc, 0, f85bd340) fp = f80dda08
  pc = f80b282c  args = (100, f80e3800, 1, 1, 2000, f9732ed4) fp = f80dda70
  pc = f80b4ebc  args = (f8564b80, 8\^D\^T00, 0, f80b2710, e0000321) fp = f80ddae0
  pc = f800683c  args = (f856ac00, f80b4828, 1, 7, 1, f9732fb0) fp = f80ddb50
  pc = f80a3c10  args = (0, 2000, 1, 2000, 0, 28) fp = f9732c60

dumping to dev 701, offset 8
dump
sddump()        -- not implemented
error -1
rebooting

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.0A (pond) #0: Sun Jun 18 15:12:33 BST 1995
    plunky@pond:/usr/src/sys/arch/sparc/compile/pond
real mem = 16711680
avail mem = 14405632
using 204 buffers containing 835584 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: Opus 4/60 (MB86900/1A or L64801 @ 20 MHz, WTL3170/2 FPU)
cpu0: 65536 byte write-through, 16 bytes/line, sw flush cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000
auxreg0 at mainbus0 ioaddr 0xf7400000
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
fdc0 at mainbus0 ioaddr 0xf7200000 pri 11, softpri 4: chip 82077
audio0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100 20Mhz, target 7
scsibus0 at esp0
esp0(3,0): MSGIN failed; trying alt selection
esp: resetting SCSI bus
esp0: stray interrupt
esp0 targ 3 lun 0: <FUJITSU, M2623S-512, 0202> SCSI1 0/direct fixed
sd0 at scsibus0: 406MB, 1429 cyl, 9 head, 64 sec, 512 bytes/sec
esp0 targ 4 lun 0: <ARCHIVE, VIPER 150  25066, -001> SCSI1 1/sequential removable
st0 at scsibus0: density code 0x0, 512-byte blocks, write-enabled
le0 at sbus0 slot 0 offset 0xc00000 pri 5: hardware address 00:80:f1:00:07:cf
cgthree0 at sbus0 slot 1 offset 0x0: SUNW,501-1415, 1152 x 900 (console)
root on sd0a