Linux - SoftwareThis 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.
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.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.