area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
132 stars 115 forks source link

Support for raspberry pi 3 wifi #175

Closed kloknibor closed 7 years ago

kloknibor commented 8 years ago

Hi Guys,

Just got the pi 3. Super fast booting times and I've tested on the latest photonic3d image... But I can't get wifi to work, not with the sd card method nor the ethernet wifi way. It just doesn't show any wifi acces points. Can it be we use an older version of raspbian jessie? I'll dig around some more ;)!

Robin

kloknibor commented 8 years ago

LogBundle.zip.pdf

kloknibor commented 8 years ago

I doubt the log bundle will be useable for getting the wifi running but well I hope I'm wrong :)!

jmkao commented 8 years ago

The image generation always downloads the latest.

Send me the output from ifconfig -a, lsmod,lsusb, lspci, and dmesg.

kloknibor commented 8 years ago

pi@photonic3d:~ $ ifconfig -a eth0 Link encap:Ethernet HWaddr b8:27:eb:a5:cc:d0 inet addr:192.168.1.154 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::64fd:1d3f:8322:ba73/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:34515 errors:0 dropped:4645 overruns:0 frame:0 TX packets:9220 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6116487 (5.8 MiB) TX bytes:3452410 (3.2 MiB)

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:127 errors:0 dropped:0 overruns:0 frame:0 TX packets:127 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:35228 (34.4 KiB) TX bytes:35228 (34.4 KiB)

wlan0 Link encap:Ethernet HWaddr b8:27:eb:f0:99:85 inet addr:192.168.1.83 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::ba27:ebff:fef0:9985/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1171 errors:0 dropped:46 overruns:0 frame:0 TX packets:523 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:247013 (241.2 KiB) TX bytes:158354 (154.6 KiB)

kloknibor commented 8 years ago

pi@photonic3d:~ $ lsmod Module Size Used by brcmfmac 177546 0 brcmutil 5501 1 brcmfmac cfg80211 389253 1 brcmfmac rfkill 16036 2 cfg80211 snd_bcm2835 19802 0 snd_pcm 73442 1 snd_bcm2835 bcm2835_gpiomem 2860 0 snd_timer 18792 1 snd_pcm bcm2835_rng 1763 0 snd 50779 3 snd_bcm2835,snd_timer,snd_pcm uio_pdrv_genirq 2944 0 uio 7753 1 uio_pdrv_genirq ipv6 338574 58

kloknibor commented 8 years ago

lsusb Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

kloknibor commented 8 years ago

