Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2009 15:32:45 +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:  <20090327063245.GD19512@weongyo.cdnetworks.kr>
In-Reply-To: <49CB659D.2000108@reiteration.net>
References:  <49CAA7AB.8030506@reiteration.net> <20090326025431.GC14916@weongyo.cdnetworks.kr> <49CB659D.2000108@reiteration.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 26, 2009 at 11:23:09AM +0000, John wrote:
> 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

It looks something goes wrong so could you please patch if_malo_pci.c
manually it's a very simple patch and test?  Sorry for inconvenience.

regards,
Weongyo Jeong




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