From owner-freebsd-alpha Wed Sep 18 17:18:30 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54F4D37B401 for ; Wed, 18 Sep 2002 17:18:27 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FF9E43E3B for ; Wed, 18 Sep 2002 17:18:26 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g8J0IPf13627 for ; Wed, 18 Sep 2002 17:18:25 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 18 Sep 2002 17:18:25 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: freebsd-alpha@freebsd.org Subject: Module loading broken on -stable/alpha Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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 pcib0: <2117x PCI host bus adapter> on cia0 pci0: on pcib0 dc0: 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: on dc0 dcphy0: 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: at device 8.0 on pci0 isa0: on isab0 pci0: at 9.0 irq 3 pci0: at 11.0 irq 5 mcclock0: at port 0x70-0x71 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 psm0: irq 12 on atkbdc0 psm0: interrupting at ISA irq 12 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> fdc0: 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: 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: 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: 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