Operating System - Linux
1822504 Members
2504 Online
109642 Solutions
New Discussion юеВ

Re: Still Have CDROM Problem

 
SOLVED
Go to solution
Patrick Van Humbeeck
Valued Contributor

Re: Still Have CDROM Problem

hmm that does not match the kernel release you built, probably from the install cd's kernel.

you'll have to figure out why it wont build a new one for you (as the module needs to match the running kernel, that one wont do it). back to /usr/src/linux and try to get a fresh one ..

I'm sorry cannot help any further today but I'll check back tomorrow if you haven't sorted this out by then.

Cheers,

Patrick
Mark Grant
Honored Contributor

Re: Still Have CDROM Problem

Robert,

You say you get an error when you do a "make modules_install" saying that there isn't a module for kernel 2.4.19 but you found a module in 2.4.20. Your dmesg output also says you are running 2.4.19. This is a bit confusing. It looks like you have successfully compiled the module for 2.4.20 but when doing the make modules_install it has taken 2.4.19 as the current version. What version does it say in /usr/src/linux.XXXX/include/linux/version.h? It might be that you missed something in the compilation steps.

Any more information on this to clarify might help.
Never preceed any demonstration with anything more predictive than "watch this"
Martin P.J. Zinser
Honored Contributor

Re: Still Have CDROM Problem

Since your kernel build complains about the missing sym53c8xx objects, do you have the sources in drivers/scsi?
Paulo A G Fessel
Trusted Contributor

Re: Still Have CDROM Problem

Robert,

The kernel compilation and mkinitrd are two distinct kernel installation steps.

You must make sure that you're specifying the correct kernel version for the modules you're trying to install. That is, if your kernel version is 2.4.19-xfs, you MUST specify this when making your initrd.

What is the kernel version that "uname -a" shows at this moment?

Are you sure that the compilation of modules for 2.4.19-xfs has been done correctly?

Just to refresh your memory, if you do want to make a initrd for 2.4.19-xfs you MUST install the modules of this version in the appropriate path. AFTER installing the modules and assuming that your kernel version is 2.4.19-xfs (check your Makefiles), issue this command:

mkinitrd -f -v /boot/initrd-2.4.19-xfs.img 2.4.19-xfs

This will generate the correct initrd. Also check if your compile of the kernel includes ide-scsi; if not, change it to module and compile it. Finally, add hdx=ide-scsi to the "Append" section of your lilo.conf, where "hdx" is the identifier of your DVD-ROM drive.

HTH
Paulo Fessel
L'employ├Г┬й propose, le boss dispose.
Huc_1
Honored Contributor

Re: Still Have CDROM Problem

I also think something when wrong during kernel compile, probably wrong modules or error if you use xfs all bites and pieces should be same XX.XX.XX

I would redo making sure of every step and that you got the right version for every step, note down any error.

be sure to keep a copy of your .config take your time about it "the reason I am beeing so paternalistic/prudent is because I just compiled a kernel and ended messing the system had to use linux rescue from install to rectify , its now recompiling"

In fact I have lately acquire a cd/dvd r&w so I am in the middel of the same exercice, hence my delay response I had plan doing this the week-end advance sched to see if i could futher help. (that is if it is within my ability since a mess up kernel !)

J-P



Smile I will feel the difference
Huc_1
Honored Contributor
Solution

Re: Still Have CDROM Problem


Compile now OK got it working in my case lot's usb problems now solved

in my /usr/src/linux-2.4/.config for ide I set the following I do not mention the other
setup like scsi card as this worked on your kernel.

-------------------< extract from my .config >-----------------------

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y

------------------< end extract from my .config >----------------------


I also had a a difficult time getting my cd/rw dvd-rom and cd/dvd r/w
to be reconized as scsi by cdrecord -scanbus, the probem is that I
am more use to lilo have only recently switch to grub

I only hdc and hdd working when I put the following kernel /boot in my
grub.conf on 1 line (!!! not two !!!) grub seems very touchy about layout.

notice the hdc and hdd I got these from near the top of my dmesg


---------------------< extract from grub.conf >------------------------

title Red Hat Linux custom
root (hd1,0)
kernel /boot/vmlinuz-2.4.20-20.9custom ro root=/dev/hdb1 hdc=ide-scsi hdd=ide-scsi

---------------------< end of extract from grub.conf >------------------------


---------------------< extract of output from dmesg >------------------------

...< near the top >...

Kernel command line: ro root=/dev/hdb1 hdc=ide-scsi hdd=ide-scsi
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi

...< some lines futher down >...

hda: ST310232A, ATA DISK drive
hdb: IBM-DJNA-371350, ATA DISK drive
hdc: HITACHI DVD-ROM GD-2500, ATAPI CD/DVD-ROM drive
hdd: PIONEER DVD-RW DVR-106D, ATAPI CD/DVD-ROM drive

...< some lines futher down >...

hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HITACHI Model: DVD-ROM GD-2500 Rev: 0101
Type: CD-ROM ANSI SCSI revision: 02
Vendor: PIONEER Model: DVD-RW DVR-106D Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02

...< near the bottom some lines further down >...
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 10x/24x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 47x/47x writer cd/rw xa/form2 cdda tray

--------------------< end extract of output from dmesg >------------------------

!! and finaly the command!!!

#cdrecord -scanbus

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus1:
1,0,0 100) 'HITACHI ' 'DVD-ROM GD-2500 ' '0101' Removable CD-ROM
1,1,0 101) 'PIONEER ' 'DVD-RW DVR-106D' '1.05' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

Hope This will be of some use to you

Sorry delay and lenght of reply

J-P
Smile I will feel the difference