Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 11:54:31 +0900
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        John <lists@reiteration.net>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE)
Message-ID:  <20090326025431.GC14916@weongyo.cdnetworks.kr>
In-Reply-To: <49CAA7AB.8030506@reiteration.net>
References:  <49CAA7AB.8030506@reiteration.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

Could you please test it with attached patch to fix a page fault?  I
don't know why bus_dma_tag_create() returns ENOMEM that it looks
temporary.

> 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.

It works since 7.1 Release and it's my fault that the manpage should be
updated.

regards,
Weongyo Jeong


--HlL+5n6rz5pIUxbD
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="patch_malo_20090326_panic.diff"

Index: if_malo_pci.c
===================================================================
--- if_malo_pci.c	(revision 187939)
+++ if_malo_pci.c	(working copy)
@@ -260,10 +260,8 @@
 
 	error = malo_attach(pci_get_device(dev), sc);
 
-	if (error != 0) {
-		malo_pci_detach(dev);
-		return (error);
-	}
+	if (error != 0)
+		goto bad1;
 
 	return (error);
 bad1:

--HlL+5n6rz5pIUxbD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090326025431.GC14916>