LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-08-2006, 06:41 AM   #1
chaosbear
LQ Newbie
 
Registered: Sep 2005
Location: London, UK
Distribution: FC5
Posts: 2

Rep: Reputation: 0
why has udev swapped /dev/hdc and /dev/hdd ?


Following some cdrom reading problems, I have found that udev seems to have swapped my hdd and hdc, causing immense system problems :-

Code:
[root@freja udev]# cdrecord -scanbus
Cdrecord-Clone 2.01.01a03-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2005 Jörg Schilling
NOTE: This version contains the OSS DVD extensions for cdrtools and thus may
      have bugs related to DVD issues that are not present in the original
      cdrtools. Please send bug reports or support requests to

      not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.85-RH '@(#)scsi-linux-sg.c        1.85 05/05/16 Copyright 1997 J. Schilling').
scsibus1:
        1,0,0   100) 'PHILIPS ' 'PCRW5232P       ' 'P2.2' Removable CD-ROM
        1,1,0   101) 'SAMSUNG ' 'DVD-ROM SD-612S ' 'SB05' Removable CD-ROM
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
Code:
[root@freja udev]# ls -l /dev/cd*
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdrom-hdc -> hdc
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdrom-hdd -> hdd
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdrw -> hdc
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdrw-hdc -> hdc
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdwriter -> hdc
lrwxrwxrwx 1 root root 3 Aug  8 09:28 /dev/cdwriter-hdc -> hdc
However, if I issue a
Code:
eject /dev/hdc
The wrong drive (DVD) pops out !!! The converse is also true where ejecting hdd pops out the CDR.

I suspect that this is causing some of the problems I am encountering with this machine and would appreciate any help in figuring out what is going wrong or where I should look.

I have tried rolling back to an earlier kernel (2.6.15-1.2054_FC5) but have the same issues.

Physically, the CDR drive has been set to master & the DVD to slave (which should end up as hdc and hdd respectively) but something is amiss and they seem to have been unaccountably swapped.

This also means (?) that I cannot mount or burn on the cdrom drive which is becoming an issue.
 
Old 08-08-2006, 11:02 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,340

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
Maybe having a read of this will help.
 
Old 08-09-2006, 04:23 AM   #3
chaosbear
LQ Newbie
 
Registered: Sep 2005
Location: London, UK
Distribution: FC5
Posts: 2

Original Poster
Rep: Reputation: 0
Problem Fixed

After spending most of the night rebuilding and rebooting, the problem seems to have gone away; no clue why.
 
  


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
mount /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 08:05 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 08:11 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 03:09 PM
i have no /dev/hdc or /dev/hdd qwijibow Linux - General 3 07-18-2004 06:25 AM
/dev/cdrom & /dev/hdc missing! Lord_Devi Slackware 4 06-25-2004 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration