Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] ar71xx CC builds and tc
@ 2015-08-13 22:50 Matt Taggart
  2015-08-13 23:01 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Taggart @ 2015-08-13 22:50 UTC (permalink / raw)
  To: cerowrt-devel

Hi,

I have installed a bunch of wndr3800's in the last few days with CC and
noticed a couple things:

1) sometime around Aug 11 the ar71xx-generic builds jumped from having a
date of mid july and using a 3.18 kernel, to having a Aug 11 date and
4.1.4 kernel. I guess builds weren't working and then got fixed? Anyway
maybe a good time for people to test newer builds.

2) CC doesn't seem to include tc by default now, so when I installed
luci-app-sqm (which pulls in sqm-scripts) things weren't working
correctly. After I installed tc then it started working. Toke, maybe
you need to have sqm-scripts start depending on tc?

Thanks,

-- 
Matt Taggart
matt@lackof.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Cerowrt-devel] ar71xx CC builds and tc
  2015-08-13 22:50 [Cerowrt-devel] ar71xx CC builds and tc Matt Taggart
@ 2015-08-13 23:01 ` Toke Høiland-Jørgensen
  2015-08-15 20:15   ` Maciej Soltysiak
  0 siblings, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2015-08-13 23:01 UTC (permalink / raw)
  To: Matt Taggart; +Cc: cerowrt-devel

Matt Taggart <matt@lackof.org> writes:

> 2) CC doesn't seem to include tc by default now, so when I installed
> luci-app-sqm (which pulls in sqm-scripts) things weren't working
> correctly. After I installed tc then it started working. Toke, maybe
> you need to have sqm-scripts start depending on tc?

Ah, right. It does have a dependency for tc, but I changed it to allow
substituting the tc-adv package instead. However, this seems to only be
picked up by the build system, not the ipkg dependency list, so package
installation won't pull in tc.

Reverted back to just depending on the tc package in the openwrt feed
now. Should be picked up after the next nightlies appear. Thanks for
spotting this! :)

-Toke

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Cerowrt-devel] ar71xx CC builds and tc
  2015-08-13 23:01 ` Toke Høiland-Jørgensen
@ 2015-08-15 20:15   ` Maciej Soltysiak
  2015-08-16 10:01     ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej Soltysiak @ 2015-08-15 20:15 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]

Hi,

On trunk with ceropackages, I'm getting errors when installing sqm-scripts:

root@OpenWrt:/etc# opkg install sqm-scripts
Installing sqm-scripts (1.0-3) to root...
Downloading
http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/sqm-scripts_1.0-3_all.ipk
.
Multiple packages (kmod-ipt-core and kmod-ipt-core) providing same name
marked HOLD or PREFER. Using latest.
Multiple packages (kmod-ipt-core and kmod-ipt-core) providing same name
marked HOLD or PREFER. Using latest.
Multiple packages (kmod-ipt-core and kmod-ipt-core) providing same name
marked HOLD or PREFER. Using latest.
Multiple packages (kmod-ipt-conntrack and kmod-ipt-conntrack) providing
same name marked HOLD or PREFER. Using latest.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for
sqm-scripts:
 *      kernel (= 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *   kernel (=
4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *   kernel (=
4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *   kernel (=
4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *   kernel (=
4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *
 * opkg_install_cmd: Cannot install package sqm-scripts.

The way I built it was:
git clone git://git.openwrt.org/openwrt.git
cd openwrt/
cp feeds.conf.default feeds.conf
sed -i '1s/^/src-get cero https:\/\/github.com\/dtah\/ceropackages-3.10.git\n/'
feeds.conf
./scripts/feeds update -a
./scripts/feeds install luci luci-app-sqm sqm-scripts tc-adv ip ethtool
kmod-sched-cake kmod-sched-fq_pie
make menuconfig    #select wndr3800 and save
screen
make V=99

Flash a factory image.

trunk is running 4.1.5:
root@OpenWrt:/etc# uname -a
Linux OpenWrt 4.1.5 #2 Sat Aug 15 20:32:44 CEST 2015 mips GNU/Linux

Best regards,
Maciej

On Fri, Aug 14, 2015 at 1:01 AM, Toke Høiland-Jørgensen <toke@toke.dk>
wrote:

> Matt Taggart <matt@lackof.org> writes:
>
> > 2) CC doesn't seem to include tc by default now, so when I installed
> > luci-app-sqm (which pulls in sqm-scripts) things weren't working
> > correctly. After I installed tc then it started working. Toke, maybe
> > you need to have sqm-scripts start depending on tc?
>
> Ah, right. It does have a dependency for tc, but I changed it to allow
> substituting the tc-adv package instead. However, this seems to only be
> picked up by the build system, not the ipkg dependency list, so package
> installation won't pull in tc.
>
> Reverted back to just depending on the tc package in the openwrt feed
> now. Should be picked up after the next nightlies appear. Thanks for
> spotting this! :)
>
> -Toke
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>

[-- Attachment #2: Type: text/html, Size: 3885 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Cerowrt-devel] ar71xx CC builds and tc
  2015-08-15 20:15   ` Maciej Soltysiak
@ 2015-08-16 10:01     ` Toke Høiland-Jørgensen
  0 siblings, 0 replies; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2015-08-16 10:01 UTC (permalink / raw)
  To: Maciej Soltysiak; +Cc: cerowrt-devel

Maciej Soltysiak <maciej@soltysiak.com> writes:

> On trunk with ceropackages, I'm getting errors when installing sqm-scripts:
>
> root@OpenWrt:/etc# opkg install sqm-scripts
> Installing sqm-scripts (1.0-3) to root...
> Downloading
> http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/sqm-scripts_1.0-3_all.ipk.

It looks like this is pulling in the package from the openwrt snapshots
repo.

> * satisfy_dependencies_for: Cannot satisfy the following dependencies for
> sqm-scripts:
> * kernel (= 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *
> * opkg_install_cmd: Cannot install package sqm-scripts.

This is a kernel version mismatch issue. Unfortunately, when a package
depends on a kernel module, the build system makes the dependency be for
a specific version of the kernel, so you can't just pull packages from
incompatible repos.


To get your self-built version of the package onto the router, you can
do one of:

1. Select it in menuconfig to be built into the image as you generate it
   (press Y). Then it will be included as you flash.

2. Manually SCP the .ipk from bin/ar71xx/packages/cero/ to the
   router after flashing, then installing with opkg.

3. Make the contents of bin/ar71xx/packages available on a web server
   and point the opkg.conf on your router at that.

-Toke

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-16 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13 22:50 [Cerowrt-devel] ar71xx CC builds and tc Matt Taggart
2015-08-13 23:01 ` Toke Høiland-Jørgensen
2015-08-15 20:15   ` Maciej Soltysiak
2015-08-16 10:01     ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox