From owner-freebsd-current@FreeBSD.ORG Fri Oct 14 09:07:20 2005 Return-Path: X-Original-To: current@freebsd.org 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 9665416A41F; Fri, 14 Oct 2005 09:07:20 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: from hurl.ugcs.caltech.edu (hurl.ugcs.caltech.edu [131.215.176.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8755343D53; Fri, 14 Oct 2005 09:07:19 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by livecd.ugcs.caltech.edu (Postfix, from userid 3640) id A11B21C3B8F; Thu, 13 Oct 2005 13:07:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by livecd.ugcs.caltech.edu (Postfix) with ESMTP id 87FC91C3B86; Thu, 13 Oct 2005 13:07:41 -0700 (PDT) Date: Thu, 13 Oct 2005 13:07:41 -0700 (PDT) From: Jon Dama To: amd64@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@freebsd.org Subject: [6.0b5/amd64] ls /otherdir/dev induces panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 14 Oct 2005 09:07:20 -0000 The following sequence induces an instant panic: 1) machine just up, no load 2) mount_devfs devfs /test/dev 3) chroot /test /bin/sh 4) ls /dev *PANIC* panic: kmem_malloc(-1905729536): kmem_map too small: 6881290 total allocated Dumping 8191 MB (3 chunks) chunk 0: 1MB (156 pages) ( dump fails to finish ) Kernel: GENERIC AMD64 6.0 Beta 5 I am aware of the VM_KMEM_SIZE_MAX kernel setting, but thought I'd drop a line on the list now because kmem_malloc(-1905729536) seems rather unusual to me. Thanks, Jon sysctl -a | grep kmem vm.kmem_size_scale: 3 vm.kmem_size_max: 419430400 vm.kmem_size: 419430400 Copyright (c) 1992-2005 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 6.0-BETA5 #0: Sat Oct 8 15:44:03 PDT 2005 xxx@xxxx:/usr/obj/usr/src/sys/SHELL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 250 (2390.61-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf5a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 real memory = 9663676416 (9216 MB) avail memory = 8285224960 (7901 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 10 on acpi0 pci_link2: irq 0 on acpi0 pci_link3: irq 9 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci3: on pcib1 ohci0: mem 0xfc8fd000-0xfc8fdfff irq 19 at devic e 0.0 on pci3 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfc8fe000-0xfc8fefff irq 19 at devic e 0.1 on pci3 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xbc00-0xbc07,0xb800-0xb803,0xb400-0 xb407,0xb000-0xb003,0xac00-0xac0f mem 0xfc8ffc00-0xfc8fffff irq 17 at device 11. 0 on pci3 ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 ata5: on atapci0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376, 0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci1 ata1: on atapci1 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pci0: at device 7.5 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem 0xfc6f0000-0xfc6 fffff irq 24 at device 9.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge0: Ethernet address: 00:e0:81:2d:a3:dc pci0: at device 10.1 (no driver attached ) pcib3: at device 11.0 on pci0 pci1: on pcib3 pci0: at device 11.1 (no driver attached ) pcib4: on acpi0 pci4: on pcib4 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci4 pcib5: at device 1.0 on pci4 pci5: on pcib5 pci5: at device 0.0 (no driver attached) acpi_button0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi 0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: at iomem 0xc0000-0xc97ff,0xc9800-0xcdfff on isa0 atkbdc0: at port 0x60,0x64 on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub2: NMB Dell USB Keyboard Hub, class 9/0, rev 1.10/0.01, addr 2 uhub2: 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 uhid0: NMB Dell USB 7HK Keyboard, rev 1.10/0.01, addr 3, iclass 3/1 Timecounters tick every 1.000 msec acd0: CDROM at ata1-master PIO3 ad6: 70911MB at ata3-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad6s1a