From owner-freebsd-stable@FreeBSD.ORG Mon Mar 30 08:05:37 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 772A9106564A; Mon, 30 Mar 2009 08:05:37 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6408FC0A; Mon, 30 Mar 2009 08:05:36 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so2627866rvb.43 for ; Mon, 30 Mar 2009 01:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=6ktlhbEa+UEIX8k6ebD0ln4jKZzW7fM2qOinCJVnYeY=; b=ltMpInBy/lowndx2FmCzWCD74nBgiU8V7OU6cF+85OatyQqZ2A1NKP4nsXUkGAmNJr VCKvc0XG0n2FFsUwJ9SpxX5GwmJXHLJOSfxnDy+2KL6ZFGujXHG6gGvmEG6NwUP9QPsO gTQOjNkPVWUv4aSIXtFGcvYeFIQp0pjlt6HRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :organization:x-operation-sytem; b=Um84I+e0cKjWWpma0fOJcSDQXkb46KBH9gIgucYd7LJkYCwGj3TQIIMjJvOB0j5FLa bCRFdEr6xe+wcBbXtQYumfqqFIUgKjGVKlEe7zuiWe3eMeAIPLqcdA5ZOKdmn5LTNkGn LZXh+yyq19eZtTlP8yb2PCHHVjShKXgpfnx1A= Received: by 10.141.170.10 with SMTP id x10mr2701193rvo.56.1238400336728; Mon, 30 Mar 2009 01:05:36 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id b39sm12291151rvf.8.2009.03.30.01.05.35 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Mar 2009 01:05:36 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Mon, 30 Mar 2009 17:05:32 +0900 From: Weongyo Jeong Date: Mon, 30 Mar 2009 17:05:32 +0900 To: Chagin Dmitry Message-ID: <20090330080532.GB26132@weongyo.cdnetworks.kr> References: <49CAA7AB.8030506@reiteration.net> <20090328191143.GA1989@dchagin.static.corbina.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090328191143.GA1989@dchagin.static.corbina.ru> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: FreeBSD Stable Subject: Re: malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 08:05:37 -0000 On Sat, Mar 28, 2009 at 10:11:43PM +0300, Chagin Dmitry wrote: > On Wed, Mar 25, 2009 at 09:52:43PM +0000, John wrote: > > Hi list > > > > I configured the malo device as per the manpage. Now I'm getting panic > > after the device is probed as per > > http://www.growveg.org/desktop/DSC_6973-3008.jpg > > > > Is there a parameter I can pass to boot that will ignore this > > driver/module? I have tried disable-module to no avail. Is the only > > option to use the rescue disk? I need loader.conf to be ignored now in > > order to get the system up at all. > > > > Is malo known to work under 7-STABLE? I notice the man page says it > > first appeared under FreeBSD 8.0. > > > > > hi, > it's broken event in HEAD: > > none2@pci0:4:4:0: class=0x020000 card=0x6b001385 chip=0x1faa11ab rev=0x03 > hdr=0x00 > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > device = '8335 Marvell Libertas 802.11b/g Wireless (8335)' > class = network > subclass = ethernet > > Unread portion of the kernel message buffer: > malo0: mem > 0xd0130000-0xd013ffff,0xd0120000-0xd012ffff irq 22 at device 4.0 on pci4 > malo0: [FILTER] > malo0: unable to allocate memory for cmd buffer, error 12 > > > Fatal trap 9: general protection fault while in kernel mode > cpuid = 3; apic id = 03 > instruction pointer = 0x8:0xffffffff80517727 > stack pointer = 0x10:0xfffffffef16283a0 > frame pointer = 0x10:0xfffffffef16283e0 > 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 = 6332 (kldload) > > (kgdb) bt > #0 doadump () at pcpu.h:215 > #1 0xffffffff801955dc in db_fncall (dummy1=Variable "dummy1" is not available. > ) at /work/pub/head/sys/ddb/db_command.c:548 > #2 0xffffffff80195911 in db_command (last_cmdp=0xffffffff8078d8c0, > cmd_table=Variable "cmd_table" is not available. > ) > at /work/pub/head/sys/ddb/db_command.c:445 > #3 0xffffffff80195b60 in db_command_loop () at > /work/pub/head/sys/ddb/db_command.c:498 > #4 0xffffffff80197ba9 in db_trap (type=Variable "type" is not available. > ) at /work/pub/head/sys/ddb/db_main.c:229 > #5 0xffffffff80313df5 in kdb_trap (type=0x9, code=0x0, tf=0xfffffffef16282f0) > at /work/pub/head/sys/kern/subr_kdb.c:534 > #6 0xffffffff805428cd in trap_fatal (frame=0xfffffffef16282f0, eva=Variable > "eva" is not available. > ) at /work/pub/head/sys/amd64/amd64/trap.c:745 > #7 0xffffffff805434d5 in trap (frame=0xfffffffef16282f0) at > /work/pub/head/sys/amd64/amd64/trap.c:551 > #8 0xffffffff8051d9b3 in calltrap () at > /work/pub/head/sys/amd64/amd64/exception.S:217 > #9 0xffffffff80517727 in _bus_dmamap_unload (dmat=0xdeadc0dedeadc0de, > map=0xdeadc0dedeadc0de) > at /work/pub/head/sys/amd64/amd64/busdma_machdep.c:901 > #10 0xffffffff8267421b in malo_hal_attach (dev=0xffffff0003c87100, > devid=Variable "devid" is not available. > ) > at /work/pub/head/sys/modules/malo/../../dev/malo/if_malohal.c:169 > #11 0xffffffff82672bc8 in malo_attach (devid=0x1faa, sc=0xffffff000798d800) > at /work/pub/head/sys/modules/malo/../../dev/malo/if_malo.c:216 > #12 0xffffffff826756cc in malo_pci_attach (dev=0xffffff0003c87100) > at /work/pub/head/sys/modules/malo/../../dev/malo/if_malo_pci.c:261 > #13 0xffffffff8030de79 in device_attach (dev=0xffffff0003c87100) at > device_if.h:178 > #14 0xffffffff8022cdc9 in pci_driver_added (dev=Variable "dev" is not available. > ) at /work/pub/head/sys/dev/pci/pci.c:2810 > #15 0xffffffff8030c099 in devclass_driver_added (dc=0xffffff00036ba600, > driver=0xffffffff82677120) at bus_if.h:183 > #16 0xffffffff8030cb4a in devclass_add_driver (dc=0xffffff00036ba600, > driver=0xffffffff82677120) > at /work/pub/head/sys/kern/subr_bus.c:942 > #17 0xffffffff8030dd3d in driver_module_handler (mod=Variable "mod" is not > available. > ) at /work/pub/head/sys/kern/subr_bus.c:3952 > #18 0xffffffff802d170d in module_register_init (arg=Variable "arg" is not > available. > ) at /work/pub/head/sys/kern/kern_module.c:124 > #19 0xffffffff802c8c82 in linker_load_module (kldname=Variable "kldname" is not > available. > ) at /work/pub/head/sys/kern/kern_linker.c:233 > #20 0xffffffff802c912c in kern_kldload (td=0xffffff006226e760, > file=0xffffff0007982000 "if_malo", > fileid=0xfffffffef1628b04) at /work/pub/head/sys/kern/kern_linker.c:1009 > #21 0xffffffff802c9284 in kldload (td=0xffffff006226e760, uap=Variable "uap" is > not available. > ) at /work/pub/head/sys/kern/kern_linker.c:1036 > #22 0xffffffff80542eab in syscall (frame=0xfffffffef1628c80) at > /work/pub/head/sys/amd64/amd64/trap.c:882 > #23 0xffffffff8051dbcb in Xfast_syscall () at > /work/pub/head/sys/amd64/amd64/exception.S:338 > #24 0x00000008006935ec in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) up 10 > #10 0xffffffff8267421b in malo_hal_attach (dev=0xffffff0003c87100, > devid=Variable "devid" is not available. > ) > at /work/pub/head/sys/modules/malo/../../dev/malo/if_malohal.c:169 > 169 bus_dmamap_unload(mh->mh_dmat, mh->mh_dmamap); > (kgdb) list > 164 > 165 fail: > 166 free(mh, M_DEVBUF); > 167 > 168 if (mh->mh_dmamap != NULL) { > 169 bus_dmamap_unload(mh->mh_dmat, mh->mh_dmamap); > 170 if (mh->mh_cmdbuf != NULL) > 171 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, > 172 mh->mh_dmamap); > 173 bus_dmamap_destroy(mh->mh_dmat, mh->mh_dmamap); > (kgdb) > > Weongyo, please, look at line #166 - 169. Oops. I got it. :-) I'll commit a patch into CURRENT as soon as possible. Thanks! regards, Weongyo Jeong