Skip to contentSkip to conversation

[2.4.18] preemptible patch causing freeze

DISCUSSION Mikael Pettersson 2 participants 3 messages May 12, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Pawel Kot

I was attempting to get new ntfs driver to work with your preemptible patch in 2.4.18 kernel. I used 2.4.18 kernel with 2.4.18-4 preempt patch and with or w/o ntfs 2.0.7b patch. The result was every time the same. I use it on the Dell laptop with APM enabled (.config in the attachment)

Quoted 8 lines

The problem is that when I unplug the power cable, the laptop freezes. It freezes totally, but not oops or other error is generated. The problem does not exist in 2.4.18 vanilla.
...
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y

Are you sure you were using this exact .config without the CONFIG_PREEMPT=y in 2.4.18 vanilla? The problem is that recent Dell laptops with local APICs are known to have buggy BIOSen that cause exactly the kinds of problems you described (hangs at BIOS and power-management events).

2.4.19-pre8 has the necessary workarounds for Dell Inspiron and Latitude laptops. Alternatively, rebuild your kernel with SMP, UP_APIC, and UP_IOAPIC all disabled.

(If your Dell is old enough to not have a local APIC, then this is not the problem and you can ignore this message.)

/Mikael

#1 lore raw
Quoted 15 lines · Mikael Pettersson
Quoted 5 lines · Pawel Kot

I was attempting to get new ntfs driver to work with your preemptible patch in 2.4.18 kernel. I used 2.4.18 kernel with 2.4.18-4 preempt patch and with or w/o ntfs 2.0.7b patch. The result was every time the same. I use it on the Dell laptop with APM enabled (.config in the attachment)

Quoted 8 lines

The problem is that when I unplug the power cable, the laptop freezes. It freezes totally, but not oops or other error is generated. The problem does not exist in 2.4.18 vanilla.
...
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y

Quoted 5 lines

Are you sure you were using this exact .config without the CONFIG_PREEMPT=y in 2.4.18 vanilla? The problem is that recent Dell laptops with local APICs are known to have buggy BIOSen that cause exactly the kinds of problems you described (hangs at BIOS and power-management events).

I'm sure. I did:

$ cp $oldlinux/.config $preemptlinux/
$ make menuconfig
[enable preemption]
I can recompile the kernel to make sure though.
Quoted 6 lines

2.4.19-pre8 has the necessary workarounds for Dell Inspiron and Latitude laptops. Alternatively, rebuild your kernel with SMP, UP_APIC, and UP_IOAPIC all disabled.

(If your Dell is old enough to not have a local APIC, then this is not the problem and you can ignore this message.)

It is Dell Latitice c610. I'll try to disable APIC then.

thanks for the answer,
pkot

Signature · 2 lines
mailto:[email protected] :: mailto:[email protected]
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku
#2 lore raw
In reply to Mikael Pettersson
Quoted 5 lines · Mikael Pettersson

Are you sure you were using this exact .config without the CONFIG_PREEMPT=y in 2.4.18 vanilla? The problem is that recent Dell laptops with local APICs are known to have buggy BIOSen that cause exactly the kinds of problems you described (hangs at BIOS and power-management events).

Aaaaargh. The config was really the same, but I tested the behaviour on the kernel with APICs disabled (dunno how it happend). The freeze does take place with 2.4.18 vanilla with APCI enabled.

Sorry for the false alert. Going to try 19pre soon.

pkot

Signature · 2 lines
mailto:[email protected] :: mailto:[email protected]
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku