From owner-freebsd-stable@FreeBSD.ORG Tue Nov 11 00:51:58 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9194616A4CF for ; Tue, 11 Nov 2003 00:51:58 -0800 (PST) Received: from smtp.felvi.hu (smtp.felvi.hu [193.6.241.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10AA443FE0 for ; Tue, 11 Nov 2003 00:51:53 -0800 (PST) (envelope-from kovacs.janos@ofi.hu) Received: by smtp.felvi.hu (Postfix, from userid 7007) id 4F9B313F20F; Tue, 11 Nov 2003 09:49:29 +0100 (CET) To: freebsd-stable@freebsd.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: "=?iso-8859-1?Q?Kov=E1cs_J=E1nos?=" Date: Tue, 11 Nov 2003 09:51:50 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Subject: kernel panic on jailed sshd - 4.9-release X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 08:51:58 -0000 Hi! Just installed 4.9-RELEASE with jailed sshd over a null-mounted (bin, dev,etc,usr) dirs crashing. It's an IBM xSeries 345 with SMP with HT. (dmesg at the end) The only one thing configured is a multi-VLAN interface. In the jail's dev there was MAKEDEV jail. The last debug msg from sshd is: Allocating pty. The crash also happen with non-SMP kernel. The same things was OK on 4.8. The same way jailed other services (bind, djbdns, oops, ...) works fine. What else i should debug or what to show? Any idea what wrong I do? KJ. the kernel msg: SMP 4 cpus IdlePTD at phsyical address 0x0054d000 initial pcb at physical address 0x004767e0 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xc025863f stack pointer = 0x10:0xf70dbe44 frame pointer = 0x10:0xf70dbe50 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 230 (sshd) interrupt mask = none <- SMP: XXX trap number = 12 panic: page fault mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 syncing disks... 9 done (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc0228cc3 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc022911c in poweroff_wait (junk=0xc040a039, howto=-1069507857) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc038b1b8 in trap_fatal (frame=0xf70dbe04, eva=16) at /usr/src/sys/i386/i386/trap.c:974 #4 0xc038ae49 in trap_pfault (frame=0xf70dbe04, usermode=0, eva=16) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc038a9e7 in trap (frame={tf_fs = -150732776, tf_es = 16, tf_ds = -397082608, tf_edi = -397032096, tf_esi = 0, tf_ebp = -150094256, tf_isp = -150094288, tf_ebx = -149905344, tf_edx = -1069059496, tf_ecx = 1, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071282625, tf_cs = 8, tf_eflags = 66118, tf_esp = -1069059496, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc025863f in vcount (vp=0xf710a040) at /usr/src/sys/kern/vfs_subr.c:2140 #7 0xc025d736 in revoke (p=0xe855c560, uap=0xf70dbf80) at /usr/src/sys/kern/vfs_syscalls.c:3152 #8 0xc038b4e9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134643163, tf_esi = -1077939964, tf_ebp = -1077939952, tf_isp = -150093868, tf_ebx = 673097428, tf_edx = -1, tf_ecx = 30, tf_eax = 56, tf_trapno = 12, tf_err = 2, tf_eip = 673462888, tf_cs = 31, tf_eflags = 647, tf_esp = -1077940028, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 #9 0xc037641b in Xint0x80_syscall () dmesg: Copyright (c) 1992-2003 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.9-RELEASE #5: Mon Nov 10 17:59:47 CET 2003 root@foo.felvi.hu:/usr/obj/usr/src/sys/KAAMOS Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.90-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2147397632 (2097068K bytes) avail memory = 2086113280 (2037220K bytes) APIC_IO: MP table broken: 8259->APIC entry missing! Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 Programming 16 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000 io2 (APIC): apic id: 12, version: 0x000f0011, at 0xfec02000 Preloaded elf kernel "kernel" at 0xc052e000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #1 intpin 10 -> irq 2 pci0: on pcib0 pci0: at 6.0 irq 2 atapci0: port 0x700-0x70f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0xfebfe000-0xfebfefff irq 3 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on motherboard pci1: on pcib1 pcib2: on motherboard IOAPIC #1 intpin 4 -> irq 4 pci2: on pcib2 em0: mem 0xfbfd0000-0xfbfdffff,0xfbfe0000-0xfbffffff irq 4 at device 3.0 on pci2 em0: Speed:1000 Mbps Duplex:Full pcib3: on motherboard pci3: on pcib3 pcib4: on motherboard IOAPIC #1 intpin 6 -> irq 5 pci4: on pcib4 aac0: mem 0xf0000000-0xf7ffffff irq 5 at device 4.0 on pci4 aac0: i960RX 100MHz, 112MB cache memory, optional battery present aac0: Kernel 4.0-0, Build 6008, S/N b8b31a aac0: Supported Options=1f7e pcib5: on motherboard pci5: on pcib5 pcib6: on motherboard IOAPIC #1 intpin 13 -> irq 7 IOAPIC #1 intpin 14 -> irq 9 pci6: on pcib6 em1: port 0x2500-0x253f mem 0xeefe0000-0xeeffffff irq 7 at device 8.0 on pci6 em1: Speed:N/A Duplex:N/A em2: port 0x2540-0x257f mem 0xeefc0000-0xeefdffff irq 9 at device 8.1 on pci6 em2: Speed:N/A Duplex:N/A pcib8: on motherboard IOAPIC #1 intpin 11 -> irq 10 IOAPIC #1 intpin 12 -> irq 11 pci8: on pcib8 mpt0: port 0x2600-0x26ff mem 0xecfe0000-0xecfeffff,0xecff0000-0xecffffff irq 10 at device 7.0 on pci8 mpt1: port 0x2700-0x27ff mem 0xecfc0000-0xecfcffff,0xecfd0000-0xecfdffff irq 11 at device 7.1 on pci8 orm0: