LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2007, 11:43 PM   #1
l33t_c0w
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
slackware 12 fresh install - udev causing lockup on boot


Hi. It's about that time again, when I decide to install Slackware on my laptop. It's going to stick one of these times.

Anyhow, on the first boot after installing Slackware 12, the screen goes blank in the middle of the boot sequence. Then it just sits there, with the CPU churning away. I was able to get it to boot by booting from the installation disk, and chmodding -x rc.udev. I'm pretty sure I want udev to run, though I don't know exactly why.

It seems like in release 10 or 11, I had to do something (don't remember what) to get it to not choke on my pcmcia card slot. Would the two be likely to be related? More generally, where should I start troubleshooting?

Sorry if this sort of thing has been discussed elsewhere. I'm having strange trouble getting onto some of this subforum's pages.
 
Old 10-23-2007, 12:41 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Boot with option nopcmcia
 
Old 10-23-2007, 02:02 AM   #3
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Hmmph, strange, there isn't such an option in /usr/src/linux/Documentation/kernel-parameters.txt, but try it nevertheless.
 
Old 10-23-2007, 02:51 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
What is the make and model of your laptop? You could probably find more with that information in a search, and provided here.
 
Old 10-23-2007, 12:05 PM   #5
l33t_c0w
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry for not mentioning it -- it's a Compal HEL80 (a whitebook). I already did a little searching, under that model number, and its Sager number, np2080. I didn't find anything. Will try nopcmcia when I get home tonight. Thanks for the replies so far.

Last edited by l33t_c0w; 10-23-2007 at 12:08 PM.
 
Old 10-23-2007, 02:28 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by l33t_c0w View Post
Sorry for not mentioning it -- it's a Compal HEL80 (a whitebook). I already did a little searching, under that model number, and its Sager number, np2080. I didn't find anything. Will try nopcmcia when I get home tonight. Thanks for the replies so far.
Hi,

What errors are you seeing on the stdout (display)?

Which kernel?

Try to pass the following to the kernel at boot; noapic and noacpi.

You could also try to force the pci to use the BIOS settings via boot by passing; pci=bios. This would be if your machine has a non-standard PCI host bridge that could cause the problem.

It could also be the other way, so try the 'pci= nobios'. To see if possibly the BIOS is causing the boot problem. This will cause direct hardware access for the pci instead of the BIOS settings.

BTW, there is no 'nopcmcia' that you can pass to the kernel.
 
Old 10-23-2007, 02:39 PM   #7
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
I was told the correct way to disable pcmcia is by editing /etc/rc.d/rc.m and simply commenting out the lines that load the pcmcia module (they're near the top). This worked for me. I have a desktop though and had no need for that module.
 
Old 10-23-2007, 02:40 PM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by onebuck
BTW, there is no 'nopcmcia' that you can pass to the kernel
There is nopcmcia, at least in rhel. Not sure why it isn't mentioned in linux docs, but that's not so strange keeping in mind that they weren't updated since 2003

nopcmcia worked for me on slax too.

Last edited by Alien_Hominid; 10-23-2007 at 02:42 PM.
 
Old 10-23-2007, 08:08 PM   #9
l33t_c0w
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by onebuck View Post
Hi,

What errors are you seeing on the stdout (display)?

Which kernel?
I'm not seeing any errors, just a black screen, with nothing on it. The kernel is the huge smp one that was installed by default (didn't the installer used to present you with a choice?). Passing nopcmcia at boot doesn't make a difference. I'll try some of the other things you mentioned.

Ok, I tried pci=bios, pci=nobios, noacpi, and noapic. The behavior was the same with all those options, except for pci=bios, which left me with a screen full of text and a kernel panic

Last edited by l33t_c0w; 10-23-2007 at 08:18 PM.
 
Old 10-24-2007, 07:34 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You should use one of the generic kernels.

Code:
excerpt from CHANGES_AND_HINTS.TXT
It is recommended that you use one of the generic
kernels(either the plain kernel-generic or kernel-generic-smp)
for daily use. For most systems, you should use the generic SMP
kernel if it will run, even if your system is not SMP-capable.

Some newer hardware needs the local APIC enabled in the
SMP kernel, and theoretically there should not be a performance
penalty with using the SMP-capable kernel on a uniprocessor
machine, as the SMP kernel tests for this and makes necessary
adjustments.  Furthermore, the kernel sources shipped with
Slackware 12.0 are configured for SMP usage, so you won't have
to modify those to build external out-of-tree modules (such as
NVidia or ATI proprietary drivers) if you use the SMP kernel.

If you are using one of the non-SMP kernels (huge.s or
generic.s) and need to compile third-party modules (such as the
proprietary NVidia driver), have a look in 
extra/linux-2.6.21.5-nosmp-sdk/ for information on what is
needed to build them. As stated earlier, it is recommended that
you use one of the generic kernels rather than the huge kernels;
the huge kernel is primarily intended as an "installer" and
"emergency" kernel in case you forget to make an initrd.

However, if you do use one of the huge kernels, you will likely
encounter errors like this:
kobject_add failed for uhci_hcd with -EEXIST, don't try to
register. These occur because the respective drivers are
compiled statically into the huge kernels but udev tries to load
them anyway. These errors should be safe to ignore, but if you
really don't want them to appear, you can blacklist the modules
that try to load in /etc/modprobe.d/blacklist. However, make 
sure you remove them from the blacklist if you ever decide to 
use the (recommended) generic kernels.
If you choose to use the huge kernels then use a initrd. Read the '/boot/README.initrd' to see how.

Last edited by onebuck; 10-24-2007 at 07:51 AM. Reason: correct code window insert
 
Old 10-24-2007, 08:27 AM   #11
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Hi,

Just to backup what onebuck posted, switching to the generic kernel will likely help you out a bunch. Slackware 12 installed fine for me using the huge kernel (as it was meant to), but for everyday use it was causing way too many conflicts on my machine. Switching to the generic kernel resolved a lot of headaches. Even the generic smp kernel runs great for me and I have an older Celeron P4.

I'm new to Slackware, but having just gone through this myself I thought I would speak up

Dig
 
Old 10-24-2007, 08:37 AM   #12
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
I also wanted to add that on my particular machine I was only able to successfully install and run Slackware 12 by using acpi=off at boot. Otherwise it stalled on me. Don't know if it's pertinent in your situation though. For some reason noacpi didn't work for me, but acpi=off did. I could very well have made a typing error though.
 
Old 10-24-2007, 12:09 PM   #13
l33t_c0w
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Well, I tried switching to the generic kernel, and creating the initrd, but it's still doing the same thing. There's got to be a fix for this besides turning off udev entirely. Are there bootlogs?

new development: acpi=off works. This is a laptop though, so I'd rather have acpi turned on. What do I do next?

Last edited by l33t_c0w; 10-24-2007 at 12:18 PM.
 
Old 10-24-2007, 01:56 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You should build a custom kernel for your laptop. During this process, you'll find which options will work for it. Kwan Lowe's Kernel Rebuild Guide is a great resource to learn HOW-TO rebuild the Linux kernel.

Also, search <Linux> Google Search for the option (acpi=off) which worked; as well as TuxMobil and Linux-on-Laptops for models similar to yours. You'll see what others have done with a similar buggy BIOS to get ACPI supported properly.
 
  


Reply



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
Nvidia drivers causing X lockup? Gato Azul Slackware 14 09-19-2007 07:24 AM
wg511 causing machine lockup d0wn_under Slackware 1 12-29-2004 05:40 PM
FastTrak Raid causing Buffer I/O Error on fresh FC2 install on a separate IDE drive abunn Linux - Hardware 3 10-21-2004 12:22 PM
Slackware freezes during boot up after fresh install Dachy Linux - Laptop and Netbook 1 08-23-2004 08:18 AM
Can't boot after fresh install of Slackware Darvocet Linux - General 2 02-22-2003 10:00 PM

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

All times are GMT -5. The time now is 03:10 AM.

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