2006-08-25 18:54:07

by Ming Li

[permalink] [raw]
Subject: reboot problem

Hi,

My name is Sam, I found your email address at MAINTAINERS of SuSE 10.1.

I met a problem when I reboot the Radiant machine, it just halt when
rebooting after shutdown all the resources.

I did some research, the reason is the SuSE linux 10.1 Set the low to the
reset of keyboard controller, but unfortunately, there is not keyboard
controller in Radiant machine, so bios can not start the POST code.

Firstly, I added the parameter "reboot=bios" in /boot/grub/menu.lst, try to
let reboot using bios post, it does work, I do not know why ?

Secondly, I built a new kernel added some debug information in file
/usr/src/linux/arch/i386/kernel/reboot.c, I added debug information in
functions "machine_restart()" , "machine_real_restart()", "reboot_setup()" ,
but when I running command "reboot", I did not see my debug information,
what I was try to do is to call the function: "machine_real_restart()", but
it seems to me that, functions of reboot.c do not be call during the
rebooting.

Thirdly, I check the command "reboot" in /sbin, it just the symbol link to
the command "halt", I am little bit confused.

My question is :

1. where is the reboot source code, what files are actually do the rebooting
work ?
2. Why command "reboot" command is just a symbol link to the command "halt"
?
3. What can I do to reboot machine by bios mode ?

Thank you very much, I appreciate your time.

Regards,
Sam.