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

John lists at reiteration.net
Thu Mar 26 04:23:13 PDT 2009


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

thanks,
-- 
John


More information about the freebsd-stable mailing list