Softreboot does not reboot the system

Bug #750171 reported by Harikrishna
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linaro-landing-team-samsung
Fix Released
Medium
Linaro Landing Team: Samsung

Bug Description

Softreboot (using reboot command) hangs the system while trying to reboot it .
Sytem displays the below messages and hangs off until a hard reset is made.

root@linaro:~# reboot

Broadcast message from root@linaro
        (/dev/ttySAC1) at 0:45 ...

The system is going down for reboot NOW!
root@linaro:~# init: ssh main process (1084) terminated with status 255
init: tty4 main process (1249) killed by TERM signal
init: tty5 main process (1251) killed by TERM signal
init: auto-serial-console main process (1252) killed by TERM signal
init: tty2 main process (1258) killed by TERM signal
init: tty3 main process (1259) killed by TERM signal
init: tty6 main process (1261) killed by TERM signal
init: cron main process (1268) killed by TERM signal
init: openvt main process (1313) killed by TERM signal
init: plymouth-upstart-bridge main process (1353) terminated with status 1
[ OK ]ing all remaining processes to terminate...
[ OK ] processes ended within 1 seconds....
[ OK ]onfiguring network interfaces...
[ OK ]ctivating swap...
[ OK ]ounting weak filesystems...
 * Will now restart
Restarting system.

Revision history for this message
Harikrishna (s-hari) wrote :
Changed in linaro-landing-team-samsung:
status: New → Confirmed
assignee: nobody → Linaro Landing Team: Samsung (linaro-landing-team-samsung)
visibility: private → public
Changed in linaro-landing-team-samsung:
importance: Undecided → Medium
Revision history for this message
Harikrishna (s-hari) wrote :

soft reboot is working with the latest Hwpack : hwpack_linaro-s5pv310_20110418-0_armel_supported.tar.gz

Revision history for this message
frank erhard (frank-erhard) wrote :

Softreboot or Shutdown(using reboot or shutdown button) hangs the system while trying to reboot it .
Sytem displays the below messages and hangs off until a hard reset is made.
No Problems while start the OS afterward, as well.

"plymouth-upstart-bridge main process (1353) terminated with status 1"

Revision history for this message
Anmar Oueja (anmar) wrote :

Angus: Any idea why this is happening. If you have logs, we can get the plymouth guys to look at them and provide some feedback, assuming plymouth is the culprit.

Revision history for this message
Angus Ainslie (angus-akkea) wrote :

Anmar: It's not an issue with plymouth. That just happens to be the last thing that gets printed before the hang.

Tushar tracked the hang to some Samsung specific code that disables the cache ( IIRC ). It may be an EVT0 issue. Tushar created a hack that has been applied to the landing team kernel, it looks like Nicolas chose not to apply it to linux-linaro-2.6.38

Revision history for this message
Tushar Behera (tusharbehera) wrote :

We haven't checked the issue with EVT1 yet. As for EVT0 patch, it had to do modification in core ARM file - arch/arm/mm/proc-v7.S which would affect all other architecture also. As of now, we haven't got any better solution.

Changed in linaro-landing-team-samsung:
status: Confirmed → In Progress
Revision history for this message
Angus Ainslie (angus-akkea) wrote :

This bug still affects 2.6.39

Revision history for this message
Sangwook Lee (sangwook) wrote :

With this 2.6.39, Linaro kernel is using watch dog reset instead of using arch (proc-v7.S) reset.
Let me see whether this problem is really coming from Kernel or not with Origen board.

Revision history for this message
Sangwook Lee (sangwook) wrote :

tested to invoke Magic SysRq with Origen board,

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

it made Origen reboot, which verified that arch_reset() is using watchdog reset , not cpu_reset from proc-v.s.
I think this is good way to do reset with 100%

So currently I guess that reboot data path in kernel should have no problem.
let me test more.

Revision history for this message
Sangwook Lee (sangwook) wrote :

1) Linaro Kernel
http://git.linaro.org/gitweb?p=people/sachin/linux-linaro-3.0.git;a=summary
2) ubuntu Image
  linaro-n-ubuntu-desktop-tar-20110726-1.tar.gz

3) Enable Watchdog in menu config

"reboot" works fine in ubutun.

Revision history for this message
Harikrishna (s-hari) wrote :

On origen board using the hwpack_linaro-lt-origen_20110822-0_armel_supported.tar.gz (having linaro linux 3.0 ) the reboot works only when usb device(like Pendrive or hub or ethernet conveter) is connected to the board.
If not it just display the below messages and stops and doesn't proceed further for reboot

root@linaro-desktop:~# reboot

Broadcast message from root@linaro-desktop
        (/dev/ttySAC2) at 0:01 ...

The system is going down for reboot NOW!
root@linaro-desktop:~# speech-dispatcher disabled; edit /etc/default/speech-dispatcher
init: ssh main process (1273) terminated with status 255
init: tty4 main process (1924) killed by TERM signal
init: tty5 main process (1927) killed by TERM signal
init: auto-serial-console main process (1928) killed by TERM signal
init: tty2 main process (1938) killed by TERM signal
init: tty3 main process (1939) killed by TERM signal
init: tty6 main process (1941) killed by TERM signal
init: cron main process (1948) killed by TERM signal
init: openvt main process (2062) killed by TERM signal
init: plymouth-upstart-bridge main process (2235) terminated with status 1
[ OK ]pping bluetooth
Checking for running unattended-upgrades: modem-manager[1636]: <info> Caught signal 15, shutting down...

init: Disconnected from system bus
init: dbus main process (1351) killed by TERM signal
s3c-rtc s3c64xx-rtc: rtc only supports 100 years
init: hwclock-save main process (2227) terminated with status 74
[ OK ]ing all remaining processes to terminate...
[ OK ] processes ended within 1 seconds....
[ OK ]onfiguring network interfaces...
[ OK ]ctivating swap...
[ OK ]ounting weak filesystems...
[ OK ]ounting local filesystems...
 * Will now restart

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Can confirm behavior pointed by comment #11 with 11.08 RC hwpack and nano image.

summary: - Softreboot doesnot reboot the system
+ Softreboot does not reboot the system
Changed in linaro-landing-team-samsung:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.