On Wed, Mar 11, 2015 at 09:57:12PM +0000, Romain FABBRI wrote:
> If I configure my network card manually using the following commands the
> system and network work fine :
>
> Ifconfig inet {public_ip_/32_address} 255.255.255.255 media 1000baseTX route
> add -inet {ip_gateway}/32 -link -iface em0 route add default {ip_gateway}
>
>
> If I attempt to configure using hostname.em0 :
>
> vi /etc/hostname.em0
> inet {public_ip_/32_address} 255.255.255.255 NONE media 1000baseTX !route add
> -inet {gateway}/32 -link -iface em0 !route add default {gateway} sh
> /etc/netstart
>
> . I get a panic (smashed stack in ether_output)
> panic: smashed stack in ether_output
> Stopped at Debugger+0x7: leave
>
> Have I made an error ???
>
> PS : I also tried putting the gateway IP in /etc/mygate instead of using «
> route add default {ip_gateway} » inside hostname.if file but I'm also getting
> the panic this way.
This problem was recently reported on bugs@, try the diff mentioned in
http://marc.info/?l=openbsd-bugs&m=142600183729296&w=2