Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Mounting /dev for udev [oops]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
178238
n00b
n00b


Joined: 13 Dec 2007
Posts: 55

PostPosted: Fri Mar 21, 2008 10:20 am    Post subject: [solved] Mounting /dev for udev [oops] Reply with quote

Moin moin,
Ich habe gerade Gentoo frisch aufgesetzt, und wurde gleich mit dieser netten Meldung begüßt:

Code:
* Mounting proc at /proc ... [OK]
* Mounting sysfs at /sys ... [OK]
* Mounting /dev for udev    [oops]

* The "mount" command failed with error:

wrong fs, bad option, bad superblock on udev, missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so

* Since this is a critical task, startup cannot continue


dmesg komplett zu abzutippen ist freilich etwas schwierig, aber es waren keine Fehler zu erkennen. Stressig ist, das meine root Partition /dev/sda3 mit xfs nur als read-only gemountet wird. Ich muss also für jede kleine Änderung mit der LiveCD starten. Ich tappe bei der Sache wirklich im dunklen. In diesem Posting https://forums.gentoo.org/viewtopic-t-675509.html heißt es man soll
Code:

CONFIG_TMPFS=y

setzen, aber das ist bei mir bereits der Fall. Ich vermute mal ich hab bei der kernel Konfiguration irgendetwas vergessen, nur komm ich beim besten Willen nicht darauf was. :?:
Hat jemand eine Idee?

Mfg

Lumpi


Last edited by 178238 on Mon Mar 24, 2008 9:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1156
Location: Vienna (Austria)

PostPosted: Fri Mar 21, 2008 11:39 am    Post subject: Reply with quote

Mich würde mal deine grub.confg und vorallem das Syslog interessieren. Kopieren.
Check auf jedenfall mal Deine /etc/fstab
_________________
You are the problem too all my solutions ;)
Back to top
View user's profile Send private message
178238
n00b
n00b


Joined: 13 Dec 2007
Posts: 55

PostPosted: Fri Mar 21, 2008 12:15 pm    Post subject: Reply with quote

grub.conf ist bei mir noch recht kurz:
Code:

default 0
timeout 10
title=Gentoo Linux 2.6.24-r3
root (hd0,0)
kernel /boot/bzImage root=/dev/sda3


fstab sollte alles passen:
Code:

/dev/sda1      /boot      ext2      noauto,noatime   1 2
/dev/sda3      /      xfs      noatime      0 1
/dev/sda2      none      swap      sw      0 0
none         /proc      proc      defaults      0 0
none         /dev/shm   tmpfs      defaults      0 0


Syslog... Da muss ich erstmal fragen wie ich da denn rankomme? :wink: Syslog-ng arbeitet ja noch nicht und die Ausgabe von dmesg.. wird die denn irgendwo gespeichert?

Mfg

Lumpi
Back to top
View user's profile Send private message
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1156
Location: Vienna (Austria)

PostPosted: Fri Mar 21, 2008 12:32 pm    Post subject: Reply with quote

Hm..... Starte mal mit der LIVE-CD, mach ein chroot und merge dann udev neu.

Check ebenfalls deine Kernel auf udev... vielleicht hast Du dort ja vergessen udev auszuwählen.

Die Ausgabe von dmesg kannst Du übrigens ganz einfach umleiten:

Code:

dmesg > /root/dmesg.log


und mit
Code:

mount /dev/sda3 -o remount,rw

Kannst Du deine Platte read/write remounten.
Back to top
View user's profile Send private message
178238
n00b
n00b


Joined: 13 Dec 2007
Posts: 55

PostPosted: Fri Mar 21, 2008 1:12 pm    Post subject: Reply with quote

Tso, danke erstmal für die Tipps. Hier gibts also den syslog: http://pastebin.com/m7db9e612
Udev ist aktivirt. Hab es auch grade neu emerget - keine Veränderung.
Ich hoffe mal dass vllt jemand am syslog etwas erkennen kann, außer dass ich mein System von Knoppix aus gebaut habe :D

Mfg

Lumpi
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Fri Mar 21, 2008 1:38 pm    Post subject: Reply with quote

Also das hier ist doch recht seltsam:
Code:
272: sdb: unknown partition table


Aber sonst fällt mir hier nichts auf.

Jetzt würde mich deine config des KErnels interresieren, vielleicht lässt sich da was finden.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
178238
n00b
n00b


Joined: 13 Dec 2007
Posts: 55

PostPosted: Fri Mar 21, 2008 1:52 pm    Post subject: Reply with quote

/dev/sdb ist lediglich unformatiert :wink: Wie gesagt das System ist ganz frisch.
Hier ist mal meine kernel config: http://pastebin.com/m7913fff8 Was SATA Treiber angeht ist vermutlich das ein oder andere aktiv was nicht benötigt wird, aber das sollte keine Probleme machen. Hoff ich :P

Mfg

Lumpi
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Fri Mar 21, 2008 3:09 pm    Post subject: Reply with quote

