KGDB revision 1.12
11.12Slukem# $NetBSD: KGDB,v 1.12 1997/11/17 01:58:32 lukem Exp $ 21.1Sgwr 31.1Sgwr# 41.4Sthorpej# GENERIC_KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260) 51.9Sgwr# like GENERIC but supports gdb on other machine, i.e.: 61.9Sgwr# % gdb -k netbsd.gdb 71.9Sgwr# (gdb) set remotebaud 19200 81.9Sgwr# (gdb) target remote /dev/ttyb 91.1Sgwr# 101.1Sgwr 111.3Sjtcinclude "arch/sun3/conf/std.sun3" 121.1Sgwr 131.1Sgwr# Machines to be supported by this kernel 141.1Sgwroptions FPU_EMULATE 151.1Sgwroptions HAVECACHE # Sun3/260 VAC 161.1Sgwr 171.1Sgwr# Needs to be set per system. i.e change these as you see fit 181.1Sgwrmaxusers 4 191.1Sgwr 201.1Sgwr# Standard system options 211.5Sgwroptions KTRACE # system call tracing support 221.4Sthorpej 231.4Sthorpej# Debugging options. Uncomment either this: 241.4Sthorpej#options DDB 251.9Sgwr# ... or these for KGDB (gdb remote target) 261.9Sgwrmakeoptions DEBUG="-g" # debugging symbols for gdb 271.1Sgwroptions KGDB 281.9Sgwroptions KGDBDEV=0x0C01 291.12Slukem 301.12Slukem# Other debugging options 311.12Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 321.1Sgwr 331.1Sgwr# Filesystem options 341.11Slukemfile-system FFS # ufs file system 351.11Slukemfile-system NFS # nfs client support 361.11Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 371.11Slukemfile-system FDESC # /dev/fd/* 381.11Slukemfile-system KERNFS # /kern 391.11Slukemfile-system NULLFS # loopback file system 401.11Slukemfile-system PROCFS # /proc 411.11Slukemfile-system UNION # union file system 421.11Slukemfile-system MFS # memory-based filesystem 431.8Sthorpej 441.4Sthorpejoptions NFSSERVER # nfs server support 451.1Sgwroptions FIFO # FIFOs; RECOMMENDED 461.1Sgwr 471.1Sgwr# Networking options 481.4Sthorpejoptions INET # IP prototol stack support 491.11Slukem#options GATEWAY # IP packet forwarding 501.4Sthorpejoptions TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD 511.10Sgwr# XXX - Work-around for root on slow servers (insurance...) 521.1Sgwroptions NFS_BOOT_RWSIZE=1024 531.1Sgwr 541.1Sgwr# Compatability options 551.1Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 561.4Sthorpejoptions COMPAT_43 # and 4.3BSD and ... 571.4Sthorpejoptions COMPAT_10 # NetBSD 1.0 581.4Sthorpejoptions COMPAT_11 # NetBSD 1.1 591.4Sthorpejoptions COMPAT_12 # NetBSD 1.2 601.1Sgwroptions UCONSOLE # Allow non-root TIOCCONS 611.1Sgwr 621.1Sgwr# Sun3-specific debugging options 631.10Sgwr#options PMAP_DEBUG 641.1Sgwr#options VMFAULT_TRACE 651.1Sgwr#options SYSCALL_DEBUG 661.1Sgwr#options EXEC_DEBUG 671.1Sgwroptions DIAGNOSTIC 681.1Sgwr#options SCSIDEBUG 691.1Sgwr 701.8Sthorpejconfig netbsd root on ? type ? 711.1Sgwr 721.1Sgwr# 731.1Sgwr# Serial ports 741.1Sgwr# 751.11Slukemzstty0 at zsc1 channel 0 # ttya 761.11Slukemzstty1 at zsc1 channel 1 # ttyb 771.1Sgwr 781.11Slukemkbd0 at zsc0 channel 0 # keyboard 791.11Slukemms0 at zsc0 channel 1 # mouse 801.1Sgwr 811.1Sgwr# 821.1Sgwr# Network devices 831.1Sgwr# 841.1Sgwr 851.1Sgwr# Intel Ethernet (onboard, or VME) 861.9Sgwrie0 at obio0 addr 0x0C0000 level 3 871.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75 881.1Sgwr 891.1Sgwr# Lance Ethernet (only onboard) 901.9Sgwrle0 at obio0 addr 0x120000 level 3 911.1Sgwr 921.1Sgwr# 931.1Sgwr# Disk and tape devices 941.1Sgwr# 951.1Sgwr 961.1Sgwr# Sun3 "si" SCSI controller (NCR 5380) 971.9Sgwrsi0 at obio0 addr 0x140000 level 2 981.1Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40 991.1Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41 1001.1Sgwr 1011.10Sgwr# Xylogics 450/451 controllers 1021.10Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48 1031.10Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49 1041.10Sgwr# Just wire-down the units so bootdev match is easy. 1051.10Sgwr# xy0 at xyc0 drive 0 1061.10Sgwr# xy1 at xyc0 drive 1 1071.10Sgwr# xy2 at xyc1 drive 0 1081.10Sgwr# xy3 at xyc1 drive 1 1091.10Sgwr 1101.1Sgwr# Xylogics 7053 controllers 1111.1Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44 1121.1Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45 1131.10Sgwr# Just wire-down the units so bootdev match is easy. 1141.10Sgwr# xd0 at xdc0 drive 0 1151.10Sgwr# xd1 at xdc0 drive 1 1161.10Sgwr# xd2 at xdc1 drive 0 1171.10Sgwr# xd3 at xdc1 drive 1 1181.1Sgwr 1191.1Sgwr# Xylogics 472 tape controllers? 1201.1Sgwr 1211.1Sgwr# 1221.1Sgwr# Frame buffer devices 1231.1Sgwr# 1241.1Sgwr 1251.1Sgwr# The default cgfour address depends on the machine: 1261.1Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff 1271.1Sgwr# 3/110: different? (not tested) 1281.1Sgwrcgfour0 at obmem0 addr ? 1291.1Sgwr 1301.1Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1311.1Sgwr# cgsix0 at obmem0 addr ? 1321.1Sgwr 1331.1Sgwr# 3/60 P4 24-bit color frame buffer 1341.1Sgwr# cgeight0 at obmem0 addr ? 1351.1Sgwr 1361.1Sgwr# The default bwtwo address depends on the machine: 1371.1Sgwr# 3/50: obmem 0x100000 1381.1Sgwr# else: obmem 0xff000000 1391.1Sgwrbwtwo0 at obmem0 addr ? 1401.1Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer 1411.1Sgwr#bwtwo1 at obmem0 addr 0xff300000 1421.1Sgwr# 3/60 plug-in color frame buffer overlay plane 1431.1Sgwr#bwtwo1 at obmem0 addr 0xff400000 1441.1Sgwr 1451.1Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer. 1461.1Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8 1471.1Sgwr 1481.1Sgwr# Support for the CG9 24-bit VME frame buffer. 1491.1Sgwr# cgnine0 at vmel0 addr 0x08000000 1501.1Sgwr 1511.1Sgwr# 1521.1Sgwr# SCSI infrastructure 1531.1Sgwr# 1541.1Sgwrscsibus* at scsi? 1551.1Sgwr 1561.10Sgwrsd* at scsibus? target ? lun ? # SCSI disks 1571.10Sgwrst* at scsibus? target ? lun ? # SCSI tapes 1581.10Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 1591.10Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 1601.10Sgwrss* at scsibus? target ? lun ? # SCSI scanners 1611.10Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 1621.1Sgwr 1631.6Spk# Memory-disk drivers 1641.11Slukempseudo-device md 2 1651.1Sgwr 1661.1Sgwr# Misc. 1671.11Slukempseudo-device loop 1 # network loopback 1681.11Slukempseudo-device bpfilter 8 # packet filter 1691.11Slukempseudo-device sl 2 # CSLIP 1701.11Slukempseudo-device ppp 2 # PPP 1711.11Slukempseudo-device tun 2 # network tunneling over tty 1721.10Sgwr#pseudo-device ipfilter # ip filter 1731.1Sgwr 1741.11Slukempseudo-device pty 64 # pseudo-terminals 1751.11Slukem#pseudo-device vnd 4 # paging to files 1761.11Slukem#pseudo-device ccd 4 # concatenated disks 177