Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#121 closed defect (fixed)

modprobe: FATAL: Could not load /lib/modules/

Reported by: anonymous Owned by: stappers
Priority: major Milestone: milestone:
Component: buildsystem Version: 2.0-pre
Severity: Keywords: modprobe Could not load module

Description (last modified by stappers)


I have installed debwrt on router station [ Debwrt r228 | Openwrt r26701 ].

From rs232 console (for to start Second stage install ) modprobe not find module.

EXT3-fs (sda1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
Freeing unused kernel memory: 180k freed
Algorithmics/MIPS FPU Emulator v1.5
modprobe: FATAL: Could not load /lib/modules/ No such file or directory

modprobe: FATAL: Could not load /lib/modules/ No such file or directory

modprobe: FATAL: Could not load /lib/modules/ No such file or directory

INIT: version 2.88 booting
EXT3-fs (sda1): using internal journal
modprobe: FATAL: Could not load /lib/modules/ No such file or directory

Attachments (0)

Change History (10)

comment:1 Changed 11 years ago by stappers

  • Description modified (diff)
  • Owner changed from amain to stappers
  • Status changed from new to accepted

comment:2 Changed 11 years ago by stappers

My first impression was: "How could that happen?"

My second impression is: "Build of the root fs went wrong"

My advice is

make debian/rootfs/clean

and copy the fresh build root filesystem to the USB storage device.

Retry and report back.

comment:3 in reply to: ↑ description Changed 11 years ago by stappers

Replying to anonymous:


I have installed debwrt on router station [ Debwrt r228 | Openwrt r26701 ].

Retry with r230 (IOW do a svn update before you retry)

comment:4 follow-up: Changed 11 years ago by anonymous


I have rimake all, but i have the same error.

My compiled path '/lib/modules/' is empty

$ ls -lh build/rootfs-mips-angel-2.0-1/lib/modules/
totale 0

On rs-pro



comment:5 in reply to: ↑ 4 Changed 11 years ago by stappers


rm debian/rootfs/modules-install
make debian/rootfs/modules-install

comment:6 Changed 11 years ago by stappers

Just encountered an empty /lib/modules/ directory myself.

Because I don't known how many times I did make menuconfig for serveral different boards,
I did

cd /usr/src/
rm -rf debwrt
svn checkout debwrtBRCM47

and will use /usr/src/debwrtBRCM47 for development on Broadcom 47xx devices
and will avoid switching to a different board.

To be continued ...

Last edited 11 years ago by stappers (previous) (diff)

comment:7 Changed 11 years ago by amain

  • Resolution set to fixed
  • Status changed from accepted to closed

After make openwrt/all a file bin/$BOARD/debwrt-modules-<VERSION>.tar.gz is created. After make debian/rootfs the debian root fs is created. The modules.tar.gz needs to be extracted there as well! make debian/rootfs ( part of make all ) will build a non kernel version dependent debian root filesystem.

To make life a little less painfull the following make target exists: make debian/rootfs/modules-install which will extract the tar.gz automatically into the rootfs build dir.

look in file debian/rootgs/ for some more interesting make targets.

this feature should be documented and explained.

closing ticket.

comment:8 Changed 11 years ago by amain

note: added make debian/rootfs/modules-install to DebWrtSvn wiki page

comment:9 Changed 9 years ago by Keynes

It is reported that, <a href=""><b>ガガミラノ 店舗</b></a>

GAGA outlast with <a href=""><b>時計 通販</b></a>
15 December, with the stage inseparable hundred sites on-line starting at the uniform <a href=""><b>時計 通販</b></a>

while, as the astounding's <a href=""><b>時計 ミラノ</b></a>

important internet look after highlights of the key <a href=""><b>gaga 時計</b></a>
press products, GAGA series includes a entire of ten models, <a href=""><b>gaga 時計 レディース</b></a>
wholesale coverage of ebony, pink, yellow, chalk-white, shined, rose gold six important mainstream color. <a href=""><b>ガガミラノ</b></a>
Interval, in line with the "leather strap" and "inure plexus ambit" two kinds of taste style, fully embodies the color and fashionableness of Brand name with, so the rage elements junior to control. In the meantime, Gaga guard <a href=""><b>ガガミラノ 販売</b></a>
also built nowadays mainstream America was predisposed to Japanese Patrial 2035 quartz repositioning, and strengthening crystal magnifying glass echo of the <a href=""><b>gaga 時計 レディース</b></a>
action facts, fully augur the product's durability properties. <a href=""><b>腕時計 gaga</b></a>
Nonetheless on the concern of <a href=""><b>ミラノ 時計</b></a>
unified hundred on-line, with the "twofold egg" point, held a "Well-heeled Split, on-line carnival, wily egg courteous" tough trial <a href=""><b>ガガミラノ コピー 見分け方</b></a>
promotional activities during the issue, <a href=""><b>腕時計 gaga</b></a>

including the 180 series, including a mixed bag of stock GAGA has assiduous discount. Solemn Links:

comment:10 Changed 9 years ago by amain

  • Milestone 2.1 deleted

Milestone 2.1 deleted

Add Comment

Modify Ticket

as closed The owner will remain stappers.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.