LinuxQuestions.org
Help answer threads with 0 replies.
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 01-29-2004, 02:56 PM   #1
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Rep: Reputation: 0
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?
 
Old 01-29-2004, 03:36 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

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

(or if using devfs)
'mount /dev/cdroms/cdrom0 /mnt/cdrom
 
Old 01-30-2004, 05:28 AM   #3
Zvi
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
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!
 
Old 01-30-2004, 12:47 PM   #4
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
/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.
 
Old 01-30-2004, 01:17 PM   #5
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
well the odd thing I think is that it says cdrom HDC added but there is no device file /dev/hdc
 
Old 01-30-2004, 01:44 PM   #6
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
/dev/cdrom/hdc ?
no, that cant be right.

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


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
CD ROM not working gravy Debian 19 11-22-2005 02:45 AM
FC3:Sound stopped working in all installed kernels after compiling 2.6.13-ck2 kernel whencat Linux - Software 1 09-09-2005 03:22 AM
cdrecord not working after compiling new kernel 2.6.7 alitrix Linux - Hardware 8 12-30-2004 04:06 PM
Kernel compiling = mouse not working the_sLiDe Slackware 5 10-30-2004 10:28 PM
Second cd-rom not working:P Danielallan Slackware 2 10-25-2004 08:53 PM

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

All times are GMT -5. The time now is 05:31 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