You are not logged in.

#1 2008-01-29 10:23:34

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Ata problems with new dvd drive. [SOLVED]

I just bought a new dvd-burner. At the first boot I noticed a lot of messages along the lines of:

ata2 exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen

and an extremely long boot time. 3 to 5 minutes. When finally booting in to system the drive seems very sluggish to mount. Should I disable sata and pata in mkinitcpio? Is my new hardware crap?

Its a Samsung Writemaster DVD-burner btw.

Last edited by Ashren (2008-01-29 22:27:44)

Offline

#2 2008-01-29 13:30:53

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Ata problems with new dvd drive. [SOLVED]


THX!!
cu matsche

Offline

#3 2008-01-29 14:10:35

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

I don't think so. I'll post some more info when I'm at home.

Offline

#4 2008-01-29 16:12:34

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Ata problems with new dvd drive. [SOLVED]

Please post dmesg and look at DMA data.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2008-01-29 17:55:07

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

Well, the drive was hanging a windows installation as well. Actually it seems that neither OS like this drive very much. I think I'm going to get it returned, way to much hassle for a dvd-burner.

Offline

#6 2008-01-29 18:04:52

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

Could this problem have something to do with that my computer is a Dell 8300 dimension?

Last edited by Ashren (2008-01-29 18:05:13)

Offline

#7 2008-01-29 18:54:13

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

ok, I got the drive to work in windows, had to move jumper to cable select. I still have the long boot, here's the dmesg:

ata_piix 0000:00:1f.1: version 2.12
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ffa0 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ffa8 irq 15
ata1.00: ATA-6: ST380011A, 3.16, max UDMA/100
ata1.00: 156250000 sectors, multi 8: LBA48 
ata1.00: configured for UDMA/100
ata2.00: ATAPI: TSSTcorpCD/DVDW SH-S182M, SB03, max UDMA/33
ata2.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      ST380011A        3.16 PQ: 0 ANSI: 5
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2: port is slow to respond, please be patient (Status 0xd0)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting port
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2: port is slow to respond, please be patient (Status 0xd0)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting port
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2: port is slow to respond, please be patient (Status 0xd0)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting port
ata2.00: configured for UDMA/33
ata2: EH complete
ata2.00: limiting speed to UDMA/25:PIO4
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x12 data 96 in
         res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata2: port is slow to respond, please be patient (Status 0xd0)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting port
ata2.00: configured for UDMA/25
ata2: EH complete
scsi scan: 96 byte inquiry failed.  Consider BLIST_INQUIRY_36 for this device
scsi 1:0:0:0: CD-ROM            TSSTcorp CD/DVDW SH-S182M SB03 PQ: 0 ANSI: 5

Any help is appreciated.

Offline

#8 2008-01-29 19:06:20

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Ata problems with new dvd drive. [SOLVED]

A quick google and this is what I've found:
http://www.linuxquestions.org/questions … me-591276/
Apparently the solution is to boot with "pci=nomsi"...  Maybe it'll help.

Offline

#9 2008-01-29 19:46:09

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

That didn't work. Thanks for tip anyway.

Offline

#10 2008-01-29 20:24:21

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: Ata problems with new dvd drive. [SOLVED]

Hmmm...I had hopes for the NOMSI parameter, also.

I had virtually identical error messages with an IDE HD (120GB WD Cavier) a couple of months or so ago (and I was getting kernel panics; dead in the water). No Windows here, but it happened with both Arch i686 and x86_64. The reason for my comment above is that fwojciec's link eventually leads to a page where the problem was on an Asus mobo, as am I (and a similar model).

In MY desperation, I started to question the IDE controller. I have a spare Silicon Image Medley 0680 (PCI IDE controller), so I plugged it in, and connected the drive to it. Worked like a charm. I reinstalled Arch x86_64 with RAID1.

FWIW, the drive went into 'click of death' mode about 2-3 weeks later (thankfully I was running Software RAID1), which of course is not relevant here. But I'm following this thread - I'd like to get RAID back!

Offline

#11 2008-01-29 20:40:08

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

Do you have an idea where the problem could lie?

Here's my lspci -v:

00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
    Subsystem: Dell Unknown device 0157
    Flags: bus master, fast devsel, latency 0
    Memory at e8000000 (32-bit, prefetchable) [size=128M]
    Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, 66MHz, fast devsel, latency 64
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
    Memory behind bridge: fd000000-feafffff
    Prefetchable memory behind bridge: f0000000-f7ffffff

00:06.0 System peripheral: Intel Corporation 82875P/E7210 Processor to I/O Memory Interface (rev 02)
    Flags: fast devsel
    Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]

00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 19
    I/O ports at ff80 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 20
    I/O ports at ff60 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 16
    I/O ports at ff40 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 19
    I/O ports at ff20 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 21
    Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: fcf00000-fcffffff

00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
    Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 16
    I/O ports at 01f0 [size=8]
    I/O ports at 03f4 [size=1]
    I/O ports at 0170 [size=8]
    I/O ports at 0374 [size=1]
    I/O ports at ffa0 [size=16]
    Memory at febffc00 (32-bit, non-prefetchable) [size=1K]

00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
    Subsystem: Dell Unknown device 0157
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 16
    I/O ports at fe00 [size=8]
    I/O ports at fe10 [size=4]
    I/O ports at fe20 [size=8]
    I/O ports at fe30 [size=4]
    I/O ports at fea0 [size=16]

00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
    Subsystem: Dell Unknown device 0157
    Flags: medium devsel, IRQ 18
    I/O ports at eda0 [size=32]

00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 0, IRQ 18
    I/O ports at ee00 [size=256]
    I/O ports at edc0 [size=64]
    Memory at febffa00 (32-bit, non-prefetchable) [size=512]
    Memory at febff900 (32-bit, non-prefetchable) [size=256]
    Capabilities: <access denied>

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: nVidia Corporation Unknown device 01b9
    Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 19
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at f0000000 (32-bit, prefetchable) [size=128M]
    [virtual] Expansion ROM at fea00000 [disabled] [size=128K]
    Capabilities: <access denied>

02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
    Subsystem: Dell Unknown device 0157
    Flags: bus master, medium devsel, latency 64, IRQ 17
    Memory at fcfff000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at df40 [size=64]
    Capabilities: <access denied>

Perhaps some sort of interrupt (IRQ) issue?

Last edited by Ashren (2008-01-29 20:42:25)

Offline

#12 2008-01-29 21:06:51

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Ata problems with new dvd drive. [SOLVED]

The problem you report seems related to the following post which shows similar loss of dma in dmesg.

The post is :  http://bbs.archlinux.org/viewtopic.php?id=42512

This seems to be derived from the ata, libata module......

A solution was reported...


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#13 2008-01-29 21:55:14

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

Thanks lilsirecho...

So let me get this straight. I remove sata and pata from the hooks, and insert ide.

I don't have an ali chipset, so which modules should I use?

Then I change my menu.lst and fstab entries from sd* to hd*.

Then I do a mkinitcpio -g  /boot/kernel26.img

and then reboot

Last edited by Ashren (2008-01-29 21:55:24)

Offline

#14 2008-01-29 21:59:09

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: Ata problems with new dvd drive. [SOLVED]

Rerun 'lspci -v' as root; you'll get behind all those "access denied"s.

Well, I see a lot that looks odd. I'm comparing mine to yours, but I'm using a VIA chipset-based mobo and an AMD CPU, so we're far from apples to apples here.

What are all those "Dell Unknown Device"s? I only had 2 (relevant) "Unknown devices": my (inbuilt) ethernet, and a PCI sound card.

I don't know your motherboard (or chipset), but an IRQ conflict (which I thought didn't happen anymore) could possibly be a problem. Shared IRQ's is one thing, but the only IRQ's I see used are 16-21 inclusive, and buy my count at least 3 devices are assigned to 16, and to 19 (I'm NO expert on shared IRQs; they befuddle me). The first three my system assigns are 0, 2, and 9. What are your Plug-and-Play settings in BIOS? Are some IRQs reserved? (like 0-12, or something)? I see no IRQs below 12 mentioned.

Interesting that you're getting error -16's. I have a still-non-functional sound card that gives me that every bootup.

See what your BIOS Plug-and-Play and IRQ assignment method is, and re-run the lspci -v from root and see if anything interesting shows up.

What brand is the DVD? I find it weird that it worked in Windows strapped for cable select.

Lastly, do you have another system (NOT a Dell) you could put it in to see if it works there?

You may have a good point about just returning it.

Offline

#15 2008-01-29 22:04:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Ata problems with new dvd drive. [SOLVED]

I have no further info except to suggest that the Intel IDE chip should probably be correct.

I find problems in my IDE interface due to libata but cannot fix them with my system since it is a "Live" install via IDE and cannot be modified AFAICT.

I have no further recommends.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#16 2008-01-29 22:09:26

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

The cable select thing is dell specific - I couldn't derive any explanation from the dell forum threads. Believe me I would never have bought a dell, somebody threw out this one I have (my guess is that it was because the cd-rom wouldn't open) - so I thought that I might as well put it to good use. It's actually pretty snappy compared to what I'm used to. (OT: Another annoyance about the hardware in this dell, is that there are NO sensors!! So, no cpu temp etc. wtf!)

You're right about the 3 devices assigned to 16.. a bit freaky... hmm..

I'll try out the ide solution.

This is my only system right now.

Offline

#17 2008-01-29 22:23:23

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

Huuurraaaay! The IDE solution worked!

http://bbs.archlinux.org/viewtopic.php?id=42512

Last edited by Ashren (2008-01-29 22:27:17)

Offline

#18 2008-01-29 22:31:18

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Ata problems with new dvd drive. [SOLVED]

Mark your post as solved!  Congrats!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#19 2008-01-29 22:36:50

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

Done and thanks for pointing it out!

The modules I added for my specific system was ide_disk and piix.

Offline

#20 2008-01-29 22:40:36

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Ata problems with new dvd drive. [SOLVED]

Nicely done!  I also noted on the internet that some firmware in DVD devices is not compatible with normal recent kernel Linux boots.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#21 2008-01-29 23:23:10

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: Ata problems with new dvd drive. [SOLVED]

Sorry I wasn't more help, Ashren, but alls well that ends well. 12 hrs - not bad!

Offline

#22 2008-01-30 07:05:13

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Ata problems with new dvd drive. [SOLVED]

for those with issues, it would help me more to get a hwdetect --show-modules to actually see which module is broken

Offline

#23 2008-01-30 07:37:09

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Ata problems with new dvd drive. [SOLVED]

tpowa, I'll post a hwdetect --show-modules (with the problematic setup of course) here monday or should I post it elsewhere?

Last edited by Ashren (2008-01-30 07:39:12)

Offline

Board footer

Powered by FluxBB