vasah20
08-29-2001, 12:11 PM
I'm a newbie at compiling the kernel (see my rant post regarding this), but at least I've got it to the point where I can compile it. Anyways - here's the question.
I just compiled the 2.4.9 kernel on my box, and I can't get Linux to read my CDRom. I know it was working before, and it even shows up in the KDE System information applet. This is my main concern with the kernel, since there are other problems that I will post about later (sound card not recognized, but KDE startup sound plays, USB Visor isn't working)... I figure take it one step at a time.
Anyways - I can mount /mnt/floppy just fine, and /proc/filesystem shows iso9660, but if I try
> mount -t iso9660 -r /dev/cdrom /mnt/cdrom
it spits out an error similar to
/dev/cdrom not a valid block device. (/dev/cdrom -> /dev/hdb)
Please help me on this one...
here are some file snippets that I thought might be helpful. Again, I'm a newbie, so forgive me if I don't post more relevant information.
System specs:
Distro: Mandrake 8.0
MoBo: Via KZ133 Chipset (enabled in make menuconfig)
CPU: athlon 1Ghz
RAM: 512 MB PC133
HD: Maxtor 5T040H 4 Diamond Plus60 40GB (master on primary IDE)
CDRW: Yamaha CRW8824E (slave on primary IDE)
IDE Interface: Ultra DMA 33/66
(lilo.conf)
...
#I did
#> mkinitrd -v /boot/initrd.img-2.4.9 2.4.9
#> ln -s /boot/initrd.img-2.4.9 /boot/initrd.img
#recompiled kernel
image=/boot/vmlinuz
label=linux
root=/dev/hda5
initrd=/boot/initrd.img
append=" hdb=ide-scsi quiet"
vga=788
read-only
image=/boot/vmlinuz-2.4.3-20mdk
label=linux_old
root=/dev/hda5
initrd=/boot/initrd-2.4.3-20mdk.img
append=" hdb=ide-scsi quiet"
vga=788
read-only
...
(messages - only places where I see hdb, my CDRW drive, and one other message that bothers me)
Aug 29 08:20:15 localhost kernel: Kernel command line: BOOT_IMAGE=linux ro root=305 hdb=ide-scsi quiet
Aug 29 08:20:15 localhost kernel: ide_setup: hdb=ide-scsi
...
Aug 29 08:20:15 localhost kernel: VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
Aug 29 08:20:15 localhost kernel: ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
Aug 29 08:20:15 localhost kernel: ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
Aug 29 08:20:15 localhost kernel: hda: Maxtor 5T040H4, ATA DISK drive
Aug 29 08:20:15 localhost kernel: hdb: YAMAHA CRW8824E, ATAPI CD/DVD-ROM drive
...
#COULD THIS BE THE PROBLEM?
#I compiled the SCSI drivers into the kernel,
#instead of making them modules
Aug 29 08:20:15 localhost kernel: SCSI subsystem driver Revision: 1.00
Aug 29 08:20:15 localhost kernel: request_module[scsi_hostadapter]: Root fs not mounted
Aug 29 08:20:15 localhost last message repeated 2 times
...
(I'm assuming this is after i try to mount)
Aug 29 08:36:02 localhost kernel: hdb: status error: status=0x10 { SeekComplete }
Aug 29 08:36:02 localhost kernel: hdb: drive not ready for command
Aug 29 08:36:02 localhost kernel: hdb: status error: status=0x10 { SeekComplete }
Aug 29 08:36:02 localhost kernel: hdb: drive not ready for command
Aug 29 08:37:19 localhost modprobe: modprobe: Can't locate module block-major-11
Aug 29 08:38:36 localhost kernel: ide-floppy driver 0.97
Aug 29 08:38:36 localhost modprobe: modprobe: Can't locate module ide-cd
Aug 29 08:38:36 localhost kernel: hdb: driver not present
Aug 29 08:38:57 localhost kernel: ide-floppy driver 0.97
Aug 29 08:38:57 localhost modprobe: modprobe: Can't locate module ide-cd
Aug 29 08:38:57 localhost kernel: hdb: driver not present
Sorry this is so long, I tried to give you as much information as possible. If you need to know more, I'll tell you what I can.
TIA
leo
I just compiled the 2.4.9 kernel on my box, and I can't get Linux to read my CDRom. I know it was working before, and it even shows up in the KDE System information applet. This is my main concern with the kernel, since there are other problems that I will post about later (sound card not recognized, but KDE startup sound plays, USB Visor isn't working)... I figure take it one step at a time.
Anyways - I can mount /mnt/floppy just fine, and /proc/filesystem shows iso9660, but if I try
> mount -t iso9660 -r /dev/cdrom /mnt/cdrom
it spits out an error similar to
/dev/cdrom not a valid block device. (/dev/cdrom -> /dev/hdb)
Please help me on this one...
here are some file snippets that I thought might be helpful. Again, I'm a newbie, so forgive me if I don't post more relevant information.
System specs:
Distro: Mandrake 8.0
MoBo: Via KZ133 Chipset (enabled in make menuconfig)
CPU: athlon 1Ghz
RAM: 512 MB PC133
HD: Maxtor 5T040H 4 Diamond Plus60 40GB (master on primary IDE)
CDRW: Yamaha CRW8824E (slave on primary IDE)
IDE Interface: Ultra DMA 33/66
(lilo.conf)
...
#I did
#> mkinitrd -v /boot/initrd.img-2.4.9 2.4.9
#> ln -s /boot/initrd.img-2.4.9 /boot/initrd.img
#recompiled kernel
image=/boot/vmlinuz
label=linux
root=/dev/hda5
initrd=/boot/initrd.img
append=" hdb=ide-scsi quiet"
vga=788
read-only
image=/boot/vmlinuz-2.4.3-20mdk
label=linux_old
root=/dev/hda5
initrd=/boot/initrd-2.4.3-20mdk.img
append=" hdb=ide-scsi quiet"
vga=788
read-only
...
(messages - only places where I see hdb, my CDRW drive, and one other message that bothers me)
Aug 29 08:20:15 localhost kernel: Kernel command line: BOOT_IMAGE=linux ro root=305 hdb=ide-scsi quiet
Aug 29 08:20:15 localhost kernel: ide_setup: hdb=ide-scsi
...
Aug 29 08:20:15 localhost kernel: VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
Aug 29 08:20:15 localhost kernel: ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
Aug 29 08:20:15 localhost kernel: ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
Aug 29 08:20:15 localhost kernel: hda: Maxtor 5T040H4, ATA DISK drive
Aug 29 08:20:15 localhost kernel: hdb: YAMAHA CRW8824E, ATAPI CD/DVD-ROM drive
...
#COULD THIS BE THE PROBLEM?
#I compiled the SCSI drivers into the kernel,
#instead of making them modules
Aug 29 08:20:15 localhost kernel: SCSI subsystem driver Revision: 1.00
Aug 29 08:20:15 localhost kernel: request_module[scsi_hostadapter]: Root fs not mounted
Aug 29 08:20:15 localhost last message repeated 2 times
...
(I'm assuming this is after i try to mount)
Aug 29 08:36:02 localhost kernel: hdb: status error: status=0x10 { SeekComplete }
Aug 29 08:36:02 localhost kernel: hdb: drive not ready for command
Aug 29 08:36:02 localhost kernel: hdb: status error: status=0x10 { SeekComplete }
Aug 29 08:36:02 localhost kernel: hdb: drive not ready for command
Aug 29 08:37:19 localhost modprobe: modprobe: Can't locate module block-major-11
Aug 29 08:38:36 localhost kernel: ide-floppy driver 0.97
Aug 29 08:38:36 localhost modprobe: modprobe: Can't locate module ide-cd
Aug 29 08:38:36 localhost kernel: hdb: driver not present
Aug 29 08:38:57 localhost kernel: ide-floppy driver 0.97
Aug 29 08:38:57 localhost modprobe: modprobe: Can't locate module ide-cd
Aug 29 08:38:57 localhost kernel: hdb: driver not present
Sorry this is so long, I tried to give you as much information as possible. If you need to know more, I'll tell you what I can.
TIA
leo