ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7260 - How to stop script that loads at bootup and gets

To:
Subject: [ts-7000] Re: TS7260 - How to stop script that loads at bootup and gets stuck
From: "hec85aragon" <>
Date: Tue, 02 Oct 2012 21:26:03 -0000
Thanks a lot for the suggestions, I've already solved the problem.

>From RedBoot I added the following to the kernel command line:
init=/bin/bash

This gave me access to the shell without the init scripts being loaded. I then 
edited the faulty script and that was it.

thanks again for the help.

Hector

--- In  Jim Jackson <> wrote:
>
> 
> 
> 
> On Tue, 2 Oct 2012, hec85aragon wrote:
> 
> > Hello, I made a silly mistake with my TS-7260. I ran a script that loads 
> > an executable program from an SD card right after bootup. However, I 
> > failed to notice that it tries to mount the SD card before the SD driver 
> > is loaded (It is loaded manually with "modprobe sdcard-sdhc.o"). The 
> > original sdcard.o driver was removed. Of course, the SD card never gets 
> > mounted on the device, thus the executable is not found.
> > 
> > The problem is that the call to run the executable is within an infinite 
> > loop, so the script gets stuck eternally as it never finds the executable 
> > program. Since the script runs right after bootup I don't have access to 
> > the prompt anymore, and have no way to modify the script or to stop it. 
> > Ctrl+C doesn't work.
> > 
> > Is there another way to stop the script? or prevent it from executing?
> > 
> > I'd really appreciate any help on this because I can't use my ts7260 at 
> > the moment. Thanks in advance.
> 
> Mount the sdcard in a Linux machine and edit the relevant files!!
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU