From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 20:32:05 2005 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 76CA716A4CF for ; Thu, 28 Apr 2005 20:32:05 +0000 (GMT) Received: from oneplusone.ch (oneplusone.ch [212.55.208.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AFA243D54 for ; Thu, 28 Apr 2005 20:32:04 +0000 (GMT) (envelope-from ast@marabu.ch) Received: from oneplusone.ch (localhost [127.0.0.1]) by oneplusone.ch (8.13.3/8.13.3) with ESMTP id j3SKW274043454 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Apr 2005 22:32:02 +0200 (CEST) (envelope-from ast@marabu.ch) Received: (from uucp@localhost) by oneplusone.ch (8.13.3/8.13.3/Submit) with UUCP id j3SKW1KB043453 for stable@freebsd.org; Thu, 28 Apr 2005 22:32:01 +0200 (CEST) (envelope-from ast@marabu.ch) Received: from marabu.marabu.ch (marabu.marabu.ch [192.168.21.3]) by pano.marabu.ch (8.13.3/8.13.3) with ESMTP id j3SKUkqA000308 for ; Thu, 28 Apr 2005 22:30:47 +0200 (CEST) (envelope-from ast@marabu.marabu.ch) Received: by marabu.marabu.ch (8.7.5/20001028-ast-8.4) id WAA08207; Thu, 28 Apr 2005 22:30:45 +0200 (CEST) Message-Id: <200504282030.WAA08207@marabu.marabu.ch> MIME-Version: 1.0 (NeXT Mail 3.3 v124.8483.6) Content-Type: text/plain X-Nextstep-Mailer: Mail 3.3 (Enhance 2.0b6) Received: by NeXT.Mailer (1.124.8483.6) From: Adrian Steinmann Date: Thu, 28 Apr 2005 22:30:42 +0200 To: stable@freebsd.org X-Organization: Webgroup Consulting AG, Apollostrasse 21, 8032 Zurich X-Phone-Numbers: Switzerland, Tel +41 1 380 30 83 Fax +41 1 380 30 85 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (oneplusone.ch [127.0.0.1]); Thu, 28 Apr 2005 22:32:02 +0200 (CEST) X-Mailfilter: egfilter version 1.2.4.28; Archiver [msg.50ZIfQAt] (oneplusone.ch [127.0.0.1]); Thu, 28 Apr 2005 22:32:02 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.7; VDF: 6.30.0.141; host: oneplusone.ch) Subject: unexpected panic in idle process (RELENG_5 2005/04/25UTC) 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: Thu, 28 Apr 2005 20:32:05 -0000 I've been running RELENG_5 -D2005/04/25UTC on a CF-based system (PC Engines WRAP.1C v1.03; 640 KB Base Memory; 130048 KB Extended Memory) CF: 01F0 Master 848A Hitachi XX.V.3.4.0.0 Phys C/H/S 978/8/32 Log C/H/S 978/8/32 ... CPU: Geode(TM) Integrated Processor by National Semi (266.64-MHz 586-class CPU) Origin = "Geode by NSC" Id = 0x540 Stepping = 0 Features=0x808131 ... after a few hours (mainly idle and ntpd), I was surprised to note on the console: Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x8:0xc05e8ca2 stack pointer = 0x10:0xc7499d10 frame pointer = 0x10:0xc7499d10 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 = 11 (idle) [thread pid 11 tid 100003 ] Stopped at cpu_idle_default+0x5: leave I've got: db> where Tracing pid 11 tid 100003 td 0xc0ac6480 cpu_idle_default(c0ac5c5c,c7499d34,c049e404,0,c7499d48) at cpu_idle_default+0x5 idle_proc(0,c7499d48,0,c049e628,0) at idle_proc+0x11 fork_exit(c049e628,0,c7499d48) at fork_exit+0x6f fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xc7499d7c, ebp = 0 --- db> ps pid proc uid ppid pgrp flag stat wmesg wchan cmd 931 c109e000 1001 930 931 0004002 [SLPQ ttyin 0xc0b65a10][SLP] bash 930 c109e1c4 1001 928 928 0000100 [SLPQ select 0xc0674e24][SLP] sshd 928 c109ea98 0 831 928 0000100 [SLPQ sbwait 0xc0f49974][SLP] sshd 927 c10a21c4 0 1 927 0004002 [SLPQ ttyin 0xc0abea10][SLP] getty 853 c0b50710 0 1 853 0000000 [SLPQ nanslp 0xc067182c][SLP] cron 841 c0bf7710 25 1 841 0000100 [SLPQ pause 0xc0bf7748][SLP] sendmail 837 c0b508d4 0 1 837 0000100 [SLPQ select 0xc0674e24][SLP] sendmail 831 c0b501c4 0 1 831 0000100 [SLPQ select 0xc0674e24][SLP] sshd 818 c0b50388 0 1 818 0000000 [SLPQ select 0xc0674e24][SLP] ntpd 710 c0bf7000 0 1 710 0000000 [SLPQ select 0xc0674e24][SLP] syslogd 101 c0b50c5c 0 0 0 0000204 [SLPQ mdwait 0xc0bf8d00][SLP] md2 91 c0bf754c 0 0 0 0000204 [SLPQ mdwait 0xc0c23a00][SLP] md1 71 c0bf7388 0 0 0 0000204 [SLPQ mdwait 0xc0c23600][SLP] md0 46 c0afaa98 0 0 0 0000204 [SLPQ - 0xc74dbd0c][SLP] schedcpu 45 c0afac5c 0 0 0 0000204 [SLPQ - 0xc067db2c][SLP] nfsiod 3 44 c0afae20 0 0 0 0000204 [SLPQ - 0xc067db28][SLP] nfsiod 2 43 c0b4c000 0 0 0 0000204 [SLPQ - 0xc067db24][SLP] nfsiod 1 42 c0b4c1c4 0 0 0 0000204 [SLPQ - 0xc067db20][SLP] nfsiod 0 41 c0b4c388 0 0 0 0000204 [SLPQ syncer 0xc06715ac][SLP] syncer 40 c0b4c54c 0 0 0 0000204 [SLPQ vlruwt 0xc0b4c54c][SLP] vnlru 39 c0b4c710 0 0 0 0000204 [SLPQ psleep 0xc06753ec][SLP] bufdaemon 38 c0b4c8d4 0 0 0 0000204 [SLPQ pollid 0xc066f184][SLP] idlepoll 37 c0b4ca98 0 0 0 000020c [SLPQ pgzero 0xc0684554][SLP] pagezero 9 c0b4cc5c 0 0 0 0000204 [SLPQ psleep 0xc0684564][SLP] pagedaemon 36 c0b4ce20 0 0 0 0000204 [IWAIT] swi0: sio 8 c0b50000 0 0 0 0000204 [SLPQ - 0xc0b34d80][SLP] thread taskq 35 c0ae854c 0 0 0 0000204 [IWAIT] swi6:+ 7 c0ae8710 0 0 0 0000204 [SLPQ - 0xc0b34e40][SLP] kqueue taskq 34 c0ae88d4 0 0 0 0000204 [IWAIT] swi3: cambio 33 c0ae8a98 0 0 0 0000204 [IWAIT] swi2: camnet 32 c0ae8c5c 0 0 0 0000204 [IWAIT] swi6: task queue 31 c0ae8e20 0 0 0 0000204 [IWAIT] swi6:+ 30 c0afa000 0 0 0 0000204 [SLPQ - 0xc06676c0][SLP] yarrow 6 c0afa1c4 0 0 0 0000204 [SLPQ crypto_ret_wait 0xc0683584][SLP] crypto returns 5 c0afa388 0 0 0 0000204 [SLPQ crypto_wait 0xc0683544][SLP] crypto 4 c0afa54c 0 0 0 0000204 [SLPQ - 0xc066ba68][SLP] g_down 3 c0afa710 0 0 0 0000204 [SLPQ - 0xc066ba64][SLP] g_up 2 c0afa8d4 0 0 0 0000204 [SLPQ - 0xc066ba5c][SLP] g_event 29 c0acc1c4 0 0 0 0000204 [IWAIT] swi1: net 28 c0acc388 0 0 0 0000204 [IWAIT] swi4: vm 27 c0acc54c 0 0 0 000020c [RUNQ] swi5: clock sio 26 c0acc710 0 0 0 0000204 [IWAIT] irq15: ata1 25 c0acc8d4 0 0 0 0000204 [IWAIT] irq14: ata0 24 c0acca98 0 0 0 0000204 [IWAIT] irq13: 23 c0accc5c 0 0 0 0000204 [IWAIT] irq12: hifn0 22 c0acce20 0 0 0 0000204 [IWAIT] irq11: sis2 21 c0ae8000 0 0 0 0000204 [IWAIT] irq10: sis0 20 c0ae81c4 0 0 0 0000204 [IWAIT] irq9: sis1 19 c0ae8388 0 0 0 0000204 [IWAIT] irq8: rtc 18 c0ac5000 0 0 0 0000204 [IWAIT] irq7: 17 c0ac51c4 0 0 0 0000204 [IWAIT] irq6: 16 c0ac5388 0 0 0 0000204 [IWAIT] irq5: 15 c0ac554c 0 0 0 0000204 [IWAIT] irq4: sio0 14 c0ac5710 0 0 0 0000204 [IWAIT] irq3: 13 c0ac58d4 0 0 0 0000204 [IWAIT] irq1: 12 c0ac5a98 0 0 0 0000204 [IWAIT] irq0: clk 11 c0ac5c5c 0 0 0 000020c [CPU 0] idle 1 c0ac5e20 0 0 1 0004200 [SLPQ wait 0xc0ac5e20][SLP] init 10 c0acc000 0 0 0 0000204 [SLPQ ktrace 0xc066f7d8][SLP] ktrace 0 c066bb00 0 0 0 0000200 [SLPQ sched 0xc066bb00][SLP] swapper db> unfortunately, I won't be able to take a dump because the CF has no swap. Anyone have an idea what this could be, and what I could type into db> to get further info? One thing that I changed on this HW yesterday was to add a Mini-PCI HiFn card: hifn0 mem 0x80040000-0x80040fff,0x80000000-0x80000fff irq 12 at device 13.0 on pci0 hifn0: Hifn 7951, rev 0, 128KB sram before that change, earlier RELENG_5 systems didn't demonstrate any such an "idle" panic on said HW. non-verbose dmesg and kernel config image are available, and I will leave the db> there, awaiting suggestions. Adrian