Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-03-2014, 05:25 PM
|
#1
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 209
Rep:
|
USB system works incorrectly after kernel upgrade
I have upgraded kernel to the latest one (3.18-rc2). And the USB system started to work incorrectly.
Speed of writing to the USB stick:
1. Old kernel: 9,4 Mb/s
2. New kernel: 540 Kb/s
On the old kernel my TP-Link TL-WN822N USB wifi adapter works. On the new - it doesn't. Here is the dmesg output, related to USB for both systems. On the old one you can see this line: "usb 1-2: ath9k_htc: USB layer initialized", missing on the new kernel.
Old kernel:
Quote:
# dmesg | grep USB
[ 1.684649] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.685147] ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
[ 1.691014] ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00
[ 1.691139] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.691210] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.691818] hub 1-0:1.0: USB hub found
[ 1.692492] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.692919] ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
[ 1.746067] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.746139] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.746738] hub 2-0:1.0: USB hub found
[ 1.747326] ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
[ 1.801052] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.801124] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.801721] hub 3-0:1.0: USB hub found
[ 1.802300] ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 4
[ 1.855108] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.855185] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.855828] hub 4-0:1.0: USB hub found
[ 1.856188] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.856941] Initializing USB Mass Storage driver...
[ 1.857220] USB Mass Storage support registered.
[ 2.044020] usb 1-2: new high-speed USB device number 3 using ehci_hcd
[ 2.162908] usb 1-2: New USB device found, idVendor=0cf3, idProduct=7015
[ 2.162987] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 2.163095] usb 1-2: Product: USB WLAN
[ 2.266046] usb 1-3: new high-speed USB device number 4 using ehci_hcd
[ 2.395055] usb 1-3: New USB device found, idVendor=1332, idProduct=f007
[ 2.395142] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.657045] usb 2-1: new low-speed USB device number 2 using ohci_hcd
[ 2.846878] usb 2-1: New USB device found, idVendor=0458, idProduct=003a
[ 2.846964] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.630067] usb 1-2: ath9k_htc: USB layer initialized
|
New kernel:
Quote:
# dmesg | grep USB
[ 0.224296] ACPI: bus type USB registered
[ 0.604234] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.604941] ehci-pci 0000:00:03.3: new USB bus registered, assigned bus number 1
[ 0.611046] ehci-pci 0000:00:03.3: USB 2.0 started, EHCI 1.00
[ 0.611222] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.611293] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.611850] hub 1-0:1.0: USB hub found
[ 0.612456] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.613165] ohci-pci 0000:00:03.0: new USB bus registered, assigned bus number 2
[ 0.666117] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.666190] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.666762] hub 2-0:1.0: USB hub found
[ 0.667615] ohci-pci 0000:00:03.1: new USB bus registered, assigned bus number 3
[ 0.720101] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.720174] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.720740] hub 3-0:1.0: USB hub found
[ 0.721578] ohci-pci 0000:00:03.2: new USB bus registered, assigned bus number 4
[ 0.774350] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.774421] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.778177] hub 4-0:1.0: USB hub found
[ 0.778574] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.965059] usb 1-2: new high-speed USB device number 3 using ehci-pci
[ 1.083981] usb 1-2: New USB device found, idVendor=0cf3, idProduct=7015
[ 1.084083] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 1.084184] usb 1-2: Product: USB WLAN
[ 1.125067] usb 2-1: new low-speed USB device number 2 using ohci-pci
[ 1.187061] usb 1-3: new high-speed USB device number 4 using ehci-pci
[ 1.314995] usb 2-1: New USB device found, idVendor=0458, idProduct=003a
[ 1.315094] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.316354] usb 1-3: New USB device found, idVendor=1332, idProduct=f007
[ 1.316432] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.317836] usb-storage 1-3:1.0: USB Mass Storage device detected
|
|
|
|
11-03-2014, 05:58 PM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,257
Rep:
|
Hi,
We miss a few information to help you, like the Linux distribution you use, the previous kernel version you used, the old and new config options...
PS at time of writing the mainline kernel is 3.18-rc3 and there have been changes in ath9k since 3.18-rc2.
Last edited by Didier Spaier; 11-03-2014 at 06:06 PM.
|
|
|
11-03-2014, 06:26 PM
|
#3
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Did you change any options ?
For the USB speed double check this option:
Device Drivers -> USB support-> EHCI HCD (USB 2.0) support -> Improved Transaction Translator scheduling
For the wifi adapter, check the driver sub options if there are any.
|
|
|
11-04-2014, 03:58 AM
|
#4
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 209
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
For the USB speed double check this option:
Device Drivers -> USB support-> EHCI HCD (USB 2.0) support -> Improved Transaction Translator scheduling
|
Yes, this option is checked.
Quote:
Originally Posted by metaschima
For the wifi adapter, check the driver sub options if there are any.
|
Wifi adapter driver is compiled, and can be loaded manually through modprobe. But the device doesn't start.
|
|
|
11-04-2014, 10:12 AM
|
#5
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 209
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
Hi,
We miss a few information to help you, like the Linux distribution you use, the previous kernel version you used, the old and new config options...
PS at time of writing the mainline kernel is 3.18-rc3 and there have been changes in ath9k since 3.18-rc2.
|
1. Linux distribution I use: Slackware 14.1
2. previous kernel version: 3.2.29-smp (shipped with Slackware by default)
3. New kernel: 3.18.0-rc2-smp+ (I don't know, why it became smp - I configured it to be compiled without SMP support).
What portion of kernel configs do I need to post? I got both of them. But they are so big, that I can't post everything here.
|
|
|
11-04-2014, 11:22 AM
|
#6
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
How did you configure the new kernel ? Did you use 'make oldconfig' ? With this big of a version jump you should probably be checking every option. Either attach the configs or post the diff of them.
|
|
|
11-04-2014, 12:13 PM
|
#7
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,257
Rep:
|
I'd add that Slackware 14.1 ships 3.10.17, not 3.2.29, that is included in Slackware 14, so I'm a bit puzzled.
To avoid the big jump that Metaschima rightly mentioned, you could take as a basis the kernel config shipped in /testing in Slackware-current, which is version 3.15.5 a time of writing and "make oldconfig" against that, copied in the kernel tree as /usr/src/linux-<version>/.config
The kernel became -smp because you didn't change the "local version" under General setup, as that is "-smp" in the Slackware kernel sources.
If I may add a bit of advice, and assuming that you just experiment compiling your custom kernel, that would be to begin with a -stable one, e.g. 3.17.2 at time of writing, unless you absolutely need something that is only shipped in mainline.
Last edited by Didier Spaier; 11-04-2014 at 12:15 PM.
|
|
|
11-04-2014, 01:45 PM
|
#8
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 209
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
Did you use 'make oldconfig' ?
|
I used "make menuconfig". Files attached.
|
|
|
11-04-2014, 02:30 PM
|
#9
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Can you post the output of 'lspci -k' on the old and new system ?
Make sure to install the modules if you didn't.
|
|
|
11-08-2014, 02:58 AM
|
#10
|
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 209
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
you could take as a basis the kernel config shipped in /testing in Slackware-current, which is version 3.15.5 a time of writing and "make oldconfig" against that, copied in the kernel tree as /usr/src/linux-<version>/.config
|
Unfortunately, it became worse after it. I took the file config-generic-3.15.5.
Quote:
mv ./config-generic-3.15.5 /usr/src/linux/.config
make oldconfig
make menuconfig
make bzImage modules
make install_modules
|
Then put the modules and kernel to the appropriate dirs and ran lilo. Now I get kernel panic:
Quote:
Kernel panic - not syncing: VFS: unable to mount root fs on uknown-block(8,2)
|
Despite the fact, that ext4 fs module is compiled.
|
|
|
11-08-2014, 01:00 PM
|
#11
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
ext4 should be built-in, not as a module.
|
|
|
All times are GMT -5. The time now is 11:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|