[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev broken on upgrade to 2.6.9



Matthew Kay wrote:
Hi all! Have got a nasty error on upgrading my kernel, using make-kpkg,
to 2.6.9. I didn't change very much, just wanted to take advantage of
the updated ACPI code. Specifically, the problem is that /dev is
completely broken. It shows up but I can't cd into it (Not a Directory).

I seem to be using udev; I couldn't honestly say whether I was using it
before, but it is installed (0.046 I think). The errors only start
coming up after INIT; it says 'Mounting a tmpfs over /dev...done and
Creating initial device nodes...done' but warns that '.udevdb exists on
existing /dev'. The errors are all along the lines of not being able to
find nodes in /dev, and it asks to go into maintenance mode upon not
being able to find /dev/hda3, my root. Funnily enough, it does mount
this and I can remount it read-write in the usual way:
     mount -t ext2 -o remount,rw /dev/hda3 /

My first instinct was to rollback to 2.6.8.1 which worked for me.
However, since I can't stat /dev/hda, I can't update lilo! I've
downloaded gnoppix to help, but doe anyone have any ideas as to how I
can get my system working again?? Please ask if I've left out crucial
stuff.

Many thanks,
Matt (on-list)


Although I have no idea what is causing your problem, it may be helpful to know that udev will bind /.dev to your old /dev, so you can access any needed nodes there. Of course you could always stop udev with '/etc/init.d/udev stop' and that should unmount the tmpfs and may temporarily resolve the problem, allowing you to investigate further. udev needs hotplug: you did include that in your new kernel, right? Just a thought..

Michael Spang



Reply to: