ethernet gadget with beagleboard

87 views
Skip to first unread message

Ran Shalit

unread,
Jan 15, 2015, 8:22:20 AM1/15/15
to beagl...@googlegroups.com

Hello,


I have trouble using ethernet usb gadget driver on the beagleboard (omap3530).

I am using SDK 4.2.0.7 for the kernel, I've compiled it with beaglebpoard config, so everything is expected to work as required on this EVM.

I have compiled both kernel and modules with ethernet gadget module enabled, but on trying to insmod the driver, I get the following;

root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko

insmod: error inserting 'g_ether.ko': -1 No such device


Did anyone encounter such failure ?

Attached boot log.Regards,

Ran

usb_err.txt

Ran Shalit

unread,
Jan 15, 2015, 9:09:21 AM1/15/15
to beagl...@googlegroups.com
Hi,
I suspect it is related to the following error:

Welcome to The ֵngstrצm Distribution!

[    3.811035] <28>systemd[1]: /sbin/modprobe failed with error code 1.
[    3.822387] <30>systemd[1]: Set hostname to <beagleboard>.
[    3.843353] <28>systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS.
[   13.897247] <28>systemd[1]: No control group support available, not creating root group.
[   14.307220] <27>systemd[1]: Failed to open /dev/autofs: No such file or directory
[   14.315338] <27>systemd[1]: Failed to initialize automounter: No such file or directory
[   14.323974] <29>systemd[1]: Unit proc-sys-fs-binfmt_misc.automount entered failed state.
Starting Runtime Directory...

Is anyone familiar with it ?

Regards,
Ran 
 

Robert Nelson

unread,
Jan 15, 2015, 9:27:39 AM1/15/15
to Beagle Board
It should be pretty obvious, it's actually telling you twice what
kernel config your missing..

Hint: it's telling you your kernel is mis-configured, add the config
option and reboot..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Ran Shalit

unread,
Jan 15, 2015, 10:39:52 AM1/15/15
to beagl...@googlegroups.com


Hi Robert,

Thanks for the hint,
But I re-check the config and it seems that all relevant USB flags are configured correctly:

CONFIG_V4L_USB_DRIVERS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_GSPCA=m
CONFIG_SND_USB=y
CONFIG_USB_HID=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICE_CLASS=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_OMAP2PLUS_GLUE=y
CONFIG_USB_MUSB_OMAP2PLUS=y
CONFIG_USB_MUSB_PERIPHERAL=y
CONFIG_USB_GADGET_MUSB_HDRC=y
CONFIG_USB_INVENTRA_DMA_HW=y
CONFIG_USB_INVENTRA_DMA=y
CONFIG_MUSB_USE_SYSTEM_DMA_WORKAROUND=y
CONFIG_USB_MUSB_DEBUG=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_SELECTED=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_ETH=m
CONFIG_USB_ETH_RNDIS=y
CONFIG_USB_FILE_STORAGE=m
CONFIG_USB_OTG_UTILS=y

Do you find anything missing ?

Regards,
Ran


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/RznTdyaz2gg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Jan 15, 2015, 10:42:29 AM1/15/15
to Beagle Board
[ 3.843353] <28>systemd[1]: CONFIG_CGROUPS was not set when your
kernel was compiled. Systems without control groups are not supported.
We will now sleep for 10s, and then continue boot-up. Expect breakage
and please do not file bugs. Instead fix your kernel and enable
CONFIG_CGROUPS.


Ran Shalit

unread,
Jan 15, 2015, 11:23:25 AM1/15/15
to beagl...@googlegroups.com
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 (/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
[    4.279388] <27>systemd[1]: Failed to initialize automounter: No such file or directory
[    4.288024] <29>systemd[1]: Unit proc-sys-fs-binfmt_misc.automount entered failed state.
Starting Runtime Directory...
Starting Remount API VFS...
Starting Lock Directory...
Starting Media Directory...
Started Apply Kernel Variables                                          [  OK  ]
Started Huge Pages File System                                          [  OK  ]
Starting POSIX Message Queue File System...
Starting File System Check on Root Device...
Started Load Kernel Modules                                             [  OK  ]
Started Configuration File System                                       [  OK  ]
Started FUSE Control File System                                        [  OK  ]
Started Set Up Additional Binary Formats                                [  OK  ]
[    4.773223] <30>systemd-fsck[591]: Root directory is writable, skipping check.
Starting Debug File System...
Started Security File System                                            [  OK  ]
Starting Syslog Kernel Log Buffer Bridge...
Started Syslog Kernel Log Buffer Bridge                                 [  OK  ]
Starting udev Coldplug all Devices...
Starting udev Kernel Device Manager...
Started Runtime Directory                                               [  OK  ]
Started Remount API VFS                                                 [  OK  ]
Started Lock Directory                                                  [  OK  ]
[    5.108489] <30>udevd[599]: starting version 175
Started udev Kernel Device Manager                                      [  OK  ]
Started Media Directory                                                 [  OK  ]
Started POSIX Message Queue File System                                 [  OK  ]
Started File System Check on Root Device                                [  OK  ]
Started Debug File System                                               [  OK  ]
Starting Remount Root FS...
Starting STDOUT Syslog Bridge...
Started STDOUT Syslog Bridge                                            [  OK  ]
Started Remount Root FS                                                 [  OK  ]
Started Opkg first boot configure                                       [  OK  ]
Starting /tmp...
Started Machine ID first boot configure                                 [  OK  ]
Started /tmp                                                            [  OK  ]
Starting Load Random Seed...
Starting Recreate Volatile Files and Directories...
Started Load Random Seed                                                [  OK  ]
Started Recreate Volatile Files and Directories                         [  OK  ]
Starting Console System Startup Logging...
Starting xinetd.service...
Started Angstrom LED config                                             [  OK  ]
Starting Timestamping service...
Started Timestamping service                                            [  OK  ]
Starting Network Manager...
Started SSH Key Generation                                              [  OK  ]
Starting System Logging Service...
Starting Permit User Sessions...
Starting Login Service...
Starting Avahi mDNS/DNS-SD Stack...
Starting Periodic Command Scheduler...
Started Periodic Command Scheduler                                      [  OK  ]
Starting internet superserver: xinetdStarting D-Bus System Message Bus...
Starting Disk Manager...
[    7.560455] <27>systemd-logind[694]: Failed to open /sys/class/tty/tty0/active: No such file or directory
[    7.666564] <27>systemd-logind[694]: Failed to fully start up daemon: No such file or directory
Started Console System Startup Logging                                  [  OK  ]
Started Permit User Sessions                                            [  OK  ]
[    7.854370] <75>/usr/sbin/crond[699]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
[    7.894531] <29>systemd[1]: systemd-logind.service: main process exited, code=exited, status=1
.
Failed to start Login Service                                           [FAILED]
See 'systemctl status systemd-logind.service' for details.
[    8.455841] <29>systemd[1]: Unit systemd-logind.service entered failed state.
[    8.494506] <30>avahi-daemon[697]: Found user 'avahi' (UID 998) and group 'avahi' (GID 996).
[    8.679992] <30>avahi-daemon[697]: Successfully dropped root privileges.
Started xinetd.service                                                  [  OK  ]
[    8.894592] <30>avahi-daemon[697]: avahi-daemon 0.6.30 starting up.
[    9.134979] <26>xinetd[760]: 760 {init_services} no services. Exiting...
[    9.816589] <30>NetworkManager[691]: NetworkManager[691]: <info> NetworkManager (version 0.9.2.0) is starting...
[   10.004302] <30>udisks-daemon[706]: (process:706): GLib-WARNING **: goption.c:2168: ignoring no-arg, optional-arg or filename flags (16) on option of type 1
[   10.050476] <14>NetworkManager[691]: <info> NetworkManager (version 0.9.2.0) is starting...
Started D-Bus System Message Bus                                        [[   10.257171] <30>  OK  ]
NetworkManager[691]: NetworkManager[691]: <info> Read config file (null)
[   10.347076] <14>NetworkManager[691]: <info> Read config file (null)
[   10.489959] <30>load-timestamp.sh[689]: Update systemtime from /etc/timestamp
[   11.215545] <30>load-timestamp.sh[689]: Thu Jan 12 12:19:00 UTC 2012
[   12.624359] <27>systemd-uaccess[1042]: Failed to apply ACL on /dev/v4l-subdev1: Operation not supported
[   12.851226] <27>systemd-uaccess[1038]: Failed to apply ACL on /dev/video8: Operation not supported
[   13.136016] <27>systemd-uaccess[1049]: Failed to apply ACL on /dev/v4l-subdev2: Operation not supported
[   13.214752] <27>systemd-uaccess[1058]: Failed to apply ACL on /dev/v4l-subdev4: Operation not supported
[   13.260223] <27>systemd-uaccess[1055]: Failed to apply ACL on /dev/v4l-subdev3: Operation not supported
[   13.492065] <27>systemd-uaccess[1046]: Failed to apply ACL on /dev/v4l-subdev5: Operation not supported
Stopping Syslog Kernel Log Buffer Bridge...
[   13.678131] <27>systemd-uaccess[1052]: Failed to apply ACL on /dev/video7: Operation not supported
[   13.703338] <27>systemd-uaccess[1048]: Failed to apply ACL on /dev/v4l-subdev0: Operation not supported
Started Disk Manager                                            [   13.740722] <27>        [systemd-uaccess  OK  ]
[1063]: Failed to apply ACL on /dev/v4l-subdev6: Operation not supported
[   13.777557] <27>systemd-uaccess[1053]: Failed to apply ACL on /dev/v4l-subdev7: Operation not supported
Started Avahi mDNS/DNS-SD Stack                                         [  OK  ]
[   14.085876] <27>systemd-uaccess[1078]: Failed to apply ACL on /dev/video0: Operation not supported
Started udev Coldplug all Devices                                       [  OK  ]
[   14.167053] <30>udisks-daemon[706]: (udisks-daemon:706): udisks-daemon-DEBUG: Starting daemon version 1.0.4
[   14.534271] <30>avahi-daemon[697]: Successfully called chroot().
[   14.663299] <30>avahi-daemon[697]: Successfully dropped remaining capabilities.
[   14.978546] <30>avahi-daemon[697]: Loading service file /services/sftp-ssh.service.
Starting Serial Getty on ttyO2...
[   15.208068] <27>systemd-uaccess[1097]: Failed to apply ACL on /dev/video2: Operation not supported
Started Serial Getty on ttyO2                                           [  OK  ]
[   15.409545] <30>avahi-daemon[697]: Loading service file /services/ssh.service.
[   15.569976] <27>systemd-uaccess[1098]: Failed to apply ACL on /dev/video1: Operation not supported
[   15.825408] <27>systemd-uaccess[1108]: Failed to apply ACL on /dev/video4: Operation not supported
[   16.087921] <27>systemd-uaccess[1102]: Failed to apply ACL on /dev/video3: Operation not supported
[   16.269470] <27>systemd-uaccess[1111]: Failed to apply ACL on /dev/video6: Operation not supported
[   16.396118] <27>systemd-uaccess[1121]: Failed to apply ACL on /dev/video5: Operation not supported
[   16.486480] <30>dbus-daemon[884]: dbus[884]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
[   16.619537] <30>avahi-daemon[697]: Loading service file /services/udisks.service.
Starting Getty on tty1...
                         [   16.708282] <29>dbus[884]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
[   16.806762] <30>avahi-daemon[697]: Network interface enumeration completed.
Started Getty on tty1                                                   [  OK  ]
                                                                                [   16.857177] <30>avahi-daemon[697]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
[   16.955200] <30>avahi-daemon[697]: Server startup complete. Host name is beagleboard.local. Local service cookie is 2019548482.
[   17.041137] <30>avahi-daemon[697]: Service "beagleboard" (/services/udisks.service) successfully established.
Starting Gnome Display Manager..[   17.128417] <30>.
                                                    avahi-daemon[697]: Service "beagleboard" (/services/ssh.service) successfully established.
[   17.171539] <30>avahi-daemon[697]: Service "beagleboard" (/services/sftp-ssh.service) successfully established.
Started Gnome Display Manager                                           [  OK  ]
                                                                                [   17.265960] <27>systemd-uaccess[1200]: Failed to apply ACL on /dev/snd/timer: Operation not supported
Stopped Syslog Kernel Log Buffer Bridge                                 [  OK  ]

.---O---.
|       |                  .Started System Logging Service                                          [  OK  ]
-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution beagleboard ttyO2

Angstrom v2012.01-core - Kernel 2.6.37

beagleboard login: Started Network Manager                                                 [  OK  ]
                   root
Last login: Thu Jan 12 12:19:07 GMT 2012 on ttyO2
root@beagleboard:~# modprobe g_ether
FATAL: Error inserting g_ether (/lib/modules/2.6.37/kernel/drivers/usb/gadget/g_ether.ko): No such device
root@beagleboard:~# cd /
root@beagleboard:/# find . | grep "g_ether"
./lib/modules/3.0.14+/kernel/drivers/usb/gadget/g_ether.ko
./lib/modules/2.6.37/kernel/drivers/usb/gadget/g_ether.ko
^C
root@beagleboard:/# cd /lib/modules/2.6.37/kernel/drivers/
media/ scsi/  usb/   video/
root@beagleboard:/# cd /lib/modules/2.6.37/kernel/drivers/usb/gadget/g_
-sh: cd: /lib/modules/2.6.37/kernel/drivers/usb/gadget/g_: No such file or directory
root@beagleboard:/# cd /lib/modules/2.6.37/kernel/drivers/usb/gadget/
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko
insmod: error inserting 'g_ether.ko': -1 No such device
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# rmmod g_ether
ERROR: Module g_ether does not exist in /proc/modules
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko
insmod: error inserting 'g_ether.ko': -1 No such device
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget#

Thanks, Ran

Robert Nelson

unread,
Jan 15, 2015, 11:26:46 AM1/15/15
to Beagle Board
On Thu, Jan 15, 2015 at 10:23 AM, Ran Shalit <rans...@gmail.com> 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..
add: CONFIG_AUTOFS4_FS=y

Ran Shalit

unread,
Jan 15, 2015, 11:36:27 AM1/15/15
to beagl...@googlegroups.com
Hi Robert,

Thanks,
I have compiled both modules and kernel, but still some error, without any information.....

root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko
insmod: error inserting 'g_ether.ko': -1 No such device

The new boot log is below.

Is there any idea why it fails ? 

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

2927348 bytes read
## Booting kernel from Legacy Image at 80300000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2927284 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) ) #8 Thu Jan 15 18:29:23 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: 242712k/242712k available, 19432k 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 - 0xc056e0d0   (5329 kB)
[    0.000000]       .data : 0xc0570000 - 0xc0725220   (1749 kB)
[    0.000000] Calibrating delay loop... 458.96 BogoMIPS (lpj=1789952)
[    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.123657] bio: create slab <bio-0> at 0
[    0.135101] SCSI subsystem initialized
[    0.149047] usbcore: registered new interface driver usbfs
[    0.151000] usbcore: registered new interface driver hub
[    0.152465] usbcore: registered new device driver usb
[    0.159149] omap_device: omap_i2c.1: new worst case activate latency 0: 61035
[    0.159362] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz
[    0.174316] twl4030: PIH (irq 7) chaining IRQs 368..375
[    0.174560] twl4030: power (irq 373) chaining IRQs 376..383
[    0.177703] twl4030: gpio (irq 368) chaining IRQs 384..401
[    0.194580] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[    0.198181] regulator: VDAC: 1800 mV normal standby
[    0.201873] regulator: VDVI: 1800 mV normal standby
[    0.205810] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[    0.210021] regulator: VAUX3: 1800 mV normal standby
[    0.213623] regulator: VAUX4: 1800 mV normal standby
[    0.214294] omap_device: omap_i2c.1: new worst case deactivate latency 0: 91552
[    0.214691] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
[    0.229003] omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz
[    0.239440] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.244750] Switching to clocksource 32k_counter
[    0.435150] musb-hdrc: version 6.0, peripheral, debug=0
[    0.435577] musb-hdrc musb-hdrc.0: degrade from otg to peripheral-only mode
[    0.435668] musb-hdrc musb-hdrc.0: dma type: dma-inventra
[    0.435699] HS USB OTG: no transceiver configured
[    0.435729] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19
[    0.437591] NET: Registered protocol family 2
[    0.438537] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.441192] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.441772] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
[    0.447326] TCP: Hash tables configured (established 8192 bind 8192)
[    0.447509] TCP reno registered
[    0.447540] UDP hash table entries: 128 (order: 1, 12288 bytes)
[    0.448059] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
[    0.449432] NET: Registered protocol family 1
[    0.451385] RPC: Registered udp transport module.
[    0.451416] RPC: Registered tcp transport module.
[    0.451416] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.452758] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.456146] platform iva.0: Enabled OPP corresponding to 720MHz
[    0.460144] omap-iommu omap-iommu.0: isp registered
[    0.461303] OMAP35x  Linux PSP version 04.02.00.07 (OMAP3BEAGLE)
[    0.649597] VFS: Disk quotas dquot_6.5.2
[    0.649780] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.653320] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.657958] msgmni has been set to 474
[    0.663879] io scheduler noop registered
[    0.663909] io scheduler deadline registered
[    0.664184] io scheduler cfq registered (default)
[    0.729553] OMAP DSS rev 2.0
[    0.730224] OMAP DISPC rev 3.0
[    0.730407] OMAP VENC rev 2
[    0.731964] OMAP DSI rev 1.0
[    1.061706] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.074340] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    1.077087] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    1.079193] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.822540] console [ttyO2] enabled
[    1.891143] brd: module loaded
[    1.925689] loop: module loaded
[    1.937622] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.944610] omap2-nand driver initializing
[    1.949676] ONFI flash detected
[    1.953247] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron )
[    1.960388] Creating 5 MTD partitions on "omap2-nand.0":
[    1.966064] 0x000000000000-0x000000080000 : "X-Loader"
[    1.984436] 0x000000080000-0x000000260000 : "U-Boot"
[    1.999542] 0x000000260000-0x000000280000 : "U-Boot Env"
[    2.014068] 0x000000280000-0x000000680000 : "Kernel"
[    2.030242] 0x000000680000-0x000020000000 : "File System"
[    2.301544] OneNAND driver initializing
[    2.317413] mice: PS/2 mouse device common for all mice
[    2.327362] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.345733] omap_device: omap_i2c.1: new worst case activate latency 0: 122070
[    2.355102] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[    2.374267] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    2.381378] twl_rtc twl_rtc: Power up reset detected.
[    2.387847] twl_rtc twl_rtc: Enabling TWL-RTC.
[    2.395385] i2c /dev entries driver
[    2.407806] Linux media interface: v0.10
[    2.413055] Linux video capture interface: v2.00
[    2.420562] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator
[    2.427795] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator
[    2.435546] omap3isp omap3isp: Revision 2.0 found
[    2.440887] omap-iommu omap-iommu.0: isp: version 1.1
[    2.552551] omap_i2c omap_i2c.2: Arbitration lost
[    2.573242] mt9v113 2-003c: chip id mismatch read 0x0, expecting 0x2280
[    2.590240] isp_register_subdev_group: Unable to register subdev mt9v113
[    2.598937] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
[    2.609344] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    2.615814] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[    2.625457] twl4030_wdt twl4030_wdt: Failed to register misc device
[    2.632202] twl4030_wdt: probe of twl4030_wdt failed with error -16
[    2.661651] usbcore: registered new interface driver usbhid
[    2.667602] usbhid: USB HID core driver
[    2.679443] ALSA device list:
[    2.682678]   No soundcards found.
[    2.686248] oprofile: hardware counters not available
[    2.691619] oprofile: using timer interrupt.
[    2.696716] TCP cubic registered
[    2.700225] Initializing XFRM netlink socket
[    2.704986] NET: Registered protocol family 17
[    2.709930] NET: Registered protocol family 15
[    2.715393] Registering the dns_resolver key type
[    2.721282] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[    2.731414] ThumbEE CPU extension supported.
[    2.758483] Power Management for TI OMAP3.
[    2.763824] sr_init: No PMIC hook to init smartreflex
[    2.769836] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    2.779174] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    2.789276] SmartReflex Class3 initialized
[    2.857177] clock: disabling unused clocks to save power
[    2.866088] platform iva.0: omap_voltage_scale: Already at the requestedrate 360000000
[    2.874511] platform mpu.0: omap_voltage_scale: Already at the requestedrate 500000000
[    2.882934] platform l3_main.0: omap_voltage_scale: Already at the requestedrate 166000000
[    2.927032] regulator_init_complete: incomplete constraints, leaving VDAC on
[    2.938446] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.947753] omap_vout omap_vout: Buffer Size = 3686400
[    2.957153] omap_vout omap_vout: : registered and initialized video device 15
[    2.964782] omap_vout omap_vout: Buffer Size = 3686400
[    2.973541] omap_vout omap_vout: : registered and initialized video device 16
[    2.988342] Waiting for root device /dev/mmcblk0p2...
[    3.141418] mmc0: new high speed SDHC card at address aaaa
[    3.151336] mmcblk0: mmc0:aaaa SU16G 14.8 GiB
[    3.175750]  mmcblk0: p1 p2
[    3.218505] EXT3-fs: barriers not enabled
[    3.227325] kjournald starting.  Commit interval 5 seconds
[    3.233612] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[    3.247222] EXT3-fs (mmcblk0p2): using internal journal
[    3.252807] EXT3-fs (mmcblk0p2): recovery complete
[    3.258544] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    3.266540] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    3.273132] Freeing init memory: 200K
Failed to open /dev/kmsg for logging: No such file or directory
[    3.609405] <30>systemd[1]: systemd 37 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX +SYSVINIT -LIBCRYPTSETUP; angstrom)

Welcome to The ֵngstrצm Distribution!

[    3.713439] <28>systemd[1]: /sbin/modprobe failed with error code 1.
[    3.724670] <30>systemd[1]: Set hostname to <beagleboard>.
Starting Runtime Directory...
Starting Remount API VFS...
Starting Lock Directory...
Starting Media Directory...
Started Apply Kernel Variables                                          [  OK  ]
Started Huge Pages File System                                          [  OK  ]
Starting POSIX Message Queue File System...
Starting File System Check on Root Device...
Started Load Kernel Modules                                             [  OK  ]
Started Configuration File System                                       [  OK  ]
Started FUSE Control File System                                        [  OK  ]
Started Set Up Additional Binary Formats                                [  OK  ]
[    4.677764] <30>systemd-fsck[593]: Root directory is writable, skipping check.
Starting Debug File System...
Started Security File System                                            [  OK  ]
Starting Syslog Kernel Log Buffer Bridge...
Started Syslog Kernel Log Buffer Bridge                                 [  OK  ]
Starting udev Coldplug all Devices...
Starting udev Kernel Device Manager...
Started Runtime Directory                                               [  OK  ]
Started Remount API VFS                                                 [  OK  ]
Started Lock Directory                                                  [  OK  ]
Started udev Ker[    5.031005] <30>udevd[600]: starting version 175
Started Console System Startup Logging                                  [  OK  ]
[    8.354309] <27>systemd-logind[707]: Failed to open /sys/class/tty/tty0/active: No such file or directory
Started Permit User Sessions                                            [  OK  ]
[    8.659515] <27>systemd-logind[707]: Failed to fully start up daemon: No such file or directory
[    8.877380] <29>systemd[1]: systemd-logind.service: main process exited, code=exited, status=1
[    9.057952] <75>/usr/sbin/crond[722]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
.
Failed to start Login Service                                           [FAILED]
[    9.415985] <30>avahi-daemon[711]: Found user 'avahi' (UID 998) and group 'avahi' (GID 996).
[    9.478942] <30>avahi-daemon[711]: Successfully dropped root privileges.
See 'systemctl status systemd-logind.service' for details.
[    9.517791] <29>systemd[1]: Unit systemd-logind.service entered failed state.
[    9.659942] <30>avahi-daemon[711]: avahi-daemon 0.6.30 starting up.
Started xinetd.service                                                  [  OK  ]
[    9.930999] <26>xinetd[868]: 868 {init_services} no services. Exiting...
Starting Serial Getty on ttyO2...
[   10.786376] <30>NetworkManager[704]: NetworkManager[704]: <info> NetworkManager (version 0.9.2.0) is starting...
Started Serial Getty on ttyO2                                           [  OK  ]
[   11.033538] <30>udisks-daemon[770]: (process:770): GLib-WARNING **: goption.c:2168: ignoring no-arg, optional-arg or filename flags (16) on option of type 1
[   11.310058] <14>NetworkManager[704]: <info> NetworkManager (version 0.9.2.0) is starting...
Started D-Bus System Message Bus                                        [  OK  ]
[   11.474243] <30>NetworkManager[704]: NetworkManager[704]: <info> Read config file (null)
[   11.721771] <14>NetworkManager[704]: <info> Read config file (null)
[   11.728485] <30>load-timestamp.sh[702]: Update systemtime from /etc/timestamp
[   12.190551] <30>load-timestamp.sh[702]: Thu Jan 12 12:19:00 UTC 2012
[   12.656372] <27>systemd-uaccess[1031]: Failed to apply ACL on /dev/v4l-subdev3: Operation not supported
[   12.891265] <27>systemd-uaccess[1027]: Failed to apply ACL on /dev/v4l-subdev0: Operation not supported

.---O---.                              [   13.117218] <27>systemd-uaccess[1019]: Failed to apply ACL on /dev/v4l-subdev1: Operation not supported

|       |                  .-.           o o
|   |   |-----.-----.-[   13.337951] <27>systemd-uaccess[1033]: Failed to apply ACL on /dev/v4l-subdev2: Operation not supported
----.| |   .----..--[   13.378295] <27>systemd-uaccess[1037]: Failed to apply ACL on /dev/v4l-subdev6: Operation not supported
---.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |--- [   13.526580] <27>systemd-uaccess[1040]: Failed to apply ACL on /dev/v4l-subdev7: Operation not supported
 ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
       [   13.677337] <27>systemd-uaccess[1028]: Failed to apply ACL on /dev/v4l-subdev5: Operation not supported
         -'  |
                '---'

The Angstrom Distribution beagleboard ttyO2

Angstrom v2012.01-co[   13.979644] <27>systemd-uaccess[1042]: Failed to apply ACL on /dev/v4l-subdev4: Operation not supported
re - Kernel 2.6.37

beagleboard login: [   14.332580] <27>systemd-uaccess[1049]: Failed to apply ACL on /dev/video0: Operation not supported
[   14.667114] <27>systemd-uaccess[1051]: Failed to apply ACL on /dev/video1: Operation not supported
[   14.995208] <27>systemd-uaccess[1053]: Failed to apply ACL on /dev/video3: Operation not supported
Started udev Coldplug all Devices                                       [  OK  ]
                                                                                [   15.218170] <27>systemd-uaccess[1055]: Failed to apply ACL on /dev/video2: Operation not supported
