Modify

Opened 4 years ago

Closed 4 years ago

#16513 closed defect (not_a_bug)

Kernel modules for atheros not loading at boot on some atheros devices

Reported by: ben@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: flash atheros Cc:

Description

I'm seeing my Open Mesh OM1P's and Engenius EOC-1650's not load most of their kernel modules when booting r40746. This appears to happen regardless of the flashing method used, i.e. ap51-flash, open-mesh-flash, or by running sysupgrade on the device itself. Also, the failing devices do not have their /etc/config/fstab created during firstboot.

The especially odd detail is that one EOC-1650 does seem to boot r40746 just fine, and likewise with /etc/config created at firstbook. However, no observable difference in that unit's /proc/mtd table or mount output.

This is an example partition table on both the one working EOC-1650 and on the failing units:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "RedBoot"
mtd1: 00100000 00010000 "vmlinux.bin.l7"
mtd2: 006b0000 00010000 "rootfs"
mtd3: 003f0000 00010000 "rootfs_data"
mtd4: 0000f000 0000f000 "FIS directory"
mtd5: 00001000 00001000 "RedBoot config"
mtd6: 00010000 00010000 "boardconfig"
root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)

Quoting logread on failing devices:

Fri May 16 03:01:32 2014 user.emerg syslog: zram_applicable: [ERROR] device '/dev/zram0' not found
Fri May 16 03:01:32 2014 daemon.crit zram_applicable: [ERROR] device '/dev/zram0' not found
Fri May 16 03:01:34 2014 user.emerg syslog: Error: Failed to connect to ubus
Fri May 16 03:01:38 2014 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Fri May 16 03:01:39 2014 user.err syslog: /dev/mtdblock2 is already mounted
Fri May 16 03:01:39 2014 user.emerg syslog: block: /dev/mtdblock2 is already mounted

Likewise, no radio drivers loaded:

root@OpenWrt:/# lsmod
gpio_button_hotplug     4464  0 
tun                    14543  0 
root@OpenWrt:/# wifi detect
ls: /sys/class/ieee80211: No such file or directory

All failing devices tested can flash and boot AA r40431 w/o problem, all kernel modules loaded. Could this indicate a race condition introduced in trunk?

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by ben@…

False alarm. The failing reflashed nodes were carrying over /etc/init.d/boot from AA (which is incompatible with trunk). This ticket can be closed.

comment:2 Changed 4 years ago by nbd

  • Resolution set to not_a_bug
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.