Bug 359213 - MODE_SENSE - libata : SCSI-device (DVD) is not working from this release of openSUSE
Summary: MODE_SENSE - libata : SCSI-device (DVD) is not working from this release of o...
Status: RESOLVED DUPLICATE of bug 278533
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Final
Hardware: x86 openSUSE 10.3
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Tejun Heo
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 15:02 UTC by Joris Spekreijse
Modified: 2008-02-09 19:53 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joris Spekreijse 2008-02-06 15:02:20 UTC
As follow up from https://bugzilla.novell.com/show_bug.cgi?id=340126

My DVD-recorder is not working woth 10.3 and the boot up time is longer than openSUSE 10.2 due the fact it "hangs" by the libata section.
The older versions of openSUSE/SuSE have no problems.

Linux flappie2 2.6.22.16-0.2-default #1 SMP 2008/02/01 19:36:55 UTC i686 athlon i386 GNU/Linux

bootlog.msg
<6>scsi0 : pata_ali
<6>scsi1 : pata_ali
<6>ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001d400 irq 14
<6>ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001d408 irq 15
<6>ata1.00: ATA-7: Maxtor 6Y120P0, YAR41BW0, max UDMA/133
<6>ata1.00: 240121728 sectors, multi 16: LBA
<6>ata1.00: configured for UDMA/100
<6>ata2.00: ATAPI: _NEC DVD_RW ND-3540A, 1.01, max UDMA/33
<6>ata2.00: configured for UDMA/33
<5>scsi 0:0:0:0: Direct-Access     ATA      Maxtor 6Y120P0   YAR4 PQ: 0 ANSI: 5
<3>ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
<3>ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
<4>         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
<6>ata2: soft resetting link
<6>ata2.00: configured for UDMA/33
<6>ata2: EH complete
<3>ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
<3>ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
<4>         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
<6>ata2: soft resetting link
<6>ata2.00: configured for UDMA/33
<6>ata2: EH complete
<3>ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
<3>ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
<4>         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
<6>ata2: soft resetting link
<6>ata2.00: configured for UDMA/33
<6>ata2: EH complete
<4>ata2.00: limiting speed to UDMA/25:PIO4
<3>ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
<3>ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
<4>         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
<6>ata2: soft resetting link
<6>ata2.00: configured for UDMA/25
<6>ata2: EH complete
<6>scsi scan: 96 byte inquiry failed.  Consider BLIST_INQUIRY_36 for this device
<5>scsi 1:0:0:0: CD-ROM            _NEC     DVD_RW ND-3540A  1.01 PQ: 0 ANSI: 5


========================================================================
hwinfo
47: SCSI 100.0: 10602 CD-ROM (DVD)
  [Created at block.237]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_5229_scsi_host_0_scsi_device_lun0_scsi_generic
  Unique ID: twPO.WUnT_LVaWR2
  Parent ID: 8otl.U41cBN+UXqA
  SysFS ID: /block/sr0
  SysFS BusID: 1:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:04.0/host1/target1:0:0/1:0:0:0
  Hardware Class: cdrom
  Model: "_NEC DVD_RW ND-3540A"
  Vendor: "_NEC"
  Device: "DVD_RW ND-3540A"
  Revision: "1.01"
  Driver: "pata_ali", "sr"
  Driver Modules: "pata_ali"
  Device File: /dev/sr0 (/dev/sg1)
  Device Files: /dev/sr0, /dev/scd0, /dev/disk/by-path/pci-0000:00:04.0-scsi-1:0:0:0, /dev/cdrom
  Device Number: block 11:0 (char 21:1)
  Features: DVD
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #18 (IDE interface)
  Drive Speed: 1


========================================================================
hdparm -I /dev/sr0

/dev/sr0:

ATAPI CD-ROM, with removable media
        Model Number:       _NEC DVD_RW ND-3540A
        Serial Number:
        Firmware Revision:  1.01
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 3ms.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(cannot be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 *udma1 udma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Comment 1 Tejun Heo 2008-02-08 00:20:36 UTC
Currently pata_ali driver has problem with ATAPI DMA commands.  You can work around by specifying "libata.pata_dma=1".  This will make the driver use PIO exclusively.  I have the affected hardware and have been trying to determine the difference between the old driver and the new one but I haven't succeeded yet.  There's another bug entry on this problem.  Marking this one as duplicate.  Can you please add yourself on cc list on bug 278533?

Thanks.

*** This bug has been marked as a duplicate of bug 278533 ***
Comment 2 Joris Spekreijse 2008-02-09 19:53:44 UTC
Thanks. 
Using libata.pata_dma=1 in the options of Grub fixed the problem.
Never edited GRUB since 9.0, YaST2 made it very easy this time :)