Gordon Zaft | 4 Jan 03:54 2009
Picon

Problems building pkg_install on simh

 I have a simh emulator with 4.0.1 installed and wanted to build
pkgsrc stuff on it (bash, to start with).  When I tried to build bash
it complained that my pkg_install was out of date, so I tried to build
pkg_install, and got:

diogenes# cd pkg_install
diogenes# make
sh: /usr/sbin/audit-packages: not found
===> Skipping vulnerability checks.
WARNING: No /pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/download-vulnerability-list'.
===> Configuring for pkg_install-20081013
=> Configuring and building libnbcompat
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: error: cannot run /bin/sh ./config.sub
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

So... is building pkgsrc native just hopelessly broken, or is there
something else I should try?  Thanks for any help!

--

-- 
Gordon Zaft
(Continue reading)

Brad Parker | 6 Jan 23:18 2009

netbsd on vax 11/730; I could use a little debug help


Hi,

Long ago (like 4 years ago) did some work on netbsd 1.6ZL to get it to
work on a 11/730.  I made some progress but didn't get it going.  I did,
however, use the 'enhanced' loader I hacked to do a lot of other 11/730
hacking on a real 730.

Recently I decided to try again.  I fixed some long standing bugs in my
loader and hacked a copy of 11/780 simh to look more like a 730.  I've
got the registers and interrupts working, and the 730-only kernel boots
to the same point as a 780 stock kernel does on simh.

Now I could use some pointers from someone who's better at netbsd.

Basically it boots to the point where it wants to run /sbin/init.  It
loads the file (/sbin/init) and runs the scheduler but nothing happens.

I should note that I'm using an nfs root.  But I don't think that is the
problem (or it does not seem to be).

The elf loader seems to be happy.  I also made a statically linked
"hello world" just to eliminate any library issues.  That did not help.

How does one debug this sort of thing?  Any ideas?

(I always get stuck when the demand paging of an executable just
sort of "stops"...)

I'm wondering if I have a console problem.  /dev/console does
(Continue reading)

Matt Fleming | 7 Jan 07:58 2009
Picon

Re: Problems building pkg_install on simh

On Sat, Jan 03, 2009 at 06:54:28PM -0800, Gordon Zaft wrote:
>  I have a simh emulator with 4.0.1 installed and wanted to build
> pkgsrc stuff on it (bash, to start with).  When I tried to build bash
> it complained that my pkg_install was out of date, so I tried to build
> pkg_install, and got:
> 
> diogenes# cd pkg_install
> diogenes# make
> sh: /usr/sbin/audit-packages: not found
> ===> Skipping vulnerability checks.
> WARNING: No /pkg-vulnerabilities file found.
> WARNING: To fix run: `/usr/sbin/download-vulnerability-list'.
> ===> Configuring for pkg_install-20081013
> => Configuring and building libnbcompat
> configure: WARNING: If you wanted to set the --build type, don't use --host.
>     If a cross compiler is detected then cross compile mode will be used.
> configure: error: cannot run /bin/sh ./config.sub
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/pkgtools/pkg_install
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/pkgtools/pkg_install
> 
> 
> So... is building pkgsrc native just hopelessly broken, or is there
> something else I should try?  Thanks for any help!
> 
(Continue reading)

Brad Parker | 7 Jan 18:20 2009

netbsd on vax 11/730; booting in sim


I'm sure everyone is on the edge of their seats waiting to hear about
11/730 support :-)

Anyway, turns out my nfs root was broken; I unpacked the stock 2.0.2 vax
binaries and things started working better (I discovered /sbin/init was
getting traps... oops).

Below is some output;  Now that 2.0.3 is working I'll try the latest and
make a patch set.  I found that 2.0.3 boots quicker in sim than 1.6ZL.
It will be interesting to see how 4.0 does...

I also found that when init makes an mfs /dev it runs out of inodes.
Any idea how to fix that?  It's not fatal.

Next I'll try less memory and real hardware!

-brad

------

Organization: Heeltoe Consulting
   The Regents of the University of California.  All rights reserved.

NetBSD 2.0.3 (VAX780) #9: Wed Jan  7 12:11:40 EST 2009
        brad <at> mwave:/files1/netbsd/NetBSD-2.0.3/root/usr/src/sys/arch/vax/compile/obj/VAX780

VAX 11/730
cpu0: KA730, ucode rev 4
total memory = 8188 KB
(Continue reading)

Anders Magnusson | 7 Jan 18:26 2009
Picon

Re: netbsd on vax 11/730; booting in sim

Hehe, interesting :-)

I might put the dust off an old 11/750 with an RP07 disk and see if
it works with 5.0... :-)

-- Ragge

Brad Parker wrote:
> I'm sure everyone is on the edge of their seats waiting to hear about
> 11/730 support :-)
> 
> Anyway, turns out my nfs root was broken; I unpacked the stock 2.0.2 vax
> binaries and things started working better (I discovered /sbin/init was
> getting traps... oops).
> 
> Below is some output;  Now that 2.0.3 is working I'll try the latest and
> make a patch set.  I found that 2.0.3 boots quicker in sim than 1.6ZL.
> It will be interesting to see how 4.0 does...
> 
> I also found that when init makes an mfs /dev it runs out of inodes.
> Any idea how to fix that?  It's not fatal.
> 
> Next I'll try less memory and real hardware!
> 
> -brad
> 
> ------
> 
> Organization: Heeltoe Consulting
>    The Regents of the University of California.  All rights reserved.
(Continue reading)

Brad Parker | 7 Jan 18:50 2009

Re: netbsd on vax 11/730; booting in sim


Anders Magnusson wrote:
>Hehe, interesting :-)
>
>I might put the dust off an old 11/750 with an RP07 disk and see if
>it works with 5.0... :-)

From what I saw the 750 support should work fine.  Only the 730 code was
missing.  Certainly with 2.0.3.  I have not tried anything more recent,
but I will.

mmm.  an RP07.  Have you spun it up recently?

-brad

Dave McGuire | 7 Jan 18:53 2009

Re: netbsd on vax 11/730; booting in sim

On Jan 7, 2009, at 12:50 PM, Brad Parker wrote:
>> I might put the dust off an old 11/750 with an RP07 disk and see if
>> it works with 5.0... :-)
>
> From what I saw the 750 support should work fine.  Only the 730  
> code was
> missing.  Certainly with 2.0.3.  I have not tried anything more  
> recent,
> but I will.

   Please let us know how it works.  I hope to resurrect my 11/750 soon.

> mmm.  an RP07.  Have you spun it up recently?

   My lights dimmed for a little while yesterday..

         -Dave

--

-- 
Dave McGuire
Port Charlotte, FL

Johnny Billquist | 7 Jan 18:59 2009
Picon

Re: netbsd on vax 11/730; booting in sim

Don't bother. 5.0 is broken enough that it don't boot at all on our 
8650, and when I tried it on my 4000/90 it just hangs after running 
build.sh a day or two.

	Johnny

Anders Magnusson wrote:
> Hehe, interesting :-)
> 
> I might put the dust off an old 11/750 with an RP07 disk and see if
> it works with 5.0... :-)
> 
> -- Ragge
> 
> 
> Brad Parker wrote:
>> I'm sure everyone is on the edge of their seats waiting to hear about
>> 11/730 support :-)
>>
>> Anyway, turns out my nfs root was broken; I unpacked the stock 2.0.2 vax
>> binaries and things started working better (I discovered /sbin/init was
>> getting traps... oops).
>>
>> Below is some output;  Now that 2.0.3 is working I'll try the latest and
>> make a patch set.  I found that 2.0.3 boots quicker in sim than 1.6ZL.
>> It will be interesting to see how 4.0 does...
>>
>> I also found that when init makes an mfs /dev it runs out of inodes.
>> Any idea how to fix that?  It's not fatal.
>>
(Continue reading)

Anders Magnusson | 7 Jan 19:02 2009
Picon

Re: netbsd on vax 11/730; booting in sim

Brad Parker wrote:
> Anders Magnusson wrote:
>> Hehe, interesting :-)
>>
>> I might put the dust off an old 11/750 with an RP07 disk and see if
>> it works with 5.0... :-)
> 
>>From what I saw the 750 support should work fine.  Only the 730 code was
> missing.  Certainly with 2.0.3.  I have not tried anything more recent,
> but I will.
> 
> mmm.  an RP07.  Have you spun it up recently?
> 
About a year since last time.  I also have a RP06, but the disk formatter
has some problem and I haven't fixed it yet. Usually connected to a DEC 2020 :-)

The RP07 should not be able to connect to 11/750 due to the high Massbus
data rate, but I have never encountered any problem.

-- Ragge

Matt Fleming | 7 Jan 19:53 2009

Re: netbsd on vax 11/730; booting in sim

On Wed, Jan 07, 2009 at 06:59:49PM +0100, Johnny Billquist wrote:
> Don't bother. 5.0 is broken enough that it don't boot at all on our 8650, 
> and when I tried it on my 4000/90 it just hangs after running build.sh a day 
> or two.
>
> 	Johnny

NetBSD/vax is not currently capable of self-hosting. It doesn't even have
shared library support :-(


Gmane