From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 16:46:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F19C16A4CE; Wed, 7 Jan 2004 16:46:22 -0800 (PST) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 926B843D1D; Wed, 7 Jan 2004 16:46:13 -0800 (PST) (envelope-from yushunwa@ISI.EDU) Received: from isi.edu (tnn.isi.edu [128.9.168.57]) by boreas.isi.edu (8.11.6p2+0917/8.11.2) with ESMTP id i080kDD15129; Wed, 7 Jan 2004 16:46:13 -0800 (PST) Message-ID: <3FFCA854.7040707@isi.edu> Date: Wed, 07 Jan 2004 16:46:12 -0800 From: Yu-Shun Wang User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20031216 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <200312220101.hBM11WgL071526@repoman.freebsd.org> In-Reply-To: <200312220101.hBM11WgL071526@repoman.freebsd.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms070108040908020005070203" cc: Alan Cox Subject: Immediate reboot after memory probe X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 00:46:22 -0000 This is a cryptographically signed message in MIME format. --------------ms070108040908020005070203 Content-Type: multipart/mixed; boundary="------------050406040009030705040109" This is a multi-part message in MIME format. --------------050406040009030705040109 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, Updated a couple of machines after the holiday and they blowed up on me. :-) As said in the subject, after installing the new kernel based on today's current, the machines (Dell duo Xeon 2.4GHz with 1G RDRAM) would not boot, or more precisely they'd immediately reboot after preloading the modules and showing the CPU/Mem specs: From dmesg: Preloaded elf module "/boot/kernel/iicsmb.ko" at 0xc09db4fc. Preloaded elf module "/boot/kernel/uart.ko" at 0xc09db5a8. Timecounter "i8254" frequency 1193118 Hz quality 0 CPU: Intel(R) XEON(TM) CPU 2.40GHz (2372.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff Hyperthreading: 2 logical CPUs real memory = 1073180672 (1023 MB) avail memory = 1032687616 (984 MB) *** (Rebooted at this point!) *** With a bit of digging and luck (not debugging, I am new to kernel debugging and don't have the environment setup to generate tracebacks), I managed to find the probable cause: sys/i386/i386/pmap.c from the commit log included below. After reversed the diff between 1.456 and 1.457, the problem was fixed. Weird thing is, it seems like I am the only one hit by this problem. I couldn't find any message on CURRENT list regarding this. Anyways, dmesg & kernel conf files are also attached. Please let me know if you need more info. Thanks, yushun. Alan Cox wrote: > alc 2003/12/21 17:01:32 PST > > FreeBSD src repository > > Modified files: > sys/amd64/amd64 pmap.c > sys/i386/i386 pmap.c > sys/vm uma_int.h > Log: > - Significantly reduce the number of preallocated pv entries in > pmap_init(). Such a large preallocation is unnecessary and wastes > nearly eight megabytes of kernel virtual address space per gigabyte > of managed physical memory. > - Increase UMA_BOOT_PAGES by two. This enables the removal of > pmap_pv_allocf(). (Note: this function was only used during > initialization, specifically, after pmap_init() but before > pmap_init2(). During pmap_init2(), a new allocator is installed.) > > Revision Changes Path > 1.449 +1 -14 src/sys/amd64/amd64/pmap.c > 1.457 +1 -14 src/sys/i386/i386/pmap.c > 1.22 +1 -1 src/sys/vm/uma_int.h > _______________________________________________ > cvs-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-all > To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" > > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/amd64/amd64/pmap.c.diff?&r1=1.448&r2=1.449&f=h > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/i386/i386/pmap.c.diff?&r1=1.456&r2=1.457&f=h > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/vm/uma_int.h.diff?&r1=1.21&r2=1.22&f=h -- Yu-Shun Wang USC Information Sciences Institute --------------050406040009030705040109 Content-Type: text/plain; name="dmesg.nik" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.nik" cam: using minimum scsi_delay (100ms) Copyright (c) 1992-2004 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 5.2-CURRENT #15: Wed Jan 7 15:48:28 PST 2004 yushunwa@nik.isi.edu:/usr/obj/usr/src/sys/KERNEL-1.34 Preloaded elf kernel "/boot/kernel/kernel" at 0xc09d9000. Preloaded elf module "/boot/kernel/vesa.ko" at 0xc09d921c. Preloaded elf module "/boot/kernel/md.ko" at 0xc09d92c8. Preloaded elf module "/boot/kernel/linux.ko" at 0xc09d9370. Preloaded elf module "/boot/kernel/if_gif.ko" at 0xc09d941c. Preloaded elf module "/boot/kernel/if_tun.ko" at 0xc09d94c8. Preloaded elf module "/boot/kernel/ipfw.ko" at 0xc09d9574. Preloaded elf module "/boot/kernel/if_an.ko" at 0xc09d9620. Preloaded elf module "/boot/kernel/wlan.ko" at 0xc09d96cc. Preloaded elf module "/boot/kernel/rc4.ko" at 0xc09d9778. Preloaded elf module "/boot/kernel/pccard.ko" at 0xc09d9820. Preloaded elf module "/boot/kernel/if_em.ko" at 0xc09d98cc. Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc09d9978. Preloaded elf module "/boot/kernel/miibus.ko" at 0xc09d9a24. Preloaded elf module "/boot/kernel/if_lnc.ko" at 0xc09d9ad0. Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc09d9b7c. Preloaded elf module "/boot/kernel/if_xl.ko" at 0xc09d9c28. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc09d9cd4. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc09d9d84. Preloaded elf module "/boot/kernel/snd_es137x.ko" at 0xc09d9e30. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc09d9ee0. Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc09d9f8c. Preloaded elf module "/boot/kernel/ugen.ko" at 0xc09da040. Preloaded elf module "/boot/kernel/usb.ko" at 0xc09da0ec. Preloaded elf module "/boot/kernel/uhid.ko" at 0xc09da194. Preloaded elf module "/boot/kernel/ukbd.ko" at 0xc09da240. Preloaded elf module "/boot/kernel/ulpt.ko" at 0xc09da2ec. Preloaded elf module "/boot/kernel/ums.ko" at 0xc09da398. Preloaded elf module "/boot/kernel/umass.ko" at 0xc09da440. Preloaded elf module "/boot/kernel/umodem.ko" at 0xc09da4ec. Preloaded elf module "/boot/kernel/ucom.ko" at 0xc09da598. Preloaded elf module "/boot/kernel/bktr.ko" at 0xc09da644. Preloaded elf module "/boot/kernel/bktr_mem.ko" at 0xc09da6f0. Preloaded elf module "/boot/kernel/agp.ko" at 0xc09da7a0. Preloaded elf module "/boot/kernel/random.ko" at 0xc09da848. Preloaded elf module "/boot/kernel/ip_mroute.ko" at 0xc09da8f4. Preloaded elf module "/boot/kernel/ip6fw.ko" at 0xc09da9a4. Preloaded elf module "/boot/kernel/netgraph.ko" at 0xc09daa50. Preloaded elf module "/boot/kernel/dummynet.ko" at 0xc09dab00. Preloaded elf module "/boot/kernel/radeon.ko" at 0xc09dabb0. Preloaded elf module "/boot/kernel/r128.ko" at 0xc09dac5c. Preloaded elf module "/boot/kernel/ahc.ko" at 0xc09dad08. Preloaded elf module "/boot/kernel/mpt.ko" at 0xc09dadb0. Preloaded elf module "/boot/kernel/fdc.ko" at 0xc09dae58. Preloaded elf module "/boot/kernel/cbb.ko" at 0xc09daf00. Preloaded elf module "/boot/kernel/exca.ko" at 0xc09dafa8. Preloaded elf module "/boot/kernel/cardbus.ko" at 0xc09db054. Preloaded elf module "/boot/kernel/lpt.ko" at 0xc09db100. Preloaded elf module "/boot/kernel/ubsa.ko" at 0xc09db1a8. Preloaded elf module "/boot/kernel/smbus.ko" at 0xc09db254. Preloaded elf module "/boot/kernel/smb.ko" at 0xc09db300. Preloaded elf module "/boot/kernel/iicbus.ko" at 0xc09db3a8. Preloaded elf module "/boot/kernel/iic.ko" at 0xc09db454. Preloaded elf module "/boot/kernel/iicsmb.ko" at 0xc09db4fc. Preloaded elf module "/boot/kernel/uart.ko" at 0xc09db5a8. Timecounter "i8254" frequency 1193118 Hz quality 0 CPU: Intel(R) XEON(TM) CPU 2.40GHz (2372.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff Hyperthreading: 2 logical CPUs real memory = 1073180672 (1023 MB) avail memory = 1032687616 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard bktr_mem: memory holder loaded VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc0769a22 (1000022) VESA: ATI RADEON RV250 Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fb9a0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu2: on acpi0 acpi_cpu3: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci_cfgintr: 1:0 INTA BIOS irq 11 drm0: port 0xec00-0xecff mem 0xff8f0000-0xff8fffff,0xf4000000-0xf7ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 pci1: at device 0.1 (no driver attached) pcib2: at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 31.0 on pci2 pci3: on pcib3 pci3: at device 0.0 (no driver attached) mpt0: port 0xdc00-0xdcff mem 0xff6a0000-0xff6bffff,0xff6c0000-0xff6dffff irq 20 at device 12.0 on pci3 mpt1: port 0xd800-0xd8ff mem 0xff660000-0xff67ffff,0xff680000-0xff69ffff irq 21 at device 12.1 on pci3 em0: port 0xd4c0-0xd4ff mem 0xff640000-0xff65ffff irq 21 at device 13.0 on pci3 em0: Speed:N/A Duplex:N/A pcib4: at device 30.0 on pci0 pci4: on pcib4 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xcc80-0xccff mem 0xff3ffc00-0xff3ffc7f irq 23 at device 11.0 on pci4 xl0: Ethernet address: 00:06:5b:bd:ee:48 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci4: at device 12.0 (no driver attached) pcm0: port 0xcc60-0xcc7f irq 18 at device 14.0 on pci4 pcm0: bktr0: mem 0xf80ff000-0xf80fffff irq 19 at device 15.0 on pci4 bktr0: Hauppauge Model 61381 D423 bktr0: Detected a MSP3430G-A4 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remote control. pci4: at device 15.1 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: NMB Dell USB Keyboard Hub, class 9/0, rev 1.10/0.01, addr 2 uhub1: 3 ports with 2 removable, bus powered ukbd0: NMB Dell USB 7HK Keyboard, rev 1.10/0.01, addr 3, iclass 3/1 kbd0 at ukbd0 ums0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 4, iclass 3/1 ums0: 5 buttons and Z dir. pci0: at device 31.3 (no driver attached) uhci1: port 0xff60-0xff7f irq 23 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port pmtimer0 on isa0 orm0: