LinuxQuestions.org
Visit Jeremy's Blog.
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 09-23-2005, 04:17 PM   #1
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
No /dev/hdd file for my dvd writer ?


hello

this is an extract from dmesg.

Code:
hda: ST320011A, ATA DISK drive
hdb: IC35L120AVV207-0, ATA DISK drive
Probing IDE interface ide1...
hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
hdd: DVDRW IDE 16X, ATAPI CD/DVD-ROM drive
how come i have no /dev/hdd file for the second device on ide1 ?

I have recently gone from 2.4.26 to a 2.6.13.
I understand that with a 2.6x their is no need for hdd=ide_sci so i have removed that from my grub script..
but I have no device file in /dev to create my symlinks against for fstab etc..

any pointers would be great

thnks

rj
 
Old 09-23-2005, 04:35 PM   #2
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
You should have /etc/rc.d/rc.udev set +x for the udev program to create the /dev/ directory entries on-the-fly.
 
Old 09-23-2005, 04:55 PM   #3
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
hi

this is an extract from ls -lh in /etc/rc.d

rwxr-xr-x 1 root root 1.4K 2004-06-14 06:59 rc.udev
 
Old 09-24-2005, 02:17 AM   #4
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
OK, then -
  • Your 2.6 kernel must have had CONFIG_HOTPLUG enabled when it was built.
  • Make sure sysfs is mounted. udev will figure out where sysfs is mounted, but the traditional place for it is at /sys. You can mount it by hand by running:
    Code:
    mount -t sysfs none /sys
(from udev's README)
I've got /sys full of device classes = block, bus, etc.
 
Old 09-24-2005, 02:49 AM   #5
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
okeydoke...

cat /etc/fstab

Code:
.....
/dev/hdb1 on / type ext2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/hdb2 on /mnt/hd2 type ext2 (rw)
/dev/hda1 on /mnt/store type ext2 (rw)
..
this is the config file i copied to /boot when i compiled .
cd /usr/src/linux
cat .config | grep -n CONFIG_HOTPLUG

Code:
31:CONFIG_HOTPLUG=y
235:# CONFIG_HOTPLUG_CPU is not set
245:CONFIG_HOTPLUG_PCI=y
246:# CONFIG_HOTPLUG_PCI_FAKE is not set
247:# CONFIG_HOTPLUG_PCI_COMPAQ is not set
248:# CONFIG_HOTPLUG_PCI_IBM is not set
249:# CONFIG_HOTPLUG_PCI_ACPI is not set
250:# CONFIG_HOTPLUG_PCI_CPCI is not set
251:# CONFIG_HOTPLUG_PCI_SHPC is not set
any thoughts ?
thnks in advance.
 
Old 09-24-2005, 03:01 AM   #6
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
By the way, nobody prevents you from creating the node statically by yourself:
Code:
mknod /dev/hdd b 22 64
 
Old 09-24-2005, 03:04 AM   #7
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
Please output the ls of your /sys directory and whether /proc/sys/kernel/hotplug exists.
 
Old 09-24-2005, 04:08 AM   #8
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
sure..

slackboyslim@slackbox:/sys/kernel$ ls
hotplug_seqnum
 
Old 09-24-2005, 02:08 PM   #9
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
when I enabled dma both of my ide interfaces , udev created my node for me.

problem solved.
 
Old 09-24-2005, 02:09 PM   #10
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
OK, going further:
  • Does /etc/udev/udev.conf exist?
  • What is the value of udev_db in this file.
  • Does the udev_db specified exist in the filesystem?
  • Does
    Code:
    grep udev /var/log/mesasges
    show anything?
  • Do you have udevd running?
 
Old 09-24-2005, 02:48 PM   #11
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
thnks for your help but basically since I managed to get dma enabled it has resolved the problem.

I now have hda hdb hdc and hdd as I should.

thnks for all your help though.
 
  


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
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 07:11 PM
Uh-oh. Erased /dev/dvd file newmoon Linux - General 18 07-27-2005 12:12 PM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
Sony DVD DDU1612. /dev/dvd no such file lamedavis Linux - Hardware 2 03-30-2004 06:06 PM
fstab, /dev, dvd, writer Vincentius Linux - Newbie 2 03-25-2003 01:19 PM

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

All times are GMT -5. The time now is 02:36 PM.

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