On Fri, November 23, 2007 11:42 am, raaku12 wrote:
> but now on halt, reboot, shutdown i'm getting Segmentation fault
> error and nothing happens...
>
> Stopping system log daemon: syslogd.
> Asking all remaining processes to terminate...done.
> Killing all remaining processes...done.
> Deconfiguring network interfaces...done.
> Unmounting temporary filesystems...done.
> Deactivating swap...done.
> Unmounting local filesystems...done.
> Will now restart.
> /etc/rc6.d/S90reboot: line 17: 1032 Segmentation fault reboot -
> d -f -i
> Press enter for maintenance
> (or type Control-D to continue):
>
Unfortunately the initial load had a bug in drivers/mmc/tssdcard.c: the
function tssdcard_shutdownhook() has a call to tssdcard_sdcommit() which
should look like this:
static int tssdcard_shutdownhook(struct notifier_block *NotifierBlock,
unsigned long Event, void *Buffer)
{
int i;
if (!(Event == SYS_RESTART || Event == SYS_HALT || Event == SYS_POWER_OFF))
return NOTIFY_DONE;
for (i = 0; i< ndevices ; i++) {
tssdcard_sdcommit((unsigned long)(devices+i));
}
return NOTIFY_OK;
}
In the initial version a null pointer was (indirectly) being passed. This
caused reboot to crash, but only when running from an SD card.
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16610 East Laser Drive #10
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
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/
|