[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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":
0x000002500000-0x000010000000 : "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 00800000 ...
   Image Name:   kernel 3.9-1-kirkwood
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1842920 Bytes = 1.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   ramdisk 3.9-1-kirkwood
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9012932 Bytes = 8.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] 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.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] 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.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 115472k/115472k available, 15600k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04a7c10   (4736 kB)
[    0.000000]       .init : 0xc04a8000 - 0xc04cf0c4   ( 157 kB)
[    0.000000]       .data : 0xc04d0000 - 0xc051b758   ( 302 kB)
[    0.000000]        .bss : 0xc051b758 - 0xc057f8a0   ( 401 kB)
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    5.272816] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    5.362654] pid_max: default: 32768 minimum: 301
[    5.362745] Security Framework initialized
[    5.362767] Yama: becoming mindful.
[    5.362831] Mount-cache hash table entries: 512
[    5.363375] Initializing cgroup subsys cpuacct
[    5.363394] Initializing cgroup subsys memory
[    5.363440] Initializing cgroup subsys devices
[    5.363453] Initializing cgroup subsys freezer
[    5.363462] Initializing cgroup subsys net_cls
[    5.363471] Initializing cgroup subsys blkio
[    5.363479] Initializing cgroup subsys perf_event
[    5.363568] CPU: Testing write buffer coherency: ok
[    5.363916] Setting up static identity map for 0xc0356dd0 - 0xc0356e0c
[    5.365456] devtmpfs: initialized
[    5.367084] pinctrl core: initialized pinctrl subsystem
[    5.367415] regulator-dummy: no parameters
[    5.367697] NET: Registered protocol family 16
[    5.368797] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    5.369568] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    5.369586] Feroceon L2: Enabling L2
[    5.369622] Feroceon L2: Cache support initialised.
[    5.372098] bio: create slab <bio-0> at 0
[    5.372460] vgaarb: loaded
[    5.373084] Switching to clocksource orion_clocksource
[    5.387390] NET: Registered protocol family 2
[    5.388001] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    5.388036] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    5.388055] TCP: Hash tables configured (established 1024 bind 1024)
[    5.388111] TCP: reno registered
[    5.388122] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    5.388143] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    5.388316] NET: Registered protocol family 1
[    5.388515] Unpacking initramfs...
[    6.173153] Freeing initrd memory: 8800K
[    6.173221] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.173851] audit: initializing netlink socket (disabled)
[    6.173896] type=2000 audit(0.900:1): initialized
[    6.174786] VFS: Disk quotas dquot_6.5.2
[    6.174837] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    6.174987] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.175190] msgmni has been set to 242
[    6.176953] alg: No test for stdrng (krng)
[    6.177038] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    6.177153] io scheduler noop registered
[    6.177162] io scheduler deadline registered
[    6.177187] io scheduler cfq registered (default)
[    6.177312] mv_xor mv_xor.0: Marvell shared XOR driver
[    6.213157] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    6.253154] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
[    6.253293] mv_xor mv_xor.1: Marvell shared XOR driver
[    6.293155] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    6.333154] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    6.333471] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.354088] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    6.802936] console [ttyS0] enabled
[    6.807484] ONFI param page 0 valid
[    6.810991] ONFI flash detected
[    6.814165] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
[    6.825274] Scanning device for bad blocks
[    6.981926] 4 cmdlinepart partitions found on MTD device orion_nand
[    6.988228] Creating 4 MTD partitions on "orion_nand":
[    6.993403] 0x000000000000-0x000000100000 : "u-boot"
[    6.999183] 0x000000100000-0x000000500000 : "uImage"
[    7.004954] 0x000000500000-0x000002500000 : "rootfs"
[    7.010725] 0x000002500000-0x000010000000 : "data"
[    7.016962] mousedev: PS/2 mouse device common for all mice
[    8.023206] rtc-mv rtc-mv: internal RTC not ticking
[    8.028188] i2c /dev entries driver
[    8.031852] cpuidle: using governor ladder
[    8.035989] cpuidle: using governor menu
[    8.039964] leds-gpio leds-gpio: pins are not configured from the driver
[    8.047007] drop_monitor: Initializing network drop monitor service
[    8.053602] TCP: cubic registered
[    8.056969] NET: Registered protocol family 10
[    8.062019] mip6: Mobile IPv6
[    8.065035] NET: Registered protocol family 17
[    8.069989] registered taskstats version 1
[    8.074929] /build/linux-EIOiwl/linux-3.9.6/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    8.084753] Freeing init memory: 156K
Loading, please wait...
[    8.153683] udevd[47]: starting version 175
[    8.275970] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.282918] libphy: mv643xx_eth smi: probed
[    8.347887] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:1a:4a:95
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda3 does not exist.  Dropping to a shell!
modprobe: module i8042 not found in modules.dep
[   28.723599] usbcore: registered new interface driver usbfs
[   28.730051] usbcore: registered new interface driver hub
[   28.735560] usbcore: registered new device driver usb
[   28.743168] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   28.750441] ehci-pci: EHCI PCI platform driver
[   28.769411] uhci_hcd: USB Universal Host Controller Interface driver
[   28.784527] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   28.803810] hidraw: raw HID events driver (C) Jiri Kosina
[   28.813560] usbcore: registered new interface driver usbhid
[   28.819162] usbhid: USB HID core driver

