Author Topic: Dev_img-1.6 Setup Trouble  (Read 7277 times)

Meyer

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • http://papa.motd.org/cgi-bin/blosxom.cgi
Dev_img-1.6 Setup Trouble
« on: November 17, 2007, 01:33:27 am »
dev_img-1.5 worked fine until several months ago when gcc started segment faulting. Decided to try upgrading to 1.6 to solve the problem, but I can't get the set-up script to run successfully. Does something need to be installed first to use squashfs instead of the previous image's cramfs? Have tried running more than once removing all the 1.5 configuration I could find.

Code: [Select]
# sh image_setup.sh /usr/mnt.rom/card/dev_img-1.6 /mnt/dev
Setting mount point /mnt/dev...
Mounting image /usr/mnt.rom/card/dev_img-1.6...
mount: Mounting /usr/mnt.rom/card/dev_img-1.6 on /mnt/dev failed: No such device
Failed to mount image /usr/mnt.rom/card/dev_img-1.6 on /mnt/dev

Is there a better forum for this topic?
« Last Edit: November 17, 2007, 01:36:22 am by Meyer »
David Meyer, Takarazuka, Japan
1. Zaurus iGeti MI-P10-S (retired)
2. "Liza" Zaurus SL-C860, Sharp ROM 1.31 JP R.I.P.
3. "Slee 2" Zaurus SL-C860, Sharp ROM 1.40 JP (retired)
4. "iZa" Zaurus SL-C1000, Sharp ROM 1.01 JP

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Dev_img-1.6 Setup Trouble
« Reply #1 on: November 17, 2007, 05:15:56 pm »
check that the file on your SD card is actually there, and has non-zero size.

/usr/mnt.rom/card/dev_img-1.6

I think, from memory, that /mnt/card is a link to /usr/mnt.rom/card so check both locations, maybe the soft link is broken, the card isn't being mounted correctly (using fat16, fat32 or ext2/3??), or the file is corrupted??
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Meyer

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • http://papa.motd.org/cgi-bin/blosxom.cgi
Dev_img-1.6 Setup Trouble
« Reply #2 on: April 07, 2008, 01:53:28 am »
Having made no progress on this problem, I've been making-do with zgcc for on-board compiling for the last few months, until today when I wanted to compile something that uses the curses library. Finding no IPKG for libcurses, I decided to give dev_img-1.6 another try.

Still no success, but I may have found the cause for image file failing to mount. My kernel is version 2.4.18-rmk7-pxa3-embedix (Sharp ROM 1.31 JP), but my squashfs module is compiled for kernel 2.4.20. This give me three possible ways forward:
  • Find a squashfs IPKG for kernel 2.4.18...
  • Find a copy of dev_img-1.5, which uses known-to-work cramfs instead of squashfs.
  • Compile squashfs myself, which will require a kernel patch.
Anyone know where I can find the targets of 1. or 2., or a painless way to do 3.?

Zaurus is SL-C860.
David Meyer, Takarazuka, Japan
1. Zaurus iGeti MI-P10-S (retired)
2. "Liza" Zaurus SL-C860, Sharp ROM 1.31 JP R.I.P.
3. "Slee 2" Zaurus SL-C860, Sharp ROM 1.40 JP (retired)
4. "iZa" Zaurus SL-C1000, Sharp ROM 1.01 JP

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Dev_img-1.6 Setup Trouble
« Reply #3 on: April 16, 2008, 11:15:19 pm »
I don't have the patience to wade through the results but you might also try google's code search:

     http://google.com/codesearch?hl=en&lr=...amp;btnG=Search

Anything useful there?   Nothing came up for the dev img you wanted.  Might also try meta engine like dogpile.com

When we needed a copy of my 2.4.6 kernel, I used google to help me locate people who had been involved in development of applications for it, and one of them still had a copy and pointed us to the right ftp sites.

Hopefully someone here will see your query and respond.
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Dev_img-1.6 Setup Trouble
« Reply #4 on: April 17, 2008, 08:30:09 am »
when I made a squashfs archive of the oesf forums, I had to use an old version of squashfs - version 2.

new kernels with squashfs v3 filesys will mount old v2 files, but not vice versa.

some notes/comments here: http://www.zaurus.org.uk/squashfs.html
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.