LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-15-2016, 08:54 PM   #1
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,082

Rep: Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257
From Kernel 4.4.7 Back to 4.4.6 (USB Problems).


There is apparently some sort of conflict between the 4.4.7 kernel and the USB ports.

First, yes, my user name is in the proper group(s) and nothing has changed other than the installation of today's updates.

When lsusb is ran the devices are shown, but XSane cannot not find the scanner. What is worst is VirtualBox cannot see any of the USB ports. The setup in VirtualBox shows everything is in order, but it can't see the printer or the scanner.

As I've said before, XSane and the scanner don't get along and I've spent enough hours over the years trying to get a quality scan out of XSane it would probably add up to days if not weeks.
As the scanner is used almost daily, I setup winXP-sp3 in VirtualBox and run the HP scanning software from there and get excellent results. Works and has worked for years UNTIL a couple of hours ago when today's updates were installed.

To double check I booted over to winXp (dual boot) and fired up the same HP software. It found the scanner and worked perfectly.

So, the 4.4.6 kernel has been re-installed, the computer rebooted, and VirtualBox once again sees the USB ports and the scanner works there and with XSane in Slackware.

BTW, every time the kernel is changed it is necessary to un-install and then re-install VirtualBox, as was done twice this afternoon.

Any ideas would be appreciated.
Thanks.

Last edited by cwizardone; 04-15-2016 at 09:43 PM.
 
Old 04-15-2016, 10:33 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,436
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by cwizardone View Post
BTW, every time the kernel is changed it is necessary to un-install and then re-install VirtualBox, as was done twice this afternoon.
You don't need to completely remove and reinstall Virtualbox... you just have to compile its modules for the new kernel:

Code:
# cd /usr/src/vboxhost-5.x.xx
# make install

Last edited by rkelsen; 04-15-2016 at 10:56 PM.
 
1 members found this post helpful.
Old 04-15-2016, 10:52 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Kernel regression maybe?
Maybe kernel 4.4.7 doesn't have support for usb yet? (anything's possible)

I've never had any issues with updates wrecking anything as long as I've been running Slackware.
I have had updates wreck things on other distributions but never Slackware.
Reading the change logs for kernel 4.4.7 may provide an answer.
What does kernel 4.4.7 have that kernel 4.4.6?

Run dmesg and see if it gives you any clues.
 
1 members found this post helpful.
Old 04-15-2016, 11:06 PM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by rkelsen View Post
You don't need to completely remove and reinstall Virtualbox... you just have to compile its modules for the new kernel:

Code:
# cd /usr/src/vboxhost-5.x.xx
# make install
That and if you have VirtualBox Guest Additions you need to rebuild those modules too for guest support. Copy paste, file sharing in the guest OS <-> host OS. You need to do both of these things each time you upgrade your kernel.

Maybe you already know all this, but it might be helpful to another Slackware user with a similar issue.
 
1 members found this post helpful.
Old 04-15-2016, 11:15 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by rkelsen View Post
You don't need to completely remove and reinstall Virtualbox... you just have to compile its modules for the new kernel:

Code:
# cd /usr/src/vboxhost-5.x.xx
# make install

I run this as root when the kernel gets upgraded:
Code:
/etc/init.d/vboxdrv setup
Works for me-
 
1 members found this post helpful.
Old 04-15-2016, 11:37 PM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,082

Original Poster
Rep: Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257
Quote:
Originally Posted by Ztcoracat View Post
....I've never had any issues with updates wrecking anything as long as I've been running Slackware.
I have had updates wreck things on other distributions but never Slackware.
Reading the change logs for kernel 4.4.7 may provide an answer.....
It doesn't happen often, but it does happen. Two or three weeks ago there was a problem with the polkit upgrades and there have been other problems over the years, but that is what -current it for, is it not.

@rkelsen and mralk3,
Somewhere along the line it was recommended that the previous version of VirtualBox be uninstalled before installing/upgrading to a new version. IIRC, it was when they moved from the 4.xx series to the 5.xx series.
I use their package and it has always worked. In /opt/VirtualBox is a file named, uninstall.sh. Run that and it removes the module. Run the VirtualBox-whateverversion-Linux_amd64.run package again and it rebuilds the module using the new kernel and installs it. Simple enough and takes only a minute or so.

Last edited by cwizardone; 04-15-2016 at 11:49 PM.
 
Old 04-15-2016, 11:47 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by cwizardone View Post
It doesn't happen often, but it does happen. Two or three weeks ago there was a problem with the polkit upgrades and there have been other problems over the years, but that is what -current it for, is it not.
If kernel 4.4.6 works for you than delight in that and enjoy the rest of your weekend.

Most folks don't read through their updates. I do.
-::-Reading through the entire update when it's done can give you an idea of what may break things.-::-
It could of been something in the update or it could of been something in the upgrade if you ran 'slackpkg upgrade-all'-

Agreed, it does happen sometimes.
 
Old 04-15-2016, 11:59 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,082

Original Poster
Rep: Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257
@Ztcoracat
I read through the 4.4.7 change log the day before yesterday and again a few minutes ago, and saw references to BTUSB and ALSA USB and several others, but I really don't know enough to identify a possible problem.

Last edited by cwizardone; 04-16-2016 at 12:00 AM.
 
Old 04-16-2016, 12:10 AM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by cwizardone View Post
@Ztcoracat
I read through the 4.4.7 change log the day before yesterday and again a few minutes ago, and saw references to BTUSB and ALSA USB and several others, but I really don't know enough to identify a possible problem.
Ok-
I'll read through the change log tomorrow evening and see if there is a solution to the possible issue.
There was a recent patch to the previous mainline and a incremental patch and you can view the difference in cgit. Once you know all of that information it can become clear in the changelog what stands out. <OR> not-

-::-I'm still learning myself about the changelogs.-::-

Last edited by Ztcoracat; 04-16-2016 at 12:11 AM.
 
1 members found this post helpful.
Old 04-16-2016, 05:36 AM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe do a diff from both kernels configs?
 
1 members found this post helpful.
Old 04-16-2016, 09:32 AM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I think you may have a module/driver issue going on with the usb ports.
In a lot of cases the wrong driver is loaded first which will cause the device to not work.
If that's the case than you would have to blacklist the driver thus allowing the proper driver to load.
Drivers are listed in the output of 'lsmod'-
<OR> manually install a driver and possibly have to configure it. (not sure)

I had a similar usb issue and couldn't find out why a device was seen in lsusb but couldn't mnt the device. I thought it may have been a kernel bug.

There were several patches for Alsa usb but they were pcm and mute button things associated with audio output.There were 2 btusb patches but they were fixes for Bluetooth.
Code:
Bluetooth: btusb: Add a new AR3012 ID 13d3:3472
Bluetooth: btusb: Add a new AR3012 ID 04ca:3014
There were a handful of patches made for usb malformed usb descriptor issues that explained a discovery in Fedora but I don't know if it's related to your usb issue.
Code:
 A Fedora user reports that the ftdi_sio driver works properly for the
    ICP DAS I-7561U device.  Further, the user manual for these devices
    instructs users to load the driver and add the ids using the sysfs
    interface.
    
    Add support for these in the driver directly so that the devices work
    out of the box instead of needing manual configuration.

he driver can be crashed with devices that expose crafted descriptors
    with too few endpoints.
I could be wrong cwizardone but it sounds like a module/driver issue with kernel 4.4.7.
I encourage you to make a bug report so that the men that make patches to the kernel can fix it.
You could write to one of the maintainers that do the patches for the kernel.
Greg Kroan-Hartman greg@linuxfoundation.org

It could be that the Kernel was not loading the usb_storage module during startup.
Code:
su modprobe usb_storage
Plug in the drive after running that cmd and see if it starts working?
http://ubuntuforums.org/showthread.php?t=1586206

Other links that may help.
https://wiki.archlinux.org/index.php/kernel_modules
https://wiki.archlinux.org/index.php...s#Blacklisting

http://www.linuxquestions.org/questi...-a-4175431580/
http://www.linuxquestions.org/questi...tected-876180/

http://digital.ni.com/public.nsf/all...257C670068ED2B

Last edited by Ztcoracat; 04-16-2016 at 09:35 AM.
 
1 members found this post helpful.
Old 04-16-2016, 09:54 AM   #12
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
From Kernel 4.4.7 Back to 4.4.6 (USB Problems).

You probably already know this, but i will add it just in case someone else doesnt. If you write to a kernel dev be sure to attach to the email your boot dmesg output, lspci -v output, and lsusb output.
 
2 members found this post helpful.
Old 04-16-2016, 10:18 AM   #13
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,082

Original Poster
Rep: Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257
Quote:
Originally Posted by Ztcoracat View Post
I think you may have a module/driver issue going on with the usb ports.......
Thanks for all your help. It is sincerely appreciated!
 
Old 04-16-2016, 10:15 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by cwizardone View Post
Thanks for all your help. It is sincerely appreciated!
You're Welcome-
 
1 members found this post helpful.
Old 04-24-2016, 01:42 PM   #15
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,082

Original Poster
Rep: Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257Reputation: 7257
The 4.4.8 kernel fixed the problem.
All the latest updates have been installed and all is well..... so far.

Last edited by cwizardone; 04-24-2016 at 02:53 PM. Reason: Typo.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Back in paradise (ie. installed Slackware) colinh2 Slackware 18 12-11-2015 08:28 PM
[SOLVED] trouble with sound play back bluemoonshine Linux - Newbie 13 03-28-2011 07:40 PM
Trouble in Paradise. cwizardone Slackware 15 03-06-2010 11:44 AM
LXer: Ubuntu Switch to Yahoo. Trouble in Paradise? LXer Syndicated Linux News 0 01-27-2010 05:50 AM
trouble in a wireless paradise! Samurai_WHO? Linux - Hardware 3 09-23-2004 11:25 PM

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

All times are GMT -5. The time now is 05:03 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