From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 14:49:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142DD16A417 for ; Mon, 11 Sep 2006 14:49:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 319B643D72 for ; Mon, 11 Sep 2006 14:49:49 +0000 (GMT) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1GMn6R-0004Hs-JB for freebsd-questions@freebsd.org; Mon, 11 Sep 2006 15:49:47 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by isis.bris.ac.uk with esmtp (Exim 4.60) (envelope-from ) id 1GMn59-0002cB-Mj for freebsd-questions@freebsd.org; Mon, 11 Sep 2006 15:48:23 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.13.4/8.13.4) with ESMTP id k8BElxr2000952 for ; Mon, 11 Sep 2006 15:47:59 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from shterenl@localhost) by mech-aslap33.men.bris.ac.uk (8.13.4/8.13.4/Submit) id k8BElx05000951 for freebsd-questions@freebsd.org; Mon, 11 Sep 2006 15:47:59 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: shterenl set sender to mexas@bristol.ac.uk using -f Date: Mon, 11 Sep 2006 15:47:59 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20060911144758.GA844@mech-aslap33.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Spam-Score: -0.7 X-Spam-Level: / Subject: device vt causes boot freeze X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 14:49:58 -0000 I installed a custom kernel with vt console driver enabled. I also enabled vt in /boot/device.hints. Now my boot process freezes just after the countdown finishes. The hard drive busy indicator is always on. If I disable vt and enable sc at the boot loader prompt (set hint.vt.0.disabled="1", unset hint.sc.0.disabled) then I can boot fine with sc. I did not encounter any problems during building or install. Am I missing something in the kernel configuration file? Am I using /boot/device.hints properly? Can I enable both sc and vt in device.hints? thanks anton The details: %uname -imprs FreeBSD 6.0-RELEASE i386 i386 TRY %cat /usr/src/sys/i386/conf/TRY machine i386 cpu I686_CPU ident TRY # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols 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 MD_ROOT # MD is a potential root device options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device cd # CD #device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver device vt options XSERVER # support for X server on a vt console options FAT_CURSOR # start with block cursor # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device rl # RealTek 8129/8139 # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device umass # Disks/Mass storage - Requires scbus and da %cat /boot/device.hints hint.acpi.0.disabled="1" # hint.fdc.0.at="isa" hint.fdc.0.port="0x3F0" hint.fdc.0.irq="6" hint.fdc.0.drq="2" hint.fd.0.at="fdc0" hint.fd.0.drive="0" hint.fd.1.at="fdc0" hint.fd.1.drive="1" hint.ata.0.at="isa" hint.ata.0.port="0x1F0" hint.ata.0.irq="14" hint.ata.1.at="isa" hint.ata.1.port="0x170" hint.ata.1.irq="15" hint.atkbdc.0.at="isa" hint.atkbdc.0.port="0x060" hint.atkbd.0.at="atkbdc" hint.atkbd.0.irq="1" hint.psm.0.at="atkbdc" hint.psm.0.irq="12" hint.vga.0.at="isa" hint.sc.0.at="isa" hint.sc.0.flags="0x100" hint.vt.0.at="isa" # hint.sc.0.disabled="1" #hint.vt.0.disabled="1" # hint.apm.0.disabled="1" hint.apm.0.flags="0x20" hint.sio.0.at="isa" hint.sio.0.port="0x3F8" hint.sio.0.flags="0x10" hint.sio.0.irq="4" hint.sio.1.at="isa" hint.sio.1.port="0x2F8" hint.sio.1.irq="3" hint.sio.2.at="isa" hint.sio.2.disabled="1" hint.sio.2.port="0x3E8" hint.sio.2.irq="5" hint.sio.3.at="isa" hint.sio.3.disabled="1" hint.sio.3.port="0x2E8" hint.sio.3.irq="9" hint.ppc.0.at="isa" hint.ppc.0.irq="7" # # I also commented all disabled SCSI cards which are not even built into TRY # hint.adv.0.at="isa" # hint.adv.0.disabled="1" # hint.bt.0.at="isa" # hint.bt.0.disabled="1" # hint.aha.0.at="isa" # hint.aha.0.disabled="1" # hint.aic.0.at="isa" # hint.aic.0.disabled="1" # # I also commented all disabled network cards which are not even built into TRY # hint.ed.0.at="isa" # hint.ed.0.disabled="1" # hint.ed.0.port="0x280" # hint.ed.0.irq="10" # hint.ed.0.maddr="0xd8000" # hint.cs.0.at="isa" # hint.cs.0.disabled="1" # hint.cs.0.port="0x300" # hint.sn.0.at="isa" # hint.sn.0.disabled="1" # hint.sn.0.port="0x300" # hint.sn.0.irq="10" # hint.ie.0.at="isa" # hint.ie.0.disabled="1" # hint.ie.0.port="0x300" # hint.ie.0.irq="10" # hint.ie.0.maddr="0xd0000" # hint.fe.0.at="isa" # hint.fe.0.disabled="1" # hint.fe.0.port="0x300" # hint.lnc.0.at="isa" # hint.lnc.0.disabled="1" # hint.lnc.0.port="0x280" # hint.lnc.0.irq="10" # hint.lnc.0.drq="0" -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423