From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 21 13:51:39 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0968106566C for ; Fri, 21 Mar 2008 13:51:39 +0000 (UTC) (envelope-from lunarbase@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6DA118FC1D for ; Fri, 21 Mar 2008 13:51:39 +0000 (UTC) (envelope-from lunarbase@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so1923579uge.37 for ; Fri, 21 Mar 2008 06:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=/ywF1rJyVSUBop/vJCjpNFSOpIb/62o26sHRUIu0Ppc=; b=a3LTzIlgDqmeudqE2FDx26+nsh3DJR7ycBaf/0t5Fg6tahirzvcxqP5hbT8A8Nl70BWo5OsQHg8Eu53cMUfIsuIXD0e7CMGoEyQ/aP3lQg7bmhx6If/pLGhDsDRIEhKDjZ5fmgU1uNBZVACIVg/iac2HGvgQhl4aHBdqIUKj9d4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KtqjJptL8FYCwIEklmbMkc2J+q4GgWOqUT7Otui8YhTX77s+Ffy3aBfFbkfMzUqHZhuFMya4wZmzaN9cDDwpt70hHKkbeX1DPqoY6ygwvI4eIUANT/5BlrIc7YZZurR3S9CUVWScPy7bLS4X+JLLuXXUathbhVYF1srJS4/k3VE= Received: by 10.67.20.11 with SMTP id x11mr2287545ugi.29.1206105940308; Fri, 21 Mar 2008 06:25:40 -0700 (PDT) Received: by 10.67.88.10 with HTTP; Fri, 21 Mar 2008 06:25:40 -0700 (PDT) Message-ID: <82507ff80803210625o77f5d62ds400b383ac5c4979@mail.gmail.com> Date: Fri, 21 Mar 2008 22:25:40 +0900 From: lunarbase Sender: lunarbase@gmail.com To: "vwe@freebsd.org" , freebsd-bugs@freebsd.org In-Reply-To: <200803182231.m2IMVqYA021730@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803182231.m2IMVqYA021730@freefall.freebsd.org> X-Google-Sender-Auth: 5be615568c1a10ea Cc: Subject: Re: kern/121761: [7.0R][cardbus][dc] a cardbus dc0 causes a system freeze while transferring large data X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 13:51:40 -0000 >State-Changed-From-To: open->feedback >State-Changed-By: vwe >State-Changed-When: Tue Mar 18 22:28:59 UTC 2008 >State-Changed-Why: > >Please try to break into debugger when the system appears to hang and create >a backtrace. It's impossible because this freezes everything before generating the core file. >If that doesn't work, please try if running a WITNESS enabled kernel >is showing any messages. Without a backtrace, there's not really a chance >to investigate this. I did cvsup FreeBSD kernel source files with "*default tag=RELENG_7". The version was: Edit src/sys/conf/NOTES Add delta 1.1454.2.3 2008.03.18.17.32.09 piso Edit src/sys/conf/files Add delta 1.1243.2.7 2008.03.18.17.32.09 piso Used conf file is GENERIC with following options: makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbol options WITNESS # Enable checks to detect deadlocks and options WITNESS_SKIPSPIN # Don't run witness on spinlocks for sp options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal struct I applyed this patch for recognition of dc0 cardbus device. http://www.freebsd.org/cgi/query-pr.cgi?pr=115623 I compiled it by (make makekernel KERNCONF=GENERIC.DEBUG && make installkernel KERNCONF=GENERIC.DEBUG), then powered my ThinkPad i1400 off and powered it on. RELENG_7 showed a login message, and I logged in. I inserted a dc0 device (IBM 10/100 EtherJet CardBus), then it wasn't recognized. This was described in http://www.freebsd.org/cgi/query-pr.cgi?pr=121759 . In this time, the card type was recognized, but the system said about something failure of the CIS. >interrupt storm detected on "irq9:"; throttling interrupt source >cardbus1: Bad header in rom 0: [0] ffff >cardbus1: Unable to allocate resources for CIS >dc0: port 0x1000-0x107f mem 0x88000000-0x880007ff,0x88001000-0x880017ff irq 9 at device 0.0 on cardbus1 >dc0: No station address in CIS! >device_attach: dc0 attach returned 6 Other recognition pattern from PR121759: >interrupt storm detected on "irq9:"; throttling interrupt source >cardbus0: CIS pointer is 0xff7 >cardbus0: CIS in option rom >cardbus0: Bad header in rom 0: [0] ffff >cardbus0: Unable to allocate resources for CIS >cardbus0: Warning: Bogus CIS ignored >cardbus0: at device 0.0 (no driver attached) I removed the card, and reinserted it. The card was recognized successfully. >interrupt storm detected on "irq9:"; throttling interrupt source >dc0: port 0x1000-0x107f mem 0x88000000-0x880007ff,0x88001000-0x880017ff irq 9 at device 0.0 on cardbus1 >miibus0: on dc0 >tdkphy0: PHY 0 on miibus0 >tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >dc0: Ethernet address: xx:xx:xx:xx:xx:xx >dc0: [ITHREAD] I executed a following command. fetch -p -o /dev/null ftp://ftp.jp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/7.0-RELEASE-i386-livefs.iso After transferring about 20MB data, everything freezed ! No core file was generated and no message was shown on the screen. >I'm wondering what may make you assume this issue is related to PR 121555? Because I found the problem report about transferring data on 7.0R * Boot message on ThinkPad i1400 (2611-436) Copyright (c) 1992-2008 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 7.0-STABLE #0: Thu Mar 20 22:07:49 JST 2008 xxx@xxx.xxx:/usr/obj/src/sys/GENERIC.DEBUG WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D processor (299.94-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 201261056 (191 MB) avail memory = 182935552 (174 MB) kbd1 at kbdmux0 K6-family MTRR support enabled (2 registers) ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 $PIR: No matching entry for 0.11.INTA isab0: at device 2.0 on pci0 isa0: on isab0 cbb0: irq 9 at device 5.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: irq 9 at device 5.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] vgapci0: mem 0xd000000-0xdffffff,0xe000000-0xe1fffff,0xe200000-0xe2fffff irq 9 at device 6.0 on pci0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6090-0x609f irq 15 at device 11.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 12.0 (no driver attached) ohci0: mem 0xe300000-0xe300fff irq 10 at device 15.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered PnP device failed to report resource data pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc9fff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 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 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 299942654 Hz quality 800 Timecounters tick every 1.000 msec ad0: 4xxxMB at ata0-master UDMA33 acd0: CDROM at ata1-master PIO4