5.3-BETA5: init error on boot (/dev/console not configured?)

From: Sven Hazejager <sven-freebsd_at_hazejager.nl>
Date: Sun, 26 Sep 2004 18:43:56 +0200 (CEST)
Hi all,

After upgrading my 5.3-BETA4 to 5.3-BETA5, I am unable to boot the new
kernel in either single-user or multi-user mode. After mounting the root
fs, init bombs out with the following error:

init: can't get /dev/console for controlling terminal: Device not configured

And the boot stops, but the system doesn't hang. CTRL-ALT-DEL does a clean
reboot.

Any suggestion? Below is my system config.

Regards,

Sven Hazejager


*** /etc/make.conf ***

# -- use.perl generated deltas -- #
# Created: Sat Jan 31 22:25:37 2004
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
CPUTYPE=athlon
#CFLAGS=-O2 -pipe
COMPAT3X=yes
COMPAT4X=yes
NO_MODULES=true
MODULES_WITH_WORLD=true

*** /boot/loader.conf ***

vesa_load="YES"
sound_load="YES"
snd_via8233_load="YES"
io_load="YES"
mem_load="YES"
nfsclient_load="YES"
nfsserver_load="YES"
sysvmsg_load="YES"
sysvsem_load="YES"
sysvshm_load="YES"
agp_load="YES"
apm_load="YES"
apm_saver_load="YES"
miibus_load="YES"
if_xl_load="YES"
random_load="YES"
fdc_load="YES"

*** dmesg output ***

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA4 #0: Sun Sep 12 16:30:55 CEST 2004
    sven_at_spitfire.chain.loc:/usr/obj/usr/src/sys/SPITFIRE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP (1867.51-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x680  Stepping = 0
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 515629056 (491 MB)
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
acpi link get: empty IRQ resource
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xd000-0xd07f mem
0xe3000000-0xe300007f irq 15 at device 10.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:ab:b5:88
ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0xd400-0xd4ff mem
0xe3001000-0xe3001fff irq 15 at device 12.0 on pci0
ahc0: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0xd800-0xd8ff mem
0xe3002000-0xe3002fff irq 11 at device 12.1 on pci0
ahc1: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pci0: <serial bus, USB> at device 16.0 (no driver attached)
pci0: <serial bus, USB> at device 16.1 (no driver attached)
pci0: <serial bus, USB> at device 16.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcm0: <VIA VT8235> port 0xe800-0xe8ff irq 15 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC650 AC97 Codec>
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd07ff,0xc0000-0xccfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1867514752 Hz quality 800
Timecounters tick every 4.000 msec
WARNING: apm_saver module requires apm enabled
Waiting 5 seconds for SCSI devices to settle
da1 at ahc1 bus 0 target 0 lun 0
da1: <QUANTUM ATLAS10K3_36_WLS 020W> Fixed Direct Access SCSI-3 device
da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing
Enabled
da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <PLEXTOR CD-R   PX-R412C 1.07> Removable CD-ROM SCSI-2 device
cd1: 10.000MB/s transfers (10.000MHz, offset 8)
cd1: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 2 lun 0
da0: <IOMEGA ZIP 100 E.08> Removable Direct Access SCSI-2 device
da0: 3.300MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <TOSHIBA DVD-ROM SD-M1401 1008> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: cd present [358668 x 2048 byte records]
(da0:ahc0:0:2:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ahc0:0:2:0): CAM Status: SCSI Status Error
(da0:ahc0:0:2:0): SCSI Status: Check Condition
(da0:ahc0:0:2:0): NOT READY asc:3a,0
(da0:ahc0:0:2:0): Medium not present
(da0:ahc0:0:2:0): Unretryable error
Opened disk da0 -> 6
(da0:ahc0:0:2:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ahc0:0:2:0): CAM Status: SCSI Status Error
(da0:ahc0:0:2:0): SCSI Status: Check Condition
(da0:ahc0:0:2:0): NOT READY asc:3a,0
(da0:ahc0:0:2:0): Medium not present
(da0:ahc0:0:2:0): Unretryable error
Opened disk da0 -> 6
(da0:ahc0:0:2:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ahc0:0:2:0): CAM Status: SCSI Status Error
(da0:ahc0:0:2:0): SCSI Status: Check Condition
(da0:ahc0:0:2:0): NOT READY asc:3a,0
(da0:ahc0:0:2:0): Medium not present
(da0:ahc0:0:2:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/da1s2a
*** This is where 5.3-BETA5 fails with the init error ***
uhci0: <VIA 83C572 USB controller> port 0xdc00-0xdc1f at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe400-0xe41f at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

*** kernel config ***

machine		i386
cpu		I686_CPU
ident		SPITFIRE

options 	SCHED_4BSD		#4BSD scheduler
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 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
#options 	NFSSERVER		# Network Filesystem Server
#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
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 	SCSI_DELAY=5000	#Delay (in ms) before probing SCSI

options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
options		HZ=250

device		isa
device		pci

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
#device		ch		# SCSI media changers
device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
device		cd		# CD
#device		pass		# Passthrough device (direct SCSI access)
#device		ses		# SCSI Environmental Services (and SAF-TE)

# 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

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

# Floating point support - do not disable.
device		npx

# Add suspend/resume support for the i8254.
device		pmtimer

# 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
#device		vpo		# Requires scbus and da

# Pseudo devices - the number indicates how many units to allocate.
device		loop		# Network loopback
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!
device		bpf		# Berkeley packet filter

options		SC_PIXEL_MODE
Received on Sun Sep 26 2004 - 14:43:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC