Current-Users archive

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

Re: Recent i386-GENERIC panic



Can you try the following patch?

Index: kern_module.c
===================================================================
RCS file: /cvsroot/src/sys/kern/kern_module.c,v
retrieving revision 1.80
diff -u -p -r1.80 kern_module.c
--- kern_module.c       13 Aug 2011 21:04:06 -0000      1.80
+++ kern_module.c       13 Sep 2011 18:33:44 -0000
@@ -1032,10 +1032,10 @@ module_do_load(const char *name, bool is
                               goto fail;
                       }
                       error = module_do_load(buf, true, flags, NULL,
-                           &mod->mod_required[mod->mod_nrequired++],
-                           MODULE_CLASS_ANY, true);
+                           &mod2, MODULE_CLASS_ANY, true);
                       if (error != 0)
                               goto fail;
+                       mod->mod_required[mod->mod_nrequired++] = mod2;
               }
       }




"Jukka Ruohonen"  wrote in message news:20110913145243.GA8073@marx.bitnet...

On Thu, Sep 08, 2011 at 09:38:47AM -0500, John D. Baker wrote:
GENERIC kernel built from sources around 201109080300Z panics on boot
as follows:

[...]
NetBSD 5.99.55 (GENERIC) #16: Wed Sep  7 22:08:12 CDT 2011

sysop%skuld.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/
pile/GENERIC
[...]
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pci_mem_find: 64-bit memory map which is inaccessible on a 32-bit platform
pchb0 at pci0 dev 0 function 0 panic: kernel diagnostic assertion
"mod->mod_required[i] != NULL" failed: file
/d0/nbsd/current/src/sys/kern/kern_module.c; line 692
[...]

On Tue, Sep 13, 2011 at 09:30:52AM -0500, John D. Baker wrote:
I've narrowed the source changes down to a 15-minute window from
201108291445Z (works) to 201108291500Z (panics as in previous messages).

So one of these (userland and non-x86 arches ruled out;
respective people CC'ed):

commit 2011.08.29.00.39.16 rmind src/sys/kern/sys_select.c 1.36
commit 2011.08.29.04.12.45 manu src/sys/fs/puffs/puffs_node.c 1.20
commit 2011.08.29.04.12.45 manu src/sys/fs/puffs/puffs_sys.h 1.78
commit 2011.08.29.04.12.45 manu src/sys/fs/puffs/puffs_vnops.c 1.155
commit 2011.08.29.09.50.04 jmcneill src/sys/dist/pf/net/pf.c 1.66
commit 2011.08.29.09.50.04 jmcneill src/sys/dist/pf/net/pf_ioctl.c 1.44
commit 2011.08.29.09.50.04 jmcneill src/sys/dist/pf/net/pf_norm.c 1.25
commit 2011.08.29.09.50.04 jmcneill src/sys/modules/pf/Makefile 1.3
commit 2011.08.29.09.50.04 jmcneill src/sys/net/files.pf 1.6
commit 2011.08.29.11.14.15 jruoho src/sys/dev/i2c/zl10353.c 1.1
commit 2011.08.29.11.14.15 jruoho src/sys/modules/Makefile 1.91
commit 2011.08.29.11.14.15 jruoho src/sys/modules/zl10353/Makefile 1.1
commit 2011.08.29.11.14.16 jruoho src/sys/dev/i2c/zl10353reg.h 1.1
commit 2011.08.29.11.14.16 jruoho src/sys/dev/i2c/zl10353var.h 1.1
commit 2011.08.29.11.16.35 jruoho src/sys/dev/i2c/zl10353.c 1.2
commit 2011.08.29.11.16.36 jruoho src/sys/dev/i2c/zl10353reg.h 1.2
commit 2011.08.29.11.16.36 jruoho src/sys/dev/i2c/zl10353var.h 1.2
commit 2011.08.29.14.47.07 jmcneill src/sys/dev/pci/azalia.c 1.77
commit 2011.08.29.14.47.07 jmcneill src/sys/external/bsd/drm/dist/bsd-core/drm_drv.c 1.22
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/coram.c 1.9
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/cxdtv.c 1.8
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/if_alc.c 1.5
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/if_ath_pci.c 1.43
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/if_cas.c 1.14
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/pci.c 1.142
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/pci_verbose.c 1.8
commit 2011.08.29.14.47.08 jmcneill src/sys/dev/pci/pwdog.c 1.5
commit 2011.08.29.14.47.09 jmcneill src/sys/dev/pci/hdaudio/hdaudio.c 1.14
commit 2011.08.29.15.06.49 mbalmer src/sys/dev/pci/pwdog.c 1.6
commit 2011.08.29.15.14.04 mbalmer src/sys/dev/gpio/gpio.c 1.37
commit 2011.08.29.15.14.04 mbalmer src/sys/dev/gpio/gpiosim.c 1.12
commit 2011.08.29.17.31.50 jmcneill src/sys/kern/sys_process.c 1.158
commit 2011.08.29.18.34.42 bouyer src/sys/arch/i386/pci/gcscpcib_pci.c 1.2
commit 2011.08.29.18.34.42 bouyer src/sys/dev/ic/gcscpcib.c 1.2
commit 2011.08.29.18.34.42 bouyer src/sys/dev/ic/gcscpcibvar.h 1.2
commit 2011.08.29.22.41.52 dyoung src/sys/arch/x86/pci/pci_intr_machdep.c 1.23
commit 2011.08.29.22.46.04 dyoung src/sys/arch/x86/pci/pci_machdep.c 1.49
commit 2011.08.29.22.46.04 dyoung src/sys/arch/x86/pci/pci_ranges.c 1.1
commit 2011.08.29.22.46.56 dyoung src/sys/arch/x86/conf/files.x86 1.72

- Jukka.



Home | Main Index | Thread Index | Old Index