**** BEGIN LOGGING AT Mon Apr 04 02:59:58 2016 Apr 04 06:51:10 Hmm... Apr 04 06:51:52 1. Ripped out the SD-driver patch for the kernel (cleaned and prepared) Apr 04 06:52:05 2. Uncommented the lines in config-4.4 Apr 04 06:52:16 3. No active packages in menuconfig Apr 04 06:52:33 The darned SD/MMC driver for MT7621 still gets built Apr 04 06:53:02 This is pretty much breaking all devices, can anyone who knows the inner workings have a look at where it gets pulled? Apr 04 07:10:31 diizzy_ why is it breaking things? Apr 04 07:10:49 * russell-- had to specifically add it for apu2 Apr 04 07:11:23 also, git grep is your friend Apr 04 07:13:17 russell--: it's broken and panics Apr 04 07:13:34 I've removed everything I've found and it still keeps getting added Apr 04 07:13:48 https://dev.openwrt.org/ticket/21834 Apr 04 07:13:54 it's a long standing issue Apr 04 07:13:54 have you make target/linux/clean'd? Apr 04 07:13:57 yes Apr 04 07:15:11 and I've used grep, no go :( Apr 04 07:15:44 what are you grepping for? Apr 04 07:16:09 mtk-sd Apr 04 07:16:12 https://dev.openwrt.org/browser/trunk/target/linux/mediatek/config-4.4?rev=49098#L288 Apr 04 07:16:23 this is also wrong afaik Apr 04 07:16:41 and it's an optional module (in menuconfig) Apr 04 07:18:06 CONFIG_MMC_SDHCI_PLTFM Apr 04 07:18:32 uhm... Apr 04 07:18:34 hold on Apr 04 07:19:17 and all the other CONFIG_MMC* stuff? Apr 04 07:19:45 I'm confused Apr 04 07:20:01 mt7621 (and friends) uses the ramips dir Apr 04 07:20:11 what's the mediatek dir? Apr 04 07:21:27 ramips has no config-4.4? Apr 04 07:22:15 Mediatek Ralink ARM Apr 04 07:22:54 so uhm... Apr 04 07:23:02 where's the kernel config for ramips? Apr 04 07:23:23 ahh... it's inside each directory Apr 04 07:23:38 and it doesn't define mmc Apr 04 07:23:50 There are some router with 128 or more flash. What's the point of using such large roms if 16m seems to be more than enough for OpenWRT with all modules one may want? Apr 04 07:24:40 Necrosporus: becase some applications are larger? Apr 04 07:24:57 Samba 4.X comes to mind, DLNA-software is usually quite large too Apr 04 07:25:08 ask the manufacturer? Apr 04 07:25:28 Is samba that big that it could fill 256m chip? Apr 04 07:25:31 also, NAND is cheap Apr 04 07:25:42 might be the cheapest part they can find Apr 04 07:25:54 but is 256m nand cheaper than 16m SPI NOR? Apr 04 07:26:15 russell--: hmm.... Apr 04 07:26:53 diizzy_: are you using git? Apr 04 07:27:04 Yeah Apr 04 07:27:18 you know about "git grep" Apr 04 07:27:28 no? Apr 04 07:27:44 worth readin up on Apr 04 07:27:56 I'm not sure how that would help Apr 04 07:28:05 there's some leakage in the buildsystem Apr 04 07:28:12 finding things in the git tree Apr 04 07:28:26 ignores the stuff not added Apr 04 07:28:46 Guess I could do a new checkout, rip-out the driver patch Apr 04 07:29:05 if something doesn't get cleaned correctly Apr 04 07:29:20 checkout a branch, make changes in your branch Apr 04 07:29:36 git checkout -b my-carnage Apr 04 07:30:18 that way, you can track master, rebase your changes, etc Apr 04 07:33:27 true Apr 04 07:38:55 diizzy_: target/linux/ramips/mt7620/profiles/zbt.mk: kmod-scsi-core kmod-scsi-generic kmod-mmc kmod-sdhc Apr 04 07:40:23 russell--: yeah, but even if you rip that out... Apr 04 07:40:37 I'm using the witi board (mqmaker.mk) Apr 04 07:44:00 Hmm... Apr 04 07:44:01 cd target/linux/ramips ; git grep sdhci Apr 04 07:44:08 now it fails... Apr 04 07:44:12 wtf Apr 04 07:44:16 what fails Apr 04 07:44:17 ? Apr 04 07:44:44 http://paste.ubuntu.com/15608167/ Apr 04 07:45:54 what have you changed? git diff Apr 04 07:46:36 From what I undertstanddeleted: target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch Apr 04 07:46:39 wee Apr 04 07:46:40 From what I undertstanddeleted: target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch Apr 04 07:46:45 err Apr 04 07:46:58 deleted: target/linux/ramips/patches-4.4/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch Apr 04 07:47:06 * russell-- guesses you don't need to touch the patches, just don't build the mmc stuff Apr 04 07:47:07 paste fail Apr 04 07:47:19 as I said, it's leaking somewhere Apr 04 07:47:56 and I fail to see why that should break stuff Apr 04 07:52:34 do you know about searching in menuconfig? Apr 04 07:53:14 slash then search word, e.g. "sdhci" will show various dependencies and their state Apr 04 07:53:44 Yes Apr 04 07:54:29 Anyhow... I reverted the changes, removed the shdci-stuff out of the profile and verified that the .config does not include any mmc/sdhc(i) driver Apr 04 07:55:40 for example, http://paste.ubuntu.com/15608231/ Apr 04 07:56:48 that implies the only thing pulling in PACKAGE_kmod-sdhci is TARGET_ramips_mt7620 [=y] Apr 04 08:03:15 or, better (i found your target board): http://paste.ubuntu.com/15608287/ Apr 04 08:03:43 and the look for the =y's Apr 04 08:03:45 russell--: yes, all that is disabled Apr 04 08:04:36 oh, and check out the device tree file, it has a reference to sdhci as well Apr 04 08:05:58 https://dev.openwrt.org/browser/trunk/target/linux/ramips/dts/WITI.dts#L18 Apr 04 08:08:58 with it all disabled, does it build? Apr 04 08:10:05 Yes Apr 04 08:10:50 I just did a fresh checkout, it'll probably take 30min or so to compile everything Apr 04 08:11:42 look at the openwrt and kernel .config files Apr 04 08:12:37 there's the kernel .config files? Apr 04 08:12:44 yeah, in the build_dir Apr 04 08:12:50 where* Apr 04 08:12:52 :) Apr 04 08:13:03 ahh, I'l have a look Apr 04 08:13:14 thanks Apr 04 08:14:59 build_dir/target-mipsel_24kec+dsp_musl-1.1.14/linux-ramips*/linux-4.4.6/.config or something like that Apr 04 08:31:53 Hmm.. doesn't that patch do the exact opposite? https://patchwork.ozlabs.org/patch/605647/ Apr 04 08:39:56 maybe the minus signs mean something Apr 04 08:41:10 it adds more modules that it removes Apr 04 08:41:23 unless I'm reading it wrong Apr 04 08:41:30 than* Apr 04 08:41:59 so.... Apr 04 08:42:06 make[3] -C target/linux install Apr 04 08:43:57 diizzy_: note the difference between "kmod-foo" and "-kmod-foo" Apr 04 08:44:24 uhm.... ahh Apr 04 08:46:59 moment of truth =) Apr 04 08:47:17 do you have a serial console? Apr 04 08:47:52 yes Apr 04 08:48:03 good Apr 04 08:51:22 hmm... Apr 04 08:51:25 hah Apr 04 08:51:28 So... Apr 04 08:51:33 I think I have found the issue Apr 04 08:59:27 Yey Apr 04 08:59:41 So... a few notes Apr 04 08:59:51 tftpboot is broken Apr 04 09:00:23 bootm does not imply that you actually want to boot from memory by default Apr 04 09:00:57 and I'm not sure if clean actually removes the module Apr 04 09:01:03 the clean build booted "fine" Apr 04 10:24:11 russell--: I've submitted a patch to disable the sd driver by default Apr 04 10:56:56 build #241 of rb532 is complete: Failure [failed shell_18 compile_9] Build details are at http://buildbot.openwrt.org:8010/builders/rb532/builds/241 Apr 04 14:53:16 rmilecki 49115 branches/chaos_calmer/target/linux/bcm53xx/patches-3.18/ (10 files) bcm53xx: update BCM5301X patches Apr 04 14:53:22 rmilecki 49116 branches/chaos_calmer/tools/firmware-utils/ src/oseama.c Makefile firmware-utils: add oseama tool for creating Seama entities Apr 04 14:53:26 rmilecki 49117 /branches/chaos_calmer/target/linux/bcm53xx/image/Makefile bcm53xx: prepare for building D-Link DIR-885L image Apr 04 21:01:11 nbd, any idea what's going on in this dmesg? http://paste.debian.net/plain/423938 System is based on current CC HEAD Apr 04 21:49:10 neoraider: ath9k is having a fit Apr 04 21:49:19 try trunk? :) Apr 04 21:59:15 diizzy_, well, as mac80211-compat has been backported from the trunk a month ago, the versions aren't fundamentally different Apr 04 22:03:02 neoraider: there's about ~100 tickets about the problem Apr 04 22:03:19 there was one with a more detailled explanation but I didn't find it yet again Apr 04 22:07:39 I see. I hadn't seen this one before, so I assumed it was something new, but you're right, there are tons of tickets... Apr 04 22:12:35 I have one particular comment in mind where someone explained the exact reason for the MCS warning but I simply cannot find it again Apr 04 22:12:51 too much metoo spam Apr 04 22:16:32 jow_laptop: can you perhaps have a look at the patch about disabling the SD card reader driver on MT7621 SoC for now? Apr 04 22:19:12 jow_laptop, I think I found the comment you were refering to, https://dev.openwrt.org/ticket/6411#comment:106 Apr 04 22:19:55 neoraider: yes, that was it Apr 04 22:20:52 we should interview nbd about this if he's back Apr 04 22:21:06 this somehow went under the radar I believe Apr 04 22:21:41 diizzy_: the pathc looks fine to me but blogic is doing the ramips targets so I will not interfere there Apr 04 22:22:00 I see, thanks :) Apr 04 22:22:35 jow_laptop, at least it doesn't seem to kill hostapd anymore (like some earlier comments mentioned) Apr 04 22:24:47 I think I had it a few times in my log as well but the radios are rock stabler otherwise Apr 04 22:26:20 I wouldn't call it rock stable (we regularly get reports of WLAN breaking from the Gluon community), but it has vastly improved over the last years Apr 04 22:26:42 its a phantom bug Apr 04 22:27:21 nbd stated a few times that he is simply unable to reproduce it so its likely an obscure environmental thing / sequeunce of events or whatever Apr 04 22:28:35 as much as I hate the legacy bcm crap I cannot recall such an issue with wl.o, but we did have wifi restart watchdogs in our ancient ff firmwares as well so maybe its just a fact of life Apr 04 22:28:45 blame solar spots :) Apr 04 23:47:59 build #216 of xburst is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/xburst/builds/216 Apr 05 00:09:37 build #195 of ep93xx is complete: Failure [failed shell_13] Build details are at http://buildbot.openwrt.org:8010/builders/ep93xx/builds/195 **** ENDING LOGGING AT Tue Apr 05 02:59:58 2016