From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Volker Becker Newsgroups: gmane.os.tru64.managers Subject: [SUMMARY (partial)] Kernel rebuild problems (several CPU type support) - DU 4.0d Date: Wed, 30 Jul 2003 14:18:24 +0200 Organization: DFS Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3F27B790.FCCCB205@eurocontrol.de> References: <4C307772BBA0D511905400508BDFB7AC2108BC@GONT-EXC01> <3F2501E2.CA120FCC@eurocontrol.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1059567793 30661 80.91.224.249 (30 Jul 2003 12:23:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2003 12:23:13 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 30 14:23:05 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19hpv9-0007iD-00 for ; Wed, 30 Jul 2003 14:19:07 +0200 Original-Received: (qmail 18194 invoked by uid 5); 30 Jul 2003 12:19:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18185 invoked by uid 49493); 30 Jul 2003 12:19:06 -0000 Original-Received: from becker@eurocontrol.de by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-1.1/5.0):. Processed in 0.475219 secs); 30 Jul 2003 12:19:06 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 30 Jul 2003 12:19:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIU003987JQ72@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 30 Jul 2003 08:19:04 -0400 (EDT) Original-Received: from s4hdfwww.eurocontrol.de (mailhost.eurocontrol.de [153.98.203.10]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIU005847J9KI@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 30 Jul 2003 08:18:53 -0400 (EDT) Original-Received: from gatekeeper.eurocontrol.de (gate-www [153.98.223.80]) by s4hdfwww.eurocontrol.de (8.11.4/8.11.4) with SMTP id h6UCIUB07954 for ; Wed, 30 Jul 2003 14:18:33 +0200 (MEST) Original-Received: from s4ud5ms2 ([153.98.213.7]) by gatekeeper; Wed, 30 Jul 2003 14:18:28 +0200 (MEST) Original-Received: from eurocontrol.de (becker@s4ec8ry1 [153.98.200.18]) by s4uc8ms2.eurocontrol.de (8.11.4/8.11.4) with ESMTP id h6UCIRn23090 for ; Wed, 30 Jul 2003 14:18:27 +0200 (MEST) Original-To: ALPHA-System-Managers X-Mailer: Mozilla 4.73 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en Xref: main.gmane.org gmane.os.tru64.managers:4991 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4991 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