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 00400000 ... 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: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 00800000 ... 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: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] 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.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell SheevaPlug Reference Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 [ 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: 256MB 256MB = 512MB total [ 0.000000] Memory: 508032KB available (3508K code, 582K data, 124K init, 0K highmem) [ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:114 [ 0.000000] 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=200000000. [ 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 [ 22.187071] NetWinder Floating Point Emulator V0.97 (double precision) [ 22.187315] audit: initializing netlink socket (disabled) [ 22.187364] type=2000 audit(0.700:1): initialized [ 22.193901] VFS: Disk quotas dquot_6.5.2 [ 22.194160] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 22.194273] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 22.194904] msgmni has been set to 1006 [ 22.196514] alg: No test for stdrng (krng) [ 22.196631] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 22.196644] io scheduler noop registered [ 22.196651] io scheduler anticipatory registered [ 22.196659] io scheduler deadline registered [ 22.196845] io scheduler cfq registered (default) [ 22.202776] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 22.203234] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 22.522543] console [ttyS0] enabled [ 22.526591] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit) [ 22.535281] Scanning device for bad blocks [ 22.561935] Bad eraseblock 770 at 0x000006040000 [ 22.569053] Bad eraseblock 855 at 0x000006ae0000 [ 22.668324] Creating 3 MTD partitions on "orion_nand": [ 22.673502] 0x000000000000-0x000000100000 : "u-boot" [ 22.679044] 0x000000100000-0x000000500000 : "uImage" [ 22.684518] 0x000000500000-0x000020000000 : "root" [ 22.690743] mice: PS/2 mouse device common for all mice [ 22.696264] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 [ 22.702204] i2c /dev entries driver [ 22.705872] cpuidle: using governor ladder [ 22.710100] cpuidle: using governor menu [ 22.714148] Registered led device: plug:green:health [ 22.719185] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 22.725605] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 22.771027] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 22.811024] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 22.851023] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 22.891024] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 22.897684] TCP cubic registered [ 22.900924] NET: Registered protocol family 17 [ 22.905724] registered taskstats version 1 [ 22.910460] rtc-mv rtc-mv: setting system clock to 2010-09-22 09:35:55 UTC (1285148155) [ 22.918520] Initalizing network drop monitor service [ 22.923575] Freeing init memory: 124K Loading, please wait... [ 23.001493] udev: starting version 160 [ 23.281787] MV-643xx 10/100/1000 ethernet driver version 1.4 [ 23.315488] mv643xx_eth smi: probed [ 23.319186] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) [ 23.374366] net eth0: port 0 with MAC address 00:50:43:01:49:54 [ 23.383219] usbcore: registered new interface driver usbfs [ 23.396911] usbcore: registered new interface driver hub [ 23.406027] usbcore: registered new device driver usb [ 23.425288] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 23.431949] orion-ehci orion-ehci.0: Marvell Orion EHCI [ 23.437272] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 23.451382] mmc0: host does not support reading read-only switch. assuming write-enable. [ 23.459515] mmc0: new high speed SDHC card at address 0007 [ 23.471067] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 23.485694] mmcblk0: mmc0:0007 SD08G 7.48 GiB [ 23.490314] mmcblk0: p1 p2 p3 < p5 > [ 23.501046] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 23.507050] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 23.513910] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 23.521180] usb usb1: Product: Marvell Orion EHCI [ 23.525903] usb usb1: Manufacturer: Linux 2.6.32-5-kirkwood ehci_hcd [ 23.532301] usb usb1: SerialNumber: orion-ehci.0 [ 23.551071] usb usb1: configuration #1 chosen from 1 choice [ 23.557280] hub 1-0:1.0: USB hub found [ 23.561288] hub 1-0:1.0: 1 port detected Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [ 23.804307] device-mapper: uevent: version 1.0.3 [ 23.810972] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-de...@redhat.com done. Begin: Running /scripts/local-premount ... done. [ 23.885043] usb 1-1: new high speed USB device using orion-ehci and address 2 [ 23.937807] kjournald starting. Commit interval 5 seconds [ 23.943387] EXT3-fs: mounted filesystem with ordered data mode. Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. [ 24.072348] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 24.079092] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 24.086278] usb 1-1: Product: USB2.0 Hub [ 24.090730] usb 1-1: configuration #1 chosen from 1 choice [ 24.096978] hub 1-1:1.0: USB hub found [ 24.101350] hub 1-1:1.0: 4 ports detected INIT: version 2.88 booting [ 24.381400] usb 1-1.2: new full speed USB device using orion-ehci and address 3 Using makefile-style concurrent boot in runlevel S. [ 24.592818] usb 1-1.2: New USB device found, idVendor=03eb, idProduct=3301 [ 24.599732] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 24.607103] usb 1-1.2: Product: Standard USB Hub [ 24.616783] usb 1-1.2: configuration #1 chosen from 1 choice [ 24.623910] hub 1-1.2:1.0: USB hub found [ 24.631622] hub 1-1.2:1.0: 4 ports detected [ 24.639564] hub 1-1.2:1.0: config failed, can't get hub status (err -32) Starting the hotplug events dispatcher: udevd[ 24.719289] udev: starting version 160 [ 24.731400] usb 1-1.3: new high speed USB device using orion-ehci and address 4 . Synthesizing the initial hotplug events...done. [ 24.958000] usb 1-1.3: New USB device found, idVendor=1b1c, idProduct=0c93 [ 24.964988] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 24.972371] usb 1-1.3: Product: Voyager GT [ 24.976486] usb 1-1.3: Manufacturer: Corsair [ 24.980776] usb 1-1.3: SerialNumber: 2800000000000063 Waiting for /dev to be fully populated...[ 25.152757] usb 1-1.3: configuration #1 chosen from 1 choice [ 25.326576] SCSI subsystem initialized [ 25.382162] Initializing USB Mass Storage driver... [ 25.387755] scsi0 : SCSI emulation for USB Mass Storage devices [ 25.396342] usbcore: registered new interface driver usb-storage [ 25.403069] USB Mass Storage support registered. done. Activating swap...[ 25.591097] Adding 385520k swap on /dev/mmcblk0p5. Priority:-1 extents:1 across:385520k SS done. Checking root file system...fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) /dev/mmcblk0p2: clean, 47169/451584 files, 401410/1803296 blocks done. [ 26.020557] EXT3 FS on mmcblk0p2, internal journal Starting early crypto disks...done. Cleaning up ifupdown.... [ 26.338209] loop: module loaded Loading kernel modules...done. Setting up networking.... Setting up LVM Volume Groups Reading all physical volumes. This may take a while... No volume groups found No volume groups found No volume groups found . Starting remaining crypto disks...done. Activating lvm and md swap...done. Checking file systems...fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) /dev/mmcblk0p1: clean, 24/124496 files, 51198/248976 blocks done. Mounting local filesystems...done. Activating swapfile swap...done. Cleaning up temporary files.... Configuring network interfaces...done. Cleaning up temporary files.... Setting kernel variables ...error: "net.ipv6.bindv6only" is an unknown key [31mfailed.[39;49m Setting up ALSA...done (none loaded). Running scripts in rcS.d/ took 4 INIT: Entering runlevel: 2 Using makefile-style concurrent boot in runlevel 2. Starting enhanced syslogd: rsyslogd. Starting deferred execution scheduler: atd. Starting backuppc...grep: /etc/backuppc/config.pl: No such file or directory BackupPC cannot be started because important parameters are missing from config.pl. If you just upgraded BackupPC, please update /etc/backuppc/config.pl. Starting periodic command scheduler: cron. Starting system message bus: dbus. [ 28.683371] NET: Registered protocol family 10 [ 28.689369] lo: Disabled Privacy Extensions [ 28.697837] ADDRCONF(NETDEV_UP): eth0: link is not ready Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ 29.495414] eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 29.502481] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 29.709951] Unable to handle kernel NULL pointer dereference at virtual address 0000005e [ 29.718118] pgd = df940000 [ 29.720836] [0000005e] *pgd=1e45d031, *pte=00000000, *ppte=00000000 [ 29.727169] Internal error: Oops: 17 [#1] [ 29.731196] last sysfs file: /sys/devices/virtual/net/lo/operstate [ 29.737403] Modules linked in: ipv6 ext2 loop dm_crypt usb_storage scsi_mod hmac sha1_generic mv_cesa aes_generic ext3 jbd mbcache dm_mod mmc_block ehci_hcd usbcore mvsdio nls_base mv643xx_eth mmc_core libphy inet_lro [ 29.756983] CPU: 0 Not tainted (2.6.32-5-kirkwood #1) [ 29.762415] PC is at ipv4_rcv_saddr_equal+0x10/0x50 [ 29.767318] LR is at udp_lib_lport_inuse+0x84/0xdc [ 29.772131] pc : [<c0283314>] lr : [<c02832ac>] psr: 60000013 [ 29.772137] sp : df95fe38 ip : c0283304 fp : c0438cc8 [ 29.783673] r10: 00000001 r9 : c0283304 r8 : c0438cc8 [ 29.788924] r7 : 00000000 r6 : de7c9600 r5 : df95fe78 r4 : df920000 [ 29.795480] r3 : 00000000 r2 : 00000000 r1 : df920000 r0 : de7c9600 [ 29.802039] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 29.809207] Control: 0005397f Table: 1f940000 DAC: 00000015 [ 29.814978] Process exim4 (pid: 964, stack limit = 0xdf95e270) [ 29.820838] Stack: (0xdf95fe38 to 0xdf960000) [ 29.825218] fe20: 0000c269 c043aae8 [ 29.833436] fe40: de7c9600 00000000 00002e80 00000000 0000f0e9 c0285d2c de7c9600 c0283304 [ 29.841658] fe60: c0438cc8 00000011 06021c66 c0283304 c043a870 de7c9600 00000000 00000000 [ 29.849881] fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 29.858103] fea0: 00000000 00000000 00000000 00000000 00000000 00000000 0000ee48 00008000 [ 29.866328] fec0: 00000011 de7c9600 0000015e 00000010 df95ff08 c0028048 df95e000 00000000 [ 29.874551] fee0: 00000004 c028b82c c0028048 de7c9600 df95ff08 c028b9bc df54dc00 00000010 [ 29.882773] ff00: 000d36f0 c022c6b8 35000002 fc361bd4 00000000 00000000 df586b00 c00deaa8 [ 29.890997] ff20: 000080d0 df95ff4c 00000004 de45f280 df54dc00 c02d008c c02d008c c022c834 [ 29.899219] ff40: c02d008c df95e000 00000000 00000000 00000000 c0360103 df54dc00 00000800 [ 29.907442] ff60: 00000004 df54dc00 00000119 c0028048 00000000 c022c8c8 00000000 de45f280 [ 29.915665] ff80: 00000000 00000802 00000000 00000000 00000000 40037000 40493818 404939ec [ 29.923888] ffa0: 0000011b c0027ea0 40037000 40493818 00000004 000d36f0 00000010 00000001 [ 29.932111] ffc0: 40037000 40493818 404939ec 0000011b 000d36f0 00002798 be88433c 00000004 [ 29.940335] ffe0: 00000075 be884240 4002ddf8 4042d74c 60000010 00000004 1a0002d5 e5d83012 [ 29.948564] [<c0283314>] (ipv4_rcv_saddr_equal+0x10/0x50) from [<c02832ac>] (udp_lib_lport_inuse+0x84/0xdc) [ 29.958362] [<c02832ac>] (udp_lib_lport_inuse+0x84/0xdc) from [<c0285d2c>] (udp_lib_get_port+0xc8/0x234) [ 29.967892] [<c0285d2c>] (udp_lib_get_port+0xc8/0x234) from [<c028b82c>] (inet_autobind+0x34/0x78) [ 29.976898] [<c028b82c>] (inet_autobind+0x34/0x78) from [<c028b9bc>] (inet_dgram_connect+0x4c/0x7c) [ 29.985994] [<c028b9bc>] (inet_dgram_connect+0x4c/0x7c) from [<c022c6b8>] (sys_connect+0x80/0xa4) [ 29.994915] [<c022c6b8>] (sys_connect+0x80/0xa4) from [<c0027ea0>] (ret_fast_syscall+0x0/0x28) [ 30.003571] Code: e1d131b0 e353000a 1a000004 e5913150 (e5d3305e) [ 30.009717] ---[ end trace 65c5203e04bdcad0 ]--- [ 30.014363] Kernel panic - not syncing: Fatal exception in interrupt [ 30.020762] [<c002dee4>] (unwind_backtrace+0x0/0xdc) from [<c02b5d84>] (panic+0x34/0x128) [ 30.028997] [<c02b5d84>] (panic+0x34/0x128) from [<c002bbd8>] (die+0x248/0x284) [ 30.036364] [<c002bbd8>] (die+0x248/0x284) from [<c002ee78>] (__do_kernel_fault+0x68/0x80) [ 30.044683] [<c002ee78>] (__do_kernel_fault+0x68/0x80) from [<c002f064>] (do_page_fault+0x1d4/0x1ec) [ 30.053872] [<c002f064>] (do_page_fault+0x1d4/0x1ec) from [<c0027280>] (do_DataAbort+0x34/0x94) [ 30.062624] [<c0027280>] (do_DataAbort+0x34/0x94) from [<c0027a8c>] (__dabt_svc+0x4c/0x60) [ 30.070928] Exception stack(0xdf95fdf0 to 0xdf95fe38) [ 30.076015] fde0: de7c9600 df920000 00000000 00000000 [ 30.084249] fe00: df920000 df95fe78 de7c9600 00000000 c0438cc8 c0283304 00000001 c0438cc8 [ 30.092479] fe20: c0283304 df95fe38 c02832ac c0283314 60000013 ffffffff [ 30.099129] [<c0027a8c>] (__dabt_svc+0x4c/0x60) from [<c0283314>] (ipv4_rcv_saddr_equal+0x10/0x50) [ 30.108146] [<c0283314>] (ipv4_rcv_saddr_equal+0x10/0x50) from [<c02832ac>] (udp_lib_lport_inuse+0x84/0xdc) [ 30.117947] [<c02832ac>] (udp_lib_lport_inuse+0x84/0xdc) from [<c0285d2c>] (udp_lib_get_port+0xc8/0x234) [ 30.127486] [<c0285d2c>] (udp_lib_get_port+0xc8/0x234) from [<c028b82c>] (inet_autobind+0x34/0x78) [ 30.136501] [<c028b82c>] (inet_autobind+0x34/0x78) from [<c028b9bc>] (inet_dgram_connect+0x4c/0x7c) [ 30.145605] [<c028b9bc>] (inet_dgram_connect+0x4c/0x7c) from [<c022c6b8>] (sys_connect+0x80/0xa4) [ 30.154534] [<c022c6b8>] (sys_connect+0x80/0xa4) from [<c0027ea0>] (ret_fast_syscall+0x0/0x28)