Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 11:23:09 +0000
From:      John <lists@reiteration.net>
To:        Weongyo Jeong <weongyo@freebsd.org>
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:  <49CB659D.2000108@reiteration.net>
In-Reply-To: <20090326025431.GC14916@weongyo.cdnetworks.kr>
References:  <49CAA7AB.8030506@reiteration.net> <20090326025431.GC14916@weongyo.cdnetworks.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
Weongyo Jeong wrote:

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

Hi,

Seems the patch failed to apply:

[root@potato /usr/src/sys/dev/malo]# ls -la
total 140
drwxr-xr-x    2 root  wheel    512 Mar 26 11:17 .
drwxr-xr-x  199 root  wheel   3072 Mar 24 16:58 ..
-rw-r--r--    1 root  wheel  66668 May  4  2008 if_malo.c
-rw-r--r--    1 root  wheel  19096 May  4  2008 if_malo.h
-rw-r--r--    1 root  wheel   9625 Mar 26 11:14 if_malo_pci.c
-rw-r--r--    1 root  wheel  22333 May  4  2008 if_malohal.c
-rw-r--r--    1 root  wheel   8266 May  4  2008 if_malohal.h
-rw-r--r--    1 root  wheel   3722 May  4  2008 if_maloioctl.h
-rw-r--r--    1 root  wheel    375 Mar 26 11:15
patch_malo_20090326_panic.diff

[root@potato /usr/src/sys/dev/malo]# patch < patch_malo_20090326_panic.diff

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: if_malo_pci.c
|===================================================================
|--- if_malo_pci.c      (revision 187939)
|+++ if_malo_pci.c      (working copy)
--------------------------
Patching file if_malo_pci.c using Plan A...
Hunk #1 failed at 260.
1 out of 1 hunks failed--saving rejects to if_malo_pci.c.rej
done

thanks,
-- 
John



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