raspm28
Posts: 5
Joined: Thu Oct 23, 2014 2:03 pm

rpi b+ network and usb not working...

Fri Oct 31, 2014 4:34 pm

Now, it's me to be the unlucky one to run into the problem with network and usb is not working on the rpi b+.

I have tried to follow all the advice, hints, and tips I have been able to find without any success.

I have installed the latest official build of raspbian from Sept. 9'th downloaded from here. I have also tried to replace the bootcode.bin and start*.elf files without any success.

Code: Select all

uname -a
Linux raspberrypi 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux

Code: Select all

lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.12
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Code: Select all

dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.12.28+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #709 PREEMPT Mon Sep 8 15:28:00 BST 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 8 MiB at 1b800000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c061dd90, node_mem_map c06cf000
[    0.000000]   Normal zone: 896 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708.boardrev=0xf bcm2708.serial=0x2365cbd7 smsc95xx.macaddr=B8:27:EB:65:CB:D7 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
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 439532K/458752K available (4498K kernel code, 242K rwdata, 1344K rodata, 143K init, 701K bss, 19220K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05bca24   (5843 kB)
[    0.000000]       .init : 0xc05bd000 - 0xc05e0eac   ( 144 kB)
[    0.000000]       .data : 0xc05e2000 - 0xc061e8a0   ( 243 kB)
[    0.000000]        .bss : 0xc061e8ac - 0xc06ce080   ( 702 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:394
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001169] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001229] pid_max: default: 32768 minimum: 301
[    0.001749] Mount-cache hash table entries: 512
[    0.002574] Initializing cgroup subsys memory
[    0.002685] Initializing cgroup subsys devices
[    0.002723] Initializing cgroup subsys freezer
[    0.002755] Initializing cgroup subsys blkio
[    0.002904] CPU: Testing write buffer coherency: ok
[    0.003369] Setting up static identity map for 0xc04487f8 - 0xc0448854
[    0.005307] devtmpfs: initialized
[    0.021253] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.022838] NET: Registered protocol family 16
[    0.028171] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.028865] cpuidle: using governor ladder
[    0.028913] cpuidle: using governor menu
[    0.029315] bcm2708.uart_clock = 0
[    0.031400] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.031463] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.031498] mailbox: Broadcom VideoCore Mailbox driver
[    0.031597] bcm2708_vcio: mailbox at f200b880
[    0.031699] bcm_power: Broadcom power driver
[    0.031736] bcm_power_open() -> 0
[    0.031759] bcm_power_request(0, 8)
[    0.532478] bcm_mailbox_read -> 00000080, 0
[    0.532518] bcm_power_request -> 0
[    0.532775] Serial: AMBA PL011 UART driver
[    0.532948] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    0.891415] console [ttyAMA0] enabled
[    0.918560] bio: create slab <bio-0> at 0
[    0.924100] SCSI subsystem initialized
[    0.928100] usbcore: registered new interface driver usbfs
[    0.933803] usbcore: registered new interface driver hub
[    0.939363] usbcore: registered new device driver usb
[    0.945932] Switched to clocksource stc
[    0.950203] FS-Cache: Loaded
[    0.953374] CacheFiles: Loaded
[    0.969264] NET: Registered protocol family 2
[    0.975069] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.982485] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.989072] TCP: Hash tables configured (established 4096 bind 4096)
[    0.995518] TCP: reno registered
[    0.998814] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.004687] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.011466] NET: Registered protocol family 1
[    1.016453] RPC: Registered named UNIX socket transport module.
[    1.022411] RPC: Registered udp transport module.
[    1.027217] RPC: Registered tcp transport module.
[    1.031939] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.039273] bcm2708_dma: DMA manager at f2007000
[    1.044016] bcm2708_gpio: bcm2708_gpio_probe c05efef0
[    1.049587] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    1.059172] audit: initializing netlink socket (disabled)
[    1.064681] type=2000 audit(0.910:1): initialized
[    1.235002] VFS: Disk quotas dquot_6.5.2
[    1.239364] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.248338] FS-Cache: Netfs 'nfs' registered for caching
[    1.255251] NFS: Registering the id_resolver key type
[    1.260537] Key type id_resolver registered
[    1.264745] Key type id_legacy registered
[    1.269556] msgmni has been set to 874
[    1.275286] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.283151] io scheduler noop registered
[    1.287230] io scheduler deadline registered (default)
[    1.292711] io scheduler cfq registered
[    1.297922] BCM2708FB: allocated DMA memory 5bc00000
[    1.302969] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.310819] bcm2708_fb_pan_display(0,0) returns=0
[    1.313384] Console: switching to colour frame buffer device 80x30
[    1.313935] bcm2708_fb_pan_display(0,0) returns=0
[    1.337631] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[    1.348520] uart-pl011 dev:f1: no DMA platform data
[    1.355733] vc-cma: Videocore CMA driver
[    1.361368] vc-cma: vc_cma_base      = 0x00000000
[    1.367723] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.374641] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.391125] brd: module loaded
[    1.401104] loop: module loaded
[    1.406163] vchiq: vchiq_init_state: slot_zero = 0xdb800000, is_master = 0
[    1.415626] Loading iSCSI transport class v2.0-870.
[    1.423342] usbcore: registered new interface driver smsc95xx
[    1.431154] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.638706] Core Release: 2.80a
[    1.643420] Setting default values for core params
[    1.649805] Finished setting default values for core params
[    1.856960] Using Buffer DMA mode
[    1.861771] Periodic Transfer Interrupt Enhancement - disabled
[    1.869136] Multiprocessor Interrupt Enhancement - disabled
[    1.876264] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.882130] Dedicated Tx FIFOs mode
[    1.887493] WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 0xdbc14000 dma = 0x5bc14000 len=9024
[    1.900515] FIQ FSM acceleration enabled for :
[    1.900515] Non-periodic Split Transactions
[    1.900515] Periodic Split Transactions
[    1.900515] High-Speed Isochronous Endpoints
[    1.923207] dwc_otg: Microframe scheduler enabled
[    1.923303] WARN::hcd_init:473: FIQ at 0xc0321550
[    1.929540] WARN::hcd_init:474: FIQ ASM at 0xc0321800 length 36
[    1.936987] WARN::hcd_init:500: MPHI regs_base at 0xdc806000
[    1.944151] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.950630] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.961000] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.968145] Init: Port Power? op_state=1
[    1.973613] Init: Power Port (0)
[    1.978705] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.987137] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.997418] usb usb1: Product: DWC OTG Controller
[    2.003681] usb usb1: Manufacturer: Linux 3.12.28+ dwc_otg_hcd
[    2.011102] usb usb1: SerialNumber: bcm2708_usb
[    2.018056] hub 1-0:1.0: USB hub found
[    2.023474] hub 1-0:1.0: 1 port detected
[    2.029453] dwc_otg: FIQ enabled
[    2.029473] dwc_otg: NAK holdoff enabled
[    2.029483] dwc_otg: FIQ split-transaction FSM enabled
[    2.029503] Module dwc_common_port init
[    2.029953] usbcore: registered new interface driver usb-storage
[    2.038037] mousedev: PS/2 mouse device common for all mice
[    2.045810] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    2.053298] bcm2835-cpufreq: switching to governor powersave
[    2.060544] bcm2835-cpufreq: switching to governor powersave
[    2.067811] sdhci: Secure Digital Host Controller Interface driver
[    2.075484] sdhci: Copyright(c) Pierre Ossman
[    2.081429] sdhci: Enable low-latency mode
[    2.126124] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.137236] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.144845] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.152323] ledtrig-cpu: registered to indicate activity on CPUs
[    2.162199] hidraw: raw HID events driver (C) Jiri Kosina
[    2.176821] usbcore: registered new interface driver usbhid
[    2.184086] usbhid: USB HID core driver
[    2.194221] TCP: cubic registered
[    2.201252] Initializing XFRM netlink socket
[    2.209256] NET: Registered protocol family 17
[    2.215469] Key type dns_resolver registered
[    2.228922] registered taskstats version 1
[    2.235918] Waiting for root device /dev/mmcblk0p2...
[    2.266803] mmc0: new high speed SDHC card at address 59b4
[    2.274482] mmcblk0: mmc0:59b4 00000 7.35 GiB
[    2.282072]  mmcblk0: p1 p2
[    2.382606] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.393998] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.403526] devtmpfs: mounted
[    2.408716] Freeing unused kernel memory: 140K (c05bd000 - c05e0000)
[    3.776114] udevd[156]: starting version 175
[    5.713002] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    8.911313] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    9.382822] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   26.297637] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SSFS

Code: Select all

ls /boot -al
total 9868
drwxr-xr-x  2 root root   16384 Jan  1  1970 .
drwxr-xr-x 22 root root    4096 Sep  8 20:03 ..
-rwxr-xr-x  1 root root   17840 Sep  8 20:24 bootcode.bin
-rwxr-xr-x  1 root root     120 Sep  8 21:26 cmdline.txt
-rwxr-xr-x  1 root root    1312 Sep  8 21:26 config.txt
-rwxr-xr-x  1 root root    2324 Sep  8 20:24 fixup_cd.dat
-rwxr-xr-x  1 root root    6115 Sep  8 20:24 fixup.dat
-rwxr-xr-x  1 root root    9166 Sep  8 20:24 fixup_x.dat
-rwxr-xr-x  1 root root     137 Sep  9  2014 issue.txt
-rwxr-xr-x  1 root root 3232856 Sep  8 20:24 kernel.img
-rwxr-xr-x  1 root root   18974 Sep 25  2013 LICENSE.oracle
-rwxr-xr-x  1 root root  533080 Sep  8 20:24 start_cd.elf
-rwxr-xr-x  1 root root 2615064 Sep  8 20:24 start.elf
-rwxr-xr-x  1 root root 3572200 Sep  8 20:24 start_x.elf
Any help or suggestions?

Thanks in advance.

drgeoff
Posts: 10831
Joined: Wed Jan 25, 2012 6:39 pm

Re: rpi b+ network and usb not working...

Sat Nov 01, 2014 7:35 pm

Should I assume that with no ethernet working you have used a serial connection to grab the outputs you have posted? In which case you would not be a typical RPi and Linux noob who has unfortunately made some user error.

Make absolutely sure that your powering arrangement is good. If you can rule that out, there have been a few reported cases with these symptoms which were only resolved by getting a replacement RPi. I suggest you contact your vendor to arrange that.
Quis custodiet ipsos custodes?

raspm28
Posts: 5
Joined: Thu Oct 23, 2014 2:03 pm

Re: rpi b+ network and usb not working...

Sat Nov 01, 2014 11:33 pm

drgeoff, thanks for your responds - you are right in all your assumptions. It was a defect board – I was able to get it replaced in a store today and now it works nicely :D

Return to “Troubleshooting”