Tiny Core Extensions > TCE Q&A Forum

how can i use lldpctl and lldpd and lldpcli command in tincore version14

<< < (4/8) > >>

Rich:
Hi yimding
Try installing  firmware-intel.tcz.

yimding:
@Rich
i try to install firmware-intel.tcz in my os, and exec modprobe -r ice && modprobe ice
strill has error

--- Code: ---ice: module unloaded
ice: Intel(R) Ethernet Connection E800 Series Linux Driver
ice: Copyright (c) 2018, Intel Corporation.
ice 0000:1f:00.0: Direct firmware load for intel/ice/ddp/ice.pkg failed with error -2
ice 0000:1f:00.0: Falling back to sysfs fallback for: intel/ice/ddp/ice.pkg
ice 0000:1f:00.0: The DDP package file was not found or could not be read. Entering Safe Mode
ice 0000:1f:00.0: not enough device MSI-X vectors. wanted = 66, available = 2
ice 0000:1f:00.0: Reducing request to 1 MSI-X vectors for LAN traffic.
ice 0000:1f:00.0: RDMA is not supported on this device
ice 0000:1f:00.1: Direct firmware load for intel/ice/ddp/ice.pkg failed with error -2
ice 0000:1f:00.1: Falling back to sysfs fallback for: intel/ice/ddp/ice.pkg
ice 0000:1f:00.1: The DDP package file was not found or could not be read. Entering Safe Mode
ice 0000:1f:00.1: not enough device MSI-X vectors. wanted = 66, available = 2
ice 0000:1f:00.1: Reducing request to 1 MSI-X vectors for LAN traffic.
ice 0000:1f:00.1: RDMA is not supported on this device
ice 0000:1f:00.0 eth2: NIC Link is up 25 Gbps Full Duplex, Requested FEC: RS-FEC, Negotiated FEC: FC-FEC/BASE-R, Autoneg Advertised: Off, Autoneg Negotiated: False, Flow Control: None
--- End code ---

and i can norr find this path "intel/ice/ddp/ice.pkg" in my system

just can see


--- Code: ---root@yim:/# find / -name ice
/usr/local/lib/firmware/intel/ice
/tmp/tcloop/intel-firmware/usr/local/lib/firmware/intel/ice
/lib/modules/6.1.2-tinycore64/kernel/drivers/net/ethernet/intel/ice
/sys/bus/pci/drivers/ice
/sys/module/ice
--- End code ---


--- Code: ---root@yim:/# cd /usr/local/lib/firmware/intel/ice/ddp
ddp-comms/          ddp-wireless_edge/  ddp/
root@yim:/# cd /usr/local/lib/firmware/intel/ice/ddp
root@yim:/usr/local/lib/firmware/intel/ice/ddp# ls
ice-1.3.30.0.pkg
root@yim:/usr/local/lib/firmware/intel/ice/ddp#
--- End code ---

    [Edit]: Added code tags added.  Rich

Rich:
Hi yimding
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:


--- Quote ---[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
--- End quote ---

It will appear like this in your post:

--- Code: ---[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
--- End code ---

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Rich:
Hi yimding
See if this fixes it:

--- Code: ---sudo mkdir -p /lib/firmware/intel/ice/ddp
sudo cp /tmp/tcloop/intel-firmware/usr/local/lib/firmware/intel/ice/ddp/ice-1.3.30.0.pkg /lib/firmware/intel/ice/ddp/ice.pkg
sudo modprobe -r ice
sudo modprobe ice
--- End code ---

yimding:
@Rich
Hi Rich, thanks for your help, ice had load rightly

when i rebuild my os, i do followe below step

--- Code: ---1. mkdir -p /lib/firmware/intel/ice/ddp/
2. mount firmware-intel.tcz, and get ice-xxxx.pkg
3. cp ice-xxxx.pkg /lib/firmware/intel/ice/ddp/ice.pkg
4. rebuild my os
5. deploy it in my server
6. dmesg
ice 0000:1f:00.0: The DDP package was successfully loaded: [b]ICE OS Default Package version 1.3.30.0[/b]
ipmi_si IPI0001:00: Using irq 10
ipmi_si IPI0001:00: IPMI message handler: Found new BMC (man_id: 0x0002a2, prod_id: 0x0100, dev_id: 0x20)
ipmi_si IPI0001:00: IPMI kcs interface initialized
ipmi_ssif: IPMI SSIF Interface driver
ice 0000:1f:00.0: PTP init successful
ice 0000:1f:00.0: 126.024 Gb/s available PCIe bandwidth (16.0 GT/s PCIe x8 link)
ice 0000:1f:00.1: DDP package already present on device: [b]ICE OS Default Package version 1.3.30.0[/b]
random: crng init done
Adding 131737436k swap on /dev/zram0.  Priority:-2 extents:1 across:131737436k SS
ice 0000:1f:00.1: PTP init successful

--- End code ---
this means ice driver load success

but i still can not get neighbor device info when i exec lldpctl, this make me very concern

--- Code: ---# lldpctl
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------

# tcpdump -i eth2 ether proto 0x88cc -A -s0 -t -c 1 -vvv
tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 262144 bytes
LLDP, length 168
Chassis ID TLV (1), length 7
  Subtype MAC address (4): 92:13:04:4c:6e:9d (oui Unknown)
  0x0000:  0492 1304 4c6e 9d
Port ID TLV (2), length 7
  Subtype MAC address (3): 30:3e:a7:0f:2b:d0 (oui Unknown)
  0x0000:  0330 3ea7 0f2b d0
Time to Live TLV (3), length 2: TTL 120s
  0x0000:  0078
System Name TLV (5), length 6: yimding
  0x0000:  7061 7970 616c
System Description TLV (6), length 86
  TinyCoreLinux 14.0 Linux 6.1.2-tinycore64 #612 SMP Mon Jan  2 17:24:30 UTC 2023 x86_64
  0x0000:  5469 6e79 436f 7265 4c69 6e75 7820 3134
  0x0010:  2e30 204c 696e 7578 2036 2e31 2e32 2d74
  0x0020:  696e 7963 6f72 6536 3420 2336 3132 2053
  0x0030:  4d50 204d 6f6e 204a 616e 2020 3220 3137
  0x0040:  3a32 343a 3330 2055 5443 2032 3032 3320
  0x0050:  7838 365f 3634
System Capabilities TLV (7), length 4
  System  Capabilities [Bridge, WLAN AP, Router, Station Only] (0x009c)
  Enabled Capabilities [Station Only] (0x0080)
  0x0000:  009c 0080
Management Address TLV (8), length 12
  Management Address length 5, AFI IPv4 (1): 10.160.64.93
  Interface Index Interface Numbering (2): 6
  0x0000:  0501 0aa0 405d 0200 0000 0600
Port Description TLV (4), length 4: eth2
  0x0000:  6574 6832
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
  Link aggregation Subtype (3)
    aggregation status [supported], aggregation port ID 0
  0x0000:  0012 0f03 0100 0000 00
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
  MAC/PHY configuration/status Subtype (1)
    autonegotiation [none] (0x00)
    PMD autoneg capability [unknown] (0x0000)
    MAU type unknown (0x0072)
  0x0000:  0012 0f01 0000 0000 72
End TLV (0), length 0
......Ln....0>..+....x
.yimdingl.VTinyCoreLinux 14.0 Linux 6.1.2-tinycore64 #612 SMP Mon Jan  2 17:24:30 UTC 2023 x86_64..........
.@]........eth2. .......... ........r..
1 packet captured
1 packet received by filter
0 packets dropped by kernel
281 packets dropped by interface

--- End code ---

could you give some advice

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version