Subject: Re: Another MFM-testkernel available...(LONG!)
To: Anders Magnusson <ragge@ludd.luth.se>
From: Jarkko Teppo <jate@UWasa.Fi>
List: port-vax
Date: 06/29/2000 12:51:55
On Wed, Jun 28, 2000 at 08:19:52PM +0200, Anders Magnusson wrote:
> I've just put up a new kernel for testing. News is that I fixed both
> the console bug and a MFM bug. Please test it.
> I would also like stories from people that have tried a VS2000 with
> a SCSI disk to verify that the SCSI DMA works.

Okay, I tried it briefly during my lunch break. The good news is that
it didn't panic, found the (at the moment) one and only RD54. I didn't
try SCSI yet, I'll try that in the evening and I'll report back tomorrow.

The bad news is that it was slow (didn't see that coming...:-). So I'll
probably need a trimmed down kernel (no IPv6 etc..) and the already reported
Kerberos problem (built in and enabled at the moment, the problem is that
I don't use it in my network. Logons take a while and password needs to
be changed with passwd -l). I even managed to log in without swap since
I forgot how to add nfs-swap. After that I added a swap partition to the
RD54, which worked quite nicely. Here are some trimmed logs:

NetBSD 1.5A (GENERIC) #368: Wed Jun 28 20:46:25 CEST 2000
    ragge@bakfull:/usr/home/ragge/work/nbsd/sys/arch/vax/compile/GENERIC

MicroVAX 2000
cpu: KA410
total memory = 6128 KB
avail memory = 3096 KB
using 102 buffers containing 408 KB of memory
mainbus0 (root)
vsbus0 at mainbus0
vsbus0: interrupt mask 8
le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x304000-0x313fff
le0: address 08:00:2b:0f:b6:d0
le0: 32 receive buffers, 8 transmit buffers
dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dz0: 4 lines
hdc0 at vsbus0 csr 0x200c0000 vec 774 ipl 14 maskbit 0
rd0 at hdc0 drive 0: RD54
rd0: no disk label: size 311256 sectors
si0 at vsbus0 csr 0x200c0080 vec 770 ipl 14 maskbit 1
si0: NCR5380, SCSI ID 7
scsibus0 at si0: 8 targets, 8 luns per target
smg0 at vsbus0 csr 0x200f0000 vec 104 ipl 14 maskbit 3
wsdisplay0 at smg0
wsdisplay0: screen 0-7 added (128x57, vt100 emulation)
scsibus0: waiting 2 seconds for devices to settle...
dapter 2008000f slave 0	####probably my minicom setup is hosed ??
boot device: le0
root on le0
mountroot: trying cd9660...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server: 192.x.x.x
nfs_boot: my_name=192.x.x.x
nfs_boot: my_domain=xxx.xx
nfs_boot: my_addr=192.x.x.x
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.x.x.x
 0x395ba202
 Clock has lost 11135 day(s) - CHECK AND RESET THE DATE.
 root file system type: nfs
 init: copying out path `/sbin/init' 11

blaablaa...

192# dd if=/dev/zero of=/dev/rrd0c bs=1024 count=4000

3: b
4: 0
5: 16
6: 2
7: fd
8: 4
9: a2
dd: /dev/rrd0c: Device not configured
2769+0 records in
2768+0 records out
2834432 bytes transferred in 54 secs (52489 bytes/sec)
192# Jan  2 17:02:08 192 /netbsd: hdc0: failed, status 0xb0
Jan  2 17:02:09 192 /netbsd: 0: 0
Jan  2 17:02:09 192 /netbsd: 1: 0
Jan  2 17:02:09 192 /netbsd: 2: 0
Jan  2 17:02:09 192 /netbsd: 3: b
Jan  2 17:02:09 192 /netbsd: 4: 0
Jan  2 17:02:10 192 /netbsd: 5: 16
Jan  2 17:02:10 192 /netbsd: 6: 2
Jan  2 17:02:10 192 /netbsd: 7: fd
Jan  2 17:02:10 192 /netbsd: 8: 4
Jan  2 17:02:10 192 /netbsd: 9: a2

192# disklabel -w -B -b rdboot /dev/rrd0c rd54
192# newfs /dev/rrd0a
Warning: 181 sector(s) in last cylinder unallocated
/dev/rrd0a:     15884 sectors in 63 cylinders of 15 tracks, 17 sectors
        7.8MB in 4 cyl groups (16 c/g, 1.99MB/g, 512 i/g)
super-block backups (for fsck -b #) at:
    32,  4144,  8256, 12368,
192# mount /dev/rd0a /mnt
192# cd /mnt
192# df -k
Filesystem              1K-blocks     Used    Avail Capacity  Mounted on
newmuuli:/data/vax/root    993357   518693   424996    54%    /
newmuuli:/usr/pkg/home     998606   654636   294039    69%    /usr/pkg/home
/dev/rd0a                    7605        1     7223     0%    /mnt
192# dd if=/dev/zero of=test bs=1024 count=3000
hdc0: failed, status 0xb0
0: 0
1: 16
2: 0
3: b
4: a
5: 16
6: 2
7: ff
8: 4
9: a2
Jan  2 17:08:01 192 /netbsd: hdc0: failed, status 0xb0
Jan  2 17:08:02 192 /netbsd: 0: 0
Jan  2 17:08:02 192 /netbsd: 1: 16
Jan  2 17:08:02 192 /netbsd: 2: 0
Jan  2 17:08:02 192 /netbsd: 3: b
Jan  2 17:08:02 192 /netbsd: 4: a
Jan  2 17:08:02 192 /netbsd: 5: 16
Jan  2 17:08:03 192 /netbsd: 6: 2
Jan  2 17:08:03 192 /netbsd: 7: ff
Jan  2 17:08:03 192 /netbsd: 8: 4
Jan  2 17:08:03 192 /netbsd: 9: a2
3000+0 records in
3000+0 records out
3072000 bytes transferred in 20 secs (153600 bytes/sec) #Hey!!!

and a bit later
192# swapctl -s
total: 16720k bytes allocated = 400k used,16320k available

------
So it works and many many virtual beers to northern Sweden!

I'll try it with a scsi CD-ROM later...

-- 
Jarkko Teppo
jate@uwasa.fi