From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Njbkn-00056h-N3 for garchives@archives.gentoo.org; Mon, 22 Feb 2010 17:07:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50D58E0DBD for ; Mon, 22 Feb 2010 17:07:29 +0000 (UTC) Received: from ksp.sk (element.ksp.sk [158.195.16.154]) by pigeon.gentoo.org (Postfix) with ESMTP id 04EE3E0B85 for ; Mon, 22 Feb 2010 16:37:51 +0000 (UTC) Received: by ksp.sk (Postfix, from userid 1004) id 5F7C54C08D; Mon, 22 Feb 2010 17:37:51 +0100 (CET) Date: Mon, 22 Feb 2010 17:37:51 +0100 From: YoYo siska To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist... Message-ID: <20100222163751.GA29759@ksp.sk> References: <061101cab127$58ca1500$6400a8c0@quan> <20100222151340.GA11507@ksp.sk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100222151340.GA11507@ksp.sk> X-YoYo: 47 X-Exotic-Header-Data: 47/2 User-Agent: Mutt/1.5.18 (2008-05-17) X-Archives-Salt: c3ccdede-6f9f-4507-918f-543264baf1b2 X-Archives-Hash: 4e4320315eb65c22621e55a5743d6688 On Mon, Feb 22, 2010 at 04:13:40PM +0100, YoYo siska wrote: > On Fri, Feb 19, 2010 at 12:49:47AM -0500, James Homuth wrote: > > I performed a bit of an update on my laptop a day or two ago, and after > > reboot, I lost the ability to do anything with /dev/hda*. I currently have 0 > > swap space, and according to stat, ls etc, they don't exist. But, booting to > > an install CD I burned for diagnostic purposes, it sees them just fine. > > Also, and this is the strange part. It boots no problem, so the OS is able > > to mount at least /dev/hda3, even though from the command line I'm not > > seeing it. I'm probably missing something completely dead obvious (it's > > after midnight here and all), and Google's turning up nothing, so if someone > > could kindly slap me in the face with it, that'd be appreciated. Thanks > > either way for whatever help comes my way. > > > > Hi, > I just had to restart my computer (power issues :( ) in the middle of > an update (well, it was more like 'just before the end';) and after > restart I have the same problem as you, no /dev/sd[ab]* files... > > My first guess was that I rebooted without updating the config files, so > I ran etc-update (there were some udev config files as well as init > script) and rebooted, but that didn't help. > > It is certainly not a problem with drivers not being in kernel, as the > kernel sees the disks and partitions (see below), so I just run > > tail -n +3 /proc/partitions | while read maj min size name ; do mknod /dev/$name b $maj $min ; done > /etc/init.d/localmount pause; /etc/init.d/localmount start > > to get everything mounted again... > > That means it will have to be an udev (or even openrc) problem. > The last update of udev did in fact say this: > > * Checking for suitable kernel configuration options... > * CONFIG_SYSFS_DEPRECATED: should not be set. But it is. > * CONFIG_SYSFS_DEPRECATED_V2: should not be set. But it is. > * CONFIG_IDE: should not be set. But it is. > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. > * > * udev-151 does not support Linux kernel before version 2.6.25! > * For a reliable udev, use at least kernel 2.6.27 > > * Your kernel version (2.6.28-gentoo-r2) is new enough to run udev-151 reliably. > > I didn't want to mess with the kernel right now, but I gues that's the > first thing to try... > I'll report when I rebuild & reboot... > yop, that was it though you wrote about /dev/hda*, which means you should be a bit more carefull if you used the IDE drivers (under ATA/ATAPI/.... support, thats the "CONFIG_IDE" option) and disabled the CONFIG_IDE options, you have to enable it under Serial ATA (prod) and Parallel ATA (experimental) drivers (CONFIG_ATA) and also your device might get renamed to sd* instead of hd* (I don't know, I have only a cdrom, that becomes sr0 ;) But I think that the real problem was with those SYSFS_DEPRECATED options, so you might be able to get things working with just disabling those and leaving IDE as it was... btw, I found this bug afterwards: http://bugs.gentoo.org/show_bug.cgi?id=302173 yoyo