[prev in list] [next in list] [prev in thread] [next in thread] 

List:       e1000-devel
Subject:    Re: [e1000-devel] [ice] Intel E810-C one queue after reboot
From:       Highload Admin <admin () highload ! biz>
Date:       2023-01-24 19:30:15
Message-ID: CAHa7jgox8o=VNU+gMCwwcJ==64rKbFh7WXdRQMXTt+dUMT9iuQ () mail ! gmail ! com
[Download RAW message or body]

вт, 24 січ. 2023 р. о 19:12 Jesse Brandeburg <jesse.brandeburg@intel.com>
пише:

> On 1/21/2023 6:17 AM, Highload Admin wrote:
> > Hello!
> 
> FYI, general spam filter guidance is to ignore mails from admin@ mails,
> so our list rejects your subscription.
> 
> I'd change it but we get a lot of mails from bogus admin@ accounts.
> 

Ok, I will try from my gmail account.


> 
> > I have a problem with ice driver  (I tried 1.10.1.2 an1.10.1.2.2
> versions).
> > After reboot  I see only one queue:
> > # ethtool -l enp129s0
> > Channel parameters for enp129s0:
> > Pre-set maximums:
> > RX:             1
> > TX:             1
> > Other:          0
> > Combined:       1
> > Current hardware settings:
> > RX:             0
> > TX:             0
> > Other:          0
> > Combined:       1
> 
> The above looks like "safe mode", which is a backup mode for the driver
> when something goes wrong during driver load, there should be messages
> in dmesg.
> 

Yes, there is message about "safe mode" in dmesg, but driver 1.10.1.2 not
kernel version
[   13.148448] ice: Intel(R) Ethernet Connection E800 Series Linux Driver -
version 1.10.1.2
[   13.148449] ice: Copyright (C) 2018-2021, Intel Corporation.
[   13.214323] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 4.19
[   13.214324] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   13.215376] usb usb2: New USB device found, idVendor=1d6b,
idProduct=0003, bcdDevice= 4.19
[   13.215378] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   13.216157] usb usb3: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 4.19
[   13.216158] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   13.216433] usb usb4: New USB device found, idVendor=1d6b,
idProduct=0003, bcdDevice= 4.19
[   13.216434] usb usb4: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   13.217064] usb usb5: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 4.19
[   13.217065] usb usb5: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   13.217254] usb usb6: New USB device found, idVendor=1d6b,
idProduct=0003, bcdDevice= 4.19
[   13.217255] usb usb6: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   13.341731] ice 0000:81:00.0: firmware: failed to load
intel/ice/ddp/ice-303ea7ffff002920.pkg (-2)
[   13.342035] ice 0000:81:00.0: firmware: failed to load
intel/ice/ddp/ice.pkg (-2)
[   13.342150] ice 0000:81:00.0: Direct firmware load for
intel/ice/ddp/ice.pkg failed with error -2
[   13.342151] ice 0000:81:00.0: The DDP package file was not found or
could not be read. Entering Safe Mode




> 
> > After reloading  driver ice - all fine? 128 queues
> > # ifdown  enp129s0; rmmod ice; modprobe ice; ifup enp129s0;
> > n# ethtool -l enp129s0
> 
> This is likely because you didn't do "make install" when originally
> building/installing the drivers, or it didn't work to modify your
> initramfs (which also contains drivers). This results in one file (an
> older driver) being loaded at boot, and post boot if you use
> rmmod/modprobe, the driver is loaded from your filesystem.
> 


I made "make install" I have the same problem on 3 servers. I checked
history :)


> 
> > Channel parameters for enp129s0:
> > Pre-set maximums:
> > RX:             128
> > TX:             128
> > Other:          1
> > Combined:       128
> > Current hardware settings:
> > RX:             0
> > TX:             0
> > Other:          1
> > Combined:       128
> 
> This is good news, it means that if you get the driver installed
> correctly into your initramfs/initrd, things will be fine.
> 
> > Hardware:
> > Supermicro H12DSU-iN motherboard
> > AMD EPYC 7742 64-Core Processor
> > 
> > Software:
> > OS Debian 10.13
> > Linux 4.19.0-23-amd64
> > # ethtool -i enp129s0
> > driver: ice
> > version: 1.10.1.2
> > firmware-version: 3.20 0x8000d855 1.3146.0
> > expansion-rom-version:
> > bus-info: 0000:81:00.0
> > supports-statistics: yes
> > supports-test: yes
> > supports-eeprom-access: yes
> > supports-register-dump: yes
> > supports-priv-flags: yes
> > 
> > Howto resolve my problem?
> 
> Please try 'sudo make install' from the ice-1.0.10.2/src directory.
> 
> you can check that your problem is as I stated by using
> 'sudo lsinitrd | grep /ice.ko'
> 
> If you continue to have issues please get back to us.
> 

I tried latest 1.10.1.2.2 version with make and make install but there is
no ice.ko in initrd

root@nl06:/home/a/ice-1.10.1.2.2/src# make
make  ccflags-y=" -DUSE_INTEL_AUX_BUS" -C
"/lib/modules/4.19.0-23-amd64/source" CONFIG_ICE=m CONFIG_MODULE_SIG=n
CONFIG_MODULE_SIG_ALL= M="/home/andron/ice-1.10.1.2.2/src"
NEED_AUX_BUS="2"  modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-23-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-23-amd64'
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_main.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_controlq.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_common.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_nvm.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_switch.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_sched.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_base.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_lib.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_txrx_lib.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_txrx.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_fltr.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_irq.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_pf_vsi_vlan_ops.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vsi_vlan_ops.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vsi_vlan_lib.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_gnss.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_tc_lib.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_fdir.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ethtool_fdir.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_acl_main.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_acl.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_acl_ctrl.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vlan_mode.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ddp.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_flex_pipe.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_flow.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_parser.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_imem.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_pg_cam.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_metainit.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_bst_tcam.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ptype_mk.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_mk_grp.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_proto_grp.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_flg_rd.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_xlt_kb.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_parser_rt.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_lag.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_fwlog.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ieps.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ethtool.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_devlink.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_fw_update.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_eswitch.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_repr.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_idc.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_debugfs.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_dcf.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_sriov.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vf_mbx.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vf_vsi_vlan_ops.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_virtchnl_allowlist.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vf_adq.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_virtchnl.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_virtchnl_fdir.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_virtchnl_fsub.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_vf_lib.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ptp.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_ptp_hw.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_dcb.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_dcb_nl.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_dcb_lib.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_arfs.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/ice_xsk.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/kcompat.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/kcompat_pldmfw.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/kcompat_dim.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/kcompat_net_dim.o
  LD [M]  /home/andron/ice-1.10.1.2.2/src/ice.o
  CC [M]  /home/andron/ice-1.10.1.2.2/src/auxiliary.o
  LD [M]  /home/andron/ice-1.10.1.2.2/src/intel_auxiliary.o
  Building modules, stage 2.
  MODPOST 2 modules
  CC      /home/andron/ice-1.10.1.2.2/src/ice.mod.o
  LD [M]  /home/andron/ice-1.10.1.2.2/src/ice.ko
  CC      /home/andron/ice-1.10.1.2.2/src/intel_auxiliary.mod.o
  LD [M]  /home/andron/ice-1.10.1.2.2/src/intel_auxiliary.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-23-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-23-common'
root@nl06:/home/andron/ice-1.10.1.2.2/src# make install
make  ccflags-y=" -DUSE_INTEL_AUX_BUS" -C
"/lib/modules/4.19.0-23-amd64/source" CONFIG_ICE=m CONFIG_MODULE_SIG=n
CONFIG_MODULE_SIG_ALL= M="/home/andron/ice-1.10.1.2.2/src"
NEED_AUX_BUS="2"  modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-23-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-23-amd64'
  Building modules, stage 2.
  MODPOST 2 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-23-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-23-common'
