Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149707 - udev-100-r2 does not create /dev/hda
Summary: udev-100-r2 does not create /dev/hda
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-01 03:59 UTC by Xake
Modified: 2006-10-03 21:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of dmesg (dmesg.log,17.88 KB, text/plain)
2006-10-03 03:00 UTC, Xake
Details
/proc/partitions (partitions,270 bytes, text/plain)
2006-10-03 03:01 UTC, Xake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2006-10-01 03:59:45 UTC
I have had two SATA discs and a PATA DVD+/-RW in my computer for about a year now, and only have had the /dev sd# and /dev/hdc devices to care about. Since last week I have the need to try and collect info from a PATA-HDD I know only has one partition with the ext3 fs.
The problem: /dev/hda never got created. dmesg finds the HDD, identifies it and tells me that hda exist, but udev seems to never create its node or any nodes for its partition.

Portage 2.1.2_pre1-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4.90.20060915-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 01 Oct 2006 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.3-r1, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.5
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -pipe -O3 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms splitdebug strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.csbnet.se/pub/linux/distributions/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.pudas.net/gentoo"
LANG="sv"
LC_ALL="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="sv_SE"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/nxsty /usr/portage/local/layman/musicbrainz /usr/portage/local/layman/liferea_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf audioscrobbler bash bash-completion beagle berkdb bitmap-fonts boost branding browserplugin bzip2 cairo canvas cdr cli compositor crypt cups curl dbus divx dlloader dmx dpms dri dvd dvdr eds elibc_glibc emboss encode evolution fam fat firefox flac fortran freetype gd gdbm gif glibc-omitfp glitz gmp gnome gnome-firefox gnutls gpm gstreamer gtk gtk2 gtkhtml gxl hal howl-compat icu idn inotify input_devices_evdev ipv6 irmc isdnlog ithreads java jikes joystick jpeg kernel_linux lcms ldap libclamav libg++ libnotify libsexy linguas_sv_SE lm_sensors logrotate lx700 mad matroska mikmod mmx mng mono moznocompose moznoirc moznomail mp3 mpeg musepack musicbrainz nautilus ncurses network nls nptl nptlonly ntfs ntp numeric nvtv offensive ogg opengl pam pcre pdf perl pic png ppds pppd print pulseaudio python quicktime readline real reflection reiser4 reiserfs rtc samba sdl session smp sox spell spf spl sse sse2 ssh ssl startup-notification svg syslog tagwriting tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_none video_cards_nvidia vorbis win32codecs wma wmf wv wxwindows xcomposite xinerama xinetd xml xml2 xorg xosd xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-01 18:00:43 UTC
could you please include the output of /proc/partitions, as well as your dmesg boot log (please attach it here).
Comment 2 Xake 2006-10-03 03:00:19 UTC
Created attachment 98692 [details]
output of dmesg
Comment 3 Xake 2006-10-03 03:01:39 UTC
Created attachment 98693 [details]
/proc/partitions
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-03 14:41:40 UTC
This is not a udev problem.
Something else is wrong with your system.
hda doesn't appear in /proc/partitions. 

maybe dig in /sys/bus/ide/devices or /sys/block/hdX and try to figure out why.

if you make the devices nodes manually with mknod, you'll probably find that the kernel will give you errors when you try to access them.
Comment 5 Xake 2006-10-03 15:55:53 UTC
I can find the disk in /sys/bus/ide/devices/0.0/ but not in /sys/block/
Trying to make the node by hand I have not since I'm not sure in how to use mknode.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-03 16:23:19 UTC
this will make all of the device nodes for you:

mknod /dev/hda b 3 0
for i in `seq 1 15`; do
mknod /dev/hda$i b 3 $i
done

see /usr/src/linux/Documentation/devices.txt for other numbers.

but something is definetly wrong with your hardware or kernel, this is not a udev issue.

maybe check if support for IDE disks is compiled into your kernel?
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-10-03 21:54:26 UTC
Even creating those device nodes by hand will not fix the issue here.

This is a kernel configuration issue, not a udev one.  closing...