Date: Wed, 18 Sep 2002 17:18:25 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: freebsd-alpha@freebsd.org Subject: Module loading broken on -stable/alpha Message-ID: <XFMail.20020918171825.jdp@polstra.com>
next in thread | raw e-mail | index | archive | help
Has anybody tried to kldload any modules in -stable lately? Yesterday I upgraded my Alpha system to 4.7-RC, and it appears that module loading is broken. Attempting to kldload any module (well, I tried blank_saver and if_fxp) yields an instant memory management fault panic, like this: fatal kernel trap: trap entry = 0x2 (memory management fault) a0 = 0xfffffe00008e52d8 a1 = 0x1 a2 = 0x0 pc = 0xfffffc0000365c74 ra = 0xfffffc0000365c18 curproc = 0xfffffe0005a4d700 pid = 161, comm = kldload The PC is always the same, though a0 varies. The topmost two relevant stack frames according to DDB are: linker_file_sysinit+0x94 linker_load_file+0xdc GDB shows this as the offending source code: (kgdb) list *linker_file_sysinit+0x94 0xfffffc0000365c74 is in linker_file_sysinit (../../kern/kern_linker.c:113). 108 if (!sysinits) 109 return 0; /* XXX is this correct ? No sysinit ? */ 110 111 /* HACK ALERT! */ 112 for (sipp = (struct sysinit **)sysinits->ls_items; *sipp; sipp++) { 113 if ((*sipp)->func == module_register_init) { 114 moddata = (*sipp)->udata; 115 error = module_register(moddata, lf); 116 if (error) { 117 printf("linker_file_sysinit \"%s\" failed to register! %d\n", My kernel + modules + world are definitely in sync with each other. The dmesg output is below. Is anybody else seeing this problem? John Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RC #0: Wed Sep 18 14:38:38 PDT 2002 jdp@alpha.polstra.com:/usr/src/sys/compile/ALPHA EB164 Digital AlphaPC 164LX 533 MHz, 531MHz 8192 byte page size, 1 processor. CPU: EV56 (21164A) major=7 minor=2 extensions=0x1<BWX> OSF PAL rev: 0x1000200020117 real memory = 132046848 (128952K bytes) avail memory = 123936768 (121032K bytes) Preloaded elf kernel "kernel" at 0xfffffc00005f2000. cia0: Pyxis, pass 1 cia0: extended capabilities: 1<BWEN> pcib0: <2117x PCI host bus adapter> on cia0 pci0: <PCI bus> on pcib0 dc0: <Intel 21143 10/100BaseTX> port 0x1100-0x117f mem 0x82271100-0x8227117f irq 0 at device 6.0 on pci0 dc0: interrupting at CIA irq 0 dc0: Ethernet address: 08:00:2b:c5:3b:2d miibus0: <MII bus> on dc0 dcphy0: <Intel 21143 NWAY media interface> on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sym0: <875> port 0x1000-0x10ff mem 0x82270000-0x82270fff,0x82271000-0x822710ff irq 1 at device 7.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: interrupting at CIA irq 1 isab0: <Intel 82378IB PCI to ISA bridge> at device 8.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Trident model 9440 VGA-compatible display device> at 9.0 irq 3 pci0: <CMD 646 ATA controller> at 11.0 irq 5 mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: interrupting at ISA irq 12 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio0: interrupting at ISA irq 4 sio1: reserved for low-level i/o Timecounter "alpha" frequency 533179008 Hz Waiting 2 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. Mounting root from ufs:/dev/da0f cd0 at sym0 bus 0 target 5 lun 0 cd0: <TOSHIBA CD-ROM XM-6401TA 1015> Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at sym0 bus 0 target 1 lun 0 da1: <IBM DNES-309170W SAH0> Fixed Direct Access SCSI-3 device da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da1: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) da0 at sym0 bus 0 target 0 lun 0 da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020918171825.jdp>