LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-24-2010, 09:26 AM   #1
bonaire
Member
 
Registered: Jun 2008
Location: Bonn/Germany
Distribution: Slackware-13.37
Posts: 94

Rep: Reputation: 19
udev start in current provokes kernel crash because (wrong?) boot option


I switched today to slackware-current on one of my desktops to play with it and ran directly into a problem.

Since ages my lilo.conf has two entries for slackware. One for runlevel 3 and one for runlevel 4.

Code:
lba32
boot = /dev/sda1
compact

bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255

append=" vt.default_utf8=1"
prompt
timeout = 50
vga = 794

image = /boot/vmlinuz
  root = /dev/mapper/crypt-vg-root
  initrd = /boot/initrd.gz
  label = Slackware
  append = "init 4"
  read-only

image = /boot/vmlinuz
  root = /dev/mapper/crypt-vg-root
  initrd = /boot/initrd.gz
  label = Slackware-r3
  append = "init 3"
  read-only
Since the upgrade this is no more possible because I get a kernel panic as soon as udevadm trigger is called. The stack says something about an unknown boot option. Because that i removed the append lines from my lilo.conf and i was able to boot the system. The crash happens when udev is called from within the ramdisk and afterwards. I tried both.

My question is now. Is this a bug in udev or expected? I have this setup since at least 5 years and had never problems with that. What do I have to do to be able to select the runlevel at boot time?
 
Old 12-24-2010, 10:13 AM   #2
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
The init parameter should be used to specifiy the init program, like this
Code:
init=/sbin/init
or this
Code:
init=/bin/bash
. Try specifying the runlevel alone like this
Code:
addappend = " 3"
The addapend syntax adds the section-specific data to the global "append" you have, above. So, you'd use one append = " vt.default_utf8=1" in a global area (as you have) and then addapend = 3 or addappend = 4 in the appropriate section.

Last edited by jamesf; 12-24-2010 at 10:17 AM.
 
Old 12-24-2010, 10:13 AM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You don't need 'init 3' and/or 'init 4'. Just '3' or '4'. Give that a try.

Adam
 
Old 12-24-2010, 10:38 AM   #4
bonaire
Member
 
Registered: Jun 2008
Location: Bonn/Germany
Distribution: Slackware-13.37
Posts: 94

Original Poster
Rep: Reputation: 19
Thanks adamk75 and jamesf,

Code:
image = /boot/vmlinuz
  root = /dev/mapper/crypt-vg-root
  initrd = /boot/initrd.gz
  label = Slackware-r3
  append = " 3"
  read-only
Does the job. But strange that it worked without any issue before. I learned something
 
  


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
How to have udev start at boot RVDowning Mandriva 9 06-09-2010 01:51 PM
current users - udev-128 - don't forget rc.udev.new! tobyl Slackware 3 10-08-2008 03:28 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
How to upgrade to -current ? New udev for new kernel !? introuble Slackware 8 04-21-2006 02:47 PM
Mplayer-function "pause" provokes CRASH pablovschby Linux - Software 5 12-16-2004 02:00 PM

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

All times are GMT -5. The time now is 09:36 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