Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 09:58:29 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org, freebsd-current@FreeBSD.ORG
Subject:   Re: KSE was Re: open/close/ioctl api change?
Message-ID:  <467FF435.6050108@elischer.org>
In-Reply-To: <E1I2nbz-000Nqm-Sv@cs1.cs.huji.ac.il>
References:  <E1I2nbz-000Nqm-Sv@cs1.cs.huji.ac.il>

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




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