[omap/igep] No eth0 with Linaro kernel

Bug #618734 reported by Loïc Minier
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Linux
Invalid
Medium
Unassigned
linux-linaro (Ubuntu)
Fix Released
High
John Rigby
Maverick
Fix Released
High
John Rigby

Bug Description

Hi

When booting my IGEPv2 with linux-image-2.6.35-1001-omap_2.6.35-1001.5_armel from the ~linaro-maintainers/kernel PPA, I don't get any eth0.

## Booting kernel from Legacy Image at 80000000 ...
   Image Name: Linux
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3687224 Bytes = 3.5 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
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.35-1001-omap (buildd@buttercup) (gcc version 4.4.5 20100728 (prerelease) (Ubuntu/Linaro 4.4.4-8ubuntu1) ) #5-Ubuntu Wed Aug 11 22:28:38 UTC 2010 (Ubuntu 2.6.35-1001.5-omap 2.6.35.1)
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: IGEP v2 board
[ 0.000000] Reserving 6291456 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: mem=512M console=ttyS2,115200n8 console=tty0 omapfb.mode=dvi:1024x768MR-16@60 root=/dev/mmcblk0p2 rw rootwait
[ 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] allocated 2621440 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 502772k/502772k available, 21516k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0042000 ( 232 kB)
[ 0.000000] .text : 0xc0042000 - 0xc06a7000 (6548 kB)
[ 0.000000] .data : 0xc0712000 - 0xc0768d60 ( 348 kB)
[ 0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/224/720 MHz
[ 0.000000] Reprogramming SDRC clock to 224791666 Hz
[ 0.000000] dpll3_m2_clk rate change failed: -22
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Calibrating delay loop... 719.47 BogoMIPS (lpj=2809856)
[ 0.000000] pid_max: default: 32768 minimum: 301
[ 0.000000] Security Framework initialized
[ 0.000000] AppArmor: AppArmor initialized
[ 0.000000] Yama: becoming mindful.
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] Initializing cgroup subsys ns
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Initializing cgroup subsys memory
[ 0.000000] Initializing cgroup subsys devices
[ 0.000000] Initializing cgroup subsys freezer
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] devtmpfs: initialized
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.000122] OMAP DMA hardware revision 4.0
[ 0.004974] bio: create slab <bio-0> at 0
[ 0.006774] SCSI subsystem initialized
[ 0.007415] usbcore: registered new interface driver usbfs
[ 0.007537] usbcore: registered new interface driver hub
[ 0.007720] usbcore: registered new device driver usb
[ 0.008148] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 0.010681] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.010742] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.011199] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.013397] regulator: VUSB1V5: 1500 mV normal standby
[ 0.013763] regulator: VUSB1V8: 1800 mV normal standby
[ 0.014068] regulator: VUSB3V1: 3100 mV normal standby
[ 0.014739] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[ 0.015136] regulator: VDVI: 1800 mV normal standby
[ 0.015533] regulator: VMMC2: 1850 <--> 3150 mV at 2600 mV normal standby
[ 0.015808] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 0.016723] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.017272] NetLabel: Initializing
[ 0.017303] NetLabel: domain hash size = 128
[ 0.017333] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.017425] NetLabel: unlabeled traffic allowed by default
[ 0.017486] Switching to clocksource 32k_counter
[ 0.026733] AppArmor: AppArmor Filesystem Enabled
[ 0.027954] NET: Registered protocol family 2
[ 0.028259] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.029113] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.029449] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.029663] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.029693] TCP reno registered
[ 0.029693] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.029754] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.029968] NET: Registered protocol family 1
[ 0.031005] PMU: registered new PMU device of type 0
[ 0.031494] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.031890] audit: initializing netlink socket (disabled)
[ 0.031982] type=2000 audit(0.210:1): initialized
[ 0.172241] VFS: Disk quotas dquot_6.5.2
[ 0.172637] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.176086] fuse init (API version 7.14)
[ 0.176727] msgmni has been set to 981
[ 0.177978] alg: No test for stdrng (krng)
[ 0.178436] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.178497] io scheduler noop registered
[ 0.178527] io scheduler deadline registered
[ 0.178619] io scheduler cfq registered (default)
[ 0.236602] OMAP DSS rev 2.0
[ 0.236724] OMAP DISPC rev 3.0
[ 0.236755] omapdss VENC error: can't get VDDA_DAC regulator
[ 0.236785] omapdss CORE error: Failed to initialize venc
[ 0.245819] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.267242] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[ 0.287963] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[ 0.308532] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[ 0.927703] console [ttyS2] enabled
[ 0.937500] brd: module loaded
[ 0.943664] loop: module loaded
[ 0.948730] omap2-nand driver initializing
[ 0.954772] Fixed MDIO Bus: probed
[ 0.958557] PPP generic driver version 2.4.2
[ 0.963256] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[ 0.973022] CSLIP: code copyright 1989 Regents of the University of California.
[ 0.980407] SLIP linefill/keepalive option.
[ 0.984710] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.991638] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 0.997436] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 1.005065] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 1.025482] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 1.032104] hub 1-0:1.0: USB hub found
[ 1.035980] hub 1-0:1.0: 3 ports detected
[ 1.065063] mice: PS/2 mouse device common for all mice
[ 1.070831] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 1.077178] twl_rtc twl_rtc: Power up reset detected.
[ 1.083282] twl_rtc twl_rtc: Enabling TWL-RTC.
[ 1.088867] device-mapper: uevent: version 1.0.3
[ 1.094360] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: <email address hidden>
[ 1.103302] device-mapper: multipath: version 1.1.1 loaded
[ 1.108917] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 1.116271] cpuidle: using governor ladder
[ 1.120483] cpuidle: using governor menu
[ 1.124481] sdhci: Secure Digital Host Controller Interface driver
[ 1.130767] sdhci: Copyright(c) Pierre Ossman
[ 1.196441] No device for DAI omap-mcbsp-dai-0
[ 1.200988] No device for DAI omap-mcbsp-dai-1
[ 1.205505] No device for DAI omap-mcbsp-dai-2
[ 1.209960] No device for DAI omap-mcbsp-dai-3
[ 1.214477] No device for DAI omap-mcbsp-dai-4
[ 1.218933] Not OMAP3 EVM!
[ 1.221710] IGEP v2 SoC init
[ 1.225921] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 1.234466] ALSA device list:
[ 1.237579] #0: igep2 (twl4030)
[ 1.241973] TCP cubic registered
[ 1.246337] NET: Registered protocol family 10
[ 1.252166] lo: Disabled Privacy Extensions
[ 1.257141] NET: Registered protocol family 17
[ 1.263214] Power Management for TI OMAP3.
[ 1.269622] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[ 1.278198] registered taskstats version 1
[ 1.282470] omapfb omapfb: no displays
[ 1.286315] omapfb omapfb: failed to setup omapfb
[ 1.291168] omapfb: probe of omapfb failed with error -22
[ 1.300354] regulator_init_complete: incomplete constraints, leaving VDVI on
[ 1.307769] regulator_init_complete: incomplete constraints, leaving VUSB3V1 on
[ 1.315399] regulator_init_complete: incomplete constraints, leaving VUSB1V8 on
[ 1.323089] regulator_init_complete: incomplete constraints, leaving VUSB1V5 on
[ 1.331451] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.342987] md: Waiting for all devices to be available before autodetect
[ 1.349884] md: If you don't use raid, use raid=noautodetect
[ 1.356536] md: Autodetecting RAID arrays.
[ 1.360687] md: Scanned 0 and added 0 devices.
[ 1.365234] md: autorun ...
[ 1.368041] md: ... autorun DONE.
[ 1.371673] Waiting for root device /dev/mmcblk0p2...
[ 1.681854] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.690063] mmc0: new high speed SDHC card at address 0007
[ 1.696075] mmcblk0: mmc0:0007 SD04G 3.81 GiB
[ 1.700988] mmcblk0: p1 p2
[ 1.796234] mmc1: new SDIO card at address 0001
[ 1.810638] EXT3-fs: barriers not enabled
[ 1.816528] kjournald starting. Commit interval 5 seconds
[ 1.822113] EXT3-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 1.981475] EXT3-fs (mmcblk0p2): using internal journal
[ 1.986846] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 1.993835] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 2.002075] devtmpfs: mounted
[ 2.005157] Freeing init memory: 232K
[ 5.550262] libertas: can't load helper firmware
[ 5.554962] libertas: failed to load helper firmware

