![]() ohci-pci 0000:00:06.0: new USB bus registered, assigned bus number 1 ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver usbcore: registered new device driver usb usbcore: registered new interface driver hub usbcore: registered new interface driver usbfs To see a full listing of USB-related messages, issue the dmesg command and grep for usb: $ dmesg |grep -i usb ohci-pci 0000:00:06.0: frame counter not updating disabled Possible post-boot messages include system errors, device errors, and information about any USB device that someone might plug in. For example, the following dmesg information appeared after inserting a USB drive: usb 1-1: new full-speed USB device number 2 using ohci-pci Between the file creation date and the next boot, you can check new messages generated by the kernel. This command creates a text file named dmesg.txt. I usually send dmesg information to a text file using a command such as the following: $ dmesg > dmesg.`date +%m.%d.%Y`.txt The output from dmesg is long, as you can see for yourself if you type it in at a command prompt because it reports information from all aspects of your system when there are no error messages-other than those that might appear at boot.įormally, dmesg prints or controls the kernel ring buffer. The default action is to display all messages from this buffer.įor future reference and comparison, the best time to look at dmesg is just after boot. It contains so much information about your system that dmesg should be the first place you look when something goes wrong. The dmesg command is one of those easily forgotten troubleshooting tools that should stay at the top of your sysadmin arsenal. How well do you know Linux? Take a quiz and get a badge.Linux system administration skills assessment.A guide to installing applications on Linux. ![]() ![]() Download RHEL 9 at no charge through the Red Hat Developer program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |