- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Still Have CDROM Problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 02:33 AM
тАО10-15-2003 02:33 AM
Re: Still Have CDROM Problem
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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 02:53 AM
тАО10-15-2003 02:53 AM
Re: Still Have CDROM Problem
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 05:39 AM
тАО10-15-2003 05:39 AM
Re: Still Have CDROM Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 07:45 AM
тАО10-15-2003 07:45 AM
Re: Still Have CDROM Problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 09:43 AM
тАО10-15-2003 09:43 AM
Re: Still Have CDROM Problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 09:46 PM
тАО10-15-2003 09:46 PM
SolutionCompile 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
- « Previous
-
- 1
- 2
- Next »