On 2017-05-14 14:33, Mark Kettenis wrote:
Date: Sun, 14 May 2017 14:15:10 -0400
From: Patrick YU <patric...@yhk.name>

After a fresh installation on a Olinuxino A10 board, some devices under
/dev isn't configured as in boot-up message, when they're there.  Any
advice what I can do next ?

# ls -l pf* k*
crw-------  1 root  wheel    6,   0 May 14 09:47 klog
crw-r-----  1 root  kmem     2,   1 May 14 09:47 kmem
crw-r-----  1 root  kmem     8,   0 May 14 09:47 ksyms
crw-------  1 root  wheel   46,   0 May 14 09:47 pf
...

You cut off all the important information.

Thank you !  Following is the full boot-up message.

-- Patrick
U-Boot SPL 2017.03 (Apr 03 2017 - 11:14:00)
DRAM: 512 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2017.03 (Apr 03 2017 - 11:14:00 -0600) Allwinner Technology

CPU:   Allwinner A10 (SUN4I)
Model: Olimex A10-OLinuXino-LIME
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SCSI:  Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c0b000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
64684 bytes read in 40 ms (1.5 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 42000000 ...
Scanning disks on scsi...
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 6 disks
OpenBSD/armv7 BOOTARM 0.5
boot> b -a
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:/bsd: 2151556+7983908+438824 [80+301248+143324]=0xa84fd4

OpenBSD/armv7 booting ...
arg0 0xc0d84fd4 arg1 0x0 arg2 0x48000000
Allocating page tables
freestart = 0x40d85000, free_pages = 127611 (0x0001f27b)
IRQ stack: p0x40db3000 v0xc0db3000
ABT stack: p0x40db4000 v0xc0db4000
UND stack: p0x40db5000 v0xc0db5000
SVC stack: p0x40db6000 v0xc0db6000
Creating L1 page table at 0x40d88000
Mapping kernel
Constructing L2 page tables
undefined page pmap board type: 0
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved. Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org

OpenBSD 6.1 (RAMDISK) #81: Sat Apr  1 19:47:29 MDT 2017
    dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 536870912 (512MB)
avail mem = 512086016 (488MB)
mainbus0 at root: Olimex A10-OLinuXino-LIME
cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
sxiccmu0 at mainbus0
simplebus0 at mainbus0: "soc"
sxipio0 at simplebus0: 175 pins
sxitimer0 at simplebus0: cntrtimer @ 24000KHz
sxie0 at simplebus0, address 02:d7:09:43:1d:57
rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
ehci0 at simplebus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
sxiahci0 at simplebus0: AHCI 1.1
sxiahci0: port 0: 3.0Gb/s
scsibus0 at sxiahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, TOSHIBA MQ01ABD1, AX00> SCSI3 0/direct fixed naa.5000039514a065a8
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
ehci1 at simplebus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
sxiintc0 at simplebus0
sxidog0 at simplebus0
sxirtc0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
gpio0 at sxipio0: 32 pins
gpio1 at sxipio0: 32 pins
gpio2 at sxipio0: 32 pins
gpio3 at sxipio0: 32 pins
gpio4 at sxipio0: 32 pins
gpio5 at sxipio0: 32 pins
gpio6 at sxipio0: 32 pins
gpio7 at sxipio0: 32 pins
gpio8 at sxipio0: 32 pins
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Sandisk, SA08G, 0021> SCSI2 0/direct removable
sd1: 7420MB, 512 bytes/sector, 15196160 sectors
axe0 at uhub1 port 1 configuration 1 interface 0 "ASIX Electronics AX88772B" rev 2.00/0.01 addr 2
axe0: AX88772B, address 00:00:00:00:00:01
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI 0x000ec6, model 0x0008
boot device: sd0
root device (default sd0a):
swap device (default sd0b):
root on sd0a swap on sd0b dump on sd0b
WARNING: preposterous time in file system
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/sd0a (71a8349696b934eb.a): file system is clean; not checking
/dev/sd0m (71a8349696b934eb.m): file system is clean; not checking
/dev/sd0d (71a8349696b934eb.d): file system is clean; not checking
/dev/sd0f (71a8349696b934eb.f): file system is clean; not checking
/dev/sd0g (71a8349696b934eb.g): file system is clean; not checking
/dev/sd0h (71a8349696b934eb.h): file system is clean; not checking
/dev/sd0l (71a8349696b934eb.l): file system is clean; not checking
/dev/sd0k (71a8349696b934eb.k): file system is clean; not checking
/dev/sd0e (71a8349696b934eb.e): file system is clean; not checking
setting tty flags
pfctl: /dev/pf: Device not configured
pfctl: /dev/pf: Device not configured
starting network
ifconfig: SIOCSIFGATTR: No such file or directory
pfctl: /dev/pf: Device not configured
reordering libraries: done.
starting early daemons: syslogd(failed) pflogd(failed).
starting RPC daemons:.
savecore: can't find device 20/14778624
checking quotas: done.
kvm_mkdb: can't open /dev/ksyms
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd(failed) smtpd(failed) sndiod(failed).
ifconfig: SIOCSIFGATTR: No such file or directory
starting local daemons: cron(failed).
Mon Dec 23 17:02:49 MST 2002

OpenBSD/armv7 (example.com) (console)

login:

Reply via email to