Subject: kern/34262: LFS panic
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kefren@netbsd.ro>
List: netbsd-bugs
Date: 08/23/2006 05:00:00
>Number:         34262
>Category:       kern
>Synopsis:       LFS panics in lfs_finalize_seguse()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 23 05:00:00 +0000 2006
>Originator:     Mihai CHELARU
>Release:        NetBSD 4.99.1
>Organization:
	
>Environment:
	
	
System: NetBSD kefren64.girsa.ro 4.99.1 NetBSD 4.99.1 (Kefren) #0: Sat Aug 12 18:31:59 EEST 2006 root@kefren64.girsa.ro:/disk2/src/sys/arch/amd64/compile/obj/Kefren amd64
Architecture: x86_64
Machine: amd64
>Description:
	
	Kernel crashes (100% reproductible) when I start an application. Sadly I cannot use my keyboard to get a bt.
	Here is what it prints on console:

	lfs_finalize_seguse: segment 62908 short by 7808
	panic: lfs_finalize_seguse: negative bytes
	Stopped in pid 990.1(kdeinit) at	netbsd: cpu_Debugger+0x5:	leave

	After reboot everything looks OK. Restarting that application -> crash. I tryed to fsck_lfs -f the entire fs
	but no errors are found.

>How-To-Repeat:
	
>Fix:
	

>Unformatted: