Subject: kern/36196: supervisor trap with linux df
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 04/22/2007 23:35:00
>Number:         36196
>Category:       kern
>Synopsis:       supervisor trap with linux df
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 22 23:35:00 +0000 2007
>Originator:     Mark Davies
>Release:        NetBSD 4.99.9
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:
	
	
System: NetBSD city-art.mcs.vuw.ac.nz 4.99.9 NetBSD 4.99.9 (MCS_WORKSTATION) #2: Sat Mar 3 14:14:10 NZDT 2007 mark@turakirae.mcs.vuw.ac.nz:/local/SAVE/build.obj/src/work/src/sys/arch/i386/compile/MCS_WORKSTATION i386
Architecture: i386
Machine: i386
>Description:
	Running the linux df command with no arguments results in:

	kernel: supervisor trap integer divide fault
	Stopped in pid 422.1 (df) at netsbd:__qdivrem+0x3b: divl %ecx,%eax

	Backtrace is:
		__qdivrem()
		__udivdi3()
		bsd_to_linux_statfs64()
		linux_sys_statfs64()
		linux_syscall_plain()

	Happens after the df output for all the filesystems is printed and
	happens every time.  I also tried a 4.99.17 system from a couple of
	days ago with the same result
	
>How-To-Repeat:
	Install suse_base-10.0nb3 package and run "/emul/linux/bin/df"
	
>Fix:
	

>Unformatted: