Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2004 06:07:08 +0100
From:      Jiri Mikulas <konfer@mikulas.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: PANIC named - trap.c
Message-ID:  <403ADBFC.8080209@mikulas.com>
In-Reply-To: <6813.1077543423@critter.freebsd.dk>
References:  <6813.1077543423@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello
still the same panic
thanks
Jiri

Poul-Henning Kamp wrote:

>In message <403A011B.9090007@mikulas.com>, Jiri Mikulas writes:
>  
>
>>Hello
>>i have FreeBSD 5.2-CURRENT #0: Mon Feb 23 02:17:13 CET 2004
>>and i got this panic with chrooted bind9 from ports
>>bind8 from userland works fine
>>any ideas why ?:)
>>thanks for reply
>>    
>>
>
>Try this patch (NB: cut&pasted, apply by hand):
>
>Index: kern_conf.c
>===================================================================
>RCS file: /home/ncvs/src/sys/kern/kern_conf.c,v
>retrieving revision 1.147
>diff -u -r1.147 kern_conf.c
>--- kern_conf.c 23 Feb 2004 08:42:55 -0000      1.147
>+++ kern_conf.c 23 Feb 2004 13:36:17 -0000
>@@ -235,7 +235,7 @@
> struct cdevsw *
> devsw(dev_t dev)
> {
>-       if (dev->si_devsw != NULL)
>+       if (dev != NODEV && dev->si_devsw != NULL)
>                return (dev->si_devsw);
>        return (&dead_cdevsw);
> }
>
>  
>



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