[Bug 278533] New: Installation fails when pata_ali driver cannnot detect cd/dvd drive
https://bugzilla.novell.com/show_bug.cgi?id=278533 Summary: Installation fails when pata_ali driver cannnot detect cd/dvd drive Product: openSUSE 10.3 Version: Alpha 4 Platform: i586 OS/Version: openSUSE 10.3 Status: NEW Severity: Critical Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: raffo@cdi.com QAContact: jsrain@novell.com I'm testing this alpah on a Sony vaio model PCG-FRV25. During boot, the IDE activation, the driver "pata_ali" is loaded, then I sart getting messages similar to the following in the console: ata2: port is slow to respond, please be patient (Status 0x0) ata2: port failed to respond (30 secs, Status 0xd0) ata2: soft resetting port ata2: EH After several tries, the driver gives up and I end up with an error message by the installer that it can't continue the installation, it cannot find the DVD drive. When I tested the Alpha1 release, I did not have this problem. However, instead of the installer loading "pata_ali", it loaded "alim_15x3". I've used the boot option "brokenmodules=pata_ali" at last and this time the Alpha4 installer tried the alim_15x3 driver. The DVD drive was detected successfully. At this time I'm in the middle of the installation. I'll post the installation logs after the installation is finished. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |teheo@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |raffo@cdi.com ------- Comment #1 from teheo@novell.com 2007-06-07 02:33 MST ------- PING. How did it go? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #2 from raffo@cdi.com 2007-06-10 11:00 MST ------- Created an attachment (id=145201) --> (https://bugzilla.novell.com/attachment.cgi?id=145201&action=view) Yast2 installation logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #3 from raffo@cdi.com 2007-06-10 11:00 MST ------- The installation completed successfully. Attached the installtion logs above. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #4 from teheo@novell.com 2007-06-10 23:24 MST ------- Thanks. Please post result of 'hwinfo --all' and /var/log/boot.msg. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #5 from raffo@cdi.com 2007-06-11 10:04 MST ------- Two files follow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #6 from raffo@cdi.com 2007-06-11 10:06 MST ------- Created an attachment (id=145362) --> (https://bugzilla.novell.com/attachment.cgi?id=145362&action=view) hwinfo --all -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #7 from raffo@cdi.com 2007-06-11 10:06 MST ------- Created an attachment (id=145363) --> (https://bugzilla.novell.com/attachment.cgi?id=145363&action=view) /var/log/boot.msg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #8 from teheo@novell.com 2007-06-11 22:27 MST ------- Thanks. It seems upstream pata_ali driver is broken. Can you be persuaded into building and testing vanilla kernel (2.6.22-rc4)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #9 from raffo@cdi.com 2007-06-12 10:59 MST ------- I can do that, it's been a while, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #10 from teheo@novell.com 2007-06-12 11:03 MST ------- Yeap, please do that. The same bug should be in 2.6.22-rc4. We can report this bug to linux-ide@vger.kernel.org and ask someone more familiar with the driver to take a look (Alan or Bart). Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #11 from raffo@cdi.com 2007-06-12 18:51 MST ------- I am compiling the kernel now. I'm not quite sure how to test this, though. I'm guessing you want me load the pata_ali driver before the alim15x3 driver. My initrd modules line looks like this: INITRD_MODULES="processor thermal alim15x3 fan jbd ext3 edd" I will create an initrd file with these modules: processor thermal pata_ali alim15x3 fan jbd ext3 edd. If you want me to try something different, let me know. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #12 from raffo@cdi.com 2007-06-12 20:44 MST ------- Took forever to compile. Similar error messages were observed when loading the pata_ali driver. However, it did get past them and booted all the way. I saved the /var/log/boot.msg file and will attach it shortly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #13 from raffo@cdi.com 2007-06-12 20:48 MST ------- Damn, downloaded 2.6.21 instead of 2.6.21-rc4. I'll try again tomorrow morning. I'll attach the boot log anyways, sorry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #14 from raffo@cdi.com 2007-06-12 20:50 MST ------- Created an attachment (id=145779) --> (https://bugzilla.novell.com/attachment.cgi?id=145779&action=view) Boot logs from vanilla kernel 2.6.21 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 raffo@cdi.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145779|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #15 from raffo@cdi.com 2007-06-13 08:03 MST ------- OK, I compiled 2.6.22-rc4. Right version, right release candidate number. It had trouble with the pata_ali driver, but finished the boot sequence. The DVD drive is not available. The boot.msg file follows. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 raffo@cdi.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145779|0 |1 is obsolete| | ------- Comment #16 from raffo@cdi.com 2007-06-13 08:14 MST ------- Created an attachment (id=145985) --> (https://bugzilla.novell.com/attachment.cgi?id=145985&action=view) Boot logs of 2.6.22-rc4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #17 from teheo@novell.com 2007-06-14 04:49 MST ------- Created an attachment (id=146256) --> (https://bugzilla.novell.com/attachment.cgi?id=146256&action=view) use-dma-only-for-rw Can you test the attached patch? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #18 from raffo@cdi.com 2007-06-14 15:01 MST ------- The patch made the driver skip whatever was causing the error messages. It booted all the way and seems have found the DVD drive. I'm attaching the boot.msg file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533 ------- Comment #19 from raffo@cdi.com 2007-06-14 15:03 MST ------- Created an attachment (id=146392) --> (https://bugzilla.novell.com/attachment.cgi?id=146392&action=view) Boot messages after applying the patch suggested. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c20
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c21
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c22
--- Comment #22 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c23
--- Comment #23 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c24
--- Comment #24 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c25
--- Comment #25 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c26
--- Comment #26 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c27
--- Comment #27 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c28
--- Comment #28 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c29
--- Comment #29 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c30
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533
Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c31
--- Comment #31 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c32
--- Comment #32 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c33
--- Comment #33 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c34
--- Comment #34 from Albert Lee
https://bugzilla.novell.com/show_bug.cgi?id=278533#c35
--- Comment #35 from Albert Lee
So, INQUERY of the QSI SBW-241 drive still fails under PIO.
Ah, I'm wrong. The INQUIRY here is 96-bytes so it's not PIO. Given previous "limit DMA to R/W only" works, maybe this drive requires the DMA_RW_ONLY horkage? This reminds of the TORiSAN drive problem, I will ask that bug submitter to test if TORiSAN works under "ATAPI DMA for multiple of 16-bytes" again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c36
--- Comment #36 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c37
--- Comment #37 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c38
--- Comment #38 from Albert Lee
https://bugzilla.novell.com/show_bug.cgi?id=278533#c39
--- Comment #39 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533
Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c40
--- Comment #40 from Albert Lee
From the boot log, the first INQUIRY was executed in PIO mode and successful. However, the second 96-bytes INQUIRY was executed in ATAPI DMA mode and failed. Looks like yet another piece of "designed for microsoft windows (tm) but not standard" hardware. Also, it seems Tejun's limit ATAPI DMA to multiple of 16-bytes doesn't catch them all. :(
I'm wondering whether the problem is in the ALi M5229 controller or the QSI SBW-241 drive? There is a previous report about M5229 ATAPI DMA problem by Andrey Borzenkov (http://marc.info/?l=linux-kernel&m=116500554505311&w=2). Maybe we can test the ALi M5229 controller with another known-to-be-good CD-ROM drive to see if this is the problem of M5229 or not. However, both your and Andrey are notebook computer and the CD-ROM drive is difficult to replace... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c41
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=278533#c42
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c43
--- Comment #43 from Albert Lee
https://bugzilla.novell.com/show_bug.cgi?id=278533#c44
--- Comment #44 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c45
--- Comment #45 from Albert Lee
... why the IDE driver works
Don't know. Maybe the ATAPI devices are configured to PIO?
if we're gonna implement check_atapi_dma() for ali, what condition should we check against?
I guess maybe we can use the same logic of pata_pdc2027x for pata_ali. The logic seems to be what the Windows atapi driver uses. And some hardware vendors design their hardware specifically for that logic... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c46
--- Comment #46 from Albert Lee
https://bugzilla.novell.com/show_bug.cgi?id=278533#c47
--- Comment #47 from Tejun Heo
... why the IDE driver works
Don't know. Maybe the ATAPI devices are configured to PIO?
It's actually configured to UDMA33. https://bugzilla.novell.com/attachment.cgi?id=145363
if we're gonna implement check_atapi_dma() for ali, what condition should we check against?
I guess maybe we can use the same logic of pata_pdc2027x for pata_ali. The logic seems to be what the Windows atapi driver uses. And some hardware vendors design their hardware specifically for that logic...
Hmmm... My memory of MMC is fading. When ripping a CD or writing one, does MMC use READ/WRITE commands? Or are there different dedicated commands? If we don't pay a lot of penalty for common cases, I think we better default to what windows defaults to. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c48
--- Comment #48 from Rafael Herrera
Rafael, are you up for more debugging patches?
Sure, I'll be installing beta1 later today. I'll apply the patch above and test. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c49
--- Comment #49 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c50
--- Comment #50 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c51
--- Comment #51 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c52
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=278533#c53
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c54
--- Comment #54 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c55
--- Comment #55 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c56
--- Comment #56 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c57
--- Comment #57 from Albert Lee
https://bugzilla.novell.com/show_bug.cgi?id=278533#c58
--- Comment #58 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c59
--- Comment #59 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c60
--- Comment #60 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c61
--- Comment #61 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c62
--- Comment #62 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c63
--- Comment #63 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c64
--- Comment #64 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c65
--- Comment #65 from Benjamin McCann
https://bugzilla.novell.com/show_bug.cgi?id=278533#c66
--- Comment #66 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c67
--- Comment #67 from Rafael Herrera
A correction Tejun gave me in Bug 229260. For install, you should use: options="libata=pata_dma=1"
I'm using the corrected option above with the gold master dvd. The boot sequence proceeded without error messages. The DVD drive was detected. It is installing the os at this time. I will report more after it finishes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533#c68
--- Comment #68 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c69
--- Comment #69 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c70
--- Comment #70 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c71
--- Comment #71 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533#c72
--- Comment #72 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c73
--- Comment #73 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=278533#c74
--- Comment #74 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533#c75
--- Comment #75 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533
User raffo@cdi.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c76
--- Comment #76 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533
User raffo@cdi.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c77
--- Comment #77 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c78
--- Comment #78 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533
User raffo@cdi.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c79
--- Comment #79 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533
User raffo@cdi.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c80
--- Comment #80 from Rafael Herrera
Created an attachment (id=187272) --> (https://bugzilla.novell.com/attachment.cgi?id=187272) [details] System log after trying to mount a data CD.
Needless to say, I cannot read the CD. With the "libata.pata_dma=1", I can access the CD and read its files. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=278533
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c81
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533
Harald Mueller-Ney
https://bugzilla.novell.com/show_bug.cgi?id=278533
User raffo@cdi.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c83
--- Comment #83 from Rafael Herrera
https://bugzilla.novell.com/show_bug.cgi?id=278533
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c84
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=278533
User teheo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=278533#c85
--- Comment #85 from Tejun Heo
participants (1)
-
bugzilla_noreply@novell.com