linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Numbering of system calls
  2001-10-11  7:08 ` Frederic Soulier
@ 2001-10-11  2:09   ` ashish anand
  0 siblings, 0 replies; 4+ messages in thread
From: ashish anand @ 2001-10-11  2:09 UTC (permalink / raw)
  To: Frederic Soulier, linuxppc-embedded


look in /usr/src/linux/arch/ppc/kernel/misc.S for syscall numbering...
syscall no. 4 is write -> sys_write


Frederic Soulier wrote:
>
> > Kernel crashes and, among other things, it shows "Last syscall: 4".
> > How can I relate that to actual syscall being executed?
>
> The last syscall message is about the

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Numbering of system calls
@ 2001-10-11  6:52 Rudolf Ladyzhenskii
  2001-10-11  7:08 ` Frederic Soulier
  2001-10-11  7:19 ` Frederic Soulier
  0 siblings, 2 replies; 4+ messages in thread
From: Rudolf Ladyzhenskii @ 2001-10-11  6:52 UTC (permalink / raw)
  To: PPC-Linux list (E-mail)


Hi, all

Kernel crashes and, among other things, it shows "Last syscall: 4".
How can I relate that to actual syscall being executed?

Thanks,

/************************/
Rudolf Ladyzhenskii
Senior DSP Engineer
Advanced Communication Technologies
ph.  +61 3 8080 8215
fax. +61 3 9672 8800
Level 9, 190 Queen Street,
Melbourne, 3000
Australia
/***********************/


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Numbering of system calls
  2001-10-11  6:52 Numbering of system calls Rudolf Ladyzhenskii
@ 2001-10-11  7:08 ` Frederic Soulier
  2001-10-11  2:09   ` ashish anand
  2001-10-11  7:19 ` Frederic Soulier
  1 sibling, 1 reply; 4+ messages in thread
From: Frederic Soulier @ 2001-10-11  7:08 UTC (permalink / raw)
  To: Rudolf Ladyzhenskii, PPC-Linux list (E-mail)


> Kernel crashes and, among other things, it shows "Last syscall: 4".
> How can I relate that to actual syscall being executed?

The last syscall message is about the



---
     Frederic Soulier    -    Aztec Radiomedia  /  Digigram Europe
  31, rue du chemin de fer,  F-67087 Strasbourg Cedex 2, France
   Phone : +33 (0) 3 88 30 90 90  /  Fax : +33 (0) 3 88 30 90 99
                     Web site : http://www.digigram.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Numbering of system calls
  2001-10-11  6:52 Numbering of system calls Rudolf Ladyzhenskii
  2001-10-11  7:08 ` Frederic Soulier
@ 2001-10-11  7:19 ` Frederic Soulier
  1 sibling, 0 replies; 4+ messages in thread
From: Frederic Soulier @ 2001-10-11  7:19 UTC (permalink / raw)
  To: Rudolf Ladyzhenskii, PPC-Linux list (E-mail)


Sorry for my last "very interesting" message...

> Kernel crashes and, among other things, it shows "Last syscall: 4".
> How can I relate that to actual syscall being executed?

This is related to the last syscall executed by the current thread.
Have a look at $KERNELDIR/arch/ppc/kernel/process.c

For the corresponding system call you should look at the
$KERNELDIR/include/asm-ppc/unistd.h (or $KERNELDIR/arch/ppc/kernel/misc.S),
the 4th syscall is "write".

Regards,

Fred

---
     Frederic Soulier    -    Aztec Radiomedia  /  Digigram Europe
  31, rue du chemin de fer,  F-67087 Strasbourg Cedex 2, France
   Phone : +33 (0) 3 88 30 90 90  /  Fax : +33 (0) 3 88 30 90 99
                     Web site : http://www.digigram.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-10-11  7:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-11  6:52 Numbering of system calls Rudolf Ladyzhenskii
2001-10-11  7:08 ` Frederic Soulier
2001-10-11  2:09   ` ashish anand
2001-10-11  7:19 ` Frederic Soulier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).