Author Topic: Oesf Forum Archive  (Read 40504 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #15 on: November 22, 2006, 05:43:21 pm »
yeah, I think lofiprint is for formatting when printing... lofiscreen is the one you want, without it the forum posts kind of merge together and it's harder to read.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #16 on: November 22, 2006, 05:46:23 pm »
Thanks for this info.
If you have time, read my post above about my defragging nightmare...
https://www.oesf.org/forums/index.php?showt...ndpost&p=146974
post #9
I just updated it.
« Last Edit: November 22, 2006, 05:46:53 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #17 on: November 22, 2006, 06:13:12 pm »
I have created cramfs and its uploading to my website, it's 72638464 bytes!

I copied  the image onto my SD card, and mounted it under /tmp (which on cacko is elsewhere).. thus:

$mkdir /dev/shm/tmp/oesfforlofi

$mount -o loop -t cramfs /mnt/card/oesfforlofi.cramfs /dev/shm/tmp/oesfforlofi

then simply tell opera to browse file: and go to /tmp and to oesfforlofi and then index.html


I will also try with squashfs as its archive is only 39407616 bytes, a very worthwhile saving on bandwidth! I can't seem to work out the syntax of squashfs on cacko, it's somehow different to cramfs and I'm tired after a long day!

# mount  -o loop  -t squashfs/mnt/card/oesfforlofi.squashfs /dev/shm/tmp/oesfforlofi
mount: Mounting /mnt/card/oesfforlofi.squashfs on /dev/shm/tmp/oesfforlofi failed: Invalid argument
« Last Edit: November 22, 2006, 06:21:27 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #18 on: November 22, 2006, 06:23:25 pm »
I have Meanie's Automounter installed. I'll use it to mount the squashfs version as it becomes available.
Thanks again speculatrix
In the meantime, the unzipped archive seems to work pretty well
If I ever learn Linux and don't have to write everything down, I can stop using this FAT file mess and it's fragmentation problems...
« Last Edit: November 22, 2006, 06:24:50 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Oesf Forum Archive
« Reply #19 on: November 22, 2006, 10:05:02 pm »
Quote
I have created cramfs and its uploading to my website, it's 72638464 bytes!

I copied  the image onto my SD card, and mounted it under /tmp (which on cacko is elsewhere).. thus:

$mkdir /dev/shm/tmp/oesfforlofi

$mount -o loop -t cramfs /mnt/card/oesfforlofi.cramfs /dev/shm/tmp/oesfforlofi

then simply tell opera to browse file: and go to /tmp and to oesfforlofi and then index.html

Thanks for this. I had plenty of room, so I just popped this file over to my 1GB SD card. Mounted in my wevserver (boa) root directory, and now I am serving the archive to my local network! Great stuff.

Thanks again,

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #20 on: November 23, 2006, 05:11:36 am »
Quote
I have Meanie's Automounter installed. I'll use it to mount the squashfs version as it becomes available.
Thanks again speculatrix
In the meantime, the unzipped archive seems to work pretty well
If I ever learn Linux and don't have to write everything down, I can stop using this FAT file mess and it's fragmentation problems...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147002\"][{POST_SNAPBACK}][/a][/div]

What I would do if I were you would be... copy off the files you want from your flash card, reformat it, and put the files back again, it'd be a lot quicker than de-fragging!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #21 on: November 23, 2006, 05:16:19 am »
I deleted the zip file off my site to save disk space, but Antikz's kind provision of a mirror will allow those who want it to grab it.

I'm uploading the squashfs archive now. I am wondering whether I used the right flags to make it as there are lots of options. If someone can test it, please let me know if you can make it work!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #22 on: November 23, 2006, 11:18:40 am »
Quote
I'm uploading the squashfs archive now. I am wondering whether I used the right flags to make it as there are lots of options. If someone can test it, please let me know if you can make it work!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147041\"][{POST_SNAPBACK}][/a][/div]
I just copied it to my hard drive. /hdd3/oesf/ folder.
Rebooting to see if Meanie's automounter mounts it.
It didn't mount automatically, so I created a folder:  /mnt/oesf/
Then I tried to mount it in the console.
su
mount /hdd3/oesf/oesfforlofi.squashfs /mnt/oesf

I got this error
mount: mounting /hdd3/oesf/oesfforlofi.squashfs on /mnt/oesf failed: Block device required

I don't remember what I need to do to make a block device.
I recall when using Meanie's pdaXqtrom, there was a script that installed, and mounted the squashfs archives.
I'm going to look at Meanie's PDF file and find out how to mount this.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #23 on: November 23, 2006, 11:51:18 am »
suse kernel comes with cramfs but not squashfs (and without either toolsuite for mkcramfs or mksquashfs, so I built them).  

I just finished rebuilding the kernel modules on my fileserver and installed squashfs and am able to mount the oesfforlofi.squashfs on loopback mount and it works fine!
Code: [Select]
# mount -t squashfs -o loop,ro /home/download/zaurus/docs/oesfforlofi.squashfs /tmp/oesf-squashfs
# ls /tmp/oesf-squashfs
backblue.gif  external.gif  external.html  index.html  www.oesf.org

However, I cannot mount the cramfs image!
Code: [Select]
# mount -o loop -t cramfs /home/download/zaurus/docs/oesfforlofi.squashfs /tmp/oesf-cramfs
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
# dmesg | tail
cramfs: wrong magic

Very odd. And a bit annoying. I am woindering if its an endian incompatibility between x86 and Arm - perhaps mkcramfs defaults to arm compat, and mksquashfs to x86?

It does mean the squashfs image is worth having if you have an x86 workstation... I wish it were the otherway round because it's the Zaurus that would benefit from the space saving!
« Last Edit: November 23, 2006, 11:54:06 am by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #24 on: November 23, 2006, 11:59:30 am »
I don't know much about mounting either cramfs or squashfs archives, but Meanie's pdaxqtrom comes in both types.
using Meanie's script mounts either cramfs or squashfs versions of pdaxqtrom.
Cacko already includes the necessory module for squashfs, but I heard the Sharp rom doesn't.
EDIT:
So do I have to manually mount this archive by using the above commands?
That's what I thought Automounter was for. I thought it did all the commands and mounting for you.
I have a problem remembering the commands and switches...
« Last Edit: November 23, 2006, 12:04:31 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #25 on: November 23, 2006, 12:09:12 pm »
I just tried your command above with my directory setup,
mount -t squashfs -o loop,ro /hdd3/oesf/oesfforlofi.squashfs /mnt/oesf
but I got this error:
invalid argument.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #26 on: November 23, 2006, 12:27:47 pm »
I just downloaded the cramfs version, going to try it now.
Do I need to rename it from oesfforlofi.cramfs.arm to oesfforlofi.cramfs
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #27 on: November 23, 2006, 12:28:06 pm »
Quote
mount: mounting /hdd3/oesf/oesfforlofi.squashfs on /mnt/oesf failed: Block device required

I don't remember what I need to do to make a block device.
I recall when using Meanie's pdaXqtrom, there was a script that installed, and mounted the squashfs archives.
I'm going to look at Meanie's PDF file and find out how to mount this.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147063\"][{POST_SNAPBACK}][/a][/div]

the error about block device means that the loop-back mount didn't work as it should see the file as a pseudo block device.

according to the docs, mksquashfs can make big-endian or little-endian file systems, the one I made yesterday was LE (and I would suggest you rename is to .e.g. oesfforlofi.squashfs.le). It says that the kernel module FS can mount either BE or LE files, but I am wondering if this is the case, and am making a new BE file and will test it to see if will mount on cacko, if it does I will upload it.

so, in the meanwhile, you'll have to live with cramfs on zaurus and squashfs on x86!

sorry for all this hassle guys, I should really have tested them before uploading.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Oesf Forum Archive
« Reply #28 on: November 23, 2006, 12:32:46 pm »
The cramfs version mounted.

EDIT: what is the reason for renaming the squashfs archive to oesfforlofi.squashfs.le
That won't make it work on the Z, will it?
If it only works on a desktop Linux PC, then I'll just delete it off my Zaurus.

Thanks speculatrix, I get it now. (I'm a little dense when it comes to these things).
I'll try the next squashfs version when it's ready.
No hurry, don't miss out on the turkey today while fussing with this
« Last Edit: November 23, 2006, 12:45:21 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Oesf Forum Archive
« Reply #29 on: November 23, 2006, 12:45:58 pm »
Quote
The cramfs version mounted.

EDIT: what is the reason for renaming the squashfs archive to oesfforlofi.squashfs.le
That won't make it work on the Z, will it?
If it only works on a desktop Linux PC, then I'll just delete it off my Zaurus.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147080\"][{POST_SNAPBACK}][/a][/div]

you can call these files anything you want, it doesn't matter at all. glad you've got a working mounted archive.

renaming to .le is just my way of remembering which version is which.  since it doesn't appear to work on your Z, might as well delete it.. hopefully I will get a squashfs version which does work on Z soon.
« Last Edit: November 23, 2006, 12:46:18 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.