public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergio Luis <sergio@larces.uece.br>
To: Glauber Costa <gcosta@redhat.com>
Cc: Ken Moffat <zarniwhoop@ntlworld.com>,
	Bart Van Assche <bart.vanassche@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.25 slow boot/reboot
Date: Tue, 29 Apr 2008 03:18:21 -0300	[thread overview]
Message-ID: <4816BDAD.3000906@larces.uece.br> (raw)
In-Reply-To: <48166CA1.1070000@redhat.com>

Glauber Costa wrote:
> Sergio Luis wrote:
>> On Mon, Apr 28, 2008 at 11:19 AM, Glauber Costa <gcosta@redhat.com>
>> wrote:
>>> Sergio Luis wrote:
>>>
>>>> Ken Moffat wrote:
>>>>
>>>>> On Sun, Apr 27, 2008 at 05:23:57PM +0200, Bart Van Assche wrote:
>>>>>
>>>>>> On Sun, Apr 27, 2008 at 7:37 AM, Sergio Luis <sergio@larces.uece.br>
>>> wrote:
>>>>>>>  This weekend I got some time and decided to try out 2.6.25, but its
>>> booting process was _really_ slow in my laptop[1]. With 'old'
>>> 2.6.24.5 my
>>> machine would take about 48 secs until it gave me the login prompt.
>>> And it
>>> would take about 22 seconds to reboot.
> 
> Sergio,
> 
> You said your system freezes. Does it happen after the last message you
> see on dmesg, or during the kernel start up? It would help me to rule
> out (or not), any issues in the cpu initialization process itself.
>
Hello Glauber,

the "freeze" happens during the kernel start up. It goes starting with delays in some points.
as I mentioned, when it prints "Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled"
it takes 90 seconds to print the next message. And then to reach that "serial" message it took already 20 seconds.
And it keeps on freezing at some other points too, after that. I also noticed the mouse cursor in the left bottom
is blinking in a very slow frequency, like every 6 seconds. It really disappears for a while, then returns and stay 
for another while and so on.

by the way, I messed up my git tree and I was wondering how could I have it back to the state it was when I started
testing this. this linus' commit was the last one, by then:

----

commit c3bf9bc243092c53946fd6d8ebd6dc2f4e572d48
Merge: e3505dd... c2b91e2...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sat Apr 26 14:04:32 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x8
6/linux-2.6-x86-bigbox-bootmem-v3
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6
-x86-bigbox-bootmem-v3:
      x86_64/mm: check and print vmemmap allocation continuous
      x86_64: fix setup_node_bootmem to support big mem excluding with memmap
      x86_64: make reserve_bootmem_generic() use new reserve_bootmem()
      mm: allow reserve_bootmem() cross nodes
      mm: offset align in alloc_bootmem()
      mm: fix alloc_bootmem_core to use fast searching for all nodes
      mm: make mem_map allocation continuous

----

right now I am not able to reproduce the _exact_ problem I had when i created this thread, i.e. I can't boot anymore. I tested 2.6.25 and it didn't have any
problems, it booted normally, like my 2.6.24.5 did. Then I tried 2.6.25-git1 and it gave me the delay problem I wrote in this thread about, but then the system panics with
"Unable to mount root fs on unknown-block(8,5)". I tested with 2.6.25-git11 and 2.6.25-git12 and they also gave me problems, including
new ones. The long delay is still there and with git11/12, another panic, now a problem very similar to the one Ingo reported at
http://lkml.org/lkml/2008/4/27/309 (gonna give the patch there a try tomorrow, just found that thread).

 
> As for reboot, any suspicious message on your kernel log?
can't check it for now, as I can't boot anymore, but hopefully tomorrow I will be able to.


Follows my cpuinfo, in the hope it helps.
thanks,
-sergio

----

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 72
model name	: AMD Turion(tm) 64 X2 Mobile Technology TL-60
stepping	: 2
cpu MHz		: 2000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid ttp tm stc
bogomips	: 4021.66
clflush size	: 64

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 72
model name	: AMD Turion(tm) 64 X2 Mobile Technology TL-60
stepping	: 2
cpu MHz		: 2000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid ttp tm stc
bogomips	: 4018.24
clflush size	: 64



  reply	other threads:[~2008-04-29  6:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-27  5:37 2.6.25 slow boot/reboot Sergio Luis
2008-04-27 15:23 ` Bart Van Assche
2008-04-27 16:33   ` Sergio Luis
2008-04-27 23:55   ` Ken Moffat
2008-04-28  1:24     ` Sergio Luis
2008-04-28 14:19       ` Glauber Costa
2008-04-28 14:35         ` Sergio Luis
2008-04-29  0:32           ` Glauber Costa
2008-04-29  6:18             ` Sergio Luis [this message]
2008-04-29 12:26               ` Glauber Costa
2008-04-29 14:28                 ` Ingo Molnar
2008-04-30  1:05                   ` Sergio Luis
2008-04-28  6:10     ` Bart Van Assche
2008-04-28 13:27       ` Ken Moffat
     [not found] <an7Mq-7tq-5@gated-at.bofh.it>
2008-04-27 13:48 ` Allan Duncan
     [not found] <anfqC-7SO-15@gated-at.bofh.it>
     [not found] ` <anfqC-7SO-13@gated-at.bofh.it>
2008-04-28  1:56   ` Allan Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4816BDAD.3000906@larces.uece.br \
    --to=sergio@larces.uece.br \
    --cc=bart.vanassche@gmail.com \
    --cc=gcosta@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=zarniwhoop@ntlworld.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox