Kernal update 5.4.0-81 broke samba network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
High
|
Unassigned |
Bug Description
Introduction:
I use Samba for linux/windows based network, this involves a shared, ext4 folder on linux mint pc and ntfs drive on router and ntfs folder on windows 7 pc.
thereabouts:
I had all previous updates, that were current before kernal 5.4.0-81, and my network worked fine.
I used the update manager to install kernal 5.4.0-81, from the tray icons (or whatever they are called in linux), as well as updating the relating dependencies when that popped up.
I restarted, and then, I cant, see or acces, the, router storage or windows 7 pc, likewise my windows 7 pc cant, see or access, the linux pc.
I waited a good amount of time, and tried restarting, this didnt work.
I reverted the kernal and dependencies to their earlier version, still same problem, even after several, restarts and waiting.
I notice the modifications to the samba config are still present, that were required for samba to network correctly with, windows pc and router, shares.
I then updated to the new kernal again, because it makes no difference, seems as previous kernal has broken share, therefore, fix will likely be same for both now.
furthermore:
I have asus rt-n65u router with latest firmware.
I am using samba (maybe this, has been affected or needs its code updating?).
the internet is still working, that are a usb dongle through router, to linux mint pc.
----
System: Kernel: 5.4.0-81-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5
wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine: Type: Desktop Mobo: MSI model: FM2-A55M-P33 (MS-7721) v: 3.0 serial: <filter>
UEFI: American Megatrends v: 11.6 date: 02/12/2015
CPU: Topology: Quad Core model: AMD A10-6700 APU with Radeon HD Graphics bits: 64 type: MCP
arch: Piledriver rev: 1 L2 cache: 2048 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 29546
Speed: 2350 MHz min/max: 1800/3700 MHz Core speeds (MHz): 1: 2321 2: 2310 3: 2207
4: 2156
Graphics: Device-1: AMD Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP]
vendor: PC Partner Limited driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:6819
Display: x11 server: X.Org 1.20.11 driver: ati,radeon unloaded: fbdev,modesetti
OpenGL: renderer: AMD PITCAIRN (DRM 2.50.0 5.4.0-81-generic LLVM 12.0.1)
v: 4.5 Mesa 21.3.0-devel (git-513fb54 2021-08-12 focal-oibaf-ppa) direct render: Yes
Audio: Device-1: AMD FCH Azalia vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus ID: 00:14.2 chip ID: 1022:780d
vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 01:00.1
chip ID: 1002:aab0
driver: hid-generic,
Sound Server: ALSA v: k5.4.0-81-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
driver: r8169 v: kernel port: d000 bus ID: 02:00.0 chip ID: 10ec:8168
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 380.08 GiB used: 86.82 GiB (22.8%)
ID-1: /dev/sda type: USB vendor: Micron model: MT-32 VLI size: 29.82 GiB
speed: 3.0 Gb/s serial: <filter>
ID-2: /dev/sdb model: BT58SSD10S size: 238.47 GiB speed: 3.0 Gb/s serial: <filter>
temp: 40 C
ID-3: /dev/sdc vendor: SanDisk model: SDSSDHII120G size: 111.79 GiB speed: 3.0 Gb/s
serial: <filter> temp: 30 C
Partition: ID-1: / size: 233.24 GiB used: 78.37 GiB (33.6%) fs: ext4 dev: /dev/sdb2
ID-2: swap-1 size: 55.89 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdc1
Sensors: System Temperatures: cpu: 20.5 C mobo: N/A gpu: radeon temp: 36 C
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/
Active apt repos in: /etc/apt/
1: deb https: //dl.winehq.
Active apt repos in: /etc/apt/
1: deb http: //ppa.launchpad
Active apt repos in: /etc/apt/
1: deb https: //www.mirrorser
2: deb http: //mirror.
3: deb http: //mirror.
4: deb http: //mirror.
5: deb http: //security.
6: deb http: //archive.
Active apt repos in: /etc/apt/
1: deb http: //ppa.launchpad
Info: Processes: 221 Uptime: 48m Memory: 15.66 GiB used: 2.12 GiB (13.5%) Init: systemd
v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client
inxi: 3.0.38
Alexius - there were a number of cifs patches in 5.40.81:
git log --pretty=oneline Ubuntu- 5.4.0-80. 90..Ubuntu- 5.4.0-81. 91 -- fs/cifs 2c6bd460c80fb59 126d068d5a cifs: handle empty list of targets in cifs_reconnect() ab3ae8af9008fe2 0ec46c673e cifs: get rid of unused parameter in reconn_ setup_dfs_ targets( ) d1ecaf1717e0620 8edbead552 cifs: On cifs_reconnect, resolve the hostname again. deda8cb98426021 4fa82c86b7 cifs: Avoid error pointer dereference d6eb8392f2aa20a 77a5f3ee18 cifs: Simplify reconnect code when dfs upcall is enabled bf7dcf6adad2e7d 3c20ac8aa2 cifs: rename reconn_ inval_dfs_ target( )
75b60ff911d8119
23c1f856df591ed
55811c48507f528
37a4049bdd389db
651f03d7c1f4644
b7c09698a489f05
Please try the kernel in this PPA to see if reverting those patches fixes your problem:
https:/ /launchpad. net/~timg- tpi/+archive/ ubuntu/ cifs-revert- cifs-lp1939845