9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 53C896
@ 2000-10-26  5:56 Christopher Nielsen
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Nielsen @ 2000-10-26  5:56 UTC (permalink / raw)
  To: 9fans

It seems the fileserver kernel isn't all that happy with the
built-in SCSI controller on my MB (Symbios 53C896). I'm not
all that surprised from what I've seen in the archives, but
I decided to give it a go, anyway.

I've re-tooled the emelie kernel with extra debugging. The
output of which is below.

Any ideas on where to start with better support for this
controller on the fileserver? Jim, Nigel, do you have any
patches that would be useful? I'm more than happy to be a
guinea pig for patches and/or dive into the code.


--- begin boot and debug output ---

ether#0: i82557: port 0xEE80 irq 9: 00E081112729
sd53c8xx: SYM53C896 rev. 0x05 intr=5 command=2100117
sd53c8xx: SYM53C896 rev. 0x05 intr=11 command=2100117
sd53c8xx: bios scntl3(77) stest2(00)
sd53c8xx: bios scntl3(77) stest2(00)
found 9PCFS   .GZ  attr 0x0 start 0x11e len 162209
.gz......................162209 =>
229633+38836+172528=440997
entry: 80100020
CPU is a 882 MHz P6 (cpuid: AX 0x0683 DX 0x383fbff)
ether0: i82557: 0Mbps port 0xee80 irq 9: 00e081112729
scsi#0: SYM53C896 rev. 0x05 intr=5 command=0117
scsi#0: local SCRIPT ram enabled
ncr53c8xx: tpf=12 scf=1.0 xferp=4 mhz=20.000
ncr53c8xx: tpf=15 scf=1.0 xferp=5 mhz=16.667
ncr53c8xx: tpf=18 scf=1.5 xferp=4 mhz=13.889
ncr53c8xx: tpf=23 scf=1.5 xferp=5 mhz=10.870
ncr53c8xx: tpf=25 scf=2.0 xferp=4 mhz=10.000
ncr53c8xx: tpf=31 scf=2.0 xferp=5 mhz=8.065
ncr53c8xx: tpf=37 scf=3.0 xferp=4 mhz=6.757
ncr53c8xx: tpf=43 scf=2.0 xferp=7 mhz=5.814
ncr53c8xx: tpf=46 scf=3.0 xferp=5 mhz=5.435
ncr53c8xx: tpf=50 scf=4.0 xferp=4 mhz=5.000
ncr53c8xx: tpf=62 scf=4.0 xferp=5 mhz=4.033
ncr53c8xx: tpf=74 scf=4.0 xferp=6 mhz=3.379
ncr53c8xx: tpf=87 scf=4.0 xferp=7 mhz=2.874
ncr53c8xx: tpf=100 scf=4.0 xferp=8 mhz=2.500
ncr53c8xx: tpf=112 scf=4.0 xferp=9 mhz=2.233
ncr53c8xx: tpf=125 scf=4.0 xferp=10 mhz=2.000
ncr53c8xx: tpf=137 scf=4.0 xferp=11 mhz=1.825
scsi#0: ncr53c8xx: port 0xfebe8000 irq 5
ncr53c8xx: int
sist = 0002
ncr53c8xx: int end 0
iobufinit
        29233 buffers; 3659 hashes
        mem left = 44744703
                out of = 536870912
nvr read
found plan9.nvr attr 0x0 start 0x11d len 512


 ** NVR key checksum is incorrect  **
 ** set password to allow attaches **

config: config w1.0.0
config: service thoth
config: filsys main c[w1.<0-1>.0]j(w6w<4-5>)(l<0-37>l<38-75>)
config: filsys dump o
config: ip 199.239.183.141
config: ipgw 199.239.183.129
config: ipauth 199.239.183.140
config: ipmask 255.255.255.192
config: ream main
config: end
sysinit
config w1.0.0
        devinit w1.0.0
stack trace of 1
0x8012328f 0x80135285 0x80126e53 0x80126dec 0x801103dc
0x80126afc 0x801287e9 0x80106150
0x80106150 0x8012f6b1 0x80105c9f 0x80105bf7 0x80100254
0x801003f1 0x801178f2 0x801178f2
0x80117580 0x8010039b 0x80110008 0x80117927 0x8010967c
0x8010967c 0x8010999d 0x80100b76
0x801241df 0x8010d291 0x80125735 0x80105cb2 0x801009ae
0x80123c1b 0x80123f6a 0x80123f49
0x80123e2d 0x801178f2 0x80117580 0x801071bc 0x80123b91
0x80110008 0x80101033 0x80100f8d
0x80100254 0x80100f31 0x80123e2d 0x801241df 0x80123d36
0x80100254 0x80105bf7 0x8010967c
0x801241df 0x8010065d 0x801175d3 0x80105bf7 1196 stack used
out of 4000

panic: scsiio: device = w1.0.0

cpu 0 exiting

--- end boot and debug output ---

--
Christopher Nielsen
cnielsen@pobox.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 53C896
  2000-10-26  8:50 forsyth
@ 2000-10-26 21:24 ` Christopher Nielsen
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Nielsen @ 2000-10-26 21:24 UTC (permalink / raw)
  To: 9fans

There were actually a few problems, all of which have been
solved with help from Jim and Nigel.

1. I forgot to include the second scsi controller in
   plan9.ini
2. I had the controller numbers reversed (I was following
   what the scsi firmware boot messages said)
3. I updated the driver source to Nigel's most recent
   version

So far, eveything seems to be working as expected, though I
haven't really run the system through its paces just yet.

Thanks again to Jim and Nigel.

On Thu, 26 Oct 2000 forsyth@caldo.demon.co.uk wrote:

> config w1.0.0
>
> isn't that controller 1, device 0, lun 0?
> but you've got the NCR at scsi#0 not scsi#1
>
> panic: scsiio: device = w1.0.0
>
> i think it might be saying `no such device (because no such controller)'.
>
> plain w1 is device 1 (lun 0) on controller 0.
> w1.2 would be device 1 lun 2
> w3.1.2 would be controller 3 device 1 lun 2
>
> i might be wrong;
> it has been a little while since
> i've had to write a device configuration.
> (i get to do it next week when our jukebox arrives.)

--
Christopher Nielsen
(enkhyl|cnielsen)@pobox.com
"Not only is UNIX dead, it's starting to smell really bad." --rob pike




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 53C896
@ 2000-10-26  8:50 forsyth
  2000-10-26 21:24 ` Christopher Nielsen
  0 siblings, 1 reply; 3+ messages in thread
From: forsyth @ 2000-10-26  8:50 UTC (permalink / raw)
  To: 9fans

config w1.0.0

isn't that controller 1, device 0, lun 0?
but you've got the NCR at scsi#0 not scsi#1

panic: scsiio: device = w1.0.0

i think it might be saying `no such device (because no such controller)'.

plain w1 is device 1 (lun 0) on controller 0.
w1.2 would be device 1 lun 2
w3.1.2 would be controller 3 device 1 lun 2

i might be wrong;
it has been a little while since
i've had to write a device configuration.
(i get to do it next week when our jukebox arrives.)




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-10-26 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26  5:56 [9fans] 53C896 Christopher Nielsen
2000-10-26  8:50 forsyth
2000-10-26 21:24 ` Christopher Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).