Find the answer to your Linux question:
Results 1 to 6 of 6
Hi everyone, I'm new here so I'm not quite sure on where problem posts go re. booting, but here goes anyway... I've recently been trying to get a 2.6.11 kernel ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    3

    Kernel boot hangs after "Real Time Clock" line


    Hi everyone, I'm new here so I'm not quite sure on where problem posts go re. booting, but here goes anyway...

    I've recently been trying to get a 2.6.11 kernel working on my home PC. Before it was running 2.4.27-speakup (debianised kernel). I have compiled a few kernels before, but I've never got so stuck as I have now...

    The first problem I had, which is now fixed, was the fabled "VFS: Unable to mount root filesystem..." error that I see has a few topics in this forum. However, I managed to fix that by changing SATA operation in my BIOS (long story).

    However, now my boot process gets about ten lines further on, to the "Real Time Clock Driver 1.12" line, and then freezes. There's no error message.

    Searching the 'net seemed to suggest that SMP may have issues with this, however I had MTRR support compiled in, and all the other things that other websites said were required. This computer in fact has before ran a 2.6.10 kernel with SMP just fine. And just to prove it, I took SMP support out and recompiled and booted, and sure enough it hanged at the same place.

    Does anyone know why it would hang there?

    Various information:

    cat /proc/cpuinfo
    Code:
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 3
    model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
    stepping        : 4
    cpu MHz         : 3192.135
    cache size      : 1024 KB
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 3
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid
    bogomips        : 6370.09
    lspci -v
    Code:
    0000:00:00.0 Host bridge: Intel Corp. 925X Memory Controller Hub (rev 04)
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, fast devsel, latency 0
            Capabilities: [e0] #09 [0109]
    
    0000:00:01.0 PCI bridge: Intel Corp. 925X PCI Express Root Port (rev 04) (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
            I/O behind bridge: 0000d000-0000dfff
            Memory behind bridge: dfe00000-dfffffff
            Prefetchable memory behind bridge: d0000000-d7ffffff
            Capabilities: [88] #0d [0000]
            Capabilities: [80] Power Management version 2
            Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
            Capabilities: [a0] #10 [0141]
    
    0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
            Memory behind bridge: dfd00000-dfdfffff
            Capabilities: [40] #10 [0141]
            Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
            Capabilities: [90] #0d [0000]
            Capabilities: [a0] Power Management version 2
    
    0000:00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
            Memory behind bridge: dfc00000-dfcfffff
            Capabilities: [40] #10 [0141]
            Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
            Capabilities: [90] #0d [0000]
            Capabilities: [a0] Power Management version 2
    
    0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, medium devsel, latency 0, IRQ 21
            I/O ports at ff80 [size=32]
    
    0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, medium devsel, latency 0, IRQ 22
            I/O ports at ff60 [size=32]
    
    0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, medium devsel, latency 0, IRQ 18
            I/O ports at ff40 [size=32]
    
    0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, medium devsel, latency 0, IRQ 23
            I/O ports at ff20 [size=32]
    
    0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, medium devsel, latency 0, IRQ 21
            Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
            Capabilities: [50] Power Management version 2
            Capabilities: [58] #0a [20a0]
    
    0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
            I/O behind bridge: 0000c000-0000cfff
            Capabilities: [50] #0d [0000]
    
    0000:00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
            Flags: bus master, medium devsel, latency 0
    
    0000:00:1f.2 IDE interface: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03) (prog-if 80 [Master])
            Subsystem: Dell: Unknown device 0177
            Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 20
            I/O ports at <ignored>
            I/O ports at <ignored>
            I/O ports at <ignored>
            I/O ports at <ignored>
            I/O ports at ffa0 &#91;size=16&#93;
            Capabilities&#58; &#91;70&#93; Power Management version 2
    
    0000&#58;00&#58;1f.3 SMBus&#58; Intel Corp. 82801FB/FBM/FR/FW/FRW &#40;ICH6 Family&#41; SMBus Controller &#40;rev 03&#41;
            Subsystem&#58; Dell&#58; Unknown device 0177
            Flags&#58; medium devsel, IRQ 17
            I/O ports at ece0 &#91;size=32&#93;
    
    0000&#58;01&#58;00.0 VGA compatible controller&#58; ATI Technologies Inc&#58; Unknown device 5b60 &#40;prog-if 00 &#91;VGA&#93;&#41;
            Subsystem&#58; ATI Technologies Inc&#58; Unknown device 0302
            Flags&#58; bus master, fast devsel, latency 0, IRQ 16
            Memory at d0000000 &#40;32-bit, prefetchable&#41; &#91;size=128M&#93;
            I/O ports at dc00 &#91;size=256&#93;
            Memory at dfee0000 &#40;32-bit, non-prefetchable&#41; &#91;size=64K&#93;
            Expansion ROM at dff00000 &#91;disabled&#93; &#91;size=128K&#93;
            Capabilities&#58; &#91;50&#93; Power Management version 2
            Capabilities&#58; &#91;58&#93; #10 &#91;0001&#93;
            Capabilities&#58; &#91;80&#93; Message Signalled Interrupts&#58; 64bit+ Queue=0/0 Enable-
    
    0000&#58;01&#58;00.1 Display controller&#58; ATI Technologies Inc&#58; Unknown device 5b70
            Subsystem&#58; ATI Technologies Inc&#58; Unknown device 0303
            Flags&#58; bus master, fast devsel, latency 0
            Memory at dfef0000 &#40;32-bit, non-prefetchable&#41; &#91;size=64K&#93;
            Capabilities&#58; &#91;50&#93; Power Management version 2
            Capabilities&#58; &#91;58&#93; #10 &#91;0001&#93;
    
    0000&#58;02&#58;00.0 Ethernet controller&#58; Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express &#40;rev 01&#41;
            Subsystem&#58; Dell&#58; Unknown device 0177
            Flags&#58; bus master, fast devsel, latency 0, IRQ 16
            Memory at dfdf0000 &#40;64-bit, non-prefetchable&#41; &#91;size=64K&#93;
            Capabilities&#58; &#91;48&#93; Power Management version 2
            Capabilities&#58; &#91;50&#93; Vital Product Data
            Capabilities&#58; &#91;58&#93; Message Signalled Interrupts&#58; 64bit+ Queue=0/3 Enable-
            Capabilities&#58; &#91;d0&#93; #10 &#91;0001&#93;
    
    0000&#58;04&#58;02.0 Multimedia audio controller&#58; Creative Labs SB Audigy LS
            Subsystem&#58; Creative Labs&#58; Unknown device 1007
            Flags&#58; bus master, medium devsel, latency 64, IRQ 18
            I/O ports at cce0 &#91;size=32&#93;
            Capabilities&#58; &#91;dc&#93; Power Management version 2
    Hard drive is scsi - 160gb SATA using AHCI controller.

    I don't know how to get the output of dmesg for the failed boot attempts - if someone else knows tell me and I'll post that too.

    Thank you very much for your time and help

  2. #2
    mcm
    mcm is offline
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sao Paulo - Brazil
    Posts
    59
    Can you say if your new kernel is capable to load RTC?

    If it doesn't, can you check on your kernel configuration if you added that support?

    It seems that your P4 processor is not HT. Can you confirm that?

    If not, check on you kernel configuration the SMP support and, if your processor ain't HT, just disable it.

    Regards!

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    3
    Quote Originally Posted by mcm
    Can you say if your new kernel is capable to load RTC?

    If it doesn't, can you check on your kernel configuration if you added that support?
    Is this "HPET Timer support"?

    There was a "Enhanced RTC Support" option which I chose also (I think it's in Drivers->Character Deviced. Was it this?

    (I'm at university at this time - but when I get home I'll have another look through the menuconfig).

    Quote Originally Posted by mcm
    It seems that your P4 processor is not HT. Can you confirm that?
    The processor *is* HT - it's just that the stock kernel I got off the debian CDrom was 2.4.27-speakup, which doesn't have SMP support compiled in, so cat /proc/cpuinfo doesn't report the second CPU.

    I have used a 2.6.10 kernel before on it, which had SMP support, and both processors were detected and used.

    Thanks for your help, I'll try looking around the RTC options again...

  4. #4
    mcm
    mcm is offline
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sao Paulo - Brazil
    Posts
    59
    All right, so your processor is HT. I asked, exactly because of /proc/cpuinfo results.

    So, don't forget to turn on SMP support on your kernel!

    About the RTC:

    Go to APM (Advanced Power Management BIOS Support) and check the option RTC stores time in GMT.

    That might help.

    Regards!

  5. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    3
    I compiled again with APM=m, and the RTC is GMT as Y (even thought the clock was in fact localtime. That kernel hanged also.

    But then I did a "make-kpkg clean" and compiled it with APM=Y instead of m (and still with the RTC is GMT as Y), and it worked!

    It got past the first stage fine, but hanged when it tried to start the X server. Though I am convinced that this time I can fix that error - I'm trying to use the fglrx driver for my Radeon and I think I know what's wrong.

    If I have any more trouble I'll post again.

    Thanks very much for the help!

  6. #6
    mcm
    mcm is offline
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sao Paulo - Brazil
    Posts
    59
    All right, I'm glad that your new kernel is up and running!

    To compile your own kernel is an art!

    Regards!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •