You are not logged in.

#1 2005-06-20 20:30:46

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

DevFS/Udev mess up{Solved}

Well i was reading Arch is getting rid of DevFS and read you install Udev and do the mount=nodevfs (or something like that) so i did that. Yesterday i read that you could remove it.  So i did pacman -R devfsd. rebooted has a bunch of trouble mounting stuff, can't rember exact errors.  I can log in, but says i have no host ((none)) instead.  Then i try to edit files at root and says filesystem read-only...  i haven't tryed much yet but i think i need to compile a kernel with no devfs and then remove that option.  Will this work and then get rid of the mount=nodevfs? Well hope you can help somehow?


Found a wiki page about it.  but i still might need some help.

Offline

#2 2005-06-20 20:52:57

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: DevFS/Udev mess up{Solved}

jnengland77 wrote:

Well i was reading Arch is getting rid of DevFS and read you install Udev and do the mount=nodevfs (or something like that) so i did that. Yesterday i read that you could remove it.  So i did pacman -R devfsd. rebooted has a bunch of trouble mounting stuff, can't rember exact errors.  I can log in, but says i have no host ((none)) instead.  Then i try to edit files at root and says filesystem read-only...  i haven't tryed much yet but i think i need to compile a kernel with no devfs and then remove that option.  Will this work and then get rid of the mount=nodevfs? Well hope you can help somehow?


Found a wiki page about it.  but i still might need some help.

Have you upgraded to the latest version of udev?  If possible, could you post your fstab and your GRUB menu.lst, or if you are using LILO, your lilo.conf?


oz

Offline

#3 2005-06-20 21:14:03

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

hmm yeah menu.lst and fstab coming up in a few mins on other comp.  Yeah im pretty sure i have the latest Udev.  I didn't follow any thing except i just removed devfs.... how can make the filesystem writeable cause im not able to write at all?

menu.lst

timeout   15
default   1
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
# TIP: To use udev, add "devfs=nomount" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux  [Backup]
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/discs/disc0/part5 devfs=nomount elevator=cfq  ro 

# (1) Arch Linux Morph11
title  Arch Linux  [with Morph11]
root   (hd0,4)
kernel /boot/vmlinuz2611-morph11-ARCH root=/dev/hda5 devfs=nomount ro

# (2) Windows XP
title  Windows XP
rootnoverify  (hd0,1)
makeactive
chainloader +1

fstab... also tried to tweak it a bit before problems started happing

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
usbfs                  /proc/bus/usb usbfs  defaults            0      0

none                   /mnt/cdb  supermount  dev=/dev/hdd,fs=auto  0      0
none                   /mnt/dvd  supermount  dev=/dev/hdc,fs=auto  0      0
/dev/floppy/0          /mnt/fl   vfat        user,noauto           0      0
/dev/hda6              /mnt/data vfat        defaults,umask=000    0      0 

/dev/hda4 swap swap defaults,notime 0 0
/dev/hda5 / xfs defaults,notime 0 1

Bigest thing that would help would be how to make it writable so i can use pacman and nano, so i can use a script i found on the wiki page.

Offline

#4 2005-06-20 23:12:46

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

bump

Offline

#5 2005-06-20 23:41:33

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: DevFS/Udev mess up{Solved}

Not sure if it matters but it appears you are using a mix of the /dev/discs/disc0/ format (devfs), and the /dev/hdaX format (udev) in the menu.lst kernel line.   

Have you tried using your Arch installation CD in the rescue mode?  The commands for doing that come up when you boot it.  If that won't work, maybe you can use some other live CD to boot into your install and make the necessary changes.


oz

Offline

#6 2005-06-20 23:47:06

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

yeah but that's only the backup kernel ill proabably change it once i get the system working again.  Now i'll try the rescure part of the disk and see if it helps any.  If not anyway to make the filesystem writeable?

Offline

#7 2005-06-21 01:07:35

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

ok i somewhat worked it out now... i recompiled the kernel without devfs support... and no udevand it's having a lot of errors inserting modules but it mounts things alright.   
Now it has troube loading snd* modules... sad going to make them not load them.
Any suggestions?
im still working on the 1st wiki so maybe it'll fix it later?


wiki's used:  Switching to static dev from devfs
AND
Udev How To.

Offline

#8 2005-06-21 01:20:04

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: DevFS/Udev mess up{Solved}

Hmm... you might try editing the GRUB commands at system boot using the "e" or "a" when the grub menu comes up.  Maybe temporarily putting rw in place of the ro on the kernel line would get you going.  I've never tried it so don't know.

When I went with udev, I inserted the "devfs=nomount" command on the kernel line in menu.lst, changed the /dev entries in fstab and menu.lst, then rebooted and it worked without problem, so I then did pacman -R devfsd and everything still worked, but then I'm using the Arch default kernel.

Edit:  oops... looks like you got some of it going while I was entering this.


oz

Offline

#9 2005-06-21 01:37:34

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

yep booted up and everything had to remove sound modules from rc.conf.  i get no sound but other then that  it's working fine... since i really don't need to start another thread pleas help me with the sound issue.. ill get the error when i go back to my machine



EDIT: FIXED!!!   that's to ozar for suggesting the arch install cd to fix my problesm smile..

Offline

#10 2005-06-21 07:48:30

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: DevFS/Udev mess up{Solved}

jnengland77 wrote:

ysince i really don't need to start another thread

um - yup - you do!  Otherwise it is called cross-posting and that is bad smile

Offline

#11 2005-06-21 19:48:04

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

Fixed. anyway good job on your kernel PKGBUILD... it was used to re-compile the kernel without devfs.

Offline

#12 2005-06-21 20:03:47

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: DevFS/Udev mess up{Solved}

jnengland77 wrote:

Fixed. anyway good job on your kernel PKGBUILD... it was used to re-compile the kernel without devfs.

what did you do to solve the sound issue?

Offline

#13 2005-06-21 21:50:46

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: DevFS/Udev mess up{Solved}

I removed all the sound modules from my rc.conf and had hotplug find them and that seems to work im going to try and put them back to see if it works and maybe ill recompiled alsa-drivers cause the should sounds bad.

Offline

Board footer

Powered by FluxBB