WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tinycore 2.7 does not detect a second optical drive  (Read 2320 times)

Offline u54749

  • Jr. Member
  • **
  • Posts: 70
Tinycore 2.7 does not detect a second optical drive
« on: December 28, 2009, 11:13:59 AM »
I have two optical drives in my desktop system: a DVD-ROM drive and a DVD rewriter.
In tc 2.6 and earlier the DVD-ROM was visible as /mnt/hdc and the rewriter as /mnt/hdd.

But since version 2.7 hdc does not show any more in /mnt.

I can still mount it manually:
sudo mkdir /mnt/hdc
sudo mount /dev/hdc /mnt/hdc
and then I can read the disc in the drive

cat /etc/fstab:

# /etc/fstab
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devpts          /dev/pts     devpts  defaults          0       0
tmpfs           /dev/shm     tmpfs   defaults          0       0
/dev/fd0        /mnt/fd0        auto     noauto,users,exec    0 0 # Added by TC
/dev/hda1       /mnt/hda1       vfat     noauto,users,exec,umask=000 0 0 # Added by TC
/dev/hda2       /mnt/hda2       ntfs     noauto,users,exec,ro,umask=000 0 0 # Added by TC
/dev/hdb1       /mnt/hdb1       ntfs     noauto,users,exec,ro,umask=000 0 0 # Added by TC
/dev/hdd        /mnt/hdd        auto     noauto,users,exec    0 0 # Added by TC

cat /etc/sysconfig/cdroms
/dev/hdd /dev/hdd


Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tinycore 2.7 does not detect a second optical drive
« Reply #1 on: December 28, 2009, 11:38:41 AM »
It is not necessarily two optical drives, as I have such, and it works just fine.
cat /proc/sys/dev/cdrom/info displays multiple optical drives on my test system.

So, how is your undetected optical drive connected to your system?
What is the device name under /dev ?
What is its major device number ?
10+ Years Contributing to Linux Open Source Projects.

Offline u54749

  • Jr. Member
  • **
  • Posts: 70
Re: Tinycore 2.7 does not detect a second optical drive
« Reply #2 on: December 28, 2009, 01:50:48 PM »
~ $ cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:             hdd     hdc
drive speed:            40      1
drive # of slots:       1       1
Can close tray:         1       1
Can open tray:          1       1
Can lock tray:          1       1
Can change speed:       1       1
Can select disk:        0       0
Can read multisession:  1       1
Can read MCN:           1       1
Reports media changed:  1       1
Can play audio:         1       1
Can write CD-R:         1       0
Can write CD-RW:        1       0
Can read DVD:           1       1
Can write DVD-R:        0       0
Can write DVD-RAM:      0       0
Can read MRW:           1       1
Can write MRW:          1       1
Can write RAM:          1       0

how is your undetected optical drive connected to your system:
Via IDE connector.  Both drives are on the same IDE port and cable, so one of it is master and the other slave (but to see which one is the master I have to disassemble my system).
I have 2 IDE ports on my system.  The other one connects two IDE hard disks.

What is the device name under /dev ? hdc

What is its major device number ?  hdc --> major=22, minor=0
                                                        hdd --> major=22 minor=64

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tinycore 2.7 does not detect a second optical drive
« Reply #3 on: December 28, 2009, 02:34:47 PM »
Thanks for reporting and supplying the needed info.  I have it corrected for v2.8rc1.
10+ Years Contributing to Linux Open Source Projects.