pi@photonic3d:~ $ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.1.18-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #846 SMP Thu Feb 25 14:22:53 GMT 2016 [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2 [ 0.000000] cma: Reserved 8 MiB at 0x3a400000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 241664 [ 0.000000] free_area_init_node: node 0, pgdat 80876f80, node_mem_map b9bb4000 [ 0.000000] Normal zone: 2124 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 241664 pages, LIFO batch:31 [ 0.000000] [bcm2709_smp_init_cpus] enter (9420->f3003010) [ 0.000000] [bcm2709_smp_init_cpus] ncores=4 [ 0.000000] PERCPU: Embedded 12 pages/cpu @bafb0000 s20416 r8192 d20544 u49152 [ 0.000000] pcpu-alloc: s20416 r8192 d20544 u49152 alloc=12*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239540 [ 0.000000] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2709.boardrev=0xa02082 bcm2709.serial=0x31a5ccd0 smsc95xx.macaddr=B8:27:EB:A5:CC:D0 bcm2708_fb.fbdepth=24 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 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: 939416K/966656K available (6024K kernel code, 534K rwdata, 1660K rodata, 448K init, 757K bss, 19048K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xbb800000 - 0xff000000 (1080 MB) lowmem : 0x80000000 - 0xbb000000 ( 944 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x807895a0 (7686 kB) .init : 0x8078a000 - 0x807fa000 ( 448 kB) .data : 0x807fa000 - 0x8087fac0 ( 535 kB) .bss : 0x80882000 - 0x8093f79c ( 758 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:608 [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000025] Switching to timer-based delay loop, resolution 52ns [ 0.000240] Console: colour dummy device 80x30 [ 0.001288] console [tty1] enabled [ 0.001341] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.001409] pid_max: default: 32768 minimum: 301 [ 0.001725] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001768] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002761] Initializing cgroup subsys blkio [ 0.002810] Initializing cgroup subsys memory [ 0.002858] Initializing cgroup subsys devices [ 0.002900] Initializing cgroup subsys freezer [ 0.002949] Initializing cgroup subsys net_cls [ 0.003020] CPU: Testing write buffer coherency: ok [ 0.003106] ftrace: allocating 20309 entries in 60 pages [ 0.048500] CPU0: update cpu_capacity 1024 [ 0.048563] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.048596] [bcm2709_smp_prepare_cpus] enter [ 0.048748] Setting up static identity map for 0x8240 - 0x8274 [ 0.050534] [bcm2709_boot_secondary] cpu:1 started (0) 18 [ 0.050871] [bcm2709_secondary_init] enter cpu:1 [ 0.050915] CPU1: update cpu_capacity 1024 [ 0.050921] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.051294] [bcm2709_boot_secondary] cpu:2 started (0) 18 [ 0.051549] [bcm2709_secondary_init] enter cpu:2 [ 0.051571] CPU2: update cpu_capacity 1024 [ 0.051577] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.051932] [bcm2709_boot_secondary] cpu:3 started (0) 18 [ 0.052116] [bcm2709_secondary_init] enter cpu:3 [ 0.052137] CPU3: update cpu_capacity 1024 [ 0.052143] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.052204] Brought up 4 CPUs [ 0.052302] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.052332] CPU: All CPU(s) started in HYP mode. [ 0.052358] CPU: Virtualization extensions available. [ 0.053054] devtmpfs: initialized [ 0.071344] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4 [ 0.071608] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.072466] pinctrl core: initialized pinctrl subsystem [ 0.073011] NET: Registered protocol family 16 [ 0.078146] DMA: preallocated 4096 KiB pool for atomic coherent allocations [ 0.079128] bcm2709.uart_clock = 48000000 [ 0.083169] bcm2709: Mini UART enabled [ 0.083237] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.083285] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.083456] Serial: AMBA PL011 UART driver [ 0.083600] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2 [ 0.084026] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.149226] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35 [ 0.149297] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy) [ 0.149885] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver [ 0.149921] bcm2708-dmaengine 3f007000.dma: dma_debug:0 [ 0.150489] SCSI subsystem initialized [ 0.150697] usbcore: registered new interface driver usbfs [ 0.150804] usbcore: registered new interface driver hub [ 0.150921] usbcore: registered new device driver usb [ 0.151456] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-02-25 14:25 [ 0.178560] Switched to clocksource arch_sys_counter [ 0.220110] FS-Cache: Loaded [ 0.220392] CacheFiles: Loaded [ 0.229639] NET: Registered protocol family 2 [ 0.230600] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.230742] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.230952] TCP: Hash tables configured (established 8192 bind 8192) [ 0.231065] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.231135] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.231457] NET: Registered protocol family 1 [ 0.231776] RPC: Registered named UNIX socket transport module. [ 0.231809] RPC: Registered udp transport module. [ 0.231836] RPC: Registered tcp transport module. [ 0.231864] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.232830] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available [ 0.233910] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.247270] VFS: Disk quotas dquot_6.6.0 [ 0.247596] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.249713] FS-Cache: Netfs 'nfs' registered for caching [ 0.250630] NFS: Registering the id_resolver key type [ 0.250697] Key type id_resolver registered [ 0.250726] Key type id_legacy registered [ 0.252781] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.252953] io scheduler noop registered [ 0.252992] io scheduler deadline registered (default) [ 0.253292] io scheduler cfq registered [ 0.255545] BCM2708FB: allocated DMA memory fa800000 [ 0.255592] BCM2708FB: allocated DMA channel 0 @ f3007000 [ 0.268147] Console: switching to colour frame buffer device 90x30 [ 0.280686] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.288581] console [ttyS0] disabled [ 0.292674] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 29, base_baud = 50000000) is a 16550 [ 1.497656] console [ttyS0] enabled [ 1.508450] vc-cma: Videocore CMA driver [ 1.519175] vc-cma: vc_cma_base = 0x00000000 [ 1.531157] vc-cma: vc_cma_size = 0x00000000 (0 MiB) [ 1.544122] vc-cma: vc_cma_initial = 0x00000000 (0 MiB) [ 1.557035] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB) [ 1.589770] brd: module loaded [ 1.605576] loop: module loaded [ 1.615346] vchiq: vchiq_init_state: slot_zero = 0xba880000, is_master = 0 [ 1.632036] Loading iSCSI transport class v2.0-870. [ 1.644647] usbcore: registered new interface driver smsc95xx [ 1.658168] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.871904] Core Release: 2.80a [ 1.880969] Setting default values for core params [ 1.892790] Finished setting default values for core params [ 2.106279] Using Buffer DMA mode [ 2.115759] Periodic Transfer Interrupt Enhancement - disabled [ 2.129446] Multiprocessor Interrupt Enhancement - disabled [ 2.142807] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 2.154146] Dedicated Tx FIFOs mode [ 2.164269] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xba814000 dma = 0xfa814000 len=9024 [ 2.188770] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints [ 2.232290] dwc_otg: Microframe scheduler enabled [ 2.232339] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x8040ecc0 [ 2.246235] WARN::hcd_init_fiq:413: FIQ ASM at 0x8040f030 length 36 [ 2.260770] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89c000 [ 2.274797] dwc_otg 3f980000.usb: DWC OTG Controller [ 2.287013] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 2.303161] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000 [ 2.316524] Init: Port Power? op_state=1 [ 2.327063] Init: Power Port (0) [ 2.336540] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.351767] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.367691] usb usb1: Product: DWC OTG Controller [ 2.379449] usb usb1: Manufacturer: Linux 4.1.18-v7+ dwc_otg_hcd [ 2.393386] usb usb1: SerialNumber: 3f980000.usb [ 2.405639] hub 1-0:1.0: USB hub found [ 2.415808] hub 1-0:1.0: 1 port detected [ 2.426473] dwc_otg: FIQ enabled [ 2.426483] dwc_otg: NAK holdoff enabled [ 2.426491] dwc_otg: FIQ split-transaction FSM enabled [ 2.426522] Module dwc_common_port init [ 2.426769] usbcore: registered new interface driver usb-storage [ 2.440715] mousedev: PS/2 mouse device common for all mice [ 2.454426] bcm2835-cpufreq: min=600000 max=1200000 [ 2.466665] sdhci: Secure Digital Host Controller Interface driver [ 2.480730] sdhci: Copyright(c) Pierre Ossman [ 2.491934] sdhost: log_buf @ ba813000 (fa813000) [ 2.578594] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 2.613818] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0 [ 2.618640] Indeed it is in host mode hprt0 = 00021501 [ 2.639705] mmc-bcm2835 3f300000.mmc: DMA channels allocated [ 2.650670] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.653768] mmc0: new high speed SDHC card at address 0003 [ 2.670349] mmcblk0: mmc0:0003 SD16G 14.4 GiB [ 2.679567] mmcblk0: p1 p2 [ 2.738685] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.752503] ledtrig-cpu: registered to indicate activity on CPUs [ 2.754770] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 2.756332] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 2.757895] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 2.760706] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 2.798597] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 2.798720] Indeed it is in host mode hprt0 = 00001101 [ 2.845320] hidraw: raw HID events driver (C) Jiri Kosina [ 2.851391] mmc1: new high speed SDIO card at address 0001 [ 2.871221] usbcore: registered new interface driver usbhid [ 2.884324] usbhid: USB HID core driver [ 2.894923] Initializing XFRM netlink socket [ 2.905813] NET: Registered protocol family 17 [ 2.917008] Key type dns_resolver registered [ 2.928214] Registering SWP/SWPB emulation handler [ 2.940519] registered taskstats version 1 [ 2.951179] vc-sm: Videocore shared memory driver

[ 2.973404] [vc_sm_connected_init]: end - returning 0 [ 2.988704] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 3.004355] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 3.019730] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 [ 3.034374] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.050460] hub 1-1:1.0: USB hub found [ 3.060329] hub 1-1:1.0: 5 ports detected [ 3.205453] EXT4-fs (mmcblk0p2): recovery complete [ 3.222921] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.243674] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 3.269979] devtmpfs: mounted [ 3.279575] Freeing unused kernel memory: 448K (8078a000 - 807fa000) [ 3.348604] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 3.478879] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 [ 3.494442] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.513461] smsc95xx v1.0.4 [ 3.581720] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a5:cc:d0 [ 3.651999] random: systemd urandom read with 77 bits of entropy available [ 3.671426] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [ 3.703252] systemd[1]: Detected architecture 'arm'. [ 3.851759] NET: Registered protocol family 10 [ 3.865306] systemd[1]: Inserted module 'ipv6' [ 3.880446] systemd[1]: Set hostname to . [ 4.319686] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 4.356921] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 4.375023] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.392707] systemd[1]: Expecting device dev-ttyS0.device... [ 4.412681] systemd[1]: Starting Remote File Systems (Pre). [ 4.432356] systemd[1]: Reached target Remote File Systems (Pre). [ 4.447503] systemd[1]: Starting Encrypted Volumes. [ 4.465927] systemd[1]: Reached target Encrypted Volumes. [ 4.479902] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ 4.510028] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 4.535488] systemd[1]: Starting Swap. [ 4.551878] systemd[1]: Reached target Swap. [ 4.563840] systemd[1]: Expecting device dev-mmcblk0p1.device... [ 4.584027] systemd[1]: Starting Root Slice. [ 4.601542] systemd[1]: Created slice Root Slice. [ 4.614286] systemd[1]: Starting User and Session Slice. [ 4.633162] systemd[1]: Created slice User and Session Slice. [ 4.647426] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 4.668373] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.684693] systemd[1]: Starting Delayed Shutdown Socket. [ 4.703641] systemd[1]: Listening on Delayed Shutdown Socket. [ 4.717952] systemd[1]: Starting Journal Socket (/dev/log). [ 4.737222] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.751824] systemd[1]: Starting udev Control Socket. [ 4.769852] systemd[1]: Listening on udev Control Socket. [ 4.783266] systemd[1]: Starting udev Kernel Socket. [ 4.800596] systemd[1]: Listening on udev Kernel Socket. [ 4.813832] systemd[1]: Starting Journal Socket. [ 4.830756] systemd[1]: Listening on Journal Socket. [ 4.843412] systemd[1]: Starting System Slice. [ 4.859993] systemd[1]: Created slice System Slice. [ 4.872466] systemd[1]: Starting File System Check on Root Device... [ 4.894451] systemd[1]: Starting system-systemd\x2dfsck.slice. [ 4.914105] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 4.929362] systemd[1]: Starting system-getty.slice. [ 4.947096] systemd[1]: Created slice system-getty.slice. [ 4.960415] systemd[1]: Starting system-serial\x2dgetty.slice. [ 4.979390] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.994428] systemd[1]: Starting Increase datagram queue length... [ 5.016189] systemd[1]: Starting Restore / save the current clock... [ 5.045246] systemd[1]: Starting udev Coldplug all Devices... [ 5.076176] systemd[1]: Started Set Up Additional Binary Formats. [ 5.102481] systemd[1]: Starting Load Kernel Modules... [ 5.124035] systemd[1]: Mounting POSIX Message Queue File System... [ 5.147365] systemd[1]: Mounting Debug File System... [ 5.169627] systemd[1]: Mounted Huge Pages File System. [ 5.184207] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 5.217002] systemd[1]: Starting Slices. [ 5.234426] systemd[1]: Reached target Slices. [ 5.254480] systemd[1]: Mounted Debug File System. [ 5.272715] systemd[1]: Mounted POSIX Message Queue File System. [ 5.293813] systemd[1]: Started File System Check on Root Device. [ 5.325134] systemd[1]: Started Increase datagram queue length. [ 5.346101] systemd[1]: Started Restore / save the current clock. [ 5.370239] systemd[1]: Started Load Kernel Modules. [ 5.391757] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 5.423925] systemd[1]: Started udev Coldplug all Devices. [ 5.441031] systemd[1]: Time has been changed [ 5.597264] systemd[1]: Starting Create Static Device Nodes in /dev... [ 5.621713] systemd[1]: Mounting Configuration File System... [ 5.644028] systemd[1]: Starting Apply Kernel Variables... [ 5.666635] systemd[1]: Mounted FUSE Control File System. [ 5.680953] systemd[1]: Starting Syslog Socket. [ 5.699175] systemd[1]: Listening on Syslog Socket. [ 5.699307] systemd[1]: Starting Journal Service... [ 5.712668] systemd[1]: Started Journal Service. [ 5.821556] systemd-udevd[106]: starting version 215 [ 6.968868] bcm2835-rng 3f104000.rng: hwrng registered [ 6.969590] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 7.090770] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 7.095654] cfg80211: Calling CRDA to update world regulatory domain [ 7.159078] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 1 pmurev 24 [ 7.160116] usbcore: registered new interface driver brcmfmac [ 7.297403] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c [ 7.317032] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 7.616505] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 7.616534] cfg80211: World regulatory domain updated: [ 7.616544] cfg80211: DFS Master region: unset [ 7.616552] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 7.616566] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 7.616579] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 7.616591] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 7.616606] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 7.616620] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 7.616632] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 7.616645] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 7.616657] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 7.941071] systemd-journald[104]: Received request to flush runtime journal from PID 1 [ 8.176764] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists [ 8.176780] brcmfmac: brcmf_add_if: ignore IF event [ 8.595904] Adding 102396k swap on /var/swap. Priority:-1 extents:4 across:249852k SSFS [ 9.148646] random: nonblocking pool is initialized [ 10.349794] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 10.350960] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 11.864025] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 11.866358] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1

