Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yet another sata problem - sda disapeared [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Fri Jun 24, 2005 5:34 pm    Post subject: Yet another sata problem - sda disapeared [SOLVED] Reply with quote

Hi.

I have a problem i find very strange, but it should be something stupid like always.

I re-install Gentoo on a SATA disk. During the install process (even after chrooting), that drive is called /dev/sda/. Grub installed nicely.
I also have an IDE disk.
When I reboot, it looks like it's going to work: i get the usual grub screen, with the splashimage, the kernel boots.

But when it comes to checking the partitions listed in /etc/fstab there is a problem: /dev/sda8 (my / ) isn't a valid ext3 filesystem...

I can enter my root password and try to fix that, but when i list /dev there is no sda nor hda, b or c anymore, and no psaux,... fdisk -l doesn't give anything either.
I found that my hard discs were seen as /dev/discs/disc0 and 1, with the partitions listed as part1,2,3,... there.

I know that i have the right modules compiled into my kernel (not as modules) because i kept my old .config and did "make oldconfig" when recompiling my kernel. I checked manually that the VIA Sata module was marked with a *.

Here is my grub.conf:
Code:

timeout 10
default 0
fallback 1
spashimage=(hd0,4)/grub/splash.xpm.gz

title Gentoo 2.6.11
root (hd0,4)
kernel /kernel-2.6.11-r11-24-06-2005 root=/dev/sda8

title WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1


Can anyone help me?

Thanks!

EDIT: WinXP boots normally (grrr... i'd rather have windows broken and linux healthy :wink: )


Last edited by laurentgedm on Sun Jun 26, 2005 3:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Fri Jun 24, 2005 5:44 pm    Post subject: Reply with quote

laurentgedm,

Do you have hotplug support in the kernel ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Fri Jun 24, 2005 5:54 pm    Post subject: Reply with quote

I think so, i have
Device drivers --> Generic Driver Options --> hotplug firmware loading support <*>

EDIT: i don't have "support for PCI Hotplug (Experimental)" in
Bus Optins --> PCI Hotplug Support
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Fri Jun 24, 2005 6:19 pm    Post subject: Reply with quote

laurentgedm,

That looks good, what aboiut udev and friends?
Run
Code:
emerge udev hotplug coldplug -p
They should all be installed.
Coldplug gets added to the boot runlevel
Hotplug gets added to the defualt runlevel
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Fri Jun 24, 2005 6:28 pm    Post subject: Reply with quote

Well, hotplug and coldplug were not.
I must have missed something during the installation...

I've emerged them now... but i still get the same problem.
Back to top
View user's profile Send private message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Fri Jun 24, 2005 6:34 pm    Post subject: Reply with quote

emerge coldplug and hotplug are in the "genkernel users" section... that's why i didn't emerge them.

I forgot to say that i'm doing a stage 3 installation, and that i also kept my "old" rc.conf and make.conf.
I modified my old fstab because i changed my partition scheme.
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1173

PostPosted: Fri Jun 24, 2005 6:51 pm    Post subject: Reply with quote

If you do all of the above and still cannot boot, you might also need to add:
Quote:
kernel /kernel-2.6.11-r11-24-06-2005 root=/dev/sda8 udev
in your grub.conf
_________________
Regards,
Mick
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jun 24, 2005 8:28 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Coldplug gets added to the boot runlevel
Hotplug gets added to the defualt runlevel

Actually, hotplug is just a dummy script now and coldplug is its replacement.
Back to top
View user's profile Send private message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Fri Jun 24, 2005 11:08 pm    Post subject: Reply with quote

MickKi wrote:
If you do all of the above and still cannot boot, you might also need to add:
Quote:
kernel /kernel-2.6.11-r11-24-06-2005 root=/dev/sda8 udev
in your grub.conf


I tried that, but still the same error...

I beging to get really worried about that...!

psaux is in /dev/misc/psaux.
I can find the disks, too... but they are just "not as usual", ie not hdc and sda.

Could it be that udev has evolved?
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Sat Jun 25, 2005 1:44 am    Post subject: Reply with quote

Change grub.conf to refer to the /dev/discs/discX/partY

Then you'll get an error and you'll want to enter in the root password.

Now enter " mount -o rw,remount /"
Now do "nano -w /etc/fstab" and change the /dev entries as neccessary (make them similar to the grub.conf entry I mentioned).

Enter "exit" and it should finish booting.
Back to top
View user's profile Send private message
laurentgedm
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 164
Location: Brussels

PostPosted: Sun Jun 26, 2005 3:54 pm    Post subject: Reply with quote

Ok, i tried that but i then got the error
Code:
init: Id "c1" respawning too fast: disabled for 5 minutes
init: Id "c2" respawning too fast: disabled for 5 minutes
init: Id "c3" respawning too fast: disabled for 5 minutes
init: Id "c4" respawning too fast: disabled for 5 minutes
init: Id "c6" respawning too fast: disabled for 5 minutes
init: Id "c5" respawning too fast: disabled for 5 minutes



I then re-emerged udev and baselayout, and re-compiled my kernel according to this post:
https://forums.gentoo.org/viewtopic-t-318313-highlight-respawning+fast.html

Now everything works fine and my discs are named sda and hdc as usual.

Thanks for your help!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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