From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 25 16:58:25 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D20D216A421 for ; Mon, 25 Jun 2007 16:58:25 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outB.internet-mail-service.net (outB.internet-mail-service.net [216.240.47.225]) by mx1.freebsd.org (Postfix) with ESMTP id C068313C46C for ; Mon, 25 Jun 2007 16:58:25 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Mon, 25 Jun 2007 09:58:25 -0700 Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 059C7125B43; Mon, 25 Jun 2007 09:58:24 -0700 (PDT) Message-ID: <467FF435.6050108@elischer.org> Date: Mon, 25 Jun 2007 09:58:29 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-current@FreeBSD.ORG Subject: Re: KSE was Re: open/close/ioctl api change? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 16:58:25 -0000 Danny Braniss wrote: >> actually it's the struct thread *tp where my problems are, >> this code works fine under 6.2, and did work till some days ago under current. >> >> static int >> iscsi_open(struct cdev *dev, int flags, int otype, struct thread *td) >> { >> ... >> debug(3, "td->td_proc=%p", td->td_proc); >> debug(3, "td->td_proc->p_pid=%d pid=%d", >> td->td_proc->p_pid, curproc->p_pid); >> ... >> >> the first debug prints out td->td_proc=0 and the next one panics. > > found the problem, 'option KSE' which is defined now in DEFAULTS, > and i'm compiling a module! which does not include DEFAULTS! > even so it shouldnt' happen.. > danny > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"