Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
still cant find root
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
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Thu Jun 27, 2002 7:44 pm    Post subject: still cant find root Reply with quote

i have an ASUS 27V266 MB w/ via 266 chipset running an Athlon XP. It has dual ata-100 controllers. Now, when i try to boot up it tells me something like "vfs: cant find ROOT fs" and to make sure the "root" line in grub is passed correctly (which it is)

I've never compiled a kernel for an Athlon system before and can only guess something is wrong in kernel config. Interestingly, about a hundred google searches don't tell me exactly what ide controller is on that mb, but im only guessing that that is the problem.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jun 27, 2002 7:48 pm    Post subject: Reply with quote

We need more details... Your menu.lst, the output of fdisk -l /dev/hdX, etc...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Thu Jun 27, 2002 7:58 pm    Post subject: here it is Reply with quote

ive looked at is so many times i know it by heart

dev/hda1----> primary, windows (at end of drive ~ 7gigs)
dev/hda2----> primary, linux boot (at beginning of drive ~ 100 megs)
dev/hda3-> extended partition for swap and root:
dev/hda5----> linux swap ~ 1500 megs
dev/hda6----> linux / ~18 gigs

here is menu.lst
Code:

title=Gentoo
root (hd0,1)
kernel /boot/bzImage root=/dev/hda6


thanks for respondign so quickly but i really doubt this is it
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jun 27, 2002 8:06 pm    Post subject: Re: here it is Reply with quote

Try this in menu.lst:
Code:

title=Gentoo
root (hd0,1)
kernel /boot/bzImage root=/dev/hda6 ide=reverse

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Thu Jun 27, 2002 8:13 pm    Post subject: not yet Reply with quote

that didnt work... perhaps this will help...

here is more of what it says:
VFS: Cannot open device "hda6" or 03:06
please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root ds on 03:06
Back to top
View user's profile Send private message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Thu Jun 27, 2002 8:18 pm    Post subject: by the way Reply with quote

it may, at times, sound like i know what im talking about, but i've never compiled a kernel for this system before so chances are i forgot something obvious in kernel config
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jun 27, 2002 8:54 pm    Post subject: Reply with quote

You may have not included support for your hard disk controller in the kernel. This thread might help you find out what it is: https://forums.gentoo.org/viewtopic.php?t=5303.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
tba (as guest)
Guest





PostPosted: Thu Jun 27, 2002 10:09 pm    Post subject: still going Reply with quote

those commands do seem helpful but running any of them doesnt tell me anything new or surprising
One entry from cat /proc/ioports is VIA Technologies, Inc. Bus Master IDE, and VIA is built in under ATA/IDE/MRM support in kernel config.

Here is some more info from kernel config. Keep in mind im using an Athlon XP, Asus MB A7V266, with aVIA Chipset:

Processor type and features: Low Latency, Control LL w/ sysctl, Athlon/Duron/K7 proc. fam., Machine Check Exception, Model Spes. Reg. Support, Cpu Info support, Preemptible Kernel (all built in). (CPU scaling causes make to fail so i dont think i need it)

General setup: Networking, PCI Support (any access mode), PCI device name database, Sys. V IPC, Sysctl suport, ELF kernel and binaries (all built in)

skipping down to ATA/IDE/MFM/RLL (built in). And under block devices submenus:
Enhanced IDE/MFM/RLL disk/cd/floppy support, IDE taskfile access and IO, Generic PCI IDE chipset support, Sharing PCI bus-master DMA support, Use PCI DMA by default, VIA82CXXX chipset support (all built in)
As modules in the same submenus....
Include IDE/ATA-2 Disk support, cdrom support and floppy support. I found them as modules so thats how i left'em. I think ATA/IDE/MFM/RLL was originally a module so when it first didnt work i made it built in. I'll try module again now.

Under filesystem i made sure ext3 was built in. Kernel compliation always finishes with a message about "noting to be done for modules_install" is that normal.

please delete the post i accidentally placed as its own thread. I posted as guest from another comp. and didnt realize what i'd done till it was too late. :oops:
Back to top
tba (as guest)
Guest





PostPosted: Thu Jun 27, 2002 10:11 pm    Post subject: modules_insatll Reply with quote

actually it sats "no rule to make targe 'modules_install' but i doubt that helps
Back to top
tba (as guest)
Guest





PostPosted: Thu Jun 27, 2002 11:58 pm    Post subject: Reply with quote

when i boot off the cd, right where it crashes on the hd it says RAMDISK: compressed image found at block 0. could this have something to do with it?
Back to top
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Jun 28, 2002 3:20 am    Post subject: Reply with quote

Is your drive connected to the Promise controller?
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Jun 28, 2002 3:44 am    Post subject: Re: still going Reply with quote

tba (as guest) wrote:
As modules in the same submenus....
Include IDE/ATA-2 Disk support, cdrom support and floppy support.

From the help for the ATA-2 Disk support option:
Quote:
Do not compile this driver as a module if your root file system (the one containing the directory /) is located on the IDE disk.

Try it built in...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
Digiman
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 116
Location: Mobile, AL

PostPosted: Tue Jul 02, 2002 1:45 am    Post subject: Re: still cant find root Reply with quote

tba wrote:
i have an ASUS 27V266 MB w/ via 266 chipset running an Athlon XP. It has dual ata-100 controllers. Now, when i try to boot up it tells me something like "vfs: cant find ROOT fs" and to make sure the "root" line in grub is passed correctly (which it is)

I've never compiled a kernel for an Athlon system before and can only guess something is wrong in kernel config. Interestingly, about a hundred google searches don't tell me exactly what ide controller is on that mb, but im only guessing that that is the problem.


I just had this problem today with almost the same hardware.
I have found that if you enable the Promise PDC202... and the
VIA82CXXX chipset support under the ATA/IDE/MFM/RLL >>
IDE, ATA and ATAPI Block devices, that it now boots
with out the kernel panic.

Hope that helps...
-- Digiman
Back to top
View user's profile Send private message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Tue Jul 02, 2002 8:55 am    Post subject: found root Reply with quote

i solved this problem and forgot to mention it. i deleted my kernel's config file and started from scratch and compiled the latter but not the former into my kernel... when you boot does it say assuming 33mhz bus override with idebus=xx? my performeance doesnt seem to suffer but its unnerving nonetheless. maybe ill compile in promise next time i screw with kernel.
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