ifconfig -a or /sys/class/net only show lo.

If I modprobe smc911x, I don't get anything in the logs either.

Thanks,

Tags: armel igep omap3
Revision history for this message
Loïc Minier (lool) wrote :

root@igep:~# lsmod
Module Size Used by
smc911x 23029 0
libertas_sdio 8704 0
libertas 83610 1 libertas_sdio
cfg80211 166848 1 libertas
rfkill 19324 1 cfg80211
lib80211 5859 1 libertas
musb_hdrc 74467 0
leds_gpio 2390 0
omap_wdt 4798 0
omap2_mcspi 8578 0
led_class 3338 1 leds_gpio
twl4030_usb 5189 0
twl4030_pwrbutton 1806 0

Note that libertas (wifi) gets loaded, but doesn't have a corresponding firmware:
root@igep:~# dmesg |grep -i firmware
[ 5.550262] libertas: can't load helper firmware
[ 5.554962] libertas: failed to load helper firmware

Changed in linux-linaro:
assignee: nobody → Torez Smith (lnxtorez)
Revision history for this message
Loïc Minier (lool) wrote :

Torez, would you mind looking into this? I'm happy to test kernels, or provide debug info

Loïc Minier (lool)
tags: added: armel igep omap3
Loïc Minier (lool)
Changed in linux-linaro:
importance: Undecided → Medium
Torez Smith (lnxtorez)
Changed in linux-linaro:
status: New → In Progress
Revision history for this message
Torez Smith (lnxtorez) wrote :

two changes were needed here...turn off CONFIG_FIXED_PHY and make certain CONFIG_SMSC911X is enabled.

Changed in linux-linaro:
assignee: Torez Smith (lnxtorez) → John Rigby (jcrigby)
Revision history for this message
Torez Smith (lnxtorez) wrote :

this patch needs to be include with the Linaro OMAP builds

Revision history for this message
Loïc Minier (lool) wrote :

John, could you make sure this gets applied in the linux-linaro packaging and uploaded?

Changed in linux-linaro:
status: In Progress → Invalid
Changed in linux-linaro (Ubuntu Maverick):
assignee: nobody → John Rigby (jcrigby)
importance: Undecided → High
status: New → Triaged
Changed in linux-linaro:
assignee: John Rigby (jcrigby) → nobody
Changed in linux-linaro (Ubuntu Maverick):
milestone: none → ubuntu-10.10
Revision history for this message
Loïc Minier (lool) wrote :

I tested this fix by manually building an uImage with this config change from linux-linaro-2.6.35, and I can confirm I got eth0 back.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-linaro - 2.6.35-1006.11

---------------
linux-linaro (2.6.35-1006.11) maverick; urgency=low

  [ Upstream Kernel Changes ]

  * ARM: vexpress: set RAM latencies to 1 cycle for PL310 on ct-ca9x4 tile
    - LP: #633417
  * ARM: add a vma entry for the user accessible vector page
  * ARM: plug a race with the alignment trap handler
  * ARM: SECCOMP support

  [ John Rigby ]

  * LINARO: rebase on linux-linaro-2.6.35-16Sep2010 and Ubuntu-2.6.35-22.32 merge
  * LINARO: [CONFIG] igep ethernet fix
  * LINARO: [CONFIG] turn do_tools on
    - LP: #618734
 -- John Rigby <email address hidden> Thu, 16 Sep 2010 18:03:14 -0600

Changed in linux-linaro (Ubuntu Maverick):
status: Triaged → Fix Released
Revision history for this message
Torez Smith (lnxtorez) wrote :

ah... it appears the fix for this bug also went in along side the bug to turn on do_tools which explains why I'm not finding these fixes in Linaro build 20100918-0

So I'll retest for these changes once we have resolution to bug https://bugs.launchpad.net/ubuntu/+source/linaro-image-tools/+bug/639852

Revision history for this message
Ricardo Lameiro (rlameiro) wrote :

I Can confirm its working installing it from the repos.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.