[   15.450988] <27>systemd-uaccess[1057]: Failed to apply ACL on /dev/video4: Operation not supported
Started Disk Manager                                                    [  OK  ]
                                                                                Started Avahi mDNS/DNS-SD Stack                                         [[   15.689880] <27>  OK  ]
                   systemd-uaccess[1063]: Failed to apply ACL on /dev/video5: Operation not supported
[   15.800720] <27>systemd-uaccess[1073]: Failed to apply ACL on /dev/video8: Operation not supported
[   16.030517] <27>systemd-uaccess[1072]: Failed to apply ACL on /dev/video7: Operation not supported
[   16.091583] <27>systemd-uaccess[1086]: Failed to apply ACL on /dev/video6: Operation not supported
Stopping Syslog Kernel Log Buffer Bridge...
                                           [   16.201354] <30>udisks-daemon[770]: (udisks-daemon:770): udisks-daemon-DEBUG: Starting daemon version 1.0.4
[   16.326660] <30>avahi-daemon[711]: Successfully called chroot().
[   16.400512] <30>avahi-daemon[711]: Successfully dropped remaining capabilities.
[   16.473449] <30>avahi-daemon[711]: Loading service file /services/sftp-ssh.service.
[   16.510803] <30>avahi-daemon[711]: Loading service file /services/ssh.service.
[   16.565338] <30>avahi-daemon[711]: Loading service file /services/udisks.service.
[   16.644561] <30>avahi-daemon[711]: Network interface enumeration completed.
[   16.669464] <30>avahi-daemon[711]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
[   16.757904] <30>avahi-daemon[711]: Server startup complete. Host name is beagleboard.local. Local service cookie is 441939348.
Starting Getty on tty1...
                         [   16.862426] <30>avahi-daemon[711]: Service "beagleboard" (/services/udisks.service) successfully established.
