jb63
Posts: 152
Joined: Mon May 11, 2015 6:41 pm
Location: Chicago, USA
Contact: Website

Sense Hat NOT detected any more

Fri Nov 06, 2015 4:55 pm

I managed to get it working fine and was able to run some sample codes. Now however, whatever program I run, I get an error message telling me

OSError: Cannot detect RPI-Sense FBdevice

The other thing I noticed is, when it was working, the 8x8 LED display would light up at boot-up, then turn off after few seconds. Now however, all lights remain ON all the time.

Is there a way to detect the integrity of the Hat? Of course, the Pi needs to be able to detect it first.

Any help would be appreciated.
Last edited by jb63 on Fri Nov 06, 2015 7:26 pm, edited 1 time in total.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense Hat NOT detected any more

Fri Nov 06, 2015 5:22 pm

Could you please provide the output of dmesg?

jb63
Posts: 152
Joined: Mon May 11, 2015 6:41 pm
Location: Chicago, USA
Contact: Website

Re: Sense Hat NOT detected any more

Fri Nov 06, 2015 6:27 pm

Here is what I get when I type dmesg in an xterm:

Code: Select all


[pi@raspberrypi-nlPd7ZuAgA ~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: BCM2709
[    0.000000] cma: Reserved 8 MiB at 0x36800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 225280
[    0.000000] free_area_init_node: node 0, pgdat 8085af80, node_mem_map b6036000
[    0.000000]   Normal zone: 1980 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 225280 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 13 pages/cpu @b5ffd000 s20608 r8192 d24448 u53248
[    0.000000] pcpu-alloc: s20608 r8192 d24448 u53248 alloc=13*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: 223300
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0x69d98e7a smsc95xx.macaddr=B8:27:EB:D9:8E:7A bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline 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: 874604K/901120K available (5958K kernel code, 534K rwdata, 1648K rodata, 416K init, 757K bss, 18324K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xb7800000 - 0xff000000   (1144 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xb7000000   ( 880 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80775cd0   (7608 kB)
[    0.000000]       .init : 0x80776000 - 0x807de000   ( 416 kB)
[    0.000000]       .data : 0x807de000 - 0x80863af4   ( 535 kB)
[    0.000000]        .bss : 0x80866000 - 0x8092378c   ( 758 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible 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 (virt).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000031] Switching to timer-based delay loop, resolution 52ns
[    0.000317] Console: colour dummy device 80x30
[    0.002055] console [tty1] enabled
[    0.002118] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.002218] pid_max: default: 32768 minimum: 301
[    0.002582] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002649] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003977] Initializing cgroup subsys blkio
[    0.004062] Initializing cgroup subsys memory
[    0.004132] Initializing cgroup subsys devices
[    0.004193] Initializing cgroup subsys freezer
[    0.004267] Initializing cgroup subsys net_cls
[    0.004380] CPU: Testing write buffer coherency: ok
[    0.004499] ftrace: allocating 20207 entries in 60 pages
[    0.053934] missing device node for CPU 0
[    0.054015] missing device node for CPU 1
[    0.054053] missing device node for CPU 2
[    0.054088] missing device node for CPU 3
[    0.054133] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.054179] [bcm2709_smp_prepare_cpus] enter
[    0.054337] Setting up static identity map for 0x8240 - 0x8274
[    0.113924] [bcm2709_boot_secondary] cpu:1 started (0) 16
[    0.114362] [bcm2709_secondary_init] enter cpu:1
[    0.114417] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.133911] [bcm2709_boot_secondary] cpu:2 started (0) 17
[    0.134273] [bcm2709_secondary_init] enter cpu:2
[    0.134305] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.153949] [bcm2709_boot_secondary] cpu:3 started (0) 16
[    0.154205] [bcm2709_secondary_init] enter cpu:3
[    0.154235] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.154329] Brought up 4 CPUs
[    0.154435] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.154478] CPU: All CPU(s) started in SVC mode.
[    0.155483] devtmpfs: initialized
[    0.176047] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.176402] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.177561] pinctrl core: initialized pinctrl subsystem
[    0.178389] NET: Registered protocol family 16
[    0.184112] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.185277] bcm2709.uart_clock = 3000000
[    0.185354] of_platform_populate failed: -22
[    0.187577] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.187645] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.187825] Serial: AMBA PL011 UART driver
[    0.187995] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    0.188542] bcm2835-mbox bcm2835-mbox: mailbox enabled
[    0.255436] bcm2708-dmaengine bcm2708-dmaengine: DMA legacy API manager at f3007000, dmachans=0x7f35
[    0.255544] bcm2708-dmaengine bcm2708-dmaengine: failed to get irq for DMA channel 13
[    0.255612] bcm2708-dmaengine bcm2708-dmaengine: Initialized 8 DMA channels (+ 1 legacy)
[    0.256412] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[    0.256480] bcm2708-dmaengine bcm2708-dmaengine: dma_debug:0
[    0.257205] SCSI subsystem initialized
[    0.257478] usbcore: registered new interface driver usbfs
[    0.257611] usbcore: registered new interface driver hub
[    0.257796] usbcore: registered new device driver usb
[    0.258484] raspberrypi-firmware raspberrypi-firmware.0: Attached to firmware from 2015-09-23 12:21
[    0.285722] Switched to clocksource arch_sys_counter
[    0.334751] FS-Cache: Loaded
[    0.335163] CacheFiles: Loaded
[    0.348206] NET: Registered protocol family 2
[    0.349635] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.349830] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.350071] TCP: Hash tables configured (established 8192 bind 8192)
[    0.350227] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.350324] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.350715] NET: Registered protocol family 1
[    0.351255] RPC: Registered named UNIX socket transport module.
[    0.351309] RPC: Registered udp transport module.
[    0.351347] RPC: Registered tcp transport module.
[    0.351385] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.352381] bcm2708_gpio: bcm2708_gpio_probe 80802a68
[    0.354250] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.370343] VFS: Disk quotas dquot_6.6.0
[    0.370751] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.373279] FS-Cache: Netfs 'nfs' registered for caching
[    0.374567] NFS: Registering the id_resolver key type
[    0.374681] Key type id_resolver registered
[    0.374720] Key type id_legacy registered
[    0.377782] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.378044] io scheduler noop registered
[    0.378101] io scheduler deadline registered (default)
[    0.378495] io scheduler cfq registered
[    0.380185] BCM2708FB: allocated DMA memory f6c00000
[    0.380267] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.409773] Console: switching to colour frame buffer device 228x61
[    0.427968] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[    0.429260] vc-cma: Videocore CMA driver
[    0.429367] vc-cma: vc_cma_base      = 0x00000000
[    0.429474] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.429590] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.429943] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.446651] brd: module loaded
[    0.455660] loop: module loaded
[    0.456847] vchiq: vchiq_init_state: slot_zero = 0xb6c80000, is_master = 0
[    0.458787] Loading iSCSI transport class v2.0-870.
[    0.459866] usbcore: registered new interface driver smsc95xx
[    0.460075] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.660519] Core Release: 2.80a
[    0.660615] Setting default values for core params
[    0.660769] Finished setting default values for core params
[    0.861278] Using Buffer DMA mode
[    0.861368] Periodic Transfer Interrupt Enhancement - disabled
[    0.861493] Multiprocessor Interrupt Enhancement - disabled
[    0.861614] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.861718] Dedicated Tx FIFOs mode
[    0.862164] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xb6c14000 dma = 0xf6c14000 len=9024
[    0.862395] FIQ FSM acceleration enabled for :
[    0.862395] Non-periodic Split Transactions
[    0.862395] Periodic Split Transactions
[    0.862395] High-Speed Isochronous Endpoints
[    0.862720] dwc_otg: Microframe scheduler enabled
[    0.862793] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80401108
[    0.867543] WARN::hcd_init_fiq:413: FIQ ASM at 0x80401464 length 36
[    0.872227] WARN::hcd_init_fiq:438: MPHI regs_base at 0xb789a000
[    0.876933] dwc_otg bcm2708_usb: DWC OTG Controller
[    0.881703] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    0.886492] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    0.891206] Init: Port Power? op_state=1
[    0.895855] Init: Power Port (0)
[    0.900748] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.905413] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.910087] usb usb1: Product: DWC OTG Controller
[    0.914713] usb usb1: Manufacturer: Linux 4.1.7-v7+ dwc_otg_hcd
[    0.919390] usb usb1: SerialNumber: bcm2708_usb
[    0.925075] hub 1-0:1.0: USB hub found
[    0.929905] hub 1-0:1.0: 1 port detected
[    0.935005] dwc_otg: FIQ enabled
[    0.935019] dwc_otg: NAK holdoff enabled
[    0.935031] dwc_otg: FIQ split-transaction FSM enabled
[    0.935071] Module dwc_common_port init
[    0.935491] usbcore: registered new interface driver usb-storage
[    0.940518] mousedev: PS/2 mouse device common for all mice
[    0.946033] bcm2835-cpufreq: min=600000 max=900000
[    0.951067] sdhci: Secure Digital Host Controller Interface driver
[    0.955694] sdhci: Copyright(c) Pierre Ossman
[    0.960630] mmc-bcm2835 mmc-bcm2835.0: mmc_debug:0 mmc_debug2:0
[    0.965283] mmc-bcm2835 mmc-bcm2835.0: DMA channels allocated
[    1.005914] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.010998] ledtrig-cpu: registered to indicate activity on CPUs
[    1.015820] hidraw: raw HID events driver (C) Jiri Kosina
[    1.020737] usbcore: registered new interface driver usbhid
[    1.025372] usbhid: USB HID core driver
[    1.030378] Initializing XFRM netlink socket
[    1.035042] NET: Registered protocol family 17
[    1.039888] Key type dns_resolver registered
[    1.044930] Registering SWP/SWPB emulation handler
[    1.045666] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.049572] mmc0: new high speed SDHC card at address aaaa
[    1.050219] mmcblk0: mmc0:aaaa SL32G 28.7 GiB 
[    1.054106]  mmcblk0: p1 p2
[    1.069446] registered taskstats version 1
[    1.074467] vc-sm: Videocore shared memory driver
[    1.079152] [vc_sm_connected_init]: start
[    1.084544] [vc_sm_connected_init]: end - returning 0
[    1.125898] Indeed it is in host mode hprt0 = 00021501
[    1.305823] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.310823] Indeed it is in host mode hprt0 = 00001101
[    1.506124] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.510856] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.516495] hub 1-1:1.0: USB hub found
[    1.521332] hub 1-1:1.0: 5 ports detected
[    1.805766] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.906192] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.910904] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.918451] smsc95xx v1.0.4
[    1.979835] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:d9:8e:7a
[    2.075768] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    2.176530] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179
[    2.181362] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.186227] usb 1-1.2: Product: 802.11n NIC
[    2.191041] usb 1-1.2: Manufacturer: Realtek
[    2.195835] usb 1-1.2: SerialNumber: 00E04C0001
[    2.242043] EXT4-fs (mmcblk0p2): recovery complete
[    2.251819] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.256722] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.262915] devtmpfs: mounted
[    2.268450] Freeing unused kernel memory: 416K (80776000 - 807de000)
[    2.435797] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    2.558140] usb 1-1.3: New USB device found, idVendor=05ac, idProduct=12ab
[    2.563180] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.568164] usb 1-1.3: Product: iPad
[    2.573096] usb 1-1.3: Manufacturer: Apple Inc.
[    2.578028] usb 1-1.3: SerialNumber: ae0489a2a4cef342ca86611459ed8a0d7a40a625
[    2.675823] usb 1-1.4: new low-speed USB device number 6 using dwc_otg
[    2.801383] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c05a
[    2.807156] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.812484] usb 1-1.4: Product: USB Optical Mouse
[    2.817582] usb 1-1.4: Manufacturer: Logitech
[    2.828895] input: Logitech USB Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C05A.0001/input/input0
[    2.835521] hid-generic 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-bcm2708_usb-1.4/input0
[    2.935828] usb 1-1.5: new low-speed USB device number 7 using dwc_otg
[    3.067952] usb 1-1.5: New USB device found, idVendor=046d, idProduct=c31c
[    3.073577] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.080086] usb 1-1.5: Product: USB Keyboard
[    3.086132] usb 1-1.5: Manufacturer: Logitech
[    3.106723] input: Logitech USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:046D:C31C.0002/input/input1
[    3.166232] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-bcm2708_usb-1.5/input0
[    3.199490] input: Logitech USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:046D:C31C.0003/input/input2
[    3.266253] hid-generic 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-bcm2708_usb-1.5/input1
[    3.447270] udevd[175]: starting version 175
[    3.912921] bcm2708_i2c_init_pinmode(1,2)
[    3.919655] bcm2708_i2c_init_pinmode(1,3)
[    3.950989] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[    3.976202] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    3.987625] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x3f204000 (irq 80)
[    4.067952] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[    4.161371] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[    4.290969] usbcore: registered new interface driver r8188eu
[    4.387094] random: nonblocking pool is initialized
[    4.561385] ipheth 1-1.3:4.2: Apple iPhone USB Ethernet device attached
[    4.566108] pcm512x 1-004d: Failed to reset device: -5
[    4.566288] pcm512x: probe of 1-004d failed with error -5
[    4.566682] pcm512x 1-004c: Failed to reset device: -5
[    4.566825] pcm512x: probe of 1-004c failed with error -5
[    4.570402] wm8804 1-003b: Failed to read device ID: -5
[    4.570565] wm8804: probe of 1-003b failed with error -5
[    4.609597] usbcore: registered new interface driver ipheth
[    6.285539] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.616028] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.181743] i2c /dev entries driver
[   11.571083] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   12.786490] MAC Address = c4:6e:1f:27:01:dc
[   15.590174] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:2162644k SSFS
[   18.075776] ------------[ cut here ]------------
[   18.075836] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x27c/0x29c()
[   18.075849] NETDEV WATCHDOG: eth1 (ipheth): transmit queue 0 timed out
[   18.075857] Modules linked in: i2c_dev snd_bcm2835 snd_soc_tas5713 snd_soc_wm8804_i2c snd_soc_wm8804 snd_soc_pcm512x_i2c snd_soc_pcm512x ipheth regmap_i2c snd_soc_bcm2708_i2s regmap_mmio snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_seq joydev snd_seq_device evdev snd_timer r8188eu(C) snd spi_bcm2708 i2c_bcm2708
[   18.075967] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G         C      4.1.7-v7+ #817
[   18.075975] Hardware name: BCM2709
[   18.076010] [<80018440>] (unwind_backtrace) from [<80013e0c>] (show_stack+0x20/0x24)
[   18.076029] [<80013e0c>] (show_stack) from [<80558548>] (dump_stack+0x98/0xe0)
[   18.076050] [<80558548>] (dump_stack) from [<80026a4c>] (warn_slowpath_common+0x8c/0xc8)
[   18.076070] [<80026a4c>] (warn_slowpath_common) from [<80026ac8>] (warn_slowpath_fmt+0x40/0x48)
[   18.076089] [<80026ac8>] (warn_slowpath_fmt) from [<804a0a34>] (dev_watchdog+0x27c/0x29c)
[   18.076112] [<804a0a34>] (dev_watchdog) from [<8007af30>] (call_timer_fn+0x40/0x1b0)
[   18.076133] [<8007af30>] (call_timer_fn) from [<8007b624>] (run_timer_softirq+0x200/0x310)
[   18.076152] [<8007b624>] (run_timer_softirq) from [<8002a260>] (__do_softirq+0x124/0x3d4)
[   18.076167] [<8002a260>] (__do_softirq) from [<8002a8c8>] (irq_exit+0xcc/0x13c)
[   18.076184] [<8002a8c8>] (irq_exit) from [<8006b614>] (__handle_domain_irq+0x8c/0xec)
[   18.076202] [<8006b614>] (__handle_domain_irq) from [<8000933c>] (asm_do_IRQ+0x2c/0x30)
[   18.076219] [<8000933c>] (asm_do_IRQ) from [<8055e1b4>] (__irq_svc+0x34/0x14c)
[   18.076229] Exception stack(0x807dff20 to 0x807dff68)
[   18.076243] ff20: 807fdcdc 00000000 00000000 00000000 807de000 807fcddc 00000001 ffffffff
[   18.076258] ff40: 8085e6fc 807d8304 807fcd7c 807dff74 807dff68 807dff68 800109fc 80010a00
[   18.076267] ff60: 60000013 ffffffff
[   18.076285] [<8055e1b4>] (__irq_svc) from [<80010a00>] (arch_cpu_idle+0x30/0x4c)
[   18.076305] [<80010a00>] (arch_cpu_idle) from [<8005fab8>] (cpu_startup_entry+0x20c/0x2c8)
[   18.076325] [<8005fab8>] (cpu_startup_entry) from [<80553b34>] (rest_init+0x84/0x9c)
[   18.076346] [<80553b34>] (rest_init) from [<80776ccc>] (start_kernel+0x388/0x3f4)
[   18.076358] ---[ end trace e0b90baa042b050f ]---
[   18.076375] ipheth 1-1.3:4.2: ipheth_tx_timeout: TX timeout]

Last edited by jb63 on Fri Nov 06, 2015 7:10 pm, edited 3 times in total.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense Hat NOT detected any more

Fri Nov 06, 2015 6:36 pm

That WARNING at the end is some cause for concern.

Could you also install device-tree-compiler and provide the output of "dtc -I fs /proc/device-tree". Please use the code tags this time:

Code: Select all

like so

jb63
Posts: 152
Joined: Mon May 11, 2015 6:41 pm
Location: Chicago, USA
Contact: Website

Re: Sense Hat NOT detected any more

Fri Nov 06, 2015 7:19 pm

It can't find such directory. I tried to create one under /proc but it won't let me.

Code: Select all

pi@raspberrypi-nlPd7ZuAgA ~ $ dtc -I fs /proc/device-tree
FATAL ERROR: Couldn't opendir() "/proc/device-tree": No such file or directory
There is also a file called 'devices', and its contents are listed below

Code: Select all

Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  5 ttyprintk
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 89 i2c
116 alsa
128 ptm
136 pts
153 spi
162 raw
180 usb
189 usb_device
204 ttyAMA
246 vcsm
247 hidraw
248 vchiq
249 vcio
250 vc-mem
251 vc-cma
252 bsg
253 watchdog
254 rtc

Block devices:
  1 ramdisk
259 blkext
  7 loop
  8 sd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc

jb63
Posts: 152
Joined: Mon May 11, 2015 6:41 pm
Location: Chicago, USA
Contact: Website

Re: Sense Hat NOT detected any more

Sat Nov 07, 2015 12:41 am

Here is one more hint. I have 2× PI 2 B. One SD card has the NOOBS package, the other has a Matlab installation. It appears the Matlab installation is preventing the PI2 from detecting the SenseHat. I did swap the SDs between the 2 RPIs, and now, the SenseHat works fine. Thus, I now know for sure this is NOT a hardware issue, but just something wrong with the Matlab installation.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense Hat NOT detected any more

Sat Nov 07, 2015 12:26 pm

Nn the setup that's not working, what does /boot/config.txt contain. You seem to have device tree disabled.

jb63
Posts: 152
Joined: Mon May 11, 2015 6:41 pm
Location: Chicago, USA
Contact: Website

Re: Sense Hat NOT detected any more

Fri Nov 13, 2015 1:35 am

Sorry, I no longer have the setup that's not working. I simply wrote over that SD ... :(

Return to “Astro Pi”