General :: Find The Driver Module Name Using MAJOR NUMBER?
Aug 16, 2010
how to find the driver module name using MAJOR NUMBER. In general major number list is available in Documentation/devices.txt but if i want to find out the driver module name specific for a given MAJOR NUMBER, what can be done?
I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:
[Code]....
I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:
I am running a linux software called altboot to install software on my xerox copy printers network controller harddisk but it keeps failing and I wonder what the error message means. Is it a cable, software or hardware problem?
I have pasted part of the log below...
modprobe: modpro/none on /proc type proc (rw) create symbolic link `/lib/modul INIT: Entering runlevel: 2 modprobe: modprobe: Can't locate module block-major-33 modprobe: modprobe: Can't locate moduleeth0: Setting full-duplex based on MII #1 link partner capability of 45e1. block-major-8 modprobe: modprobe: Can't locate module block-major-33 modprobe: modprobe: Can't locate module block-major-8
Is it possible to get a file descriptor from the major and minor number. If so, how can this be done? I am trying to see if a port(eg ttyS2) is opened without using the fdopen or open or fopen functions. is there a way to get the file descriptor of file or port that as already been opened, without using the functions I mentioned above. These functions reopens the port. I am trying to avoid that.
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
Can we find the inode of a particular file using its inode number?
The reason is i want to know how many blocks are occupied by specific file.
if we consider block size of 1K. if the file size is of 100 bytes. In such a case, when the file is stored on disk, the file will occupy 100 bytes or 1K (since we have choosen block size to be 1K) ?
i need to know how to find number of files in a directory? is there any system calls in fedora 12.And i need to know how to perform a operation if the that count increases by one?
I am viswanath. i want to know how to insert a driver module in Linux fedora 2.6.while using insmod <driver name> it showing an error. shall i install any plugins.
During the installation of RHEL it asks that you may enter the installation number to get packages , updates .....etc, now my server is up and running and i need to get the number that I added during installation
I need to find TCSH shell and gzip version number by running a acript on several boxes through ssh. How can i do that? I made a script for tcsh but it is not working by ssh , it only works on my box . I dont know from where to find the gzip version info.
My gentoo laptop doesn't have a serial port, so I got a usb-serial (RS-232) adapter from ebay. However when I plug it in, the only thing dmesg mentiones is: Code:usb 5-1: new full speed USB device using uhci_hcd and address 2I've tried to look for a kernel driver in "make menuconfig" by pressing "/" and typing 232. Nothing about RS-232. Device Drivers -> Character drivers -> Serial drivers has 8250 and UART as a module. Device Drivers -> USB support -> USB serial converter support has in-kernel: USB generic serial driver, and FTDI Single port driver as a module, but it still isn't getting recognized.Is there some module i forgot to enable, or do i have to download a separate module from somewhere?
where I can to find mapping between man section number and it's description in standalone mashine.In other words, where I can to find description of some man section when I have not connection to Internet? For example:
1 -> User commands 2, 3 -> Linux programmer's manual and so on..
What offline method is there of finding out days since a certain date. Example: How would someone find the number of days from 1-Jan-2003 to 7-Dec-2010? Could someone write a script that takes in the 2 dates and output the number of days?
I have Centos5.4 loaded on a late 2008 MACBOOK Pro and would like to get wireless working. I've attempted to download the broadcom driver and create a driver module with no luck.
As the topic says, why is GNOME the desktop environment of choice by major Linux vendors and distributions? RedHat, Canonical Ubuntu and Novell SLED all use GNOME as the default DE. Even Sun when they released JDS back in 2004 decided to use GNOME as the default DE despite the fact it is based on SUSE which used KDE as the default DE.
I am trying to create a self extracting file for Windows from Ubuntu 10.04 using 7zip.
I tried these commands:
7zr -sfx7z.sfx a output.exe *.txt 7zr -sfx/usr/local/etc/7z.sfx a output.exe *.txt
Both show this error:
Error: can't find specified sfx module
System error: E_FAIL
I have all the .sfx modules on /home/username/.sfx/ because I use them previously with "rar" and it worked fine, but it's not working for 7zip. I also copied 7z.sfx to /usr/local/etc/ to test the second command like shown here but I get the same error.
On my Ubuntu (10.04) system, the Ativa SMP-6AS webcam has worked out of the box. On a minimalistic (no gui) Debian Lenny system, it only creates devices for audio (/dev/audio1, /dev/dsp1, /dev/mixer1), but no corresponding /dev/video0 (like it does on Ubuntu). How do I find out what driver it's using on the Ubuntu system so I can install it on the Debian?
im not getting anysound through my tv i have the driver for the graphics card wich was downloaded as a restricted driver.
my main display is my tv wich is plugged by HDMI, now i know its not windows so obv its not guna run anything windows related. by a freind who refferd me to linux said something about a wrapper wich means nothing to me as i am new to this, my other issue i have is i cant find a driver for my wireless dongle its a belkin n, if thats any help, i tried looking in obvious places like the manufactures site for the driver but i cant find any :S. i am having to use an old wirless card that only gets a 1 bar signal,
I have been following a tutorial to get wireless working on my laptop. But the funny thing is, I can not find the hardware driver settings. In the tutorial they say: "Under the desktop menu System > Administration > Hardware/Additional Drivers, the b43 drivers can be activated for use." My KDE desktop looks like this:
[URL]
I am very confused and uncertain how to proceed. Besides this little confusion, is there a way to get the normal KDE desktop back? With the taskbar at the lower-side of the screen?
I cannot find a driver for the Brother MFC-490CW printer anywhere. I tried using the CD that came with the printer itself but that doesn�t have any PPD files on there... Apparently they deemed it unthinkable that a Linux user might want to use their equipment.