Hello
I have been trying to move accross to the 2.6.37 kernel and have got the system mostly booting except for the network adapter. My board uses the smsc911x driver for the phy. It shows from the boot log that the device is seen but there is no dhcp request. I need dhcp as I develop using NFS. It all used to work nicely with 2.6.32 and I thought transition to 2.6.37 would be relatively painless. How wrong I am.
I have been looking through the forums but I cannot find a solution to the problem.
I have checked and DHCP server is running fine and the NFS server is running fine as I can boot using 2.6.32 kernel and appropriate rootfs via NFS.
I think the kernel boot line is correct: Kernel command line: console=ttyO0,115200n8 mem=71M@0x80000000 mem=384M@0x88000000 mpurate=1000 rootdelay=30 nfsroot=10.0.0.10:/opt/ICU_004 root=/dev/nfs rw rootfstype=nfs ip=dhcp
I added the root delay just in case there was an issue bringing the phy up and requesting an address. I have checked with wireshark and there are no requests.
The boot log is as follows:
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.37 (me@linux.me.local) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Sat May 12 22:34:47 BST 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: TDM3730
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 110848
[ 0.000000] Kernel command line: console=ttyO0,115200n8 mem=71M@0x80000000 mem=384M@0x88000000 mpurate=1000 rootdelay=30 nfsroot=10.0.0.10:/opt/ICU_004 root=/dev/nfs rw rootfstype=nfs ip=dhcp
[ 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: 71MB 366MB = 437MB total
[ 0.000000] Memory: 437748k/437748k available, 28172k 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 - 0xc002f000 ( 156 kB)
[ 0.000000] .text : 0xc002f000 - 0xc0515000 (5016 kB)
[ 0.000000] .data : 0xc0516000 - 0xc05514e0 ( 238 kB)
[ 0.000000] NR_IRQS:409
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 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 clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
[ 0.000000] pid_max: default: 32768 minimum: 301
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] regulator: core version 0.5
[ 0.000000] regulator: dummy:
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] GPMC revision 5.0
[ 0.000000] Trying to install interrupt handler for IRQ402
[ 0.000000] Trying to install interrupt handler for IRQ403
[ 0.000000] Trying to install interrupt handler for IRQ404
[ 0.000000] Trying to install interrupt handler for IRQ405
[ 0.000000] Trying to install interrupt handler for IRQ406
[ 0.000000] Trying to install interrupt handler for IRQ407
[ 0.000000] Trying to install interrupt handler for IRQ408
[ 0.000000] Trying to install type control for IRQ409
[ 0.000000] Trying to set irq flags for IRQ409
[ 0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.000000] Could not look up dss_core
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: at arch/arm/mach-omap2/clock.c:438 omap2_clk_switch_mpurate_at_boot+0x88/0xbc()
[ 0.000000] clock: dpll1_ck: unable to set MPU rate to 1000: -22
[ 0.000000] Modules linked in:
[ 0.000000] Backtrace:
[ 0.000000] [<c0038614>] (dump_backtrace+0x0/0x110) from [<c03c6264>] (dump_stack+0x18/0x1c)
[ 0.000000] r7:de82df48 r6:c000fe88 r5:c04b5109 r4:000001b6
[ 0.000000] [<c03c624c>] (dump_stack+0x0/0x1c) from [<c005a804>] (warn_slowpath_common+0x54/0x6c)
[ 0.000000] [<c005a7b0>] (warn_slowpath_common+0x0/0x6c) from [<c005a8c0>] (warn_slowpath_fmt+0x38/0x40)
[ 0.000000] r9:00000000 r8:c000febc r7:00000013 r6:c002b488 r5:c04b1e27
[ 0.000000] r4:c051f9e8
[ 0.000000] [<c005a888>] (warn_slowpath_fmt+0x0/0x40) from [<c000fe88>] (omap2_clk_switch_mpurate_at_boot+0x88/0xbc)
[ 0.000000] r3:c04b1e27 r2:c04b51ec
[ 0.000000] [<c000fe00>] (omap2_clk_switch_mpurate_at_boot+0x0/0xbc) from [<c000fed0>] (omap3xxx_clk_arch_init+0x14/0x44)
[ 0.000000] r6:c005da4c r5:c00083b0 r4:c0026f18
[ 0.000000] [<c000febc>] (omap3xxx_clk_arch_init+0x0/0x44) from [<c002f3b0>] (do_one_initcall+0xd0/0x1a4)
[ 0.000000] r5:c00083b0 r4:c0026f18
[ 0.000000] [<c002f2e0>] (do_one_initcall+0x0/0x1a4) from [<c000844c>] (kernel_init+0x9c/0x154)
[ 0.000000] [<c00083b0>] (kernel_init+0x0/0x154) from [<c005da4c>] (do_exit+0x0/0x5c4)
[ 0.000000] r5:c00083b0 r4:00000000
[ 0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.000000] OMAP DMA hardware revision 5.0
[ 0.019866] bio: create slab <bio-0> at 0
[ 0.021026] regulator: vmmc: 3300 mV normal standby
[ 0.022674] SCSI subsystem initialized
[ 0.025482] usbcore: registered new interface driver usbfs
[ 0.025726] usbcore: registered new interface driver hub
[ 0.025970] usbcore: registered new device driver usb
[ 0.027252] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
[ 0.030151] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.030181] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.030670] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.033843] regulator: VUSB1V5: 1500 mV normal standby
[ 0.034423] regulator: VUSB1V8: 1800 mV normal standby
[ 0.034973] regulator: VUSB3V1: 3100 mV normal standby
[ 0.036529] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.038055] regulator: VPLL1: 1000 <--> 1800 mV at 1800 mV normal standby
[ 0.039855] regulator: VIO: 1800 mV normal standby
[ 0.040527] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[ 0.041137] regulator: VDAC: 1800 mV normal standby
[ 0.041778] regulator: VAUX2_4030: 2800 mV normal standby
[ 0.042358] regulator: VPLL2: 1800 mV normal standby
[ 0.042602] twl_reg twl_reg.5: can't register VPLL2, -16
[ 0.042633] twl_reg: probe of twl_reg.5 failed with error -16
[ 0.043151] machine_constraints_voltage: unsupportable 'VMMC2' voltage constraints
[ 0.043365] twl_reg twl_reg.7: can't register VMMC2, -22
[ 0.043395] twl_reg: probe of twl_reg.7 failed with error -22
[ 0.044006] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[ 0.044250] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[ 0.054809] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
[ 0.056823] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.058258] cfg80211: Calling CRDA to update world regulatory domain
[ 0.058532] Switching to clocksource 32k_counter
[ 0.077911] musb-hdrc: version 6.0, otg (peripheral+host), debug=0
[ 0.078063] musb-hdrc musb-hdrc.0: dma type: dma-inventra
[ 0.078338] musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.079010] NET: Registered protocol family 2
[ 0.079193] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.079681] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.080139] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.080444] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.080444] TCP reno registered
[ 0.080474] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.080505] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.080718] NET: Registered protocol family 1
[ 0.081054] RPC: Registered udp transport module.
[ 0.081054] RPC: Registered tcp transport module.
[ 0.081085] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.082641] omap_dsp_init: 600000 bytes @ 9ee00000
[ 0.083160] omap-iommu omap-iommu.0: isp registered
[ 0.099090] msgmni has been set to 854
[ 0.099975] io scheduler noop registered
[ 0.099975] io scheduler deadline registered
[ 0.100097] io scheduler cfq registered (default)
[ 0.101440] Generic Backlight Driver Initialized.
[ 0.102233] OMAP DSS rev 2.0
[ 0.102325] OMAP DISPC rev 3.0
[ 0.102355] OMAP VENC rev 2
[ 0.102691] OMAP DSI rev 1.0
[ 0.265655] sil9022 3-0039: <sil9022_set_cm_clkout_ctrl> sil9022 HDMI Chip version = b0
[ 0.426727] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.428619] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 1.238739] console [ttyO0] enabled
[ 1.242797] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 1.250549] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 1.258270] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[ 1.268280] omap2-nand driver initializing
[ 1.272949] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
[ 1.282226] cmdlinepart partition parsing not available
[ 1.287750] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.293365] 0x000000000000-0x000000080000 : "X-Loader"
[ 1.300445] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.307861] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.314880] 0x000000280000-0x000000680000 : "Kernel"
[ 1.323181] 0x000000680000-0x000020000000 : "File System"
[ 1.541625] smsc911x: Driver version 2008-10-21.
[ 1.548095] smsc911x-mdio: probed
[ 1.551666] eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
[ 1.560546] net eth0: MAC Address: 00:1f:7b:20:00:b5
[ 1.566162] usbcore: registered new interface driver asix
[ 1.572082] usbcore: registered new interface driver cdc_ether
[ 1.578399] usbcore: registered new interface driver net1080
[ 1.584533] usbcore: registered new interface driver cdc_subset
[ 1.590942] usbcore: registered new interface driver zaurus
[ 1.596801] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.621215] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 1.627227] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 1.635101] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 1.652526] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 1.658630] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.665740] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.673339] usb usb1: Product: OMAP-EHCI Host Controller
[ 1.678894] usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd
[ 1.684570] usb usb1: SerialNumber: ehci-omap.0
[ 1.690185] hub 1-0:1.0: USB hub found
[ 1.694213] hub 1-0:1.0: 3 ports detected
[ 1.723022] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.729736] Initializing USB Mass Storage driver...
[ 1.735137] usbcore: registered new interface driver usb-storage
[ 1.741455] USB Mass Storage support registered.
[ 1.746551] g_ether gadget: using random self ethernet address
[ 1.752685] g_ether gadget: using random host ethernet address
[ 1.759429] usb0: MAC da:b9:9a:21:84:84
[ 1.763488] usb0: HOST MAC 3a:f4:1b:44:51:c5
[ 1.768524] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 1.776153] g_ether gadget: g_ether ready
[ 1.780364] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 1.786041] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 1.794067] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.801208] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.808807] usb usb2: Product: MUSB HDRC host driver
[ 1.813995] usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
[ 1.819671] usb usb2: SerialNumber: musb-hdrc.0
[ 1.825286] hub 2-0:1.0: USB hub found
[ 1.829223] hub 2-0:1.0: 1 port detected
[ 1.833923] mice: PS/2 mouse device common for all mice
[ 1.840087] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 1.848632] ads7846 spi1.0: touchscreen, irq 296
[ 1.854003] input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
[ 1.864562] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input2
[ 1.877838] rtc-ds1307 3-0068: rtc core: registered ds1337 as rtc0
[ 1.884552] i2c /dev entries driver
[ 1.889465] Linux media interface: v0.10
[ 1.893798] Linux video capture interface: v2.00
[ 1.900634] cpuidle: using governor ladder
[ 1.904968] cpuidle: using governor menu
[ 1.910522] mmci-omap-hs.0 supply vmmc_aux not found, using dummy regulator
[ 1.921630] leds-gpio: probe of leds-gpio failed with error -22
[ 1.929077] usbcore: registered new interface driver usbhid
[ 1.934967] usbhid: USB HID core driver
[ 1.950744] DSP Bridge driver loaded
[ 1.956481] OMAP3 TAO/TDM SoC Sound init
[ 2.021392] usb 1-2: new high speed USB device using ehci-omap and address 2
[ 2.039459] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 2.050140] ALSA device list:
[ 2.053314] #0: omap3taotdm
[ 2.056640] TCP cubic registered
[ 2.060058] NET: Registered protocol family 17
[ 2.064758] NET: Registered protocol family 15
[ 2.069610] lib80211: common routines for IEEE802.11 drivers
[ 2.075622] Registering the dns_resolver key type
[ 2.080688] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.094024] Power Management for TI OMAP3.
[ 2.100830] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[ 2.109008] smartreflex: probe of smartreflex.0 failed with error -22
[ 2.115814] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[ 2.123931] smartreflex: probe of smartreflex.1 failed with error -22
[ 2.131042] sr_init: platform driver register failed for SR
[ 2.136901] SmartReflex Class3 initialized
[ 2.141204] clock: disabling unused clocks to save power
[ 2.149627] allocating 1536000 bytes for fb 0
[ 2.221343] omapdss DPI: Could not find exact pixel clock. Requested 33260 kHz, got 33259 kHz
[ 2.256378] usb 1-2: New USB device found, idVendor=05e3, idProduct=0608
[ 2.263427] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.270904] usb 1-2: Product: USB2.0 Hub
[ 2.276306] hub 1-2:1.0: USB hub found
[ 2.280670] hub 1-2:1.0: 4 ports detected
[ 2.287506] regulator_init_complete: incomplete constraints, leaving VDAC on
[ 2.295410] regulator_init_complete: incomplete constraints, leaving vmmc on
[ 2.303680] rtc-ds1307 3-0068: setting system clock to 2012-05-12 21:29:42 UTC (1336858182)
[ 2.312591] omap_vout omap_vout: probed for an unknown device
[ 2.319122] Waiting 30sec before mounting root device...
[ 32.332611] List of all partitions:
[ 32.336334] 1f00 512 mtdblock0 (driver?)
[ 32.341766] 1f01 1920 mtdblock1 (driver?)
[ 32.347106] 1f02 128 mtdblock2 (driver?)
[ 32.352508] 1f03 4096 mtdblock3 (driver?)
[ 32.357910] 1f04 517632 mtdblock4 (driver?)
[ 32.363250] No filesystem could mount root, tried: nfs
[ 32.369110] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)
Hopefully someone else out there has had the same problem and solved it.
Thanks
Marc