** Kernel log:
[    4.990109] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    4.990427] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.011048] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    5.459899] console [ttyS0] enabled
[    5.464451] ONFI param page 0 valid
[    5.467953] ONFI flash detected
[    5.471128] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
[    5.482236] Scanning device for bad blocks
[    5.638792] 4 cmdlinepart partitions found on MTD device orion_nand
[    5.645095] Creating 4 MTD partitions on "orion_nand":
[    5.650269] 0x000000000000-0x000000100000 : "u-boot"
[    5.656043] 0x000000100000-0x000000500000 : "uImage"
[    5.661830] 0x000000500000-0x000002500000 : "rootfs"
[    5.667587] 0x000002500000-0x000010000000 : "data"
[    5.673825] mousedev: PS/2 mouse device common for all mice
[    6.680160] rtc-mv rtc-mv: internal RTC not ticking
[    6.685142] i2c /dev entries driver
[    6.688806] cpuidle: using governor ladder
[    6.692942] cpuidle: using governor menu
[    6.696918] leds-gpio leds-gpio: pins are not configured from the driver
[    6.703957] drop_monitor: Initializing network drop monitor service
[    6.710547] TCP: cubic registered
[    6.713914] NET: Registered protocol family 10
[    6.718965] mip6: Mobile IPv6
[    6.721978] NET: Registered protocol family 17
[    6.726935] registered taskstats version 1
[    6.731886] /build/linux-EIOiwl/linux-3.9.6/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    6.741706] Freeing init memory: 156K
[    6.810637] udevd[47]: starting version 175
[    6.932702] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.939649] libphy: mv643xx_eth smi: probed
[    6.963044] usbcore: registered new interface driver usbfs
[    6.968614] usbcore: registered new interface driver hub
[    7.019645] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:1a:4a:95
[    7.040569] usbcore: registered new device driver usb
[    7.066764] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.100787] ehci-orion: EHCI orion driver
[    7.104896] orion-ehci orion-ehci.0: EHCI Host Controller
[    7.143433] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    7.155600] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    7.180088] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    7.186111] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    7.192948] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.200214] usb usb1: Product: EHCI Host Controller
[    7.205110] usb usb1: Manufacturer: Linux 3.9-1-kirkwood ehci_hcd
[    7.211243] usb usb1: SerialNumber: orion-ehci.0
[    7.216781] hub 1-0:1.0: USB hub found
[    7.220592] hub 1-0:1.0: 1 port detected
[    7.540092] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.691604] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    7.698350] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.705541] usb 1-1: Product: USB2.0 Hub
[    7.713870] hub 1-1:1.0: USB hub found
[    7.724091] hub 1-1:1.0: 4 ports detected
[    8.010478] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    8.772602] usb 1-1.2: New USB device found, idVendor=1307, idProduct=0163
[    8.779517] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.786885] usb 1-1.2: Product: USB Mass Storage Device
[    8.792145] usb 1-1.2: Manufacturer: USBest Technology
[    8.797304] usb 1-1.2: SerialNumber: a724b5f65c7189
[    8.821783] SCSI subsystem initialized
[    8.829834] Initializing USB Mass Storage driver...
[    8.835113] scsi0 : usb-storage 1-1.2:1.0
[    8.840666] usbcore: registered new interface driver usb-storage
[    8.846718] USB Mass Storage support registered.
[    9.831576] scsi 0:0:0:0: Direct-Access     Ut163    USB2FlashStorage 0.00 PQ: 0 ANSI: 2
[    9.855659] sd 0:0:0:0: [sda] 15728639 512-byte logical blocks: (8.05 GB/7.49 GiB)
[    9.864003] sd 0:0:0:0: [sda] Write Protect is off
[    9.868820] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
[    9.869500] sd 0:0:0:0: [sda] Asking for cache data failed
[    9.875028] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    9.886751] sd 0:0:0:0: [sda] Asking for cache data failed
[    9.892292] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.045119]  sda: sda1 sda2 sda3
[   10.052999] sd 0:0:0:0: [sda] Asking for cache data failed
[   10.058524] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.064674] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   10.080056] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   17.460602] raid6: int32x1     80 MB/s
[   17.630382] raid6: int32x2    114 MB/s
[   17.800074] raid6: int32x4    119 MB/s
[   17.970095] raid6: int32x8    123 MB/s
[   17.973854] raid6: using algorithm int32x8 (123 MB/s)
[   17.978920] raid6: using intx1 recovery algorithm
[   17.985331] xor: measuring software checksum speed
[   18.090065]    arm4regs  :  1085.200 MB/sec
[   18.190068]    8regs     :   651.600 MB/sec
[   18.290064]    32regs    :   901.600 MB/sec
[   18.294263] xor: using function: arm4regs (1085.200 MB/sec)
[   18.327501] Btrfs loaded
[   18.412843] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   19.647432] udevd[245]: starting version 175
[   20.052498] orion_wdt: Initial timeout 21 sec
[   21.889745] Adding 252140k swap on /dev/sda2.  Priority:-1 extents:1 across:252140k 
[   21.972073] EXT4-fs (sda3): re-mounted. Opts: (null)
[   22.333192] EXT4-fs (sda3): re-mounted. Opts: journal_async_commit,delalloc,auto_da_alloc,discard
[   22.660773] fuse init (API version 7.21)
[   27.349455] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   30.627985] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   30.637900] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

** Model information
Hardware	: Seagate FreeAgent DockStar
Revision	: 0000

** Loaded modules:
ext2
fuse
hmac
sha1_generic
mv_cesa
orion_wdt
ext4
jbd2
mbcache
btrfs
xor
raid6_pq
crc32c
libcrc32c
sg
sd_mod
crc_t10dif
usb_storage
scsi_mod
ehci_orion
ehci_hcd
usbcore
usb_common
mv643xx_eth
inet_lro
libphy

** PCI devices:

** USB devices:
not available


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 3.9-1-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.9-1-kirkwood depends on:
ii  debconf [debconf-2.0]                   1.5.50
ii  initramfs-tools [linux-initramfs-tool]  0.113
ii  kmod                                    9-3
ii  linux-base                              3.5
ii  module-init-tools                       9-3

Versions of packages linux-image-3.9-1-kirkwood recommends:
ii  firmware-linux-free  3.2
ii  uboot-mkimage        2012.04.01-2

Versions of packages linux-image-3.9-1-kirkwood suggests:
pn  debian-kernel-handbook  <none>
pn  fdutils                 <none>
pn  linux-doc-3.9           <none>

Versions of packages linux-image-3.9-1-kirkwood is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.9-1-kirkwood/prerm/removing-running-kernel-3.9-1-kirkwood: true
  linux-image-3.9-1-kirkwood/postinst/missing-firmware-3.9-1-kirkwood:
  linux-image-3.9-1-kirkwood/postinst/ignoring-ramdisk:
  linux-image-3.9-1-kirkwood/postinst/depmod-error-initrd-3.9-1-kirkwood: false


Reply to: