Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-99677

[RHEL 10] - The BCC I/O tools - 'bio*' are not working as expected.

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-10.0
    • bcc
    • bcc-0.34.0-2.el10
    • No
    • Moderate
    • rhel-kernel-tracing
    • 23
    • 26
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      I am attempting to monitor I/O operations using different BCC tools such as biosnoop, biotop, biolatency, biolatpcts, and biopattern. 
      However, these commands execute without producing any output.
      

      What is the impact of this issue to you?

      We are unable to capture I/O performance data, as the relevant BCC tools are not returning any output.
      

      Please provide the package NVR for which the bug is seen:

      # rpm -qa | egrep "kernel-6|bcc"
      ~~~
      kernel-6.12.0-55.18.1.el10_0.x86_64
      
      bcc-tools-0.32.0-1.el10.x86_64
      bcc-0.32.0-1.el10.x86_64
      python3-bcc-0.32.0-1.el10.noarch
      ~~~

      How reproducible is this bug?:

      Always
      

      Steps to reproduce

      1. Install the required packages -
            # dnf install bcc bcc-tools python3-bcc
      
      2. Execute 'bio*' commands to monitor I/O operations 
            # cd /usr/share/bcc/tools
            # ./biotop -C
            # ./biosnoop
      

      Expected results
      The command should show output as below -

      # cd /usr/share/bcc/tools
      # ./biotop -C
      ~~~
      13:32:08 loadavg: 5.12 3.97 3.22 7/890 5722
      
      PID     COMM             D MAJ MIN DISK       I/O  Kbytes  AVGms
      5708    dd               R 252 0   vda       4278  541704   0.10
      585     xfsaild/dm-0     W 252 0   vda         18     169   0.49
      0                        R 252 0   vda          3       0   2.33
      5531    kworker/0:0      W 252 0   vda          1       1   0.43
      ~~~
      
      # ./biosnoop 
      ~~~
      TIME(s)     COMM           PID     DISK    T    SECTOR     BYTES   LAT(ms) 
      1.341270    kworker        5797    sr0     N    -1         8         0.203
      2.192947    Cache2         2708    vda     WS   26112672   16384     0.399
      3.389160    kworker        5797    sr0     N    -1         8         0.143
      5.437357    kworker        5797    sr0     N    -1         8         0.270
      5.437891    kworker        1863    vda     W    26112600   4096      0.632
      ~~~

      Actual results

      # cd /usr/share/bcc/tools
      # ./biotop -C
      ~~~
      Tracing... Output every 1 secs. Hit Ctrl-C to end
      
      13:29:11 loadavg: 5.00 3.47 2.93 12/891 5673
      PID     COMM             D MAJ MIN DISK       I/O  Kbytes  AVGms
      
      13:29:12 loadavg: 5.00 3.47 2.93 10/891 5673
      PID     COMM             D MAJ MIN DISK       I/O  Kbytes  AVGms
      
      13:29:13 loadavg: 5.00 3.47 2.93 15/891 5673
      PID     COMM             D MAJ MIN DISK       I/O  Kbytes  AVGms
      ~~~
      
      # ./biosnoop 
      ~~~
      TIME(s)     COMM           PID     DISK      T SECTOR     BYTES  LAT(ms)
      [No Output]
      ~~~

              jmarchan@redhat.com Jerome Marchand
              rhn-support-saypandi Sayali Pandit
              Jerome Marchand Jerome Marchand
              Ziqian (Zamir) SUN Ziqian (Zamir) SUN
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: