| Summary: | Reboot when using vlans on a xl card without an ip on NIC | ||
|---|---|---|---|
| Product: | Base System | Reporter: | maikel <maikel> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Does your machine just reboot, or does it panic first? If it panics, would you mind obtaining a kernel stack trace, as it's described in the FreeBSD Handbook chapter 23.1, and sending it as a followup to this PR? Yar State Changed From-To: open->closed The PR seems to be related closely to i386/25478, which has been closed. Additionally, the originator hasn't provided details for two months. |
My machine reboots if I configure an IP number on a vlan, which vlandevice is not configured with an ip number. Eg: # ifconfig xl0 xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:01:02:11:ad:e4 media: autoselect (100baseTX <full-duplex>) status: active supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback> # ifconfig vlan0 vlan 120 vlandev xl0 # ifconfig vlan0 10.10.10.2 netmask 255.255.255.0 <instant reboot> If I run the ifconfig command on the vlan interface with ip numbers, it will reboot the machine. It doesn't care if I combine the vlan defenition and the ip address config, it will crash the machine as well. Fix: If you put an IP number on the vlandevice, it will work. How-To-Repeat: See above.