kloknibor commented 8 years ago

lspci was unkown to the pi... By the way I should add I'm trying to get it working with the INTERNAL wifi. So lsusb wouldn't be needed but you can already see the wifi is there with ifconfig ;)! If you need anythingmore let me know! I'll be awake for another hour or so

kloknibor commented 8 years ago

And the current set-up is ethernet and powerplug, latest photonic3D image ;)!

jmkao commented 8 years ago

Your wlan0 seems to be up and connected to a wireless network on 192.168.1.83. What problem are you having connecting to it?

wlan0 Link encap:Ethernet HWaddr b8:27:eb:f0:99:85
inet addr:192.168.1.83 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fef0:9985/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
kloknibor commented 8 years ago

You are right.... Really I waited a while and couldn't find with IP scan tools... But it shows up now... Sorry to bother...! Can it be the first boot it takes a while till wifi connects?

jmkao commented 8 years ago

The first boot takes extra long because it will resize the filesystem and then reboot, but that isn't specific to the RPi 3, it will always do this.

kloknibor commented 8 years ago

I got it off the ethernet cable and it is offline again... The green led is blinking at an constant blinking speed and it won't come online... (before blinking constant it blinked at "random")

kloknibor commented 8 years ago

I know first boot takes longer because of a reboot (because the resizing etc) but I waited like 10 minutes... Normal booting time was 30 seconds on rpi 2...

