Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: dik_show_code: what is it??
@ 1999-07-09 10:34 Paul Jakma
  1999-07-11 20:29 ` Richard Henderson
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Jakma @ 1999-07-09 10:34 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

	> Jul  7 20:05:40 fogarty kernel: Code: 00000000  00001111  00003238
	> modprobe: Exception at [dik_show_code+68/192] (fffffc00003110a8)

	It's not dik_show_code that's troubled, it's just reporting that
	it can't dump the code at 0.  Whatever came before truely horked.
	The register dump is not believable -- I think things are so bad
	off we somehow couldn't even find the right data to dump.

ok. that's weird. One more point: the alpha logs everything to an intel
machine. But that shouldn't make a difference should it? syslog on the alpha
decodes the oops before sending to the remote host, right?

	> The oops seems to happens just after cdrecord opens
/dev/sg/c0b0t3u0.
	> This sets off a modprobe (cause of devfs) for what module i don't
	> know - maybe none, which causes the segfault in dik_show_code. 

	Build a new kernel without modules and see if by chance the
	problem is solved.  At which point, add modules back in until
	things fail again.

How architecture specific is the module handling code? Cause i have an intel
machine running a kernel/modules from the exact same source tree without
problems.

I'll try your suggestions when i get home and let you know.

Cheers,

Paul Jakma.
paul@clubi.ie
paul.jakma@digital.com
paul.jakma@compaq.com



^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: dik_show_code: what is it??
@ 1999-07-09  9:02 Paul Jakma
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Jakma @ 1999-07-09  9:02 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

i did a find ... grep of arch/alpha and when i saw that dik_show_code
printed out all the registers i realised i was in trouble.

I posted two oops to the list. Do you have any idea what could be causing
it?
Unfortunately the oops isn't very complete as it actually seems to oops'ing
in the code responsible for printing out the relevant oops info... :( (how
can that happen?)

You say "already mostly dead.": the machine is still running perfectly! the
only thing that happens is that the calling process, cdrecord, segfaults
with a ENOMEM. And modprobe Oopses if sg is a module. (see my other post
"Alpha oops in modprobe - devfs related?"). 

I really want to try and figure this one out as i really want to cdrecord
working on my new Yamaha cd-rw.. both cdrecord-1.6 and 1.8 segfault with a
memory allocation error. i fiddled furiously with ulimit and set cdrecord's
buffer size to 0 - no difference.

Do you have any suggestions/ideas as to what i can do to get it to work, or
to get more debugging info? The modprobe oops makes me suspect it might be
to do with devfs, but devfs has worked reliably for me on intel since i
started using it circa january, and havn't had any problems so far with it
on Alpha (~2/3 months). Or perhaps it's a bug in Alpha module handling?

thanks,

Paul Jakma.
paul@clubi.ie
paul.jakma@digital.com
paul.jakma@compaq.com



> ----------
> From: 	Richard Henderson[SMTP:rth@twiddle.net]
> Reply To: 	axp-list@redhat.com
> Sent: 	09 July 1999 08:58
> To: 	axp-list@redhat.com
> Subject: 	Re: dik_show_code: what is it??
> 
> On Wed, Jul 07, 1999 at 08:10:27PM +0100, Paul Jakma wrote:
> > fffffc0000310ea0 t dik_show_regs
> > fffffc0000311060 t dik_show_code
> > fffffc0000311120 t dik_show_trace
> > 
> > They're not in any of my i386 kernels. What are they, and do they
> > have be compiled in? Cause cdrecord triggers an Oops in them whenever
> > i run it.
> 
> The dik_* functions are part of die_if_kernel.  If you've 
> gotten there, you're already mostly dead.
> 
> 
> r~
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread
* dik_show_code: what is it??
@ 1999-07-07 19:10 Paul Jakma
  1999-07-07 19:47 ` Paul Jakma
  1999-07-09  7:58 ` Richard Henderson
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Jakma @ 1999-07-07 19:10 UTC (permalink / raw)
  To: RedHat Alpha List

I have the following symbols in the System.map's of my alpha kernels:

[root@fogarty /boot]# grep dik_show System.map-2.2.11 
fffffc0000310ea0 t dik_show_regs
fffffc0000311060 t dik_show_code
fffffc0000311120 t dik_show_trace

They're not in any of my i386 kernels. What are they, and do they
have be compiled in? Cause cdrecord triggers an Oops in them whenever
i run it.

ta,
-- 
Paul Jakma
paul@clubi.ie	http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
Support bacteria -- it's the only culture some people have!


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1999-07-11 22:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-09 10:34 dik_show_code: what is it?? Paul Jakma
1999-07-11 20:29 ` Richard Henderson
1999-07-11 22:28   ` Paul Jakma
  -- strict thread matches above, loose matches on Subject: below --
1999-07-09  9:02 Paul Jakma
1999-07-07 19:10 Paul Jakma
1999-07-07 19:47 ` Paul Jakma
1999-07-09  8:06   ` Richard Henderson
1999-07-10 21:10     ` Paul Jakma
1999-07-09  7:58 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox