Bug 1223131 - Disable WAN drivers
Summary: Disable WAN drivers
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 10:19 UTC by Jiri Slaby
Modified: 2024-06-19 11:03 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Slaby 2024-04-19 10:19:44 UTC
We do not provide WAN in SLE at all (it lives in the -optional subpackage, so is Leap only). Provided:
* no our customer apparently uses this,
* is poorly maintained upstream (hdlc in particular),
* it's unlikely TW/Leap users run this (but not impossible),
* we diverge from SLE configs,
we should consider disabling whole WAN in TW and Leap too.

The proposed config change is:
@@ -4217,20 +4217,7 @@ CONFIG_QTNFMAC=m
 CONFIG_QTNFMAC_PCIE=m
 CONFIG_MAC80211_HWSIM=m
 CONFIG_VIRT_WIFI=m
-CONFIG_WAN=y
-CONFIG_HDLC=m
-CONFIG_HDLC_RAW=m
-CONFIG_HDLC_RAW_ETH=m
-CONFIG_HDLC_CISCO=m
-CONFIG_HDLC_FR=m
-CONFIG_HDLC_PPP=m
-CONFIG_HDLC_X25=m
-CONFIG_FRAMER=m
-CONFIG_PCI200SYN=m
-CONFIG_WANXL=m
-CONFIG_PC300TOO=m
-CONFIG_FARSYNC=m
-CONFIG_LAPBETHER=m
+# CONFIG_WAN is not set
 CONFIG_IEEE802154_DRIVERS=m
 CONFIG_IEEE802154_FAKELB=m
 # CONFIG_IEEE802154_AT86RF230 is not set
@@ -4658,7 +4645,7 @@ CONFIG_SERIAL_MCTRL_GPIO=y
 CONFIG_SERIAL_NONSTANDARD=y
 # CONFIG_MOXA_INTELLIO is not set
 CONFIG_MOXA_SMARTIO=m
-CONFIG_N_HDLC=m
+# CONFIG_N_HDLC is not set
 CONFIG_IPWIRELESS=m
 CONFIG_N_GSM=m
 CONFIG_NOZOMI=m
Comment 1 Jiri Slaby 2024-04-19 10:20:50 UTC
BTW, the WAN configs were re-enabled in Leap (after inheriting SLE configs) by:
commit d64e6b6ba2e6aa2aa9e33e46ff88802cce46a8b3
Author: Takashi Iwai <tiwai@suse.de>
Date:   Wed Nov 25 15:56:29 2020 +0100

    Re-enable openSUSE Leap features (jsc#SLE-11796)
Comment 2 Martin Hauke 2024-04-19 14:58:40 UTC
Please do *not* disable the WAN and HDLC_* stuff in Tumbleweed.

https://osmocom.org/projects/e1-t1-adapter/wiki/Linux_generic_HDLC_layer_+_DAHDI
I have written this wiki page not that long ago.

There's even modern USB based hardware with support for DAHDI ...
https://osmocom.org/projects/e1-t1-adapter/wiki/IcE1usb

And we have a DAHDI fork here
https://build.opensuse.org/package/show/network:telephony/dahdi-linux
https://build.opensuse.org/package/show/network:telephony/dahdi-tools

We run IcE1usb with DAHDI on numerous TW machines.
2 machines even run Farsite FarSync cards for X21 stuff.

I agree that the hardware for following modules are really uncommon these days:

-CONFIG_FRAMER=m
-CONFIG_PCI200SYN=m
-CONFIG_WANXL=m
-CONFIG_PC300TOO=m

lapbether is a crude hack and functional broken so it could safely be removed.
-CONFIG_LAPBETHER=m
Comment 3 Jiri Slaby 2024-06-19 11:03:27 UTC
No change for now then. Let's retry in a couple of years or so :D.