Bug#714578: linux-image-3.9-1-kirkwood: fails to include ehci_orion in initramfs; USB broken at boot

2013-06-30 Thread Daniel Peter Chokola
Package: src:linux
Version: 3.9.6-1
Severity: important

Dear Maintainer,
  I am running Debian from a USB flash drive on a Dockstar. After upgrading to 
3.9.6, I am unable to boot because no USB devices are detected at boot.
  After comparing the boot messages from a working kernel (3.2.0) I noticed the 
module ehci_orion is not loaded in 3.9.6, nor is it included in the initramfs. 
I added echi_orion to my /etc/initramfs-tools/modules as a workaround and the 
system boots the new kernel fine, now.
  My initramfs-tools is configured to include "most" modules. I don't have any 
knowledge about how initramfs-tools determines which modules are included, so I 
can't provide a patch.

-- Package-specific info:
** Version:
Linux version 3.9-1-kirkwood (debian-kernel@lists.debian.org) (gcc version 
4.7.3 (Debian 4.7.3-4) ) #1 Debian 3.9.6-1

** Command line:
console=ttyS0,115200 root=/dev/sda3 rootdelay=10 rootfstype=ext4 
mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

** Not tainted

** Kernel log (without ehci_orion):
U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
   scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x0250-0x1000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:129024 bytes
UBI: smallest flash I/O unit:2048
UBI: sub-page size:  512
UBI: VID header offset:  512 (aligned 512)
UBI: data offset:2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:"mtd=3"
UBI: MTD device size:219 MiB
UBI: number of good PEBs:1752
UBI: number of bad PEBs: 0
UBI: max. allowed volumes:   128
UBI: wear-leveling threshold:4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1842984 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
9012996 bytes read
## Booting kernel from Legacy Image at 0080 ...
   Image Name:   kernel 3.9-1-kirkwood
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:1842920 Bytes = 1.8 MiB
   Load Address: 8000
   Entry Point:  8000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 0110 ...
   Image Name:   ramdisk 3.9-1-kirkwood
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:9012932 Bytes = 8.6 MiB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[0.00] Booting Linux on physical CPU 0x0
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 3.9-1-kirkwood (debian-kernel@lists.debian.org) 
(gcc version 4.7.3 (Debian 4.7.3-4) ) #1 Debian 3.9.6-1
[0.00] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), 
cr=00053977
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Seagate FreeAgent DockStar
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 32512
[0.00] Kernel command line: console=ttyS0,115200 root=/dev/sda3 
rootdelay=10 rootfstype=ext4 
mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[0.00] PID hash table entries: 512 (order: -1, 2048 bytes)
[0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[0.00] __ex_table already sorted, skipping sort
[0.00] Memory: 128MB = 128MB total
[0.00] Memory: 115472k/115472k available, 15600k reserved, 0K highmem
[0.00] Virtual kernel memory layout:
[0.00] vector  : 0x - 0x1000   (   4 kB)
[0.00] fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
[0.00] vmalloc : 0xc880 - 0xff00   ( 872 MB)
[0.00] low

Bug#714578: linux-image-3.9-1-kirkwood: fails to include ehci_orion in initramfs; USB broken at boot

2013-07-01 Thread David Ryskalczyk
I can confirm this bug and the above workaround. Again, not sure how
exactly to fix.

--David R


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cab3bdi4+opylrwwdp3dph99uwyoez5ckjxoq8u+v_jzn5k0...@mail.gmail.com