Re: FBSD 8: custom kernel config ends boot at "mountroot>". Plz. help!
On Mon, 20 Dec 2010, Frank Shute wrote: If you're going to use a custom kernel, copy GENERIC, edit it and save it as your kernel conf. Then when you run into trouble with your custom kernel you can post a diff(1) between it and GENERIC. Then it's easy to see what you've enabled/disabled, left-out etc. Another option is to "include GENERIC" in the new config file and use nooptions and nodevice to exclude unwanted things. Then the config file is a diff. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FBSD 8: custom kernel config ends boot at "mountroot>". Plz. help!
On Sun, Dec 19, 2010 at 05:11:58AM -0800, Rob wrote: > > > Hi, > > My system boots fine with the GENERIC kernel on FreeBSD 8.0 > > I made a custom kernel, but the boot process then ends with the > > mountroot> > > error and prompt. > > Apparently something is wrong with my kernel config file. > > Can somebody check it below and tell me what is wrong with my kernel config > file? Especially the GEOM_PART_* at the end might be the culprit, although > this > configuration used to work for 7.3. > > Thank you! > > Rob. > > # My kernel config file: > cpuI686_CPU > identMYKERNEL > options SCHED_ULE# ULE scheduler > options PREEMPTION# Enable kernel thread preemption > options INET# InterNETworking > options INET6# IPv6 communications protocols > options SCTP# Stream Control Transmission Protocol > options FFS# Berkeley Fast Filesystem > options SOFTUPDATES# Enable FFS soft updates support > options UFS_ACL# Support for access control lists > options UFS_DIRHASH# Improve performance on big directories > options COMPAT_FREEBSD7# Compatible with FreeBSD7 > options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions > options KBD_INSTALL_CDEV# install a CDEV entry in /dev > devicepci > deviceata > deviceatadisk# ATA disk drives > options ATA_STATIC_ID# Static device numbering > devicescbus# SCSI bus (required for SCSI) > deviceda# Direct Access (disks) > devicepass# Passthrough device (direct SCSI access) > deviceatkbdc# AT keyboard controller > deviceatkbd# AT keyboard > devicepsm# PS/2 mouse > devicevga# VGA video card driver > devicesplash# Splash screen and screen saver support > devicesc > devicepmtimer > deviceloop# Network loopback > deviceether# Ethernet support > devicepty# BSD-style compatibility pseudo ttys > devicemd# Memory "disks" > devicebpf# Berkeley packet filter > options SC_DISABLE_REBOOT > options DEVICE_POLLING > options HZ=1000 > nodevice mem > nodevice io > nodevice uart_ns8250 > nooptions GEOM_PART_BSD > nooptions GEOM_PART_EBR > nooptions GEOM_PART_EBR_COMPAT > nooptions GEOM_PART_MBR > Rob, If you're going to use a custom kernel, copy GENERIC, edit it and save it as your kernel conf. Then when you run into trouble with your custom kernel you can post a diff(1) between it and GENERIC. Then it's easy to see what you've enabled/disabled, left-out etc. As it stands, it takes too much time for people to compare your custom kernel with GENERIC. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FBSD 8: custom kernel config ends boot at "mountroot>". Plz. help!
Rob wrote: > My system boots fine with the GENERIC kernel on FreeBSD 8.0 > I made a custom kernel, but the boot process then ends with the > mountroot> > error and prompt. One thing to try is entering ? there, to produce a list of recognized filesystems. Comparing that list with what you expected might provide a clue. Another possibility would be to compare the dmesg from your kernel with the one from GENERIC. > Apparently something is wrong with my kernel config file. > > Can somebody check it below and tell me what is wrong with my > kernel config file? Especially the GEOM_PART_* at the end might > be the culprit, although this configuration used to work for 7.3. Supposing the disk is partitioned with GPT (not with MBR/BSD, which you appear to be excluding) I see nothing blatantly obvious, but I am far from an expert in such matters. It might be worthwhile to check UPDATING to see if anything rings a bell, and/or compare your config file with the GENERIC one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
FBSD 8: custom kernel config ends boot at "mountroot>". Plz. help!
Hi, My system boots fine with the GENERIC kernel on FreeBSD 8.0 I made a custom kernel, but the boot process then ends with the mountroot> error and prompt. Apparently something is wrong with my kernel config file. Can somebody check it below and tell me what is wrong with my kernel config file? Especially the GEOM_PART_* at the end might be the culprit, although this configuration used to work for 7.3. Thank you! Rob. # My kernel config file: cpuI686_CPU identMYKERNEL options SCHED_ULE# ULE scheduler options PREEMPTION# Enable kernel thread preemption options INET# InterNETworking options INET6# IPv6 communications protocols options SCTP# Stream Control Transmission Protocol options FFS# Berkeley Fast Filesystem options SOFTUPDATES# Enable FFS soft updates support options UFS_ACL# Support for access control lists options UFS_DIRHASH# Improve performance on big directories options COMPAT_FREEBSD7# Compatible with FreeBSD7 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev devicepci deviceata deviceatadisk# ATA disk drives options ATA_STATIC_ID# Static device numbering devicescbus# SCSI bus (required for SCSI) deviceda# Direct Access (disks) devicepass# Passthrough device (direct SCSI access) deviceatkbdc# AT keyboard controller deviceatkbd# AT keyboard devicepsm# PS/2 mouse devicevga# VGA video card driver devicesplash# Splash screen and screen saver support devicesc devicepmtimer deviceloop# Network loopback deviceether# Ethernet support devicepty# BSD-style compatibility pseudo ttys devicemd# Memory "disks" devicebpf# Berkeley packet filter options SC_DISABLE_REBOOT options DEVICE_POLLING options HZ=1000 nodevice mem nodevice io nodevice uart_ns8250 nooptions GEOM_PART_BSD nooptions GEOM_PART_EBR nooptions GEOM_PART_EBR_COMPAT nooptions GEOM_PART_MBR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"