Port-vax archive

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

kernel compilers



Does anyone know which compilers are capable - or incapable -
or building different versions of the NetBSD/vax kernel.
I'm particularly interested in 1.5.2, because that's the
one I've been working on.

A while back I reverted to gcc-2.7.2.3 because of the
horrible resource consumption[1] AND the internal errors[2]
of egcs (1.1.1 according to --version, but 2.91.60
according to the opinion of -dumpspecs).

My newly rebuilt kernel crashes after reporting that the
filesystem is of type FFS.  See note [3] below for details.

-aw

[1]  Indeed, I had to use ulimit for the first time ever (I've
     used it before, but that was for curiosity.).

[2]  It repeatedly died attempting to build a part of Samba.
     I now have Samba running on the VAX, so at least in this
     instance, gcc-2.7.2.3 turned out to be a more capable
     compiler (not that I'm particularly surprised - newer
     versions do little but increase wastefulness, reduce
     compatibility and introduce new bugs in the name of the
     holy GCC religion "optimisation" - what kind of
     optimisation is it if it doesn't run at all or with
     significantly lower reliability, or if it runs on a
     greatly reduced subset of hardware, or otherwise only
     under certain special conditions?

[3]  Boot messages:

dz0 at vsbus0 csr 0x200a0000 vec 124 ipl 15 maskbit 4
dz0: 4 lines
lkc at dz0 not configured
asc0 at vsbus0 csr 0x200c0080 vec 774 ipl 15 maskbit 0
asc0: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
probe(asc0:1:0): max sync rate 6.25MB/s
sd0 at scsibus0 target 1 lun 0: <IBM, DNES-309170W, SAH0> SCSI3 0/direct fixed
sd0: 8748 MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sect x 17916240 sectors
probe(asc0:3:0): max sync rate 3.96MB/s
sd1 at scsibus0 target 3 lun 0: <DEC, RZ23L    (C) DEC, 2528> SCSI1 0/direct fix
ed
sd1: 116 MB, 1523 cyl, 4 head, 39 sec, 512 bytes/sect x 237588 sectors
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

        [.... This is where it hangs ....]

        [.... until I resort to the halt button or power cycling ....]
KA46-A V1.4-38E-V4.2

OK
        [.... And here we go again ....]

  83 BOOT SYS
 
-DKA100
>> NetBSD/vax boot [1.11 Wed Feb 11 09:14:20 UTC 2004] <<
>> Press any key to abort autoboot 3
Press '?' for help
> boot netbsd-152-20090416
changing bootrpb.unit from 100 to 1
998992+43576+173780+[68064+80792]=0x14d4d8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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.5.2 (MARIAH) #11: Thu Apr 16 22:20:29 GMT 2009
    toor@mariah:/usr/src/sys/arch/vax/compile/MARIAH

VAXstation 4000/60
cpu: KA46
cpu: turning on floating point chip
total memory = 32508 KB
avail memory = 27356 KB
        [.... skipping .....]

sd1: 116 MB, 1523 cyl, 4 head, 39 sec, 512 bytes/sect x 237588 sectors
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

        [.... And that's where we lock up again ....]

?02 EXT HLT
  PC= 80000797 PSL= 00000004

>>> boot

        [.... THIS time I choose my old kernel, now with  ..
        ...  binary patches as a bonus - I thought that was  ...
        ...  only for closed source operating systems ........]
 
-DKA100
>> NetBSD/vax boot [1.11 Wed Feb 11 09:14:20 UTC 2004] <<
>> Press any key to abort autoboot 0
changing bootrpb.unit from 100 to 1
nfs_open: must mount first.
open netbsd.vax: Device not configured
> boot netbsd
893604+45040+160256+[64572+76574]=0x12ebf2
[ preserving 141146 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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.5.2 (MARIAH) #12: Sat Mar 11 06:54:45 GMT 2006
    toor@mariah:/usr/src/sys/arch/vax/compile/MARIAH

VAXstation 4000/60
cpu: KA46

        [.....  skipping ....]

sd1: 116 MB, 1523 cyl, 4 head, 39 sec, 512 bytes/sect x 237588 sectors
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

        [.... now watch carefully ....]

swapctl: adding /dev/sd0b as swap device at priority 0
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
Setting tty flags.

        [.... finally, it stops with a console login prompt ...]

END OF TRANSMISSION




Home | Main Index | Thread Index | Old Index