Ticket #165 (closed defect: fixed)

Opened 18 months ago

Last modified 16 months ago

mic problem: raise FiascoException("Cannot create the final image file %s" % (self.filename,))

Reported by: pmarra Owned by: rsalveti
Priority: normal Milestone: 0.2
Component: Build System Version: 0.3
Keywords: Cc: xerdcire@…

Description

I followed the instructions on website, but I have this problem:

paolo@Hard:~/Scrivania/mamonaimagebin$ sudo mic --config=/usr/share/mic/n800_os2008_chinook.xml --image=RX-34_2008SE_2.2007.51-3_PR_COMBINED_MR0_ARM.bin --dir=rootfs:mamona-root img_mamona.bin ['kernel', 'xloader', '2nd', 'initfs', 'rootfs', 'secondary'] ['kernel', 'xloader', '2nd', 'initfs', 'rootfs', 'secondary'] ['kernel', 'xloader', '2nd', 'initfs', 'rootfs', 'secondary'] ['kernel', 'xloader', '2nd', 'initfs', 'rootfs', 'secondary'] ['kernel', 'xloader', '2nd', 'initfs', 'rootfs', 'secondary'] ['kernel', 'xloader', '2nd', 'initfs', 'rootfs', 'secondary'] Traceback (most recent call last):

File "/usr/bin/mic", line 752, in <module>

sys.exit(main(sys.argv))

File "/usr/bin/mic", line 746, in main

out_image.create()

File "/usr/bin/mic", line 237, in create

raise FiascoException?("Cannot create the final image file %s" % (self.filename,))

main.FiascoException?: Cannot create the final image file img_mamona.bin

I had same "print" in /usr/bin/mic to understand by myself what's the problem, but I wasn't able to find it! I tried compile image on 3 different machines: debian stable, debian testing and ubuntu, but I have always the same problem. Could it possible that the problem is kernel version or gcc version? I'm sure that every modules needed are loaded.

anyone have can help me?

Attachments

mic-exception.patch Download (1.0 KB) - added by edrex 17 months ago.

Change History

Changed 17 months ago by edrex

  • cc xerdcire@… added

Same prob under Intrepid, following instructions and with mtd-tools installed

Any help getting past square 1 with Mamona, since this is preventing everyone from testing?

Changed 17 months ago by edrex

i am having the issue with 770 2008HE image btw

Changed 17 months ago by rsalveti

  • owner set to rsalveti
  • status changed from new to assigned

Argh, I love this kind of error that mic prints :-)

Will try to reproduce it with Intrepid, because at least at my Gentoo everything is working quite fine.

This error is most probably related with kernel options and modules, as it depends on some modules to mount the jffs2 file system on your host machine.

Changed 17 months ago by edrex

Changed 17 months ago by edrex

user error (wrong rootfs dir) but exception masks real error. patch fixes error message.

Changed 17 months ago by rsalveti

  • status changed from assigned to closed
  • resolution set to fixed

 http://dev.openbossa.org/mamona/gitweb?p=tools.git;a=commit; h=46e73718088fa1955ed5ffd9999b5f86f010f972

Will release mic 0.3 today, just getting everything to create the deb package.

Thanks for the fix.

Changed 17 months ago by rsalveti

Mic 0.3:

Some other fixes are also inside the new version.

Tested with my Gentoo and Ubuntu Jaunty.

Changed 16 months ago by londons

 Tiffany Bracelets Tiffanysilvers provides the best Tiffany & Co jewelry, including [ http://www.shoppingtiffany.co.uk/uktiffany-tiffany-rings-2.html Tiffany Ring], Pendants,  Tiffany Necklace, Earrings, Rings and Pocket Mirror at the lowest prices  tiffany and co  Tiffany Necklaces  Tiffany Rings  Tiffany Earrings

Note: See TracTickets for help on using tickets.