Subject: Disklabel and SCSI
To: None <port-i386@NetBSD.ORG>
From: Chris. Rupnik <chrisr@hp817.speedware.com>
List: port-i386
Date: 02/11/1998 13:08:49
Hi 
I am having a problem disklabling SCSI disks on my 1.3 system. Here is
the dmesg

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

NetBSD 1.3 (CHRISR) #0: Sat Feb  7 14:22:41 EST 1998
    root@mallow:/usr/src/sys/arch/i386/compile/CHRISR
cpu0: Intel 486DX (486-class)
real mem  = 16384000
avail mem = 14053376
using 225 buffers containing 921600 bytes of memory
mainbus0 (root)
isa0 at mainbus0
ahc0 at isa0 port 0x1c00-0x1cff irq 10: Adaptec AHA-284x SCSI (BIOS enabled)
ahc0: aic7770 >= Rev E, Single Channel, SCSI Id=7, 4 SCBs
scsibus0 at ahc0 channel 0: 8 targets
ahc0: target 0 synchronous at 4.4MHz, offset = 0x8
sd0 at scsibus0 targ 0 lun 0: <FUJITSU, M2266S-512, 002C> SCSI2 0/direct fixed
sd0: 1029MB, 1658 cyl, 15 head, 84 sec, 512 bytes/sect x 2107704 sectors
ahc0: target 4 synchronous at 5.0MHz, offset = 0x8
st0 at scsibus0 targ 4 lun 0: <HP, HP35470A, 1009> SCSI2 1/sequential removable
st0: drive empty
ep0 at isa0 port 0x330-0x33f irq 11: 3Com 3C509 Ethernet
ep0: MAC address 00:20:af:05:45:33
ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt1 at isa0 port 0x278-0x27b: polled
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <WDC AC2340H>
wd0: 325MB, 1010 cyl, 12 head, 55 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, chs addressing
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
isapnp0: <ESS ES1868 Plug and Play AudioD, ESS0000, , > port 0x800/8 not configured
sb1 at isapnp0 port 0x220/16,0x388/4,0x300/2 irq 5 drq 1,0
sb1: ESS ES1868 Plug and Play AudioD : dsp v3.01
audio0 at sb1
joy0 at isapnp0 port 0x201/1
joy0: ESS ES1868 Plug and Play AudioD 
joy0: joystick not connected
isapnp0: <ESS ES1868 Plug and Play AudioD, ESS0002, , > port 0x168/8,0x36e/2 irq 10 not configured
biomask 4440 netmask 4c40 ttymask 4c42
sd0: no disk label
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
stray interrupt 7

--------
So, it does see my disk fine. (BTW, i can format and see the drive in both
linux and dos)

However, i am unable to write a disklabel to the drive. I get constant
complaints that sd0: no disk label.

What would possibly be the problem? The installer had no problem
with the IDE drive. Is this a SCSI problem?

On a similar SCSI note, a tape written with TAR on HPUX and LINUX fails to be
read on this system.

mallow# tar -tvf /dev/st0
Feb 11 06:06:12 mallow /netbsd: st0(ahc0:4:0):  Check Condition on opcode 0x0
tar: can't open /dev/st0Feb 11 06:06:12 mallow /netbsd:     SENSE KEY:  Not Ready
Feb 11 06:06:12 mallow /netbsd:      ASC/ASCQ:  Logical Unit Is in Process Of Becoming Ready
Feb 11 06:06:12 mallow /netbsd: 
 : Input/output error


Any correlation?

Chris