Subject: NetBSD crashes when the disk is full
To: None <port-xen@netbsd.org>
From: Stephane Bortzmeyer <stephane@sources.org>
List: port-xen
Date: 04/02/2006 21:17:19
In order to recompile the kernel, I tried to install its
sources. Doing so, I filled in the disk, which crashed the system :-(

Apr  2 18:01:30 jadis /netbsd: uid 1000, pid 25384, command sed, on /: file system full
Apr  2 18:01:33 jadis /netbsd: uid 1000, pid 16940, command sort, on /: file system full
Apr  2 18:01:33 jadis /netbsd: uid 1000, pid 16444, command sort, on /: file system full
Apr  2 18:01:33 jadis /netbsd: uid 1000, pid 15326, command sh, on /: file system full
Apr  2 18:01:33 jadis /netbsd: uid 1000, pid 24860, command cat, on /: file system full
panic: HYPERVISOR_mmu_update failed
                                   
Stopped in pid 24053.1 (sh) at  netbsd:cpu_Debugger+0x4:        popl    %ebp
db>                                                                         
db> 
db> 
db> trace      
cpu_Debugger(c0402c86,c6aebca8,c6aebcbc,c02ab460,3e23000) at netbsd:cpu_Debugger
+0x4                                                                           
panic(c040381d,1,3,0,b0f0bf8) at netbsd:panic+0x12c
xpq_flush_queue(b0f0bf8,91b8007,0,0,3) at netbsd:xpq_flush_queue+0x5c
pmap_get_ptp(c5e093dc,2fe,d8000,0,ffffffff) at netbsd:pmap_get_ptp+0x15c
pmap_enter_ma(c5e093dc,bfbfc000,b56e000,1a6d000,1) at netbsd:pmap_enter_ma+0x113
                                                                               
pmap_enter(c5e093dc,bfbfc000,1a6d000,1,20) at netbsd:pmap_enter+0x68
uvm_fault_internal(c6bd5468,bfbfd000,1,0,1) at netbsd:uvm_fault_internal+0x102d
trap() at netbsd:trap+0x304                                                    
--- trap (number 6) ---    
0xbbb6717c:            

I'm quite green when it comes to kernel debugging to do not hesitate
to shout "NEVER REPORT A KERNEL CRASH WITHOUT FIRST TYPING foobar
something in the debugger!"

The dom0 is:

system                 : Linux
host                   : aslan
release                : 2.6.12.6-xen0
version                : #1 Sun Dec 4 22:21:21 GMT 2005
machine                : i686
nr_cpus                : 1
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 231
hw_caps                : 0080f9ff:00000000:00000000:00000040
total_memory           : 192
free_memory            : 79
xen_major              : 3
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_32
platform_params        : virt_start=0xfc000000
xen_changeset          : Sun Dec  4 17:24:24 2005 +0100 8240:64cd054aa143
cc_compiler            : gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
cc_compile_by          : xenod
cc_compile_domain      : cl.cam.ac.uk
cc_compile_date        : Sun Dec  4 20:20:45 GMT 2005