[Letux-kernel] Raspi3B+ support in Letux Kernel

H. Nikolaus Schaller hns at goldelico.com
Thu Jan 10 12:05:22 CET 2019


Hi,
breakthrough!

> Am 09.01.2019 um 10:54 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> 
>> Am 09.01.2019 um 10:21 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>> 
>> Hi,
>> 
>>> Am 08.01.2019 um 21:59 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>>> 
>>> Hi all,
>>> 
>>> With that I now get a __symbols__ section in the DTB. But there
>>> is no __overrides__. Strange, how that is generated from the github
>>> tree. Maybe it is explicitly in some .dtsi there?
>> 
>> I have now done a couple of additional tests (on Udoo neo with SD card reader):
>> 
>> First test:
>> 
>> 	dtc -s -I dtb -O dts /media/letux/boot/bcm2710-rpi-3-b-plus.dtb >bcm2710.dts
>> 	dtc -s -I dts -O dtb bcm2710.dts >/media/letux/boot/bcm2710-rpi-3-b-plus.dtb
>> 	dtc -s -I dtb -O dts /media/letux/boot/bcm2710-rpi-3-b-plus.dtb >bcm2710-2.dts
>> 	diff bcm2710.dts bcm2710-2.dts
>> 	-> no diffs
>> 
>> This shows that the non-kernel dtc does not loose any information.
>> 
>> And: this dtb boots!
>> 
>> Next test:
>> 
>> 	vi bcm2710.dts
>> 		remove the __overrides__ section
>> 	dtc -s -I dts -O dtb bcm2710.dts >/media/letux/boot/bcm2710-rpi-3-b-plus.dtb
>> 
>> This dtb still boots which means the __overrides__ section is not important.
>> 
>> 3rd test:
>> 
>> 	vi bcm2710.dts
>> 		remove the __symbols__ section
>> 	dtc -s -I dts -O dtb bcm2710.dts >/media/letux/boot/bcm2710-rpi-3-b-plus.dtb
>> 
>> Now ... this also boots!
>> 
>> Which means that a missing -@ is not the problem...
>> 
>> So it must be a detail in the upstream dts sources itself. Maybe a missing pinmux for the UART?
>> Or a differently set clock or power supply? Or the swapped uart numbers/names/aliases.
>> 
>> I still wonder how the upstream developers of Raspi patches do boot on their devices...
> 
> Maybe studying https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=f08f58a2bf689
> gives more insights...

I had reported that with my self-compiled DTB the gree led is sometimes blinking
twice and again twice. This did not match any description of the bootloader blinking
patterns...

Well, after studying the disassembled .dts I recognised that it is the heartbeat pattern
run by the kernel! Which means the kernel *is* booting and actively blinking the LEDs.

And what I have done is to copy over all aliases and chosen records from the working
2710.dts to the 2837.dts.

Now I just have to wail 10 seconds or so until the console starts (which means that
earlycon is broken!). And I have to wait even longer but finally I get a login:

It shows:
* USB is working :)
* hciconfig reports some Bluetooth :)
* but it is not working :(
* Ethernet is not working :(
* WLAN is not working :(
* there are some Audio devices :)

Anyways this is now a very good starting point to find out what alias is missing
and later make the earlycon work. So it not far from that we can support the Raspi
fully from LetuxOS kernel and rootfs. And through makesd.

BR,
Nikolaus


Linux on physical CPU 0x0
[    0.000000] Linux version 5.0.0-rc1-letux-raspi+ (hns at iMac.fritz.box) (gcc version 4.9.2 (GCC)) #3182 SMP PREEMPT Tue Jan 8 18:29:29 CET 2019
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[    0.000000] printk: debug: ignoring loglevel setting.
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Failed to reserve 256 MiB
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 46080 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0x80/0x46c with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s40704 r8192 d20736 u69632
[    0.000000] pcpu-alloc: s40704 r8192 d20736 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 241152
[    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 elevator=deadline cma=256M at 512M fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait log_buf_len=8M ignore_loglevel earlyprintk
[    0.000000] printk: log_buf_len: 8388608 bytes
[    0.000000] printk: early log buf free: 63712(97%)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 941460K/970752K available (7130K kernel code, 694K rwdata, 1920K rodata, 1024K init, 354K bss, 29292K reserved, 0K cma-reserved, 184320K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (8123 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 695 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 355 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000010] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000032] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000087] bcm2835: system timer (irq = 27)
[    0.000448] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000466] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000485] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000500] Switching to timer-based delay loop, resolution 52ns
[    0.001034] Console: colour dummy device 80x30
[    0.001075] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)

[    0.001092] pid_max: default: 32768 minimum: 301
[    0.001268] LSM: Security Framework initializing
[    0.001357] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001374] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002110] CPU: Testing write buffer coherency: ok
[    0.002468] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060545] Setting up static identity map for 0x100000 - 0x100060
[    0.080534] rcu: Hierarchical SRCU implementation.
[    0.120597] smp: Bringing up secondary CPUs ...
[    0.201193] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.281233] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.361334] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.361447] smp: Brought up 1 node, 4 CPUs
[    0.361471] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.361479] CPU: All CPU(s) started in HYP mode.
[    0.361486] CPU: Virtualization extensions available.
[    0.362409] devtmpfs: initialized
[    0.370953] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.371593] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.371614] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.371848] pinctrl core: initialized pinctrl subsystem
[    0.372726] NET: Registered protocol family 16
[    0.374065] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.376218] audit: initializing netlink subsys (disabled)
[    0.376796] audit: type=2000 audit(0.370:1): state=initialized audit_enabled=0 res=1
[    0.377819] cpuidle: using governor menu
[    0.378980] No ATAGs?
[    0.379131] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.379146] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.379450] Serial: AMBA PL011 UART driver
[    0.410507] vgaarb: loaded
[    0.411363] SCSI subsystem initialized
[    0.411671] libata version 3.00 loaded.
[    0.411926] usbcore: registered new interface driver usbfs
[    0.411983] usbcore: registered new interface driver hub
[    0.412049] usbcore: registered new device driver usb
[    0.412234] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[    0.412312] usb_phy_generic phy: Linked as a consumer to regulator.0
[    0.413329] Advanced Linux Sound Architecture Driver Initialized.
[    0.415326] clocksource: Switched to clocksource arch_sys_counter
[    0.496044] VFS: Disk quotas dquot_6.6.0
[    0.496141] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.505866] NET: Registered protocol family 2
[    0.506679] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.506718] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.506830] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.507017] TCP: Hash tables configured (established 8192 bind 8192)
[    0.507161] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.507210] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.507423] NET: Registered protocol family 1
[    0.507457] PCI: CLS 0 bytes, default 64
[    0.510605] Initialise system trusted keyrings
[    0.510801] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.510978] zbud: loaded
[    0.511418] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516714] Key type asymmetric registered
[    0.516731] Asymmetric key parser 'x509' registered
[    0.516814] bounce: pool size: 64 pages
[    0.516882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.516895] io scheduler mq-deadline registered
[    0.516903] io scheduler kyber registered
[    0.526173] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.527362] printk: console [ttyS0] disabled
[    0.527424] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 53, base_baud = 31250000) is a 16550
[    1.233693] printk: console [ttyS0] enabled
[    1.239654] bcm2835-rng 3f104000.rng: hwrng registered
[    1.253441] brd: module loaded
[    1.262330] loop: module loaded
[    1.266838] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.274603] libphy: Fixed MDIO Bus: probed
[    1.280524] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.287188] ehci-pci: EHCI PCI platform driver
[    1.291827] usbcore: registered new interface driver usb-storage
[    1.298233] mousedev: PS/2 mouse device common for all mice
[    1.304456] i2c /dev entries driver
[    1.308146] IR NEC protocol handler initialized
[    1.312739] IR RC5(x/sz) protocol handler initialized
[    1.317882] IR RC6 protocol handler initialized
[    1.322476] IR JVC protocol handler initialized
[    1.327084] IR Sony protocol handler initialized
[    1.331765] IR SANYO protocol handler initialized
[    1.336549] IR Sharp protocol handler initialized
[    1.341317] IR MCE Keyboard/mouse protocol handler initialized
[    1.347247] IR XMP protocol handler initialized
[    1.351838] Driver for 1-wire Dallas network protocol.
[    1.358889] sdhci: Secure Digital Host Controller Interface driver
[    1.365166] sdhci: Copyright(c) Pierre Ossman
[    1.470714] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)
[    1.477169] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.515055] mmc1: SDHCI controller on 3f300000.sdhci [3f300000.sdhci] using PIO
[    1.523487] ledtrig-cpu: registered to indicate activity on CPUs
[    1.530398] usbcore: registered new interface driver usbhid
[    1.536193] usbhid: USB HID core driver
[    1.540356] ashmem: initialized
[    1.544273] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    1.552544] oprofile: no performance counters
[    1.558501] oprofile: using timer interrupt.
[    1.563592] Initializing XFRM netlink socket
[    1.568103] NET: Registered protocol family 17
[    1.572887] NET: Registered protocol family 15
[    1.577736] Key type dns_resolver registered
[    1.585739] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.591762] Registering SWP/SWPB emulation handler
[    1.597533] Loading compiled-in X.509 certificates
[    1.602479] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.609877] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.613557] 3f201000.serial: ttyAMA1 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    1.618584] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.624732] serial serial0: tty port ttyAMA1 registered
[    1.638217] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-12-17 23:56
[    1.638304] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.655759] vchiq: vchiq_init_state: slot_zero = (ptrval)
[    1.657799] mmc0: new high speed SDHC card at address 0007
[    1.668815] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
[    1.674568] mmc1: error -110 whilst initialising SDIO card
[    1.680451]  mmcblk0: p1 p2
[    1.683702] hctosys: unable to open rtc device (rtc0)
[    1.689542] ALSA device list:
[    1.692553]   No soundcards found.
[    2.168706] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.177078] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.192128] devtmpfs: mounted
[    2.197334] Freeing unused kernel memory: 1024K
[    2.202253] Run /sbin/init as init process
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
[    2.406835] random: fast init done
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[    3.141870] systemd-udevd[916]: starting version 215
. ok 
[    3.217404] random: udevd: uninitialized urandom read (16 bytes read)
[....] Synthesizing the initial hotplug[    3.227201] random: udevd: uninitialized urandom read (16 bytes read)
[ ok ts...done.
[....] Waiting for /dev to be fully populated...[    3.386617] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    3.401748] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    3.416221] media: Linux media interface: v0.10
[    3.417037] bcm2835_audio bcm2835_audio: card created with 8 channels
[    3.429898] i2c-bcm2835 3f805000.i2c: Could not read clock-frequency property
[    3.487797] videodev: Linux video capture interface: v2.00
[    3.495191] dwc2 3f980000.usb: 3f980000.usb supply vusb_d not found, using dummy regulator
[    3.498473] Bluetooth: Core ver 2.22
[    3.503869] dwc2 3f980000.usb: Linked as a consumer to regulator.0
[    3.513961] NET: Registered protocol family 31
[    3.514126] dwc2 3f980000.usb: 3f980000.usb supply vusb_a not found, using dummy regulator
[    3.523368] Bluetooth: HCI device and connection manager initialized
[    3.566363] Bluetooth: HCI socket layer initialized
[    3.575466] Bluetooth: L2CAP socket layer initialized
[    3.580930] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    3.585511] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter lpm=1
[    3.591197] Bluetooth: SCO socket layer initialized
[    3.607189] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    3.618130] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter besl=1
[    3.627352] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[    3.628373] Bluetooth: HCI UART driver ver 2.3
[    3.640616] Bluetooth: HCI UART protocol H4 registered
[    3.643995] dwc2 3f980000.usb: DWC OTG Controller
[    3.646442] Bluetooth: HCI UART protocol BCSP registered
[    3.652864] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[    3.656600] Bluetooth: HCI UART protocol LL registered
[    3.665099] dwc2 3f980000.usb: irq 33, io mem 0x3f980000
[    3.669799] Bluetooth: HCI UART protocol Broadcom registered
[    3.674875] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00
[    3.674948] hci_uart_bcm serial0-0: serial0-0 supply vbat not found, using dummy regulator
[    3.675037] hci_uart_bcm serial0-0: Linked as a consumer to regulator.0
[    3.675050] hci_uart_bcm serial0-0: serial0-0 supply vddio not found, using dummy regulator
[    3.695528] uart-pl011 3f201000.serial: no DMA platform data
[    3.696820] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.725219] usb usb1: Product: DWC OTG Controller
[    3.730069] usb usb1: Manufacturer: Linux 5.0.0-rc1-letux-raspi+ dwc2_hsotg
[    3.737172] usb usb1: SerialNumber: 3f980000.usb
[    3.742587] hub 1-0:1.0: USB hub found
[    3.746479] hub 1-0:1.0: 1 port detected
[    4.195367] usb 1-1: new high-speed USB device number 2 using dwc2
^[[c^[[c[    4.445581] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.453883] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.461800] hub 1-1:1.0: USB hub found
[    4.465738] hub 1-1:1.0: 4 ports detected
[    4.785365] usb 1-1.1: new high-speed USB device number 3 using dwc2
[    4.915771] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.924249] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.932412] hub 1-1.1:1.0: USB hub found
[    4.936529] hub 1-1.1:1.0: 3 ports detected
[    5.655371] usb 1-1.1.1: new high-speed USB device number 4 using dwc2
[    5.765359] Bluetooth: hci0: command 0xfc18 tx timeout
[    5.786041] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    5.794710] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    6.574017] random: crng init done
[   13.925376] Bluetooth: hci0: BCM: failed to write update baudrate (-110)
[   13.932191] Bluetooth: hci0: Failed to set baudrate
[   16.005365] Bluetooth: hci0: command 0x0c03 tx timeout
[   24.165370] Bluetooth: hci0: BCM: Reset failed (-110)
[   26.245367] Bluetooth: hci0: command 0xfc18 tx timeout
[   34.405376] Bluetooth: hci0: BCM: failed to write update baudrate (-110)
[   34.412177] Bluetooth: hci0: Failed to set baudrate
[   35.755094] Bluetooth: hci0: BCM: Reset failed (-4)
[   36.485364] Bluetooth: hci0: command tx timeout
[  185.927505] bcm2835_v4l2: mmal-vchiq: VCHIQ close failed
done.
[ ok ....] Setting parameters of disc: (none).
[ ok ....] Activating swap...done.
^[[c[  188.018808] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
rootfs: clean, 26494/462384 files, 220476/1848304 blocks
done.
[  188.318413] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ ok ....] Activating lvm and md swap...done.
[....] Checking file systems...^[[cfsck from util-linux 2.25.2
done.
[ ok ....] Cleaning up temporary files... /tmp.
[ ok ....] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok [[c[....] Cleaning up temporary files....
[ ok ....] Setting kernel variables ...done.
^[[c
[  192.415280] NET: Registered protocol family 10
[  192.421020] Segment Routing with IPv6
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "eth0"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up eth0.
Cannot find device "eth1"
Failed to bring up eth1.
[  193.241364] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "hso0"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up hso0.
Cannot find device "usb0"
Failed to bring up usb0.
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "usb1"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up usb1.
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "usb2"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up usb2.
done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting up ALSA...done.
[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
dhcpcd[1891]: version 6.0.5 starting
dhcpcd[1891]: no interfaces have a carrier
dhcpcd[1891]: forked to background, child pid 1896
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Loading cpufreq kernel modules...done (none).
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting NTP server: ntpd.
[ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
[ ok ] Starting cgroup management daemon: cgmanager[....] Setting sysfs variables....
[ ok ] Starting system message bus: dbus.
[ ok ] Starting cgroup management proxy daemon: cgproxy.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting bluetooth: bluetoothd.
[  196.771205] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  196.776702] Bluetooth: BNEP socket layer initialized
[FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed!
 failed!
[FAIL] startpar: service(s) returned failure: isc-dhcp-server ... failed!

Debian GNU/Linux 8 letux console

letux login: root                              
Password: 
Last login: Thu Jan  1 00:00:20 UTC 1970 on console
Linux letux 5.0.0-rc1-letux-raspi+ #3182 SMP PREEMPT Tue Jan 8 18:29:29 CET 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root at letux:~# lsusb
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root at letux:~# cpufreq-info 
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq at vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
analyzing CPU 2:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
analyzing CPU 3:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
root at letux:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10368 (10.1 KiB)  TX bytes:10368 (10.1 KiB)

root at letux:~# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10368 (10.1 KiB)  TX bytes:10368 (10.1 KiB)

root at letux:~# hciconfig 
hci0:   Type: BR/EDR  Bus: UART
        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
        DOWN 
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:28 acl:0 sco:0 commands:4 errors:0

root at letux:~# ./bt-scan 
[  646.165379] Bluetooth: hci0: command 0xfc18 tx timeout
[  654.565477] Bluetooth: hci0: BCM: failed to write update baudrate (-110)
[  654.572284] Bluetooth: hci0: Failed to set baudrate
[  656.645379] Bluetooth: hci0: command 0x0c03 tx timeout
[  664.805486] Bluetooth: hci0: BCM: Reset failed (-110)
Can't init device hci0: Connection timed out (110)
hciconfig hci0 up failed

root at letux:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root at letux:~# 



More information about the Letux-kernel mailing list