tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Boot with no working console?



Hello,

I have an PC Engines APU1C that I've been trying to boot into NetBSD. The problem is that it has no frame buffer hardware at all, and the serial ports, as far as I can tell, don't work (either with the bootloader or with the kernel, though BIOS interaction works well enough on com0).

I've booted it through DHCP/TFTP and hacked init(8) to dump dmesg to a file before it bails; the dmesg is included below. init(8) fails with ENXIO at init.c line 631.

My question is, suppose that there will never be a working console device for this box. If everything else works, I don't care about the console---I don't really need it. Is there a way to tell NetBSD "there is no console, deal with it"? (The logic in sys/arch/x86/consinit.c leads me to believe that there is not.) If not, what's the best way to go about building a null console device that I could redirect /dev/console to, that might allow init(8) to boot multi-user?

Thanks,

--
-----------------------------------------------------------------------
Konrad Schroder              Box 352143 -or- 215 Fluke Hall, Mason Road
Developer and System Administrator             University of Washington
College of Engineering                          Seattle, WA, 98195, USA

--
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.41 (GENERIC) #0: Thu May 15 11:21:23 PDT 2014

root%watchtower.coral.washington.edu@localhost:/var/src-current/sys/arch/i386/compile/obj/GENERIC
total memory = 2016 MB
avail memory = 1967 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
PC Engines APU (1.0)
mainbus0 (root)
ACPI: RSDP 0xf2590 000014 (v00 CORE  )
ACPI: RSDT 0x7e162424 000044 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: FACP 0x7e164ce8 0000F4 (v04 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: DSDT 0x7e1624c8 0027DA (v02 PCENG  COREBOOT 00010001 INTL 20121114)
ACPI: FACS 0x7e164ca8 000040
ACPI: SPCR 0x7e164ddc 000050 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: HPET 0x7e164e30 000038 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: APIC 0x7e164e68 00005C (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: HEST 0x7e164ec8 000198 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: SSDT 0x7e165060 00168E (v02    AMD     ALIB 00000001 MSFT 04000000)
ACPI: SSDT 0x7e1666f0 00030C (v01 AMD    POWERNOW 00000001 AMD  00000001)
ACPI: SSDT 0x7e166a00 000045 (v02 CORE   COREBOOT 0000002A CORE 0000002A)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0: AMD G-T40E Processor, id 0x500f20
cpu1 at mainbus0 apid 1: AMD G-T40E Processor, id 0x500f20
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <CORE  ,COREBOOT,00000000>, AslId <CORE,00000000>
mpacpi: PCI bus 4 int routing already done!
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
COPR (PNP0C04) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 6 GPEs in block 00 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x1022 product 0x1510 (rev. 0x00)
ppb0 at pci0 dev 4 function 0: vendor 0x1022 product 0x1512 (rev. 0x00)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb0: link is x1 @ 2.5Gb/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re0: interrupting at ioapic0 pin 16
re0: Ethernet address 00:0d:b9:32:f9:28
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb1 at pci0 dev 5 function 0: vendor 0x1022 product 0x1513 (rev. 0x00)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb1: link is x1 @ 2.5Gb/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
re1 at pci2 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re1: interrupting at ioapic0 pin 17
re1: Ethernet address 00:0d:b9:32:f9:29
re1: using 256 tx descriptors
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 6 function 0: vendor 0x1022 product 0x1514 (rev. 0x00)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb2: link is x1 @ 2.5Gb/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
re2 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re2: interrupting at ioapic0 pin 18
re2: Ethernet address 00:0d:b9:32:f9:2a
re2: using 256 tx descriptors
rgephy2 at re2 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto ahcisata0 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391 (rev. 0x40)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: AHCI revision 1.20, 6 ports, 32 slots, CAP 0xf332ff05<PSC,SSC,PMD,SPM,ISS=0x3=Gen3,SCLO,SAL,SMPS,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
atabus4 at ahcisata0 channel 4
atabus5 at ahcisata0 channel 5
ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 18
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controller, 5 ports each: ohci0
usb1 at ehci0: USB revision 2.0
ohci1 at pci0 dev 19 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 18
ohci1: OHCI version 1.0, legacy support
usb2 at ohci1: USB revision 1.0
ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci1: interrupting at ioapic0 pin 17
ehci1: dropped intr workaround enabled
ehci1: EHCI version 1.0
ehci1: companion controller, 5 ports each: ohci1
usb3 at ehci1: USB revision 2.0
piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4385 (rev. 0x42)
piixpm0: polling (SB800)
iic0 at piixpm0: I2C bus
iic1 at piixpm0: I2C bus
iic2 at piixpm0: I2C bus
iic3 at piixpm0: I2C bus
pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x439d (rev. 0x40)
ppb3 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x40)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
ohci2 at pci0 dev 20 function 5: vendor 0x1002 product 0x4399 (rev. 0x00)
ohci2: interrupting at ioapic0 pin 18
ohci2: OHCI version 1.0, legacy support
usb4 at ohci2: USB revision 1.0
ppb4 at pci0 dev 21 function 0: vendor 0x1002 product 0x43a0 (rev. 0x00)
ppb4: PCI Express 2.0 <Root Port of PCI-E Root Complex> x4 @ 2.5Gb/s
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
ohci3 at pci0 dev 22 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci3: interrupting at ioapic0 pin 18
ohci3: OHCI version 1.0, legacy support
usb5 at ohci3: USB revision 1.0
ehci2 at pci0 dev 22 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci2: interrupting at ioapic0 pin 17
ehci2: dropped intr workaround enabled
ehci2: EHCI version 1.0
ehci2: companion controller, 4 ports each: ohci3
usb6 at ehci2: USB revision 2.0
pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1700 (rev. 0x43)
pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1701 (rev. 0x00)
pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1702 (rev. 0x00)
amdnb_misc0 at pci0 dev 24 function 3: AMD NB Misc Configuration
amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family14h)
pchb4 at pci0 dev 24 function 4: vendor 0x1022 product 0x1704 (rev. 0x00)
pchb5 at pci0 dev 24 function 5: vendor 0x1022 product 0x1718 (rev. 0x00)
pchb6 at pci0 dev 24 function 6: vendor 0x1022 product 0x1716 (rev. 0x00)
pchb7 at pci0 dev 24 function 7: vendor 0x1022 product 0x1719 (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
isapnp0 at isa0 port 0x279
isapnp0: no ISA Plug 'n Play devices found
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu0: C2: I/O, lat 100 us, pow     0 mW
acpicpu0: P0: FFH, lat   1 us, pow  1579 mW, 1000 MHz
acpicpu0: P1: FFH, lat   1 us, pow  1310 mW,  800 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1000518950 Hz quality 3000
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 5 ports with 5 removable, self powered
uhub1 at usb1: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 5 ports with 5 removable, self powered
uhub2 at usb2: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
uhub3 at usb3: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 5 ports with 5 removable, self powered
uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhub5 at usb5: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 4 ports with 4 removable, self powered
uhub6 at usb6: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 4 ports with 4 removable, self powered
ahcisata0 port 0: device present, speed: 6.0Gb/s
wd0 at atabus0 drive 0
wd0: <SanDisk SD6SF1M032G1022>
wd0: drive supports 1-sector PIO transfers, LBA48 addressing
wd0: 30533 MB, 62037 cyl, 16 head, 63 sec, 512 bytes/sect x 62533296 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
umass0 at uhub6 port 1 configuration 1 interface 0
umass0: Generic Flash Card Reader/Writer, rev 2.01/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Multiple, Card Reader, 1.00> disk removable
sd0: drive offline
Kernelized RAIDframe activated
boot device: re0
root on re0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: xx.xx.xx.xx
nfs_boot: my_domain=coral.washington.edu
nfs_boot: my_addr=xx.xx.xx.xx
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=xx.xx.xx.xx
root on xx.xx.xx.xx:/var/tftpboot/root/bootstrap
root file system type: nfs
WARNING: clock lost 43 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!


Home | Main Index | Thread Index | Old Index