LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-06-2010, 04:16 AM   #1
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
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
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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: Farmington, CT
Distribution: Slackware64
Posts: 204

Rep: Reputation: 44
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,274

Rep: Reputation: 63
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



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
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

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

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