[BusyBox 0001060]: mmap(2) doesn't work on Blackfin in insmod (probably in other pacles too)

bugs at busybox.net bugs at busybox.net
Mon Oct 2 23:14:03 PDT 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1060 
====================================================================== 
Reported By:                landau
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1060
Category:                   Kernel Module Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-02-2006 23:14 PDT
Last Modified:              10-02-2006 23:14 PDT
====================================================================== 
Summary:                    mmap(2) doesn't work  on Blackfin in insmod
(probably in other pacles too)
Description: 
Blackfin as a no-mmu architecture has spased support for mmap(2). One place
I encountered where it doesn't work is insmod (the one for 2.6.x kernels).
The attached patch uses read(2) if mmap(2) fails. This solves the problem
for Blackfin and shouldn't hurn anyone with an MMU.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-02-06 23:14  landau         New Issue                                    
10-02-06 23:14  landau         Status                   new => assigned     
10-02-06 23:14  landau         Assigned To               => BusyBox         
10-02-06 23:14  landau         File Added: insmod.patch                     
======================================================================



More information about the busybox-cvs mailing list