From: Wolfgang Denk <wd@denx.de>
To: John Otken <jotken@softadvances.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: make modules_install fails with [_modinst_post] Error 139
Date: Mon, 06 Mar 2006 20:59:26 +0100 [thread overview]
Message-ID: <20060306195926.C7B303525CB@atlas.denx.de> (raw)
In-Reply-To: Your message of "Mon, 06 Mar 2006 13:08:33 CST." <440C88B1.6010809@softadvances.com>
In message <440C88B1.6010809@softadvances.com> you wrote:
> I'm trying to build the USB gadget file storage module for
> a Yosemite board using the latest Denx kernel and ELDK4.
>
> $ make yosemite_defconfig
> $ make menuconfig # turn on CONFIG_USB_FILE_STORAGE <M>
This is not necessary. The default config file for the Yosemite board
has USB and mass storage devices support already enabled (compiled
in, i. e. not as modules). Just use the unmodified config file and it
will work.
Note that CONFIG_USB_GADGET is not set, though (not sure what exactly
you want to do).
> if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /opt/eldk4/ppc_4xxFP -r 2.6.15-g6afd198e; fi
> make: *** [_modinst_post] Error 139
>
> I see a g_file_storage.ko but I get an "Invalid module" if I
> try to modprobe it.
Your native system's (x86 ?) module utilities (depmod, modprobe) do
not understand PowerPC modules. If you want to run "depmod", you must
overwrite the Makefile's default setting of DEPMOD to use a cross
version of depmod instead.
> I do want to solve this problem, but if anyone wants to give
> me the trick to building the gadget driver into kernel and
> passing the file=disk_image parameter, I'd like to know that
> as well.
What exactly do you have in mind?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Our management frequently gets lost in thought. That's because it's
unfamiliar territory.
next prev parent reply other threads:[~2006-03-06 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 19:08 make modules_install fails with [_modinst_post] Error 139 John Otken
2006-03-06 19:59 ` Wolfgang Denk [this message]
2006-03-06 20:42 ` John Otken
2006-03-06 22:29 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060306195926.C7B303525CB@atlas.denx.de \
--to=wd@denx.de \
--cc=jotken@softadvances.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).