NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/49602: kernel panic with fpa on NetBSD-7.0_BETA i386



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Martin,

 Problem was gone with this patch. Thank you!
 This may be MI bug (kern), not MD (port-i386).
- -- 
MASUDA Hideo	(h-masuda%ootani.nagata.kobe.jp@localhost)
Key fingerprint = C532 9F5B 4D7D DA76 8BFF  CAA3 C073 5C9E 10FF 98EF

On 2015/01/25 16:40, Martin Husemann wrote:
> The following reply was made to PR port-i386/49602; it has been noted by GNATS.
> 
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: port-i386/49602: kernel panic with fpa on NetBSD-7.0_BETA i386
> Date: Sun, 25 Jan 2015 08:35:43 +0100
> 
>  If you can compile a kernel localy, could you try if the patch below is
>  enough to fix it?
>  
>  Thanks,
>  
>  Martin
>  
>  Index: if_fpa.c
>  ===================================================================
>  RCS file: /cvsroot/src/sys/dev/pci/if_fpa.c,v
>  retrieving revision 1.59
>  retrieving revision 1.60
>  diff -u -r1.59 -r1.60
>  --- if_fpa.c	29 Mar 2014 19:28:24 -0000	1.59
>  +++ if_fpa.c	25 Jan 2015 07:33:24 -0000	1.60
>  @@ -1,4 +1,4 @@
>  -/*	$NetBSD: if_fpa.c,v 1.59 2014/03/29 19:28:24 christos Exp $	*/
>  +/*	$NetBSD: if_fpa.c,v 1.60 2015/01/25 07:33:24 martin Exp $	*/
>   
>   /*-
>    * Copyright (c) 1995, 1996 Matt Thomas <matt%3am-software.com@localhost>
>  @@ -34,7 +34,7 @@
>    */
>   
>   #include <sys/cdefs.h>
>  -__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.59 2014/03/29 19:28:24 christos Exp $");
>  +__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.60 2015/01/25 07:33:24 martin Exp $");
>   
>   #ifdef __NetBSD__
>   #include "opt_inet.h"
>  @@ -410,6 +410,8 @@
>   
>       aprint_naive(": FDDI controller\n");
>   
>  +    sc->sc_dev = self;
>  +
>       data = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CFLT);
>       if ((data & 0xFF00) < (DEFPA_LATENCY << 8)) {
>   	data &= ~0xFF00;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUyZSCAAoJEMBzXJ4Q/5jvxEsIAL5IsbKVEE7tUkJX8oXOZw7b
af4Hc07fYmjNC2HFeC2Lz9t9JO50wUY3XE9W5p7SahNSLZ3qYMGoGC0rWyJ+Ndh1
pvECAvXazbklYV6t/Te6s2YqaHztZf1SfaOq6U8mXsiLoXSywq8YYAwp+ICBe9t2
wkDvFEqwUe0uFAtDhfuZH8oYe0qAIu3JTTLz1IkTIY+es818aDqmG8AfYM7JFlyF
S4Bi2e2VV2Qhus/ysOl3VY306vgtSy7sW55MlZaXdKqL9u8/krh+zslYHrbC32cE
vBwcTFaN+bOedmpE95AVQIarpbhG6vtjjmJi1Utnl+d4D4o3QkaFF580TernUnM=
=QjM4
-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index