-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker sonic-slave's kernel source and headers is incorrect? #1317
Comments
Use the new master which contains commit 6cd3079 that fixes the issue |
resolved since patch is checked in. |
lguohan
pushed a commit
that referenced
this issue
Dec 28, 2020
… fixes (#6282) submodule sonic-utilities in sonic-buildimage has not been updated for a while and there were many fixes needed to be picked up to ease debug/development in master branch. Here are the list of changes that this update will bring in: * de14939 2020-12-27 | Revert "[pytest][qos][config] Added pytests for "config qos reload" commands (#1266)" (HEAD -> master, origin/master, origin/HEAD) [Guohan Lu] * ef3370d 2020-12-24 | [fast-reboot]: Stop sflow during fast-reboot (#1296) [jangidrk] * ff1db4d 2020-12-24 | [fast-reboot]: Update fast-reboot-dump.py to handle invalid parsing of genetlink type hostif object id attribute (#1318) [jangidrk] * d63d11d 2020-12-23 | Added show ip/v6 route summary support for multi-asic platform (#1320) [gechiang] * 6202a81 2020-12-23 | [pytest][qos][config] Added pytests for "config qos reload" commands (#1266) [Mahesh Maddikayala] * f555e9e 2020-12-23 | [CRM]Add support for snat, dnat and ipmc crm resources (#1258) [Prabhu Sreenivasan] * f44e57e 2020-12-22 | Retain fgnhg state db table entry during warm reboot (#1315) [weixchen1215] * 5e18bf5 2020-12-23 | Fix exception handling in python3 (#1324) [bingwang-ms] * b6221f4 2020-12-22 | [config] Add unit tests for 'config interface breakout' command (#1223) [Praveen Chaudhary] * 150642e 2020-12-22 | [dropcounters] Fix clear for non-root users (#1253) [Danny Allen] * becf5b5 2020-12-21 | Kubernetes support commands update (#1133) [Renuka Manavalan] * aad2c38 2020-12-19 | VXLAN config and show utilities (#870) [Rajesh Sankaran] * 9419627 2020-12-17 | [Multi-asic] Enhanced Feature Table configuration for multi-asic platforms (#1152) [abdosi] * 155f6d5 2020-12-17 | [config vlan]: Remove `-t` flag from docker exec command (#1317) [Lawrence Lee] * 281b157 2020-12-17 | [fast-reboot-dump] Fix exception in struct.pack (#1309) [bingwang-ms] * 269c317 2020-12-16 | Mgmt vrf/SNMP agent validations and bug fixes (#1289) [Suman Kumar] * 394b202 2020-12-16 | [Dynamic buffer calc] Support dynamic buffer calculation (#973) [Stephen Sun] * 6dd5d31 2020-12-14 | show tech with platform dump option (#1158) [Sujin Kang] * 6255384 2020-12-13 | [kdump]: Parse sonic_platform kernel command line parameter to read the platform identifier string (#1291) [rajendra-dendukuri] * 0603c0b 2020-12-13 | [pcieutil] Remove 'pcie-' prefix from arguments (#1297) [Joe LeVeque] * 10ffc28 2020-12-13 | Added 'detailed' option for 'show interface counters' command (#1299) [Akhilesh Samineni] * 980ea0d 2020-12-11 | Fix show ip route summary on pizzabox platforms (#1302) [gechiang] * af1bb47 2020-12-10 | [acl_loader] Fix default DENY rule for V6 dataplane ACLs (#1281) [Danny Allen] * 57a0b41 2020-12-09 | Add show and clear commands for headroom pool watermark (#1144) [Neetha John] * d414970 2020-12-08 | [unit test][CLI][pfcwd] Added pfcwd config tests for single and multi ASIC platform. (#1248) [Mahesh Maddikayala] * 2b4a58c 2020-12-08 | [sflow] Fix traceback seen for show sflow interface (#1282) [Garrick He] * e22980f 2020-12-09 | [config/console][consutil] Support enable/disable console switch (#1275) [Blueve] * 2f263c4 2020-12-08 | [fast-reboot] Fix fast-reboot when NDP entries are present (#1295) [shlomibitton] * 326e534 2020-12-07 | Fast-reboot: add a new flag to ignore ASIC config checksum verification failures (#1292) [Vaibhav Hemant Dixit] * 042254e 2020-12-04 | Kdump improvements (#1284) [rajendra-dendukuri]
stepanblyschak
pushed a commit
to stepanblyschak/sonic-buildimage
that referenced
this issue
May 10, 2021
) Remove -t flag from the docker exec command used to restart SWSS after updating the proxy ARP config. Currently with the flag, this command cannot be executed as part of a script (e.g. during a unit test in sonic-mgmt) since Docker is expecting the input device to be a TTY. Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
theasianpianist
pushed a commit
to theasianpianist/sonic-buildimage
that referenced
this issue
Feb 5, 2022
* Implement telemetry daemon for teamd Every second all presented teamd daemons is going to be requested for the state dump in json format. After that the json dump will be converted to the memory structure represented the desired format. The database is going to be updated only for entries which were changed since the last poll. The daemon will track a case when a LAG has been added or removed. * Fix typos * Fix order in the class declaration * Make the code more c++ * Add more changes to .gitignore Co-authored-by: PS <ps@cs.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fillmore@LAN2SDD5CMPL01:~/sonic-buildimage$ make sonic-slave-bash
fillmore@3448213a9424:/sonic$ ls /lib/mod
modprobe.d/ modules/
fillmore@3448213a9424:/sonic$ ls /lib/mod
modprobe.d/ modules/
fillmore@3448213a9424:/sonic$ ls /lib/modules/ -al
total 4
drwxr-xr-x 3 root root 27 Jan 17 08:45 .
drwxr-xr-x 12 root root 4096 Jan 17 09:14 ..
drwxr-xr-x 2 root root 31 Jan 17 08:45 3.16.0-5-amd64
fillmore@3448213a9424:/sonic$ ls /lib/modules/3.16.0-5-amd64/ -al
total 0
drwxr-xr-x 2 root root 31 Jan 17 08:45 .
drwxr-xr-x 3 root root 27 Jan 17 08:45 ..
lrwxrwxrwx 1 root root 37 Jan 9 11:40 build -> /usr/src/linux-headers-3.16.0-5-amd64
lrwxrwxrwx 1 root root 38 Jan 9 11:40 source -> /usr/src/linux-headers-3.16.0-5-common
fillmore@3448213a9424:/sonic$
It cause build code error.
[ FAIL LOG START ] [ target/debs/igb.ko ]
make[1]: Entering directory '/sonic/src/igb'
rm -rf ./igb-5.3.5.4
wget -O igb-5.3.5.4.tar.gz "https://sonicstorage.blob.core.windows.net/packages/igb-5.3.5.4.tar.gz?sv=2015-04-05&sr=b&sig=Y7pO2Y%2FLTdQe1XucyRhMZdbHV5duAdvRYOqgJ5D7l4c%3D&se=2031-03-08T08%3A31%3A39Z&sp=r"
tar xzf igb-5.3.5.4.tar.gz
Patch
pushd ./igb-5.3.5.4
patch -p1 < ../patch/0001-add-PHY-support-for-Broadcom-54616.patch
##Build the package
pushd src
export BUILD_KERNEL=3.16.0-4-amd64
make
popd
popd
mv ./igb-5.3.5.4/src/igb.ko /sonic/target/debs/
converted 'https://sonicstorage.blob.core.windows.net/packages/igb-5.3.5.4.tar.gz?sv=2015-04-05&sr=b&sig=Y7pO2Y%2FLTdQe1XucyRhMZdbHV5duAdvRYOqgJ5D7l4c%3D&se=2031-03-08T08%3A31%3A39Z&sp=r' (ANSI_X3.4-1968) -> 'https://sonicstorage.blob.core.windows.net/packages/igb-5.3.5.4.tar.gz?sv=2015-04-05&sr=b&sig=Y7pO2Y/LTdQe1XucyRhMZdbHV5duAdvRYOqgJ5D7l4c=&se=2031-03-08T08:31:39Z&sp=r' (UTF-8)
--2018-01-15 03:21:37-- https://sonicstorage.blob.core.windows.net/packages/igb-5.3.5.4.tar.gz?sv=2015-04-05&sr=b&sig=Y7pO2Y/LTdQe1XucyRhMZdbHV5duAdvRYOqgJ5D7l4c=&se=2031-03-08T08:31:39Z&sp=r
Connecting to 172.19.176.119:5865... connected.
Proxy request sent, awaiting response... 200 OK
Length: 323590 (316K) [application/octet-stream]
Saving to: 'igb-5.3.5.4.tar.gz'
100K .......... .......... .......... .......... .......... 47% 218K 1s
150K .......... .......... .......... .......... .......... 63% 217K 1s
200K .......... .......... .......... .......... .......... 79% 21.2M 0s
250K .......... .......... .......... .......... .......... 94% 217K 0s
300K .......... ...... 100% 28.6M=1.2s
2018-01-15 03:21:40 (273 KB/s) - 'igb-5.3.5.4.tar.gz' saved [323590/323590]
/sonic/src/igb/igb-5.3.5.4 /sonic/src/igb
patching file src/e1000_82575.c
patching file src/e1000_defines.h
patching file src/e1000_hw.h
/sonic/src/igb/igb-5.3.5.4/src /sonic/src/igb/igb-5.3.5.4 /sonic/src/igb
make[2]: Entering directory '/sonic/src/igb/igb-5.3.5.4/src'
Makefile:69: *** Kernel header files not in any of the expected locations.
Makefile:70: *** Install the appropriate kernel development package, e.g.
Makefile:71: *** kernel-devel, for building kernel modules and try again. Stop.
make[2]: Leaving directory '/sonic/src/igb/igb-5.3.5.4/src'
Makefile:8: recipe for target '/sonic/target/debs/igb.ko' failed
make[1]: *** [/sonic/target/debs/igb.ko] Error 2
make[1]: Leaving directory '/sonic/src/igb'
[ FAIL LOG END ] [ target/debs/igb.ko ]
slave.mk:184: recipe for target 'target/debs/igb.ko' failed
make: *** [target/debs/igb.ko] Error 1
Makefile:77: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: