View previous topic :: View next topic |
Author |
Message |
Hackeron Guru
Joined: 01 Nov 2002 Posts: 307
|
Posted: Sat Nov 02, 2002 12:53 am Post subject: deleted |
|
|
deleted
Last edited by Hackeron on Fri Apr 09, 2004 8:57 pm; edited 1 time in total |
|
Back to top |
|
|
torreyk n00b
Joined: 29 Apr 2002 Posts: 12
|
Posted: Sat Nov 02, 2002 1:13 am Post subject: |
|
|
Did you happen to format your / directory with xfs and then compile the kernel using gentto-sources? I ran into the same problem until I realized I wasn't using the XFS kernel. In my case i mounted another drive copied all the data from / to it the ran mke2fs -j on the original / partition and copied everything back. I changed the fs type in /etc/fstab to ext3 and rebooted and it all worked fine after that. |
|
Back to top |
|
|
Hackeron Guru
Joined: 01 Nov 2002 Posts: 307
|
Posted: Sat Nov 02, 2002 9:48 am Post subject: hmm |
|
|
no, I did compile the gentoo kernel, but I am using ReaiserFS. |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Sun Nov 03, 2002 2:17 am Post subject: |
|
|
same error here. im using reiserfs on my root partition, ext3 on boot partition...and i used the vanilla kernel |
|
Back to top |
|
|
LugnutsForBrains Tux's lil' helper
Joined: 23 Oct 2002 Posts: 89 Location: Mesa, AZ
|
Posted: Sun Nov 03, 2002 2:38 am Post subject: |
|
|
Can you boot the install cd and mount the partitions? You should be able to. If so, did you enable support for the reiser filesystem in your kernel? _________________ Is the sky really falling??? |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Sun Nov 03, 2002 3:14 am Post subject: |
|
|
i did enable support for reiserfs in the kernel. i can mount the root and boot partition when i boot off of cd. i was going to try and recompile but i can't run make when i boot from cd |
|
Back to top |
|
|
LugnutsForBrains Tux's lil' helper
Joined: 23 Oct 2002 Posts: 89 Location: Mesa, AZ
|
Posted: Sun Nov 03, 2002 3:29 am Post subject: |
|
|
You should be able to. I have had to do it numerous times.
Just to be safe go through the chroot process again:
(skip the mkdir /mnt/gentoo/boot line because the directory already exists).
Make sure that you: Code: | mount /dev/hda1 /mnt/gentoo/boot |
and then run through the kernel configuration again.
Don't forget to unmount the filesystems before you reboot.
If that doesn't work, I would wonder about hdd coruption. I think that I would be tempted to start over using ext3. _________________ Is the sky really falling??? |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Sun Nov 03, 2002 3:32 am Post subject: |
|
|
Did you mount your partitions and chroot before trying to run "make ..." to rebuild your kernel? The steps after booting the CD should be (roughly):
Code: | # mount /dev/hd[whatever] /mnt/gentoo
# mount /dev/hd[whatever] /mnt/gentoo/boot
# mount -o bind /proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc
# chroot /mnt/gentoo /bin/bash
# source /etc/profile
# env-update |
At that point you should be able to cd in to /usr/src/linux, change the config and recompile the kernel. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Sun Nov 03, 2002 5:32 am Post subject: |
|
|
thanks, that's what i was forgetting (i love these forums) |
|
Back to top |
|
|
vorplex n00b
Joined: 29 Oct 2002 Posts: 48 Location: Pass Christian, MS.
|
Posted: Wed Nov 06, 2002 1:49 pm Post subject: same problem |
|
|
I have the same problem trying out new kernels.
hda1=ext2 boot
hda2=swap
hda3=reiserfs root
I've tried both gentoo and vanilla kernel sources and they both give me the:
Kernel panic: VFS: Unable to mount root fs on 03:02
whats strange is that I only change was turning off "framebuffer support".
I already had is set up for SMP and can still boot off my orig bzImage but not the new one. _________________ Shop smart...shop S-mart Bruce Campbell Army of Darkness |
|
Back to top |
|
|
LugnutsForBrains Tux's lil' helper
Joined: 23 Oct 2002 Posts: 89 Location: Mesa, AZ
|
Posted: Wed Nov 06, 2002 3:18 pm Post subject: |
|
|
Two things come to mind...
Double-check your /etc/fstab file
Recompile your new kernel again, making sure that you have the ext2 and reiserfs filesystems built-in (not as modules). _________________ Is the sky really falling??? |
|
Back to top |
|
|
vorplex n00b
Joined: 29 Oct 2002 Posts: 48 Location: Pass Christian, MS.
|
Posted: Thu Nov 07, 2002 2:16 am Post subject: done that |
|
|
I made sure that the fstab was right and included support for it in the kernel, like I said I use the same kernel but I took out framebuffer support. _________________ Shop smart...shop S-mart Bruce Campbell Army of Darkness |
|
Back to top |
|
|
vorplex n00b
Joined: 29 Oct 2002 Posts: 48 Location: Pass Christian, MS.
|
Posted: Thu Nov 07, 2002 7:54 am Post subject: Kernel panic: VFS: Unable to mount root fs on 03:03 |
|
|
can not test new kernels, upon booting I get the following error:
#####Error:
NET4: Unix domain sockets 1.0/SMP for linux NET4.5
Kernel panic: VFS: Unable to mount root fs on 03:03
#####
#####my set up is :
hda1 /boot ext2
hda2 /swap swap
hda3 / reiserfs
#####
I have made sure that reiserfs and ext2 were embeded in the kernel.
I have made sure that my fstab, grub.config were right.
#####/etc/fstab:
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / reiserfs noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
#####
#####/boot/grub/grub.conf/menu.lst:
default 0
timeout 15
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage.org root=/dev/hda3 hdc=ide-scsi#working kernel#
title=Gentoo Linux Test
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3 hdc=ide-scsi#test kernel#
#####
the only thing I changed from original kernel was to disable framebuffer, add
realtime clock support(for SMP), and compile scsi generic support as a
module.Everything else has remained the same. I have tried to compile the kernel
from both vanilla-sources and gentoo-sources several times but I get the same
error everytime I try the new kernel (the old kernel boots up fine).
These are the steps I took to compile the kernel(s) from the
livecd-basic-1.4_rc1-r2 cd:
# net-setup eth0
# passwd
# mkdir /mnt/gentoo
# swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# mount -o bind /proc /mnt/gentoo/proc
# chroot .mnt/gentoo /bin/bash
# source /etc/profile
# env-update
# emerge sys-kernel/vanilla-sources or gentoo-sources (tried both)
# cd /usr/src/linux
# make menuconfig
# make dep && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
(I even tried to re-emerge sys-apps/reiserfsprogs at this point)
# etc-update
# exit
# cd /
# umount /mnt/gentoo/boot
# umount /mnt/gentoo/proc
# umount /mnt/gentoo
# reboot
#####
##### My Pc
Dual PIII 1000mhz
1024m pc133 ram
Abit Vp6 motherboard with yt bios (uses via apollo proA chipset)
IDE1 ibm hd (linux hda)
aopen dvd
IDE2 philips cdrw
highpoint raid
IDE1 maxtor hd (windows raid 0)
IDE2 maxtor hd
#####
Any idea's if I'm doing something wrong or if reiserfs and a SMP kernel
recompile don't get along? _________________ Shop smart...shop S-mart Bruce Campbell Army of Darkness |
|
Back to top |
|
|
vorplex n00b
Joined: 29 Oct 2002 Posts: 48 Location: Pass Christian, MS.
|
Posted: Thu Nov 07, 2002 2:44 pm Post subject: FIXED |
|
|
ok once again it was user error. I had taken "Include IDE/ATA-2 DISK support (CONFIG_BLK_DEV_IDEDISK)" out, for some reason I thought that was for old IDE drives. _________________ Shop smart...shop S-mart Bruce Campbell Army of Darkness |
|
Back to top |
|
|
|