On 07/11/2011 10:02 AM, Gilles Espinasse wrote:
Selon David Henderson<[email protected]>:
On 07/10/2011 05:29 AM, Gilles Espinasse wrote:
----- Original Message -----
From: "David Henderson"<[email protected]>
To: "BusyBox Developer List"<[email protected]>
Sent: Saturday, July 09, 2011 7:50 PM
Subject: segmentation fault
Gang,
I've added some new kernel modules to the file system so I tried to
update the modules.dep file using depmod, but I get a "segmentation
fault" when trying to execute it. I even tried using the '-ae'
parameters (although they aren't listed in the help for the applet).
Any thoughts on how to fix this? I'm running BB 1.81.1.
Wow BB-1.81!
Anyway, you may try with strace to see where the segfault happen.
And which config option is selected for modprobe?
Gilles
Hey Gilles, thanks for the help. Yeah I'm working with the most
advanced version of busybox, 1.81 lol! Good tip using strace - I ended
up tracing it to a couple of invalid symlinks and have resolved the
problem. Thanks a million!
Dave
Probably usefull to report where the invalid symlinks were incorrectly handled?
modprobe may report something like 'find not found' earlier instead of blindly
segfaulting.
Gilles
Unfortunately I've already closed the terminal containing the strace
output. I suppose I can replace one of the files with an invalid
symlink and re-run depmod if you need me to. Let me know.
Dave
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox