what is 'protection fault' and 'system calls' ?

what is 'protection fault' and 'system calls' ?

Post by noh jin so » Tue, 02 Sep 1997 04:00:00



hi thanks for reading this message.

I use sco 3.2v4.2.
when I type 'vmstst -s' response is like this.

# vmstat -s

  102400 free swap space
  179607 demand zero and demand fill pages
       0 pages on swap
  194531 pages in cache
   57276 pages on file
  422613 protection fault
       0 pages are freed
       0 success in swapping out a process
       0 fail in swapping in a process
       0 success in swapping in a process
       0 swapping out a region
       0 swapping in a region
 7722659 cpu context switches
407463567 system calls

what is protection fault and system calls?
can protection fault and system calls causes panic?
I got panic irregulary.
Somebody help me out!

 
 
 

what is 'protection fault' and 'system calls' ?

Post by Bela Lubki » Tue, 02 Sep 1997 04:00:00



> I use sco 3.2v4.2.
> when I type 'vmstst -s' response is like this.

> # vmstat -s

>   102400 free swap space
>   179607 demand zero and demand fill pages
>        0 pages on swap
>   194531 pages in cache
>    57276 pages on file
>   422613 protection fault
>        0 pages are freed
>        0 success in swapping out a process
>        0 fail in swapping in a process
>        0 success in swapping in a process
>        0 swapping out a region
>        0 swapping in a region
>  7722659 cpu context switches
> 407463567 system calls

> what is protection fault and system calls?
> can protection fault and system calls causes panic?

Protection faults and system calls are part of normal system operation.

Quote:> I got panic irregulary.

Panics are not normal.  After the system panics, go to single-user mode
and run:

  echo panic | crash -d /dev/swap > /tmp/panic.out

This will create a stack traceback.  Save one of these each time the
system panics.  Post an example here.

- Show quoted text -

Quote:>Bela<


 
 
 

1. What dose 'general protection fault: 0000' mean?

Hi, all,

I am coding a linux kernel module, but when I run my testing code I got
a kernel panic.  And the panic screen said:

general protection fault:0000
CPU: 0
EIP: 0010:[<d289a213>]       Tainted: P
EFLAGS: 00010297
............
............
Code: 8b 02 8b 55 08 89 02 8b 55 0c 8b 42 04 8b 55 08 89 42 04 8b
<0> Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing

==================================================

I am a newbie to linux kernel hacking.  I dont know how to find out
where is the fault code.  :(  Could anyone give me some hints???

Thanks a lot in advance!!

Regards,
Wang Hui.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Laptop screensaver problem

3. I've read/am reading the faq's - but what is a Segmentation fault?

4. Possible Headers/Proxy bug

5. PPP 'Divide Error', 'Segmentation Fault'

6. Help on File System!

7. ''Charlie Root'' System Monitor - TURN OFF

8. Fiber channel controlers and Linux

9. Problem running 'waisq' in 'chroot' file system

10. Implement '<'or '>' system commands in C

11. Is e2label 'dangerous' when done on a 'live' file system?

12. 'double' or 'dbl' or 'dble', the disk space utilty

13. sed -e 's/\'a\'/\';\'/' ?