DVD or kernel issue?

Discussion in 'PC Technical Talk' started by Andy Botterill, Sep 2, 2008.

  1. When I auto-mount a film DVD I get the following error messages.

    DF-fs: Partition marked readonly; forcing readonly mount
    UDF-fs INFO UDF: Mounting volume 'SERENITY', timestamp 2005/11/29 12:00
    (103c)
    SELinux: initialized (dev sr0, type udf), uses genfs_contexts
    end_request: I/O error, dev sr0, sector 401668
    Buffer I/O error on device sr0, logical block 100417
    Buffer I/O error on device sr0, logical block 100418
    Buffer I/O error on device sr0, logical block 100419
    Buffer I/O error on device sr0, logical block 100420
    Buffer I/O error on device sr0, logical block 100421
    Buffer I/O error on device sr0, logical block 100422
    Buffer I/O error on device sr0, logical block 100423
    Buffer I/O error on device sr0, logical block 100424
    Buffer I/O error on device sr0, logical block 100425
    Buffer I/O error on device sr0, logical block 100426
    end_request: I/O error, dev sr0, sector 401924
    end_request: I/O error, dev sr0, sector 401740

    DVDROM 5G (size) work OK.
    DVDROM 9G (size) is a bit hit and miss. 2 DVD's work 2 DVD'd don't. See
    the above error message.

    The whole system is only a few months old so I can't believe that the
    DVD rewriter is bad. I am using fedora 8. Both hard disks and DVD are
    SATA devices.

    I have not exhaustiveley checked all of my movie DVD's.

    There is quite a few web pages that report these sort of issues and say
    turning on/off DMA or slowing DMA down helps.

    I have tried the following kernel boot options changes:-
    combined_mode=libdata
    combined_mode=ide
    These changes did not change the problem. Although the last one whould
    mean that I mount the CDROM using IDE disk methods. I don't know how to
    make a hard disk block file.

    Another DMA option that I tried
    libdata.dma=1
    This was not recognised by the kernel.

    The following dmesg implied that I am using SATA and SCSI methods to
    access the same DVD drive

    ata1: SATA max UDMA/133 abar [email protected] port 0xe3104100 irq 18
    ata2: SATA max UDMA/133 abar [email protected] port 0xe3104180 irq 18
    ata3: SATA max UDMA/133 abar [email protected] port 0xe3104200 irq 18
    ata4: SATA max UDMA/133 abar [email protected] port 0xe3104280 irq 18
    ata5: SATA max UDMA/133 abar [email protected] port 0xe3104300 irq 18
    ata6: SATA max UDMA/133 abar [email protected] port 0xe3104380 irq 18
    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata1.00: ATAPI: ATAPI DVD A DH16A1L, KH39, max UDMA/100
    ata1.00: configured for UDMA/100
    ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata2.00: ATA-8: ST3500320AS, SD15, max UDMA/133
    ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata2.00: configured for UDMA/133
    ata3: SATA link down (SStatus 0 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata4.00: ATA-7: ST3500630AS, 3.CHN, max UDMA/100
    ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata4.00: configured for UDMA/100
    ata5: SATA link down (SStatus 0 SControl 300)
    ata6: SATA link down (SStatus 0 SControl 300)
    scsi 0:0:0:0: CD-ROM ATAPI DVD A DH16A1L KH39 PQ: 0 ANSI: 5

    My questions are.

    Am I using two different protocols to access the same hardware e.g. SATA
    and SCSI?

    Should I try slowing down the DMA speed from UDMA/133 to some other
    number. I'm not sure how to this you'll have to give me some hints.

    Is this a potential kernel issue? I have seen some websites suggesting this.

    Should I change the SATA cable or SATA DVD instrument?

    I do know that there is the newgroup demon.tech.unix . Looking at google
    I cannot see any posts since 2002. There is nothing on the gradwell news
    server. I subsribed and have not seen any articles at all.

    If there is a better newsgroup please let me know. Thanks for all
    advice. Andy
     
    Andy Botterill, Sep 2, 2008
    #1
    1. Advertisements

  2. Andy Botterill

    Tony Wright Guest

    This suggests it is configuring it as UDMA 100
    This suggests that it is not finding any SCSI devices.

    I don't know the answer to your question but...
    demon.tech.unix has been inactive for some time though I still sub it --
    a more vibrant *ix group with some knowledgeable people is
    uk.comp.os.linux
     
    Tony Wright, Sep 2, 2008
    #2
    1. Advertisements

  3. Will try uk.comp.os.linux, Thanks for the suggestion. Andy
     
    Andy Botterill, Sep 3, 2008
    #3
  4. Suggests that the drive has trouble changing layers (i.e. a hardware
    problem). If the error appears once or twice and the drive successfully
    changes layers and is error-free thereafterI wouldn't worry about it.
    I can. There's an awful lot of cheap junk out there.
    That's not how I interpret it (mind you, it's 2am.) CD/DVD drives talk
    ATAPI, so this is being invoked for your DVD drive:
    this is a hard drive, which doesn't talk ATAPI:
    as is this:
    SCSI emulation is invoked for the DVD drive (the SCSI and ATAPI
    protocols are similar). This is why it's referred to as /dev/sr0:
    Yes, but it's not a problem.
    I doubt it.
    Personally, I'd try another DVD drive first.
    uk.comp.os.linux
     
    Mike Tomlinson, Sep 7, 2008
    #4
  5. I interpreted it as Bus 0, Channel 0, Target 0, Lun 0 - i.e. the first
    SCSI device, and the initial posting indicates that it is successfully
    addressable as /dev/sr0.

    Prepared to be wrong though (I usually am :)
     
    Mike Tomlinson, Sep 7, 2008
    #5

  6. I interpreted it as Bus 0, Channel 0, Target 0, Lun 0 - i.e. the first
    SCSI device, and the initial posting indicates that it is successfully
    addressable as /dev/sr0.

    Prepared to be wrong though (I usually am :)
    [/QUOTE]
    Oops once I installed libdvdcss everything worked OK. The knowledge was
    from uk.comp.os.linux. Thanks to everybody. Andy
     
    Andy Botterill, Sep 7, 2008
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.