Re: udev warning message on Debian 5.0

2009-08-03 Thread Tzafrir Cohen
On Fri, Jul 31, 2009 at 11:27:19AM -0700, Kushal Koolwal wrote:
> 
> >Either use a Live CD or add init=/bin/bash to the kernel commandline
> > to make it accessible.
> 
> Doing
> 
> init=/bin/bash
> mount -o rw,remount /
> rm -rf /dev/.udev/ 
> 
> worked fine!

mount -o remount,ro /
exec /sbin/init

# to get back to work

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



RE: udev warning message on Debian 5.0

2009-07-31 Thread Kushal Koolwal

>Either use a Live CD or add init=/bin/bash to the kernel commandline
> to make it accessible.

Doing

init=/bin/bash
mount -o rw,remount /
rm -rf /dev/.udev/ 

worked fine!

Thank you very much guys. You rock.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: udev warning message on Debian 5.0

2009-07-30 Thread Sven Joachim
On 2009-07-30 21:49 +0200, Kushal Koolwal wrote:

>>You should rm -rf /dev/.udev/, but it is better to leave the rest of
>>/dev alone.Sven, I did rm -rf /dev/.udev/ and when I restarted my system I 
>>again
> got the warning message and /dev/.udev was created again automatically.

You will need to do this when udev is not active, since otherwise the
static /dev is hidden.  Either use a Live CD or add init=/bin/bash
to the kernel commandline to make it accessible.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



RE: udev warning message on Debian 5.0

2009-07-30 Thread Kushal Koolwal

>You should rm -rf /dev/.udev/, but it is better to leave the rest of
>/dev alone.Sven, I did rm -rf /dev/.udev/ and when I restarted my system I 
>again
got the warning message and /dev/.udev was created again automatically.


Also I checked on another system which does not give this message and it
seems that even that system does have /dev/.udev/

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: udev warning message on Debian 5.0

2009-07-30 Thread Sven Joachim
On 2009-07-30 18:53 +0200, Kushal Koolwal wrote:

>>Assuming Kushal uses an initramfs, without it the boot process will
>> halt rather early if the kernel cannot find /dev/console.
> Actually I am not using initramfs. Would leaving /dev/console and deleting 
> everything under /dev/.udev/ work?

You should rm -rf /dev/.udev/, but it is better to leave the rest of
/dev alone.  That way you may be able to access the system even if udev
breaks completely.

Actually I only know about the problem of /dev/console being necessary
from my own experience.  I once moved my root filesystem to another
partition using "cp -ax", not considering that this would leave out
everything under /dev.  The cloned root system worked fine until I
booted a kernel without an initramfs.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



RE: udev warning message on Debian 5.0

2009-07-30 Thread Kushal Koolwal

>Assuming Kushal uses an initramfs, without it the boot process will
> halt rather early if the kernel cannot find /dev/console.
Actually I am not using initramfs. Would leaving /dev/console and deleting 
everything under /dev/.udev/ work?


Kushal Koolwal

I do blog at http://blogs.koolwal.net/









_
NEW mobile Hotmail. Optimized for YOUR phone.  Click here.
http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: udev warning message on Debian 5.0

2009-07-30 Thread Sven Joachim
On 2009-07-30 12:21 +0200, Γιώργος Πάλλας wrote:

> Kushal Koolwal wrote:
>> Recently I was having some trouble with my udev, so I purged udev, rebooted 
>> system and re-install udev again. After that most of the udev startup error 
>> went away but now I get the following warning message during system boot:
>>
>> .udev/ already exists on the static /dev!
>>
>> Any ideas?
>>
>> Please copy me on the reply since I am not on the mailing list.
>>
>>   
>
> My suggestion is: Boot with a live cd, mount your root filesystem, and I
> guess you will find stuff in /dev/. Delete everything inside /dev/.

This is somewhat excessive, just deleting /dev/udev.d is sufficient.

> Then reboot normally and my guess is that you will not get this
> warning anymore...

Assuming Kushal uses an initramfs, without it the boot process will
halt rather early if the kernel cannot find /dev/console.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: udev warning message on Debian 5.0

2009-07-30 Thread Γιώργος Πάλλας
Kushal Koolwal wrote:
> Recently I was having some trouble with my udev, so I purged udev, rebooted 
> system and re-install udev again. After that most of the udev startup error 
> went away but now I get the following warning message during system boot:
>
> .udev/ already exists on the static /dev!
>
> Any ideas?
>
> Please copy me on the reply since I am not on the mailing list.
>
>   

My suggestion is: Boot with a live cd, mount your root filesystem, and I
guess you will find stuff in /dev/. Delete everything inside /dev/. Then
reboot normally and my guess is that you will not get this warning
anymore...

G.



smime.p7s
Description: S/MIME Cryptographic Signature