make  ccflags-y=" -DUSE_INTEL_AUX_BUS" -C
"/lib/modules/4.19.0-23-amd64/source" CONFIG_ICE=m CONFIG_MODULE_SIG=n
CONFIG_MODULE_SIG_ALL= M="/home/andron/ice-1.10.1.2.2/src"
NEED_AUX_BUS="2"  modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-23-common'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-23-amd64'
  INSTALL /home/andron/ice-1.10.1.2.2/src/ice.ko
  INSTALL /home/andron/ice-1.10.1.2.2/src/intel_auxiliary.ko
  DEPMOD  4.19.0-23-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-23-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-23-common'
make auxiliary_install
make[1]: Entering directory '/home/andron/ice-1.10.1.2.2/src'
install -D -m 644 Module.symvers
/lib/modules/4.19.0-23-amd64/extern-symvers/intel_auxiliary.symvers
install -d
/lib/modules/4.19.0-23-amd64/updates/drivers/net/ethernet/intel/auxiliary
mv -f
/lib/modules/4.19.0-23-amd64/updates/drivers/net/ethernet/intel/ice/intel_auxiliary.ko*
                
/lib/modules/4.19.0-23-amd64/updates/drivers/net/ethernet/intel/auxiliary/
install -D -m 644 linux/auxiliary_bus.h
//lib/modules/4.19.0-23-amd64/source/include/linux/auxiliary_bus.h
make[1]: Leaving directory '/home/andron/ice-1.10.1.2.2/src'
install -D -m 644 ../ddp/ice-1.3.30.0.pkg
/lib/firmware/updates/intel/ice/ddp/ice-1.3.30.0.pkg
(cd /lib/firmware/updates/intel/ice/ddp && ln -sf ice-1.3.30.0.pkg ice.pkg)
install -D -m 644 ../ddp/LICENSE
/lib/firmware/updates/intel/ice/ddp/LICENSE \
        2>/dev/null || true
install -D -m 644 ice.7.gz //usr/share/man/man7/ice.7.gz
/sbin/depmod -e -F /boot/System.map-4.19.0-23-amd64  -a 4.19.0-23-amd64
Updating initramfs...
dracut --force
dracut: Executing: /usr/bin/dracut --force
dracut: dracut module 'bootchart' will not be installed, because command
'/sbin/bootchartd' could not be found!
dracut: dracut module 'modsign' will not be installed, because command
'keyctl' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command
'btrfs' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command
'biosdevname' could not be found!
dracut: dracut module 'masterkey' will not be installed, because command
'keyctl' could not be found!
dracut: dracut module 'modsign' will not be installed, because command
'keyctl' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command
'btrfs' could not be found!
dracut: dracut module 'masterkey' will not be installed, because command
'keyctl' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: dash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: console-setup ***
dracut: *** Including module: aufs ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: overlay-root ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut:  root=UUID=32b9dd72-ed21-442b-b20f-454e696f3ddc rootfstype=ext4
rootflags=rw,relatime,errors=remount-ro
dracut: *** Creating image file '/boot/initramfs-4.19.0-23-amd64.img' ***
dracut: *** Creating initramfs image file
'/boot/initramfs-4.19.0-23-amd64.img' done ***
root@nl06:/home/andron/ice-1.10.1.2.2/src# lsinitrd
/boot/initrd.img-4.19.0-23-amd64 | grep ice.ko
-rw-r--r--   1 root     root        18443 Dec 21 00:56
usr/lib/modules/4.19.0-23-amd64/kernel/sound/core/snd-seq-device.ko
root@nl06:/home/a/ice-1.10.1.2.2/src#
root@nl06:/home/a/ice-1.10.1.2.2/src#

_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit \
https://forums.intel.com/s/topic/0TO0P00000018NbWAI/intel-ethernet


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic