From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 19:13:39 2005 Return-Path: X-Original-To: freebsd-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 DFA9816A41F for ; Wed, 31 Aug 2005 19:13:39 +0000 (GMT) (envelope-from lists@masterplan.org) Received: from corona.resourcechain.com (207-34-127-10.ip.cal.radiant.net [207.34.127.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5990243D45 for ; Wed, 31 Aug 2005 19:13:39 +0000 (GMT) (envelope-from lists@masterplan.org) Received: from f1.masterplan.org (S01060800200525a9.cg.shawcable.net [68.144.69.51]) by corona.resourcechain.com (8.13.3/8.13.3) with ESMTP id j7VJDUbe091108 for ; Wed, 31 Aug 2005 13:13:31 -0600 (MDT) (envelope-from lists@masterplan.org) Received: from f1.masterplan.org (localhost [127.0.0.1]) by f1.masterplan.org (8.13.3/8.13.3) with ESMTP id j7VJDNBv022461 for ; Wed, 31 Aug 2005 13:13:23 -0600 (MDT) (envelope-from lists@masterplan.org) Received: from localhost (lists@localhost) by f1.masterplan.org (8.13.3/8.13.3/Submit) with ESMTP id j7VJDMOk022458 for ; Wed, 31 Aug 2005 13:13:23 -0600 (MDT) (envelope-from lists@masterplan.org) X-Authentication-Warning: f1.masterplan.org: lists owned process doing -bs Date: Wed, 31 Aug 2005 13:13:22 -0600 (MDT) From: Jason George X-X-Sender: lists@f1 To: freebsd-current@freebsd.org Message-ID: <20050831130543.C22426@f1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, score=0.2 required=5.0 tests=FORGED_RCVD_HELO, RCVD_IN_SORBS_DUL autolearn=no version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on corona.resourcechain.com X-Mailman-Approved-At: Thu, 01 Sep 2005 11:35:28 +0000 Subject: 6.0-BETA3 and Asterisk 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: Wed, 31 Aug 2005 19:13:40 -0000 I have been messing around with 6.0-BETA3, the ZapTel driver and Asterisk, all running on one of my scratch machines. I have been running 6.0-BETA? on this machine for a few weeks now. No issues there. The zaptel driver appears to load fine. Starting up Asterisk (built from the port) causes the machine to panic. I've attached the full dmesg. If anyone wants me to probe some specifics within the debugger, please let me know. --Jason OK boot GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb 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-BETA3 #2: Tue Aug 30 13:23:07 MDT 2005 jbg@ingenuity.resourcechain.com:/v00/opt/FreeBSD/FreeBSD-6/src/sys/i386/compile/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (397.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134217728 (128 MB) avail memory = 121765888 (116 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0x44000000-0x47ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) fxp0: port 0x2000-0x201f mem 0x40200000-0x40200fff,0x40100000-0x401fffff irq 11 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:c7:c3:64:df pci0: at device 14.0 (no driver attached) isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2040-0x204f at device 20.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0x2020-0x203f irq 11 at device 20.2 on pci0 uhci0: [GIANT-LOCKED] 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 piix0: port 0xfc00-0xfc0f at device 20.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xe0000-0xe7fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 397949172 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB at ata0-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted /: mount pending error: blocks 72 files 25 Loading configuration files. kenv: unable to get dumpdev kernel dumps on /dev/ad0s1b Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ad0s1b as swap device Starting file system checks: /dev/ad0s1a: INCORRECT BLOCK COUNT I=1177725 (4 should be 0) (CORRECTED) /dev/ad0s1a: INCORRECT BLOCK COUNT I=1177727 (4 should be 0) (CORRECTED) /dev/ad0s1a: UNREF FILE I=1177721 OWNER=root MODE=100644 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 06:58 2005 (CLEARED) /dev/ad0s1a: UNREF FILE I=1177722 OWNER=root MODE=100644 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 12:58 2005 (CLEARED) /dev/ad0s1a: UNREF FILE I=1177723 OWNER=root MODE=140755 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 12:58 2005 (CLEARED) /dev/ad0s1a: UNREF FILE I=1177724 OWNER=root MODE=140755 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 12:58 2005 (CLEARED) /dev/ad0s1a: UNREF FILE I=1177725 OWNER=root MODE=100644 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 12:58 2005 (CLEARED) /dev/ad0s1a: UNREF FILE I=1177726 OWNER=root MODE=140755 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 12:58 2005 (CLEARED) /dev/ad0s1a: UNREF FILE I=1177727 OWNER=root MODE=100644 /dev/ad0s1a: SIZE=0 MTIME=Aug 31 12:58 2005 (CLEARED) /dev/ad0s1a: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/ad0s1a: SUMMARY INFORMATION BAD (SALVAGED) /dev/ad0s1a: BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/ad0s1a: 21720 files, 471895 used, 4605184 free (5576 frags, 574951 blocks, 0.1% fragmentation) /dev/ad0s1d: DEFER FOR BACKGROUND CHECKING WARNING: /v00 was not properly dismounted Setting hostname: ingenuity.resourcechain.com. fxp0: link state changed to UP fxp0: flags=8843 mtu 1500 options=8 inet 192.168.4.3 netmask 0xffffff00 broadcast 192.168.4.255 inet6 fe80::208:c7ff:fec3:64df%fxp0 prefixlen 64 tentative scopeid 0x1 ether 00:08:c7:c3:64:df media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 add net default: gateway 192.168.4.8 Additional routing options:. Starting devd. Mounting NFS file systems:. Creating and/or trimming log files:. Starting syslogd. Checking for core dump on /dev/ad0s1b... savecore: unable to open bounds file, using 0 savecore: no dumps found Starting rpcbind. NFS access cache time=2 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Starting mountd. Starting nfsd. Starting statd. Starting lockd. Starting usbd. Starting local daemons:. Updating motd. Configuring syscons: blanktime. Starting sshd. Starting sendmail. Initial i386 initialization:. Additional ABI support:. Starting cron. Local package initialization:Starting asterisk. Starting rsyncd. Zapata Telephony Interface Registered on major 196 ZapTel device: vendor=e159 device=1 subvendor=8086 wcfxo0: port 0x2400-0x24ff mem 0x42000000-0x42000fff irq 11 at device 14.0 on pci0 ZapTel Attach for wcfxo0: deviceID : 0xe159 wcfxo0: [GIANT-LOCKED] lock order reverswcfxo: DAA mode is 'FCC' Found a Wildcard FXO: Generic Clone ZapTel device loaded. al 1st 0xc12df4b4 sleep mtxpool (sleep mtxpool) @ kern/kern_descrip.c:2275 2nd 0xc15c582c filedesc structure (filedesc structure) @ kern/kern_descrip.c:2276 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c09331f8,c0933ae0,c08bdba4) at kdb_backtrace+0x29 witness_checkorder(c15c582c,9,c08562a4,8e4) at witness_checkorder+0x564 _mtx_lock_flags(c15c582c,0,c085629b,8e4) at _mtx_lock_flags+0x5b dupfdopen(c15c3780,c15c5800,b,c,3) at dupfdopen+0x310 kern_open(c15c3780,28403e6a,0,3,0) at kern_open+0x134 open(c15c3780,ccaaed04,3,1,246) at open+0x1a syscall(3b,3b,3b,80d7000,0) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (5, FreeBSD ELF32, open), eip = 0x282c3797, esp = 0xbfbfe7bc, ebp = 0xbfbfe7e8 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0616467 stack pointer = 0x28:0xccaa8b90 frame pointer = 0x28:0xccaa8bf4 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 = 458 (asterisk) [thread pid 458 tid 100087 ] Stopped at closef+0x23: cmpl $0,0x10(%edi) db> trace Tracing pid 458 tid 100087 td 0xc15c3480 closef(c1514510,c15c3480) at closef+0x23 fdfree(c15c3480,c15c4d94,0,c085ccf7,6b3) at fdfree+0x473 exit1(c15c3480,100,ccaa8d30,c07f15fb,c15c3480) at exit1+0x3f6 exit1(c15c3480,ccaa8d04,1,0,296) at exit1 syscall(3b,3b,3b,14,80bdf20) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x282c1433, esp = 0xbfbfeacc, ebp = 0xbfbfeae8 --- db>