Sponsored links


Go Back   Sat Industry Forums > Dreambox > Dreambox Development
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 03-15-2005
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
dreamuser1 is on a distinguished road
It works nice with my DM7020! great work!
I have Original DMM on Flash with gemini MOD and Hydra on USB! all work stable!
Reply With Quote
Sponsored links
  #22 (permalink)  
Old 03-15-2005
zoppa's Avatar
Registered User
 
Join Date: Dec 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
zoppa is on a distinguished road
Quote:
Originally Posted by noggie
Icredible. Must have forgotten to push the "Upload" button.

Definetely time to go to bed

Please upload once again.

Quote:
Invalid Attachment specified. If you followed a valid link, please notify the webmaster

EDIT
Thanks. Download is working
/EDIT

Last edited by zoppa : 03-15-2005 at 06:46 PM. Reason: Binary download is fixed.
Reply With Quote
  #23 (permalink)  
Old 03-15-2005
Registered User
 
Join Date: Sep 2004
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
noggie is on a distinguished road
Quote:
Originally Posted by dreamuser1
It works nice with my DM7020! great work!
I have Original DMM on Flash with gemini MOD and Hydra on USB! all work stable!
Thanks for the report! Keep them coming, both good and bad. There are probably minor bugs lurking somewhere, and having a handle on what works and what doesn't will be a great help in squashing those bugs.
Reply With Quote
  #24 (permalink)  
Old 03-15-2005
zoppa's Avatar
Registered User
 
Join Date: Dec 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
zoppa is on a distinguished road
Quote:
Originally Posted by noggie
Updated package
Btw, how to update?
Should I remove previous miniroot?
Will my config be kept?

EDIT
Old miniroot is not in ipkg list_installed. So i did a ipkg install miniroot...ipk.
/opt/miniroot7020/images was overwritten. Replaced it with my backed up images.
Should I have used the webif "update miniroot"?
/EDIT

Last edited by zoppa : 03-15-2005 at 07:36 PM.
Reply With Quote
  #25 (permalink)  
Old 03-15-2005
zoppa's Avatar
Registered User
 
Join Date: Dec 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
zoppa is on a distinguished road
Installation, miniroot menue and webif (with maintenance shell) are working.

But, if I try to boot from FLASH, then miniroot is looping. Booting from USB is fine.
Reply With Quote
  #26 (permalink)  
Old 03-15-2005
Registered User
 
Join Date: Sep 2004
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
noggie is on a distinguished road
Quote:
Originally Posted by zoppa
Installation, miniroot menue and webif (with maintenance shell) are working.

But, if I try to boot from FLASH, then miniroot is looping. Booting from USB is fine.
Shit, shit, shit! I've removed the download file until this problem is resolved.

Thanks for the quick response, zoppa.
Reply With Quote
  #27 (permalink)  
Old 03-15-2005
Registered User
 
Join Date: Sep 2004
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
noggie is on a distinguished road
Quote:
Originally Posted by zoppa
Btw, how to update?
Should I remove previous miniroot?
Will my config be kept?

EDIT
Old miniroot is not in ipkg list_installed. So i did a ipkg install miniroot...ipk.
/opt/miniroot7020/images was overwritten. Replaced it with my backed up images.
Should I have used the webif "update miniroot"?
/EDIT
You should be able to do a "ipk remove miniroot7020". It doesn't delete the directory structure or your config files, but everything else will be gone.
Reply With Quote
  #28 (permalink)  
Old 03-15-2005
zoppa's Avatar
Registered User
 
Join Date: Dec 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
zoppa is on a distinguished road
Quote:
Originally Posted by noggie
You should be able to do a "ipk remove miniroot7020". It doesn't delete the directory structure or your config files, but everything else will be gone.
Its really strange :

Code:
root@dreambox:~# ipkg list_installed | grep miniroot7020
root@dreambox:~#
I think what happened is that /sbin/originit was overwritten with init->../linuxrc.
In my second try I removed init and moved originit to init before doing ipkg install. This time everything is ok.
But still no miniroot in ipkg database.
Reply With Quote
  #29 (permalink)  
Old 03-15-2005
Registered User
 
Join Date: Sep 2004
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
noggie is on a distinguished road
Quote:
Originally Posted by zoppa
But, if I try to boot from FLASH, then miniroot is looping. Booting from USB is fine.
A couple of minutes thinking (why didn't I do that earlier? ) and I believe I know the reason. Did you just install the new version on top of the old one? Without removing the old one first? In that case I think I know what's happening. The installation scripts are inadequate and should either stop the installation if it's already installed, or change behaviour if it sees that it's already installed.

I feel really bad about this, but I think I may have damaged your system, zoppa. I know that "sorry" isn't adequate, but I just can't undo the error.

Explanation: The install script does a "mv /sbin/init /sbin/originit" and a "mv /bin/busybox /bin/origbusybox". The un-install script will reverse this. Doing the installation twice will overwrite the real original with the previous copy. But if you can start from USB, there is a chance of recovery without having to flash. Boot from USB, mount the flash somewhere ("mount -t jffs2 /dev/mtdblock/3 /mnt/somewhere"). Now confirm that this is the problem by listing some files:
ls -l /mnt/somewhere/bin/*busybox /mnt/somewhere/sbin/*init
You should see the original and the new. If they are the same, the actual original has been overwritten. /mnt/somewhere/sbin/init should be a link to ../linuxrc, while /mnt/somewhere/sbin/originit should be a binary.

/mnt/somewhere/bin/busybox is not critical, the version I distribute only has some additions to the one from OE. /mnt/somewhere/sbin/originit is a different matter.

If my theory is right, you should be able to delete /mnt/somewhere/sbin/originit and replace it with /sbin/init. There has been no changes to init in OE for a long time, so the one from USB should be equivalent to the one you used to have in flash.

The same procedure for busybox, if you care. As I said, the one I distribute should be just functional additions to the standard OE one.

Give me a few hours, and I will update and test new install/remove scripts. If anybody has downloaded previous versions, make sure you do an uninstall before doing a new install.
Reply With Quote
  #30 (permalink)  
Old 03-15-2005
Registered User
 
Join Date: Sep 2004
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
noggie is on a distinguished road
Quote:
Originally Posted by zoppa
Its really strange :

Code:
root@dreambox:~# ipkg list_installed | grep miniroot7020
root@dreambox:~#
I think what happened is that /sbin/originit was overwritten with init->../linuxrc.
In my second try I removed init and moved originit to init before doing ipkg install. This time everything is ok.
But still no miniroot in ipkg database.
This came in while I was writing my reply. Good to see that you are OK!!!

I'll take a look at "ipkg list_install", but I know I have done a "ipkg remove miniroot7020" and successfully removed it. Don't know why "list_install" doesn't work. If you want to run a test: do a "ipkg update" before the "list_install" and see if that makes a difference.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Multi Boot on RUDREAM with HYDRA installed j.u.d.a.s RuDream Images 6 12-06-2004 03:17 AM
Searching for Loader 5600 larson44_33 DM-5600s/5620s 5 08-23-2004 08:48 PM
Problem with Multi Boot izibizi Applications Support 0 06-22-2004 10:52 PM
multi boot with neutrino? jetemerde DB Images 0 12-31-2003 03:28 AM
multi boot images spooky DB Images 3 09-04-2003 11:25 PM


All times are GMT +10. The time now is 07:19 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Page generated in 0.43468 seconds with 11 queries