Subject: Re: 1.5kernel breakage
To: Chuck McManis <cmcmanis@mcmanis.com>
From: Andrew Gillham <gillham@vaultron.com>
List: port-vax
Date: 09/11/2000 21:34:03
Chuck McManis writes:
> Just to be clear a "-current" kernel or a "current kernel". I've been 
> trying to track the 1.5 release which forked of from the mainline a couple 
> of weeks ago and this particular breakage is in the netbsd-1-5 branch of 
> the source. 1.5E sounds like a -current kernel since I believe the tag on 
> the 1.5 branch is _ALPHA2 at the moment.

Hmm, I am seeing some breakage also.  The last working kernel I have is
from June 29.  My first broken kernel is from August 3.  In between I
didn't build a new kernel. :)

My breakage is that my external 1GB SCSI drive doesn't work correctly under
the new kernel.  If I dump the first 1MB from the disk under each kernel
they are not identical and under the newest kernel the disklabel is missing
and the data appears to be repeating or something odd.
My internal RZ23 drives work under the new kernel, but not the IBM.

My internal drive: (also sd1)
sd0 at scsibus0 target 2 lun 0: <DEC, RZ23     (C) DEC, 0A18> SCSI1 0/direct fixed
sd0: 100 MB, 776 cyl, 8 head, 33 sec, 512 bytes/sect x 204864 sectors

External drive:
sd3 at scsibus1 target 0 lun 0: <IBM, 0663L12, 1012> SCSI2 0/direct fixed
sd3: 1003 MB, 4119 cyl, 5 head, 99 sec, 512 bytes/sect x 2055035 sectors

Hexdump on external drive with old kernel:
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040  57 45 56 82 04 00 00 00  69 62 6d 31 67 62 00 00  |WEV.....ibm1gb..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 02 00 00 63 00 00 00  |............c...|
00000070  05 00 00 00 17 10 00 00  ef 01 00 00 7b 5b 1f 00  |............{[..|
00000080  00 00 00 00 00 00 00 00  10 0e 01 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Hexdump on external drive with new kernel:
00000000  02 00 00 00 0c 00 04 01  2e 00 00 00 02 00 00 00  |................|
00000010  0c 00 04 02 2e 2e 00 00  e0 03 00 00 0c 00 04 03  |................|
00000020  62 69 6e 00 40 17 00 00  10 00 04 05 67 61 6d 65  |bin.@.......game|
00000030  73 00 00 00 66 ae 00 00  10 00 04 07 69 6e 63 6c  |s...f.......incl|
00000040  75 64 65 00 60 32 00 00  0c 00 04 03 6c 69 62 00  |ude.`2......lib.|
00000050  40 36 00 00 10 00 04 07  6c 69 62 64 61 74 61 00  |@6......libdata.|

Oddly this looks more like /usr (/dev/sd1e) than /u0 which has 'src' on it.

Something is fishy here.  I've rebuilt the kernel several times with no
change. (e.g. after removing the build directory)

This is on a VAXStation 3100/M38 with 24MB.

-Andrew