I can't find the related entry on bugs@ and the post your refer to isn't 
published or accessible.
But thanks a lot for your answer and I'm glad if it's really a knowed/patched 
issue.

If you you could provide me the patch or tell me how to get it, it would be 
very kind
Or maybe I just have to wait for your link to be published...


-----Message d'origine-----
De : Jonathan Gray [mailto:j...@jsg.id.au] 
Envoyé : jeudi 12 mars 2015 08:30
À : Romain FABBRI
Cc : misc@openbsd.org
Objet : Re: Permanent network configuration leads to panic

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

Reply via email to