This is a discussion on Pls help me SCSI-ize my IDE CDROM so K3b can see it within the Linux Operating System forums, part of the Unix Operating Systems category; --> I want both my CD drives to be visible under K3b. If I let the CDROM load up with ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I want both my CD drives to be visible under K3b. If I let the CDROM load up with the ide-cd kernel driver, all works well. But I want both the CDROM and my CDRW to be accessed with the ide-scsi kernel driver. When I do this, the CDROM drive gives I/O errors. Any ideas? Background: Mandrake auto-setup my CDROM through the ide-cd module. It set up my CDRW through the ide-scsi driver module. And everything works this way except K3b can't see the CDROM without the SCSI emulating driver. So, I set about the make *both* CDs come on-line throught he SCSI driver.. I used instructions from http://www-106.ibm.com/developerwork.../l-cdburn.html which worked fine except the modification to modules.conf had a slightly different syntax, which I found in the documentation that came with Mandrake: file:/usr/share/doc/HOWTO/HTML/en/CD-Writing/CD-Writing-HOWTO-2.html#ss2.1 portion of the documentation that comes with Mandrake (this HOWTO is also available elsewhere on the web). Briefly, my system has hda - 80 GB hdb - 6 GB hdc - CDROM hdd - CDRW I modified the LILO boot to pass the proper commands to the kernel and then reran the command lilo to accept the /etc/lilo.conf file changes: boot=/dev/hda map=/boot/map vga=normal default="linux" keytable=/boot/us.klt prompt nowarn timeout=70 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda5 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off" vga=788 read-only I modified the /etc/modules.conf to force the IDE driver to *not* take the hdc CDROM drive (the syntax of the ignore command is what was different in the two references quoted above): probeall scsi_hostadapter ide-scsi usb-storage alias eth0 sis900 above snd-intel8x0 snd-pcm-oss alias sound-slot-0 snd-intel8x0 probeall usb-interface usb-ohci add options ide-cd "ignore=hdc" Lastly, I edited /etc/fstab to mount up the newly named drive: /dev/hda5 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 defaults 1 2 none /mnt/cdrw supermount dev=/dev/scd1,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0 /dev/hda1 /mnt/winxp ntfs iocharset=iso8859-1,ro,umask=0 0 0 /dev/hdb1 /mnt/win98 vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/sda1 /mnt/usbdrive vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 I reboot and by watching the kernel message ring buffer (dmesg command), all four drives come up without error during boot. The command "cdrecord -scanbus" also reports both up and properly identified. SiS735 ATA 100 controller ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc hda: IC35L040AVVN07-0, ATA DISK drive hdb: WDC AC33200L, ATA DISK drive blk: queue c03cb420, I/O limit 4095Mb (mask 0xffffffff) blk: queue c03cb55c, I/O limit 4095Mb (mask 0xffffffff) hdc: GCR-8521B, ATAPI CD/DVD-ROM drive hdd: Hewlett-Packard CD-Writer Plus 9100b, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling Using libscg version 'schily-0.7' scsibus0: 0,0,0 0) 'LEXAR ' 'DIGITAL FILM ' '/W1.' Removable Disk 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'HL-DT-ST' 'CD-ROM GCR-8521B' '1.00' Removable CD-ROM 1,1,0 101) 'HP ' 'CD-Writer+ 9100b' '1.06' 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) * When I access the CDRW (hdd), everything looks fine (using dmesg again): UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0 UDF-fs DEBUG super.c:1426:udf_read_super: Multi-session=0 UDF-fs DEBUG super.c:415:udf_vrs: Starting at sector 16 (2048 byte sectors) UDF-fs DEBUG super.c:442:udf_vrs: ISO9660 Primary Volume Descriptor found UDF-fs DEBUG super.c:445:udf_vrs: ISO9660 Supplementary Volume Descriptor found UDF-fs DEBUG super.c:451:udf_vrs: ISO9660 Volume Descriptor Set Terminator found UDF-fs: No VRS found ISO 9660 Extensions: Microsoft Joliet Level 3 ISOFS: changing to secondary root But when I access the CDROM (hdc), things go haywire: UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0 UDF-fs DEBUG super.c:1426:udf_read_super: Multi-session=0 UDF-fs DEBUG super.c:415:udf_vrs: Starting at sector 16 (2048 byte sectors) ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: [[ 28 0 0 0 0 10 0 0 1 0 0 0 ] ] ide-scsi: expected 2048 got 4096 limit 2048 ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: [[ 28 0 0 0 0 11 0 0 1 0 0 0 ] ] ide-scsi: expected 2048 got 4096 limit 2048 UDF-fs: No VRS found ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: [[ 28 0 0 0 0 10 0 0 1 0 0 0 ] ] ....several pages of similar, ending with... ide-scsi: expected 2048 got 4096 limit 2048 Unable to identify CD-ROM format. MSDOS FS: IO charset iso8859-1 MSDOS FS: Using codepage 850 ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: [[ 28 0 0 0 0 0 0 0 1 0 0 0 ] ] ide-scsi: expected 2048 got 4096 limit 2048 FAT: bogus cluster size 0 VFS: Can't find a valid FAT filesystem on dev 0b:00. FAT: freeing iocharset=iso8859-1 MSDOS FS: IO charset iso8859-1 MSDOS FS: Using codepage 850 ide-scsi: The scsi wants to send us more data than expected - discarding data ide-scsi: [[ 28 0 0 0 0 0 0 0 1 0 0 0 ] ] ide-scsi: expected 2048 got 4096 limit 2048 FAT: bogus logical sector size 207 VFS: Can't find a valid FAT filesystem on dev 0b:00. Help... |