Skip to contentSkip to conversation

2.6.36 does not boot properly

DISCUSSION CSÉCSY László 4 participants 4 messages Dec 12, 2010 – Dec 14, 2010

lore
Share & tools
lore
#0 lore raw

Hi all,

I have recently upgraded from kernel-2.6.35-5-i686.fpm (which is a 2.6.35.7 speaking upstream's terms) to kernel-2.6.36-1-i686.fpm (which is a 2.6.36) on my ASUS K50IJ laptop running Frugalware Linux -current, and it failed to boot when I used the usual command line:

kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 ro quiet resume=/dev/sda5

"Failed to boot" means that the thing does not even output even a single character after "[Linux-bzImage, setup=0x3000, size=0x3c5380]" but hangs - even C-A-Del does not do anything (I do have waited for half an hour). Pressing the power button (it does not matter for how long) turns the laptop off immediately.

When I used the most-safest-without-any-magic cmdline that our kernel package maintainer supposed, it did boot, but failed to start X:

kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 ro showopts ide=nodma apm=off \
acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0

Obviously, this means I had two options: change my way of working (suspending to ram all the time, reboot only upon kernel and low-level stuff upgrades) or going back to 2.6.35(.7). I took the latter, but I do know I cannot stay behind for too much time, so I was supposed to bisect this for myself.

Reproducing steps:

Upgrade to 2.6.36 (or anything newer) and reboot. Given the laptop freezes immediately, I cannot really attach logs.

Attached are:

1. the "git bisect log" output - I had to "git bisect skip" several times, probably because of staging drivers being enabled;

2. the last "git bisect bad" output;

3. the kernel config I was using all the time;

4. output of "dmesg" while using v2.6.35-rc6-238-g9373662 (which was the last "good" kernel while bisecting);

5. output of "dmidecode".

Additional info:

The first "bad" build while bisecting caused the above-mentioned freeze, but the latest 4 were all panicking immediately after boot - here is the "screenshot" I created with my camera:

http://frugalware.org/~boobaa/shots/DSCF1349.JPG

Feel free to ask for more info if needed and thanks for your help.

Signature · 2 lines
Bye, Boobaa (CSÉCSY László)
http://csecsy.hu
# dmidecode 2.10
SMBIOS 2.5 present.
38 structures occupying 1807 bytes.
Table at 0x000FCDD0.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: 207
Release Date: 05/08/2009
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 1024 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported
USB legacy is supported
Smart battery is supported
BIOS boot specification is supported Function key-initiated network boot is supported Targeted content distribution is supported
BIOS Revision: 2.7
Firmware Revision: 32.1

Handle 0x0001, DMI type 1, 27 bytes
System Information

	Manufacturer: ASUSTeK Computer Inc.        
	Product Name: K50IJ               
	Version: 1.0       
	Serial Number: 100622250500        
	UUID: 462681DE-6246-EEB8-9300-00261856BF5B
	Wake-up Type: Power Switch
	SKU Number:                     
	Family:                     

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASUSTeK Computer Inc. Product Name: K50IJ
Version: 1.0
Serial Number: BSN12345678901234567
Asset Tag: ATN12345678901234567
Features:
Board is a hosting board
Board requires at least one daughter board Board is replaceable
Location In Chassis: MIDDLE
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: ASUSTeK Computer Inc.
Type: Notebook
Lock: Not Present
Version: 1.0
Serial Number: CSN12345678901234567
Asset Tag: ATN12345678901234567
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Other
Security Status: Other
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: Socket 478
Type: Central Processor
Family: Pentium D
Manufacturer: Intel
ID: 7A 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 10 Flags:
FPU (Floating-point unit on-chip) VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension) MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call)
MTRR (Memory type range registers) PGE (Page global enable)
MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table)
PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Pentium(R) Dual-Core CPU T4200 @ 2.00GHz
Voltage: 1.1 V
External Clock: 200 MHz
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Socket 478
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0007
L3 Cache Handle: Not Provided
Serial Number: PSN12345678901234567
Asset Tag: PATN1234567890123456
Part Number: PPN12345678901234567
Core Count: 2
Core Enabled: 2
Thread Count: 2
Characteristics:
64-bit capable

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC System Type: Data
Associativity: 8-way Set-associative

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC System Type: Instruction
Associativity: 8-way Set-associative

Handle 0x0007, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2-Cache
Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back
Location: Internal
Installed Size: 1024 kB
Maximum Size: 1024 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC System Type: Unified
Associativity: 4-way Set-associative

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3401
Internal Connector Type: None
External Reference Designator: LAN
External Connector Type: RJ-45
Port Type: Network Port

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J4501
Internal Connector Type: None
External Reference Designator: VGA
External Connector Type: DB-15 female
Port Type: Video Port

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5201
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5201
Internal Connector Type: None
External Reference Designator: USB2
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J4800
Internal Connector Type: None
External Reference Designator: HDMI
External Connector Type: Other
Port Type: Other

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5101 Internal Connector Type: None
External Reference Designator: SATA 1 External Connector Type: SAS/SATA Plug Receptacle Port Type: SATA

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J4202
Internal Connector Type: None
External Reference Designator: FlashCard
External Connector Type: Other
Port Type: Other

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J4301 Internal Connector Type: None External Reference Designator: ExpressCard External Connector Type: Other Port Type: Other

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6601 Internal Connector Type: None
External Reference Designator: eSATA External Connector Type: SAS/SATA Plug Receptacle Port Type: SATA

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3703 Internal Connector Type: None
External Reference Designator: Audio Out External Connector Type: Mini Jack (headphones) Port Type: Audio Port

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3801 Internal Connector Type: None
External Reference Designator: Mic In External Connector Type: Mini Jack (headphones) Port Type: Audio Port

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2502
Internal Connector Type: None
External Reference Designator: USB3
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J4203
Internal Connector Type: None
External Reference Designator: 1394
External Connector Type: IEEE 1394
Port Type: Firewire (IEEE P1394)

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5401
Internal Connector Type: None
External Reference Designator: DockPort
External Connector Type: Other
Port Type: Other

Handle 0x0016, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE1
Type: x1 PCI Express
Current Usage: In Use
Length: Short
ID: 0
Characteristics:
3.3 V is provided
PME signal is supported

Handle 0x0017, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: UMA

Handle 0x0018, DMI type 10, 6 bytes
On Board Device Information
Type: Ethernet
Status: Enabled
Description: NIC

Handle 0x0019, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Enabled
Description: Audio Codec

Handle 0x001A, DMI type 10, 6 bytes
On Board Device Information
Type: SATA Controller
Status: Enabled
Description: SATA Controller

Handle 0x001B, DMI type 10, 6 bytes
On Board Device Information
Type: Other
Status: Enabled
Description: 1394/FlashCardReader

Handle 0x001C, DMI type 13, 22 bytes
BIOS Language Information
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1

Handle 0x001D, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 2

Handle 0x001E, DMI type 19, 15 bytes
Memory Array Mapped Address

	Starting Address: 0x00000000000
	Ending Address: 0x0007FFFFFFF
	Range Size: 2 GB
	Physical Array Handle: 0x001D
	Partition Width: 0

Handle 0x001F, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001D
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: SODIMM0
Bank Locator: BANK0
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz
Manufacturer: N/A
Serial Number: N/A
Asset Tag: N/A
Part Number: N/A

Handle 0x0020, DMI type 20, 19 bytes
Memory Device Mapped Address

	Starting Address: 0x00000000000
	Ending Address: 0x0007FFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x001F
	Memory Array Mapped Address Handle: 0x001E
	Partition Row Position: Unknown
	Interleave Position: Unknown
	Interleaved Data Depth: Unknown

Handle 0x0021, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x001D
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: SODIMM
Set: None
Locator: SODIMM1
Bank Locator: BANK1
Type: Unknown
Type Detail: Unknown
Speed: Unknown
Manufacturer: N/A
Serial Number: N/A
Asset Tag: N/A
Part Number: N/A

Handle 0x0022, DMI type 20, 19 bytes
Memory Device Mapped Address

	Starting Address: 0x00000000000
	Ending Address: 0x000000003FF
	Range Size: 1 kB
	Physical Device Handle: 0x0021
	Memory Array Mapped Address Handle: 0x001E
	Partition Row Position: Unknown
	Interleave Position: Unknown
	Interleaved Data Depth: Unknown

Handle 0x0023, DMI type 22, 26 bytes
Portable Battery
Location: In the back
Manufacturer: AS014lh43E
Manufacture Date: 09/06/09
Serial Number: <600
Name: F82--22
Chemistry: Other
Design Capacity: 4400 mWh
Design Voltage: 11100 mV
SBDS Version: SMART Ver 0123
Maximum Error: Unknown
OEM-specific Information: 0x00000000

Handle 0x0024, DMI type 200, 27 bytes
OEM-specific Type

	Header and Data:
		C8 1B 24 00 01 02 03 00 00 00 00 00 00 00 00 00
		00 00 00 00 00 00 00 00 00 00 00
	Strings:
		ASUSTeK Computer Inc.        
		Notebook  
		1.0       

Handle 0x0025, DMI type 127, 4 bytes
End Of Table

boobaa@blue:~/git/linux-2.6$ git bisect bad
e40b17208b6805be50ffe891878662b6076206b9 is the first bad commit
commit e40b17208b6805be50ffe891878662b6076206b9
Author: Don Zickus <[email protected]>
Date:   Fri Feb 5 21:47:03 2010 -0500

x86: Move notify_die from nmi.c to traps.c

In order to handle a new nmi_watchdog approach, I need to move the notify_die() routine out of nmi_watchdog_tick() and into default_do_nmi(). This lets me easily swap out the old nmi_watchdog with the new one with just a config change.

The change probably makes sense from a high level perspective because the nmi_watchdog shouldn't be handling notify_die routines anyway. However, this move does change the semantics a little bit. Instead of checking on every nmi interrupt if the cpus are stuck, only check them on the nmi_watchdog interrupts.

v2: Move notify_die call into #idef block

LKML-Reference: <[email protected]>

:040000 040000 9d4828ae103b043ec5abb1d1d6bad0a0e66030b3 516d53a1d585413b8c1cc2b9225563d31aa34856 M arch
boobaa@blue:~/git/linux-2.6$

boobaa@blue:~/git/linux-2.6$ git bisect log
git bisect start
# bad: [f6f94e2ab1b33f0082ac22d71f66385a60d8157f] Linux 2.6.36
git bisect bad f6f94e2ab1b33f0082ac22d71f66385a60d8157f
# good: [ea8a52f9f4bcc3420c38ae07f8378a2f18443970] Linux 2.6.35.7
git bisect good ea8a52f9f4bcc3420c38ae07f8378a2f18443970
# good: [9fe6206f400646a2322096b56c59891d530e8d51] Linux 2.6.35
git bisect good 9fe6206f400646a2322096b56c59891d530e8d51
# skip: [78417334b5cb6e1f915b8fdcc4fce3f1a1b4420c] Merge branch 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing
git bisect skip 78417334b5cb6e1f915b8fdcc4fce3f1a1b4420c
# skip: [0a492896ac07336c98f37ad7fab4a6387b6ada78] sparc: Really fix "console=" for serial consoles.
git bisect skip 0a492896ac07336c98f37ad7fab4a6387b6ada78
# bad: [bbb7030fbb6469c46974c4736a5f90d12102f299] ACPI: expand Vista blacklist to include SP1 and SP2
git bisect bad bbb7030fbb6469c46974c4736a5f90d12102f299
# skip: [4a386c3e177ca2fbc70c9283d0b46537844763a0] Merge branch 'x86-xsave-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect skip 4a386c3e177ca2fbc70c9283d0b46537844763a0
# good: [c3be0af3d06cb68a8aa3781360c77474fb232ea1] ASoC: header cleanup for FSI-DA7210
git bisect good c3be0af3d06cb68a8aa3781360c77474fb232ea1
# skip: [75cb5fdce29c77ec54db45f0c6be7cc5715f8e15] Merge branches 'x86-cleanups-for-linus', 'x86-vmware-for-linus', 'x86-mtrr-for-linus', 'x86-apic-for-linus', 'x86-fpu-for-linus' and 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect skip 75cb5fdce29c77ec54db45f0c6be7cc5715f8e15
# good: [2f6df34cd3455245c44b420d7c3fb11d1137df79] Staging: comedi: Checkpatch cleanups in adl_pci9111.c
git bisect good 2f6df34cd3455245c44b420d7c3fb11d1137df79
# skip: [66cd55d2b903643cbd019ef97a5305d9428d3865] Merge branch 'x86-alternatives-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect skip 66cd55d2b903643cbd019ef97a5305d9428d3865
# good: [46b0a07a45b07ed5ca8053bbb6ec522982d1a1dd] perf ui: Introduce ui_browser->seek to support multiple list structures
git bisect good 46b0a07a45b07ed5ca8053bbb6ec522982d1a1dd
# good: [9d1ac34ec3a67713308ae0883c3359c557f14d17] ssb: Handle alternate SSPROM location
git bisect good 9d1ac34ec3a67713308ae0883c3359c557f14d17
# skip: [1fc7995d19139d6f99203b43c161968f3f554a15] Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
git bisect skip 1fc7995d19139d6f99203b43c161968f3f554a15
# good: [93736624635235cc5372ffca6d62816d02170724] KVM: Consolidate arch specific vcpu ioctl locking
git bisect good 93736624635235cc5372ffca6d62816d02170724
# skip: [90e0c225968f0878e090c7ff3f88323973476cee] Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
git bisect skip 90e0c225968f0878e090c7ff3f88323973476cee
# bad: [2cc4452bc31fc1cde6f0b64a4eb13269f982787d] nmi_watchdog: Fix undefined 'apic' build bug
git bisect bad 2cc4452bc31fc1cde6f0b64a4eb13269f982787d
# bad: [c3128fb6ad39b0edda6675d20585a64846cf89ea] nmi_watchdog: Use a boolean config flag for compiling
git bisect bad c3128fb6ad39b0edda6675d20585a64846cf89ea
# bad: [1fb9d6ad2766a1dd70d167552988375049a97f21] nmi_watchdog: Add new, generic implementation, using perf events
git bisect bad 1fb9d6ad2766a1dd70d167552988375049a97f21
# bad: [e40b17208b6805be50ffe891878662b6076206b9] x86: Move notify_die from nmi.c to traps.c
git bisect bad e40b17208b6805be50ffe891878662b6076206b9
boobaa@blue:~/git/linux-2.6$ 
#1 lore raw
Quoted 7 lines · CSÉCSY László

Hi all,

I have recently upgraded from kernel-2.6.35-5-i686.fpm (which is a 2.6.35.7 speaking upstream's terms) to kernel-2.6.36-1-i686.fpm (which is a 2.6.36) on my ASUS K50IJ laptop running Frugalware Linux -current, and it failed to boot when I used the usual command line:

Quoted 8 lines

kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 ro quiet resume=/dev/sda5

"Failed to boot" means that the thing does not even output even a single character after "[Linux-bzImage, setup=0x3000, size=0x3c5380]" but hangs - even C-A-Del does not do anything (I do have waited for half an hour). Pressing the power button (it does not matter for how long) turns the laptop off immediately.

...

It's weird that bisect pointed to this nmi code snipped movement, I think the issue in strcmp, and in event_create_dir. Better to CC Steven.

Signature · 1 line
    Cyrill
#2 lore raw
In reply to CSÉCSY László

On Mon, Dec 13, 2010 at 12:19:40AM +0100, CSÉCSY László wrote:

Hell Csecsy,

Quoted 5 lines

Additional info:

The first "bad" build while bisecting caused the above-mentioned freeze, but the latest 4 were all panicking immediately after boot - here is the "screenshot" I created with my camera:

I find it odd that commit would be the cause of a kernel freeze that early in boot. But I did try to do a git log between your last known good commit and bad commit. The output was just the bad commit.

[dzickus@ihatethathostname upstream]$ git log --oneline 93736624635235cc5372ffca6d62816d02170724..e40b17208b6805be50ffe891878662b6076206b9 e40b172 x86: Move notify_die from nmi.c to traps.c [dzickus@ihatethathostname upstream]$

Though a git log on the bad commit showed other commits I thought would have popped out before the intersection with the good commit.

Just for my sanity could you do a 'git revert e40b17208b6805be50ffe891878662b6076206b9' and try that kernel. I would think it would still fail, but if it does boot then I need to do some serious head scratching.

Cheers,
Don

#3 lore raw
In reply to CSÉCSY László
Quoted 2 lines

kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 ro showopts ide=nodma apm=off \
acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0

which of these boot options is mandatory to allow the kernel to boot?

thanks,
Len Brown, Intel Open Source Technology Center