Subject: Re: Building a 1.0 kernel for a 345
To: Eduardo E. Horvath eeh@btr.com <eeh@btr.btr.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 06/28/1995 11:14:10
On Wed, 28 Jun 1995 10:00:16 -0700 (PDT)
"Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com> wrote:
> 1) I have been trying to build a new kernel for an hp-9000/345. The new
> kernel boots, but as soon as I go into multi-user mode I get a panic
> (single-user mode seems to work fine). I'm using the 1.0 distribution,
> and I tried several levels of customization, from GENERIC with kgdb
> disabled to just the devices listed in the autoconfig log from the
> INSTALL kernel. Nothing seems to work.
What's the panic?
It's worthy to note the that hp300's GENERIC kernel config file Doesn't
Work.
> 2) What is the config file used to build the INSTALL kernel, and why
> isn't it with the source distribution?
The source distribution was frozen by the time I did that distribution.
GENERIC didn't work, so I had to use _something_. Attached below is
basically the config used for the 1.0 distribution.
> 3) The hpux-compat option seems to depend on a non-existant file called
> kern/exec_hpux.c. Where can it be found?
It's also worth noting that COMPAT_HPUX doesn't work.
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939
-----cut here-----
#
# Install with me. Basically, a working `generic' kernel.
#
# $Id: INSTALL,v 1.9 1995/05/05 17:56:27 thorpej Exp $
#
machine "hp300"
cpu "HP320"
cpu "HP330" # includes 318, 319
cpu "HP340"
cpu "HP350"
cpu "HP360"
cpu "HP370"
cpu "HP375" # includes 345, 400t, 400s
cpu "HP380" # includes 425t, 425s, 433s
ident INSTALL
# Need to set locally
timezone 8 dst
maxusers 16
# Standard system options
options SWAPPAGER # swap pager (anonymous and swap space)
options VNODEPAGER # vnode pager (mapped files)
options DEVPAGER # device pager (mapped devices)
options "COMPAT_43" # compatibility with 4.3BSD interfaces
options "COMPAT_44" # compatibility with 4.4BSD binaries
options "COMPAT_09" # compatibility with NetBSD 0.9
options SYSVSHM # System V shared memory
options SYSVSEM # System V semaphores
options SYSVMSG # System V message queues
options KTRACE # system call tracing support
options "NKMEMCLUSTERS=1024" # 4K pages in kernel malloc pool
# Filesystem options
options FIFO # POSIX fifo support (in all filesystems)
options FFS,QUOTA # fast filesystem with user and group quotas
options "CD9660" # CD-ROM ISO-9660 filesystem
options NFSCLIENT # Sun NFS-compatible client
options UNION # Union filesystem (req. for FDESC)
options KERNFS # kernel data-structure filesystem
options FDESC # user file descriptor filesystem
options PROCFS # /proc filesystem
# Networking options
options INET # Internet protocols
options "TCP_COMPAT_42" # compatibility with 4.2BSD TCP/IP
# Options for HP hardware
options FPSP # floating point interface for 68040
options USELEDS # make the lights twinkle
options COMPAT_NOLABEL # defaults for unlabeled disks
# Debugging options
options DDB # Kernel Dynamic Debugger
options GENERIC
config netbsd swap generic
master hpib0 at scode7
master hpib1 at scode?
master hpib2 at scode?
master hpib3 at scode?
disk rd0 at hpib? slave ?
disk rd1 at hpib? slave ?
disk rd2 at hpib? slave ?
disk rd3 at hpib? slave ?
disk rd4 at hpib? slave ?
disk rd5 at hpib? slave ?
disk rd6 at hpib? slave ?
tape ct0 at hpib0 slave ?
tape ct1 at hpib0 slave ? flags 1
device ppi0 at hpib0 slave 5
master scsi0 at scode?
master scsi1 at scode?
master scsi2 at scode?
master scsi3 at scode?
disk sd0 at scsi? slave ?
disk sd1 at scsi? slave ?
disk sd2 at scsi? slave ?
disk sd3 at scsi? slave ?
disk sd4 at scsi? slave ?
disk sd5 at scsi? slave ?
disk sd6 at scsi? slave ?
disk sd7 at scsi? slave ?
disk sd8 at scsi? slave ?
disk sd9 at scsi? slave ?
tape st0 at scsi? slave ?
tape st1 at scsi? slave ?
device dca0 at scode9 flags 1
device dcm0 at scode? flags 0xe
device dcm1 at scode? flags 0xe
device le0 at scode?
device grf0 at scode?
pseudo-device pty 128 # pseudo ptys
pseudo-device sl 4 # SLIP network interfaces
pseudo-device ppp 4 # PPP network interfaces
pseudo-device ite # terminal emulation on grf
pseudo-device loop # loopback network interface
pseudo-device ether # basic ethernet support