BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001260 [BusyBox] Networking Support major always 03-06-07 06:35 03-09-07 15:22
Reporter landau View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version svn
Summary 0001260: Fix httpd to run on MMU-less platforms
Description The attached patch allows httpd to run on MMU-less platforms, such as Blackfin.
All it does is calling vfork() instead of fork() (if BB_NOMMU is defined) and explaining in a comment why this is correct despite the child process' modifications to the address space.

The issue is present since at least version 1.2.
The patch is generated against svn rev 18015.
Additional Information
Attached Files  httpd-nommu.patch [^] (733 bytes) 03-06-07 06:35

- Relationships

- Notes
(0002212)
vda
03-06-07 15:23

Hi. No obvious problems with the patch. However, I am concerned that I don't know nommu people needs and nommu environments in general.

Do you nave any nommu emulator or, say, qemu runnable image for nommu processor so that I can run-test the change and generally play with nommu?
 
(0002214)
landau
03-07-07 01:38

Hi,

I'm using an actual Blackfin BF537-stamp board. The CPU has no MMU.
I haven't used any emulator for that, though the main Blackfin uClinux community site blackfin.uclinux.org (that has the kernel sources, toolchain, and everything one needs for a complete open-source build environment) mentions SkyEye (http://gro.clinux.org/projects/skyeye/). [^] I haven't checked it.
Another option (not checked either) is trying to compile the kernel for i386 and setting CONFIG_MMU=n in .config.

If you have some no-mmu patches that you'd like to get merged, but you don't have the hardware to test it on, I'd be happy to test the patches on Blackfin.

The busybox sources have some #ifdefs about BB_NOMMU, so I guess it was tested somehow... The main applets that don't work on Blackfin are init and inetd, so I have to use simpler external versions that came with the Blackfin uClinux distribution. Speaking of that, I'd love to have them merged (as optional components, of course!) into busybox, so that during configuration I'll be able to choose which init and inetd I want, or better, add a "CPU has MMU" option that preselects the right applet.
I can volunteer for that task.

Alex
 
(0002216)
vda
03-07-07 14:17

Applied in rev 18026, thanks.
 
(0002229)
vapier
03-09-07 15:22

the skyeye emulator for blackfin is horribly dated and wont boot any recent kernel, so no there is no blackfin emulator available currently that'll boot a kernel
 

- Issue History
Date Modified Username Field Change
03-06-07 06:35 landau New Issue
03-06-07 06:35 landau Status new => assigned
03-06-07 06:35 landau Assigned To  => BusyBox
03-06-07 06:35 landau File Added: httpd-nommu.patch
03-06-07 15:23 vda Note Added: 0002212
03-07-07 01:38 landau Note Added: 0002214
03-07-07 01:39 landau Issue Monitored: landau
03-07-07 14:17 vda Status assigned => closed
03-07-07 14:17 vda Note Added: 0002216
03-07-07 14:17 vda Resolution open => fixed
03-09-07 15:22 vapier Note Added: 0002229


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker