Announcement

Collapse
No announcement yet.

Kerrnel drivers reset loading process

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kerrnel drivers reset loading process

    I have a Toshiba C850-127 laptop with Kubuntu install on for a couple of months.

    I am having trouble connecting to the internet (wired and wireless, 3g too) due to a driver problem (I cannot update Kubuntu due to a lack of driver for the cd-rom drive - I get an error message saying just that).

    lsmod command lists about a dozen drivers only.

    Is there a way to reset the loading of kernel drivers all together? Or do I need to do a fresh install?

    Thank you.
    Last edited by robijf; Jan 18, 2013, 03:22 AM. Reason: Problem partially [SOLVED]

    #2
    What is the output of lspci, lsusb (if it is a usb card), ifconfig and iwconfig​?

    Comment


      #3
      The outputs

      Here are the outputs:

      root@robijf-SATELLITE-C850-127:~# lspci
      00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
      00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
      00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
      00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
      00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
      00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
      00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
      00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
      00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
      00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
      00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
      00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
      00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
      02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
      03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
      root@robijf-SATELLITE-C850-127:~# lsusb
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
      Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
      Bus 001 Device 003: ID 04f2:b307 Chicony Electronics Co., Ltd
      root@robijf-SATELLITE-C850-127:~# ifconfig
      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING MTU:16436 Metric:1
      RX packets:16 errors:0 dropped:0 overruns:0 frame:0
      TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:1296 (1.2 KB) TX bytes:1296 (1.2 KB)

      root@robijf-SATELLITE-C850-127:~# iwconfig
      lo no wireless extensions.

      root@robijf-SATELLITE-C850-127:~# lshw -C network
      *-network UNCLAIMED
      description: Network controller
      product: RTL8188CE 802.11b/g/n WiFi Adapter
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:02:00.0
      version: 01
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list
      configuration: latency=0
      resources: ioport:3000(size=256) memory:c2400000-c2403fff
      *-network UNCLAIMED
      description: Ethernet controller
      product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:03:00.0
      version: 05
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix vpd bus_master cap_list
      configuration: latency=0
      resources: ioport:2000(size=256) memory:c0004000-c0004fff memory:c0000000-c0003fff
      root@robijf-SATELLITE-C850-127:~#

      Comment


        #4
        "network UNCLAIMED" means that the drivers aren't getting loaded. You mentioned your lsmod is short...may we see the output?

        Also, do you notice any errors in /var/log/syslog that might contain clues as to why the driver modules are failing to load?

        Comment


          #5
          The lsmod output is:

          root@robijf-SATELLITE-C850-127:~# lsmod
          Module Size Used by
          nls_iso8859_1 12713 1
          nls_cp437 16991 1
          vfat 17585 1
          fat 61512 1 vfat
          joydev 17693 0
          parport_pc 32866 0
          ppdev 17113 0
          psmouse 97485 0
          video 19596 0
          serio_raw 13211 0
          lp 17799 0
          parport 46562 3 parport_pc,ppdev,lp
          vesafb 13844 1
          usb_storage 49198 0
          root@robijf-SATELLITE-C850-127:~#

          I will have to search through /var/log/syslog fo any errors.

          Comment


            #6
            Content of /var/log/syslog

            I found a few lines in /var/log/syslog:

            Jan 17 09:30:37 robijf-SATELLITE-C850-127 rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
            ...
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 kernel: [ 0.510259] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
            ...
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 kernel: [ 3.882171] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
            ...
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 kernel: [ 23.422306] lp: driver loaded but no devices found
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 kernel: [ 23.531008] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
            ...
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Server initialization failed
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to init alert plugin
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to init time plugin
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to init proximity plugin
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to open control socket: Address family not supported by protocol (97)
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Can't init bnep module
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to init network plugin
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Unable to start SCO server socket
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to init audio plugin
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Failed to init gatt_example plugin
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: Can't open HCI socket: Address family not supported by protocol (97)
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1004]: adapter_ops_setup failed
            ...
            Jan 17 09:30:37 robijf-SATELLITE-C850-127 bluetoothd[1186]: Failed to init network plugin (this one is repeated several times; the numbers in the quare bracket vary)


            I attached part of the log file (I extracted only the last day).
            Attached Files

            Comment


              #7
              Originally posted by robijf View Post
              I found a few lines in /var/log/syslog:


              Jan 17 09:30:37 robijf-SATELLITE-C850-127 kernel: [ 23.531008] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
              is this your / drive ?

              having the system mounted ro (read only) could cause your problems.

              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                It seems that an error occurred and there is a record in /etc/fstab "UUID=... / ext4 errors=remount-ro 0 1"

                The command tune2fs -c 0 -i 0 /dev/sda1 has no effect:

                tune2fs 1.42 (29-Nov-2011)
                Setting maximal mount count to -1
                Setting interval between checks to 0 seconds

                touch /forcefsck and shutdown -r now restart the system without a force-check of the hard drive. The record in /etc/fstab is still there.

                Comment


                  #9
                  I did some changes to /etc/fstab and replaced errors=remount-ro 0 1 with defaults 0 0 but the problem persists. Both networks are still unclaimed, the problems with driver loading persists.

                  Comment


                    #10
                    I found the following in /var/log/syslog after the above alterations:

                    Linux version 3.2.0-35-virtual (build@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) #55-Ubuntu SMP

                    and

                    Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-35-virtual root=UUID=... ro quiet splash vt.handoff=7

                    Is this a virtual image loading? How can I change which image to load on start?

                    Comment


                      #11
                      Problem partially solved

                      It seems all the trouble started when vmlinuz-3.2.0-35-virtual iimage was loaded.

                      I started the machine, held down RIGHT SHIFT key, selected an older version, i.e. vmlinuz-3.2.0-35-generic.

                      I would like to thank all of those who contributed to solving this problem.

                      It remains the problem of wireless network unclaimed.

                      Comment


                        #12
                        Good catch -- indeed, the -virtual kernels should be used only when running Linux in a virtual machine. This is likely the reason you're having the problem.

                        It's easy to fix. But before I make a specific suggestion, I'd like to see a list of all kernels currently installed. Please show the output of
                        Code:
                        dpkg -l | grep linux-image

                        Comment


                          #13
                          These are the installed kernels:

                          root@robijf-SATELLITE-C850-127:~# dpkg -l | grep linux-image
                          ii linux-image-3.2.0-23-generic 3.2.0-23.36 amd64 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
                          ii linux-image-3.2.0-32-generic 3.2.0-32.51 amd64 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
                          ii linux-image-3.2.0-33-generic 3.2.0-33.52 amd64 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
                          ii linux-image-3.2.0-34-generic 3.2.0-34.53 amd64 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
                          ii linux-image-3.2.0-35-generic 3.2.0-35.55 amd64 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
                          ii linux-image-3.2.0-35-virtual 3.2.0-35.55 amd64 Linux kernel image for version 3.2.0 on 64 bit x86 Virtual Guests
                          ii linux-image-3.5.0-22-generic 3.5.0-22.34 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
                          ii linux-image-extra-3.5.0-22-generic 3.5.0-22.34 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
                          ii linux-image-generic 3.5.0.22.28 amd64 Generic Linux kernel image
                          root@robijf-SATELLITE-C850-127:~#

                          I'm running currently the 3.5.0-22-generic kernel. I think things went wrong trying to fix the wireless card.

                          I managed to install the rtl8192ce driver for the wireless card, but does not start automatically, I do have to do modprobe rtl8192ce to load the module. I'm googling to find a solution.

                          Comment


                            #14
                            First, there's nothing wrong with your file systems. errors=remount-ro is a mount option that tells the kernel to mount the filesystem in read-only mode only if an error is detected during boot. That's part of the default *buntu install.

                            Second, remove that virtual kernel, it isn't doing anything useful:
                            Code:
                            sudo apt-get purge linux-image-3.2.0-35-virtual
                            Third, will the module auto-load on any of those 3.2 kernels?

                            Comment


                              #15
                              I have removed the virtual image, as suggested, but the wireless module problem is still there, I guess it has something to do with a config file, because I changed the kernel to linux-image-3.2.0-35-generic, and the problem is still there. Not even an upgrade did fix it. So I opened a new thread in the networking section of version 12.10. Thank you very much for your help

                              Comment

                              Working...
                              X