[Bug 1539624] [NEW] hwup does not enable qeth when qeth driver is in the kernel (not a module)

Launchpad Bug Tracker 1539624 at bugs.launchpad.net
Fri Jan 29 14:34:41 UTC 2016


You have been subscribed to a public bug:

== Comment: #0 - EVGENY CHERKASHIN <Eugene.Crosser at ru.ibm.com> - 2016-01-29 06:22:37 ==
When you boot a kernel that has qeth drivers (core, l2 and l3) compiled into the kernel as opposed to as modules, network interfaces fail to come up. E.g if you have this configuration:

root at r35lp54:~# cat /etc/sysconfig/hardware/config-ccw-0.0.f100 
CCWGROUP_CHANS=(0.0.f100 0.0.f101 0.0.f102)
QETH_PORTNAME=OSAPORT
QETH_PORTNO=0
QETH_OPTIONS=()
INTERFACE_NAME=eth1

and run `hwup` command, you get this error message:

root at r35lp54:~# hwup ccw 0.0.f100
no kernel module for qeth devices available!

Apparently `hwup-ccw-group` unconditionally runs `modprobe`; it should
skip this step if the driver is already in the kernel.

== Comment: #1 - Hendrik Brueckner <brueckner at de.ibm.com> - 2016-01-29 06:37:12 ==
(In reply to comment #0)
> When you boot a kernel that has qeth drivers (core, l2 and l3) compiled into
> the kernel as opposed to as modules, network interfaces fail to come up. E.g
> if you have this configuration:
> 
> root at r35lp54:~# cat /etc/sysconfig/hardware/config-ccw-0.0.f100 
> CCWGROUP_CHANS=(0.0.f100 0.0.f101 0.0.f102)
> QETH_PORTNAME=OSAPORT
> QETH_PORTNO=0
> QETH_OPTIONS=()
> INTERFACE_NAME=eth1
> 
> and run `hwup` command, you get this error message:
> 
> root at r35lp54:~# hwup ccw 0.0.f100
> no kernel module for qeth devices available!
> 
> Apparently `hwup-ccw-group` unconditionally runs `modprobe`; it should skip
> this step if the driver is already in the kernel.

Excerpt from hwup-ccw-group:
--------------------
elif [ "$NAME" == qeth ]; then
  modprobe qeth 2> /dev/null || :

  if [ -d $SYSFS/module/qeth ]; then
    DRIVER=qeth
  else
    error "no kernel module for qeth devices available!"
  fi
fi
-------------------

Loading the module unconditionally is fine.  To correct the problem, the
check for $SYSFS/module/qeth  needs to be updated, for example:

/sys/bus/ccw/drivers/qeth
/sys/devices/qeth

== Comment: #2 - Hendrik Brueckner <brueckner at de.ibm.com> - 2016-01-29 06:53:03 ==
A Debian bug report against the sysconfig-hardware package has been submitted. I will update the bugzilla when I have the debian bug number available.

** Affects: sysconfig (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-136243 severity-medium targetmilestone-inin1604
-- 
hwup does not enable qeth when qeth driver is in the kernel (not a module)
https://bugs.launchpad.net/bugs/1539624
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to sysconfig in Ubuntu.



More information about the foundations-bugs mailing list