LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 03-06-2010, 04:16 AM   #1
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 116

Rep: Reputation: 85
Missing /dev/sda etc when booting custom kernels


Hi

A few people including me have had udev-151 only sparsely populate /dev -- crucial block devices such as /dev/sda were missing.

If you hit this problem, read /usr/doc/udev-151/README

In particular ensure your kernel meets the requirements:
- Version 2.6.27 of the Linux kernel with sysfs, procfs, signalfd, inotify,
unix domain sockets, networking and hotplug enabled:
CONFIG_HOTPLUG=y
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_NET=y
CONFIG_UNIX=y
CONFIG_SYSFS=y
CONFIG_SYSFS_DEPRECATED*=n
CONFIG_PROC_FS=y
CONFIG_TMPFS=y
CONFIG_INOTIFY_USER=y
CONFIG_SIGNALFD=y
CONFIG_TMPFS_POSIX_ACL=y (user ACLs for device nodes)
CONFIG_BLK_DEV_BSG=y (SCSI devices)

- Udev will not work with the CONFIG_SYSFS_DEPRECATED* option.

- Unix domain sockets (CONFIG_UNIX) as a loadable kernel module may work,
but it is not supported.


You should find that once your kernel meets these requirements, udev-151 works.
 
Old 03-06-2010, 06:04 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,313

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
i discovered it helps a lot also if you switch from the deprecated (since 2.6.33) ide layer for sata to the new one (in device configuration): a common situation when upgrading configs from older kernel versions and booting without an initrd.

edit: sorry, read better your post, thought you were speaking about current.
btw, thanx for the hint.

Last edited by ponce; 03-07-2010 at 02:15 AM.
 
Old 03-06-2010, 10:09 PM   #3
zhoun
Member
 
Registered: Oct 2007
Location: anywhere
Distribution: slackware64 current & win7 64 on thinkpad X61
Posts: 104

Rep: Reputation: 18
thanks drmozes.
Solved my probleam!
 
Old 06-08-2010, 03:47 PM   #4
alperenc
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
thank you!! i updated my gentoo but udev got broken. solved my problem.
 
Old 06-13-2010, 02:23 PM   #5
metageek
Member
 
Registered: Jun 2007
Location: manchester, uk
Distribution: Slackware
Posts: 112

Rep: Reputation: 21
thanks, this solved my problem, I was running out of ideas!
 
Old 07-04-2010, 05:56 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,170

Rep: Reputation: 47
Just want to say that this solved my problem, too, and I can now boot my custom 2.6.34. Thanks!
 
  


Reply

Tags
device, missing, udev


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing /dev/sda from digital camera Valkyrie_of_valhalla Linux - Hardware 8 07-26-2007 04:17 AM
backward compatibility in kernels + custom kernels + more queries mmp_3341 Linux - Kernel 1 04-12-2007 07:28 AM
missing /dev/sda* device files monkeyman2000 Ubuntu 11 09-11-2006 07:32 PM
missing /dev/sda[6-8] files, use mknod? FC5 worzel68 Linux - Hardware 0 09-11-2006 05:13 AM
Booting, and Mounting /dev/sda and 2.6.14 trouble Linux_n00b_57 Slackware 16 04-23-2006 11:18 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration