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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 134217728 (128 MB) avail memory = 121765888 (116 MB) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0x44000000-0x47ffffff at device 0.0 on pci0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) fxp0: <Intel 82558 Pro/100 Ethernet> port 0x2000-0x201f mem 0x40200000-0x40200fff,0x40100000-0x401fffff irq 11 at device 10.0 on pci0 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:c7:c3:64:df pci0: <simple comms> at device 14.0 (no driver attached) isab0: <PCI-ISA bridge> at device 20.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2040-0x204f at device 20.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2020-0x203f irq 11 at device 20.2 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <PIIX Timecounter> port 0xfc00-0xfc0f at device 20.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xe0000-0xe7fff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> 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: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: <PNP0401> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0700> can't assign resources (port) unknown: <PNP0c01> can't assign resources (memory) unknown: <PNP0303> can't assign resources (port) unknown: <PNP0c02> can't assign resources (port) unknown: <PNP0c02> can't assign resources (port) Timecounter "TSC" frequency 397949172 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB <Seagate ST3160023A 3.06> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> 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 <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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: <Generic Clone> 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) _at_ kern/kern_descrip.c:2275 2nd 0xc15c582c filedesc structure (filedesc structure) _at_ 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>Received on Wed Aug 31 2005 - 17:13:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC