Author Topic: Hentges Rom: New Versioning System  (Read 418597 times)

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #45 on: November 07, 2006, 01:26:05 pm »
Quote
Quote
I've updated the distro feeds, please run "dist-upgrade" from the console.
dist-upgrade works great, but I had a couple of problems.

1. The security module kept asking for the pin number whilst the upgrade was trying to calibrate, I eventually had to ssh in from my main box, remove security and reboot the collie.

I should have been more clear. By "console" I meant the VT (ie: exit Opie / GPE)

Quote
2. dist-upgrade does not respect user alterations, it re-installed packages that I had removed, and it changed my decorative settings back to default.

samac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145746\"][{POST_SNAPBACK}][/a][/div]

Interesting. Sounds like some hentges-* packages do not like beeing reinstalled  
Thanks for spotting it, I'll have a look.

Could you give me an example which packages were re-installed after you had removed them?
Webmaster of hentges.net & Embedded Linux Developer.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #46 on: November 07, 2006, 01:27:30 pm »
Quote
Hi CoreDump,
  Thanks for the work on Poodle. I flashed this new image and I'm sure it works fine, but on first boot, I get the pop up asking me what I want to do with the detected SD card, but it is too big for the screen and is immovible. I can't seem to use the arrow keys or tab to get to the "OK" button to make it go away. Any ideas?

Thanks,
   ennui719

edit:  Oh I see you are already on this... see post https://www.oesf.org/forums/index.php?showtopic=21910
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145741\"][{POST_SNAPBACK}][/a][/div]

Well, what can I say. This bug in Opie is driving me [span style=\'font-size:21pt;line-height:100%\']NUTS[/span].
Webmaster of hentges.net & Embedded Linux Developer.

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Hentges Rom: New Versioning System
« Reply #47 on: November 07, 2006, 02:19:28 pm »
Quote
Well, what can I say. This bug in Opie is driving me [span style=\'font-size:21pt;line-height:100%\']NUTS[/span].
CoreDump

The simple hack I used was to include a copy of '.opiestorage.cf' in your hentges-xxx.rootfs.tar.gz  

Your dist-upgrade works very well for me.

Thanks

Greg

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #48 on: November 07, 2006, 03:06:00 pm »
Quote
Quote
Well, what can I say. This bug in Opie is driving me [span style=\'font-size:21pt;line-height:100%\']NUTS[/span].
CoreDump

The simple hack I used was to include a copy of '.opiestorage.cf' in your hentges-xxx.rootfs.tar.gz  

Your dist-upgrade works very well for me.

Thanks

Greg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145763\"][{POST_SNAPBACK}][/a][/div]

Heh good one  
That however fails as soon as the user has a second partition on that card (which will be mounted as /media/card and OF COURSE trigger this blasted bug)

The worst part is that Hentges already had a work-around for this idiocy in place, which somehow stopped working about a year ago *sigh*.

I guess I'll use some udev magic to install ".opiestorage.cf" where needed.

EDIT:

By the way, the next upgrade will pull in a working auto-fsck of the rootfs on boot for Poodle and Spitz.
« Last Edit: November 07, 2006, 03:11:31 pm by CoreDump »
Webmaster of hentges.net & Embedded Linux Developer.

hvontres

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://
Hentges Rom: New Versioning System
« Reply #49 on: November 07, 2006, 03:09:50 pm »
Quote
Quote
Quote
Well, what can I say. This bug in Opie is driving me [span style=\'font-size:21pt;line-height:100%\']NUTS[/span].
CoreDump

The simple hack I used was to include a copy of '.opiestorage.cf' in your hentges-xxx.rootfs.tar.gz  

Your dist-upgrade works very well for me.

Thanks

Greg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145763\"][{POST_SNAPBACK}][/a][/div]

Heh good one  
That however fails as soon as the user has a second partition on that card (which will be mounted as /media/card and OF COURSE trigger this blasted bug)

The worst part is that Hentges already had a work-around for this idiocy in place, which somehow stopped working about a year ago *sigh*
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145766\"][{POST_SNAPBACK}][/a][/div]

Can you set up opie to not build medium-mount? As far as I can see it's used with the Doc Tab, which itself is not all that usefull....
[span style=\'font-size:10pt;line-height:100%\']Henry von Tresckow[/span]
--------------------------------------
SL-5600, OZ 3.5.4.2 (Hentges), Kernel 2.6.17 :)
1gb Kingston SD (ext2), 5Gb Seagate ST1 (3.03 Fw, fat32)
256 MB Kingston SD (ext2),256MB Viking CF,32MB CF (vfat),
homebuilt GPS unit (Based on RFMD RF 8000)

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #50 on: November 07, 2006, 03:15:31 pm »
Quote
Can you set up opie to not build medium-mount? As far as I can see it's used with the Doc Tab, which itself is not all that usefull....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145767\"][{POST_SNAPBACK}][/a][/div]

I wonder if that's possible w/o breaking to much stuff? I'll have a look  
Webmaster of hentges.net & Embedded Linux Developer.

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Hentges Rom: New Versioning System
« Reply #51 on: November 07, 2006, 03:22:52 pm »
Quote
2. dist-upgrade does not respect user alterations, it re-installed packages that I had removed, and it changed my decorative settings back to default.

Samac

Interesting. Sounds like some hentges-* packages do not like beeing reinstalled biggrin.gif
Thanks for spotting it, I'll have a look.

Could you give me an example which packages were re-installed after you had removed them?

PLEASE IGNORE THE BIT ABOUT PACKAGES. I speak much rubbish!!!! The bit about the decor is still OK.

Sorry

Samac
« Last Edit: November 07, 2006, 03:23:39 pm by samac »
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #52 on: November 07, 2006, 04:14:28 pm »
Quote
PLEASE IGNORE THE BIT ABOUT PACKAGES. I speak much rubbish!!!! The bit about the decor is still OK.

Sorry

Samac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145772\"][{POST_SNAPBACK}][/a][/div]

No worry, these packages were never intended to be re-installed so some breakage was to be expected.
Webmaster of hentges.net & Embedded Linux Developer.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #53 on: November 07, 2006, 06:42:47 pm »
For future reference: If you get hit by the medium-mount dialog bug do the following:

- Reset the machine
- Do not let the Opie GUI start but press a button during the 5 second window
- Login as "root" (no password)
- Enter "ipkg remove opie-mediummount" and hit return
- Launch Opie with "/etc/init.d/opie start"
Webmaster of hentges.net & Embedded Linux Developer.

StomaKC

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • http://
Hentges Rom: New Versioning System
« Reply #54 on: November 08, 2006, 04:26:10 am »
Quote
Quote
2. dist-upgrade does not respect user alterations, it re-installed packages that I had removed, and it changed my decorative settings back to default.

Samac

Interesting. Sounds like some hentges-* packages do not like beeing reinstalled biggrin.gif
Thanks for spotting it, I'll have a look.

Could you give me an example which packages were re-installed after you had removed them?

PLEASE IGNORE THE BIT ABOUT PACKAGES. I speak much rubbish!!!! The bit about the decor is still OK.

Sorry

Samac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145772\"][{POST_SNAPBACK}][/a][/div]

I encountered the decor issue. I found that my external root home was no longer mounted as /home/root.

Got it back through an /etc/.<some hentges file> edition before some init script rerun. Can't remember which file, but I'm giving a clue.
SL5500 - Hentges/OZ 3.5.4rc
SD 1GB - CF 64 MB

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Rom: New Versioning System
« Reply #55 on: November 08, 2006, 06:49:22 am »
Quote
I encountered the decor issue. I found that my external root home was no longer mounted as /home/root.

Got it back through an /etc/.<some hentges file> edition before some init script rerun. Can't remember which file, but I'm giving a clue.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

The decor issue is planned for the next upgrade  
I'll also look at the extroot script.

FWIW, /media/root is beeing converted to /media/home/root. /media/home/ is then mounted as /home

Fresh images for all machines [a href=\"http://hentges.net/tmp/snapshots/Hentges-ROM/1.0.0/20061108/]are online[/url].

The images contain all updates from the hentges feeds. Also users running into Opies cursed medium-mount bug should be happy to hear that this bug should no longer occur with the new images.
EDIT: Well, at least on Poodle it should be gone...

I've also pushed a new upgrade into the feeds fxing the following bugs:

- altboots no longer prints modprobe / insmod messages on some machines
- The rootfs partition on Poodle and Collie is now automatcally fsck'ed on boot
- The root-partition on Poodle is no longer mounted twice
- The medium-mount bug of Opie should be history (thanks to hvontres)
« Last Edit: November 08, 2006, 07:13:29 am by CoreDump »
Webmaster of hentges.net & Embedded Linux Developer.

cstrand1

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • http://www.swedes5.com
Hentges Rom: New Versioning System
« Reply #56 on: November 08, 2006, 10:31:48 am »
Hello all,

I am having an issue flashing to the latest.

I have a Poodle PXA-250.

When I flash with the new kernel and put an opie-image-rootfs.bin in /media/card/boot-images/, it tells me that it flashes the kernel and that it cannot find a rootfs, "please reset".

When I reset it, it get a kernel panic - not syncing: No init found.

What have I done wrong?

Thanks,
Chuck
SL-5600 PXA250
Opie 3.5.4/GPE 3.5.4 on SD (altboot)
Sandisk 1GB SD
Sandisk Ultra II 256MB CF
Ambicom WL1100C

hvontres

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://
Hentges Rom: New Versioning System
« Reply #57 on: November 08, 2006, 10:44:56 am »
Quote
Hello all,

I am having an issue flashing to the latest.

I have a Poodle PXA-250.

When I flash with the new kernel and put an opie-image-rootfs.bin in /media/card/boot-images/, it tells me that it flashes the kernel and that it cannot find a rootfs, "please reset".

When I reset it, it get a kernel panic - not syncing: No init found.

What have I done wrong?

Thanks,
Chuck
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145821\"][{POST_SNAPBACK}][/a][/div]
is your SD card formated as ext2?
[span style=\'font-size:10pt;line-height:100%\']Henry von Tresckow[/span]
--------------------------------------
SL-5600, OZ 3.5.4.2 (Hentges), Kernel 2.6.17 :)
1gb Kingston SD (ext2), 5Gb Seagate ST1 (3.03 Fw, fat32)
256 MB Kingston SD (ext2),256MB Viking CF,32MB CF (vfat),
homebuilt GPS unit (Based on RFMD RF 8000)

cstrand1

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • http://www.swedes5.com
Hentges Rom: New Versioning System
« Reply #58 on: November 08, 2006, 10:51:31 am »
Quote
Quote
Hello all,

I am having an issue flashing to the latest.

I have a Poodle PXA-250.

When I flash with the new kernel and put an opie-image-rootfs.bin in /media/card/boot-images/, it tells me that it flashes the kernel and that it cannot find a rootfs, "please reset".

When I reset it, it get a kernel panic - not syncing: No init found.

What have I done wrong?

Thanks,
Chuck
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145821\"][{POST_SNAPBACK}][/a][/div]
is your SD card formated as ext2?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145823\"][{POST_SNAPBACK}][/a][/div]

It is formatted as ext2.
SL-5600 PXA250
Opie 3.5.4/GPE 3.5.4 on SD (altboot)
Sandisk 1GB SD
Sandisk Ultra II 256MB CF
Ambicom WL1100C

cstrand1

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • http://www.swedes5.com
Hentges Rom: New Versioning System
« Reply #59 on: November 08, 2006, 11:05:12 am »
Quote
Quote
Quote
Hello all,

I am having an issue flashing to the latest.

I have a Poodle PXA-250.

When I flash with the new kernel and put an opie-image-rootfs.bin in /media/card/boot-images/, it tells me that it flashes the kernel and that it cannot find a rootfs, "please reset".

When I reset it, it get a kernel panic - not syncing: No init found.

What have I done wrong?

Thanks,
Chuck
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
is your SD card formated as ext2?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145823\"][{POST_SNAPBACK}][/a][/div]

It is formatted as ext2.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145825\"][{POST_SNAPBACK}][/a][/div]

Well, I did not read all the posts and found this. [a href=\"https://www.oesf.org/forums/index.php?showtopic=21910]https://www.oesf.org/forums/index.php?showtopic=21910[/url]
which had installation instuctions, which I am doing.
SL-5600 PXA250
Opie 3.5.4/GPE 3.5.4 on SD (altboot)
Sandisk 1GB SD
Sandisk Ultra II 256MB CF
Ambicom WL1100C