I have tried 2.6-11-test , 2.6.0, and 2.6.1 kernels installed over top of
Fedora Core 1.
The CDROM disappears every time I boot with the 2.6 kernel.
If I reboot and bring up the 2.4.22 kernel that came with Fedora the CDROM
re-appears. I have been searching for a solution for about 3 weeks
now with no progress. There seems to be some fundamental difference
between 2.4 and 2.6 in how they initialize the drives when the
system boots up. The hardware browser indicates that the cdrom does
not exist.
The boot up message that appears when the system starts indicates that
it does actually see the CDROM.
However, when you try to mount it. The error messsage indicates that it
is an invalid block device.
Interestingly on my home machine , the DVD drive which is
/dev/hdc works , but the CD which is /dev/hdd does not work under 2.6.
My work machine does not see the HP cdwriter at all.
I'm using slackware 9.1 and i had similar problem (exactly: when there was no medium it reacted corectly writing 'no medium found'( so i understand, that it saw my drive) and when i put CD into the drive he wrote '...wrong file system, invalid block device or to many mounted devices')
I changed one line in /etc/fstab :
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
to:
/dev/cdrom /mnt/cdrom auto defaults 0 0
and i dont know why, but it is working now.
I hope this message will help to anyone :)
I had the same problem. I found out that kudzu removed /dev/cdrom during 2.6.1 boot. This is my work-around:
1. Select old kernel 2.4.22 during boot. Kudzu will probe hardware and restore /dev/cdrom if it was removed.
2. Turn off kudzu (chkconfig --level 35 kudzu off)
3. Reboot and select new kernel 2.6.1. /dev/cdrom will no longer be removed. I also had to soft link /dev/dvd to /dev/cdrom for my dvd to be recognized.
What if it's a SCSI CDROM drive? Mine shows up during the AIC7870 initialization (along with the 2 hard drives on the same bus).
What's it take to get 2.6.1 to recognize it?
Jan 19 00:54:58 xbox kernel: SCSI subsystem driver Revision: 1.00
Jan 19 00:54:58 xbox kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Jan 19 00:54:58 xbox kernel:
Jan 19 00:54:58 xbox kernel: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Jan 19 00:54:58 xbox kernel:
Jan 19 00:54:58 xbox kernel: blk: queue c1afbe14, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:58 xbox kernel: Vendor: NEC Model: CD-ROM DRIVE:464 Rev: 1.05
Jan 19 00:54:59 xbox kernel: Type: CD-ROM ANSI SCSI revision: 02
Jan 19 00:54:59 xbox kernel: blk: queue c1873014, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:59 xbox kernel: Vendor: SEAGATE Model: ST19171W Rev: 2224
Jan 19 00:54:59 xbox kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 19 00:54:59 xbox kernel: blk: queue c1873214, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:59 xbox kernel: Vendor: SEAGATE Model: ST19171W Rev: 0023
Jan 19 00:54:59 xbox kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 19 00:54:59 xbox kernel: blk: queue c1873814, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:59 xbox kernel: scsi0:A:4:0: Tagged Queuing enabled. Depth 253
Jan 19 00:54:59 xbox kernel: scsi0:A:9:0: Tagged Queuing enabled. Depth 253
Jan 19 00:54:59 xbox kernel: Attached scsi disk sda at scsi0, channel 0, id 4, lun 0
Jan 19 00:54:59 xbox kernel: Attached scsi disk sdb at scsi0, channel 0, id 9, lun 0
Jan 19 00:54:59 xbox kernel: (scsi0:A:4): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Jan 19 00:54:59 xbox kernel: SCSI device sda: 17783112 512-byte hdwr sectors (9105 MB)
Jan 19 00:54:59 xbox kernel: Partition check:
Jan 19 00:54:59 xbox kernel: sda: sda1 sda2 sda3
Jan 19 00:54:59 xbox kernel: (scsi0:A:9): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Jan 19 00:54:59 xbox kernel: SCSI device sdb: 17783112 512-byte hdwr sectors (9105 MB)
Jan 19 00:54:59 xbox kernel: sdb: sdb1
It's there, the hardware sees it but it's not being setup for use.
Thanks for your comments about editing grub.conf.
this worked a treat,
I did try the other suggesttions, i also tried hdparm -i /dev/hdd
but grub was holding the cdrom as hdd=ide-scsi for some strange reason.
If the installer adds "hdd=ide-scsi" to the grub "kernel" line, then this is done because this is a CD-RW (or maybe even DVD-RW). Current tools, afaik, can't handle IDE CD-Writers, so you have to emulate a SCSI CD-Writer based on that IDE CD. That's what hdd=ide-scsi is for: it emulates a SCSI CD (which will turn up as /dev/scd0) using an IDE CD (/dev/hdd).
you have to compile the modules ide-scsi (scsi-emulation)
and load the modules ide-scsi, scsi_mod, sd_mod, sg.
I had the same problem and now it works.
Q) I'm using RedHat and modules don't autoload any more.
A) RedHat turns module autoloading off if /proc/ksyms isn't found.
Change line 337 of /etc/rc.d/rc.sysinit from:
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
to
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; the
n
no cdrom with 2.6.1 kernel
I have tried 2.6-11-test , 2.6.0, and 2.6.1 kernels installed over top of
Fedora Core 1.
The CDROM disappears every time I boot with the 2.6 kernel.
If I reboot and bring up the 2.4.22 kernel that came with Fedora the CDROM
re-appears. I have been searching for a solution for about 3 weeks
now with no progress. There seems to be some fundamental difference
between 2.4 and 2.6 in how they initialize the drives when the
system boots up. The hardware browser indicates that the cdrom does
not exist.
The boot up message that appears when the system starts indicates that
it does actually see the CDROM.
However, when you try to mount it. The error messsage indicates that it
is an invalid block device.
Interestingly on my home machine , the DVD drive which is
/dev/hdc works , but the CD which is /dev/hdd does not work under 2.6.
My work machine does not see the HP cdwriter at all.
Newbie
I'm using slackware 9.1 and i had similar problem (exactly: when there was no medium it reacted corectly writing 'no medium found'( so i understand, that it saw my drive) and when i put CD into the drive he wrote '...wrong file system, invalid block device or to many mounted devices')
I changed one line in /etc/fstab :
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
to:
/dev/cdrom /mnt/cdrom auto defaults 0 0
and i dont know why, but it is working now.
I hope this message will help to anyone :)
I had trouble mounting some
I had trouble mounting some dvds on rh 9.
I could always mount cds, and about 1/2 of the commercial dvds that I tried. Seems that changing fstab:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
to:
/dev/cdrom /mnt/cdrom auto defaults 0 0
As per previous post is working for me.
Regards
no cd-rom with 2.6.1 kernel
I had the same problem. I found out that kudzu removed /dev/cdrom during 2.6.1 boot. This is my work-around:
1. Select old kernel 2.4.22 during boot. Kudzu will probe hardware and restore /dev/cdrom if it was removed.
2. Turn off kudzu (chkconfig --level 35 kudzu off)
3. Reboot and select new kernel 2.6.1. /dev/cdrom will no longer be removed. I also had to soft link /dev/dvd to /dev/cdrom for my dvd to be recognized.
-vtb-
CD-ROM drive on kernel 2.6.1
Hi,
Maybe, you can try the "modprobe ide-cd" if your CD-ROM is ide-type.
SCSI CDROM?
What if it's a SCSI CDROM drive? Mine shows up during the AIC7870 initialization (along with the 2 hard drives on the same bus).
What's it take to get 2.6.1 to recognize it?
Jan 19 00:54:58 xbox kernel: SCSI subsystem driver Revision: 1.00Jan 19 00:54:58 xbox kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Jan 19 00:54:58 xbox kernel:
Jan 19 00:54:58 xbox kernel: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Jan 19 00:54:58 xbox kernel:
Jan 19 00:54:58 xbox kernel: blk: queue c1afbe14, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:58 xbox kernel: Vendor: NEC Model: CD-ROM DRIVE:464 Rev: 1.05
Jan 19 00:54:59 xbox kernel: Type: CD-ROM ANSI SCSI revision: 02
Jan 19 00:54:59 xbox kernel: blk: queue c1873014, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:59 xbox kernel: Vendor: SEAGATE Model: ST19171W Rev: 2224
Jan 19 00:54:59 xbox kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 19 00:54:59 xbox kernel: blk: queue c1873214, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:59 xbox kernel: Vendor: SEAGATE Model: ST19171W Rev: 0023
Jan 19 00:54:59 xbox kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 19 00:54:59 xbox kernel: blk: queue c1873814, I/O limit 4095Mb (mask 0xffffffff)
Jan 19 00:54:59 xbox kernel: scsi0:A:4:0: Tagged Queuing enabled. Depth 253
Jan 19 00:54:59 xbox kernel: scsi0:A:9:0: Tagged Queuing enabled. Depth 253
Jan 19 00:54:59 xbox kernel: Attached scsi disk sda at scsi0, channel 0, id 4, lun 0
Jan 19 00:54:59 xbox kernel: Attached scsi disk sdb at scsi0, channel 0, id 9, lun 0
Jan 19 00:54:59 xbox kernel: (scsi0:A:4): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Jan 19 00:54:59 xbox kernel: SCSI device sda: 17783112 512-byte hdwr sectors (9105 MB)
Jan 19 00:54:59 xbox kernel: Partition check:
Jan 19 00:54:59 xbox kernel: sda: sda1 sda2 sda3
Jan 19 00:54:59 xbox kernel: (scsi0:A:9): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Jan 19 00:54:59 xbox kernel: SCSI device sdb: 17783112 512-byte hdwr sectors (9105 MB)
Jan 19 00:54:59 xbox kernel: sdb: sdb1
It's there, the hardware sees it but it's not being setup for use.
It's /dev/scd0 using 2.6.1 on RH9
It would appear 2.6.1 on RH9 understands the drive as being /dev/scd0. Setting that up in /etc/fstab works.
I used this line:
/dev/scd0 /mnt/cdrom udf,iso9660 noauto,owner,kudzu 0 0
I'm also lead to believe that ide-scsi is no longer needed. This box has no IDE, can I safely remove any/all modules related to it?
>Maybe, you can try the "modp
>Maybe, you can try the "modprobe ide-cd" if your CD-ROM is ide-type.
I have 2 cd-rom
hdc = IDE Cdrom
hdd = IDE Cdrom RW (liteonit)
When typing modprobe ide-cd I can mount /dev/hdc. But when trying to mount hdc I still get that error :
mount: /dev/hdd is not a valid block device
My lilo.conf doesn't contain append="hdd=ide-scsi" or things like that
/sbin/hdparam /dev/hdc -->
/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
/sbin/hdparm /dev/hdd --> /dev/hdd: No such device or address
ny idea to make working all my cd's drives?
>> I found out that kudzu rem
>> I found out that kudzu removed /dev/cdrom during 2.6.1 boot.
That'right! I did what you explain and now all is working fine. Thanks.
Thank you
Hello,
thank you for your help. the reason for the error message
was that in grub.conf the entry for hdc hdd was ide-scsi.
changing this in ide-cd fixed the problem. i hope this
works for you as well as it did for me.
grub.conf
Thanks for your comments about editing grub.conf.
this worked a treat,
I did try the other suggesttions, i also tried hdparm -i /dev/hdd
but grub was holding the cdrom as hdd=ide-scsi for some strange reason.
thankyou.
M1CRO
CD Writer
If the installer adds "hdd=ide-scsi" to the grub "kernel" line, then this is done because this is a CD-RW (or maybe even DVD-RW). Current tools, afaik, can't handle IDE CD-Writers, so you have to emulate a SCSI CD-Writer based on that IDE CD. That's what hdd=ide-scsi is for: it emulates a SCSI CD (which will turn up as /dev/scd0) using an IDE CD (/dev/hdd).
Allright!
This was the solution! Great. Cheers
SOLUTION
Hi!
you have to compile the modules ide-scsi (scsi-emulation)
and load the modules ide-scsi, scsi_mod, sd_mod, sg.
I had the same problem and now it works.
Martin S.
extra module: sr_mod
thanks for the tip, upon further searching the web, i found one more module i needed to get it working: sr_mod
Loading of modules
See FAQ that comes with mod-init-tools-3.0
Q) I'm using RedHat and modules don't autoload any more.
A) RedHat turns module autoloading off if /proc/ksyms isn't found.
Change line 337 of /etc/rc.d/rc.sysinit from:
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
to
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; the
n
The modules should load automatically.
Thanks, but I'm not using Red
Thanks, but I'm not using RedHat and don't even have the file.
no cdrom with 2.6.1 kernel
Try
chkconfig off
mount /mnt/cdrom (or /cdrom as appropriate)
chkconfig on
For me it worked fine. No need to reboot the machine on 2.4 kernel.
-------------
Sandeep Tyagi