Kernel panic when making changes to vlan and traffic shaping is enabled.
-
Not quite sure if this topic goes here…..
I have installed PFsense 1.2.2, single cpu kernel, on an D945GCLF (http://www.intel.com/Products/Desktop/Motherboards/D945GCLF/D945GCLF-overview.htm), and it is working really wall, except when making changes to vlan's.
The board has one nic, a Realtek RTL8102EL.
I have set up the WAN interface to use the interface directly, and have set up a VLAN (tag 1) for the LAN.
I have enables traffic shaping.
Whenever I make changes to the vlans, add new vlans, change ip of a network connected to a vlan, I get a kernel panic followed by a reboot :
The following is a system log dump, from the webinterface.
Mar 16 18:01:17 syslogd: kernel boot file is /boot/kernel/kernel
Mar 16 18:01:17 kernel:
Mar 16 18:01:17 kernel:
Mar 16 18:01:17 kernel: Fatal trap 12: page fault while in kernel mode
Mar 16 18:01:17 kernel: cpuid = 1; apic id = 01
Mar 16 18:01:17 kernel: fault virtual address = 0x188
Mar 16 18:01:17 kernel: fault code = supervisor read, page not present
Mar 16 18:01:17 kernel: instruction pointer = 0x20:0xc07d5274
Mar 16 18:01:17 kernel: stack pointer = 0x28:0xecb7ea08
Mar 16 18:01:17 kernel: frame pointer = 0x28:0xecb7ea20
Mar 16 18:01:17 kernel: code segment = base 0x0, limit 0xfffff, type 0x1b
Mar 16 18:01:17 kernel: = DPL 0, pres 1, def32 1, gran 1
Mar 16 18:01:17 kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Mar 16 18:01:17 kernel: current process = 5327 (pfctl)
Mar 16 18:01:17 kernel: trap number = 12
Mar 16 18:01:17 kernel: panic: page fault
Mar 16 18:01:17 kernel: cpuid = 1
Mar 16 18:01:17 kernel: Uptime: 31m11s
Mar 16 18:01:17 kernel: Cannot dump. No dump device defined.
Mar 16 18:01:17 kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Mar 16 18:01:17 kernel: Rebooting...If I disable traffic shaping, I can make any sort of changes to vlans, without kernel panic, so it must be some sort of combination of vlans / traffic shaping.
-
I'm using the same board with VLANs on the onboard NIC while I wait for my low-profile Intel to arrive and it's working perfectly for me on 1.2.3 prerelease, so you might want to try upgrading.
Otherwise disabling hardware tagging might be worth a try (ifconfig re0 -vlanhwtag), or just buy a decent NIC (though these are miles ahead of the RTL8139 - I can actually get about 95Mbps throughput on this board).