public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: YoYo siska <yoyo@gl.ksp.sk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...
Date: Mon, 22 Feb 2010 17:37:51 +0100	[thread overview]
Message-ID: <20100222163751.GA29759@ksp.sk> (raw)
In-Reply-To: <20100222151340.GA11507@ksp.sk>

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




  reply	other threads:[~2010-02-22 17:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19  5:49 [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist James Homuth
2010-02-19  6:55 ` Hung Dang
2010-02-19  8:07   ` James Homuth
2010-02-19  9:18     ` J. Roeleveld
2010-02-19 10:02     ` [gentoo-user] " Nikos Chantziaras
2010-02-19  7:01 ` [gentoo-user] " daid kahl
2010-02-19  7:58   ` James Homuth
2010-02-19  9:24 ` Stroller
2010-02-19 11:51   ` Iain Buchanan
2010-02-19 10:26 ` Alex Schuster
2010-02-19 11:43 ` Iain Buchanan
2010-02-20  2:18   ` Hung Dang
2010-02-20 17:44     ` James Homuth
2010-02-21  3:38       ` Iain Buchanan
2010-02-22  7:32   ` daid kahl
2010-02-22  7:43     ` daid kahl
2010-02-22 15:13 ` YoYo siska
2010-02-22 16:37   ` YoYo siska [this message]
2010-02-22 23:59     ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100222163751.GA29759@ksp.sk \
    --to=yoyo@gl.ksp.sk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox