LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-28-2021, 03:30 PM   #61
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by LuckyCyborg View Post
Mr. Didier, I suggest you to look for the openSUSE Tumbleweed sources.

https://download.opensuse.org/source.../repo/oss/src/

https://download.opensuse.org/source....4-1.2.src.rpm

This one will be more or less along with our slackware-current. The other variant of openSUSE is for enterprise.

And I suggest you to do your experiments with -current.

Your issues may be produced by the really old GCC of Slackware 14.2.

In other hand, yes. They patch the kernel heavily. For example, those are the openSUSE patches from that .src.rpm

<snip>
Thanks LuckyCyborg. The build failed too with the config from Arch. The age of gcc is something I also have in mind, although according to the kernel documentation the minimal requirements to compile the kernel mention a minimum version of 4.9 for GCC (withy a caveat: "The gcc version requirements may vary depending on the type of CPU in your computer".

Yes I could experiment on Slackware64-current, but if I am successful there and not in Slint that won't help much.

Which leads to two newbie questions:
  • Can I upgrade gcc from 5.5 to the version shipped in -current (10.3.0 at time of writing) without rebuilding or upgrading any other package? Else what should be rebuilt or upgraded (glibc?) ?
  • Can I build only the kernel with a new gcc?
 
Old 07-28-2021, 03:36 PM   #62
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
In my humble opinion, a heavy upgrade of GCC like you describe may lead in a need for a mass rebuild.

In other hand, regarding building the kernel (and even the external modules) with a dedicated GCC is a question to which response makes me also interested.

I did in the past some experiments with using a x86_64 kernel from Slackware64 under the i586 Slackware. Yes, it's possible, at least in theory.
 
1 members found this post helpful.
Old 07-28-2021, 03:52 PM   #63
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
In my humble opinion, a heavy upgrade of GCC like you describe may lead in a need for a mass rebuild.

In other hand, regarding building the kernel (and even the external modules) with a dedicated GCC is a question to which response makes me also interested.

I did in the past some experiments with using a x86_64 kernel from Slackware64 under the i586 Slackware. Yes, it's possible, at least in theory.
Thanks for your answers. I will provide 5.12.16 for Slint which is ready for upload for now, then explore my options going further. Maybe someone more skilled than me (not a big challenge, that) will solve the issue for Slackware -current in a way I can apply to Slint, which would be ideal. In any case I am of course ready to test a proposed solution in Slackware64-current.

Last edited by Didier Spaier; 07-28-2021 at 04:21 PM.
 
Old 07-28-2021, 04:29 PM   #64
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 906

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Quote:
Originally Posted by Didier Spaier View Post
  • Can I build only the kernel with a new gcc?
Yes, you can install a newer gcc in /opt and use it to compile the kernel. But then you also have to remember to compile any kernel modules with the same compiler - that's why it's best to just use the system gcc to compile the kernel.

On my work work computer I have /opt/gcc-{4.9.4,6.3.0,7.3.0,8.4.0,10.2.0} At least a few of the versions are for MATLAB.
 
1 members found this post helpful.
Old 07-29-2021, 11:43 AM   #65
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Original Poster
Rep: Reputation: Disabled
Good news

With the kernel 5.13.6 released by Patrick used in Slackware64-current as well as the one built for and installed in Slint my mouse and keyboard are usable when connected to any of the six USB ports of my tower.

Chris[1] and anyone having suffered from this issue, please test to confirm that it is also solved for you.

Then I will mark this thread as [SOLVED].

[1]I know it's 3 AM in Brisbane. So do it when you can...

Last edited by Didier Spaier; 07-29-2021 at 12:00 PM.
 
Old 07-29-2021, 03:33 PM   #66
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Still having the same behavior here unfortunately.

Applied update to 5.13.6. Rebooted without shutting down to verify no issues - mouse and keyboard worked fine. Then shut down completely and restarted - no response from keyboard and mouse. Hit reset button to restart and mouse and keyboard worked fine again.

The only time things seemed "fixed" for me was with the 5.13.5 upgrade, but that broke with the subsequent -current update even though no kernel update was included and I can't see anything else in the update that might have caused the change in behavior.

It's very odd and seems random with few other folks reporting similar issues. Maybe it's a random hardware problem? I'm just happy I can get things to work easily, but would interested to figure out why this is happening. Curious minds want to know ...

Oh well.
 
Old 07-29-2021, 03:54 PM   #67
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Franklin View Post
Still having the same behavior here unfortunately.

Applied update to 5.13.6. Rebooted without shutting down to verify no issues - mouse and keyboard worked fine. Then shut down completely and restarted - no response from keyboard and mouse. Hit reset button to restart and mouse and keyboard worked fine again.

The only time things seemed "fixed" for me was with the 5.13.5 upgrade, but that broke with the subsequent -current update even though no kernel update was included and I can't see anything else in the update that might have caused the change in behavior.

It's very odd and seems random with few other folks reporting similar issues. Maybe it's a random hardware problem? I'm just happy I can get things to work easily, but would interested to figure out why this is happening. Curious minds want to know ...

Oh well.
The issue you describe doesn't look like the one reported in this thread as behaviors differ. Still eager to get reports to know if now (with kernel 5.13.6) all USB ports work, from folks for whom it was not the case.
 
Old 07-29-2021, 04:12 PM   #68
DryFalls
Member
 
Registered: Apr 2021
Posts: 44

Rep: Reputation: Disabled
k5.13.6

Code:
Machine:   Type: Desktop Mobo: Acer model: Aspire XC-603G serial: <filter> UEFI: American Megatrends v: P11-A2 
           date: 01/23/2014 
CPU:       Info: Quad Core model: Intel Celeron J1900 bits: 64 type: MCP arch: Silvermont rev: 3 cache: L2: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 16000 
           Speed: 1528 MHz min/max: 1333/2416 MHz Core speeds (MHz): 1: 1528 2: 1333 3: 1333 4: 1333 
Graphics:  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: Acer Incorporated ALI 
           driver: i915 v: kernel bus-ID: 00:02.0 
           Display: server: X.Org 1.20.12 driver: loaded: intel resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 21.1.5 direct render: Yes
upgraded kernel 5.13.6 and it dropped the (usb) mouse and keyboard during the installation. Had to reinstall 5.13.5 from a live install to recover. Installation is on a usb sdd 500G external drive.

Last edited by DryFalls; 07-29-2021 at 04:16 PM.
 
Old 07-29-2021, 04:25 PM   #69
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by Didier Spaier View Post
The issue you describe doesn't look like the one reported in this thread as behaviors differ. Still eager to get reports to know if now (with kernel 5.13.6) all USB ports work, from folks for whom it was not the case.

Well, you may be correct that it's not the same issue. It is odd though that we are both having keyboard and mouse USB problems that seem to have started at the same time after a kernel update. I'm not convinced we aren't seeing different symptoms of the same cause. I'm just not technical enough to know where to begin with respect to diagnosing.


I will continue follow this thread and refrain from chiming in so as not to gum up the discussion in case it is truly a separate problem.
 
Old 07-29-2021, 04:45 PM   #70
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DryFalls View Post
upgraded kernel 5.13.6 and it dropped the (usb) mouse and keyboard during the installation. Had to reinstall 5.13.5 from a live install to recover. Installation is on a usb sdd 500G external drive.
Not sure it's the same issue either. What do you mean exactly writing "it dropped the (usb) mouse and keyboard during installation?" Do you really mean that you lost the keyboard and mouse before rebooting? In this case this is indeed another issue as the new kernel won't be used before you reboot. Or do you mean that you lost the keyboard and mouse after reboot? Then it could be because the package kernel-modules-5.13.6 has not been installed. How did you install the 5.13.6 packages: manually or using slackpkg?
 
Old 07-29-2021, 05:35 PM   #71
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by Didier Spaier View Post
Chris[1] and anyone having suffered from this issue, please test to confirm that it is also solved for you.
Yes, good news. The update to 5.13.6 has fixed the problem for me.

I also tried the warm/cold boot scenario but it made no difference here - all USB2 and 3 ports now work correctly in both cases.

chris
 
1 members found this post helpful.
Old 07-29-2021, 06:06 PM   #72
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chris.willing View Post
Yes, good news. The update to 5.13.6 has fixed the problem for me.

I also tried the warm/cold boot scenario but it made no difference here - all USB2 and 3 ports now work correctly in both cases.

chris
Thanks for the report. I mark this thread as [SOLVED].
 
Old 07-29-2021, 09:36 PM   #73
DryFalls
Member
 
Registered: Apr 2021
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Not sure it's the same issue either. What do you mean exactly writing "it dropped the (usb) mouse and keyboard during installation?" Do you really mean that you lost the keyboard and mouse before rebooting? In this case this is indeed another issue as the new kernel won't be used before you reboot. Or do you mean that you lost the keyboard and mouse after reboot? Then it could be because the package kernel-modules-5.13.6 has not been installed. How did you install the 5.13.6 packages: manually or using slackpkg?
I really lost the keyboard and mouse before rebooting. In fact, it was while slackpkg was installing the kernel modules package after the kernel was installed. But you're right, it could be an old problem which used to occur (intel_idle.max_cstate) similarly, but coincidentally crashing my box.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RedHat USB keyboard/mouse not detected w/ usbserial error message penyuan Linux - Software 7 06-26-2017 08:20 PM
Mouse not working on Damn Small Linux | Mouse: Omega Optical Mouse (16c Gaming Mouse) AndyDeveloper Linux - Hardware 3 04-09-2017 01:32 PM
hp wireless keyboard & mouse, keyboard works, mouse do not work not working john hughes Linux - Desktop 2 04-04-2016 11:00 AM
Keyboard and mouse not detected after starting X Infinity8 Slackware 26 09-09-2012 01:04 AM
usb mouse NOT detected, but usb keyboard IS detected mr.anderson Slackware 16 04-26-2006 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration