LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD-ROM not working after compiling a kernel (https://www.linuxquestions.org/questions/linux-hardware-18/cd-rom-not-working-after-compiling-a-kernel-140069/)

Zvi 01-29-2004 02:56 PM

CD-ROM not working after compiling a kernel
 
Hi everybody!
I have Mandrake 9.2, and I tried to compile a kernel (ver. 2.4.24), Now everything is working great except for one thing - my CD-ROM drive!
I used the patch for the Supermount option, and all my configurations regarding IDE/ATAPI/Block Devices/File-Systems seem alright.
when I boot the system for the first time with the new kernel, i get a screen that says that the system found a new hardware (CD) and that it's gonna run a configuration. i choose yes, and the system continues to load. then i have no CD support (/mnt/cdrom is empty). i don't think it's related to the Supermount option because when i insert a Floppy disk it works alright.
when i boot to the old kernel it says again that a new CD drive was found.

what should i do? is there something i'm missing here?

jpbarto 01-29-2004 03:36 PM

are you able to mount the cd drive manually? ('mount /dev/cdrom /mnt/cdrom')

(or if using devfs)
'mount /dev/cdroms/cdrom0 /mnt/cdrom

Zvi 01-30-2004 05:28 AM

first: i forgot to mention that it's not a CD-ROM, it's a BURNER.
second:
when i boot with the new kernel for the first time, i get a blue screen that says:
Quote:

Hardware changed in CD-ROM class
HDC added
so i press OK and then i get:
Quote:

Hardware changed in BURNERS class
SCD0 removed
and when i go back to the old kernel it says:
Quote:

Hardware changed in CD-ROM class
HDC removed
Quote:

Hardware changed in BURNER class
SCD0 added
and here are some things i tried with the new kernel:
Code:

[root@212 zvika]# mount
 /dev/ide/host0/bus0/target0/lun0/part6 on / type ext3 (rw)
 none on /proc type proc (rw)
 none on /dev type devfs (rw)
 none on /dev/pts type devpts (rw,mode=0620)
 none on /mnt/cdrom type supermount (ro,dev=/dev/hdc,fs=udf:iso9660,--,iocharset=utf8)
 none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,iocharset=utf8,umask=0)
 /dev/ide/host0/bus0/target0/lun0/part1 on /mnt/win_c type vfat (rw,iocharset=utf8,umask=0)
 /dev/ide/host0/bus0/target0/lun0/part5 on /mnt/win_d type vfat (rw,iocharset=utf8,umask=0)
 
 [root@212 zvika]# mount /dev/cdrom /mnt/cdrom
 mount: permission denied
 
 [root@212 zvika]# mount /dev/cdroms/cdrom0 /mnt/cdrom
 mount: permission denied
 
 [root@212 zvika]# mount -t supermount -o dev=/dev/cdrom,--,fs=auto none /mnt/cdrom
 mount: permission denied
 
 [root@212 zvika]# umount /mnt/cdrom
 
 [root@212 zvika]# mount /dev/cdrom /mnt/cdrom
 mount: special device /dev/cdrom does not exist
 
 [root@212 zvika]# mount /dev/cdroms/cdrom0 /mnt/cdrom
 mount: special device /dev/cdroms/cdrom0 does not exist
 
 [root@212 zvika]# mount -t supermount -o dev=/dev/cdrom,--,fs=auto none /mnt/cdrom
 
 [root@212 zvika]# ll /mnt/cdrom
 total 0    <---(Shoud be a directory there - from the CD)
 
 [root@212 zvika]# mount
 /dev/ide/host0/bus0/target0/lun0/part6 on / type ext3 (rw)
 none on /proc type proc (rw)
 none on /dev type devfs (rw)
 none on /dev/pts type devpts (rw,mode=0620)
 none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,iocharset=utf8,umask=0)
 /dev/ide/host0/bus0/target0/lun0/part1 on /mnt/win_c type vfat (rw,iocharset=utf8,umask=0)
 /dev/ide/host0/bus0/target0/lun0/part5 on /mnt/win_d type vfat (rw,iocharset=utf8,umask=0)
 none on /mnt/cdrom type supermount (rw,dev=/dev/cdrom,--,fs=auto)
 
 [root@212 zvika]# umount /mnt/cdrom
 
 [root@212 zvika]# mount /dev/hdc /mnt/cdrom
 mount: special device /dev/hdc does not exist
 
 [root@212 zvika]# ls -al /dev/cdrom
 ls: /dev/cdrom: No such file or directory
 
 [root@212 zvika]# mount -t supermount -o dev=/dev/cdrom,--,fs=auto none /mnt/cdrom
 
 [root@212 zvika]# ls -al /dev/cdrom
 ls: /dev/cdrom: No such file or directory

thanks for helping!

questionasker 01-30-2004 12:47 PM

/etc/fstab in new kernel must be messed up, if burner drive isnt recognised.

in new kernel, obviously, it says "Hardware changed in BURNERS class
SCD0 removed"

old it says "Hardware changed in BURNER class
SCD0 added"

the key here is "removed" in old, "added in new"

what kernel was old, and what is new?
maybe new kernel has no support for your particular drive.

jpbarto 01-30-2004 01:17 PM

well the odd thing I think is that it says cdrom HDC added but there is no device file /dev/hdc

questionasker 01-30-2004 01:44 PM

/dev/cdrom/hdc ?
no, that cant be right.

/dev/hdc/cdrom ?
that dont look right either.


All times are GMT -5. The time now is 06:22 PM.