You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dwc_otg_hcd_handle_hc_fsm:2459:Unexpected IRQ state on FSM transaction:dev_addr=4 ep=1 fsm=6, hcint=0x00000002 #2335
Close within 30 daysIssue will be closed within 30 days unless requested to stay openWaiting for external inputWaiting for a comment from the originator of the issue, or a collaborator.
Without the bcm2835-v4l2 module loaded at boot, the read-only NFS boot works fine. However, starting the bcm2835-v4l2 module manually results in a system hang.
Loading bcm2835-v4l2 will power up the camera module, drawing (IIRC) an extra 150mA off the power supply. The SMSC9514 is more susceptible to brown-out that the BCM283x, and brown-out puts it in a state that Linux doesn't recover from. No SMSC9514 = no ethernet = no NFS mount.
Seeing as you are using a Pi2, is the power LED on and stable? vcgencmd get_throttled should report 0 if there have been no low voltage issues.
Alternatively, check whether running raspivid causes the same problems, as that will also power up the camera.
I’m travelling now. I can check this Thursday when I am back. Thank you for
looking into it!
Op ma 8 jan. 2018 om 18:58 schreef 6by9 <notifications@github.com>
My instinctive answer is the PSU and low voltage.
Loading bcm2835-v4l2 will power up the camera module, drawing (IIRC) an
extra 150mA off the power supply. The SMSC9514 is more susceptible to
brown-out that the BCM283x, and brown-out puts it in a state that Linux
doesn't recover from. No SMSC9514 = no ethernet = no NFS mount.
Seeing as you are using a Pi2, is the power LED on and stable? vcgencmd
get_throttled should report 0 if there have been no low voltage issues.
Alternatively, check whether running raspivid causes the same problems, as
that will also power up the camera.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2335 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGkvQxVjo9YgSiEZeuZfBIaz4XnrRlkTks5tIldFgaJpZM4RUy0S>
.
Power supply:
The power supply provides 25W @ 5v, more than plenty I assume, also there is no "lighting bold" visible in the upper right corner during startup. I double checked by replacing it with a 2.5A PSU, which also worked.
Serial Debug:
I've captured the serial console output and saved it to the attached file.
I was already wondering about all the chinese signs that suddenly showed up after I downloaded the file. Thank you for fixing it, how did you do it? (before uploading the file, it looked fine)
I just opened it in a decent editor (Notepad++ in this case, but emacs, vi etc. would have worked) and deleted the NUL, tidying it up a bit further by removing the duplicate newlines.
That leaves the question of running raspivid in place of loading bcm2835-v4l2. If that also takes down the SMSC9514 then it sounds like a hardware issue, otherwise it has to be something in the kernel.
I can remove the module from loading at startup and then start raspivid, is that what I should try? Any specific raspivid command that you would like to see?
I can remove the module from loading at startup and then start raspivid, is that what I should try?
Yes. Is it the act of enabling the camera that is causing your issue, or something else?
Any specific raspivid command that you would like to see?
Anything that actually starts up the camera. I don't care if it records anything or not. raspivid -t 2000 is as good as anything to just run preview for 2 seconds.
Yes, loading the module causes the issue. Either loading during boot or loading manually (if not loaded at boot) hangs the system.
just tested with raspivid, it worked.
below you will find the serial debug, the only difference from the version above beeing that the bcm2835-v4l2 module is not loaded at startup. The pi starts up fine and raspivid works.
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.9.59-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1047 SMP Sun Oct 29 12:19:23 GMT 2017
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 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 2 Model B Rev 1.1
[ 0.000000] cma: Reserved 8 MiB at 0x2f800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 14 pages/cpu @af0f1000 s25600 r8192 d23552 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194880
[ 0.000000] Kernel command line: bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=800 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 ip=dhcp root=/dev/nfs rootfstype=nfs nfs-options=hard,intr,ro elevator=deadline fsck.repair=skip rootwait noswap ro
[ 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: 757668K/786432K available (7168K kernel code, 486K rwdata, 2012K rodata, 1024K init, 770K bss, 20572K 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 : 0xb0800000 - 0xff800000 (1264 MB)
[ 0.000000] lowmem : 0x80000000 - 0xb0000000 ( 768 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80800000 (8160 kB)
[ 0.000000] .init : 0x80b00000 - 0x80c00000 (1024 kB)
[ 0.000000] .data : 0x80c00000 - 0x80c79834 ( 487 kB)
[ 0.000000] .bss : 0x80c7b000 - 0x80d3b964 ( 771 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: 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.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000021] Switching to timer-based delay loop, resolution 52ns
[ 0.000250] Console: colour dummy device 80x30
[ 0.000911] console [tty1] enabled
[ 0.000948] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001001] pid_max: default: 32768 minimum: 301
[ 0.001285] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001320] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002309] Disabling memory control group subsystem
[ 0.002428] CPU: Testing write buffer coherency: ok
[ 0.002493] ftrace: allocating 22392 entries in 66 pages
[ 0.037877] CPU0: update cpu_capacity 1024
[ 0.037929] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.037985] Setting up static identity map for 0x100000 - 0x100034
[ 0.040088] CPU1: update cpu_capacity 1024
[ 0.040096] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.040878] CPU2: update cpu_capacity 1024
[ 0.040885] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.041620] CPU3: update cpu_capacity 1024
[ 0.041626] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.041712] Brought up 4 CPUs
[ 0.041848] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.041871] CPU: All CPU(s) started in HYP mode.
[ 0.041891] CPU: Virtualization extensions available.
[ 0.042749] devtmpfs: initialized
[ 0.052144] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.052472] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.052528] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.053125] pinctrl core: initialized pinctrl subsystem
[ 0.054092] NET: Registered protocol family 16
[ 0.056099] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.063273] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.063317] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.063489] Serial: AMBA PL011 UART driver
[ 0.065164] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.128840] bcm2835-dma 3f007000.dma: DMA legacy API manager at b080f000, dmachans=0x1
[ 0.130533] SCSI subsystem initialized
[ 0.130702] usbcore: registered new interface driver usbfs
[ 0.130792] usbcore: registered new interface driver hub
[ 0.130918] usbcore: registered new device driver usb
[ 0.137683] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-10-24 17:13
[ 0.139006] clocksource: Switched to clocksource arch_sys_counter
[ 0.177251] VFS: Disk quotas dquot_6.6.0
[ 0.177369] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.177604] FS-Cache: Loaded
[ 0.177902] CacheFiles: Loaded
[ 0.189170] NET: Registered protocol family 2
[ 0.190110] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.190225] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.190372] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.190485] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.190553] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.190806] NET: Registered protocol family 1
[ 0.191301] RPC: Registered named UNIX socket transport module.
[ 0.191332] RPC: Registered udp transport module.
[ 0.191353] RPC: Registered tcp transport module.
[ 0.191374] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.192247] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.194438] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.207223] FS-Cache: Netfs 'nfs' registered for caching
[ 0.208148] NFS: Registering the id_resolver key type
[ 0.208205] Key type id_resolver registered
[ 0.208228] Key type id_legacy registered
[ 0.210574] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.210739] io scheduler noop registered
[ 0.210765] io scheduler deadline registered (default)
[ 0.211033] io scheduler cfq registered
[ 0.215003] BCM2708FB: allocated DMA memory ef900000
[ 0.215059] BCM2708FB: allocated DMA channel 0 @ b080f000
[ 0.239526] Console: switching to colour frame buffer device 160x50
[ 0.253576] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.253794] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.254445] vc-sm: Videocore shared memory driver
[ 0.269065] brd: module loaded
[ 0.277155] loop: module loaded
[ 0.277267] Loading iSCSI transport class v2.0-870.
[ 0.277917] usbcore: registered new interface driver smsc95xx
[ 0.278067] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.505885] Core Release: 2.80a
[ 0.505978] Setting default values for core params
[ 0.506116] Finished setting default values for core params
[ 0.706563] Using Buffer DMA mode
[ 0.706650] Periodic Transfer Interrupt Enhancement - disabled
[ 0.706775] Multiprocessor Interrupt Enhancement - disabled
[ 0.706895] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.710901] Dedicated Tx FIFOs mode
[ 0.715175] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xaf914000 dma = 0xef914000 len=9024
[ 0.719298] FIQ FSM acceleration enabled for :
[ 0.719298] Non-periodic Split Transactions
[ 0.719298] Periodic Split Transactions
[ 0.719298] High-Speed Isochronous Endpoints
[ 0.719298] Interrupt/Control Split Transaction hack enabled
[ 0.739375] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058f5b0
[ 0.743361] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058f920 length 36
[ 0.747313] WARN::hcd_init_fiq:486: MPHI regs_base at 0xb087a000
[ 0.751277] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.755227] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.759259] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.763307] Init: Port Power? op_state=1
[ 0.767296] Init: Power Port (0)
[ 0.771453] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.775427] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.779387] usb usb1: Product: DWC OTG Controller
[ 0.783270] usb usb1: Manufacturer: Linux 4.9.59-v7+ dwc_otg_hcd
[ 0.787173] usb usb1: SerialNumber: 3f980000.usb
[ 0.791850] hub 1-0:1.0: USB hub found
[ 0.795800] hub 1-0:1.0: 1 port detected
[ 0.800632] usbcore: registered new interface driver usb-storage
[ 0.804749] mousedev: PS/2 mouse device common for all mice
[ 0.809644] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.813869] bcm2835-cpufreq: min=900000 max=900000
[ 0.818186] sdhci: Secure Digital Host Controller Interface driver
[ 0.822188] sdhci: Copyright(c) Pierre Ossman
[ 0.826437] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[ 0.830692] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.835290] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.839441] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.843589] usbcore: registered new interface driver usbhid
[ 0.847559] usbhid: USB HID core driver
[ 0.852377] vchiq: vchiq_init_state: slot_zero = 0xaf980000, is_master = 0
[ 0.857996] [vc_sm_connected_init]: start
[ 0.867113] [vc_sm_connected_init]: end - returning 0
[ 0.871529] Initializing XFRM netlink socket
[ 0.875543] NET: Registered protocol family 17
[ 0.879648] Key type dns_resolver registered
[ 0.883941] Registering SWP/SWPB emulation handler
[ 0.888614] registered taskstats version 1
[ 0.897610] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.901807] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 1.019129] Indeed it is in host mode hprt0 = 00021501
[ 1.108922] random: fast init done
[ 1.189044] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.189212] Indeed it is in host mode hprt0 = 00001101
[ 1.419306] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.419314] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.420097] hub 1-1:1.0: USB hub found
[ 1.420194] hub 1-1:1.0: 5 ports detected
[ 1.739031] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.869276] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.869284] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.871948] smsc95xx v1.0.5
[ 1.895279] console [ttyAMA0] enabled
[ 1.904654] sdhost: log_buf @ af913000 (ef913000)
[ 1.962424] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:72:9a:6b
[ 1.989043] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.998780] of_cfs_init
[ 2.005479] of_cfs_init: OK
[ 2.069039] usb 1-1.4: new low-speed USB device number 4 using dwc_otg
[ 2.086351] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.100857] mmc0: new high speed SDHC card at address 59b4
[ 2.111700] mmcblk0: mmc0:59b4 00000 7.37 GiB
[ 2.122032] mmcblk0: p1
[ 2.141080] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 2.226947] usb 1-1.4: New USB device found, idVendor=045e, idProduct=078c
[ 2.238219] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.249899] usb 1-1.4: Product: USB Keyboard
[ 2.258518] usb 1-1.4: Manufacturer: LITEON Technology
[ 2.285528] input: LITEON Technology USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:045E:078C.0001/input/input0
[ 2.369695] hid-generic 0003:045E:078C.0001: input,hidraw0: USB HID v1.10 Keyboard [LITEON Technology USB Keyboard] on usb-3f980000.usb-1.4/input0
[ 3.592442] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[ 3.649024] Sending DHCP requests .., OK
[ 5.969023] IP-Config: Got DHCP answer from 192.168.178.2, my address is 192.168.178.86
[ 5.981943] IP-Config: Complete:
[ 5.990060] device=eth0, hwaddr=b8:27:eb:72:9a:6b, ipaddr=192.168.178.86, mask=255.255.254.0, gw=192.168.178.2
[ 6.005587] host=192.168.178.86, domain=, nis-domain=(none)
[ 6.016675] bootserver=192.168.178.2, rootserver=192.168.178.2, rootpath=/nfsshares/fs/,tcp nameserver0=192.168.178.2
[ 6.044697] VFS: Mounted root (nfs filesystem) readonly on device 0:15.
[ 6.057501] devtmpfs: mounted
[ 6.067019] Freeing unused kernel memory: 1024K
[ 6.637501] systemd[1]: System time before build time, advancing clock.
[ 6.785815] NET: Registered protocol family 10
[ 6.811612] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 6.855874] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 6.885850] systemd[1]: Detected architecture arm.
[ 6.918768] systemd[1]: Set hostname to <raspberrypi>.
[ 6.956889] random: crng init done
[ 7.117936] uart-pl011 3f201000.serial: no DMA platform data
[ 7.677776] systemd[1]: Created slice User and Session Slice.
[ 7.696209] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 7.715125] systemd[1]: Listening on udev Kernel Socket.
[ 7.732598] systemd[1]: Listening on Journal Socket.
[ 7.749992] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.771722] systemd[1]: Listening on RPCbind Server Activation Socket.
[ 7.790395] systemd[1]: Listening on Journal Socket (/dev/log).
[[0;32m OK [0m] Started Flush Journal to Persistent Storage.
[[0;32m OK [0m] Started Show Plymouth Boot Screen.
[[0;32m OK [0m] Reached target Encrypted Volumes.
[[0;32m OK [0m] Reached target Paths.
[[0;32m OK [0m] Started Forward Password Requests to Plymouth Directory Watch.
[[0;32m OK [0m] Found device /dev/ttyAMA0.
[[0;32m OK [0m] Found device /dev/mmcblk0p1.
[[0;32m OK [0m] Reached target Sound Card.
Starting File System Check on /dev/mmcblk0p1...
[[0;32m OK [0m] Started File System Check Daemon to report status.
[[0;32m OK [0m] Started File System Check on /dev/mmcblk0p1.
Mounting /boot...
[[0;32m OK [0m] Mounted /boot.
[[0;32m OK [0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Preprocess NFS configuration...
Starting Set console font and keymap...
Starting Create Volatile Files and Directories...
Starting Raise network interfaces...
[[0;32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[[0;32m OK [0m] Started Preprocess NFS configuration.
[[0;32m OK [0m] Reached target NFS client services.
[[0;32m OK [0m] Started Set console font and keymap.
[[0;32m OK [0m] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
[[0;32m OK [0m] Reached target System Time Synchronized.
Starting RPC bind portmap service...
[[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown.
[[0;32m OK [0m] Reached target System Initialization.
[[0;32m OK [0m] Started Daily Cleanup of Temporary Directories.
[[0;32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[[0;32m OK [0m] Started Daily apt download activities.
[[0;32m OK [0m] Started Daily apt upgrade and clean activities.
[[0;32m OK [0m] Reached target Timers.
[[0;32m OK [0m] Listening on D-Bus System Message Bus Socket.
[[0;32m OK [0m] Reached target Sockets.
[[0;32m OK [0m] Reached target Basic System.
Starting Avahi mDNS/DNS-SD Stack...
[[0;32m OK [0m] Started Regular background program processing daemon.
[[0;32m OK [0m] Started D-Bus System Message Bus.
[[0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
Starting Login Service...
Starting Save/Restore Sound Card State...
[[0;32m OK [0m] Started RPC bind portmap service.
[[0;32m OK [0m] Reached target RPC Port Mapper.
[[0;32m OK [0m] Reached target Remote File Systems (Pre).
[[0;32m OK [0m] Reached target Remote File Systems.
Starting LSB: Switch to ondemand cpu governor (unless shift key is pressed)...
Starting LSB: Starts syslogd...
[[0;32m OK [0m] Started Save/Restore Sound Card State.
[[0;32m OK [0m] Started Login Service.
[[0;32m OK [0m] Started LSB: Switch to ondemand cpu governor (unless shift key is pressed).
[[0;32m OK [0m] Started Raise network interfaces.
[[0;32m OK [0m] Reached target Network.
[[0;32m OK [0m] Reached target Network is Online.
Mounting Mount scandata directory...
Starting /etc/rc.local Compatibility...
Starting LSB: Start NTP daemon...
Starting OpenBSD Secure Shell server...
Starting Permit User Sessions...
Mounting Mount srvr directory...
[[0;32m OK [0m] Started LSB: Starts syslogd.
Starting LSB: Starts klogd...
My IP address is 192.168.178.86
[[0;32m OK [0m] Started /etc/rc.local Compatibility.
[[0;32m OK [0m] Started LSB: Starts klogd.
[[0;32m OK [0m] Started Permit User Sessions.
Starting Terminate Plymouth Boot Screen...
Starting Hold until boot process finishes up...
Raspbian GNU/Linux 9 raspberrypi ttyAMA0
[9;0]raspberrypi login:
Wary of "me too" without providing useful feedback, but I'm seeing the same problem using Pi3, and a rw NFS mount, and happy to provide any debugging assist if I can!
Firmware patch created to fix an issue when network booted (the critical bit being /boot being loaded over TFTP, not NFS mounts or anything else - see #2528 for more detail).
It'll be reviewed internally, but I'd expect it to be in the next rpi-update release.
Workaround was merged 5 June, released via rpi-update 7 June, tagged against #2528. Issue raised to investigate the underlying reason when time permits.
It'd be useful if @R4C3R could test it to confirm that things now work for him, otherwise this is a candidate for "close if no response in 30 days".
This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested.
I believe this issue resurfaced. I'm using latest Raspbian fully updated, booted off an NFS-RW directory.
If I blacklist bcm2835-v4l2, then everything is fine.
Without the blacklist, boot hangs a few seconds before lightdm, as shown in the attached screenshot.
The problem happens on rpi2 and rpi3b+ with the official power unit etc, but it doesn't happen on rpi4.
In some of the boots, I also see the "dwc_otg_hcd_handle_hc_fsm Unexpected IRQ state on FSM transaction" message, which led me to this issue and the succesful blacklisting workaround.
Close within 30 daysIssue will be closed within 30 days unless requested to stay openWaiting for external inputWaiting for a comment from the originator of the issue, or a collaborator.
Activity
P33M commentedon Jan 8, 2018
Can you capture the kernel crash messages via the GPIO UART? Without a full stacktrace it's going to be hard to debug.
6by9 commentedon Jan 8, 2018
My instinctive answer is the PSU and low voltage.
Loading
bcm2835-v4l2will power up the camera module, drawing (IIRC) an extra 150mA off the power supply. The SMSC9514 is more susceptible to brown-out that the BCM283x, and brown-out puts it in a state that Linux doesn't recover from. No SMSC9514 = no ethernet = no NFS mount.Seeing as you are using a Pi2, is the power LED on and stable?
vcgencmd get_throttledshould report 0 if there have been no low voltage issues.Alternatively, check whether running raspivid causes the same problems, as that will also power up the camera.
R4C3R commentedon Jan 9, 2018
R4C3R commentedon Jan 11, 2018
Power supply:
The power supply provides 25W @ 5v, more than plenty I assume, also there is no "lighting bold" visible in the upper right corner during startup. I double checked by replacing it with a 2.5A PSU, which also worked.
Serial Debug:
I've captured the serial console output and saved it to the attached file.
serial-debug.txt
pelwell commentedon Jan 11, 2018
Which contains (after the troublesome leading NUL):
R4C3R commentedon Jan 11, 2018
I was already wondering about all the chinese signs that suddenly showed up after I downloaded the file. Thank you for fixing it, how did you do it? (before uploading the file, it looked fine)
pelwell commentedon Jan 11, 2018
I just opened it in a decent editor (Notepad++ in this case, but emacs, vi etc. would have worked) and deleted the NUL, tidying it up a bit further by removing the duplicate newlines.
R4C3R commentedon Jan 11, 2018
ok thx letting me know.
6by9 commentedon Jan 11, 2018
That leaves the question of running
raspividin place of loadingbcm2835-v4l2. If that also takes down the SMSC9514 then it sounds like a hardware issue, otherwise it has to be something in the kernel.R4C3R commentedon Jan 11, 2018
I can remove the module from loading at startup and then start raspivid, is that what I should try? Any specific raspivid command that you would like to see?
6by9 commentedon Jan 11, 2018
Yes. Is it the act of enabling the camera that is causing your issue, or something else?
Anything that actually starts up the camera. I don't care if it records anything or not.
raspivid -t 2000is as good as anything to just run preview for 2 seconds.R4C3R commentedon Jan 11, 2018
Yes, loading the module causes the issue. Either loading during boot or loading manually (if not loaded at boot) hangs the system.
just tested with raspivid, it worked.
below you will find the serial debug, the only difference from the version above beeing that the bcm2835-v4l2 module is not loaded at startup. The pi starts up fine and raspivid works.
6by9 commentedon Jan 11, 2018
Throw in the module parameter
debug=4(iemodprobe bcm2835-v4l2 debug=4) when loading to get extra debug.You say this is a 2B. Can you provide the Revision code from /proc/cpuinfo please?
R4C3R commentedon Jan 11, 2018
If I enter
sudo modprobe bcm2835-v4l2 debug=4it just immediately hangs, no output whatsoeverBelow is the info from /proc/cpuinfo, I can also test with a RPi 3 if required.
R4C3R commentedon Jan 11, 2018
Just made a discovery:
if I run
sudo modprobe bcm2835-v4l2 debug=4the system immediately hangs
BUT
if I run
raspivid -t 2000and than run
sudo modprobe bcm2835-v4l2 debug=4than the system works perfectly fine.
12 remaining items
R4C3R commentedon Jan 29, 2018
I am glad you were able to reproduce & confirm
njwilliams commentedon Apr 17, 2018
Wary of "me too" without providing useful feedback, but I'm seeing the same problem using Pi3, and a rw NFS mount, and happy to provide any debugging assist if I can!
6by9 commentedon May 29, 2018
Firmware patch created to fix an issue when network booted (the critical bit being /boot being loaded over TFTP, not NFS mounts or anything else - see #2528 for more detail).
It'll be reviewed internally, but I'd expect it to be in the next rpi-update release.
JamesH65 commentedon Jun 27, 2018
@6by9 Did this get reviewed and merged? Can close?
6by9 commentedon Jun 27, 2018
Workaround was merged 5 June, released via rpi-update 7 June, tagged against #2528. Issue raised to investigate the underlying reason when time permits.
It'd be useful if @R4C3R could test it to confirm that things now work for him, otherwise this is a candidate for "close if no response in 30 days".
JamesH65 commentedon Jun 27, 2018
This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested.
R4C3R commentedon Jun 27, 2018
I will test it next week at the latest.
R4C3R commentedon Jul 4, 2018
I've just tested with RASPBIAN STRETCH LITE Minimal image based on Debian Stretch Version:June 2018 Release date:2018-06-27 Kernel version:4.14
And can confirm that the solution seems to work.
Thank you for all your efforts!
JamesH65 commentedon Jul 4, 2018
Closing this issue as questions answered/issue resolved.
alkisg commentedon Jan 19, 2020
I believe this issue resurfaced. I'm using latest Raspbian fully updated, booted off an NFS-RW directory.
If I
blacklist bcm2835-v4l2, then everything is fine.Without the blacklist, boot hangs a few seconds before lightdm, as shown in the attached screenshot.
The problem happens on rpi2 and rpi3b+ with the official power unit etc, but it doesn't happen on rpi4.
In some of the boots, I also see the "dwc_otg_hcd_handle_hc_fsm Unexpected IRQ state on FSM transaction" message, which led me to this issue and the succesful blacklisting workaround.