LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-16-2007, 03:06 AM   #1
kutty_prasad
Member
 
Registered: Sep 2006
Location: Bangalore,India
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86

Rep: Reputation: 16
How to find this device


Hi All,

My /var/log/messages file is filled with the following message.

"kernel: I/O error: dev 08:11, sector 542"

How to find the device "dev 08:11". I think it's my sata HDD is causing the error, but I also want to know what that 08:11 id means.

Thanks.
 
Old 05-16-2007, 04:19 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

The 08 and 11 are major and minor device numbers. (From the top of my head): 8 is a scsi device and 11 is 'partition' 11, which translates to /dev/sda11.

For more details google: major minor device number

Hope this helps.
 
Old 05-16-2007, 05:09 AM   #3
kutty_prasad
Member
 
Registered: Sep 2006
Location: Bangalore,India
Distribution: RHEL,Fedora, CentOS, Slackware 12 & wrestling with LFS
Posts: 86

Original Poster
Rep: Reputation: 16
Thanks druuna.

Is there any command which will list all the devices with id info. which are available on a system?

Thanks in advance.
 
Old 05-16-2007, 05:58 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

I don't think there is such a command. Depending on how your distro has set things up you could take a look in the udev rules (/etc/udev/ ???). Or if you have a pre-udev system, there could be a file called makedev somewhere on your box, which could hold this info.

BTW: These major and minor numbers are fixed and distro independent. You could look on-line for the makedev script.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 04:35 AM
Find out which program is using which device d_dallis_gr Linux - Software 5 06-20-2005 12:39 AM
cdrecord - can't find the device MD3 Linux - Software 2 09-28-2004 08:46 AM
How can I find out the name of a device? Norrin Linux - Newbie 6 08-17-2003 10:22 PM
How could I find my device name? forrest Linux - General 4 09-11-2001 09:02 AM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration