Public bug reported:

== Comment: #0 - EVGENY CHERKASHIN <[email protected]> - 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@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@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 <[email protected]> - 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@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@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 <[email protected]> - 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

** Tags added: architecture-s39064 bugnameltc-136243 severity-medium
targetmilestone-inin1604

** Bug watch added: Debian Bug tracker #813098
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813098

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1539624

Title:
  hwup does not enable qeth when qeth driver is in the kernel (not a
  module)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysconfig/+bug/1539624/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to