Hi, It happened again with another machine, a R420, also running 5.4-stable. I can reproduce the problem giving a sequence of bioctl mfi0 commands:
(Please, do not try this on production servers) # for foo in `jot 1000`; do bioctl mfi0; sleep 1; done The kernel panics with: uvm_fault(0xffffffff81c96be0, 0xffff8000003e2000, 0, 2) -> e fatal page fault in supervisor mode trap type 6 code 2 rip ffffffff8136f566 cs 8 rflags 10206 cr2 ffff8000003e2000 cpl 0 rsp ffff8000221d8a38 panic: trap type 6, code=2, pc=ffffffff8136f566 Starting stack trace... panic() at panic+0xf5 trap() at trap+0x7f1 --- trap (number 6) --- memmove() at memmove+0x16 mfi_mgmt() at mfi_mgmt+0x6a mfi_bio_getitall() at mfi_bio_getitall+0x22e mfi_ioctl_vol() at mfi_ioctl_vol+0x1f mfi_refresh_sensors() at mfi_refresh_sensors+0xbf sensor_task_work() at sensor_task_work+0x21 workq_thread() at workq_thread+0x33 end trace frame: 0x0, count: 248 End of stack trace. ps output: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1 0.0 0.0 512 0 ?? Is 6:39PM 0:01.01 (init) root 8415 0.0 0.0 640 0 ?? Is 6:39PM 0:00.08 (syslogd) _syslogd 6650 0.0 0.0 640 0 ?? R 6:39PM 0:00.07 (syslogd) root 28315 0.0 0.0 700 0 ?? Is 6:39PM 0:00.07 (pflogd) _pflogd 27132 0.0 0.0 764 0 ?? R 6:39PM 0:00.06 (pflogd) _ntp 16749 0.0 0.0 800 0 ?? Rs 6:39PM 0:00.12 (ntpd) _ntp 2570 0.0 0.0 732 0 ?? Is 6:39PM 0:00.00 (ntpd) root 306 0.0 0.0 844 0 ?? Is 6:39PM 0:00.01 (ntpd) root 13586 0.0 0.0 856 0 ?? Is 6:41PM 0:00.10 (sshd) root 30264 0.0 0.0 768 0 ?? Is 6:41PM 0:00.08 (master) _postfix 12225 0.0 0.0 984 0 ?? I 6:41PM 2:38.84 (qmgr) _postfix 6445 0.0 0.0 996 0 ?? I 6:41PM 0:00.46 (pickup) root 8660 0.0 0.0 584 0 ?? Ss 6:41PM 0:00.03 (sensorsd) root 2429 0.0 0.0 612 0 ?? Ss 6:41PM 0:00.05 (cron) _postfix 29725 0.0 0.0 1076 0 ?? I 6:42PM 0:00.07 (tlsmgr) root 14374 0.0 0.0 3536 0 ?? Ss 6:47PM 0:04.37 (sshd) root 30897 0.0 0.0 668 0 p0 Ss 6:47PM 0:04.43 (ksh) root 7488 0.0 0.0 348 0 p0 R+ 7:01PM 0:00.02 (bioctl) root 29346 0.0 0.0 308 0 C0 Is+ 6:41PM 0:00.12 (getty) root 5325 0.0 0.0 396 0 C1 Is+ 6:41PM 0:00.01 (getty) root 18672 0.0 0.0 488 0 C2 Is+ 6:41PM 0:00.30 (getty) root 32223 0.0 0.0 516 0 C3 Is+ 6:41PM 0:00.01 (getty) root 4731 0.0 0.0 476 0 C5 Is+ 6:41PM 0:00.01 (getty) Anyone else seeing this with OpenBSD 5.4-stable on Dell servers with PERC RAID controllers? (PERC H700, H310 Mini, etc?) Thanks, --Kor On Mon, Dec 2, 2013 at 1:30 PM, Kor son of Rynar <daharmaster...@gmail.com>wrote: > Hey guys, > > I have just upgraded two Dell servers (a PowerEdge R410 and a R320) to > OpenBSD 5.4-stable -- before the upgrade, these machines were running > 5.3-stable without a problem. > > After the upgrade to 5.4, both machines started to panic with a > uvm_fault. (3 panics so far...) The panic messages are included below, > extracted with a dmesg -M bsd.0.core -N bsd.0: > > -- > hw.machine=amd64 > hw.model=Intel(R) Xeon(R) CPU E5-2403 0 @ 1.80GHz > hw.product=PowerEdge R320 > > uvm_fault(0xffffffff81c96be0, 0xffff8000004c2000, 0, 2) -> e > fatal page fault in supervisor mode > trap type 6 code 2 rip ffffffff8136f636 cs 8 rflags 10206 cr2 > ffff8000004c2000 > cpl 0 rsp ffff80002215fa38 > panic: trap type 6, code=2, pc=ffffffff8136f636 > Starting stack trace... > panic() at panic+0xf5 > trap() at trap+0x7f1 > --- trap (number 6) --- > memmove() at memmove+0x16 > mfi_mgmt() at mfi_mgmt+0x6a > mfi_bio_getitall() at mfi_bio_getitall+0x22e > mfi_ioctl_vol() at mfi_ioctl_vol+0x1f > mfi_refresh_sensors() at mfi_refresh_sensors+0xbf > sensor_task_work() at sensor_task_work+0x21 > workq_thread() at workq_thread+0x33 > end trace frame: 0x0, count: 248 > End of stack trace. > > -- > hw.machine=amd64 > hw.model=Intel(R) Xeon(R) CPU X5660 @ 2.80GHz > hw.product=PowerEdge R410 > > uvm_fault(0xffffffff81c96be0, 0xffff800000766000, 0, 2) -> e > fatal page fault in supervisor mode > trap type 6 code 2 rip ffffffff8136f636 cs 8 rflags 10206 cr2 > ffff800000766000 > cpl 0 rsp ffff80002614fa38 > panic: trap type 6, code=2, pc=ffffffff8136f636 > Starting stack trace... > panic() at panic+0xf5 > trap() at trap+0x7f1 > --- trap (number 6) --- > memmove() at memmove+0x16 > mfi_mgmt() at mfi_mgmt+0x6a > mfi_bio_getitall() at mfi_bio_getitall+0x22e > mfi_ioctl_vol() at mfi_ioctl_vol+0x1f > mfi_refresh_sensors() at mfi_refresh_sensors+0xbf > sensor_task_work() at sensor_task_work+0x21 > workq_thread() at workq_thread+0x33 > end trace frame: 0x0, count: 248 > End of stack trace. > > -- > > Anybody else having similar problems? > > Thanks, > -- Kor