Author Topic: Ndless 1.7 for TI-Nspire  (Read 134560 times)

0 Members and 1 Guest are viewing this topic.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #60 on: September 30, 2010, 10:36:00 pm »
nah, she said no because of press-to-test

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #61 on: September 30, 2010, 10:38:08 pm »
We can, to a point, fake PTT with the discovery of the address controlling the LED.


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Ndless 1.7 for TI-Nspire
« Reply #62 on: September 30, 2010, 11:09:21 pm »
Except on OS 1.7 (at least not yet). Any writes to the LED registers are ignored for some reason. I'm sure there is a bit somewhere that controls this behavior.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #63 on: October 01, 2010, 06:38:23 pm »
I might have an idea for this clock freeze issue: the installation is executed from an IRQ handler, and call several syscalls. The (random) interrupted OS function and the syscalls called by the installer may use TCT_Protect() to protect their critical sections. The TCT_Protect-s may conflict and hang, waiting for the lock to be released, which will never happen.
Maybe connecting the USB cable during the installation triggers interrupts and change the race condition, which tend to bypass the issue.

I've seen the problem on nspire_emu, but it's not easily reproducable.
I'll try to avoid installing Ndless from the IRQ handler, and rather hook a safe OS function.
Ndless.me with the finest TI-Nspire programs

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #64 on: October 01, 2010, 06:58:00 pm »
Hello all,

I'm sorry to say that hackspire had a problem. inodes were orphaned and lost, the database was corrupted and is currently unrecoverable: if a mysql guru knows how to recover an innodb table that makes mysqld crash at recovery, please email me, I still have the old data files. bwang and extended knwow how to reach me.

I the meantime I restored a backup but it's quite old. I'm VERY SORRY for any loss, because I know how hard you work on documenting the nspire hardware :(

I now started a regular backup, so that such incident are not a problem anymore.
I added a cron line to save the wiki contents every 6 hours at minute 42 in:
http://hacksp ire.unsads.com/hackspi re.dump

You can help me: just download this file using a cron job every six hours at minute 50.

sorry, regards and congrats for the recent nspire releases.
« Last Edit: October 01, 2010, 07:26:50 pm by squalyl »

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #65 on: October 01, 2010, 07:02:51 pm »
:(

About a month ago, I saved the I/O port page to a text document so I could print (and format it to my liking).  It is attached in case it is of any use.  It only opens in Office 2007, though (sorry about this; also you have to remove the .txt extension).


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #66 on: October 01, 2010, 07:04:55 pm »
Hi Squalyl, yeah I remember a few days ago calc84maniac said that he could not login anymore and said the same yesterday, I believe. I did not realize Hackspire got screwed up this much, though. I am really sorry to hear that this happened and about the data loss :(. I recommend bi-weekly backups of the database in the future, since anything can happen.

Do you know what caused this? Hacking/cracking attempt, server misconfig, software error?

Couldn't this be the exact same issue as what happened to my other forum a year ago? I remember doing an upgrade from SMF 2.0 RC1 to 2.0 RC1.1 and it wrecked the board database (and the backup that was stored in the same database). Maybe Netham45 might be able to recover it (he is the one who helped recovering my other board), but he is busy so I am not sure how long it would take. You may have to post a separate topic about that in case someone else could help but doesn't notice your help request in this topic.

That said, welcome on the forums.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #67 on: October 01, 2010, 07:26:18 pm »
Hi,

I had lots of databases and I just realized that innoDB saved EVERY DAMN BYTE in the same huge file "ibdata1".

If something was wrecked somewhere, the whole thing got screwed up.

I think I had a disk (more probably filesystem) issue because I could not run any shell command, the (ext3) filesystem somewhat got corrupted. That's strange, because this server is not at my home but in a datacenter. However the fs was recovered at my reboot, but some inodes were lost (see my edited message).

I have established a 4-times-a-day backup that you can download it, to keep a bunch of copies in case something goes very wrong:

http://hack spire.unsads.com/hacks pire.dump
Please, just don't use it to install your own wiki, having more than one would be inefficient. This link is for backup purposes or localhost usage only.

This is not a hacking. mediawiki has recaptcha, ssh passwords are disabled and fail2ban protects the important services. I guess a filesystem corruption after a very long uptime.

Apcalc, thanks for restoring the LED data, and thanks for the welcome.
« Last Edit: October 01, 2010, 07:44:14 pm by squalyl »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #68 on: October 01, 2010, 07:53:44 pm »
so does this mean ndless 1.7 has been destroyed?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #69 on: October 01, 2010, 08:03:22 pm »
No this is not related in any way. It is just the wiki database
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #70 on: October 01, 2010, 08:24:29 pm »
ndless is in svn and not related to mysql.
and it is already backed up weekly.
and we have multiple working copies in case something goes wrong.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #71 on: October 01, 2010, 08:52:52 pm »
DJ redirected me here. Do you need help with a corrupt DB?
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #72 on: October 01, 2010, 09:05:17 pm »
D: sorry to hear that...

poor hackspire :(

Offline squalyl

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +2/-0
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #73 on: October 02, 2010, 05:22:38 am »
alberthrocks: maybe we won't pollute this thread? thanks for the help proposition. please contact me by email. my nickname is registered at google.

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #74 on: October 02, 2010, 05:33:26 am »
Here is the latest snapshot by Google cache: http://www.mirari.fr/l5vG

The I/O ports page has been fetched on  9 Sept. The Interrupts page has been fetched on 24 Sept.
I don't know if those are the latest version.
Ndless.me with the finest TI-Nspire programs