KGDB revision 1.20.2.2 1 1.20.2.2 gwr # $NetBSD: KGDB,v 1.20.2.2 1999/04/08 07:00:59 gwr Exp $
2 1.20.2.2 gwr
3 1.20.2.2 gwr # KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
4 1.20.2.2 gwr # like GENERIC but supports gdb on other machine, i.e.:
5 1.20.2.2 gwr # % gdb -k netbsd.gdb
6 1.20.2.2 gwr # (gdb) set remotebaud 19200
7 1.20.2.2 gwr # (gdb) target remote /dev/ttyb
8 1.20.2.2 gwr
9 1.20.2.2 gwr include "arch/sun3/conf/std.sun3"
10 1.20.2.2 gwr
11 1.20.2.2 gwr # Machines to be supported by this kernel
12 1.20.2.2 gwr options FPU_EMULATE
13 1.20.2.2 gwr options HAVECACHE # Sun3/260 VAC
14 1.20.2.2 gwr
15 1.20.2.2 gwr # Needs to be set per system. i.e change these as you see fit
16 1.20.2.2 gwr maxusers 4
17 1.20.2.2 gwr
18 1.20.2.2 gwr # Standard system options
19 1.20.2.2 gwr options KTRACE # system call tracing
20 1.20.2.2 gwr options SYSVMSG # System V message queues
21 1.20.2.2 gwr options SYSVSEM # System V semaphores
22 1.20.2.2 gwr options SYSVSHM # System V shared memory
23 1.20.2.2 gwr #options SHMMAXPGS=1024 # 1024 pages is the default
24 1.20.2.2 gwr #options LKM # loadable kernel modules
25 1.20.2.2 gwr #options INSECURE # disable kernel security level
26 1.20.2.2 gwr #options UCONSOLE # Allow non-root TIOCCONS
27 1.20.2.2 gwr
28 1.20.2.2 gwr # Which kernel debugger? Uncomment either this:
29 1.20.2.2 gwr #options DDB
30 1.20.2.2 gwr # ... or these for KGDB (gdb remote target)
31 1.20.2.2 gwr makeoptions DEBUG="-g" # debugging symbols for gdb
32 1.20.2.2 gwr options KGDB
33 1.20.2.2 gwr options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01
34 1.20.2.2 gwr
35 1.20.2.2 gwr # Other debugging options
36 1.20.2.2 gwr #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
37 1.20.2.2 gwr options DEBUG # kernel debugging code
38 1.20.2.2 gwr options DIAGNOSTIC # extra kernel sanity checking
39 1.20.2.2 gwr #options KMEMSTATS # kernel memory statistics (vmstat -m)
40 1.20.2.2 gwr #options PMAP_DEBUG
41 1.20.2.2 gwr #options SCSIDEBUG
42 1.20.2.2 gwr #options SCSIVERBOSE # Verbose SCSI errors
43 1.20.2.2 gwr
44 1.20.2.2 gwr # Compatability options
45 1.20.2.2 gwr options COMPAT_SUNOS # can run SunOS 4.1.1 executables
46 1.20.2.2 gwr options COMPAT_43 # and 4.3BSD and ...
47 1.20.2.2 gwr options COMPAT_10 # NetBSD 1.0
48 1.20.2.2 gwr options COMPAT_11 # NetBSD 1.1
49 1.20.2.2 gwr options COMPAT_12 # NetBSD 1.2
50 1.20.2.2 gwr options COMPAT_13 # NetBSD 1.3
51 1.20.2.2 gwr #options COMPAT_LINUX # can run Linux/m68k executables
52 1.20.2.2 gwr #options EXEC_ELF32 # 32-bit ELF executables (Linux)
53 1.20.2.2 gwr
54 1.20.2.2 gwr # Filesystem options
55 1.20.2.2 gwr file-system FFS # Berkeley Fast Filesystem
56 1.20.2.2 gwr file-system NFS # Sun NFS client support
57 1.20.2.2 gwr file-system CD9660 # ISO 9660 + Rock Ridge file system
58 1.20.2.2 gwr file-system FDESC # /dev/fd/*
59 1.20.2.2 gwr file-system KERNFS # /kern
60 1.20.2.2 gwr file-system NULLFS # loopback file system
61 1.20.2.2 gwr file-system PROCFS # /proc
62 1.20.2.2 gwr file-system UNION # union file system
63 1.20.2.2 gwr file-system MFS # memory-based filesystem
64 1.20.2.2 gwr
65 1.20.2.2 gwr options NFSSERVER # nfs server support
66 1.20.2.2 gwr options QUOTA # FFS quotas
67 1.20.2.2 gwr #options FFS_EI # FFS Endian Independant support
68 1.20.2.2 gwr
69 1.20.2.2 gwr # Networking options
70 1.20.2.2 gwr options INET # IP prototol stack support
71 1.20.2.2 gwr options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
72 1.20.2.2 gwr #options GATEWAY # IP packet forwarding
73 1.20.2.2 gwr #options ISO,TPIP # OSI networking
74 1.20.2.2 gwr #options EON # OSI tunneling over IP
75 1.20.2.2 gwr #options CCITT,LLC,HDLC # X.25
76 1.20.2.2 gwr #options PFIL_HOOKS # pfil(9) packet filter hooks.
77 1.20.2.2 gwr
78 1.20.2.2 gwr # Work-around for root on slow servers (insurance...)
79 1.20.2.2 gwr options NFS_BOOT_RWSIZE=1024
80 1.20.2.2 gwr options NFS_BOOT_BOOTPARAM
81 1.20.2.2 gwr
82 1.20.2.2 gwr config netbsd root on ? type ?
83 1.20.2.2 gwr
84 1.20.2.2 gwr # On-board I/O space (required)
85 1.20.2.2 gwr include "arch/sun3/conf/obio.sun3"
86 1.20.2.2 gwr
87 1.20.2.2 gwr # On-board memory (optional)
88 1.20.2.2 gwr # See frame-buffers
89 1.20.2.2 gwr obmem0 at mainbus?
90 1.20.2.2 gwr
91 1.20.2.2 gwr # VME bus support (optional)
92 1.20.2.2 gwr # One unit for each address space
93 1.20.2.2 gwr vme0 at mainbus? # A16/D16
94 1.20.2.2 gwr vme1 at mainbus? # A16/D32
95 1.20.2.2 gwr vme2 at mainbus? # A24/D16
96 1.20.2.2 gwr vme3 at mainbus? # A24/D32
97 1.20.2.2 gwr vme4 at mainbus? # A32/D16
98 1.20.2.2 gwr vme5 at mainbus? # A32/D32
99 1.20.2.2 gwr
100 1.20.2.2 gwr #
101 1.20.2.2 gwr # Serial ports
102 1.20.2.2 gwr #
103 1.20.2.2 gwr zstty0 at zsc1 channel 0 # ttya
104 1.20.2.2 gwr zstty1 at zsc1 channel 1 # ttyb
105 1.20.2.2 gwr
106 1.20.2.2 gwr kbd0 at zsc0 channel 0 # keyboard
107 1.20.2.2 gwr ms0 at zsc0 channel 1 # mouse
108 1.20.2.2 gwr
109 1.20.2.2 gwr #
110 1.20.2.2 gwr # Network devices
111 1.20.2.2 gwr #
112 1.20.2.2 gwr
113 1.20.2.2 gwr # Intel Ethernet (onboard, or VME)
114 1.20.2.2 gwr ie0 at obio0 addr 0x0C0000 ipl 3
115 1.20.2.2 gwr ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
116 1.20.2.2 gwr
117 1.20.2.2 gwr # Lance Ethernet (only onboard)
118 1.20.2.2 gwr le0 at obio0 addr 0x120000 ipl 3
119 1.20.2.2 gwr
120 1.20.2.2 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be
121 1.20.2.2 gwr # presumed to have the old, buggy LANCE chip. (Rev. C)
122 1.20.2.2 gwr options LANCE_REVC_BUG
123 1.20.2.2 gwr
124 1.20.2.2 gwr #
125 1.20.2.2 gwr # Disk and tape devices
126 1.20.2.2 gwr #
127 1.20.2.2 gwr
128 1.20.2.2 gwr # Sun3 "si" SCSI controller (NCR 5380)
129 1.20.2.2 gwr # See GENERIC for the flags description.
130 1.20.2.2 gwr si0 at obio0 addr 0x140000 ipl 2
131 1.20.2.2 gwr si0 at vme2 addr 0x200000 ipl 2 vect 0x40
132 1.20.2.2 gwr si1 at vme2 addr 0x204000 ipl 2 vect 0x41
133 1.20.2.2 gwr
134 1.20.2.2 gwr # Xylogics 450/451 controllers (VME A16/D16)
135 1.20.2.2 gwr xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
136 1.20.2.2 gwr xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
137 1.20.2.2 gwr xy* at xyc? drive ?
138 1.20.2.2 gwr
139 1.20.2.2 gwr # Xylogics 7053 controllers (VME A16/D32)
140 1.20.2.2 gwr xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
141 1.20.2.2 gwr xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
142 1.20.2.2 gwr xd* at xdc? drive ?
143 1.20.2.2 gwr
144 1.20.2.2 gwr # Xylogics 472 tape controllers?
145 1.20.2.2 gwr
146 1.20.2.2 gwr # Sun3/E SCSI+Ethernet board (VME A24/D16)
147 1.20.2.2 gwr # Note: the board uses vect and vect+1
148 1.20.2.2 gwr sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
149 1.20.2.2 gwr sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
150 1.20.2.2 gwr si* at sebuf?
151 1.20.2.2 gwr ie* at sebuf?
152 1.20.2.2 gwr
153 1.20.2.2 gwr #
154 1.20.2.2 gwr # Frame buffer devices
155 1.20.2.2 gwr #
156 1.20.2.2 gwr
157 1.20.2.2 gwr include "arch/sun3/conf/bw2.sun3"
158 1.20.2.2 gwr include "arch/sun3/conf/cg4.sun3"
159 1.20.2.2 gwr
160 1.20.2.2 gwr # 3/60 P4 accelerated 8-bit color frame buffer
161 1.20.2.2 gwr # cgsix0 at obmem0 addr 0xff000000
162 1.20.2.2 gwr
163 1.20.2.2 gwr # 3/60 P4 24-bit color frame buffer
164 1.20.2.2 gwr # cgeight0 at obmem0 addr 0xff300000
165 1.20.2.2 gwr
166 1.20.2.2 gwr # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
167 1.20.2.2 gwr cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
168 1.20.2.2 gwr
169 1.20.2.2 gwr # Support for the CG9 24-bit frame buffer (VME A32/D32).
170 1.20.2.2 gwr # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
171 1.20.2.2 gwr
172 1.20.2.2 gwr #
173 1.20.2.2 gwr # SCSI infrastructure
174 1.20.2.2 gwr #
175 1.20.2.2 gwr scsibus* at scsi?
176 1.20.2.2 gwr
177 1.20.2.2 gwr sd* at scsibus? target ? lun ? # SCSI disks
178 1.20.2.2 gwr st* at scsibus? target ? lun ? # SCSI tapes
179 1.20.2.2 gwr cd* at scsibus? target ? lun ? # SCSI CD-ROMs
180 1.20.2.2 gwr ch* at scsibus? target ? lun ? # SCSI changer devices
181 1.20.2.2 gwr ss* at scsibus? target ? lun ? # SCSI scanners
182 1.20.2.2 gwr uk* at scsibus? target ? lun ? # unknown SCSI devices
183 1.20.2.2 gwr
184 1.20.2.2 gwr # Memory-disk drivers
185 1.20.2.2 gwr pseudo-device md 2
186 1.20.2.2 gwr
187 1.20.2.2 gwr # Misc.
188 1.20.2.2 gwr pseudo-device loop 1 # network loopback
189 1.20.2.2 gwr pseudo-device bpfilter 8 # packet filter
190 1.20.2.2 gwr pseudo-device sl 2 # CSLIP
191 1.20.2.2 gwr pseudo-device ppp 2 # PPP
192 1.20.2.2 gwr pseudo-device tun 2 # network tunneling over tty
193 1.20.2.2 gwr #pseudo-device gre 2 # generic L3 over IP tunnel
194 1.20.2.2 gwr #pseudo-device ipfilter # ip filter
195 1.20.2.2 gwr # rnd is EXPERIMENTAL
196 1.20.2.2 gwr #pseudo-device rnd # /dev/random and in-kernel generator
197 1.20.2.2 gwr
198 1.20.2.2 gwr pseudo-device pty 32 # pseudo-terminals
199 1.20.2.2 gwr #pseudo-device vnd 4 # paging to files
200 1.20.2.2 gwr #pseudo-device ccd 4 # concatenated disks
201 1.20.2.2 gwr #pseudo-device raid 4 # RAIDframe disk driver
202