Bug 144756

Summary: [panic] Transferring files on samba causes the kernel to crash
Product: Base System Reporter: Timothy Yen <yen.timothy>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Timothy Yen 2010-03-15 07:40:04 UTC
I am transferring a large amount of media files to my RAIDZ of 3x2TB disks through Samba. After about 10-15 minutes I get this error 

msk0 watchdog timeout



Another time I got this error while using grep on the machine

Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer     = 0x20:0xffffffff80e36d54
stack pointer           = 0x28:0xffffff8079ae6700
frame pointer           = 0x28:0xffffff8079ae6710
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def 32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1290 (grep)
trap number             = 9
panic: general protection fault
cpuid = 1
Uptime = 28m33s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort



Another time I got this error when I wasn't typing on my server.

panic: kmem_malloc(131072): kmem_map too small: 1346445312 total allocated
cpuid = 0
Uptime: 24m20s
Physical memory: 4066 MB
Dumping 2825 MB: 2810 2794 278 2762

Fix: 

No idea.
How-To-Repeat: My hardware is Asus P5Q-E, 2x2GB PC800, Geforce 8800 GTS 640MB, 2x250 GB in RAID 1 ZFS, 3x2TB in RAIDZ. Transfer a large amount of files (approx 50 MB/s) in Samba to the RAIDZ. I've tried both LAN ports on my motherboard, and they give this error.
Comment 1 Jaakko Heinonen freebsd_committer freebsd_triage 2010-09-21 19:36:58 UTC
State Changed
From-To: open->feedback

Please provide at least backtrace for the first panic. 

kmem_map too small panic is duplicate of kern/130133.
Comment 2 Jaakko Heinonen freebsd_committer freebsd_triage 2010-10-25 19:11:14 UTC
State Changed
From-To: feedback->closed

Feedback timeout.