[SUMMARY (partial)] Kernel rebuild problems (several CPU type support) - DU 4.0d

From: Volker Becker (becker@eurocontrol.de)
Date: Wed Jul 30 2003 - 08:18:24 EDT


Hi again,

unfortunately I didn't get a lot of input on this question.

However, working my way down from the GENERIC kernel (which I was able
to compile after removing some lta* ATM controllers) I found out
that I had to add a "DECAXPPCI_33" configuration in order to get rid
of the 'io_blockread/write' errors.

To sum it up, after a plain doconfig I had to add the following lines
in order to compile a kernel which runs fine on our DEC 300 and 600:

> options MULTI_PLATFORM
> cpu "DEC3000_300"
> cpu "DEC3000_500"
> # REMARK: STUFF WE SHOULD NOT NEED BUT IS REQUIRED FOR DECAXPPCI_33
> cpu "DECAXPPCI_33"
> # Primary PCI Bus adapters
> bus pci0 at *
> callout after_c "../bin/mkdata pci"
> # Isa bus
> bus isa0 at pci0
> callout after_c "../bin/mkdata isa"
> # Terminal devices
> controller ace0 at * slot ? vector aceintr
> # PC mouse/kybd:
> controller gpc0 at * vector gpcintr
> # REMARK: END OF THAT STUFF

Why this is required remains a mystery for me - but as long as it works
...

Regards,
Volker Becker

Original question was:

> we're running a Digital Unix 4.0d legacy system (with PK #3) on DEC
> 3000/300. However,
> due to missing spare parts, we'll have to upgrade some machines to DEC
> 3000/600.
>
> Furthermore, we're using a specifically tailored OS in order to provide
> a dual boot
> solution on a single hard disk and OS image downloads.
>
> That's why I have to create an OS image which should run on the DEC 300
> and 600 without
> modifications.
>
> Now I've tried to rebuild the kernel on a DEC 3000/600 - a plain
> doconfig works, but so
> far I couldn't create a kernel which supports both types of CPU:
>
> 1. just adding cpu "DEC3000_500" to the original DEC 300 config file
> causes various 'multiply defined' error messages
>
> 2. merging a working config file for the DEC 3000/300 and the DEC
> 3000/600 provides the
> same error messages.
>
> 3. After adding 'options MULTI_PLATFORM' doconfig complains about
> undefined 'io_blockread'/
> 'io_blockwrite'
>
> 4. Rebuilding a generic kernel via 'GENERIC' config file also failed -
> doconfig complains
> about some ATM/otto stuff (although ATM is commented out in the
> config file)
>
> Unfortunately a google research provided no further hints, the DEC Guide
> to System Administration
> also did not reveal a solution (or I missed it :-( ).
>
> The question is: How do I do this and which options do I have to include
> in the configuration file?
>
> Thanx in advance for any hints (or even solutions),
>
> Volker Becker



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:29 EDT