[opensuse] DVD and mount failure 10.3
Hi all: I had to upgrade 10.2 to 10.3 from an iso image stored on a local drive since the installer would lose the dvd after the initial load. The upgrade went smoothly after removing some non-official packages. When the installation finished I realized that the dvd units were not longer accessible. Actually when introducing a DVO/VD in the drive, the HAL daemon reports "mount: block device /dev/sr1 is write-protected, mounting read-only. mount: Not a directory". Mounting from the shell gives the same error message: rleal@linux:~> sudo mount -t iso9660 /dev/sr1 /media/dvdram2 mount: block device /dev/sr1 is write-protected, mounting read-only mount: Not a directory I don't think it's a matter or permissions: rleal@linux:~> ls -l /dev/sr* brw-rw----+ 1 root disk 11, 0 2007-10-07 13:40 /dev/sr0 brw-rw----+ 1 root disk 11, 1 2007-10-07 13:40 /dev/sr1 dmesg indicates: sr 0:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK sr 0:0:1:0: [sr1] Sense Key : Hardware Error [current] sr 0:0:1:0: [sr1] Add. Sense: Logical unit communication CRC error (Ultra-DMA/32) end_request: I/O error, dev sr1, sector 72 When booting opensuse using the previous version of the kernel (2.6.19 vanilla, compiled in 10.2 with gcc4.1) both of my dvd drives are recognized and work (at least I can read from them). The devices are 2 LG RW DVD drives: <6>ata1.00: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.00, max UDMA/66 <6>ata1.01: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.00, max UDMA/66 Questions: - is this a bug in the current version of the kernel? - do I need to I load a disk controller for them? (if so, where and how?) - do I have to recompile the kernel adding new drivers for these units? (hope not, but if so which ones?) Further, I cannot add a local iso image from yast as a repo. The error message is "unable to create repository from URL 'iso:/?iso=openSUSE-10.3-GM-DVD-x86_64.iso&url=file:///home/rleal/' Error trying to read from iso:////?iso=openSUSE-10.3-GM-DVD-x86_64.iso&url=file:///home/rleal/ History: - Failed to mount /home/rleal/openSUSE-10.3-GM-DVD-x86_64.iso on /var/adm/mount/AP_0x00000004d: Unable to verify that the media was mounted. Try again?" The workaround was to mount the image manually and add the repo as a local directory. Any other suggestions? Cheers, r.- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I actually solved the issue by doing a system update but parsing brokenmodules=pata_amd as a kernel option (mobo is a ASUS M2NPV-VM, mounting two HL-DT-STDVD-RAM LG GSA-H22N). I suspect it now loads an older version of the pata_amd module that is compatible with my hw. Now the dvd drives are again listed as /dev/hd* (as in 10.2, in opposite to /dev/sr* in the 10.3). Question: is this a kernel or suse bug, worth to be reported? Cheers, r.- Ricardo Sánchez wrote:
Hi all:
I had to upgrade 10.2 to 10.3 from an iso image stored on a local drive since the installer would lose the dvd after the initial load. The upgrade went smoothly after removing some non-official packages.
When the installation finished I realized that the dvd units were not longer accessible. Actually when introducing a DVO/VD in the drive, the HAL daemon reports "mount: block device /dev/sr1 is write-protected, mounting read-only. mount: Not a directory".
Mounting from the shell gives the same error message:
rleal@linux:~> sudo mount -t iso9660 /dev/sr1 /media/dvdram2 mount: block device /dev/sr1 is write-protected, mounting read-only mount: Not a directory
I don't think it's a matter or permissions:
rleal@linux:~> ls -l /dev/sr* brw-rw----+ 1 root disk 11, 0 2007-10-07 13:40 /dev/sr0 brw-rw----+ 1 root disk 11, 1 2007-10-07 13:40 /dev/sr1
dmesg indicates:
sr 0:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK sr 0:0:1:0: [sr1] Sense Key : Hardware Error [current] sr 0:0:1:0: [sr1] Add. Sense: Logical unit communication CRC error (Ultra-DMA/32) end_request: I/O error, dev sr1, sector 72
When booting opensuse using the previous version of the kernel (2.6.19 vanilla, compiled in 10.2 with gcc4.1) both of my dvd drives are recognized and work (at least I can read from them).
The devices are 2 LG RW DVD drives: <6>ata1.00: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.00, max UDMA/66 <6>ata1.01: ATAPI: HL-DT-STDVD-RAM GSA-H22N, 1.00, max UDMA/66
Questions: - is this a bug in the current version of the kernel? - do I need to I load a disk controller for them? (if so, where and how?) - do I have to recompile the kernel adding new drivers for these units? (hope not, but if so which ones?)
Further, I cannot add a local iso image from yast as a repo. The error message is
"unable to create repository from URL 'iso:/?iso=openSUSE-10.3-GM-DVD-x86_64.iso&url=file:///home/rleal/' Error trying to read from iso:////?iso=openSUSE-10.3-GM-DVD-x86_64.iso&url=file:///home/rleal/
History: - Failed to mount /home/rleal/openSUSE-10.3-GM-DVD-x86_64.iso on /var/adm/mount/AP_0x00000004d: Unable to verify that the media was mounted. Try again?"
The workaround was to mount the image manually and add the repo as a local directory.
Any other suggestions?
Cheers,
r.-
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 09 October 2007 10:01:20 am Ricardo Sánchez wrote:
I actually solved the issue by doing a system update but parsing brokenmodules=pata_amd as a kernel option (mobo is a ASUS M2NPV-VM, mounting two HL-DT-STDVD-RAM LG GSA-H22N). I suspect it now loads an older version of the pata_amd module that is compatible with my hw. Now the dvd drives are again listed as /dev/hd* (as in 10.2, in opposite to /dev/sr* in the 10.3).
Question: is this a kernel or suse bug, worth to be reported?
Cheers,
If in doubt report it. There is better chance that competent folk will see the problem. The worst thing that can happen is that it will be marked as duplicate of some existing bug that is already processed. I looked for reports with only selection 'openSUSE - 10.3 - kernel' and here is the list: https://bugzilla.novell.com/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=fulltext&long_desc=&classification=openSUSE&product=openSUSE+10.3&component=Kernel&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=anywords&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Rajko M.
-
Ricardo Sánchez