malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE)

Weongyo Jeong weongyo.jeong at gmail.com
Thu Mar 26 23:32:50 PDT 2009


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



More information about the freebsd-stable mailing list