Re: Kernel Config Trouble
Randy Arabie <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <Pine.LNX.4.44.0209031751130.7830-100000@voldemort> |
On 3 Sep 2002, Quinn Harris wrote:
> It is also posible that you are specifying the wrong drive and or
> partition. I would look for "Partition check:" and the lines that
> follow. Make sure that looks sane. You should be able to use
> Shift+PageUp to see this if it scrolled by.
Grub is configured the same for each of the three kernels I have, two of
which are bootable. For each, the relevant line from my menu.lst file
looks like this (with each pointing at a different bzImage file, of course):
kernel /boot/bzImage.01 root=/dev/hda3
My entire menu.lst file was/is included in my original post.
> You can pass the "rootfstype=xfs" kernel option to force it to use xfs
> vs triing all the compiled in file systems in successtion until one
> works. I would be supprised if this worked though.
I'll give that a try when I can get back in front of my console tonight.
Thanks.
--
Cheerio!
Randy
> On Mon, 2002-09-02 at 18:16, Randy Arabie wrote:
> > Hi,
> >
> > I've been trying to recompile my kernel to add some additional support.
> >
> > Unfortunately, I didn't save off my old .config file. After compiling several
> > kernels that won't boot I'm at a loss for what the problem is.
> >
> > I don't have a good record of the changes I made. I know, that's what lusers
> > do :-(
> >
> > This is the boot time error I am receiving:
> >
> > VFS: cannot open root device "hda3" or 03:03
> > Please append a correct "root=" boot option
> > Kernel panic: VFS: Unable to mount root fs on 03:03
> >
> > My working kernel has xfs support compiled in (not a module). My hda3 partition
> > is xfs. And thus, I believe my problem is with the way I have my xfs options
> > set in the kernel .config
> >
> > /etc/fstab looks like this:
> >
> > /dev/hda1 /boot ext2 noauto,noatime 1 1
> > /dev/hda3 / xfs noatime 0 0
> > /dev/hda2 none swap sw 0 0
> > proc /proc proc defaults 0 0
> >
> > My Grub menu.lst looks like this:
> >
> > default 0
> > timeout 30
> > splashimage=(hd0,0)/boot/grup/splash.xpm.gz
> >
> > #working custom kernel
> > title=2.4.19-r1-01
> > root (hd0,0)
> > kernel /boot/bzImage.01 root=/dev/hda3
> >
> > #custom kernel "in-progress"
> > title=2.4.19-r1-02
> > root (hd0,0)
> > kernel /boot/bzImage root=/dev/hda3
> >
> > #gentoo "stock" kernel
> > title=gentoo_default
> > root (hd0,0)
> > kernal /boot/bzImage.orig root=/dev/hda3
> >
> > And, last but not least, here are the ide and fs related sections
> > from my kernel .config file:
> >
> > #
> > # IDE, ATA and ATAPI Block devices
> > #
> > CONFIG_BLK_DEV_IDE=y
> > # CONFIG_BLK_DEV_HD_IDE is not set
> > # CONFIG_BLK_DEV_HD is not set
> > CONFIG_BLK_DEV_IDEDISK=m
> > # CONFIG_IDEDISK_MULTI_MODE is not set
> > # CONFIG_IDEDISK_STROKE is not set
> > # CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
> > # CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
> > # CONFIG_BLK_DEV_IDEDISK_IBM is not set
> > # CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
> > # CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
> > # CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
> > # CONFIG_BLK_DEV_IDEDISK_WD is not set
> > # CONFIG_BLK_DEV_COMMERIAL is not set
> > # CONFIG_BLK_DEV_TIVO is not set
> > # CONFIG_BLK_DEV_IDECS is not set
> > CONFIG_BLK_DEV_IDECD=y
> > # CONFIG_BLK_DEV_IDETAPE is not set
> > # CONFIG_BLK_DEV_IDEFLOPPY is not set
> > CONFIG_BLK_DEV_IDESCSI=y
> > # CONFIG_IDE_TASK_IOCTL is not set
> > CONFIG_BLK_DEV_CMD640=y
> > # CONFIG_BLK_DEV_CMD640_ENHANCED is not set
> > # CONFIG_BLK_DEV_ISAPNP is not set
> > CONFIG_BLK_DEV_RZ1000=y
> > CONFIG_BLK_DEV_IDEPCI=y
> > CONFIG_IDEPCI_SHARE_IRQ=y
> > CONFIG_BLK_DEV_IDEDMA_PCI=y
> > # CONFIG_BLK_DEV_OFFBOARD is not set
> > # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> > CONFIG_IDEDMA_PCI_AUTO=y
> > # CONFIG_IDEDMA_ONLYDISK is not set
> > CONFIG_BLK_DEV_IDEDMA=y
> > # CONFIG_IDEDMA_PCI_WIP is not set
> > # CONFIG_BLK_DEV_IDEDMA_TIMEOUT is not set
> > # CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
> > CONFIG_BLK_DEV_ADMA=y
> > # CONFIG_BLK_DEV_AEC62XX is not set
> > # CONFIG_AEC62XX_TUNING is not set
> > # CONFIG_BLK_DEV_ALI15X3 is not set
> > # CONFIG_WDC_ALI15X3 is not set
> > # CONFIG_BLK_DEV_AMD74XX is not set
> > # CONFIG_AMD74XX_OVERRIDE is not set
> > # CONFIG_BLK_DEV_CMD64X is not set
> > # CONFIG_BLK_DEV_CMD680 is not set
> > # CONFIG_BLK_DEV_CY82C693 is not set
> > # CONFIG_BLK_DEV_CS5530 is not set
> > # CONFIG_BLK_DEV_HPT34X is not set
> > # CONFIG_HPT34X_AUTODMA is not set
> > # CONFIG_BLK_DEV_HPT366 is not set
> > CONFIG_BLK_DEV_PIIX=y
> > CONFIG_PIIX_TUNING=y
> > # CONFIG_BLK_DEV_NS87415 is not set
> > # CONFIG_BLK_DEV_OPTI621 is not set
> > # CONFIG_BLK_DEV_PDC_ADMA is not set
> > # CONFIG_BLK_DEV_PDC202XX is not set
> > # CONFIG_PDC202XX_BURST is not set
> > # CONFIG_PDC202XX_FORCE is not set
> > # CONFIG_BLK_DEV_SVWKS is not set
> > # CONFIG_BLK_DEV_SIS5513 is not set
> > # CONFIG_BLK_DEV_SLC90E66 is not set
> > # CONFIG_BLK_DEV_TRM290 is not set
> > # CONFIG_BLK_DEV_VIA82CXXX is not set
> > # CONFIG_IDE_CHIPSETS is not set
> > # CONFIG_BLK_DEV_ELEVATOR_NOOP is not set
> > CONFIG_IDEDMA_AUTO=y
> > # CONFIG_IDEDMA_IVB is not set
> > # CONFIG_DMA_NONPCI is not set
> > CONFIG_BLK_DEV_IDE_MODES=y
> > CONFIG_BLK_DEV_ATARAID=m
> > # CONFIG_BLK_DEV_ATARAID_PDC is not set
> > # CONFIG_BLK_DEV_ATARAID_HPT is not set
> >
> > #
> > # File systems
> > #
> > # CONFIG_FS_POSIX_ACL is not set
> > # CONFIG_QUOTA is not set
> > # CONFIG_QFMT_V1 is not set
> > # CONFIG_QFMT_V2 is not set
> > # CONFIG_QIFACE_COMPAT is not set
> > # CONFIG_AUTOFS_FS is not set
> > CONFIG_AUTOFS4_FS=m
> > # CONFIG_REISERFS_FS is not set
> > # CONFIG_REISERFS_CHECK is not set
> > # CONFIG_REISERFS_PROC_INFO is not set
> > # CONFIG_ADFS_FS is not set
> > # CONFIG_ADFS_FS_RW is not set
> > # CONFIG_AFFS_FS is not set
> > # CONFIG_HFS_FS is not set
> > # CONFIG_BFS_FS is not set
> > CONFIG_EXT3_FS=m
> > CONFIG_JBD=m
> > # CONFIG_JBD_DEBUG is not set
> > CONFIG_FAT_FS=m
> > CONFIG_MSDOS_FS=m
> > # CONFIG_UMSDOS_FS is not set
> > CONFIG_VFAT_FS=m
> > # CONFIG_EFS_FS is not set
> > # CONFIG_JFFS_FS is not set
> > # CONFIG_JFFS2_FS is not set
> > # CONFIG_CRAMFS is not set
> > CONFIG_TMPFS=y
> > # CONFIG_RAMFS is not set
> > CONFIG_ISO9660_FS=m
> > # CONFIG_JOLIET is not set
> > # CONFIG_ZISOFS is not set
> > CONFIG_JFS_FS=m
> > # CONFIG_JFS_DEBUG is not set
> > # CONFIG_JFS_STATISTICS is not set
> > # CONFIG_MINIX_FS is not set
> > # CONFIG_VXFS_FS is not set
> > CONFIG_NTFS_FS=m
> > # CONFIG_NTFS_RW is not set
> > # CONFIG_HPFS_FS is not set
> > CONFIG_PROC_FS=y
> > CONFIG_DEVFS_FS=y
> > CONFIG_DEVFS_MOUNT=y
> > # CONFIG_DEVFS_DEBUG is not set
> > CONFIG_DEVPTS_FS=y
> > # CONFIG_QNX4FS_FS is not set
> > # CONFIG_QNX4FS_RW is not set
> > # CONFIG_ROMFS_FS is not set
> > CONFIG_EXT2_FS=m
> > # CONFIG_SYSV_FS is not set
> > # CONFIG_UDF_FS is not set
> > # CONFIG_UDF_RW is not set
> > # CONFIG_UFS_FS is not set
> > # CONFIG_UFS_FS_WRITE is not set
> > CONFIG_XFS_FS=y
> > CONFIG_XFS_RT=y
> > CONFIG_XFS_QUOTA=y
> > CONFIG_XFS_DMAPI=y
> > CONFIG_HAVE_XFS_DMAPI=y
> >
> > Thanks if you've stuck with me through all that! Now, can you help me?
> >
> > TIA
> > --
> > Cheerio!
> >
> > Randy
> >
> > _______________________________________________
> > gentoo-newbies mailing list
> > [email protected]
> > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies