Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VAXstation 3100/30 KA420 SCSI DMA problem on netboot (and fix)



On Wed, Feb 21, 2024 at 01:33:24AM +0900, Izumi Tsutsui wrote:
> 
> To confirm this, could you try "fsck after newfs" tests on
> a SCSI disk drive on your m76?

Thank you for your excellent instructions - I hope I have followed them
correctly.  For all of this testing I took a copy of the 10/RC4 source
and did a cross-build to an iso, the source has your patch applied to it.

--------------------------------------------------------------------------------
>>> boot esa0

-ESA0
>> NetBSD/vax boot [1.12 (Tue Feb  6 12:38:53 UTC 2024)] <<
>> Press any key to abort autoboot 5
Press '?' for help
> boot -s
Trying BOOTP
Using IP address: 192.168.44.8
myip:  (192.168.44.8)
root addr=192.168.44.9 path=/export/client/root/
3558040+185792 [249312+235863]=0x408ba0
 :
[   1.0000000] NetBSD 10.0_RC4 (GENERIC) #1: Sun Feb 18 08:51:17 EST 2024
[   1.0000000] 	netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC
[   1.0000000] VAXstation 3100/m76
[   1.0000000] total memory = 32636 KB
[   1.0000000] avail memory = 27000 KB
 :
[   1.0000000] si0 at vsbus0 csr 0x200c0080 vec 770 ipl 17 maskbit 1
[   1.0000000] si0: NCR5380, SCSI ID 6
[   1.0000000] scsibus0 at si0: 8 targets, 8 luns per target
 :
[   3.0500050] sd0 at scsibus0 target 0 lun 0: <ZULUSCSI, HARDDRIVE, 2.0> disk fixed
[   3.0800050] sd0: 4095 MB, 522 cyl, 255 head, 63 sec, 512 bytes/sect x 8388607 sectors
[   3.1100050] sd0: async, 8-bit transfers
 :
Enter pathname of shell or RETURN for /bin/sh: 
# newfs -I /dev/rsd0b
/dev/rsd0b: 256.0MB (524286 sectors) block size 8192, fragment size 1024
	using 6 cylinder groups of 42.67MB, 5462 blks, 10624 inodes.
super-block backups (for fsck_ffs -b #) at:
32,
87424,
174816,
262208,
349600,
436992,
# fsck_ffs -fn /dev/rsd0b
** /dev/rsd0b (NO WRITE)
** File system is already clean
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1 files, 1 used, 254061 free (21 frags, 31755 blocks, 0.0% fragmentation)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
>>> boot dka0

-DKA0
>> NetBSD/vax boot [1.12 (Sun Feb 18 13:47:15 UTC 2024)] <<
>> Press any key to abort autoboot 5
Press '?' for help
> boot le()netbsd -s
Trying BOOTP
Using IP address: 192.168.44.8
myip:  (192.168.44.8)
root addr=192.168.44.9 path=/export/client/root/
3558040+185792 [249312+235863]=0x408ba0
 :
[   1.0000000] NetBSD 10.0_RC4 (GENERIC) #1: Sun Feb 18 08:51:17 EST 2024
[   1.0000000] 	netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC
[   1.0000000] VAXstation 3100/m76
[   1.0000000] total memory = 32636 KB
[   1.0000000] avail memory = 27000 KB
 :
[   1.0000000] si0 at vsbus0 csr 0x200c0080 vec 770 ipl 17 maskbit 1
[   1.0000000] si0: NCR5380, SCSI ID 6
[   1.0000000] scsibus0 at si0: 8 targets, 8 luns per target
 :
[   3.0500040] sd0 at scsibus0 target 0 lun 0: <ZULUSCSI, HARDDRIVE, 2.0> disk fixed
[   3.0800040] sd0: 4095 MB, 522 cyl, 255 head, 63 sec, 512 bytes/sect x 8388607 sectors
[   3.1100040] sd0: async, 8-bit transfers
 :
Enter pathname of shell or RETURN for /bin/sh: 
# newfs -I /dev/rsd0b
/dev/rsd0b: 256.0MB (524286 sectors) block size 8192, fragment size 1024
	using 6 cylinder groups of 42.67MB, 5462 blks, 10624 inodes.
super-block backups (for fsck_ffs -b #) at:
32,
87424,
174816,
262208,
349600,
436992,
# fsck_ffs -fn /dev/rsd0b
** /dev/rsd0b (NO WRITE)
** File system is already clean
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1 files, 1 used, 254061 free (21 frags, 31755 blocks, 0.0% fragmentation)
--------------------------------------------------------------------------------

You did not run this scenario, but as I had done an install of my ISO,
I ran this one as well.

--------------------------------------------------------------------------------
>>> boot dka0

-DKA0
>> NetBSD/vax boot [1.12 (Sun Feb 18 13:47:15 UTC 2024)] <<
>> Press any key to abort autoboot 5
Press '?' for help
> boot -s
3558040+185792 [249312+235863]=0x408ba0
 :
[   1.0000000] NetBSD 10.0_RC4 (GENERIC) #1: Sun Feb 18 08:51:17 EST 2024
[   1.0000000] 	netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC
[   1.0000000] VAXstation 3100/m76
[   1.0000000] total memory = 32636 KB
[   1.0000000] avail memory = 27000 KB
 :
[   1.0000000] si0 at vsbus0 csr 0x200c0080 vec 770 ipl 17 maskbit 1
[   1.0000000] si0: NCR5380, SCSI ID 6
[   1.0000000] scsibus0 at si0: 8 targets, 8 luns per target
 :
[   3.0500040] sd0 at scsibus0 target 0 lun 0: <ZULUSCSI, HARDDRIVE, 2.0> disk fixed
[   3.0800040] sd0: 4095 MB, 522 cyl, 255 head, 63 sec, 512 bytes/sect x 8388607 sectors
[   3.1100040] sd0: async, 8-bit transfers
 :
Enter pathname of shell or RETURN for /bin/sh: 
# newfs -I /dev/rsd0b
/dev/rsd0b: 256.0MB (524286 sectors) block size 8192, fragment size 1024
	using 6 cylinder groups of 42.67MB, 5462 blks, 10624 inodes.
super-block backups (for fsck_ffs -b #) at:
32,
87424,
174816,
262208,
349600,
436992,
# fsck_ffs -fn /dev/rsd0b
** /dev/rsd0b (NO WRITE)
** File system is already clean
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1 files, 1 used, 254061 free (21 frags, 31755 blocks, 0.0% fragmentation)
--------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index