I downloaded the image and put it in one of my Pi model B's and it seems to work fine, but I really want to use a zero for the production version, so I ordered one, but when it arrived and I tried it, there was no response from the activity light at all.
Thinking it might be a hardware failure, and mindful that people have been caught out by the lack of diagnostic lights on the zero, I tried the latest NOOBS (PIXEL), and that boots OK.
The only thing I have tried is grafting the commandline.txt from NOOBS onto the troublesome build, but that had no effect.
I notice that the Instructables author was using an RPi 3 so I wonder if his configuration (which is on the image you downloaded) is trying and failing to find some device it requires that isn't a standard part of the Pi Zero. Did you have the WiFi dongle plugged in when you tried to boot that image?
Its quite possible that, since the heater control is designed to run as a stand-alone box, it would try to initialise the wifi dongle as soon as it had booted Raspbian, it would hang if it can't find the dongle.
One way to find out what stopped it coming up as expected would be:
1)Boot the Zero off the Instructables image and note the time & date.
2)If/when it fails to boot, reboot using your NOOBS image.
3)If you're not familiar with less, read its manpage
4)Login to your Pi Zero as a normal user
5)Run the command: sudo less /var/log/messages
Use less and the time & date you recorded to find the log messages output during your attempt to boot into the Instructables image.
Look first at the last few messages to see if they report any errors, missing devices, etc. If there's nothing there, i.e it just hung, scan through all the stuff that was logged during that boot to see if any missing or failed items were reported earlier in the boot process.
If that doesn't help you to fix the problem, tells us what you found and/ or contact guliverrr and see what he suggests.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
On Thu, 15 Dec 2016 18:25:39 -0000 (UTC), Gordon Henderson wrote:
Thanks Gordon, and I really should have thought of doing that myself, however, it appears that:
E: You don't have enough free space in /var/cache/apt/archives/.
How should I address this please?
Verbose text follows
Using username "pi". pi@10.0.0.6's password: Access denied pi@10.0.0.6's password: Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l
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. pi@raspberrypi ~ $ sudo apt-get update Get:1
If you don't have access to another Linux system ================================================ I think your best bet in this case is to contact guliverrr, explain the problem and get him to send you an upgraded image. You'd be doing him a favour because I bet you won't be the only person who has this problem.
If you have access to another Linux system ========================================== You can use that to set up a bigger SD card and transfer the image to it from the SD card you installed it on.
- use cfdisk or one of the other partition managers to see the type and sizes of partitions in the image disk.
- get an SD card of twice the capacity
- use the partition manager to put two partitions on it in the same order and type as those on your image file, but make them twice the size
- use dd to copy each image card partition to the corresponding one on the new SD card. This needs to be done on a system with two USB sockets and two card readers.
Now boot and upgrade the new card.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
On Thu, 15 Dec 2016 18:05:57 -0000 (UTC), Martin Gregorie wrote:
There are currently only 223 lines in "messages" so I don't need a filter. Each and every line carries the date stamp
Feb 13 12:52:27
Not sure of the significance of that, I thought in the absence of a RTC Linux defaulted to Jan 1 (1970) 00:00
This forensic approach is most interesting, are you saying that /var/log/messages resides in NV memory in the SOC itself and not on the SD card, or have I misunderstood?
It all seems to pertain to the current boot session. on the Model "B" with the wlan device atached (but ot boots OK without it).
Here it is. Feb 13 12:52:27 raspberrypi kernel: imklog 5.8.11, log source = /proc/kmsg started. Feb 13 12:52:27 raspberrypi rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2056" x-info="
formatting link
"] start Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Booting Linux on physical CPU 0x0 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Initializing cgroup subsys cpu Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Initializing cgroup subsys cpuacct Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Linux version
3.12.35+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Machine: BCM2708 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] cma: CMA: reserved
8 MiB at 1b800000 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Memory policy: ECC disabled, Data cache writeback Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x508d48c4 smsc95xx.macaddr=B8:27:EB:8D:48:C4 bcm2708_fb.fbswap=1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Memory:
439492K/458752K available (4530K kernel code, 243K rwdata, 1352K rodata, 143K init, 701K bss, 19260K reserved) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Virtual kernel memory layout: Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] vector :
0xffff0000 - 0xffff1000 ( 4 kB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] fixmap :
0xfff00000 - 0xfffe0000 ( 896 kB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] vmalloc :
0xdc800000 - 0xff000000 ( 552 MB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] lowmem :
0xc0000000 - 0xdc000000 ( 448 MB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] modules :
0xbf000000 - 0xc0000000 ( 16 MB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] .text :
0xc0008000 - 0xc05c6c94 (5884 kB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] .init :
0xc05c7000 - 0xc05eaff4 ( 144 kB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] .data :
0xc05ec000 - 0xc0628de0 ( 244 kB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] .bss :
0xc0628dec - 0xc06d85e8 ( 702 kB) Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Preemptible hierarchical RCU implementation. Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] NR_IRQS:394 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Switching to timer-based delay loop Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] Console: colour dummy device 80x30 Feb 13 12:52:27 raspberrypi kernel: [ 0.000000] console [tty1] enabled Feb 13 12:52:27 raspberrypi kernel: [ 0.001171] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000) Feb 13 12:52:27 raspberrypi kernel: [ 0.001227] pid_max: default:
32768 minimum: 301 Feb 13 12:52:27 raspberrypi kernel: [ 0.001747] Mount-cache hash table entries: 512 Feb 13 12:52:27 raspberrypi kernel: [ 0.002593] Initializing cgroup subsys memory Feb 13 12:52:27 raspberrypi kernel: [ 0.002704] Initializing cgroup subsys devices Feb 13 12:52:27 raspberrypi kernel: [ 0.002741] Initializing cgroup subsys freezer Feb 13 12:52:27 raspberrypi kernel: [ 0.002771] Initializing cgroup subsys blkio Feb 13 12:52:27 raspberrypi kernel: [ 0.002914] CPU: Testing write buffer coherency: ok Feb 13 12:52:27 raspberrypi kernel: [ 0.003359] Setting up static identity map for 0xc0450a78 - 0xc0450ad4 Feb 13 12:52:27 raspberrypi kernel: [ 0.005287] devtmpfs: initialized Feb 13 12:52:27 raspberrypi kernel: [ 0.021432] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5 Feb 13 12:52:27 raspberrypi kernel: [ 0.022995] NET: Registered protocol family 16 Feb 13 12:52:27 raspberrypi kernel: [ 0.028322] DMA: preallocated
4096 KiB pool for atomic coherent allocations Feb 13 12:52:27 raspberrypi kernel: [ 0.028963] cpuidle: using governor ladder Feb 13 12:52:27 raspberrypi kernel: [ 0.029009] cpuidle: using governor menu Feb 13 12:52:27 raspberrypi kernel: [ 0.029423] bcm2708.uart_clock = 0 Feb 13 12:52:27 raspberrypi kernel: [ 0.031347] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. Feb 13 12:52:27 raspberrypi kernel: [ 0.031403] hw-breakpoint: maximum watchpoint size is 4 bytes. Feb 13 12:52:27 raspberrypi kernel: [ 0.031437] mailbox: Broadcom VideoCore Mailbox driver Feb 13 12:52:27 raspberrypi kernel: [ 0.031531] bcm2708_vcio: mailbox at f200b880 Feb 13 12:52:27 raspberrypi kernel: [ 0.031633] bcm_power: Broadcom power driver Feb 13 12:52:27 raspberrypi kernel: [ 0.031670] bcm_power_open() ->
0 Feb 13 12:52:27 raspberrypi kernel: [ 0.031693] bcm_power_request(0, 8) Feb 13 12:52:27 raspberrypi kernel: [ 0.532414] bcm_mailbox_read ->
00000080, 0 Feb 13 12:52:27 raspberrypi kernel: [ 0.532455] bcm_power_request
-> 0 Feb 13 12:52:27 raspberrypi kernel: [ 0.532710] Serial: AMBA PL011 UART driver Feb 13 12:52:27 raspberrypi kernel: [ 0.532875] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3 Feb 13 12:52:27 raspberrypi kernel: [ 0.893193] console [ttyAMA0] enabled Feb 13 12:52:27 raspberrypi kernel: [ 0.919394] bio: create slab at 0 Feb 13 12:52:27 raspberrypi kernel: [ 0.924929] SCSI subsystem initialized Feb 13 12:52:27 raspberrypi kernel: [ 0.928917] usbcore: registered new interface driver usbfs Feb 13 12:52:27 raspberrypi kernel: [ 0.934621] usbcore: registered new interface driver hub Feb 13 12:52:27 raspberrypi kernel: [ 0.940184] usbcore: registered new device driver usb Feb 13 12:52:27 raspberrypi kernel: [ 0.946744] Switched to clocksource stc Feb 13 12:52:27 raspberrypi kernel: [ 0.951015] FS-Cache: Loaded Feb 13 12:52:27 raspberrypi kernel: [ 0.954188] CacheFiles: Loaded Feb 13 12:52:27 raspberrypi kernel: [ 0.969616] NET: Registered protocol family 2 Feb 13 12:52:27 raspberrypi kernel: [ 0.975451] TCP established hash table entries: 4096 (order: 3, 32768 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 0.982864] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 0.989458] TCP: Hash tables configured (established 4096 bind 4096) Feb 13 12:52:27 raspberrypi kernel: [ 0.995907] TCP: reno registered Feb 13 12:52:27 raspberrypi kernel: [ 0.999201] UDP hash table entries: 256 (order: 0, 4096 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 1.005071] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 1.011845] NET: Registered protocol family 1 Feb 13 12:52:27 raspberrypi kernel: [ 1.016832] RPC: Registered named UNIX socket transport module. Feb 13 12:52:27 raspberrypi kernel: [ 1.022790] RPC: Registered udp transport module. Feb 13 12:52:27 raspberrypi kernel: [ 1.027576] RPC: Registered tcp transport module. Feb 13 12:52:27 raspberrypi kernel: [ 1.032297] RPC: Registered tcp NFSv4.1 backchannel transport module. Feb 13 12:52:27 raspberrypi kernel: [ 1.039652] bcm2708_dma: DMA manager at f2007000 Feb 13 12:52:27 raspberrypi kernel: [ 1.044406] bcm2708_gpio: bcm2708_gpio_probe c05f9f10 Feb 13 12:52:27 raspberrypi kernel: [ 1.049967] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB) Feb 13 12:52:27 raspberrypi kernel: [ 1.059559] audit: initializing netlink socket (disabled) Feb 13 12:52:27 raspberrypi kernel: [ 1.065059] type=2000 audit(0.910:1): initialized Feb 13 12:52:27 raspberrypi kernel: [ 1.235209] VFS: Disk quotas dquot_6.5.2 Feb 13 12:52:27 raspberrypi kernel: [ 1.239578] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Feb 13 12:52:27 raspberrypi kernel: [ 1.248500] FS-Cache: Netfs 'nfs' registered for caching Feb 13 12:52:27 raspberrypi kernel: [ 1.255366] NFS: Registering the id_resolver key type Feb 13 12:52:27 raspberrypi kernel: [ 1.260664] Key type id_resolver registered Feb 13 12:52:27 raspberrypi kernel: [ 1.264873] Key type id_legacy registered Feb 13 12:52:27 raspberrypi kernel: [ 1.269678] msgmni has been set to 874 Feb 13 12:52:27 raspberrypi kernel: [ 1.275409] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) Feb 13 12:52:27 raspberrypi kernel: [ 1.283274] io scheduler noop registered Feb 13 12:52:27 raspberrypi kernel: [ 1.287354] io scheduler deadline registered (default) Feb 13 12:52:27 raspberrypi kernel: [ 1.292854] io scheduler cfq registered Feb 13 12:52:27 raspberrypi kernel: [ 1.298036] BCM2708FB: allocated DMA memory 5bc00000 Feb 13 12:52:27 raspberrypi kernel: [ 1.303083] BCM2708FB: allocated DMA channel 0 @ f2007000 Feb 13 12:52:27 raspberrypi kernel: [ 1.313685] Console: switching to colour frame buffer device 82x26 Feb 13 12:52:27 raspberrypi kernel: [ 1.324796] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver Feb 13 12:52:27 raspberrypi kernel: [ 1.334039] uart-pl011 dev:f1: no DMA platform data Feb 13 12:52:27 raspberrypi kernel: [ 1.341113] vc-cma: Videocore CMA driver Feb 13 12:52:27 raspberrypi kernel: [ 1.346418] vc-cma: vc_cma_base = 0x00000000 Feb 13 12:52:27 raspberrypi kernel: [ 1.352507] vc-cma: vc_cma_size = 0x00000000 (0 MiB) Feb 13 12:52:27 raspberrypi kernel: [ 1.359301] vc-cma: vc_cma_initial = 0x00000000 (0 MiB) Feb 13 12:52:27 raspberrypi kernel: [ 1.375168] brd: module loaded Feb 13 12:52:27 raspberrypi kernel: [ 1.384707] loop: module loaded Feb 13 12:52:27 raspberrypi kernel: [ 1.389575] vchiq: vchiq_init_state: slot_zero = 0xdb800000, is_master = 0 Feb 13 12:52:27 raspberrypi kernel: [ 1.398857] Loading iSCSI transport class v2.0-870. Feb 13 12:52:27 raspberrypi kernel: [ 1.406210] usbcore: registered new interface driver smsc95xx Feb 13 12:52:27 raspberrypi kernel: [ 1.413824] dwc_otg: version
3.00a 10-AUG-2012 (platform bus) Feb 13 12:52:27 raspberrypi kernel: [ 1.621177] Core Release: 2.80a Feb 13 12:52:27 raspberrypi kernel: [ 1.625650] Setting default values for core params Feb 13 12:52:27 raspberrypi kernel: [ 1.631792] Finished setting default values for core params Feb 13 12:52:27 raspberrypi kernel: [ 1.838742] Using Buffer DMA mode Feb 13 12:52:27 raspberrypi kernel: [ 1.843335] Periodic Transfer Interrupt Enhancement - disabled Feb 13 12:52:27 raspberrypi kernel: [ 1.850495] Multiprocessor Interrupt Enhancement - disabled Feb 13 12:52:27 raspberrypi kernel: [ 1.857413] OTG VER PARAM: 0, OTG VER FLAG: 0 Feb 13 12:52:27 raspberrypi kernel: [ 1.863072] Dedicated Tx FIFOs mode Feb 13 12:52:27 raspberrypi kernel: [ 1.868213] WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 0xdbc14000 dma = 0x5bc14000 len=9024 Feb 13 12:52:27 raspberrypi kernel: [ 1.880729] FIQ FSM acceleration enabled for : Feb 13 12:52:27 raspberrypi kernel: [ 1.880729] Non-periodic Split Transactions Feb 13 12:52:27 raspberrypi kernel: [ 1.880729] Periodic Split Transactions Feb 13 12:52:27 raspberrypi kernel: [ 1.880729] High-Speed Isochronous Endpoints Feb 13 12:52:27 raspberrypi kernel: [ 1.902683] WARN::hcd_init:473: FIQ at 0xc0329458 Feb 13 12:52:27 raspberrypi kernel: [ 1.908854] WARN::hcd_init:474: FIQ ASM at 0xc0329708 length 36 Feb 13 12:52:27 raspberrypi kernel: [ 1.916155] WARN::hcd_init:500: MPHI regs_base at 0xdc806000 Feb 13 12:52:27 raspberrypi kernel: [ 1.923200] dwc_otg bcm2708_usb: DWC OTG Controller Feb 13 12:52:27 raspberrypi kernel: [ 1.929464] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1 Feb 13 12:52:27 raspberrypi kernel: [ 1.938123] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000 Feb 13 12:52:27 raspberrypi kernel: [ 1.944940] Init: Port Power? op_state=1 Feb 13 12:52:27 raspberrypi kernel: [ 1.950179] Init: Power Port (0) Feb 13 12:52:27 raspberrypi kernel: [ 1.954996] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 Feb 13 12:52:27 raspberrypi kernel: [ 1.963168] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Feb 13 12:52:27 raspberrypi kernel: [ 1.971750] usb usb1: Product: DWC OTG Controller Feb 13 12:52:27 raspberrypi kernel: [ 1.977774] usb usb1: Manufacturer: Linux 3.12.35+ dwc_otg_hcd Feb 13 12:52:27 raspberrypi kernel: [ 1.984898] usb usb1: SerialNumber: bcm2708_usb Feb 13 12:52:27 raspberrypi kernel: [ 1.991568] hub 1-0:1.0: USB hub found Feb 13 12:52:27 raspberrypi kernel: [ 1.996699] hub 1-0:1.0: 1 port detected Feb 13 12:52:27 raspberrypi kernel: [ 2.002912] usbcore: registered new interface driver usb-storage Feb 13 12:52:27 raspberrypi kernel: [ 2.010664] mousedev: PS/2 mouse device common for all mice Feb 13 12:52:27 raspberrypi kernel: [ 2.018236] bcm2835-cpufreq: min=700000 max=700000 cur=700000 Feb 13 12:52:27 raspberrypi kernel: [ 2.025382] bcm2835-cpufreq: switching to governor powersave Feb 13 12:52:27 raspberrypi kernel: [ 2.032391] bcm2835-cpufreq: switching to governor powersave Feb 13 12:52:27 raspberrypi kernel: [ 2.039406] sdhci: Secure Digital Host Controller Interface driver Feb 13 12:52:27 raspberrypi kernel: [ 2.046870] sdhci: Copyright(c) Pierre Ossman Feb 13 12:52:27 raspberrypi kernel: [ 2.052698] DMA channels allocated for the MMC driver Feb 13 12:52:27 raspberrypi kernel: [ 2.096957] Load BCM2835 MMC driver Feb 13 12:52:27 raspberrypi kernel: [ 2.103382] sdhci-pltfm: SDHCI platform and OF driver helper Feb 13 12:52:27 raspberrypi kernel: [ 2.110588] ledtrig-cpu: registered to indicate activity on CPUs Feb 13 12:52:27 raspberrypi kernel: [ 2.120170] hidraw: raw HID events driver (C) Jiri Kosina Feb 13 12:52:27 raspberrypi kernel: [ 2.132501] usbcore: registered new interface driver usbhid Feb 13 12:52:27 raspberrypi kernel: [ 2.139552] usbhid: USB HID core driver Feb 13 12:52:27 raspberrypi kernel: [ 2.149407] TCP: cubic registered Feb 13 12:52:27 raspberrypi kernel: [ 2.155105] Initializing XFRM netlink socket Feb 13 12:52:27 raspberrypi kernel: [ 2.162784] NET: Registered protocol family 17 Feb 13 12:52:27 raspberrypi kernel: [ 2.168768] Key type dns_resolver registered Feb 13 12:52:27 raspberrypi kernel: [ 2.179056] registered taskstats version 1 Feb 13 12:52:27 raspberrypi kernel: [ 2.184564] vc-sm: Videocore shared memory driver Feb 13 12:52:27 raspberrypi kernel: [ 2.190586] [vc_sm_connected_init]: start Feb 13 12:52:27 raspberrypi kernel: [ 2.196648] [vc_sm_connected_init]: end - returning 0 Feb 13 12:52:27 raspberrypi kernel: [ 2.203274] Indeed it is in host mode hprt0 = 00021501 Feb 13 12:52:27 raspberrypi kernel: [ 2.215958] Waiting for root device /dev/mmcblk0p2... Feb 13 12:52:27 raspberrypi kernel: [ 2.222553] mmc0: host does not support reading read-only switch. assuming write-enable. Feb 13 12:52:27 raspberrypi kernel: [ 2.249028] mmc0: new high speed SDHC card at address 59b4 Feb 13 12:52:27 raspberrypi kernel: [ 2.267018] mmcblk0: mmc0:59b4
00000 7.47 GiB Feb 13 12:52:27 raspberrypi kernel: [ 2.274255] mmcblk0: p1 p2 Feb 13 12:52:27 raspberrypi kernel: [ 2.416926] usb 1-1: new high-speed USB device number 2 using dwc_otg Feb 13 12:52:27 raspberrypi kernel: [ 2.425364] Indeed it is in host mode hprt0 = 00001101 Feb 13 12:52:27 raspberrypi kernel: [ 2.637266] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 Feb 13 12:52:27 raspberrypi kernel: [ 2.645853] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Feb 13 12:52:27 raspberrypi kernel: [ 2.656896] hub 1-1:1.0: USB hub found Feb 13 12:52:27 raspberrypi kernel: [ 2.662234] hub 1-1:1.0: 5 ports detected Feb 13 12:52:27 raspberrypi kernel: [ 2.946959] usb 1-1.1: new high-speed USB device number 3 using dwc_otg Feb 13 12:52:27 raspberrypi kernel: [ 3.067217] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 Feb 13 12:52:27 raspberrypi kernel: [ 3.075988] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Feb 13 12:52:27 raspberrypi kernel: [ 3.089000] smsc95xx v1.0.4 Feb 13 12:52:27 raspberrypi kernel: [ 3.153766] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:8d:48:c4 Feb 13 12:52:27 raspberrypi kernel: [ 3.246995] usb 1-1.2: new low-speed USB device number 4 using dwc_otg Feb 13 12:52:27 raspberrypi kernel: [ 3.387558] usb 1-1.2: New USB device found, idVendor=0c40, idProduct=8000 Feb 13 12:52:27 raspberrypi kernel: [ 3.396353] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Feb 13 12:52:27 raspberrypi kernel: [ 3.405455] usb 1-1.2: Product:
2.4GHz receiver Feb 13 12:52:27 raspberrypi kernel: [ 3.411788] usb 1-1.2: Manufacturer: ELMCU Feb 13 12:52:27 raspberrypi kernel: [ 3.435241] input: ELMCU 2.4GHz receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0 Feb 13 12:52:27 raspberrypi kernel: [ 3.449138] hid-generic
0003:0C40:8000.0001: input,hidraw0: USB HID v1.11 Keyboard [ELMCU
2.4GHz receiver] on usb-bcm2708_usb-1.2/input0 Feb 13 12:52:27 raspberrypi kernel: [ 3.488546] input: ELMCU 2.4GHz receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1 Feb 13 12:52:27 raspberrypi kernel: [ 3.503016] hid-generic
0003:0C40:8000.0002: input,hidraw1: USB HID v1.11 Mouse [ELMCU 2.4GHz receiver] on usb-bcm2708_usb-1.2/input1 Feb 13 12:52:27 raspberrypi kernel: [ 3.531409] EXT4-fs (mmcblk0p2): recovery complete Feb 13 12:52:27 raspberrypi kernel: [ 3.541220] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) Feb 13 12:52:27 raspberrypi kernel: [ 3.552832] VFS: Mounted root (ext4 filesystem) on device 179:2. Feb 13 12:52:27 raspberrypi kernel: [ 3.563583] devtmpfs: mounted Feb 13 12:52:27 raspberrypi kernel: [ 3.568951] Freeing unused kernel memory: 140K (c05c7000 - c05ea000) Feb 13 12:52:27 raspberrypi kernel: [ 3.597037] usb 1-1.3: new high-speed USB device number 5 using dwc_otg Feb 13 12:52:27 raspberrypi kernel: [ 3.734448] usb 1-1.3: New USB device found, idVendor=148f, idProduct=2070 Feb 13 12:52:27 raspberrypi kernel: [ 3.744116] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Feb 13 12:52:27 raspberrypi kernel: [ 3.754095] usb 1-1.3: Product:
802.11 n WLAN Feb 13 12:52:27 raspberrypi kernel: [ 3.761133] usb 1-1.3: Manufacturer: Ralink Feb 13 12:52:27 raspberrypi kernel: [ 6.932988] cfg80211: Calling CRDA to update world regulatory domain Feb 13 12:52:27 raspberrypi kernel: [ 7.867035] usb 1-1.3: reset high-speed USB device number 5 using dwc_otg Feb 13 12:52:27 raspberrypi kernel: [ 8.087225] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected Feb 13 12:52:27 raspberrypi kernel: [ 8.496959] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected Feb 13 12:52:27 raspberrypi kernel: [ 8.660756] usbcore: registered new interface driver rt2800usb Feb 13 12:52:27 raspberrypi kernel: [ 11.597052] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Feb 13 12:52:27 raspberrypi kernel: [ 12.115359] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Feb 13 12:52:27 raspberrypi kernel: [ 13.086180] Driver for 1-wire Dallas network protocol. Feb 13 12:52:27 raspberrypi kernel: [ 13.107475] w1-gpio w1-gpio: gpio pin 4, gpio pullup pin -1 Feb 13 12:52:27 raspberrypi kernel: [ 18.637693] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Feb 13 12:52:27 raspberrypi kernel: [ 21.359569] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup Feb 13 12:52:27 raspberrypi kernel: [ 21.580116] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin' Feb 13 12:52:27 raspberrypi kernel: [ 21.582984] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29 Feb 13 12:52:27 raspberrypi kernel: [ 24.611930] wlan0: authenticate with 00:14:6c:63:bf:34 Feb 13 12:52:27 raspberrypi kernel: [ 24.754279] wlan0: direct probe to 00:14:6c:63:bf:34 (try 1/3) Feb 13 12:52:27 raspberrypi kernel: [ 24.956808] wlan0: direct probe to 00:14:6c:63:bf:34 (try 2/3) Feb 13 12:52:27 raspberrypi kernel: [ 25.166809] wlan0: direct probe to 00:14:6c:63:bf:34 (try 3/3) Feb 13 12:52:27 raspberrypi kernel: [ 25.376798] wlan0: authentication with 00:14:6c:63:bf:34 timed out Feb 13 12:52:27 raspberrypi kernel: [ 27.310603] wlan0: authenticate with 00:14:6c:63:bf:34 Feb 13 12:52:27 raspberrypi kernel: [ 27.380128] wlan0: send auth to
00:14:6c:63:bf:34 (try 1/3) Feb 13 12:52:27 raspberrypi kernel: [ 27.381803] wlan0: authenticated Feb 13 12:52:27 raspberrypi kernel: [ 27.386849] wlan0: associate with 00:14:6c:63:bf:34 (try 1/3) Feb 13 12:52:27 raspberrypi kernel: [ 27.389564] wlan0: RX AssocResp from 00:14:6c:63:bf:34 (capab=0x431 status=0 aid=1) Feb 13 12:52:27 raspberrypi kernel: [ 27.400683] wlan0: associated
No, /var/log/messages should be on the SD card containing the heating controller image that is/was in the Pi zero.
But, I missed a step or two. The following assumes that you have a USB micro SD-card reader, or a standard SD-card reader and a micro-SD card adapter, i.e. that you can use to access the controller image card with your Pi2.
What I should have said was:
- take the controller image card out of the Pi zero
- stick in into the USB card reader and plug that into the Pi 2.
- boot the Pi 2 as usual.
- mount the bigger partition on the controller image card if it doesn't auto-mount.
- then cd into that partition and use less to read var/log/messages on it, looking for boot time errors and/or the last few lines of the boot report to see what the Pi zero was doing when it hung or crashed.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
A 16GB thermometer? I don't know(!) Yes I could put Mint and gparted on a spare x86, in half-an-hour I was rather hoping I could use gparted to manipulate the existing partitions. Better still if I could do it on the pi.
Sure, do it that way if you have enough unused space on the existing image card to expand at least the Linux filesystem partition.
Since you didn't say how big the card is and whether it had any spare space, I thought it was best to describe how to do the worst case plot which assumes the card is already full. I moved my system from a 4GB card to an 8GB one with an SD card reader plugged into my Pi 2B and using cfdisk to partition the new card and dd to copy the contents of the partitions. That 'just worked'.
So, how big are the existing partitions and how much spare space is there on the controller image card?
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
OK, I've got it going now, thanks to all for the help.
Gordon was correct of course about the need for the up-date/grade, but why didn't it work?
I was dubious about the 8GB SD not being big enough, as gparted on the x86 machine showed an EXT4 partition of 7.42GB with 4.52GB free.
Nevertheless, in desperation, I robbed the 16GB card out of my Android phone and tried to set that up, same issue, it clearly wasn't the free space in the EXT4.
Long story short, the problem was the mount point of var/cache
Not sure why anyone would think 50MB would be enough. I think it would be difficult to increase this ring fence retrospectively but some Googling later it seems the easiest way around it is to temporarily unmount /var/cache and remove, or comment out the corresponding entry in /etc/fstab, so it is effectivly mounted at root.
So at this moment I am repeating the process on a clean install on the
8GB card, and I can put the 16GB one back in my phone.
tmpfs are RAMdisks. They are not on the SD card but in RAM. If the apt-get upgrade is not too big usually 50MB is enough. If, as in your case, is not enough, you have the option to increase the siz e (google for it), or upgrade the packages in small steps
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.