Subject: the prodigal SE/30 returns! (kernel config question)
To: None <port-mac68k@netbsd.org>
From: David C. Myers <myers@iname.com>
List: port-mac68k
Date: 01/18/2000 21:27:12
Folks:

After five years in the clutches of an ex-girlfriend, my much-loved
SE/30 has returned to me.  Sure, he needed a little touch-up with a
soldering iron, because the CRT's horizontal deflection signal wire had
broken loose.  And there was that piece of thick electrical tape to hold
the last SIMM in place, because its socket got broken.  Oh, and the
punctured speaker cone.  Even so, you'd think he was brand new!  I still
have the receipt, from September of 1989, when he was one of the fastest
Macs around.

Needless to say, I'm very excited.

And confused.  Can anyone tell me why the little guy can't boot from the
following kernel?  NetBSD 1.4.1 gets right up to the point where it says

   no internal video at address 0 -- videoaddr is 0xfee08040

and then freezes.  The GENERICSBC kernel boots just fine.

Many thanks.

(Has anybody successfully put together a cross-compilation environment? 
Hosted from, say, sparc-solaris2.6 or i86-unknown-freebsd3.4? 
Tarballs?)

-David.



include "arch/mac68k/conf/std.mac68k"

maxusers        16              # estimated number of users

# CPU support.  At least one is REQUIRED.
options         M68030

# Standard system options
options         UCONSOLE        # users can use TIOCCONS (for xconsole)
options         KTRACE          # system call tracing via ktrace(1)
options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
options         SYSVSHM         # System V-like memory sharing
#options        SHMMAXPGS=1024  # 1024 pages is the default

options         LKM             # loadable kernel modules

# Diagnostic/debugging support options
options         DIAGNOSTIC      # cheap kernel consistency checks
options         KMEMSTATS       # kernel memory statistics (vmstat -m)
#options        DDB             # in-kernel debugger
#options        DDB_HISTORY_SIZE=100    # enable history editing in DDB

# Compatibility options
#options        COMPAT_NOMID    # compatibility with 386BSD, BSDI,
NetBSD 0.8,
#options        COMPAT_09       # NetBSD 0.9,
#options        COMPAT_10       # NetBSD 1.0,
#options        COMPAT_11       # NetBSD 1.1,
options         COMPAT_12       # NetBSD 1.2,
options         COMPAT_13       # NetBSD 1.3,
options         COMPAT_43       # and 4.3BSD
#options        COMPAT_SUNOS    # compatibility with SunOS 4.x binaries
#options        COMPAT_M68K4K   # compatibility with NetBSD/m68k4k
binaries
#options        COMPAT_LINUX    # compatibility with Linux/m68k binaries
#options        EXEC_ELF32      # 32-bit ELF executables (Linux)

# File systems
file-system     FFS             # UFS
file-system     MFS             # memory file system
file-system     NFS             # Network File System client
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     MSDOSFS         # MS-DOS file system
file-system     FDESC           # /dev/fd
file-system     KERNFS          # /kern
file-system     NULLFS          # loopback file system
file-system     PORTAL          # portal filesystem (still experimental)
file-system     PROCFS          # /proc
file-system     UMAPFS          # NULLFS + uid and gid remapping
file-system     UNION           # union file system

# Networking options
options         INET            # IP + ICMP + TCP + UDP

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options         SCSIVERBOSE     # human readable SCSI error messages

# Mac-specific options
#options        ALTXBUTTONS     # Map Opt-{1,2,3} to mouse buttons
options         GRF_COMPAT      # Include grf compatibility code
#options        MRG_ADB         # Use ROM-based ADB driver


# Kernel root file system and dump configuration.
config          netbsd  root on ? type ?

#
# Device configuration
#

mainbus0 at root
fpu0 at mainbus?                        # Floating-Point Coprocessor
support

# On-board I/O bus support
obio0 at mainbus?

# NuBus support
nubus0 at mainbus?


# Console Devices
# Apple Desktop Bus interface
adb0    at obio?
aed*    at adb?                         # ADB event device
kbd*    at adb?                         # ADB keyboard
ms*     at adb?                         # ADB mouse

# Basic frame buffer support
intvid0 at obio?                        # Internal video hardware
macvid* at nubus?                       # NuBus video card

# Device-independent frame buffer interface
grf*    at intvid?
grf*    at macvid?

# Integrated Terminal Emulator (console) support
ite0    at grf?

# Serial Devices
zsc0    at obio?
zstty*  at zsc? channel ?


# SCSI controllers
# XXX - use only one of ncrscsi or sbc
#ncrscsi0 at obio?                      # SCSI NCR 5380
sbc0    at obio? flags 0x1              # MI SCSI NCR 5380
#esp0   at obio?                        # SCSI NCR 53C9x
#esp1   at obio?                        # SCSI NCR 53C9x

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*     at scsibus? target ? lun ?      # SCSI disk drives
st*     at scsibus? target ? lun ?      # SCSI tape drives
cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
ch*     at scsibus? target ? lun ?      # SCSI autochangers
se*     at scsibus? target ? lun ?      # SCSI ethernet
uk*     at scsibus? target ? lun ?      # SCSI unknown


# Miscellaneous mass storage devices
# IWM floppy disk controller
iwm0    at obio?                        # Sony driver (800K GCR)
fd*     at iwm? drive ?

# Network Interfaces
# On-board Ethernet controllers
ae*     at nubus?                       # DP8390-based

# Audio Devices
# On-board audio hardware
asc0    at obio?                        # ASC/EASC audio

# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device   md              1       # memory disk device (ramdisk)
pseudo-device   vnd             4       # disk-like interface to files

# network pseudo-devices
pseudo-device   loop                    # network loopback

# miscellaneous pseudo-devices
pseudo-device   pty             64      # pseudo-terminals

# rnd is EXPERIMENTAL at this point.
pseudo-device   rnd                     # /dev/random and in-kernel
generator
#options        RND_COM                 # use "com" randomness as well
(BROKEN)