Now the green led is totally of so no activity and it isn't online (using advance ip scanner)

kloknibor commented 8 years ago

and sometimes still blinking at constant again don't know if that says anything... How can I debug this the best... Finding an display and send you the commands like we did before?

jmkao commented 8 years ago

Well, now we know that at least the OS has all of the drivers necessary to get it on the network. The question is one of stability.

/var/log/messages, /var/log/syslog, and /var/log/kern.log should contain information about state changes in the OS. Send those over.

kloknibor commented 8 years ago

jmkao.zip.pdf

just remove the .pdf ;)!

jmkao commented 8 years ago

In the future you do not need to rename the extension to PDF if you upload it to github. If you leave it as zip, I can open and extract it on my iPhone. As PDF, it's much harder.

kloknibor commented 8 years ago

@jmkao for some reason github refuses to let me do that... It returns an error that this file format isn't supported while it is present in the supported file types... very strange... You can use ifile if your on iphone ;) New jailbreak for ios 9.1 came out today. It has an weird boot loop bug but eventually it works haha... Was kind of worried... But in the end it worked :)

kloknibor commented 8 years ago

Hmm in old internet explorer this seems to work... Chrome refuses (while github says this IE version is unsupported)

jmkao commented 8 years ago

Hmm... strange... I cannot find any indication that the OS had any problems with the wifi.

I am seeing that the system was restarted at 21:17:04 and at 22:17:04. This could just be a coincidence, but it seem strange to me that the starts occurred exactly one hour apart on the same second.

On a side note, I am seeing the log line:

Mar 11 21:17:04 photonic3d systemd[1]: Starting Daily Cleanup of Temporary Directories.
Mar 11 21:17:04 photonic3d systemd[1]: Started Daily Cleanup of Temporary Directories.

which I guess could explain some of the upload deletion mysteries. I looked for the tmp cleanup scripts in /etc/cron.daily, where I've seen them on other systems, but apparently this is under systemd control in raspbian.

If you left the RPi3 on overnight, when you wake up, it would be good to send me the /var/log/syslog file to see if there is some kind of reboot happening. If you turned it off, maybe let it run for a 6 to 10 hours and then send me the syslog.

kloknibor commented 8 years ago

Weird about the rebooting indeed... I did unplug it twice but my timing couldn't that perfect could it? And I turned it off and I can't play too much with it this weekend... However if it may help we could plan an moment on monday or later in which I can set port forwarding for the pi so you can ssh into it and do whatever you need to do ;)! Or maybe even better use teamvieuwer because of security reasons.

jmkao commented 8 years ago

Easiest thing for now is just leave it on, and send me the log on Monday.

kloknibor commented 8 years ago

With or without ethernet? Side by side with wifi

Verstuurd vanaf mijn iPhone

Op 12 mrt. 2016 om 07:07 heeft James Kao notifications@github.com het volgende geschreven:

Easiest thing for now is just leave it on, and send me the log on Monday.

— Reply to this email directly or view it on GitHub.

jmkao commented 8 years ago

I think no Ethernet.

kloknibor commented 8 years ago

I totally forgot to plug in the pi this weekend... I ran it for like 4-5 hours now and I hope that still helps ;)! Here are the logs just after connecting ethernet :

JMKAO2.zip.pdf

(Sorry for the pdf again... I tried different browsers... On work I had luck with firefox... At home not... WIll look into this... sorry!)

jmkao commented 8 years ago

Did you experience any problem with the wifi over this time?

kloknibor commented 8 years ago

yes, no wifi at all the times I scanned for it with my ip scanner...

jmkao commented 8 years ago

Setting the IP scanner aside, are you able to reach the the print UI or ssh directly at 192.168.1.83?

kloknibor commented 8 years ago

No I can't... I got it on for the whole day now... Shall the logs help?

Op 15 mrt. 2016 om 20:49 heeft James Kao notifications@github.com het volgende geschreven:

Setting the IP scanner aside, are you able to reach the the print UI or ssh directly at 192.168.1.83?

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub

jmkao commented 8 years ago

Yeah, send the logs.

kloknibor commented 8 years ago

Dropbox (1).zip yayy firefox from work still works to upload zips :) So here are the logs along with some more I tought might be helpfull ;)! I also did ifconfig -a and found that wifi and ethernet is online (83 and 154) but when ethernet is out it isn't reachable on neither...

jmkao commented 8 years ago

The only thing I can see from the logs is a large number of group rekeying attempts. This type of behavior only matches the problem described at:

http://ubuntuforums.org/showthread.php?t=2261225

But doesn't explain why other wifi devices would not be affected. Otherwise, I can't find any reason why the problem you are encountering would be specific to anything that is in the image.

The only further thing I can think of trying would be to install a regular Raspbian Jessie and configure wifi the standard way, and then see if the problem exists. If the problem goes away, then the problem may be related to some package that I removed, and if the problem persists, then there is something wrong with Raspbian itself or your specific RPi.

kloknibor commented 8 years ago

Thanks for looking into this James, All other wifi devices are totally fine. So it shouldn't be that... And also I tested with 2 raspberry pi 3's on 2 different networks. So I'm afraid it might be some removed package... But still it's weird since the driver works... I'll test tonight with normal raspbian and let you know ;)!

jmkao commented 8 years ago

The various threads about the group rekeying thing more commonly occur with Broadcom (BCM####) devices than other types, so it is possible that the RPi 3 may be the only device of this type on your network.

kloknibor commented 8 years ago

The wifi works like a charm on raspbian jessie full version, good signal too ;)! Shall I try the light version too?