Nein das sollte keine Probs machen.

Aaalso,

ICh schreib mal so auf was sich noch interresant für udev anhören könnte.
Code:
CONFIG_BLK_DEV_INITRD


Wie gesagt könnte, ich habs drinn, und bei mir läuft es.

Sonst wüsste ich nicht was schiefläuft.

Du könntest ja mal udev mit FEATURES="${FEATURES} test" nochmal mergen, vll gibt es da beim testen schon Probleme.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
178238
n00b
n00b


Joined: 13 Dec 2007
Posts: 55

PostPosted: Fri Mar 21, 2008 4:23 pm    Post subject: Reply with quote

Hui, also CONFIG_BLK_DEV_INITRD hat tatsächlich etwas bewirkt. Ich frag mich nur was :D
Nur mal grob abgetippt, so sieht es beim Hochfahren aus:
Code:

[...]
* Mounting proc at /proc... [ok]
* Mounting sysfs at /sys... [ok]
* Mounting /dev for udev... [ok]
* Starting udevd...
udevd[935]: init_udevd_socket: error getting socket: Function not implemented
error initializing udevd socket
udevd[935]: main: error initializing udevd socket [!!]
* Populating /dev with existing devices through uevents [ok]
* Letting udev process events... [!!]
* Finalizing udev configuration... [ok]
* Mounting devpts as /dev/pts... [ok]
* Checking root filesystem...
/sbin/fsck.xfs: /dev/sda3 does not exist
* Filesystem couldn't be fixed :( [!!]
Give root password for maintenance
[...]


Mal ganz davon abgesehn das udev wohl das ein oder andere Problem macht, habe ich gleich die Kriese gekriegt als ich "Filesystem couldn't be fixed" gelesen hab. /dev/sda3 lässt sich aber ganz normal mounten. Ein fsck erzählt mir aber wieder "/sbin/fsck.xfs: /dev/sda3 does not exist".

Wo liegt hier nur das Problem? bei udev, bei xfs, oder gar irgendetwas im Bezug auf SATA? Und vor allem: Wie bekomme ich das wieder hin? 8O

BTW: udev mit FEATURES=test bringt leider auch nichts aufschlussreiches.

Mfg

Lumpi
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Sat Mar 22, 2008 10:51 am    Post subject: Reply with quote

hmmm, mit welchen USE-Flags baust du udev, vll lässt sich da noch was finden.

Auch wenn die Festplatten/Partitionen existieren.

Der KErnel verwendet ja ein static-/dev und der Funktioniert.
Erst init schaltet, beim mounten von /dev for udev, auf udev um.
udevd sollte dieses /dev (im Übrigen dann ein tmpfs mit +/- 10 MB) füllen.

vll hilft ja ein manuelles udev-start in Form eines eigenes Runscript:
/etc/init.d/udev-start
Code:
#! /dev/runscript

depend() {
        before *
        after modules
}

start() {
        ebegin "udevstart nach udevd"
        /sbin/udevstart
        eend
}

stop() {
        :
}


Aber ehrlich gesagt, glaube ich das nicht so einfach, probiers aus, mein Vater nimmt auch so eines, weil es ohne nicht funktioniert(e).

Und das checkroot script die depend auf:
Code:
depend () {
         before *
         after udev-start
}

ändern, damit es da nicht zu komplikationen kommt

Edith:
Sorry fürs viele Editieren, aber das ist jetzt die Endversion.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
178238
n00b
n00b


Joined: 13 Dec 2007
Posts: 55

PostPosted: Mon Mar 24, 2008 9:34 pm    Post subject: Reply with quote

Nabend,
Danke für die Tipps, hab alles mal ausprobiert und auch selbst noch einiges rumexperimentiert, leider alles ohne Erfolg/Veränderung . Aber - Gentoo sei dank - mit genkernel läuft alles astrein. Ich setzte den Thread mal auf solved und bedanke mich nocheinmal für die Hilfe. Wenn aber jemand zufällig eine Idee hat wo in meiner Kernel .config der Fehler lag: sofort posten :wink:

Mfg

Lumpi
Back to top
View user's profile Send private message
revargne
n00b
n00b


Joined: 09 Nov 2007
Posts: 36
Location: Braunschweig

PostPosted: Tue Mar 25, 2008 12:38 pm    Post subject: Reply with quote

derlumpi wrote:
Wenn aber jemand zufällig eine Idee hat wo in meiner Kernel .config der Fehler lag: sofort posten


Also 100%ig sicher bin ich mir da nicht aber anscheinend ist in Deiner .config das Networking nicht aktiviert:
Code:
# Networking
#
#
#
# CONFIG_NET is not set

Es geht dabei konkret um die Unix domain sockets (CONFIG_UNIX), welche im Bereich Networking aktiviert werden müssen.
Diese werden _auf jeden Fall_ vom System benötigt auch wenn man ohne Netzwerk arbeitet.
Hatte dadurch einen ähnlichen Fehler mit udev :)

ciao,
der Maddin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum