Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]/dev/hda has disappeared!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Wed Jun 23, 2004 11:02 pm    Post subject: [SOLVED]/dev/hda has disappeared! Reply with quote

well, in the process of emerging new kernel sources to upgrade my alu-powerbook to 2.6.7 (to add the patch to fix the sound problems, and perhaps the one to fix the cpu freq half-speed!) i somehow destroyed my system.
after reboot i get this:
Code:

*Mounting /proc... [OK]
rm: cannot remove '/dev/.devfsd': Operation not permitted
*Activating swap.....
*Remounting root filesystem read-only (if neccessary)... [!!]
*Checking root filesystem .....
fsck 1.32 (09-Nov-2002)
fsck.ext3: No such file or directory while trying to open /dev/hda11
/dev/hda11:
The superblock could not be read or does not describe a correct ext2
filesystem.


because in /dev, there is no hda anything anymore...

same as this thread :
http://uprooboo.notlong.com

but their fixes didn't help. i booted fromt he live cd, chroot to its /dev/hda11 and emerge sync'd, reemerged downgrading gawk to 3.1.1 and baselayout to 1.9.1.. no go. still no /dev/hda.

help!
Back to top
View user's profile Send private message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 477
Location: USA

PostPosted: Thu Jun 24, 2004 1:10 am    Post subject: Reply with quote

Try df command, and see the output.
_________________
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Thu Jun 24, 2004 1:31 am    Post subject: Reply with quote

from /mnt/gentoo or / on the livecd?

from /mnt/gentoo i get
Code:

Filesystem     1K-blocks    Used      Available    Use%  Mounted on
/dev/hda11    15276528   5279144  9221368    37%    /
none              15276528   5279144  9221368    37%    /dev
none              15276528   5279144  9221368    37%    /proc
none              15276528   5279144  9221368    37%    /sys
none             15276528   5279144  9221368    37%    /dev/pts
df '/proc/bus/usb': No such file or directory

from livecd i get
Code:

Filesystem              1K-blocks    Used      Available    Use%  Mounted on
tmpfs                      1034404     2504      1031900       1%    /
/dev/root                   26233      18958         5775      77%    /mnt/initrd
/dev/cdroms/cdrom0 588190     588190             0     100%   /mnt/cdrom
/dev/loop/0               164432     150528       13904   92%     /mnt/live-env
/dev/hda11             15276528   5279144  9221368    37%    /mnt/gentoo



what does this tell me besides used space?
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Thu Jun 24, 2004 4:57 am    Post subject: Reply with quote

THis may be a stupid question, but did you remember to include devfs ("/dev File System") in your shiny new kernel?
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Thu Jun 24, 2004 5:05 am    Post subject: Reply with quote

that may not be a stupid question because i can't remember. i copied my .config file from building the 2.6.5 kernel, ran make menuconfig to look it over, but i don't remember changing anything like that.
i will look at that again.
nonetheless, all other existing kernels were certainly built with devfs because they worked before, right? and now won't either, due to no /dev/hdax.
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Thu Jun 24, 2004 5:24 am    Post subject: Reply with quote

yes, looking at the config it does and did include /dev file system support. though it does say this is obsolete in menuconfig, for some reason.
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Thu Jun 24, 2004 5:37 am    Post subject: Reply with quote

/etc/devfsd.conf is empty.
ummm...? can i just copy one to it?


i guess so. seems to be a copy of example in /usr/share/doc/devfsd-...

seems to work. i'm back.


in the process i rudely discovered that half my xorg.conf file was missing! it seems to have been from deleted from somewhere in the the middle of the word "ServerFla "
...

luckily i had kept a backup of my xorg.conf to copy over. i wonder what other config files are messed up.
gotta love that etc-update.
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Thu Jun 24, 2004 7:43 am    Post subject: Reply with quote

jsegel wrote:
yes, looking at the config it does and did include /dev file system support. though it does say this is obsolete in menuconfig, for some reason.

the reason why it says it's obsolete, is because udev exists. You can choose between both... but you definitely need one :p

greetings
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Mon Jul 19, 2004 7:21 am    Post subject: Reply with quote

well, here it is a month later and this happened again. why, you ask? well, apparently etc-update isn't really merging files it claims to be merging.
merging /etc/devfsd.conf with its new config resulted again in a BLANK file. and several others too.
"stack overflow" in diff i finally saw.
_________________
flap...
9 days later: "#&@*!% chaos butterfly!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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