Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2012 02:38:49 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        David ROFFIAEN <dr@roffiaen.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: ggate problem
Message-ID:  <20120617003849.GA11317@dft-labs.eu>
In-Reply-To: <4FDCF74A.4010305@roffiaen.com>
References:  <4FDCF74A.4010305@roffiaen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120617003849.GA11317>