Bug#597706: linux-image-2.6.32-5-kirkwood: Kernel panic during net initialization

2010-09-22 Thread Roland Mas
Package: linux-image-2.6.32-5-kirkwood
Severity: grave
Version: 2.6.32-23

The latest kernel upgrade to my Sheevaplug this morning (from 2.6.32-20
to 2.6.32-23) ends up with the box not booting any longer.  The box runs
Squeeze, but I hadn't rebooted since upgrading to -20 (so maybe -21 was
affected too).  I managed to capture the attached output through the
serial port.  Several attempts to fiddle with stuff (restoring the
previous kernel and/or initrd) have given me different backtraces, some
involving ipv6 rather than ipv4, but I didn't manage to get full boot
sequence, or even a ping.  The logs on the DHCP server (on another box)
seem to indicate that no DHCP query is sent, so I suspect something
wrong in the network code.  The NIC itself is probably fine, since the
DHCP client built into the U-Boot firmware manages to negociate an IP
address (DHCPDISCOVER, DHCPOFFER, DHCPREQUEST and DHCPACK) and ping a
host on the net.

  I'm not sure how I can help debug that, but I'm very willing.

Roland.
-- 
Roland Mas

In every life you got some trouble, when you worry you make it double.
  -- in Don't worry, be happy (Bobby McFerrin)
512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  3  2  1  0 
SDHC found. Card desciption is:
Manufacturer:   0x27, OEM PH
Product name:   SD08G, revision 2.0
Serial number:  1832303665
Manufacturing date: 12/2009
CRC:0x00, b0 = 0

7361352 bytes read

1430120 bytes read
## Booting image at 0040 ...
   Image Name:   Debian kernel 2.6.32-5-kirkwood
   Created:  2010-09-10   8:58:57 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:1430056 Bytes =  1.4 MB
   Load Address: 8000
   Entry Point:  8000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 0080 ...
   Image Name:   Debian ramdisk 2.6.32-5-kirkwood
   Created:  2010-09-10   8:58:59 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:7361288 Bytes =  7 MB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-21) 
(b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-2) ) #1 Thu Aug 26 
03:31:56 UTC 2010
[0.00] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), 
cr=00053977
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Marvell SheevaPlug Reference Board
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 130048
[0.00] Kernel command line: console=ttyS0,115200
[0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
[0.00] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[0.00] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.00] Memory: 256MB 256MB = 512MB total
[0.00] Memory: 508032KB available (3508K code, 582K data, 124K init, 0K 
highmem)
[0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 
Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00] NR_IRQS:114
[0.00] Console: colour dummy device 80x30
[   21.474960] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[   21.714923] Security Framework initialized
[   21.714943] SELinux:  Disabled at boot.
[   21.714969] Mount-cache hash table entries: 512
[   21.715258] Initializing cgroup subsys ns
[   21.715273] Initializing cgroup subsys cpuacct
[   21.715282] Initializing cgroup subsys devices
[   21.715291] Initializing cgroup subsys freezer
[   21.715299] Initializing cgroup subsys net_cls
[   21.715341] CPU: Testing write buffer coherency: ok
[   21.716032] devtmpfs: initialized
[   21.717667] regulator: core version 0.5
[   21.717881] NET: Registered protocol family 16
[   21.718376] Kirkwood: MV88F6281-A0, TCLK=2.
[   21.718388] Feroceon L2: Enabling L2
[   21.718421] Feroceon L2: Cache support initialised.
[   21.720259] bio: create slab bio-0 at 0
[   21.720521] vgaarb: loaded
[   21.720966] Switching to clocksource orion_clocksource
[   21.724587] NET: Registered protocol family 2
[   21.724819] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[   21.725647] TCP established hash table entries: 16384 (order: 5, 131072 
bytes)
[   21.726000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[   21.726179] TCP: Hash tables configured (established 16384 bind 16384)
[   21.726188] TCP reno registered
[   21.726337] NET: Registered protocol family 1
[   21.726506] Unpacking initramfs...
[   22.186978] Freeing initrd memory: 7188K
[   

Bug#597706: linux-image-2.6.32-5-kirkwood: Kernel panic during net initialization

2010-09-22 Thread Julien Cristau
On Wed, Sep 22, 2010 at 13:35:31 +0200, Roland Mas wrote:

 Uncompressing Linux... done, booting the kernel.
 [0.00] Initializing cgroup subsys cpuset
 [0.00] Initializing cgroup subsys cpu
 [0.00] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-21) 
 (b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-2) ) #1 Thu Aug 26 
 03:31:56 UTC 2010

That's -21, not -23.  Maybe you need to run flash-kernel?

Cheers,
Julien


signature.asc
Description: Digital signature