hwup does not enable qeth when qeth driver is in the kernel (not a module)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysconfig (Debian) |
Fix Released
|
Unknown
|
|||
sysconfig (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov |
Bug Description
== Comment: #0 - EVGENY CHERKASHIN <email address hidden> - 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/
CCWGROUP_
QETH_PORTNAME=
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 address hidden> - 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/
> CCWGROUP_
> QETH_PORTNAME=
> 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/
/sys/devices/qeth
== Comment: #2 - Hendrik Brueckner <email address hidden> - 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: | ubuntu → sysconfig (Ubuntu) |
Changed in sysconfig (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Skipper Bug Screeners (skipper-screen-team) |
Changed in sysconfig (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Canonical Foundations Team (canonical-foundations) |
Changed in sysconfig (Ubuntu): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Dimitri John Ledkov (xnox) |
Changed in sysconfig (Debian): | |
status: | Unknown → New |
Changed in sysconfig (Debian): | |
status: | New → Fix Released |
------- Comment From <email address hidden> 2016-01-29 09:28 EDT-------
The Debian bug for this issue is:
https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 813098