PDA

View Full Version : Boot error message



Calvi Risorta
05-17-2004, 07:40 PM
Hello:

As I have not been able to get an answer to this in my previous post (maybe because it is part of a post with other problems) I'll ask again, this time by itself.

I have a Knoppix HDD install which gives this error message at boot time:




mount: fs type devfs not supprted by kernel.



I have not been able to find any info relating to Knoppix with respect to this.

Q:

1. is this 'mount: fs type devfs' important?

2. if (as the error mesaage says) it is not supported, why is it being loaded/used at boot time?

3. as the HDD install seems to be working quite well, can this be disabled so as to get rid of the message?

Thanks in advance,

CIV

user unknown
05-18-2004, 09:48 AM
devfs is a pseudofilesystem similar to proc.
You only need it with an 2.6 kernel, which mostly (but not allways) is build with devfs-support.

If you don't have a 2.6 kernel, everything (beside that message) is fine.
Perhaps it's from an entry in /etc/fstab, which should be commented off:



#sysfs /sys sysfs ...

Calvi Risorta
05-18-2004, 11:54 AM
Hello user_unknown:

Thanks a lot for your post.
It would seem that the 2.6 kernel in knoppix supports devfs. (?)

I mostly boot into the 2.4 kernel (can't boot into 2.6, motive for another post).

I'll have a look at the /etc/fstab file, make the corrections as per your suggestions and post the results.

Best regards,

CIV

-------

UPDATE 18/05/04 09:23 -03:00 GMT

I have commented the entry you suggested in /etc/fstab.

# sysfs /sys sysfs

I also commented this one ...

# usbdevsys /proc/bus/usb usbdevfs defaults 0 0

As the USB drivers were being loaded elsewhere and I was getting error messages at boot time.

Fortunately, my mobile USB HDD still works perfectly well. ;-)

The bad news is that the message is still present, which means that sysfs
is still being loaded elsewhere.

Any ideas as to where this is happening?

Thanks in advance,

CIV

user unknown
05-18-2004, 01:40 PM
Is the hardwaredetection running on every boot?
The big big /etc/init.d/knoppix-autoconfig?
Is there a link to this file in /etc/rcS.d (named S00... probably?)

medlazik
05-28-2004, 11:20 PM
i have the same problem, how can i deactivate hd autoconfig in /etc/rcS.d ?

user unknown
05-29-2004, 12:49 AM
The autodetection can be switched off with bootparam (aka cheatcode) 'nohwsetup'.

I don't use automounter - beeing a conservative manually-doer.

I don't trust automounters.
I don't like the namingconventions (/cdrom in root for example or /mnt/cdrom or /mnt/hda1 - my naming convention says /mnt/cd and /mnt/c).

And I'm much too old to learn this modern stuff.

I can imagine automounter to be guilty :) for trying to mount /sysfs.

How to disable? Hmmm. Don't know.
I didn't see the hd-install - script and copied allmost anything manually, removed dull stuff like pcmcia, scsi, quoatas, ipchains and -tables - dull for me - and changed much things in knoppix-autoconfig.
(every 3rd line in knoppix-autoconfig contains the token 'mount' - it's really funny to find the right place to fix :) )

There is a comment near the end 'Start automount now'.
You might change it, but be told, that turning automount off will turn automount off. ;)

Calvi Risorta
05-29-2004, 11:01 AM
Hello user_unknown:

Thanks for the input / sorry for the delay.
Too much work lately.



The big big /etc/init.d/knoppix-autoconfig?
Is there a link to this file in /etc/rcS.d (named S00... probably?)


I'll have a look at this.

But I have been playing with various Debian/Knoppix things ...

The KDE settings/control centre/system administration/linux kernel tab with which I managed (in spite of very little info on how to go about it) to slim down the kernel considerably without toasting my setup. ;-)

PS:
There's a file in /etc called modprobe.devfs which would seem to be (?) related to devfs.
Now, I have not been able to find out what calls it.

There's a script file in /etc/rcS.d called s35mountall.shthat has this line:



# mount local file systems in /etc/fstab
.....
mount -avt nonfs,noproc,nosmbfs


I have tried adding 'nodevfs' at the end of this line but to no avail ...

Any ideas?
Thanks in advance,

CIV