Welcome! Log In Create A New Profile

Advanced

dockstar sid/jessie usb-root issue

Posted by tree 
tree
dockstar sid/jessie usb-root issue
July 09, 2013 04:27PM
Hi,

After upgrading to jessie I am stuck with a non-booting installation.
It looks like usb modules are not loaded at right stage during the boot process.
I have tried to load the modules manually with no luck either.

Linux (none) 3.9-1-kirkwood #1 Debian 3.9.6-1 armv5tel armv5tel
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/sda2 does not exist.  Dropping to [   43.589654] usbcore: registered new interface driver usbfs
a shell!
[   43.596562] usbcore: registered new interface driver hub
[   43.602069] usbcore: registered new device driver usb
[   43.609432] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   43.616679] ehci-pci: EHCI PCI platform driver
[   43.637647] uhci_hcd: USB Universal Host Controller Interface driver
[   43.653128] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   43.671370] hidraw: raw HID events driver (C) Jiri Kosina
[   43.680848] usbcore: registered new interface driver usbhid
[   43.686446] usbhid: USB HID core driver
(initramfs) cat /proc/modules
usbhid 34741 0 - Live 0xbf098000
hid 72311 1 usbhid, Live 0xbf07f000
ohci_hcd 18628 0 - Live 0xbf076000
uhci_hcd 20267 0 - Live 0xbf06d000
ehci_pci 3142 0 - Live 0xbf069000
ehci_hcd 34116 1 ehci_pci, Live 0xbf05b000
usbcore 132046 5 usbhid,ohci_hcd,uhci_hcd,ehci_pci,ehci_hcd, Live 0xbf028000
usb_common 648 1 usbcore, Live 0xbf024000
mv643xx_eth 24159 0 - Live 0xbf010000
inet_lro 4293 1 mv643xx_eth, Live 0xbf00b000
libphy 17615 1 mv643xx_eth, Live 0xbf000000
(initramfs) cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) root=/dev/sda2
(initramfs) cat /proc/partitions
major minor  #blocks  name

  31        0       1024 mtdblock0
  31        1       4096 mtdblock1
  31        2      32768 mtdblock2
  31        3     224256 mtdblock3

Any suggestions?

Cheers
tree
Re: dockstar sid/jessie usb-root issue
July 10, 2013 12:32AM
@tree,

What instruction did you use to generate the initrd.img-3.9-1-kirkwood ? was it generated automatically by flash-kernel when you upgrade to jessie? If it was, try to install the kernel deb package again. But before doing that, remove flash-kernel. And then afer successfully install kernel 3.9-1-kirkwood, generate the uImage and uInitrd manually:

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.9.1-kirkwood -d /boot/vmlinuz-3.9.1-kirkwood /boot/uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-3.9.1-kirkwood  -d /boot/initrd.img-3.9.1-kirkwood /boot/uInitrd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
tree
Re: dockstar sid/jessie usb-root issue
July 10, 2013 03:30PM
Hi bodhi

1. removed flash-kernel
2. ran apt-get update which updated the kernel package to 3.9.8-1
3. executed the mkimage command manually

same issue.

cheers
t
Re: dockstar sid/jessie usb-root issue
July 26, 2013 04:29PM
i did a fresh install from the kirkwood.debian-wheezy.sh script and changed this one line to have it load testing (jessie) instead. this also is on a dockstar.

# debootstrap configuration
RELEASE=testing  <---CHANGED THIS FROM WHEEZY
VARIANT=minbase
ARCH=armel

and it downloaded and everything looked good, but after rebooting it gives the same error...

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/sda1 does not exist.  Dropping to [   28.921203] usbcore: registered new interface driver usbfs
a shell!
[   28.928456] usbcore: registered new interface driver hub
[   28.933959] usbcore: registered new device driver usb
[   28.941275] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   28.950672] ehci-pci: EHCI PCI platform driver
[   28.969647] uhci_hcd: USB Universal Host Controller Interface driver
[   28.985134] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   29.003345] hidraw: raw HID events driver (C) Jiri Kosina
[   29.012770] usbcore: registered new interface driver usbhid
[   29. 018368] usbhid: USB HID core driver

anyone have any thoughts? are there modules missing or something?



Edited 1 time(s). Last edit at 07/26/2013 04:40PM by troutsoup.
ah i went about it a different way
July 27, 2013 05:02AM
just did a plain vanilla wheezy install then used this kernel:

http://forum.doozan.com/read.php?2,12096

i ended up removng the virtual package for the linux image for kirkwood:

[REMOVE] linux-image-kirkwood:armel

it kept trying to push that 9.3.1 or whatever kernel that refuses to load

after that i went into the apt settings and changed em over to testing and it all seem pretty good so far.

are updating kernels always going to be a nightmare? honestly if i can get my 3G card working on wheezy i'm staying there. i used to like to muck around in testing, but now i just want things to work! also if a kernel upgrade borks things, does uboot have an option to boot a specific kernel, so you can get in and fix things real quick?

it would be nice if apt just updated the kernels and made the uImage and the uInitramfs correctly and the kernel didnt bork up stuff...someday! linux has gotten more organized since the early days!
nrq
Re: dockstar sid/jessie usb-root issue
September 15, 2013 04:27PM
Been running into that problem when updating to jessie. Has anyone found a solution yet, besides using a different kernel?
urs
Re: dockstar sid/jessie usb-root issue
September 20, 2013 01:40PM
I ran into the same problem, and found this hint:

http://lists.debian.org/debian-kernel/2013/06/msg01283.html

I could fix it with:

echo "ehci-orion" >> /etc/initramfs-tools/modules
mkinitramfs -o /boot/initrd.img-3.10-2-kirkwood
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-3.10-2-kirkwood -d /boot/initrd.img-3.10-2-kirkwood /boot/uInitrd
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: