Subject: Fwd: RE: kernel panic
To: None <tech-kern@netbsd.org>
From: Kamal Prasad <kamalpr@yahoo.com>
List: tech-kern
Date: 07/19/2002 11:23:03
This is likely because of a malicious piece of code in
1 of the device drivers written in-house.
sorry for the false alarm or lets just say that I
wasn't familiar with the pmap layer.
btw, [in the long term] is it possible to insulate the
kernel from malicious code in the driver?
if UVM allows userland code to selectively read/write
kernel memory, that should allow us to write driver
modules in userspace.
regards
-kamal

--- Matt Thomas <mthomas@allegronetworks.com> wrote:
> From: Matt Thomas <mthomas@allegronetworks.com>
> To: 'Kamal Prasad' <kamalpr@yahoo.com>
> Subject: RE: kernel panic
> Date: Mon, 15 Jul 2002 13:49:36 -0700
> 
> Is it reproducible?  If so, I'd love to see the
> program.
> That will give me a way to fix the bug.
> 
> -- 
> Matt Thomas                                 email:
> mthomas@allegronetworks.com
> NetBSD Mucker                           witticism:
> <under peer review>
> Allegro Networks
> San Jose, CA
> 
> > -----Original Message-----
> > From: tech-kern-owner@netbsd.org
> [mailto:tech-kern-owner@netbsd.org]On
> > Behalf Of Kamal Prasad
> > Sent: Monday, July 15, 2002 1:46 PM
> > To: tech-kern@netbsd.org
> > Subject: kernel panic
> > 
> > 
> > I have a program that does an mmap() of 800mb (out
> of
> > 1GB total physical memory) (using netbsd-curent).
> when
> > I kill the app (that has done the mmap()), I get a
> > panic.
> > the trace is given below:-
> >
>
--------------------------------------------------------
> > 0xe9b9ad00: at panic+1b0
> > 0xe9b9adb0: at pmap_pvo_to_pte+1c4
> > 0xe9b9ade0: at pmap_pvo_remove+5c
> > 0xe9b9ae00: at pmap_page_protect+a4
> > 0xe9b9ae30: at uvm_anfree+1f0
> > 0xe9b9ae50: at amap_wipeout+120
> > 0xe9b9ae80: at amap_unref+4c
> > 0xe9b9aea0: at uvm_map_unreference_amap+54
> > 0xe9b9aec0: at uvm_unmap_detach+78
> > 0xe9b9aef0: at uvmspace_free+a0
> > 0xe9b9af10: at uvm_exit+2c
> > 0xe9b9af30: at reaper+cc
> > 0xe9b9af50: at fork_trampoline+10
> > -------------------------------------------------
> > if anyone knows the problem/fix to this, pl. let
> me
> > know.
> > thanks
> > -kamal
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Autos - Get free new car price quotes
> > http://autos.yahoo.com
> > 
> > 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com