[   16.971832] <30>dbus-daemon[969]: dbus[969]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Started Getty on tty1                                                   [  OK  ]
                                                                                [   17.104522] <29>dbus[969]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
[   17.218292] <30>avahi-daemon[711]: Service "beagleboard" (/services/ssh.service) successfully established.
Starting Gnome D[   17.271667] <27>isplay Manager..systemd-uaccess.
                                                                   [1199]: Failed to apply ACL on /dev/snd/timer: Operation not supported
[   17.293273] <30>avahi-daemon[711]: Service "beagleboard" (/services/sftp-ssh.service) successfully established.
Started Gnome Display Manager                                           [  OK  ]
                                                                                Stopped Syslog Kernel Log Buffer Bridge                                 [  OK  ]
                                                                                Started System Logging Service                                          [  OK  ]
                                                                                Started Network Manager                                                 [  OK  ]

.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution beagleboard ttyO2

Angstrom v2012.01-core - Kernel 2.6.37

beagleboard login:
.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution beagleboard ttyO2

Angstrom v2012.01-core - Kernel 2.6.37

beagleboard login: root
Last login: Thu Jan 12 12:19:48 GMT 2012 on ttyO2
root@beagleboard:~#
root@beagleboard:~#
root@beagleboard:~# cd /lib/modules/2.6.37/kernel/drivers/usb/gadget/
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko
insmod: error inserting 'g_ether.ko': -1 No such device
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget

