LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-25-2004, 05:33 AM   #1
ORBAT
LQ Newbie
 
Registered: Nov 2004
Location: Finland
Posts: 4

Rep: Reputation: 0
Mdk 10.1 Community freezes on boot


I've got a Compaq Presario 732EA laptop, and I recently installed Mandrake 10.1 Community on it, with no luck in getting it running. I've tried passing nolapic and noapic as kernel parameters (since I've read that the 732 has a particularly debile APIC implementation), but interestingly enough the kernel tells me "Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC" despite my telling it not to enable APIC. Joy..

Basically the crash occurs each time when the text "Calibrating delay loop..." shows up, and no amount of combining noapic, nolapic, acpi=off and so on has helped. Anyone have any suggestions?

And please, don't tell me to recompile the kernel. Out of the 2 computers I have, the laptop is without an OS due to obvious reasons and the other one isn't an Intel machine and I'm not keen on doing a cross compile/cd-burning fiesta

Any help would be greatly appreciated.
 
Old 11-25-2004, 05:37 AM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Unfortunately you are not the only one reporting this problem.

Others also noted that the 10.1 kernel seems to act as if the parameter is never passed, in other words it disreqards the command line entry.

So if you system is aflicted by APIC or ACPI problems you end up with a freeze.

Out of curiosity, does the system come up in SAFE mode?
 
Old 11-25-2004, 05:49 AM   #3
ORBAT
LQ Newbie
 
Registered: Nov 2004
Location: Finland
Posts: 4

Original Poster
Rep: Reputation: 0
No, neither the no-framebuffer or safe modes work.
 
Old 11-25-2004, 06:58 AM   #4
farmerdan
Member
 
Registered: Feb 2004
Location: IA-MO State Line
Distribution: Ubuntu 10.04
Posts: 59

Rep: Reputation: 15
I have exactly the same situation only on a Compaq Pressario 2100 and with Mandrake 10.1 Official Powerpack. I've also tried the apic, nolapic, etc. When I boot into failsafe or frame buffer, I experience exactly the same symptoms--the boot stalls at the message "Calibrating delay loop."

Additionally, I also received the "APIC disabled by bios...reenabled" sequence.

There is nothing useful on the MandrakeClub website.

However, one poster went back to Mandrake 10.0, downloaded and compiled kernel 2.6.9 and then "upgraded" to Mandrake 10.1. I personally gave up trying to compile and run kernel 2.6.8 on the laptop.

Sorry, I started complaining. I would appreciate any thoughts and ideas.

Dan
 
Old 11-25-2004, 07:52 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
That looks like a solution then, to create a set of 2.6.9 rpm's from the src.rpm file.

These would need to be compiled and posted somewhere.
 
Old 11-25-2004, 09:06 AM   #6
ORBAT
LQ Newbie
 
Registered: Nov 2004
Location: Finland
Posts: 4

Original Poster
Rep: Reputation: 0
Seems more or less hopeless. Guess I just ought to change distros, or is there any way of doing some kind of magic using only the boot cd I have? (Did a network install off my mac since I ran out of CD-Rs and my precious and only CD-RW disk went to data heaven)
 
Old 11-25-2004, 11:34 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
It's not a distro problem.

It's a kernel version problem.

You need to be aware of this and avoid those kernels which may be problematic on your system.

I have a similiarly aflicted laptop too, where-in I cannot use a couple of particular kernels.

Another laptop works perfectly with all the newer ones.
 
Old 11-25-2004, 12:36 PM   #8
ORBAT
LQ Newbie
 
Registered: Nov 2004
Location: Finland
Posts: 4

Original Poster
Rep: Reputation: 0
Hmh, that makes sense. Anybody know which kernels are a no-no with my APIC-ally challenged laptop?
 
Old 11-26-2004, 05:54 AM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
As you have seen 2.6.9, 2.6.4 and the 2.4.x tree do not seem to be similiarly aflicted.

However 2.4.x has other problems with newer machines...
 
Old 11-27-2004, 04:54 AM   #10
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
my fading brain cells recall that someone on install disabled all power stuff in BIOS like apm and acpi then installed a fresh Mdk then on reboot enabled apci in BIOS.....something to do with the mdk kernel.....ignore if you use a vanilla....and assumes you have no laptop

do a search and see if I speak with fork tongue
 
Old 11-27-2004, 05:06 AM   #11
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Kemosabe, speak with forked tongue...

Wow that dates me...

It's applicable during installation, but doesn't fix the ACPI problems with the 10.1 release.

It's almost as if the kernel is disregarding the APIC and ACPI parameters as many have reported.

Even with noapic they all see "APIC ENABLED" duing boot.
 
Old 12-01-2004, 03:23 AM   #12
TimMann
LQ Newbie
 
Registered: Nov 2004
Location: Palo Alto, California
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by opjose
It's almost as if the kernel is disregarding the APIC and ACPI parameters as many have reported.

Even with noapic they all see "APIC ENABLED" duing boot. [/B]
I have the same problem on my IBM Thinkpad T41, which I just upgraded from Mandrake 10.0 to 10.1 Official. Fortunately, the machine will still boot with one of the kernels left over from my 10.0 install, so I can easily patch and compile new kernels on it.

The correct command line option is "nolapic", but as others noted above, it doesn't work on the 2.6.8.1-12mdk kernel. I think this is the same bug as in the link below, but the patch given there doesn't compile when applied to the 2.6.8.1-12mdk kernel. A variant using early_param instead of __early_param compiles, but it isn't done compiling everything else and trying to link yet. I'll see if it works when it's done.

http://www.gossamer-threads.com/list...light=1#430572

Doing some more googling, I also notice that in 2.6.9, there's a change that no longer tries to enable the local APIC if the BIOS disabled it, unless "lapic" is given explicitly to force it. This change also ought to fix the problem for me and most others. (However, I wonder if the kernel needs the early_param change as well, in order to get the nolapic/lapic options working for anyone who may still want them.)
 
Old 12-01-2004, 03:59 AM   #13
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Quote:
The correct command line option is "nolapic".
... both nolapic and noapic are both applicable.

noapic is a superset of the nolapic command, as noacpi is a superset of acpi=ht

In both cases the former disables even more than the latter, so to speak.
 
Old 12-01-2004, 05:05 AM   #14
TimMann
LQ Newbie
 
Registered: Nov 2004
Location: Palo Alto, California
Posts: 12

Rep: Reputation: 0
[Well, this is a quibble, but I'm not sure that's correct. Tracing through the code, it looks like the code that's causing the problem here is controlled only by nolapic, not noapic. The nolapic option disables local apic use, while noapic disables ioapic use. It's possible for a uniprocessor system to not have an ioapic, but (at least on Pentium and newer) it always has a local apic, because that's onboard the CPU chip.]

More useful information: I was able to get the kernel to work on my laptop by applying a version of the patch for kernel bug 3238 (http://bugzilla.kernel.org/show_bug.cgi?id=3238). The patch is http://bugzilla.kernel.org/attachmen...97&action=view
 
Old 12-01-2004, 06:01 AM   #15
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually that's excellent!

I've seen many a kernel post to the effect that the noapic option should indeed shut off the local apic as well.

What you are saying refutes this, not that you are wrong, but rather that's an interesting piece of data, given the prevalence of problems revolving around apic support.

Also you've pretty much confirmed that the kernel is disregarding the nolapic parameter at boot, as all that patch does is to FORCE apic off totally.

Note that the patch does not seem to disable LOCAL apic, but rather it specifies no_apic ...

+ if (enable_local_apic != 1)
+ goto no_apic;


If Local APIC is not enabled on the command line explicitly, disable APIC altogether...

Sheez this fix is so simple! I wish Mandrake would include it in their release.

You may want to post it on their bugtracker as well as this seems to be a rather large problem which needs to be addressed.

Last edited by opjose; 12-01-2004 at 06:02 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Diff between mdk 10.1 official and mdk 10.1 community Damitha Mandriva 2 12-13-2004 02:01 AM
MDK 10.1 community download Q Nigh Unstoppabl Mandriva 3 09-27-2004 06:42 PM
mandrake 10 community freezes pizuka3400 Mandriva 5 08-04-2004 01:51 PM
Can't boot MDK 10 Community any more mhl Mandriva 3 06-08-2004 02:25 PM
MDK official vs community Sherpa Mandriva 12 06-06-2004 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration