From owner-freebsd-stable@FreeBSD.ORG Wed Feb 15 09:25:17 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D368010657C1 for ; Wed, 15 Feb 2012 09:25:17 +0000 (UTC) (envelope-from markiyan.kushnir@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4ABF58FC12 for ; Wed, 15 Feb 2012 09:25:17 +0000 (UTC) Received: by eaan10 with SMTP id n10so301958eaa.13 for ; Wed, 15 Feb 2012 01:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=v4D76ruc5cj+Oe8KtpIjtFuGWUF46U7YcxLDgR/fBso=; b=aQXlV0P8qEi3yFfVBsn3qOZUTZTZB4EuSvw8PdExbd28K69HqB/Y1UyxrvMFuO1Ezj cnUo2Oo5oZWBD3E6g0r3kpPYvEqPVeUZ6ABXJ4DRlL+jM5KqInsAH+b4ggTlySKs/23+ ARXyYRWgqcqLt0uHHEjRexdEnNDHnJSxWCLxo= Received: by 10.213.112.139 with SMTP id w11mr1150274ebp.94.1329296369056; Wed, 15 Feb 2012 00:59:29 -0800 (PST) Received: from mkushnir.zapto.org (182-65-95-178.pool.ukrtel.net. [178.95.65.182]) by mx.google.com with ESMTPS id n17sm8953828eei.3.2012.02.15.00.59.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Feb 2012 00:59:28 -0800 (PST) Message-ID: <4F3B745A.4010509@gmail.com> Date: Wed, 15 Feb 2012 11:01:14 +0200 From: Markiyan Kushnir User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120212 Thunderbird/10.0 MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: RELENG_8 panic caused by urtw? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 09:25:17 -0000 Hello, [First seen on RELENG_9,] then (trying to get back to 8) on RELENG_8, both csup'ed around Feb. 10. Now worked around by turning the RTL8187L off in the BIOS. %uname -a FreeBSD mkushnir.zapto.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Feb 11 19:39:29 EET 2012 root@mkushnir.zapto.org:/usr/obj/usr/RELENG_8/src/sys/MAREK amd64 Below are the panic info and the full dmesg preceding the panic. Please let me know if there is anything more I could provide. [From my quick source code analysis, it looks like the driver fails to recognize the device in if_urtw.c, urtw_get_rfchip(), although later proceeds with the attach, which seems not quite logical... Correct behavior would probably be to not attach at all.] crash info: ----------- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x28 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff803eff25 stack pointer = 0x28:0xffffff807df08950 frame pointer = 0x28:0xffffff807df08980 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 14 (usbus3) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at kdb_backtrace+0x37 panic() at panic+0x187 trap_fatal() at trap_fatal+0x290 trap_pfault() at trap_pfault+0x201 trap() at trap+0x3df calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff803eff25, rsp = 0xffffff807df08950, rbp = 0xffffff807df08980 --- ifindex_alloc_locked() at ifindex_alloc_locked+0x25 if_alloc() at if_alloc+0x71 urtw_attach() at urtw_attach+0x63e device_attach() at device_attach+0x69 usb_probe_and_attach() at usb_probe_and_attach+0x1f9 uhub_explore() at uhub_explore+0x4a1 usb_bus_explore() at usb_bus_explore+0xdc usb_process() at usb_process+0xd5 fork_exit() at fork_exit+0x11f fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffff807df08d00, rbp = 0 --- Uptime: 9s Dumping 441 out of 8179 MB:..4%..11%..22%..33%..44%..51%..62%..73%..84%..91% dmesg: ------ Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.2-STABLE #0: Fri Feb 10 21:45:38 EET 2012 root@:/usr/obj/usr/src/sys/MAREK amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz (2940.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x1067a Family = 6 Model = 17 Stepping = 10 Features=0xbfebfbff Features2=0x408e3bd AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8261365760 (7878 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. ioapic0 irqs 0-23 on motherboard ichwd module loaded kbd1 at kbdmux0 smbios0: at iomem 0xfc360-0xfc37e on motherboard smbios0: Version: 2.4, BCD Revision: 2.4 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of e0000, 20000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - 0x7E, should be 0x75 (20101013/tbutils-354) cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xcc00-0xcc7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1 uhci0: port 0xb800-0xb81f irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 uhci1: port 0xb880-0xb89f irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2f00 usbus1: on uhci1 uhci2: port 0xbc00-0xbc1f irq 18 at device 26.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x2f00 usbus2: on uhci2 ehci0: mem 0xf9fffc00-0xf9ffffff irq 18 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 hdac0: mem 0xf9ff8000-0xf9ffbfff irq 22 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib2: irq 17 at device 28.0 on pci0 pci3: on pcib2 pcib3: irq 16 at device 28.5 on pci0 pci2: on pcib3 mskc0: port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 17 at device 0.0 on pci2 msk0: on mskc0 msk0: Ethernet address: 00:1b:fc:6a:d1:42 miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow mskc0: [ITHREAD] uhci3: port 0xb080-0xb09f irq 23 at device 29.0 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x2f00 usbus4: on uhci3 uhci4: port 0xb400-0xb41f irq 19 at device 29.1 on pci0 uhci4: [ITHREAD] uhci4: LegSup = 0x2f00 usbus5: on uhci4 uhci5: port 0xb480-0xb49f irq 18 at device 29.2 on pci0 uhci5: [ITHREAD] uhci5: LegSup = 0x2f00 usbus6: on uhci5 ehci1: mem 0xf9fff800-0xf9fffbff irq 23 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci1 pcib4: at device 30.0 on pci0 pci4: on pcib4 fwohci0: port 0xec00-0xec7f mem 0xfebff800-0xfebfffff irq 18 at device 2.0 on pci4 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:06:66:45:55:7c:a3 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x155c000 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode fwohci1: mem 0xfebfe000-0xfebfefff irq 19 at device 3.0 on pci4 fwohci1: [ITHREAD] fwohci1: OHCI version 1.0 (ROM=1) fwohci1: No. of Isochronous channels is 8. fwohci1: EUI64 00:11:d8:00:01:4f:cd:f6 fwohci1: Phy 1394a available S400, 2 ports. fwohci1: Link S400, max_rec 2048 bytes. firewire1: on fwohci1 dcons_crom1: on firewire1 dcons_crom1: bus_addr 0x155c000 dcons_crom1: dcons_paddr is already set fwohci1: Initiate bus reset fwohci1: fwohci_intr_core: BUS reset fwohci1: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode re0: port 0xe800-0xe8ff mem 0xfebff400-0xfebff4ff irq 16 at device 4.0 on pci4 re0: Chip rev. 0x18000000 re0: MAC rev. 0x00000000 miibus1: on re0 rgephy0: PHY 1 on miibus1 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 00:1b:fc:6a:c5:84 re0: [FILTER] isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa41f mem 0xf9ffe800-0xf9ffefff irq 22 at device 31.2 on pci0 ahci0: [ITHREAD] ahci0: AHCI v1.20 with 6 3Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] ahcich2: at channel 2 on ahci0 ahcich2: [ITHREAD] ahcich3: at channel 3 on ahci0 ahcich3: [ITHREAD] ahcich4: at channel 4 on ahci0 ahcich4: [ITHREAD] ahcich5: at channel 5 on ahci0 ahcich5: [ITHREAD] ichsmb0: port 0x400-0x41f mem 0xf9fff400-0xf9fff4ff irq 18 at device 31.3 on pci0 ichsmb0: [ITHREAD] smbus0: on ichsmb0 smb0: on smbus0 acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ichwd0: on isa0 ichwd0: Intel ICH9R watchdog timer (ICH9 or equivalent) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 ZFS filesystem version 5 ZFS storage pool version 28 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding disabled, default to deny, logging firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 firewire1: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire1: bus manager 0 disabled hdac0: HDA Codec #0: Analog Devices AD1988B pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-7 SATA 1.x device ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 3.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) cd0 at ahcich4 bus 0 scbus4 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closedSMP: AP CPU #1 Launched! GEOM: ada0s3: geometry does not match label (255h,63s != 16h,63s). uhub0: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered Root mount waiting for: usbus7 usbus3 Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered Root mount waiting for: usbus7 usbus3 ugen3.2: at usbus3 Trying to mount root from ufs:/dev/ada1s1a Setting hostuuid: a0900011-d800-014f-cdf6-001bfc6ac584. Setting hostid: 0x86be90f6. Entropy harvesting: interrupts ethernet point_to_point kickstart . Starting file system checks: /dev/ada1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada1s1a: clean, 221185 free (1137 frags, 27506 blocks, 0.2% fragmentation) /dev/ada1s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada1s1e: clean, 491565 free (53 frags, 61439 blocks, 0.0% fragmentation) /dev/ada1s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada1s1d: clean, 2305691 free (931 frags, 288095 blocks, 0.0% fragmentation) /dev/ada1s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada1s1f: clean, 306575787 free (215947 frags, 38294980 blocks, 0.0% fragmentation) /dev/ada0s3a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s3a: clean, 11006 free (502 frags, 1313 blocks, 0.2% fragmentation) /dev/ada0s3f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s3f: clean, 56793648 free (256080 frags, 7067196 blocks, 0.3% fragmentation) Mounting local file systems: . ugen6.2: at usbus6 ums0: on usbus6 ums0: 3 buttons and [XYZ] coordinates ID=0 Setting hostname: mkushnir.zapto.org . Starting Network: lo0 re0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xc inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 re0: flags=8843 metric 0 mtu 1500 options=209b ether 00:1b:fc:6a:c5:84 inet 10.1.1.10 netmask 0xffffff00 broadcast 10.1.1.255 media: Ethernet autoselect (none) status: no carrier Starting PPP profile: ukrtelecom . Additional routing options: IP gateway=YES . Starting devd. WARNING: attempt to domain_add(netgraph) after domainfinalize() urtw0: on usbus3 urtw0: unknown RTL8187L type: 0x8000000 Starting ums0 moused . Generating host.conf. Warning: kernel has firewall functionality, but firewall rules are not enabled. All ip services are disabled. Creating and/or trimming log files . Starting syslogd. savecore: reboot after panic: page fault Feb 10 22:33:21 mkushnir savecore: reboot after panic: page fault savecore: writing core to vmcore.7 urtw0: rtl8187l rf rtl8225u hwrev none re0: link state changed to UP Thanks, -- Markiyan