Regards,
Ran


Robert Nelson

unread,
Jan 15, 2015, 11:38:46 AM1/15/15
to Beagle Board
On Thu, Jan 15, 2015 at 10:36 AM, Ran Shalit <rans...@gmail.com> wrote:
> Hi Robert,
>
> Thanks,
> I have compiled both modules and kernel, but still some error, without any
> information.....
>
> root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod
> g_ether.ko
> insmod: error inserting 'g_ether.ko': -1 No such device
>
> The new boot log is below.
>
> Is there any idea why it fails ?

Maybe debmod ?

depmod -a

then:

modprobe g_ether

Otherwise it is 2.6.37....

Ran Shalit

unread,
Jan 15, 2015, 11:47:32 AM1/15/15
to beagl...@googlegroups.com
>.Maybe debmod ?

>depmod -a
>then:
>modprobe g_ether

I've tried that too... 
Still same result.
We have another nibary which works well with g_ether, (but we don't have the sources for that binary so it does not help a lot, except for telling us that there is no HW failure)

What can I do ? Is it a problem in this package (TI'S PSP 04.02.00.07) ?

Thank you,
Ran

Ran Shalit

unread,
Jan 15, 2015, 12:14:49 PM1/15/15
to beagl...@googlegroups.com
Hi,

Did anyone tried to work with the usb connector (the one that is marked as "usb otg"), for ethernet with 2.6.37 ?
If not - maybe I should try use some older version for beagleboard ? 
Regards,
Ran

Ran Shalit

unread,
Jan 15, 2015, 1:16:34 PM1/15/15
to beagl...@googlegroups.com
Hi,

When I compiled earlier kernel version which are supposed to support OMAP3530 with beaglebone I fail to start kernel (psp 3.0.1.6, kernel 2.6.32);

1920736 bytes read
## Booting kernel from Legacy Image at 80300000 ...
   Image Name:   Linux-2.6.32
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1920672 Bytes =  1.8 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................................................................ done, booting the kernel.

<<-- NO  more prinings -->>

I just need to work with usb ethernet in 2.6.37... why does it fail with the kernel 2.6.37 ?

Regards,
Ran


Ran Shalit

unread,
Jan 16, 2015, 1:23:36 AM1/16/15
to beagl...@googlegroups.com
Hello,

Can anyone please try to see if he can work with usb otg and beagleboard
this is the download page for kernel 2.6.37 I use:

Regards,
Ran

Ran Shalit

unread,
Jan 16, 2015, 3:24:31 PM1/16/15
to beagl...@googlegroups.com
Hi,

I solved the issue.
I compile now inside kernel and added:
CONFIG_USB_MUSB_OMAP2PLUS_GLUE

Thank you very much for all help!
Ran
Reply all
Reply to author
Forward
0 new messages