From owner-freebsd-stable@FreeBSD.ORG Sat Mar 28 19:30:52 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 E145E106564A; Sat, 28 Mar 2009 19:30:52 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7894B8FC08; Sat, 28 Mar 2009 19:30:52 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 7CD4D796F8; Sat, 28 Mar 2009 22:11:49 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1705481429; Sat, 28 Mar 2009 22:11:49 +0300 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n2SJBmWF002069; Sat, 28 Mar 2009 22:11:48 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n2SJBhNB002068; Sat, 28 Mar 2009 22:11:43 +0300 (MSK) (envelope-from dchagin) Date: Sat, 28 Mar 2009 22:11:43 +0300 From: Chagin Dmitry To: John Message-ID: <20090328191143.GA1989@dchagin.static.corbina.ru> References: <49CAA7AB.8030506@reiteration.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <49CAA7AB.8030506@reiteration.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: weongyo@freebsd.org, 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 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 19:30:53 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2009 at 09:52:43PM +0000, John wrote: > Hi list >=20 > 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 >=20 > 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. >=20 > Is malo known to work under 7-STABLE? I notice the man page says it > first appeared under FreeBSD 8.0. >=20 hi, it's broken event in HEAD: none2@pci0:4:4:0: class=3D0x020000 card=3D0x6b001385 chip=3D0x1faa11a= b rev=3D0x03 hdr=3D0x00 vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device =3D '8335 Marvell Libertas 802.11b/g Wireless (8335)' class =3D network subclass =3D 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 =3D 3; apic id =3D 03 instruction pointer =3D 0x8:0xffffffff80517727 stack pointer =3D 0x10:0xfffffffef16283a0 frame pointer =3D 0x10:0xfffffffef16283e0 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 6332 (kldload) (kgdb) bt #0 doadump () at pcpu.h:215 #1 0xffffffff801955dc in db_fncall (dummy1=3DVariable "dummy1" is not avai= lable. ) at /work/pub/head/sys/ddb/db_command.c:548 #2 0xffffffff80195911 in db_command (last_cmdp=3D0xffffffff8078d8c0, cmd_table=3DVariable "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=3DVariable "type" is not available. ) at /work/pub/head/sys/ddb/db_main.c:229 #5 0xffffffff80313df5 in kdb_trap (type=3D0x9, code=3D0x0, tf=3D0xfffffffe= f16282f0) at /work/pub/head/sys/kern/subr_kdb.c:534 #6 0xffffffff805428cd in trap_fatal (frame=3D0xfffffffef16282f0, eva=3DVar= iable "eva" is not available. ) at /work/pub/head/sys/amd64/amd64/trap.c:745 #7 0xffffffff805434d5 in trap (frame=3D0xfffffffef16282f0) 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=3D0xdeadc0dedeadc0de, map=3D0xdeadc0dedeadc0de) at /work/pub/head/sys/amd64/amd64/busdma_machdep.c:901 #10 0xffffffff8267421b in malo_hal_attach (dev=3D0xffffff0003c87100, devid=3DVariable "devid" is not available. ) at /work/pub/head/sys/modules/malo/../../dev/malo/if_malohal.c:169 #11 0xffffffff82672bc8 in malo_attach (devid=3D0x1faa, sc=3D0xffffff000798d= 800) at /work/pub/head/sys/modules/malo/../../dev/malo/if_malo.c:216 #12 0xffffffff826756cc in malo_pci_attach (dev=3D0xffffff0003c87100) at /work/pub/head/sys/modules/malo/../../dev/malo/if_malo_pci.c:261 #13 0xffffffff8030de79 in device_attach (dev=3D0xffffff0003c87100) at device_if.h:178 #14 0xffffffff8022cdc9 in pci_driver_added (dev=3DVariable "dev" is not ava= ilable. ) at /work/pub/head/sys/dev/pci/pci.c:2810 #15 0xffffffff8030c099 in devclass_driver_added (dc=3D0xffffff00036ba600, driver=3D0xffffffff82677120) at bus_if.h:183 #16 0xffffffff8030cb4a in devclass_add_driver (dc=3D0xffffff00036ba600, driver=3D0xffffffff82677120) at /work/pub/head/sys/kern/subr_bus.c:942 #17 0xffffffff8030dd3d in driver_module_handler (mod=3DVariable "mod" is not available. ) at /work/pub/head/sys/kern/subr_bus.c:3952 #18 0xffffffff802d170d in module_register_init (arg=3DVariable "arg" is not available. ) at /work/pub/head/sys/kern/kern_module.c:124 #19 0xffffffff802c8c82 in linker_load_module (kldname=3DVariable "kldname" = is not available. ) at /work/pub/head/sys/kern/kern_linker.c:233 #20 0xffffffff802c912c in kern_kldload (td=3D0xffffff006226e760, file=3D0xffffff0007982000 "if_malo", fileid=3D0xfffffffef1628b04) at /work/pub/head/sys/kern/kern_linker.c:1= 009 #21 0xffffffff802c9284 in kldload (td=3D0xffffff006226e760, uap=3DVariable = "uap" is not available. ) at /work/pub/head/sys/kern/kern_linker.c:1036 #22 0xffffffff80542eab in syscall (frame=3D0xfffffffef1628c80) 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=3D0xffffff0003c87100, devid=3DVariable "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 !=3D NULL) { 169 bus_dmamap_unload(mh->mh_dmat, mh->mh_dmamap); 170 if (mh->mh_cmdbuf !=3D 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. --=20 Have fun! chd --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAknOdm4ACgkQ0t2Tb3OO/O3byQCcD5jx1v9cACWncK3F+z16Oz9G RPEAoLQoxeUcgmz/ldbXeJvo3S+YxGkQ =WqYK -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--