From: edson on 15 Jul 2007 17:43 Greetings. This is not an urgent request for help since I will be upgrading to kernel 2.6 sometime soon, but if some of you kind experts have a look at my diagnostics it might be apparent what my problem is. My setup is slackware 10.1 with kernel 2.4.31 I recently activated ide-scsi to use cdrecord. Now I can burn CDs but I can't mount the CD for reading! My drives are: Two scsi hard discs on an Adaptec card. One IDE CD/DVD writer using ide-scsi (Empirex 16x DVD writer) One SATA drive plugged in but not configured yet. My changes were the addition of these two lines to /etc/modules.conf: options ide-cd ignore='hdb' options scsi and this line to /etc/lilo.conf: append="hdb=ide-scsi" Before that I was able to mount the CD using mount -t iso9660 /dev/hdb /mnt/cdrom I have tried a few variations like mount -t iso9660 /dev/scd0 /mnt/cdrom but without success. This command works to burn a CD root(a)jim:~# cdrecord -v -eject speed=8 dev=1,0,0 /mnt/sda2/temp/backup.iso Here are some diagnostics: root(a)jim:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb2 3244560 2683412 393672 88% / /dev/sda1 2236644 2148768 87876 97% /c /dev/sdb1 1106272 777672 328600 71% /mnt/jobs /dev/sda2 6348824 4359652 1666668 73% /mnt/sda2 /dev/fd0 1424 1423 1 100% /mnt/floppy root(a)jim:~# root(a)jim:~# ls -la /dev/cdrom lrwxrwxrwx 1 root root 8 Jan 1 2005 /dev/cdrom -> /dev/hdb root(a)jim:~# root(a)jim:~# cat /etc/fstab /dev/sdb2 / ext3 defaults 1 1 /dev/sda1 /c vfat defaults 1 1 /dev/sdb1 /mnt/jobs vfat defaults 1 0 /dev/sda2 /mnt/sda2 ext2 defaults 1 0 /dev/sda3 none swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 root(a)jim:~# root(a)jim:~# mount -t iso9660 /dev/hdb /mnt/cdrom mount: wrong fs type, bad option, bad superblock on /dev/hdb, missing codepage or other error (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) In some cases useful info is found in syslog - try dmesg | tail or so root(a)jim:~# root(a)jim:~# cdrecord -scanbus Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling Linux sg driver version: 3.1.25 Using libscg version 'schily-0.7' scsibus0: 0,0,0 0) * 0,1,0 1) 'IBM ' 'DNES-309170W ' 'SAH0' Disk 0,2,0 2) 'IBM ' 'DDRS-34560W ' 'S97B' Disk 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) 'DVDRW ' 'IDE H16X ' 'B02P' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * scsibus2: 2,0,0 200) 'ATA ' 'WDC WD2000JD-22H' '08.0' Disk 2,1,0 201) * 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * root(a)jim:~# root(a)jim:~# lsmod Module Size Used by Tainted: P sata_nv 2672 0 libata 27892 0 [sata_nv] nvsound 1255296 0 (unused) soundcore 3300 2 [nvsound] nvidia 6427616 13 nvnet 57280 1 ide-scsi 9392 0 root(a)jim:~# root(a)jim:~# cat /etc/lilo.conf # LILO configuration file # generated by 'liloconfig' # # Start LILO global section boot = /dev/sda1 #compact # faster, but won't work on all systems. delay = 300 # Normal VGA console vga = normal # VESA framebuffer console @ 1024x768x64k # vga=791 # VESA framebuffer console @ 1024x768x32k # vga=790 # VESA framebuffer console @ 1024x768x256 # vga=773 # VESA framebuffer console @ 800x600x64k # vga=788 # VESA framebuffer console @ 800x600x32k # vga=787 # VESA framebuffer console @ 800x600x256 # vga=771 # VESA framebuffer console @ 640x480x64k # vga=785 # VESA framebuffer console @ 640x480x32k # vga=784 # VESA framebuffer console @ 640x480x256 # vga=769 # ramdisk = 0 # paranoia setting # End LILO global section # Linux bootable partition config begins image = /boot/bzImage6 root = /dev/sdb2 label = linux6 read-only # Non-UMSDOS filesystems should be mounted read-only for checking append="hdb=ide-scsi" # Linux bootable partition config ends # DOS bootable partition config begins other = /dev/sda1 label = win98 table = /dev/sda # DOS bootable partition config ends root(a)jim:~# root(a)jim:~# cat /etc/modules.conf alias eth0 nvnet alias forcedeth off options ide-cd ignore='hdb' options scsi root(a)jim:~# Here is a section from my kernel config. # # ATA/IDE/MFM/RLL support # CONFIG_IDE=y # # IDE, ATA and ATAPI Block devices # CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set # CONFIG_BLK_DEV_HD is not set # CONFIG_BLK_DEV_IDE_SATA is not set CONFIG_BLK_DEV_IDEDISK=y # CONFIG_IDEDISK_MULTI_MODE is not set # CONFIG_IDEDISK_STROKE is not set CONFIG_BLK_DEV_IDECD=y # CONFIG_BLK_DEV_IDETAPE is not set CONFIG_BLK_DEV_IDEFLOPPY=y # CONFIG_BLK_DEV_IDESCSI is not set # CONFIG_IDE_TASK_IOCTL is not set # and this # # SCSI support # CONFIG_SCSI=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_SD_EXTRA_DEVS=40 # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set # CONFIG_BLK_DEV_SR is not set CONFIG_CHR_DEV_SG=y # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_DEBUG_QUEUES=y # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # # SCSI low-level drivers # # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AHA1740 is not set CONFIG_SCSI_AIC7XXX=y CONFIG_AIC7XXX_CMDS_PER_DEVICE=8 CONFIG_AIC7XXX_RESET_DELAY_MS=15000 # CONFIG_AIC7XXX_PROBE_EISA_VL is not set # CONFIG_AIC7XXX_BUILD_FIRMWARE is not set # CONFIG_AIC7XXX_DEBUG_ENABLE is not set CONFIG_AIC7XXX_DEBUG_MASK=0 # CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_DPT_I2O is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_AM53C974 is not set # CONFIG_SCSI_MEGARAID is not set CONFIG_SCSI_MEGARAID2=m CONFIG_SCSI_SATA=y CONFIG_SCSI_ATA_PIIX=m CONFIG_SCSI_SATA_QSTOR=m # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_CPQFCTS is not set End of diagnostics.
From: Ben Bacarisse on 15 Jul 2007 18:12 edson <edson(a)eircom.net> writes: > Greetings. > > My setup is slackware 10.1 with kernel 2.4.31 > > I recently activated ide-scsi to use cdrecord. Now I can burn CDs but > I can't mount the CD for reading! > > This command works to burn a CD > > root(a)jim:~# cdrecord -v -eject speed=8 dev=1,0,0 /mnt/sda2/temp/backup.iso Have you verified the ISO image by mounting using a loop device: mount -o loop /mnt/sda2/temp/backup.iso /mnt/somedir and inspecting /mnt/somedir? I remember using -dao for cdrecord of ISO images but I don't recall if it is required. -- Ben.
From: edson on 15 Jul 2007 18:13 Ben Bacarisse wrote: > edson <edson(a)eircom.net> writes: > > >>Greetings. >> >>My setup is slackware 10.1 with kernel 2.4.31 >> >>I recently activated ide-scsi to use cdrecord. Now I can burn CDs but >>I can't mount the CD for reading! >> >>This command works to burn a CD >> >>root(a)jim:~# cdrecord -v -eject speed=8 dev=1,0,0 /mnt/sda2/temp/backup.iso > > > Have you verified the ISO image by mounting using a loop device: > > mount -o loop /mnt/sda2/temp/backup.iso /mnt/somedir > > and inspecting /mnt/somedir? I remember using -dao for cdrecord of ISO > images but I don't recall if it is required. > Yes my iso mounts fine. I have tried mounting some known good CDs to no avail.
From: Nemo on 16 Jul 2007 05:40 Paul Martin wrote: > You shouldn't need to use ide-scsi with recent kernels. However the OP did state that he was using the earlier kernel which does need "hdb=ide-scsi". >> My setup is slackware 10.1 with kernel 2.4.31 Slackware 12, I understand, will have a 2.6(.21.5) kernel. Which if the OP installs that should solve that problem. There is for specific Slackware questions, alt.os.linux.slackware, and a UK, (although it has a world wide membership), mailing list, here, https://mailman.lug.org.uk/mailman/listinfo/slackware -- Nemo "Feather-footed through the plashy fen passes the questing vole."
From: edson on 16 Jul 2007 05:36 Paul Martin wrote: > In article <OCwmi.20873$j7.378810(a)news.indigo.ie>, > edson wrote: > > >>root(a)jim:~# mount -t iso9660 /dev/hdb /mnt/cdrom >>mount: wrong fs type, bad option, bad superblock on /dev/hdb, >> missing codepage or other error >> (could this be the IDE device where you in fact use >> ide-scsi so that sr0 or sda or so is needed?) >> In some cases useful info is found in syslog - try >> dmesg | tail or so > > > Read the error message. /dev/sr0 is what you want. > > You shouldn't need to use ide-scsi with recent kernels. > Hi. I had tried it. Here it is again plus a few more guesses. Can you glean anything from the dmesg query? Regards. root(a)jim:~# mount -t iso9660 /dev/sr0 /mnt/cdrom mount: /dev/sr0 is not a valid block device root(a)jim:~# mount -t iso9660 /dev/sr1 /mnt/cdrom mount: /dev/sr1 is not a valid block device root(a)jim:~# root(a)jim:~# mount -t iso9660 /dev/sdc /mnt/cdrom mount: wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so root(a)jim:~# root(a)jim:~# dmesg | tail isofs_read_super: bread failed, dev=03:40, iso_blknum=16, block=32 spurious 8259A interrupt: IRQ7. ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A ide-scsi: hdb: unsupported command in request queue (0) end_request: I/O error, dev 03:40 (hdb), sector 64 isofs_read_super: bread failed, dev=03:40, iso_blknum=16, block=32 Unable to identify CD-ROM format. Unable to identify CD-ROM format. Unable to identify CD-ROM format. root(a)jim:~#
|
Pages: 1 Prev: NatWest card reader Next: Missing window title bars in openSUSE 10.3 |