* Digital UNIX 3.2c kernel memory fault
@ 1995-10-04 4:00 WILLIAMSON
1995-10-08 4:00 ` Dave Cherkus
0 siblings, 1 reply; 3+ messages in thread
From: WILLIAMSON @ 1995-10-04 4:00 UTC (permalink / raw)
Hello all,
I'm at wits end. For the past couple of days I been trying to compile the
kernel for Digital UNIX 3.2c. Compile and instalation seems to work. However,
when the system is booted just after the login prompt the following errorr
message:
trap: invalid memory write access from kernel mode
faulting ...
.
.
panic (cpu 0): kernel memory fault
.
.
.
I'm working on a DECstation 300 model 400, ROM version 6.2.
Any help will be greatly appreciated.
Chatt Williamson
BE-ARL
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Digital UNIX 3.2c kernel memory fault
1995-10-04 4:00 Digital UNIX 3.2c kernel memory fault WILLIAMSON
@ 1995-10-08 4:00 ` Dave Cherkus
1995-10-10 4:00 ` Jonathan B. Craig
0 siblings, 1 reply; 3+ messages in thread
From: Dave Cherkus @ 1995-10-08 4:00 UTC (permalink / raw)
Cc: cwilliam
WILLIAMSON (cwilliam@NMSU.EDU) wrote:
: Hello all,
: I'm at wits end. For the past couple of days I been trying to compile the
: kernel for Digital UNIX 3.2c. Compile and instalation seems to work. However,
: when the system is booted just after the login prompt the following errorr
: message:
: trap: invalid memory write access from kernel mode
: faulting ...
: .
: .
:
: panic (cpu 0): kernel memory fault
: .
: .
: .
This is the kernel using a address that does not point to a valid
location. It's a similar kind of error to a program that gets a
'Segmentation violation: core dumped' message. Since this can happen
in any of a number of different ways, the system can't print out any
more specific information. However, you can boot the system to collect
the crash dump files and get a knowledgable person (i.e. DEC service
or perhaps some net.volunteer) to tell you more. If the system
won't boot because the trap happens during boot, try issuing
'boot -fi genvmunix' from the console >>> prompt. If this doesn't
work, you can use the name of any other kernel you've saved in the
root directory instead of 'genvmunix'. Then, when the system is up,
change directory to /var/adm/crash and look at the newest crash-data.NNN
file. This may at least give a hint of the kernel subsystem that
caused the trap, so you will have more useful input to provide to DEC
service when you call, or to back out any changes you made to the
system configuration that may have reconfigured the system in a way
that causes a trap. There's not that much anyone can do with the
bare information that comes from the trap message; you need to
have at least the crash-data.NNN file available and even better
the vmunix.NNN and vmcore.NNN files. Keep in mind that in most
cases the only way to get a solution is to get DEC service involved.
If you are more curious, you can actually use dbx to examine the
crash file. There are details in the kernel debugging manual in
the DEC documentation set. A short summary follows. Consider the
following example:
|> trap: invalid memory read access from kernel mode
|>
|> faulting virtual address: 0xffffffff84dc7618
|> pc of faulting instruction: 0xfffffc000029c31c
|> ra contents at time of fault: 0xfffffc000029c2ec
|> sp contents at time of fault: 0xffffffff8d90ba38
|>
|> panic: kernel memory fault
Start dbx using the number of the most recent crash dump:
# cd /var/adm/crash
# dbx -k vmunix.NNN vmcore.NNN
When dbx is up, you can look at the trace of the thread causing
the trap:
(dbx) tset active_threads[paniccpu]
(dbx) trace
If this fails, you can look at the instruction active at the time
the trap occurred. Use the 'pc of faulting instruction' line from
the message:
(dbx) 0xfffffc000029c31c/i
The info at the beginning of the line should show you the name
of the routine that was active at the time the trap occurred.
You can look at the parent routine using the 'ra contents' from
the trap message:
(dbx) 0xfffffc000029c2ec/i
--
Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 Performance ISDN
Email: cherkus@UniMaster.COM Tel: (603) 888-8308 Fax: (603) 888-4598
Live Free or Die - New Hampshire has 3 seasons: ice, mud and black fly
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Digital UNIX 3.2c kernel memory fault
1995-10-08 4:00 ` Dave Cherkus
@ 1995-10-10 4:00 ` Jonathan B. Craig
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan B. Craig @ 1995-10-10 4:00 UTC (permalink / raw)
You can also boot the install CD and select Advanced Installation which
will allow you to break out of the CD and mount the Hard Drive.
JON
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-10-10 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-04 4:00 Digital UNIX 3.2c kernel memory fault WILLIAMSON
1995-10-08 4:00 ` Dave Cherkus
1995-10-10 4:00 ` Jonathan B. Craig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox