DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-28 09:55:01

puterboy
Member
Registered: 2008-09-18
Posts: 306

BUG: depmod -a doesn't work when /lib/modules/2.6.12.6-arm1 is a link

In the spirit of the ffp path convention and ffp-reloading, I created a link as follows:
ln -s /ffp/lib/modules/2.6.12.6-arm1 /lib/modules/2.6.12.6-arm1

However, when I run 'depmod -a', I now get an empty modules.dep file (in /lib/modules/2.6.12.6-arm1).
If I copy over 2.6.12.6-arm1 so that it is a directory rather than a link then everything works fine.

I tried alternatively, using
depmod -a -b /ffp but that didn't work either.

On my Linux server, I didn't have any problem when I tried to replicate the problem by creating a similar link.
So, I suspect this may be a bug/limitation with the busybox depmod.

Offline

 

#2 2008-10-28 09:57:05

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: BUG: depmod -a doesn't work when /lib/modules/2.6.12.6-arm1 is a link

In general also it seems like the "-b" (--basedir) option isn't working either.

Offline

 

#3 2008-10-28 10:41:16

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: BUG: depmod -a doesn't work when /lib/modules/2.6.12.6-arm1 is a link

puterboy wrote:

In general also it seems like the "-b" (--basedir) option isn't working either.

I don't think there're a lot of busybox developers reading here.
http://www.busybox.net/lists/busybox/

The best place to reports bugs (and to send patches) is the mailing list.

Offline

 

#4 2008-10-28 10:50:40

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: BUG: depmod -a doesn't work when /lib/modules/2.6.12.6-arm1 is a link

Fair point - but I also wanted to mention it here in case anybody else had the problem since I wasted a good hour trying to figure out the cause.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB