On Thu, Jan 15, 2015 at 10:23 AM, Ran Shalit <[email protected]> wrote: > Hi Robert, > > Thank you very much. > I was lazy not to notice that.... > It now seems better (less errors on boot), but still fails with same error: > insmod: error inserting 'g_ether.ko': -1 No such device > Can you give me another hint what might cause such failure? > > This is the boot log: > > Last login: Thu Jan 12 12:31:58 GMT 2012 on ttyO2 > root@beagleboard:~# > root@beagleboard:~# > root@beagleboard:~# > root@beagleboard:~# modprobe g_ether > [ 30.667053] g_ether: disagrees about version of symbol module_layout > FATAL: Error inserting g_ether
This means your kernel was built seperatly from the modules.. When you build your kernel, just also build 'make modules' and install them to the rootfs.. > (/lib/modules/2.6.37/kernel/drivers/usb/gadget/g_ether.ko): Invalid module > format > root@beagleboard:~# d > > Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07) > Beagle Rev C5 > Reading boot sector > Loading u-boot.bin from mmc > > > U-Boot 2009.06-rc2 (Jan 15 2015 - 11:12:37) > > , CPU-OPP2 L3-165MHz > OMAP3 Beagle board + LPDDR/NAND > DRAM: 256 MB > NAND: 512 MiB > In: serial > Out: serial > Err: serial > Board revision Ax/Bx > Die ID #74aa000700000000015a676401014023 > Hit any key to stop autoboot: 0 > mmc1 is available > reading uImage > > 2918324 bytes read > ## Booting kernel from Legacy Image at 80300000 ... > Image Name: Linux-2.6.37 > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 2918260 Bytes = 2.8 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] Linux version 2.6.37 (ubuntu@ubuntu-laptop) (gcc version > 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #7 Thu Jan 15 18:09:40 IST 2015 > [ 0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), > cr=10c53c7f > [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing > instruction cache > [ 0.000000] Machine: OMAP3 Beagle Board > [ 0.000000] Reserving 4194304 bytes SDRAM for VRAM > [ 0.000000] Memory policy: ECC disabled, Data cache writeback > [ 0.000000] OMAP3430/3530 ES3.1.2 (l2cache iva sgx neon isp 720mhz ) > [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000 > [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total > pages: 64000 > [ 0.000000] Kernel command line: console=ttyO2,115200n8 > root=/dev/mmcblk0p2 rw rootwait > [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) > [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 > bytes) > [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > [ 0.000000] Memory: 252MB = 252MB total > [ 0.000000] Memory: 242740k/242740k available, 19404k 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 : 0xd0800000 - 0xf8000000 ( 632 MB) > [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) > [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) > [ 0.000000] .init : 0xc0008000 - 0xc003a000 ( 200 kB) > [ 0.000000] .text : 0xc003a000 - 0xc0568f4c (5308 kB) > [ 0.000000] .data : 0xc056a000 - 0xc071f1a0 (1749 kB) > [ 0.000000] NR_IRQS:409 > [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz > [ 0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec) > [ 0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec) > [ 0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec) > [ 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] 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 clockevent source: GPTIMER12 at 32768 Hz > [ 0.000000] Console: colour dummy device 80x30 > [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., > Ingo Molnar > [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 > [ 0.000000] ... MAX_LOCK_DEPTH: 48 > [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 > [ 0.000000] ... CLASSHASH_SIZE: 4096 > [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 > [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 > [ 0.000000] ... CHAINHASH_SIZE: 16384 > [ 0.000000] memory used by lock dependency info: 3951 kB > [ 0.000000] per task-struct memory footprint: 2304 bytes > [ 0.000000] Calibrating delay loop... 456.86 BogoMIPS (lpj=1781760) > [ 0.000000] pid_max: default: 32768 minimum: 301 > [ 0.000000] Security Framework initialized > [ 0.000000] Mount-cache hash table entries: 512 > [ 0.000000] CPU: Testing write buffer coherency: ok > [ 0.000000] devtmpfs: initialized > [ 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] omap_mux_init: Add partition: #1: core, flags: 0 > [ 0.000000] OMAP3 Beagle Rev: C4 > [ 0.000000] Found NAND on CS0 > [ 0.000000] Registering NAND on CS0 > [ 0.000000] Unable to get DVI reset GPIO > [ 0.000000] hw-breakpoint: debug architecture 0x4 unsupported. > [ 0.000000] OMAP DMA hardware revision 4.0 > [ 0.122314] bio: create slab <bio-0> at 0 > [ 0.133697] SCSI subsystem initialized > [ 0.147491] usbcore: registered new interface driver usbfs > [ 0.149322] usbcore: registered new interface driver hub > [ 0.150878] usbcore: registered new device driver usb > [ 0.157501] omap_device: omap_i2c.1: new worst case activate latency 0: > 30517 > [ 0.157684] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz > [ 0.172485] twl4030: PIH (irq 7) chaining IRQs 368..375 > [ 0.172729] twl4030: power (irq 373) chaining IRQs 376..383 > [ 0.175842] twl4030: gpio (irq 368) chaining IRQs 384..401 > [ 0.192443] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby > [ 0.196044] regulator: VDAC: 1800 mV normal standby > [ 0.199615] regulator: VDVI: 1800 mV normal standby > [ 0.203613] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby > [ 0.207763] regulator: VAUX3: 1800 mV normal standby > [ 0.211334] regulator: VAUX4: 1800 mV normal standby > [ 0.211914] omap_device: omap_i2c.1: new worst case deactivate latency 0: > 61035 > [ 0.221954] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz > [ 0.236083] omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz > [ 0.246398] Advanced Linux Sound Architecture Driver Version 1.0.23. > [ 0.251586] Switching to clocksource 32k_counter > [ 0.440246] musb-hdrc: version 6.0, peripheral, debug=0 > [ 0.440673] musb-hdrc musb-hdrc.0: degrade from otg to peripheral-only > mode > [ 0.440795] musb-hdrc musb-hdrc.0: dma type: dma-inventra > [ 0.440826] HS USB OTG: no transceiver configured > [ 0.440856] musb-hdrc musb-hdrc.0: musb_init_controller failed with > status -19 > [ 0.442718] NET: Registered protocol family 2 > [ 0.443664] IP route cache hash table entries: 2048 (order: 1, 8192 > bytes) > [ 0.446136] TCP established hash table entries: 8192 (order: 4, 65536 > bytes) > [ 0.446746] TCP bind hash table entries: 8192 (order: 6, 360448 bytes) > [ 0.452423] TCP: Hash tables configured (established 8192 bind 8192) > [ 0.452545] TCP reno registered > [ 0.452606] UDP hash table entries: 128 (order: 1, 12288 bytes) > [ 0.453033] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes) > [ 0.454437] NET: Registered protocol family 1 > [ 0.456481] RPC: Registered udp transport module. > [ 0.456512] RPC: Registered tcp transport module. > [ 0.456542] RPC: Registered tcp NFSv4.1 backchannel transport module. > [ 0.457855] NetWinder Floating Point Emulator V0.97 (double precision) > [ 0.461059] platform iva.0: Enabled OPP corresponding to 720MHz > [ 0.465179] omap-iommu omap-iommu.0: isp registered > [ 0.466308] OMAP35x Linux PSP version 04.02.00.07 (OMAP3BEAGLE) > [ 0.654205] VFS: Disk quotas dquot_6.5.2 > [ 0.654388] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > [ 0.657714] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, > Inc. > [ 0.659271] msgmni has been set to 474 > [ 0.665100] io scheduler noop registered > [ 0.665191] io scheduler deadline registered > [ 0.665435] io scheduler cfq registered (default) > [ 0.728576] OMAP DSS rev 2.0 > [ 0.729248] OMAP DISPC rev 3.0 > [ 0.729431] OMAP VENC rev 2 > [ 0.730957] OMAP DSI rev 1.0 > [ 1.060791] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > [ 1.073242] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP > UART0 > [ 1.076141] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP > UART1 > [ 1.078155] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP > UART2 > [ 1.821472] console [ttyO2] enabled > [ 1.889343] brd: module loaded > [ 1.923370] loop: module loaded > [ 1.935363] mtdoops: mtd device (mtddev=name/number) must be supplied > [ 1.942352] omap2-nand driver initializing > [ 1.947479] ONFI flash detected > [ 1.951019] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron ) > [ 1.958160] Creating 5 MTD partitions on "omap2-nand.0": > [ 1.963836] 0x000000000000-0x000000080000 : "X-Loader" > [ 1.982055] 0x000000080000-0x000000260000 : "U-Boot" > [ 1.997100] 0x000000260000-0x000000280000 : "U-Boot Env" > [ 2.011535] 0x000000280000-0x000000680000 : "Kernel" > [ 2.027618] 0x000000680000-0x000020000000 : "File System" > [ 2.298248] OneNAND driver initializing > [ 2.315246] mice: PS/2 mouse device common for all mice > [ 2.324920] input: gpio-keys as /devices/platform/gpio-keys/input/input0 > [ 2.343780] omap_device: omap_i2c.1: new worst case activate latency 0: > 91552 > [ 2.352966] input: twl4030_pwrbutton as > /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1 > [ 2.372009] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 > [ 2.379119] twl_rtc twl_rtc: Power up reset detected. > [ 2.385589] twl_rtc twl_rtc: Enabling TWL-RTC. > [ 2.393066] i2c /dev entries driver > [ 2.405456] Linux media interface: v0.10 > [ 2.410736] Linux video capture interface: v2.00 > [ 2.418273] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator > [ 2.425506] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator > [ 2.433227] omap3isp omap3isp: Revision 2.0 found > [ 2.438476] omap-iommu omap-iommu.0: isp: version 1.1 > [ 2.559204] omap_i2c omap_i2c.2: Arbitration lost > [ 2.580078] mt9v113 2-003c: chip id mismatch read 0x0, expecting 0x2280 > [ 2.597198] isp_register_subdev_group: Unable to register subdev mt9v113 > [ 2.605865] omap_device: omap_wdt.-1: new worst case activate latency 0: > 30517 > [ 2.616241] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec > [ 2.622711] omap_device: omap_wdt.-1: new worst case deactivate latency > 0: 30517 > [ 2.632354] twl4030_wdt twl4030_wdt: Failed to register misc device > [ 2.639099] twl4030_wdt: probe of twl4030_wdt failed with error -16 > [ 2.668334] usbcore: registered new interface driver usbhid > [ 2.674285] usbhid: USB HID core driver > [ 2.686126] ALSA device list: > [ 2.689392] No soundcards found. > [ 2.692962] oprofile: hardware counters not available > [ 2.698333] oprofile: using timer interrupt. > [ 2.703430] TCP cubic registered > [ 2.706939] Initializing XFRM netlink socket > [ 2.711639] NET: Registered protocol family 17 > [ 2.716613] NET: Registered protocol family 15 > [ 2.722045] Registering the dns_resolver key type > [ 2.727783] VFP support v0.3: implementor 41 architecture 3 part 30 > variant c rev 1 > [ 2.737945] ThumbEE CPU extension supported. > [ 2.764984] Power Management for TI OMAP3. > [ 2.770355] sr_init: No PMIC hook to init smartreflex > [ 2.776336] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver > initialized > [ 2.785644] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver > initialized > [ 2.795776] SmartReflex Class3 initialized > [ 2.863677] clock: disabling unused clocks to save power > [ 2.872497] platform iva.0: omap_voltage_scale: Already at the > requestedrate 360000000 > [ 2.880920] platform mpu.0: omap_voltage_scale: Already at the > requestedrate 500000000 > [ 2.889343] platform l3_main.0: omap_voltage_scale: Already at the > requestedrate 166000000 > [ 2.931488] omap_device: omap_i2c.1: new worst case deactivate latency 0: > 122070 > [ 2.940246] regulator_init_complete: incomplete constraints, leaving VDAC > on > [ 2.952911] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 > UTC (946684800) > [ 2.962005] omap_vout omap_vout: Buffer Size = 3686400 > [ 2.971313] omap_vout omap_vout: : registered and initialized video > device 15 > [ 2.978973] omap_vout omap_vout: Buffer Size = 3686400 > [ 2.987640] omap_vout omap_vout: : registered and initialized video > device 16 > [ 3.002319] Waiting for root device /dev/mmcblk0p2... > [ 3.166046] mmc0: new high speed SDHC card at address aaaa > [ 3.175537] mmcblk0: mmc0:aaaa SU16G 14.8 GiB > [ 3.200164] mmcblk0: p1 p2 > [ 3.232910] EXT3-fs: barriers not enabled > [ 3.312805] kjournald starting. Commit interval 5 seconds > [ 3.319183] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, > running e2fsck is recommended > [ 3.333465] EXT3-fs (mmcblk0p2): using internal journal > [ 3.339080] EXT3-fs (mmcblk0p2): recovery complete > [ 3.347442] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data > mode > [ 3.355468] VFS: Mounted root (ext3 filesystem) on device 179:2. > [ 3.362091] Freeing init memory: 200K > Failed to open /dev/kmsg for logging: No such file or directory > [ 3.685821] <30>systemd[1]: systemd 37 running in system mode. (+PAM > +LIBWRAP -AUDIT -SELINUX +SYSVINIT -LIBCRYPTSETUP; angstrom) > > Welcome to The ֵngstrצm Distribution! > > [ 3.784942] <28>systemd[1]: /sbin/modprobe failed with error code 1. > [ 3.796173] <30>systemd[1]: Set hostname to <beagleboard>. > [ 4.271270] <27>systemd[1]: Failed to open /dev/autofs: No such file or > directory add: CONFIG_AUTOFS4_FS=y Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
