Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
[SOLVED] 1.6.1 freezes while booting, keypressing helps
View previous topic :: View next topic  
Author Message
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Tue Aug 09, 2011 2:11 pm    Post subject: [SOLVED] 1.6.1 freezes while booting, keypressing helps Reply with quote

AMD Duron, KM400, 256MB RAM, installed ok with hugel7 (improper kernel?)

Because of RAM lack I've turned off all unneeded services, left only squid, dnsmasq, postfix, samba, apache, webmin, ntpd. IP's static. When it booted to login prompt, all works good for the first look...

But... the BOOTING PROCESS is quite strange... it freezes periodically, and it seems to continue when I taping keyboard or moving mouse (when gpm is already on). All sleep and APM BIOS settings are checked and set to minimum or no energy saving -- no effect. So, remote rebooting makes router dead Sad

What can it be? Who else seen the same trouble?
Please help, tell me something to try more...

_________________
In CODe we TRUST!


Last edited by Ansy on Wed Apr 09, 2014 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message ICQ Number
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Tue Aug 09, 2011 2:23 pm    Post subject: Reply with quote

To make upper things clean:

* SMS 1.6.1 Native, MD5 checked out OK
* installed OK full on primary HDD partition, reiserfs formatted, LILO in MBR
* made swapfile 512MB on / (but swap used only a little in fact)

_________________
In CODe we TRUST!
Back to top
View user's profile Send private message ICQ Number
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 09, 2011 2:29 pm    Post subject: Reply with quote

Have you try switching kernel to huge, in case hugel7 is buggy?
You can also try to disable firewire, game ports, e.t.c you don't use from BIOS.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Thu Aug 11, 2011 11:20 am    Post subject: Reply with quote

I didn't try alternative kernel for now while hanging server is far from me, and I can't add another kernel to LILO... but I've found certanly the same BUG here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/272247

May be some kernel options (acpi_skip_timer_override) described there will help me workaround that problem... or some BIOS/CMOS options (I'm not sure of it)... but it seems altering kernel (huge, generic, l7) with the same version on the same hardware will not fix this bug.

Please, those who has old AMD CPUs, nVidia chipsets, Lenovo S12 netbooks -- test and make us know if that bug takes its place.

_________________
In CODe we TRUST!
Back to top
View user's profile Send private message ICQ Number
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Thu Aug 11, 2011 11:49 am    Post subject: Reply with quote

And, following, this bug thread, IMHO, deals too:

http://www.spinics.net/lists/kdb/index.html#02131

In short -- abnormal code behavior on non-standard/missing keyboard controller i8042 which serves not only keyboard, but IRQ and reboot process:

Quote:
By default, the Linux kernel uses the reboot=kbd method i.e. it tries to look for a keyboard controller and issue a reset/shutdown command to it. But there are some systems like some of the Intel Atom processor based machines that don’t have a keyboard controller and the above fixes are required. If you read the reboot.c file carefully there are some major main stream machines from Dell, Sony, HP, etc. that require the above “reboot=” fix. I guess sometime it is easier to fix the issue by using the kernel parameter rather than fixing in the BIOS.


http://linux.koolsolutions.com/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/

_________________
In CODe we TRUST!
Back to top
View user's profile Send private message ICQ Number
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Thu Aug 11, 2011 12:01 pm    Post subject: Reply with quote

And finally some BIOS suggestions found (if applicable to certain motherboard):

http://forums.fedoraforum.org/showthread.php?t=247153

I'll try all above and post here to make somebodys' life easyer getting rock stable SMS installation.

_________________
In CODe we TRUST!
Back to top
View user's profile Send private message ICQ Number
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Fri Sep 09, 2011 9:46 am    Post subject: Closed Reply with quote

Tried all methods.

Kernel options key acpi_skip_timer_override helps only.

Also I've upgraded BIOS, because of any PCI NIC card in any slot didn't works before -- detected, loaded drivers OK, but no one packets sended/recieved.

BIOS upgrade doesn't solve freezing at boot problem.

_________________
In CODe we TRUST!
Back to top
View user's profile Send private message ICQ Number
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Tue Apr 08, 2014 8:21 am    Post subject: [SOLVED] SiS 661FX chipset -- doesn't reboot :( Reply with quote

You can laugh, but the same friend asked me to help him upgrade SMS hardware (above this topic).
And (surprise!) we've got in another problem with his next SiS 661FX chipset motherboard!
http://www.asus.com/Motherboards/P5S800VM/specifications/

It does poweroff normally but can't reboot. So sad for remotely controlled server.
Hardware SIS/VIA bug, AFAIK:
http://www.linux.org.ru/forum/linux-hardware/3973455

I've tried to workaround:
i8042.reset kernel parameter
https://helpdesk.netsonic.net/support/index.php?/Knowledgebase/Article/View/39/10/linux-26-kernel-reboot-issues
boot=a,b,c,k (variants) kernel parameter
http://linux.koolsolutions.com/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/

Nothing helps Sad What's next? Any solution other than look for another MB?

_________________
In CODe we TRUST!


Last edited by Ansy on Wed Apr 09, 2014 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message ICQ Number
Ansy
Member


Joined: 24 Feb 2011
Posts: 42
Location: RUSSIA

PostPosted: Wed Apr 09, 2014 10:49 am    Post subject: [SOLVED] Reply with quote

Problem is SOLVED! Smile

I haven't got enough patience to try all 2*4! variants, each of twice reboot/login/check/edit lilo.conf/lilo/reboot/press RESET... but lucky me! -- "boot=k,a,c,b i8042.reset" kernel parameters do the job!

Deeper investigations allows me to shorten the solution to only "boot=b" kernel parameter into lilo.conf global append clause.

Now this exact SIS chipset based motherboard successfully reboots entering shell commands Smile

_________________
In CODe we TRUST!
Back to top
View user's profile Send private message ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional