ggate problem

Mateusz Guzik mjguzik at gmail.com
Sun Jun 17 00:38:54 UTC 2012


On Sat, Jun 16, 2012 at 11:14:50PM +0200, David ROFFIAEN wrote:
> Hi list,
> 
> I encoutered a panic with ggatec :
> I misconfigured gg.exports on the server with bad IP address for
> allowed client. Resulting a panic when creating ggatec on the
> client.
> Investigating the panic a I discovered at line 362 in g_gatec.c, the
> ggio->gctl_sectorsize variable is not checked to be > 0 resulting a
> "Fatal trap 18: integer divide fault while in kernel mode", thus
> because there is no ggated allowed for my client IP (in my
> misconfigured gg.exports) in my case.
> 
> It would be better to check before the 'if' at line 362, that the
> partition we are trying to import with ggatec is available and
> otherwise give an explicit warning instead of letting the kernel
> panicing.
> 

I'm unable to reproduce this.

It would be best if you provide:
- version of your system
- your gg.exports config
- exact ggatec command you ran
- backtrace from the panic

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the freebsd-stable mailing list