Hexxeh / rpi-firmware

Firmware files for the Raspberry Pi
Other
775 stars 208 forks source link

Kernel Panic: DM9601 Fast Ethernet Adapter #87

Closed strongly-typed closed 9 years ago

strongly-typed commented 9 years ago

Hello,

I'm experiencing kernel panics with a Noname USB to Ethernet Adapter. It is marked "USB2.0 to Fast Ethernet Adapter Model No:KY-RD9700". It uses a probably faked DM9601 chipset.

3% [2 Release 11[   63.202645] skbuff: skb_over_panic: text:803b8208 len:1536 put:1536 head:bb638200 data:bb638242 tail:0xbb638842 end:0xbb638840 dev:eth1
[   63.216228] ------------[ cut here ]------------
[   63.220838] kernel BUG at net/core/skbuff.c:102!
[   63.225449] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
18 B/58.5 kB 2%]
Entering kdb (current=0x8080c6e8, pid 0) on processor 0 Oops: (null)
due to oops @ 0x80547544
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.7-v7+ #801
Hardware name: BCM2709
task: 8080c6e8 ti: 807ea000 task.ti: 807ea000
PC is at skb_panic+0x64/0x70
LR is at console_unlock+0x2f8/0x550
pc : [<80547544>]    lr : [<80066de8>]    psr: 20000193
sp : 807ebd70  ip : 807ebc70  fp : 807ebda4
r10: 00000000  r9 : 00000101  r8 : 00000000
r7 : 806c9e6c  r6 : bb638200  r5 : 00000600  r4 : bb638242
r3 : 807ea000  r2 : 00000101  r1 : 60000193  r0 : 0000007b
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 3c2e806a  DAC: 00000015
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.7-v7+ #801
Hardware name: BCM2709

lsusb output is:

 Bus 001 Device 004: ID 0fe6:9700 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

The adapter works with a Ubuntu x86-64 with kernel version 3.13.0-53-generic.

Connected to a RPi Model B and RPi 2 Model B I get kernel panics as soon as there is some significant traffic. Ping works ok, but apt-get for example oops the kernel. This applies to the latest kernel (4.0.7-v7+) and an older version (3.18.16-v7+)

I am using a serial console to login into my RPis. See the full log attached

Uncompressing Linux... done, booting the kernel.
[    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.0.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #801 SMP PREEMPT Tue Jun 30 18:38:23 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 model: Raspberry Pi 2 Model B Rev 1.1
[    0.000000] cma: Reserved 8 MiB at 0x3d800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] [bcm2709_smp_init_cpus] enter (8660->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 11 pages/cpu @bcf01000 s16128 r8192 d20736 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251720
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0xfe71a4bc smsc95xx.macaddr=B8:27:EB:71:A4:BC 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=0x3ea00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 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: 988384K/1015808K available (5885K kernel code, 378K rwdata, 1784K rodata, 400K init, 757K bss, 19232K 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 : 0xbe800000 - 0xff000000   (1032 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xbe000000   ( 992 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8078575c   (7670 kB)
[    0.000000]       .init : 0x80786000 - 0x807ea000   ( 400 kB)
[    0.000000]       .data : 0x807ea000 - 0x80848a64   ( 379 kB)
[    0.000000]        .bss : 0x80848a64 - 0x809061cc   ( 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.000014] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
[    0.000036] Switching to timer-based delay loop, resolution 52ns
[    0.000319] Console: colour dummy device 80x30
[    0.000362] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000390] pid_max: default: 32768 minimum: 301
[    0.000721] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000742] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002020] Initializing cgroup subsys blkio
[    0.002061] Initializing cgroup subsys memory
[    0.002094] Initializing cgroup subsys devices
[    0.002121] Initializing cgroup subsys freezer
[    0.002160] Initializing cgroup subsys net_cls
[    0.002244] CPU: Testing write buffer coherency: ok
[    0.002331] ftrace: allocating 20007 entries in 59 pages
[    0.051131] CPU0: update cpu_capacity 1024
[    0.051169] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.051186] [bcm2709_smp_prepare_cpus] enter
[    0.051317] Setting up static identity map for 0x54e9f0 - 0x54ea24
[    0.111022] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.111332] [bcm2709_secondary_init] enter cpu:1
[    0.111385] CPU1: update cpu_capacity 1024
[    0.111394] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.131013] [bcm2709_boot_secondary] cpu:2 started (0) 17
[    0.131274] [bcm2709_secondary_init] enter cpu:2
[    0.131304] CPU2: update cpu_capacity 1024
[    0.131312] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.151053] [bcm2709_boot_secondary] cpu:3 started (0) 18
[    0.151293] [bcm2709_secondary_init] enter cpu:3
[    0.151320] CPU3: update cpu_capacity 1024
[    0.151328] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.151421] Brought up 4 CPUs
[    0.151452] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.151463] CPU: All CPU(s) started in SVC mode.
[    0.152463] devtmpfs: initialized
[    0.172084] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.173290] pinctrl core: initialized pinctrl subsystem
[    0.177975] NET: Registered protocol family 16
[    0.183699] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.184855] bcm2709.uart_clock = 3000000
[    0.189217] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.189235] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.189373] Serial: AMBA PL011 UART driver
[    0.189565] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[    0.665364] console [ttyAMA0] enabled
[    0.669793] bcm2708_vcio 3f00b880.mailbox: mailbox at f300b880
[    0.743319] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x7f35
[    0.752606] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[    0.759477] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[    0.764822] bcm_power: Broadcom power driver
[    0.769090] bcm_power_open() -> 0
[    0.772399] bcm_power_request(0, 8)
[    0.801558] bcm_mailbox_read -> 00000080, 0
[    0.805762] bcm_power_request -> 0
[    0.809806] SCSI subsystem initialized
[    0.813789] usbcore: registered new interface driver usbfs
[    0.819402] usbcore: registered new interface driver hub
[    0.824843] usbcore: registered new device driver usb
[    0.831818] Switched to clocksource arch_sys_counter
[    0.866706] FS-Cache: Loaded
[    0.869947] CacheFiles: Loaded
[    0.884552] NET: Registered protocol family 2
[    0.890193] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.897419] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.904098] TCP: Hash tables configured (established 8192 bind 8192)
[    0.910547] TCP: reno registered
[    0.913813] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.919775] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.926604] NET: Registered protocol family 1
[    0.931392] RPC: Registered named UNIX socket transport module.
[    0.937385] RPC: Registered udp transport module.
[    0.942121] RPC: Registered tcp transport module.
[    0.946819] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.954332] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.963856] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.985358] VFS: Disk quotas dquot_6.5.2
[    0.989643] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.999355] FS-Cache: Netfs 'nfs' registered for caching
[    1.005876] NFS: Registering the id_resolver key type
[    1.011031] Key type id_resolver registered
[    1.015236] Key type id_legacy registered
[    1.022015] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.029588] io scheduler noop registered
[    1.033547] io scheduler deadline registered
[    1.038132] io scheduler cfq registered (default)
[    1.045351] BCM2708FB: allocated DMA memory fdc00000
[    1.050342] BCM2708FB: allocated DMA channel 0 @ f3007000
[    1.061321] Console: switching to colour frame buffer device 82x26
[    1.071136] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[    1.077784] uart-pl011 3f201000.uart: no DMA platform data
[    1.083577] KGDB: Registered I/O driver kgdboc
[    1.122617] vc-cma: Videocore CMA driver
[    1.126539] vc-cma: vc_cma_base      = 0x00000000
[    1.131235] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.136655] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.142299] vc-mem: phys_addr:0x00000000 mem_base=0x3ea00000 mem_size:0x3f000000(1008 MiB)
[    1.166069] brd: module loaded
[    1.178483] loop: module loaded
[    1.182703] vchiq: vchiq_init_state: slot_zero = 0xbdc80000, is_master = 0
[    1.190503] Loading iSCSI transport class v2.0-870.
[    1.196388] usbcore: registered new interface driver smsc95xx
[    1.202244] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.408303] Core Release: 2.80a
[    1.411448] Setting default values for core params
[    1.416303] Finished setting default values for core params
[    1.622283] Using Buffer DMA mode
[    1.625598] Periodic Transfer Interrupt Enhancement - disabled
[    1.631419] Multiprocessor Interrupt Enhancement - disabled
[    1.637003] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.641358] Dedicated Tx FIFOs mode
[    1.645204] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbdc14000 dma = 0xfdc14000 len=9024
[    1.655065] FIQ FSM acceleration enabled for :
[    1.655065] Non-periodic Split Transactions
[    1.655065] Periodic Split Transactions
[    1.655065] High-Speed Isochronous Endpoints
[    1.671847] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803f36f4
[    1.677764] WARN::hcd_init_fiq:413: FIQ ASM at 0x803f3a50 length 36
[    1.684027] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbe89a000
[    1.690081] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.695098] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.702464] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[    1.708069] Init: Port Power? op_state=1
[    1.712009] Init: Power Port (0)
[    1.715511] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.722322] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.729538] usb usb1: Product: DWC OTG Controller
[    1.734260] usb usb1: Manufacturer: Linux 4.0.7-v7+ dwc_otg_hcd
[    1.740175] usb usb1: SerialNumber: 3f980000.usb
[    1.745640] hub 1-0:1.0: USB hub found
[    1.749440] hub 1-0:1.0: 1 port detected
[    1.754294] usbcore: registered new interface driver usb-storage
[    1.760560] mousedev: PS/2 mouse device common for all mice
[    1.767092] bcm2835-cpufreq: min=600000 max=900000
[    1.772262] Driver 'mmcblk' needs updating - please use bus_type methods
[    1.779023] sdhci: Secure Digital Host Controller Interface driver
[    1.785258] sdhci: Copyright(c) Pierre Ossman
[    1.790072] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.795969] mmc-bcm2835 3f300000.mmc: DMA channels allocated
[    1.842163] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.852125] ledtrig-cpu: registered to indicate activity on CPUs
[    1.858323] hidraw: raw HID events driver (C) Jiri Kosina
[    1.863995] usbcore: registered new interface driver usbhid
[    1.869559] usbhid: USB HID core driver
[    1.873733] TCP: cubic registered
[    1.877055] Initializing XFRM netlink socket
[    1.881351] NET: Registered protocol family 17
[    1.885983] Key type dns_resolver registered
[    1.890657] Registering SWP/SWPB emulation handler
[    1.891235] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.894809] mmc0: new high speed SDHC card at address e624
[    1.895496] mmcblk0: mmc0:e624 SU08G 7.40 GiB
[    1.905120]  mmcblk0: p1 p2
[    1.917165] registered taskstats version 1
[    1.921570] vc-sm: Videocore shared memory driver
[    1.926311] [vc_sm_connected_init]: start
[    1.930624] vc_vchi_sm_init: failed to open VCHI service (-1)
[    1.936260] [vc_sm_connected_init]: failed to initialize shared memory service
[    1.943716] [vc_sm_connected_init]: end - returning -1
[    1.952012] Indeed it is in host mode hprt0 = 00021501
[    1.968575] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.976793] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.992109] devtmpfs: mounted
[    1.995845] Freeing unused kernel memory: 400K (80786000 - 807ea000)
[    2.131953] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.138573] Indeed it is in host mode hprt0 = 00001101
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
[    2.342280] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.348995] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.357148] hub 1-1:1.0: USB hub found
[    2.361067] hub 1-1:1.0: 5 ports detected
[    2.381385] random: init urandom read with 47 bits of entropy available
[    2.551575] init: plymouth-upstart-bridge main process (63) terminated with status 1
[    2.559646] init: plymouth-upstart-bridge main process ended, respawning
[    2.612007] init: plymouth-upstart-bridge main process (74) terminated with status 1
[    2.619888] init: plymouth-upstart-bridge main process ended, respawning
[    2.642252] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.762241] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.769166] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.780032] smsc95xx v1.0.4
[    2.852683] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:71:a4:bc
[    2.942181] usb 1-1.5: new full-speed USB device number 4 using dwc_otg
[    3.064541] usb 1-1.5: New USB device found, idVendor=0fe6, idProduct=9700
[    3.071435] usb 1-1.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    3.078998] usb 1-1.5: Product: USB 2.0 10/100M Ethernet Adaptor
 * Starting Mount filesystems on boot                                    [ OK ]
 * Stopping Send an event to indicate plymouth is up                     [ OK ]
 * Starting Populate /dev filesystem                                     [ OK ]
 * Stopping Populate /dev filesystem                                     [ OK ]
 * Starting Populate and link to /run filesystem                         [ OK ]
 * Stopping Populate and link to /run filesystem                         [ OK ]
 * Stopping Track if upstart is running in a container                   [ OK ]
 * Starting set console keymap                                           [ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted         [ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted         [ OK ]
 * Starting Bridge udev events into upstart                              [ OK ]
 * Stopping set console keymap                                           [ OK ]
 * Starting Signal sysvinit that remote filesystems are mounted          [ OK ]
 * Starting device node and kernel event manager                         [ OK ]
 * Starting load modules from /etc/modules                               [ OK ]
 * Starting cold plug devices                                            [ OK ]
 * Starting log initial device creation                                  [ OK ]
 * Stopping load modules from /etc/modules                               [ OK ]
 * Starting set console font                                             [ OK ]
 * Stopping set console font                                             [ OK ]
 * Starting userspace bootsplash                                         [ OK ]
 * Stopping userspace bootsplash                                         [ OK ]
 * Starting Send an event to indicate plymouth is up                     [ OK ]
 * Starting configure network device security                            [ OK ]
 * Stopping cold plug devices                                            [ OK ]
 * Stopping log initial device creation                                  [ OK ]
 * Stopping Send an event to indicate plymouth is up                     [ OK ]
 * Starting Mount network filesystems                                    [ OK ]
 * Starting Signal sysvinit that the rootfs is mounted                   [ OK ]
 * Starting configure network device security                            [ OK ]
 * Starting configure network device security                            [ OK ]
 * Stopping Mount network filesystems                                    [ OK ]
 * Starting configure network device                                     [ OK ]
 * Starting configure network device                                     [ OK ]
 * Starting Clean /tmp directory                                         [ OK ]
 * Stopping Clean /tmp directory                                         [ OK ]
 * Starting Signal sysvinit that local filesystems are mounted           [ OK ]
 * Starting configure network device security                            [ OK ]
 * Starting Failsafe Boot Delay                                          [ OK ]
 * Starting flush early job output to logs                               [ OK ]
 * Starting save udev log and update rules                               [ OK ]
 * Starting Mount network filesystems                                    [ OK ]
 * Stopping Mount filesystems on boot                                    [ OK ]
 * Stopping save udev log and update rules                               [ OK ]
 * Starting configure network device                                     [ OK ]
 * Stopping Failsafe Boot Delay                                          [ OK ]
 * Stopping flush early job output to logs                               [ OK ]
 * Starting System V initialisation compatibility                        [ OK ]
 * Starting configure virtual network devices                            [ OK ]
 * Stopping System V initialisation compatibility                        [ OK ]
 * Starting System V runlevel compatibility                              [ OK ]
 * Stopping Mount network filesystems                                    [ OK ]
 * Starting NTP server ntpd        * Starting OpenSSH server             [ OK ]
                                                                         [ OK ]
 * Stopping System V runlevel compatibility                              [ OK ]

Ubuntu 14.04 LTS debug ttyAMA0

debug login: root
Password:
Last login: Thu Jan  1 01:00:16 CET 1970 on ttyAMA0
Welcome to Ubuntu 14.04 LTS (GNU/Linux 4.0.7-v7+ armv7l)

 * Documentation:  https://help.ubuntu.com/
root@debug:~# lsusb
Bus 001 Device 004: ID 0fe6:9700 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@debug:~# uname -a
Linux debug 4.0.7-v7+ #801 SMP PREEMPT Tue Jun 30 18:38:23 BST 2015 armv7l armv7l armv7l GNU/Linux
root@debug:~# dhclient -v eth1
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Corrupt lease file - possible data loss!
[   42.716919] dm9601 1-1.5:1.0 eth1: kevent 4 may have been dropped
[   42.723389] dm9601 1-1.5:1.0 eth1: kevent 4 may have been dropped
Listening on LPF/eth1/00:e0:4c:53:44:58
Sending on   LPF/eth1/00:e0:4c:53:44:58
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3 (xid=0x304ea24f)
DHCPREQUEST of 134.xxx.xxx.xxx on eth1 to 255.255.255.255 port 67 (xid=0x304ea24f)
DHCPOFFER of 134.xxx.xxx.xxx from 134.xxx.xxx.xxx
DHCPACK of 134.xxx.xxx.xxx from 134.xxx.xxx.xxx
 * Stopping NTP server ntpd
   ...done.
 * Starting NTP server ntpd
   ...done.
bound to 134.xxx.xxx.xx -- renewal in 41527 seconds.
root@debug:~# apt-get update
Ign http://ftp.tu-chemnitz.de trusty InRelease
Get:1 http://ftp.tu-chemnitz.de trusty Release.gpg [933 B]
Get:2 http://ftp.tu-chemnitz.de trusty Release [58.5 kB]
3% [2 Release 11[   63.202645] skbuff: skb_over_panic: text:803b8208 len:1536 put:1536 head:bb638200 data:bb638242 tail:0xbb638842 end:0xbb638840 dev:eth1
[   63.216228] ------------[ cut here ]------------
[   63.220838] kernel BUG at net/core/skbuff.c:102!
[   63.225449] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
18 B/58.5 kB 2%]
Entering kdb (current=0x8080c6e8, pid 0) on processor 0 Oops: (null)
due to oops @ 0x80547544
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.7-v7+ #801
Hardware name: BCM2709
task: 8080c6e8 ti: 807ea000 task.ti: 807ea000
PC is at skb_panic+0x64/0x70
LR is at console_unlock+0x2f8/0x550
pc : [<80547544>]    lr : [<80066de8>]    psr: 20000193
sp : 807ebd70  ip : 807ebc70  fp : 807ebda4
r10: 00000000  r9 : 00000101  r8 : 00000000
r7 : 806c9e6c  r6 : bb638200  r5 : 00000600  r4 : bb638242
r3 : 807ea000  r2 : 00000101  r1 : 60000193  r0 : 0000007b
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 3c2e806a  DAC: 00000015
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.7-v7+ #801
Hardware name: BCM2709
[<800175bc>] (unwind_backtrace) from [<80012fd4>] (show_stack+0x20/0x24)
[<80012fd4>] (show_stack) from [<80546adc>] (dump_stack+0x98/0xe0)
[<80546adc>] (dump_stack) from [<80010008>] (show_regs+0x1c/0x20)
[<80010008>] (show_regs) from [<800ad564>] (kdb_main_loop+0x3fc/0x77c)
[<800ad564>] (kdb_main_loop) from [<800b0218>] (kdb_stub+0x22c/0x49c)
[<800b0218>] (kdb_stub) from [<800a6038>] (kgdb_cpu_enter+0x434/0x78c)
[<800a6038>] (kgdb_cpu_enter) from [<800a65d4>] (kgdb_handle_exception+0xf4/0x20c)
[<800a65d4>] (kgdb_handle_exception) from [<80016b28>] (kgdb_notify+0x3c/0x90)
[<80016b28>] (kgdb_notify) from [<800414f4>] (notifier_call_chain+0x54/0x94)
[<800414f4>] (notifier_call_chain) from [<80041830>] (atomic_notifier_call_chain+0x44/0x58)
[<80041830>] (atomic_notifier_call_chain) from [<80041884>] (notify_die+0x40/0x4c)
[<80041884>] (notify_die) from [<800130d4>] (die+0xfc/0x410)
[<800130d4>] (die) from [<80013414>] (arm_notify_die+0x2c/0x64)
[<80013414>] (arm_notify_die) from [<80008384>] (do_undefinstr+0x144/0x1a0)
[<80008384>] (do_undefinstr) from [<8054c790>] (__und_svc_finish+0x0/0x30)
Exception stack(0x807ebce8 to 0x807ebd30)
bce0:                   0000007b 60000193 00000101 807ea000 bb638242 00000600
bd00: bb638200 806c9e6c 00000000 00000101 00000000 807ebda4 807ebc70 807ebd70
bd20: 80066de8 80547544 20000193 ffffffff
[<8054c790>] (__und_svc_finish) from [<80547544>] (skb_panic+0x64/0x70)
[<80547544>] (skb_panic) from [<8045e89c>] (skb_put+0x5c/0x60)
[<8045e89c>] (skb_put) from [<803b8208>] (rx_complete+0x34/0x1fc)
[<803b8208>] (rx_complete) from [<803c0384>] (__usb_hcd_giveback_urb+0x80/0x154)
[<803c0384>] (__usb_hcd_giveback_urb) from [<803c04a8>] (usb_hcd_giveback_urb+0x50/0x118)
[<803c04a8>] (usb_hcd_giveback_urb) from [<803e6ad0>] (completion_tasklet_func+0x6c/0x98)
[<803e6ad0>] (completion_tasklet_func) from [<803f4fac>] (tasklet_callback+0x20/0x24)
[<803f4fac>] (tasklet_callback) from [<80029348>] (tasklet_hi_action+0x7c/0x114)
[<80029348>] (tasklet_hi_action) from [<80028850>] (__do_softirq+0x124/0x3d4)
[<80028850>] (__do_softirq) from [<80028eb8>] (irq_exit+0xcc/0x13c)
[<80028eb8>] (irq_exit) from [<800685d8>] (__handle_domain_irq+0x8c/0xec)
[<800685d8>] (__handle_domain_irq) from [<8000857c>] (asm_do_IRQ+0x2c/0x30)
[<8000857c>] (asm_do_IRQ) from [<8054c5f4>] (__irq_svc+0x34/0x14c)
Exception stack(0x807ebf28 to 0x807ebf70)
bf20:                   80809cec 00000000 00000000 00000000 807ea000 80808dd8
bf40: 00000001 ffffffff 80843a9c 80808d78 8055223c 807ebf7c 807ebf70 807ebf70
bf60: 8000fc80 8000fc84 60000013 ffffffff
[<8054c5f4>] (__irq_svc) from [<8000fc84>] (arch_cpu_idle+0x30/0x4c)
[<8000fc84>] (arch_cpu_idle) from [<8005cb54>] (cpu_startup_entry+0x200/0x280)
[<8005cb54>] (cpu_startup_entry) from [<80542134>] (rest_init+0x80/0x98)
[<80542134>] (rest_init) from [<80786cd0>] (start_kernel+0x38c/0x3f8)

After a reboot I downgraded to 33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa which gives the same problem:

root@debug:~# rpi-update 33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10185  100 10185    0     0  44449      0 --:--:-- --:--:-- --:--:-- 44671
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    385      0 --:--:-- --:--:-- --:--:--   387
  0     0    0 46.2M    0     0  2699k      0 --:--:--  0:00:17 --:--:-- 2477k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 3.18.16-v7+
 *** depmod 3.18.16+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 33a6707cf1c96b8a2b5dac2ac9dead590db9fcaa
 *** A reboot is needed to activate the new firmware

Reboot, and then

root@debug:~# ping google.com
PING google.com (173.194.116.195): 56 data bytes
64 bytes from 173.194.116.195: icmp_seq=0 ttl=55 time=6.215 ms
^C--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 6.215/6.215/6.215/0.000 ms
root@debug:~# apt-get update
Ign http://ftp.tu-chemnitz.de trusty InRelease
Get:1 http://ftp.tu-chemnitz.de trusty Release.gpg [933 B]
Get:2 http://ftp.tu-chemnitz.de trusty Release [58.5 kB]
2% [2 Release 0 B/58.5 kB[   29.807097] skbuff: skb_over_panic: text:803a04b4 len:1536 put:1536 head:bb310000 data:bb310042 tail:0xbb310642 end:0xbb310640 dev:eth1
[   29.820218] ------------[ cut here ]------------
[   29.824829] kernel BUG at net/core/skbuff.c:100!
[   29.829440] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
 0%]
Entering kdb (current=0x807e47e0, pid 0) on processor 0 Oops: (null)
due to oops @ 0x80525e18
dCPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.16-v7+ #795
dtask: 807e47e0 ti: 807bc000 task.ti: 807bc000
PC is at skb_panic+0x64/0x70
LR is at console_unlock+0x2cc/0x510
pc : [<80525e18>]    lr : [<80064fe0>]    psr: 20000193
sp : 807bdd60  ip : 807bdc78  fp : 807bdd94
r10: 8052f828  r9 : 00000101  r8 : 00000000
r7 : 806a1860  r6 : bb310000  r5 : 00000600  r4 : bb310042
r3 : 00000101  r2 : 00000102  r1 : 60000193  r0 : 0000007b
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 3b35406a  DAC: 00000015
dCPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.16-v7+ #795
[<800172e4>] (unwind_backtrace) from [<80012fa4>] (show_stack+0x20/0x24)
[<80012fa4>] (show_stack) from [<805256e8>] (dump_stack+0x98/0xd8)
[<805256e8>] (dump_stack) from [<8001002c>] (show_regs+0x1c/0x20)
[<8001002c>] (show_regs) from [<800a92c4>] (kdb_dumpregs+0x38/0x60)
[<800a92c4>] (kdb_dumpregs) from [<800ac77c>] (kdb_main_loop+0x36c/0x744)
[<800ac77c>] (kdb_main_loop) from [<800af420>] (kdb_stub+0x1e4/0x454)
[<800af420>] (kdb_stub) from [<800a54dc>] (kgdb_cpu_enter+0x3fc/0x734)
[<800a54dc>] (kgdb_cpu_enter) from [<800a5adc>] (kgdb_handle_exception+0x178/0x1e0)
[<800a5adc>] (kgdb_handle_exception) from [<800168c0>] (kgdb_notify+0x3c/0x90)
[<800168c0>] (kgdb_notify) from [<80040f98>] (notifier_call_chain+0x54/0x94)
[<80040f98>] (notifier_call_chain) from [<800412d4>] (atomic_notifier_call_chain+0x44/0x58)
[<800412d4>] (atomic_notifier_call_chain) from [<80041328>] (notify_die+0x40/0x4c)
[<80041328>] (notify_die) from [<800130a4>] (die+0xfc/0x3e8)
[<800130a4>] (die) from [<800133bc>] (arm_notify_die+0x2c/0x64)
[<800133bc>] (arm_notify_die) from [<80008384>] (do_undefinstr+0x144/0x1a8)
[<80008384>] (do_undefinstr) from [<8052b0d0>] (__und_svc_finish+0x0/0x30)
Exception stack(0x807bdcd8 to 0x807bdd20)
dcc0:                                                       0000007b 60000193
dce0: 00000102 00000101 bb310042 00000600 bb310000 806a1860 00000000 00000101
dd00: 8052f828 807bdd94 807bdc78 807bdd60 80064fe0 80525e18 20000193 ffffffff
[<8052b0d0>] (__und_svc_finish) from [<80525e18>] (skb_panic+0x64/0x70)
[<80525e18>] (skb_panic) from [<80441f20>] (skb_put+0x5c/0x60)
[<80441f20>] (skb_put) from [<803a04b4>] (rx_complete+0x34/0x1fc)
[<803a04b4>] (rx_complete) from [<803a8630>] (__usb_hcd_giveback_urb+0x80/0x154)
[<803a8630>] (__usb_hcd_giveback_urb) from [<803a8754>] (usb_hcd_giveback_urb+0x50/0x118)
[<803a8754>] (usb_hcd_giveback_urb) from [<803cecd4>] (completion_tasklet_func+0x6c/0x98)
[<803cecd4>] (completion_tasklet_func) from [<803dd130>] (tasklet_callback+0x20/0x24)
[<803dd130>] (tasklet_callback) from [<80029640>] (tasklet_hi_action+0x7c/0x114)
[<80029640>] (tasklet_hi_action) from [<80028c08>] (__do_softirq+0x12c/0x384)
[<80028c08>] (__do_softirq) from [<800291e4>] (irq_exit+0xc0/0x110)
[<800291e4>] (irq_exit) from [<80066e50>] (__handle_domain_irq+0x8c/0xdc)
[<80066e50>] (__handle_domain_irq) from [<80008564>] (asm_do_IRQ+0x2c/0x30)
[<80008564>] (asm_do_IRQ) from [<8052af34>] (__irq_svc+0x34/0x14c)
Exception stack(0x807bdf20 to 0x807bdf68)
df20: 807e1ccc 00000000 00000000 00000000 807bc000 8081f6c0 807e0dd4 ffffffff
df40: 8081aadc 807e0d74 8052f828 807bdf74 807bdf68 807bdf68 8000fca0 8000fca4
df60: 60000013 ffffffff
[<8052af34>] (__irq_svc) from [<8000fca4>] (arch_cpu_idle+0x30/0x4c)
[<8000fca4>] (arch_cpu_idle) from [<8005b8fc>] (cpu_startup_entry+0x1e4/0x264)
[<8005b8fc>] (cpu_startup_entry) from [<80521068>] (rest_init+0x80/0x98)
[<80521068>] (rest_init) from [<8075bcb4>] (start_kernel+0x370/0x3d8)

Kernel 3.12.36 (6413da9f74871b239c5bd27d7edf90a8afeab363) does not boot at all.

popcornmix commented 9 years ago

This repo is purely for hosting the firmware updates. Report here: https://github.com/raspberrypi/linux/issues where the right devs will see it.