-   Linux - General (
-   -   cdrom troubles with newly compiled kernel (

N_A_J_M 12-05-2002 05:39 PM

cdrom troubles with newly compiled kernel
One slight issue with my newly compiled kernel.
I have 2 cdrom drives one works with my new kernel and the other doesnt
/hdb - hp cd-writer 9100 (doesnt work with my new kernel)
/hdc - asus 16x dvd (does work with my new kernel)

both drives worked with the original Rh7.2 kernel 2.4.7-10, but with kernel 2.4.19 which i compiled the hp cd writer doesnt work (hdb)

when i try to mount the device:


[root@xion root]# mount -t iso9660 /dev/hdb /mnt/cdrom1
mount: /dev/hdb is not a valid block device
[root@xion root]#

i get that error :P

hmmmmm anyone know the answer?


neo77777 12-05-2002 05:50 PM

Do you have
in /etc/lilo.conf or any mention of hdb being ide-scsi in /boot/grub/grub.conf if you are using GRUB?

neo77777 12-05-2002 05:51 PM

Also post
output, we are intersted in section where CD-ROM's are getting initialized so you can skip the rest.

N_A_J_M 12-05-2002 06:17 PM

Yeah sorry i should have said i am using lilo


what are you talking about demsg|less ? sorry are you talking about the file /var/log/dmesg ?

neo77777 12-05-2002 06:38 PM

yep, there is a command dmesg that parses this log as well, so now as you drive is known as scsi, show me /sbin/lsmod
is ide-scsi there?
If yes, according to dmesg it will be /dev/scd* or /dev/sr*, decipher the log to get a clue, if you are inpatient try
mount /dev/scd0 -tiso9660 /mnt/cdrom1
Works? No substitute /dev/sdc0 to /dev/sr0 and try again, but dmesg will tell you what device it got assign to, later you might as well edit /etc/fstab to point to the right device, one more check to see if your CD-R/RW is ready is running as root
cdrecord -scanbus
If it shows up you are good to roll

N_A_J_M 12-05-2002 06:59 PM

This is the output when i do /sbin/lsmod


[root@xion sbin]# lsmod
Module                  Size  Used by
ppp_deflate            40368  0  (autoclean)
bsd_comp                4048  0  (autoclean)
ppp_async              6688  1  (autoclean)
NVdriver            1065776  10  (autoclean)
mousedev                4048  1
hid                    12944  0  (unused)
usb-uhci              21984  0  (unused)
usb-ohci              18832  0  (unused)
usbcore                65248  1  [hid usb-uhci usb-ohci]
rtc                    6784  0  (autoclean)

is that what you meant? i cant see an "ide-scsi" there

neo77777 12-05-2002 07:27 PM

You might've compiled it into kernel, so does cdrecord -scanbus reports anything about your CD-R/RW?

N_A_J_M 12-08-2002 06:40 PM

Neo sorry about the delayed reply! (rough weekend :P )

here it is, and it doesnt look good! ha


[root@xion root]# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
[root@xion root]#


neo77777 12-08-2002 10:21 PM

When you compiled kernel what did you set for SCSI support, SCSI CD-ROM support, SCSI general support and IDE CD-ROM support?

N_A_J_M 12-09-2002 05:14 AM

From what i can remember i set all scsi to off! (naturally, coz i have no scsi devices), however support for ide drive i did include.
I didnt include support for old cdrom drives.

Im guessing the problem has something to do with the scsi support?

All times are GMT -5. The time now is 09:35 PM.