jmkao commented 8 years ago

Try lite. And then try:

apt-get remove -y --purge aptitude aptitude-common g++ g++-4.9 gcc gcc-4.9 gdb g dbserver luajit perl perl-modules python-rpi.gpio bluez bluez-firmware geoip-dat abase libc-dev-bin libfreetype6-dev samba-common libdrm-radeon1 libdrm-amdgpu1 l ibdrm-freedreno1 libdrm-nouveau2 xserver-xorg-input-synaptics xserver-xorg-input -wacom

kloknibor commented 8 years ago

on it ;)! Should I run it at once?

kloknibor commented 8 years ago

Hmm it seems a raspbian jessie light issue... It worked fine on complete version but with the light it doesn't... I found this somewhere : http://blog.hypriot.com/post/run-docker-rpi3-with-wifi/ They do something with an overlay... Is that needed for us too?

kloknibor commented 8 years ago

I found an not so good for us fix... :

Pretty sure this is a "simple" issue of device tree not beeing enabled.

In a shell do $sudo raspi-config

Then select item 9, Advanced Options Select item A5, Device Tree Choose Yes Reboot

Good luck!

PS If any of you (like me) have issues with the serial port /dev/ttyAMA0 not working, then disable device tree. Seems we can't have both WiFi and serial working right now....

this worked out for me...

kloknibor commented 8 years ago

never mind... It died pretty soon after boot...

Edit : It is online again... and stays online after a reboot as long ethernet doesn't get connected or disconnected... This is with the device mangager fix that would break serial

kloknibor commented 8 years ago

I tested it... Wifi works great with device tree enabled... It works very fast and smooth... But.... Indeed serial ports are broken... This seems more off an raspbian jessie light issue... Do any of you want to take a look into it? Or are we just not gonna support the raspberry pi 3 untill this jessie light is being fixed? Anyways I uploaded my .log files here : LogBundle.zip (2).pdf

jmkao commented 8 years ago

This is one of those things that would probably be fixable if I had a RPi3 and spent enough time on it, but might not be worth it compared to other work since there are probably other people working on this in the community.

kloknibor commented 8 years ago

I can't seem to find much about other people complaining about it...

WesGilster commented 8 years ago

Yeah. I agree, supporting hardware through a forum is not ideal and not interesting.

jmkao commented 8 years ago

@kloknibor Since you have the relevant hardware, it would probably be easiest for you to perhaps examine the difference between Jessie Lite and full Jessie and ask for help on a purely OS level basis in the Raspbian forums. That might elicit some help from someone more familiar with Jessie and the RPi 3 as a standalone separate issue from Photonic3D. Then if you can report back what you find based on plain Jessie, I can integrate your findings into the image.

kloknibor commented 8 years ago

On it ;)!

kloknibor commented 8 years ago

Hmm weird... I tried once to set the serial ports root acces to true in raspi config and everything started working again... However now when I reflash the photonic3d image and only enable device tree in raspi-config it starts working without an problem. Only the wifi shows up as serial port (Or the ethernet) But the search for 3dprint firmware helps. I replicated it 3 times now with only setting device tree to true... It works ;)! Only the first time it failed for unkown reasons.... So if we can enable device tree by default in the next release that would be great :)! Thanks!

jmkao commented 8 years ago

Device Tree is a fairly advanced option that significantly changes the way that modules are loaded. Modifying this option will make the system diverge significantly from most peoples'standard Raspbian installs and exposes us to future issues that arise from being in a non-mainstream configuration. (Some docs seem to indicate that DT is enabled by default in some Raspbian distributions, but that doesn't seem to be the case here.)

In your testing between Jessie and Jessie Lite, did you find that full Jessie had DT enabled? Or did it work with DT disabled? Have you seen a lot of people with RPi3's or Jessie Lite having to enable DT?

kloknibor commented 8 years ago

Sorry for the late response! Was a busy weekend! I understood that raspbian enabled Device tree by default (Source : https://www.raspberrypi.org/documentation/configuration/device-tree.md). In my normal raspbian version DT was enabled if I remember it right ;)!