From nobody@FreeBSD.org Tue Jul 27 03:13:09 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 883011065674 for ; Tue, 27 Jul 2010 03:13:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 75DE38FC0C for ; Tue, 27 Jul 2010 03:13:08 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6R3D8mZ013503 for ; Tue, 27 Jul 2010 03:13:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o6R3D8j0013502; Tue, 27 Jul 2010 03:13:08 GMT (envelope-from nobody) Message-Id: <201007270313.o6R3D8j0013502@www.freebsd.org> Date: Tue, 27 Jul 2010 03:13:08 GMT From: Neko Chang To: freebsd-gnats-submit@FreeBSD.org Subject: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 148979 >Category: kern >Synopsis: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop >Confidential: no >Severity: serious >Priority: medium >Responsible: bschmidt >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 27 03:20:05 UTC 2010 >Closed-Date: Tue Aug 03 06:47:10 UTC 2010 >Last-Modified: Tue Aug 03 06:47:10 UTC 2010 >Originator: Neko Chang >Release: 8.1-STABLE amd64 >Organization: Taiwan >Environment: Copyright (c) 1992-2010 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.1-STABLE #0: Sun Jul 25 14:37:44 CST 2010 root@epopen.com:/usr/obj/usr/src/sys/EpopenKernel amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz (2261.02-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Family = 6 Model = 17 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3934015488 (3751 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 ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard Cuse4BSD v0.1.11 @ /dev/cuse ichwd module loaded acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_wmi0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x1800-0x1807 mem 0xf4000000-0xf43fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0 acpi_video0: on vgapci0 agp0: on vgapci0 agp0: detected 131068k stolen memory agp0: aperture size is 256M drm0: on vgapci0 info: [drm] MSI enabled 1 message(s) vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: mem 0xf4400000-0xf44fffff at device 2.1 on pci0 uhci0: port 0x1820-0x183f irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0x1840-0x185f irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0x1860-0x187f irq 19 at device 26.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 ehci0: mem 0xf4a04800-0xf4a04bff irq 19 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 hdac0: mem 0xf4800000-0xf4803fff irq 22 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib1: irq 17 at device 28.0 on pci0 pci2: on pcib1 pcib2: irq 17 at device 28.4 on pci0 pci7: on pcib2 mskc0: irq 16 at device 0.0 on pci7 msk0: on mskc0 msk0: disabling jumbo frame support msk0: Ethernet address: 00:1e:68:a9:7d:b7 miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto mskc0: [ITHREAD] pcib3: irq 16 at device 28.5 on pci0 pci8: on pcib3 pci8: at device 0.0 (no driver attached) uhci3: port 0x1880-0x189f irq 23 at device 29.0 on pci0 uhci3: [ITHREAD] usbus4: on uhci3 uhci4: port 0x18a0-0x18bf irq 19 at device 29.1 on pci0 uhci4: [ITHREAD] usbus5: on uhci4 uhci5: port 0x18c0-0x18df irq 18 at device 29.2 on pci0 uhci5: [ITHREAD] usbus6: on uhci5 ehci1: mem 0xf4a04c00-0xf4a04fff 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 pci10: on pcib4 fwohci0: <1394 Open Host Controller Interface> mem 0xff501000-0xff501fff,0xf4700000-0xf47007ff at device 1.0 on pci10 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:1b:24:00:01:1e:77:92 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:1b:24:1e:77:92 fwe0: Ethernet address: 02:1b:24:1e:77:92 fwip0: on firewire0 fwip0: Firewire address: 00:1b:24:00:01:1e:77:92 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode sdhci0: mem 0xf4700800-0xf47008ff at device 1.2 on pci10 sdhci0: 1 slot(s) allocated sdhci0: [ITHREAD] mmc0: on sdhci0 pci10: at device 1.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1818-0x181f,0x180c-0x180f,0x1810-0x1817,0x1808-0x180b,0x18e0-0x18ff mem 0xf4a04000-0xf4a047ff irq 19 at device 31.2 on pci0 atapci0: [ITHREAD] atapci0: AHCI v1.20 controller with 4 3Gbps ports, PM not supported ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] ichsmb0: port 0x1c00-0x1c1f irq 19 at device 31.3 on pci0 ichsmb0: [ITHREAD] smbus0: on ichsmb0 smb0: on smbus0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 ichwd0: on isa0 ichwd0: Intel ICH9M watchdog timer (ICH9 or equivalent) orm0: at iomem 0xd0000-0xd0fff,0xdf000-0xdffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 Timecounters tick every 1.000 msec vboxdrv: fAsync=0 offMin=0xe5 offMax=0x327 firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 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 ad4: 238475MB at ata2-master UDMA100 SATA 1.5Gb/s 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 acd0: DVDR at ata3-master UDMA33 SATA 1.5Gb/s hdac0: HDA Codec #0: Conexant CX20561 (Hermosa) hdac0: HDA Codec #1: Intel G45 HDMI pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 pcm3: at cad 1 nid 1 on hdac0 GEOM: ad4: partition 3 does not start on a track boundary. GEOM: ad4: partition 3 does not end on a track boundary. GEOM: ad4: partition 2 does not start on a track boundary. GEOM: ad4: partition 2 does not end on a track boundary. GEOM: ad4: partition 1 does not start on a track boundary. GEOM: ad4: partition 1 does not end on a track boundary. mmcsd0: 241MB at mmc0 25MHz/4bit GEOM: mmcsd0: partition 1 does not start on a track boundary. GEOM: mmcsd0: partition 1 does not end on a track boundary. uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ugen3.2: at usbus3 umass0: on usbus3 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe7:ata3:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe7:ata3:0:0:0): CAM status: SCSI Status Error (probe7:ata3:0:0:0): SCSI status: Check Condition (probe7:ata3:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) ugen7.2: at usbus7 (probe7:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe7:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe7:umass-sim0:0:0:0): SCSI status: Check Condition (probe7:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) pass0 at ata3 bus 0 scbus2 target 0 lun 0 pass0: Removable CD-ROM SCSI-0 device da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C) pass0: 33.000MB/s transfers SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s3a ugen4.2: at usbus4 Setting hostuuid: e0f6c98b-29c6-dc11-b6c2-001e68a97db7. Setting hostid: 0x3f30f98c. Entropy harvesting: interrupts ethernet point_to_point kickstart >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: From: chen neko To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Tue, 27 Jul 2010 11:38:24 +0800 Sorry, I don=E2=80=99t know why miss Description, and How-To-Repeat. Here, I add it. 1. Description: Hello FreeBSD team. In June, I upgraded to 8.1 prerelease amd64, All work fine. But I upgraded 8.1-STABLE amd64 yesterday, Cause kernel panic when kernel use ifconfig to confgure iwn device. Note: From 8.0, always /usr/src/sys/dev/acpica/acpi_pcib_acpi.c apply ACPI patch for TOSHIBA Under is panic log message... Fatal trap 12: page fault while in kernel mode cpuid =3D 1; acpi id =3D 01 fault virtual address =3D 0x18 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff8026546a stack pointer =3D 0x20:0xffffff80751df810 frame pointer =3D 0x20:0xffffff80751df870 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 57286 (ifconfig) trap number =3D 12 panic: page fault cpuid =3D 1 Uptime: 18s Cannot dump. Device not defined or unavailable. Automatic reboot in 15 seconds - press a key on the console to abort panic: bufwrite: buffer is not busy??? cpuid =3D 1 =3D=3D=3D End of panic log message =3D=3D=3D If I remove "device iwn" in mya kernel config file, Work fine. If need more information or debug, Please tell me Thanks very much. 2.How-To-Repeat: kernel config file "device iwn" exist. Please add to PR Thanks very much. Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jul 27 05:04:43 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=148979 Responsible-Changed-From-To: freebsd-net->bschmidt Responsible-Changed-By: bschmidt Responsible-Changed-When: Tue Jul 27 06:21:03 UTC 2010 Responsible-Changed-Why: mine. http://www.freebsd.org/cgi/query-pr.cgi?pr=148979 State-Changed-From-To: open->feedback State-Changed-By: bschmidt State-Changed-When: Tue Jul 27 06:21:41 UTC 2010 State-Changed-Why: Does the same happen if you use just the module? without "device iwn" in your kernel config? http://www.freebsd.org/cgi/query-pr.cgi?pr=148979 From: chen neko To: bug-followup@freebsd.org, bschmidt@freebsd.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Tue, 27 Jul 2010 14:38:33 +0800 >Synopsis: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop >State-Changed-From-To: open->feedback >State-Changed-By: bschmidt >State-Changed-When: Tue Jul 27 06:21:41 UTC 2010 >State-Changed-Why: >Does the same happen if you use just the module? without "device iwn" in >your kernel config? Thanks reply. in my kernel config with "device iwn" -> kernel panic without "device iwn" -> system work fine(ethernet only :P) Need kernel config file? If yes, Please tell me. Thanks you very much. Neko chang From: Bernhard Schmidt To: chen neko , bug-followup@freebsd.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Tue, 27 Jul 2010 08:57:54 +0200 On Tue, Jul 27, 2010 at 08:40, chen neko wrote: > The following reply was made to PR kern/148979; it has been noted by GNAT= S. > > From: chen neko > To: bug-followup@freebsd.org, bschmidt@freebsd.org > Cc: > Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-S= TABLE > =A0 =A0 =A0 =A0amd64 in TOSHIBA M800 laptop > Date: Tue, 27 Jul 2010 14:38:33 +0800 > > =A0>Synopsis: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 = in TOSHIBA M800 laptop > > =A0>State-Changed-From-To: open->feedback > =A0>State-Changed-By: bschmidt > =A0>State-Changed-When: Tue Jul 27 06:21:41 UTC 2010 > =A0>State-Changed-Why: > =A0>Does the same happen if you use just the module? without "device iwn"= in > =A0>your kernel config? > > =A0Thanks reply. > =A0in my kernel config > =A0with "device iwn" -> kernel panic > =A0without "device iwn" -> system work fine(ethernet only :P) Do mean that the iwn device does not work at all? > =A0Need kernel config file? > =A0If yes, Please tell me. Yes, please. I'd also appreciate having the output from: pciconf -lv and the last few lines from dmesg while running kldload if_iwn Also, do you have the iwn firmware modules installed? ls -l /boot/kernel/*iwnfw* --=20 Bernhard From: chen neko To: Bernhard Schmidt , bug-followup@freebsd.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Tue, 27 Jul 2010 21:21:48 +0800 Thanks fast reply. iwn driver work fine in 8.1-prerelease amd64 in June. >> =C2=A0in my kernel config >> =C2=A0with "device iwn" -> kernel panic >> =C2=A0without "device iwn" -> system work fine(ethernet only :P) > > Do mean that the iwn device does not work at all? Yap, All can't work. > >> =C2=A0Need kernel config file? >> =C2=A0If yes, Please tell me. > Yes, please. cpu HAMMER ident EpopenKernel_2010-05-14 makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug = symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Proto= col options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big direct= ories options UFS_GJOURNAL # Enable gjournal-based UFS journal= ing options MD_ROOT # MD is a potential root device options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD7 # epopen: 2010-05-18 part of ports (Depend of openoffice) NEED # Compatible with FreeBSD7 options SCSI_DELAY=3D5000 # Delay (in ms) before probing SC= SI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=3D128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(= 4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework options FLOWTABLE # per-cpu routing cache # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support device msk # Marvell/SysKonnect Yukon II Gigabit Ether= net # Wireless NIC cards device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device pty # BSD-style compatibility pseudo ttys device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and d= a device ums # Mouse # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da= ) device fwe # Ethernet over FireWire (non-standard!) device fwip # IP over FireWire (RFC 2734,3146) # PF firewall device pf device pflog device pfsync options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) # NETWORKING OPTIONS options DEVICE_POLLING options ZERO_COPY_SOCKETS # System Management Bus (SMB) device smb device smbus device ichsmb options ENABLE_ALART # Control alarm on Intel intpm driv= er device coretemp device cpuctl options COMPAT_FREEBSD32 device ichwd device acpi_toshiba device acpi_video device acpi_wmi options ACPI_DEBUG device drm device i915drm #device iwn #device iwn5000fw device mptable device sound # General sound support device snd_hda # HDA Conexant CX20561 (Hermosa) & HDA Intel G45 HDMI PCM # MMC/SD device mmc device mmcsd device sdhci options GEOM_CACHE Note, Kernel config iwn driver is disable now..... > > I'd also appreciate having the output from: > pciconf -lv hostb0@pci0:0:0:0: class=3D0x060000 card=3D0xff501179 chip=3D0x2a408086 rev=3D0x07 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Mobile Memory Controller Hub' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0xff501179 chip=3D0x2a428086 rev=3D0x07 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel Mobile Graphic (Mobile Intel 4 Series Chipset Fam= ily)' class =3D display subclass =3D VGA vgapci1@pci0:0:2:1: class=3D0x038000 card=3D0xff501179 chip=3D0x2a438086 rev=3D0x07 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel Mobile Graphic (Mobile Intel 4 Series Chipset Fam= ily)' class =3D display uhci0@pci0:0:26:0: class=3D0x0c0300 card=3D0xff501179 chip=3D0x29378086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB uhci1@pci0:0:26:1: class=3D0x0c0300 card=3D0xff501179 chip=3D0x29388086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB uhci2@pci0:0:26:2: class=3D0x0c0300 card=3D0xff501179 chip=3D0x29398086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB ehci0@pci0:0:26:7: class=3D0x0c0320 card=3D0xff501179 chip=3D0x293c8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controll= er' class =3D serial bus subclass =3D USB hdac0@pci0:0:27:0: class=3D0x040300 card=3D0xff501179 chip=3D0x293e8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) HD Audio Controller' class =3D multimedia subclass =3D HDA pcib1@pci0:0:28:0: class=3D0x060400 card=3D0xff501179 chip=3D0x29408086 rev=3D0x03 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1' class =3D bridge subclass =3D PCI-PCI pcib2@pci0:0:28:4: class=3D0x060400 card=3D0xff501179 chip=3D0x29488086 rev=3D0x03 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 5' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:28:5: class=3D0x060400 card=3D0xff501179 chip=3D0x294a8086 rev=3D0x03 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 6' class =3D bridge subclass =3D PCI-PCI uhci3@pci0:0:29:0: class=3D0x0c0300 card=3D0xff501179 chip=3D0x29348086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB uhci4@pci0:0:29:1: class=3D0x0c0300 card=3D0xff501179 chip=3D0x29358086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB uhci5@pci0:0:29:2: class=3D0x0c0300 card=3D0xff501179 chip=3D0x29368086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controll= er' class =3D serial bus subclass =3D USB ehci1@pci0:0:29:7: class=3D0x0c0320 card=3D0xff501179 chip=3D0x293a8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controll= er' class =3D serial bus subclass =3D USB pcib4@pci0:0:30:0: class=3D0x060401 card=3D0xff501179 chip=3D0x24488086 rev=3D0x93 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 Family (ICH2/3/4/5/6/7/8/9-M) Hub Interface to PCI Bridge' class =3D bridge subclass =3D PCI-PCI isab0@pci0:0:31:0: class=3D0x060100 card=3D0xff501179 chip=3D0x29198086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'ICH9M LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA atapci0@pci0:0:31:2: class=3D0x010601 card=3D0xff501179 chip=3D0x29298086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) Mobile SATA AHCI Controller= ' class =3D mass storage subclass =3D SATA ichsmb0@pci0:0:31:3: class=3D0x0c0500 card=3D0xff501179 chip=3D0x29308086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel(R) ICH9 Family SMBus Controller working fine with http://download.cnet.com/Chipset-Driver-Inte (8086)' class =3D serial bus subclass =3D SMBus mskc0@pci0:7:0:0: class=3D0x020000 card=3D0xff501179 chip=3D0x435511ab rev=3D0x12 hdr=3D0x00 vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device =3D 'Marvell Yukon 88E8040T PCI-E Fast Ethernet Controller (88E8040T)' class =3D network subclass =3D ethernet none0@pci0:8:0:0: class=3D0x028000 card=3D0x12018086 chip=3D0x42328086 rev=3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Carte Intel WiFi Link 5100 AGN (Intel WiFi Link 5100)' class =3D network fwohci0@pci0:10:1:0: class=3D0x0c0010 card=3D0xff501179 chip=3D0x00f71217 rev=3D0x02 hdr=3D0x00 vendor =3D 'O2 Micro Inc' device =3D '1394 Open Host Controller Interface (0x00f71217)' class =3D serial bus subclass =3D FireWire sdhci0@pci0:10:1:2: class=3D0x080501 card=3D0xff501179 chip=3D0x71201217 rev=3D0x02 hdr=3D0x00 vendor =3D 'O2 Micro Inc' device =3D 'O2Micro Integrated MMC/SD controller (Unknown device)' class =3D base peripheral subclass =3D SD host controller none1@pci0:10:1:3: class=3D0x018000 card=3D0xff501179 chip=3D0x71301217 rev=3D0x01 hdr=3D0x00 vendor =3D 'O2 Micro Inc' device =3D 'O2Micro Integrated MMC/SD/MS/xD/SM Controller (0000000A= )' class =3D mass storage > > and the last few lines from dmesg while running > kldload if_iwn Yes, I tried it.... But after press "enter", Kernel panic immediately. > > Also, do you have the iwn firmware modules installed? > ls -l /boot/kernel/*iwnfw* # ls -l /boot/kernel/*iwn* -r-xr-xr-x 1 root wheel 116200 7 25 14:45 /boot/kernel/if_iwn.ko -r-xr-xr-x 1 root wheel 449224 7 25 14:45 /boot/kernel/if_iwn.ko.symbol= s -r-xr-xr-x 1 root wheel 338824 7 25 14:45 /boot/kernel/iwn1000fw.ko -r-xr-xr-x 1 root wheel 14856 7 25 14:45 /boot/kernel/iwn1000fw.ko.sym= bols -r-xr-xr-x 1 root wheel 191752 7 25 14:45 /boot/kernel/iwn4965fw.ko -r-xr-xr-x 1 root wheel 14856 7 25 14:45 /boot/kernel/iwn4965fw.ko.sym= bols -r-xr-xr-x 1 root wheel 357016 7 25 14:45 /boot/kernel/iwn5000fw.ko -r-xr-xr-x 1 root wheel 14848 7 25 14:45 /boot/kernel/iwn5000fw.ko.sym= bols -r-xr-xr-x 1 root wheel 341168 7 25 14:45 /boot/kernel/iwn5150fw.ko -r-xr-xr-x 1 root wheel 14848 7 25 14:45 /boot/kernel/iwn5150fw.ko.sym= bols -r-xr-xr-x 1 root wheel 466056 7 25 14:45 /boot/kernel/iwn6000fw.ko -r-xr-xr-x 1 root wheel 14848 7 25 14:45 /boot/kernel/iwn6000fw.ko.sym= bols Thanks you very much. Neko chang. From: Bernhard Schmidt To: chen neko , bug-followup@freebsd.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Tue, 27 Jul 2010 16:38:53 +0200 On Tue, Jul 27, 2010 at 15:21, chen neko wrote: >>> =A0Need kernel config file? >>> =A0If yes, Please tell me. >> Yes, please. > [..] Thanks for that, nothing fancy there. >> and the last few lines from dmesg while running >> kldload if_iwn > Yes, I tried it.... > But after press "enter", Kernel panic immediately. Can you build your kernel with: options KDB options DDB options GDB and obtain a backtrace (bt) once it paniced? Also write down the most recent lines above the panic message, those might be helpful too. thanks --=20 Bernhard From: chen neko To: Bernhard Schmidt Cc: bug-followup@freebsd.org Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Thu, 29 Jul 2010 00:21:11 +0800 > Can you build your kernel with: > options KDB > options DDB > options GDB > and obtain a backtrace (bt) once it paniced? Also write down the most > recent lines above the panic message, those might be helpful too. > Yap. Under is progress...... # kldload if_iwn iwn0: irq 17 at device 0.0 on pci8 iwn0: MIMO 1T2R, MoW, address 00:16:ea:be:be:88 iwn0: [ITHERAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps # Fatal trap 12: page fault while in kernel mode cpuid = 1; acpi id = 01 fault virtual address = 0x18 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80d497f1 stack pointer = 0x28:0xffffff8074bd5810 frame pointer = 0x28:0xffffff8074bd5870 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 = 7582 (ifconfig) [thread pid 7582 tid 100114 ] Stopped at iwn_vap_create+0xad: calll *0x18(%rax) db> bt Tracing pid 7582 tid 100114 td 0xffffff00047e4ba0 iwn_vap_create() at iwn_vap_create+0xad wlan_clone_create() at wlan_clone_create+0x151 ifc_simple_create() at ifc_simple_create+0x6c if_clone_createif() at if_clone_createif+0x40 if_clone_create() at if_clone_create+0xc5 ifioctl() at ifioctl+0x520 soo_ioctl() at soo_ioctl+0x56d kern_ioctl() at kern_ioctl+0x246 ioctl() at ioctl+0x157 syscall() at syscall+0x2a9 Xfast_syscall() at Xfast_syscall+0xe2 --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x800a6baac, rsp = 0x7fffffffe468, rbp = 0xffffffffffffffff --- db> END of progress.... Thanks you very much Neko Chang. From: chen neko To: Bernhard Schmidt Cc: bug-followup Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Thu, 29 Jul 2010 22:51:29 +0800 Thanks :D > Ah yeah, what you could also do is get the line where the panic occurred: > # kgdb /boot/kernel/if_iwn.ko.symbols > (kgdb) list *(iwn_vap_create+0xad) > (kgdb) list *(iwn_vap_create+0xad) 0x27f1 is in iwn_vap_create (ieee80211_ratectl.h:66). 61 ieee80211_ratectl.h: No such file or directory. in ieee80211_ratectl.h (kgdb) And "locate ieee80211" got "/usr/include/net80211/ieee80211_ratectl.h" Thanks you very much. Neko Chang From: chen neko To: Bernhard Schmidt Cc: bug-followup Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Fri, 30 Jul 2010 01:26:47 +0800 > Hmm, that is really strange.. it's the first time I see an issue > within iwn_vap_create(). From that log messages, I assume that you > have configured wlan0 in /etc/rc.conf, right? This is just a guess, > but can you try an remove everything from rc.conf and setup the > interface by hand? Yes, My rc.conf had configured wlan0. For under test, Removed now. > I'm a bit out of clue how to debug this further and I want to rule out > some kind of misconfiguration, so, after removing everything from > rc.conf, try the following commands: > > # kldload if_iwn (you should have iwn0 now, but no wlan0) # kldload if_iwn iwn0: irq 17 at device 0.0 on pci8 iwn0: MIMO 1T2R, MoW, address 00:16:ea:be:be:88 iwn0: [ITHERAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps # Work fine. > # ifconfig wlan0 create wlandev iwn0 wlanmode sta (this creates wlan0) After "ENTER"... Panic.... Fatal trap 12: page fault while in kernel mode cpuid = 1; acpi id = 00 fault virtual address = 0x18 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80d497f1 stack pointer = 0x28:0xffffff8074bd5810 frame pointer = 0x28:0xffffff8074bd5870 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 = 2682 (ifconfig) [thread pid 2682 tid 100114 ] Stopped at iwn_vap_create+0xad: calll *0x18(%rax) db> Under , can't test :P > # wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf -B > (wait until wlan0 is associated, check that with ifconfig wlan0) > # dhclient wlan0 (get an IP) > Btw, you have some kind of RFKILL switch? Something to enable/disable > the wireless card using a key combination, for example 'Function key + > F2'. If so, is it enabled by default? Yap, My laptop have it, But "ON" or "OFF", ALL crash same. Thanks you very much Neko chang. From: chen neko To: Bernhard Schmidt Cc: bug-followup@freebsd.org Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Sun, 1 Aug 2010 03:34:35 +0800 > Uhm, can you get a clean /usr/src tree and build a GENERIC kernel from > there? Somehow your current setup looks broken, as in leftovers from > either older source trees or some other kind of custom modifications. Thanks. My did: 1.reomove old /usr/src and got new one 2.in /usr/src, # make cleandir && make cleandir && rm -rf /usr/obj && make kernel && reboot (use GENERIC) 3.After reboot, tried wireless... Work fine. 4.Kernel configure file change to my configure file, cleandir, compier install, reboot, Panic I think..."iwn_vap_create" panic message, And compare GENERAL and my configure... So I tried to change wireless section in my kernel configure file, more time cleandir complier install reboot.... Result: Must be add "device wlan_amrr" and "options IEEE80211_AMPDU_AGE" Now, Wireless work fine in my kernel configure file. I don't know why work fine after add. Thanks you very much. Neko chang From: Bernhard Schmidt To: chen neko , bug-followup@freebsd.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Sun, 1 Aug 2010 14:11:39 +0200 On Sat, Jul 31, 2010 at 21:34, chen neko wrote: >> Uhm, can you get a clean /usr/src tree and build a GENERIC kernel from >> there? Somehow your current setup looks broken, as in leftovers from >> either older source trees or some other kind of custom modifications. > Thanks. > > My did: > 1.reomove old /usr/src and got new one > 2.in /usr/src, # make cleandir && make cleandir && rm -rf /usr/obj && > make kernel && reboot (use GENERIC) > 3.After reboot, tried wireless... Work fine. > 4.Kernel configure file change to my configure file, cleandir, compier > install, reboot, Panic > > I think..."iwn_vap_create" panic message, And compare GENERAL and my > configure... > So I tried to change wireless section in my kernel configure file, > more time cleandir complier install reboot.... > Result: Must be add "device wlan_amrr" and "options IEEE80211_AMPDU_AGE" > Now, Wireless work fine in my kernel configure file. > I don't know why work fine after add. > > Thanks you very much. > Neko chang Uhm right.. I should have been aware of that. Due to the latest ratectl changes it is now necessary to include wlan_amrr. In head this is enforced through conf/files, but somehow the MFC got lost whereas the initial ratectl commits have been MFCed. I took care of that and did the MFC. You should now be able to us your custom kernel configuration, after updating your sources, without any kind of panics. Apologies for any inconvenience this has caused. -- Bernhard From: chen neko To: Bernhard Schmidt Cc: bug-followup@freebsd.org Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Mon, 2 Aug 2010 02:17:09 +0800 > Uhm right.. I should have been aware of that. Due to the latest > ratectl changes it is now necessary to include wlan_amrr. In head this > is enforced through conf/files, but somehow the MFC got lost whereas > the initial ratectl commits have been MFCed. > > I took care of that and did the MFC. You should now be able to us your > custom kernel configuration, after updating your sources, without any > kind of panics. > cpu HAMMER makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD7 # epopen: 2010-05-18 part of ports (Depend of openoffice) NEED # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework options FLOWTABLE # per-cpu routing cache options INCLUDE_CONFIG_FILE # Include this file in kernel options SMP # Symmetric MultiProcessor Kernel device cpufreq device acpi device pci device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device miibus # MII bus support device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's device wlan_amrr # AMRR transmit rate control algorithm device loop # Network loopback device random # Entropy device device ether # Ethernet support device pty # BSD-style compatibility pseudo ttys device firmware # firmware assist module device bpf # Berkeley packet filter options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device firewire # FireWire bus code device pf device pflog device pfsync options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options DEVICE_POLLING options ZERO_COPY_SOCKETS device smb device smbus device ichsmb options ENABLE_ALART # Control alarm on Intel intpm driver device coretemp device cpuctl options COMPAT_FREEBSD32 device ichwd device acpi_toshiba device acpi_video device acpi_wmi options ACPI_DEBUG device drm device i915drm device iwn device iwn5000fw device mptable device sound # General sound support device snd_hda # HDA Conexant CX20561 (Hermosa) & HDA Intel G45 HDMI PCM device mmc device mmcsd device sdhci options GEOM_CACHE options GEOM_JOURNAL # For UFS options KDB options DDB options GDB > Apologies for any inconvenience this has caused. Ah, It haven't..... I want thanks to you, Help debug.. Thanks you very much Neko chang. From: Bernhard Schmidt To: chen neko , bug-followup@freebsd.org Cc: Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Mon, 2 Aug 2010 16:17:37 +0200 On Sun, Aug 1, 2010 at 20:17, chen neko wrote: >> Uhm right.. I should have been aware of that. Due to the latest >> ratectl changes it is now necessary to include wlan_amrr. In head this >> is enforced through conf/files, but somehow the MFC got lost whereas >> the initial ratectl commits have been MFCed. >> >> I took care of that and did the MFC. You should now be able to us your >> custom kernel configuration, after updating your sources, without any >> kind of panics. >> > > cpu =A0 =A0 =A0 =A0 =A0 =A0 HAMMER > makeoptions =A0 =A0 DEBUG=3D-g =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Build ker= nel with gdb(1) debug symbols > > [..] > > device =A0 =A0 =A0 =A0 =A0wlan =A0 =A0 =A0 =A0 =A0 =A0# 802.11 support > options =A0 =A0 =A0 =A0 IEEE80211_DEBUG # enable debug msgs > options =A0 =A0 =A0 =A0 IEEE80211_AMPDU_AGE # age frames in AMPDU reorder= q's > device =A0 =A0 =A0 =A0 =A0wlan_amrr =A0 =A0 =A0 # AMRR transmit rate cont= rol algorithm You should now be able to drop the wlan_amrr line without any issues. > [..] > >> Apologies for any inconvenience this has caused. > Ah, It haven't..... > I want thanks to you, Help debug.. > Thanks you very much > > Neko chang. Can you confirm that your initial issue is fixed? I'd like to close this PR if that is the case. Thanks for testing. --=20 Bernhard From: chen neko To: Bernhard Schmidt Cc: bug-followup@freebsd.org Subject: Re: kern/148979: [iwn][panic] Intel 5100agn cause panic on 8.1-STABLE amd64 in TOSHIBA M800 laptop Date: Tue, 3 Aug 2010 02:13:39 +0800 >> device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0wlan =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0# 802.11 support >> options =C2=A0 =C2=A0 =C2=A0 =C2=A0 IEEE80211_DEBUG # enable debug msgs >> options =C2=A0 =C2=A0 =C2=A0 =C2=A0 IEEE80211_AMPDU_AGE # age frames in = AMPDU reorder q's >> device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0wlan_amrr =C2=A0 =C2=A0 =C2=A0 = # AMRR transmit rate control algorithm > > You should now be able to drop the wlan_amrr line without any issues. > > Can you confirm that your initial issue is fixed? I'd like to close > this PR if that is the case. > Thanks you. I had been to update /usr/src, comment(close) "device wlan_amrr" in my kernel configure file And clean, complier, install, WORK FINE ! The issue is fixed, Please you close the PR case. Thanks you very much for fix issue. Regard Neko chang State-Changed-From-To: feedback->closed State-Changed-By: bschmidt State-Changed-When: Tue Aug 3 06:46:22 UTC 2010 State-Changed-Why: Issue has been fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=148979 >Unformatted: