[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2012-02-08 Thread miles.sharpe
Hi guys, I am getting this problem in Maverick as well but find the
workaround of making /sda to /hda and all that goes with it beyond my
capabilities.  Has a fix been found yet please?

miles@P4:~$ sudo hdparm -d1 /dev/sda

/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device

Thanks
Miles

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/228302

Title:
  [HARDY-LUCID] No DMA nor 32bits IO support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/228302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2011-03-19 Thread Montblanc
Does this tweak still apply to Natty? I noticed some pata_ali messages
in the .38 linux branch, though I haven't had time to test it
thoroughly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/228302

Title:
  [HARDY-LUCID] No DMA nor 32bits IO support

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2011-03-18 Thread wayward4now
Sing-Tai Mok,
I just tried that with no joy.
wayward4now@iam:~$ sudo hdparm /dev/sr0
[sudo] password for wayward4now: 

/dev/sr0:
 multcount =  0 (off)
 IO_support=  1 (32-bit)
 readonly  =  0 (off)
 readahead = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device
wayward4now@iam:~$ 

...but it seems I am getting 32bit support. Is this as good as it gets?
Ric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/228302

Title:
  [HARDY-LUCID] No DMA nor 32bits IO support

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2011-03-18 Thread wayward4now
Sorry! My DVD audio is no longer choppy!!! Oh happy days and thanks! Ric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/228302

Title:
  [HARDY-LUCID] No DMA nor 32bits IO support

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2011-01-11 Thread Sing-Tai Mok
I encountered this issue with Ubuntu 10.04 and ASRock K8SLI-eSATA2 motherboard.
= http://www.asrock.com/mb/overview.asp?Model=K8SLI-eSATA2

The Kernel I'm using is = 2.6.32-27-generic-pae #49-Ubuntu SMP

I tried post #85's instructions, but it causes more problems than it
solves...

The DVD burner is connected to PATA connector (Primary - Master). HDD is
SATA

[0.368462] ata1.00: ATAPI: PIONEER DVD-RW  DVR-108, 1.20, max UDMA/66
[0.368488] ata1.00: configured for UDMA/66

An issue appears the first time...

[6.239211] ata1.00: qc timeout (cmd 0xa0)
[6.243553] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[6.243556] ata1.00: BMDMA stat 0x25
[6.243561] sr 0:0:0:0: [sr0] CDB: Inquiry: 12 01 00 00 fe 00
[6.243573] ata1.00: cmd a0/01:00:00:fe:00/00:00:00:00:00/a0 tag 0 dma 16640 
in
[6.243574]  res 51/50:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 
(timeout)
[6.243577] ata1.00: status: { DRDY ERR }
[6.243588] ata1: soft resetting link
[6.659718] ata1.00: configured for UDMA/66
[8.979746] ata1: EH complete

And it happens again...

[   45.520036] ata1.00: qc timeout (cmd 0xa0)
[   45.520049] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   45.520318] ata1.00: BMDMA stat 0x25
[   45.520496] sr 0:0:0:0: [sr0] CDB: Inquiry: 12 01 00 00 fe 00
[   45.520507] ata1.00: cmd a0/01:00:00:fe:00/00:00:00:00:00/a0 tag 0 dma 16640 
in
[   45.520509]  res 51/50:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 
(timeout)
[   45.521049] ata1.00: status: { DRDY ERR }
[   45.521239] ata1: soft resetting link
[   45.684319] ata1.00: configured for UDMA/66
[   45.684642] ata1: EH complete

* The system obviously up slower.
* Burning DVDs uses 80% CPU load instead of 95%.
* Burning speed is slower. (From 2.20x down to 1.90x; according to K3b)

...And the whole system feels notably sluggish. Maybe I'll switch to a
USB DVD burner as a work-around.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/228302

Title:
  [HARDY-LUCID] No DMA nor 32bits IO support

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2011-01-11 Thread Sing-Tai Mok
LOL. Never mind! Workaround (for my case) is found on Bug #292142

(1) Create new file = sudo nano /etc/modprobe.d/options
(2) Add this = options pata_ali atapi_dma=1
(3) Edit this = sudo nano /etc/initramfs-tools/modules
(4) Add this = pata_ali atapi_dma=1
(5) Run this = sudo update-initramfs -u
(6) Reboot system.

* System is fast again!
* Burning DVDs never uses more than 28% CPU load.
* Burning speed is now 3.90x (Media is limited to 4.0x)

The above is applicable to Ubuntu 10.04.x LTS.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/228302

Title:
  [HARDY-LUCID] No DMA nor 32bits IO support

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-09-14 Thread Igor Wojnicki
 First thing I did is to see if my drives are /dev/sdX or /dev/hdX, and
 they are still /dev/sdX...so did a

What's wrong with having drives named as /dev/sdX ?
Historically SCSI drives were named /dev/sdX, while IDE /dev/hdX.
Since some time ago any hard drive is named /dev/sdX regardless
whether its IDE/ATA, IDE/SATA or SCSI, there is one uniform interface.

 l...@home:~$ sudo hdparm -c1 /dev/sda

 /dev/sda:
  setting 32-bit IO_support flag to 1
  HDIO_SET_32BIT failed: Invalid argument
  IO_support    =  0 (default)



Mind that hdparm is a tool which was tailored towards IDE drives only.
It is compatible with old interface (/dev/hdX) but only partially with
the new one (/dev/sdX).

 So, is there anything I need to do to make my system change the drives
from /dev/sdX to /dev/hdX?

There is no point in doing that.

 Also, right this second, which is being used right this second?
 ata_generic or pata_ali?  How can I verify which is in use right now?

dmesg will give you all the information you need. It displays kernel
messages (additionally they go to /var/log directory). So you can open
a terminal and try:

dmesg | less

to browse through all the messages. If you want to find out what mode
the hard drive is switched to search (to search press /) for lines
starting with:

ata1 (for the 1st controller) or ata2 (second). In my case I have

[0.517229] ata1.00: ATA-7: Maxtor 6L200P0, BAH41G10, max UDMA/133

... a few more lines here

[0.572323] ata1.01: ATA-6: WDC WD1200JB-00GVA0, 08.02D08, max
UDMA/100

... a few more lines here

[0.572362] ata1.00: configured for UDMA/133
[0.572365] ata1.01: configured for UDMA/100


Which says what respective DMA modes are enabled for my hard drives.

 Also, if any updates happen, with they wipe out this change I am trying
 to make?  And will I have to do this change everytime a certain thing
 gets updated?

The change you made is permanent, regardless of the updates.


 I dont know if this matters, but I am using Prelink and Preload.


No It doesn't. However, Preload does not do much from my experience
but it might depend on how much memory you have and how fast the
disk(s) is(are).

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-08-28 Thread Canada Lee
Switching to ata_generic instead of pata_ali...  Okay, where are these
things...  I have sata drives.  Okay, so if I wanna try this change, how
do I go about doing it?

You can omit the first step, because I already know how to open a
terminal window!  My drives do not show up as /dev/hdX they show up as
/dev/sdX, you prob know that, and this could be the symptom of not
having and being able to enable 32-bit IO.

I read an earlier reply, might have been yours Igor, where trying this
change might screw the pooch and render your ubuntu inopperable and it
did for the person posting that reply...  What about if pop in a
different hard drive (a IDE one) or just create another partition on my
existing SATA so that I can install a fresh copy of Karmic, just so I
can TEST out changing to the ata_generic...if it works in there, then it
should be fine for me to do it to my real installation of karmic right?

Also, right after your reply to me, I see you posted some kind of...
Changed in linux (Ubuntu):
status: Confirmed → Fix Released

Where, where's this fix...how do I find it?

So do I follow those instructions in that earlier reply where the dude
screwed the pooch? And see if it works in a new install, and if so,
perform those steps to my real existing karmic?

Is these any program, like a patch file than can just test...or switch
things...then if it dont work, it could switch back?

Cheers!

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-08-28 Thread Canada Lee
I followed the instructions in post #85, made backups of the 2 files
before I modified them for easy reversal if needed...  Here's what I
did...

1. Add blacklist pata_ali to /etc/modprobe.d/blacklist
2. Run sudo update-initramfs -u
3. Add ata_generic.all_generic_ide=1 to the GRUB_CMDLINE_LINUX line in 
/etc/default/grub
4. Run sudo update-grub
5. Reboot (preferably using the recovery option so that you can see the verbose 
boot information).

I booted into recovery mode...then when a MS-DOS style windows with ANSI
came up, I selected the first option, to continue booting normally.

I did not notice any errors...but then again, I couldnt scroll the
display to backtrace...but everything seemed fine...albeit with no
GUI...so I shutdown and restarted this time NOT using recovery
mode...and I am in Ubuntu Karmic now...everything appears to be the
same, unchanged, no difference...

First thing I did is to see if my drives are /dev/sdX or /dev/hdX, and
they are still /dev/sdX...so did a

canada_...@home:~$ sudo hdparm /dev/hda
/dev/hda: No such file or directory
canada_...@home:~$ sudo hdparm /dev/sda

/dev/sda:
 multcount = 16 (on)
 IO_support=  0 (default) 
 readonly  =  0 (off)
 readahead = 256 (on)
 geometry  = 48641/255/63, sectors = 781422768, start = 0
l...@home:~$ sudo hdparm -c1 /dev/sda

/dev/sda:
 setting 32-bit IO_support flag to 1
 HDIO_SET_32BIT failed: Invalid argument
 IO_support=  0 (default) 


So, is there anything I need to do to make my system change the drives from 
/dev/sdX to /dev/hdX?

Also, right this second, which is being used right this second?
ata_generic or pata_ali?  How can I verify which is in use right now?

Also, if any updates happen, with they wipe out this change I am trying
to make?  And will I have to do this change everytime a certain thing
gets updated?

I dont know if this matters, but I am using Prelink and Preload.

Anyone have any suggestions?

Laters.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-08-27 Thread Canada Lee
Hey Igor, why do you say that my bug is prob a new bug?  I am
experiencing the same as everyone in this bug...  I too am at 16-bit IO,
without UltraDMA, and when I try enabling 32-bit IO I get the same ioctl
error...

The only diff is people are reporting this bug with hardy-fiesty etc
etc, and karmic, and now lucid...  I am using Karmic...my hardware may
be new...but I'll tell you a secret, I am not using 32-bit IO and I
cannot enable it...

And it sounds like I would have to re-write Karmic just to enable 32-bit
IO.

Also which I did not mention, I have a laptop as well and its not
spanking new, it may be 2002 or 2004...and I am using 16-bit IO without
UDMA in this as well.  I may not be a rocket scientist, but I have come
to the conclusion that Karmic came out in late 2009, and my laptop came
out in 2002 maybe 2004...so I would say Karmic should be BETTER than my
laptop.  But its not...Karmic cannot fully utilize the massive
technological power of the hardware that's being developed now in 2002
or 2004...er, uhm, I mean if you took a copy of Karmic and travelled
back to 2002 or 2004, then my last statement makes, er, sense.

You know its 2010...and 25 years ago we had 16-bit IO...and you should
have seen the pieces of crap that had 16-bit IO.

I predicted new OS after new OS will come out, and we'll still be at
16-bit IO.  I am a bit like Nostradamus then!

And I predict that there are thousands out there maybe more, yea prob
more... fiesty, hardy, karmic, lucid who are at 16-bit and don't even
know it!  So then this is our little secret...

The switch over to Ubuntu slogan should be changed to...UBUNTU!  -
1982 brought that 8-bit computer, Commodore 64, faster than one of
those...  UBUNTU!  -  And remember in 1985 came the 16-bit Commodore
Amiga!  Now, welcome to 2010...  UBUNTU is more processing power than an
Amiga yet preserving the same drive IO access speeds!

There's gotta be 1 unemployed programmer somewhere...we just gotta find
him and we'll do a collection and we'll pay him for an hours work just
to repair this bug.  Unless of course, you've found him already, and
thats why this bug has been around for OVER 2 years, because he knows
once he's fixed this bug he will have outlived his usefulness!!!

Can we request Ubuntu, that whenever they finally do release a 32-bit
version, they stipulate it in the download name, like for example:
Ubuntu 10.4 Lucid 32-bit IO.rar...or even change current ones...Ubuntu
10.4 Lucid 16-bit IO.rar and Ubuntu 10.4 Lucid 8-bit IO (if they
invented that)!

Hope I made someone out there laugh...have a good one!

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-08-27 Thread Igor Wojnicki
Canada Lee, you're right to some extent. But if switching to ata_generic
(instead od pata_ali) does not help you, I think you should just file
another bug report.

** Changed in: linux (Ubuntu)
   Status: Confirmed = Fix Released

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-07-20 Thread pauls
weird, I tried to use apport-collect 228302 and it wouldn't let me add
to this bug.  So, here's my situation.

I'm successfully running hardy on another partition with snappy response
and ability to play dvd's.

I have a fresh install of lucid on another partition.  I had to go to
icewm because gnome, kde, xfce are too slow. I cannot play dvd's without
blurry, dropped frames, etc.

So, finding this bug, I tried enabling ata_generic and blacklist pata-
ali.  With this, I can boot up but it takes several minutes.  And, once
up, the dvd is not recognized.  dmesg shows:

[   86.097696] scsi scan: 96 byte inquiry failed.  Consider BLIST_INQUIRY_36 
for this device
[   86.099133] scsi 1:0:0:0: CD-ROMTOSHIBA  DVD-ROM SD-C2502 1313 
PQ: 0 ANSI: 5

 a lot of repeats of this:

[  217.824138] ata2: lost interrupt (Status 0x58)
[  217.828030] ata2: drained 65536 bytes to clear DRQ.
[  217.884599] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x
6 frozen
[  217.884714] sr 1:0:0:0: [sr0] CDB: Inquiry: 12 00 00 00 fe 00
[  217.885182] ata2.00: cmd a0/01:00:00:fe:00/00:00:00:00:00/a0 tag 0 dma 16640 
in
[  217.885188]  res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 
(timeout)
[  217.885387] ata2.00: status: { DRDY }
[  217.885498] ata2: soft resetting link
[  218.088730] ata2.00: configured for UDMA/33
[  218.089575] ata2: EH complete

I decided to try the maverick kernel from the kernel ppa, and it does
the same thing.  In fact, that's what I'm using now.

Any ideas how to fix this?

Since I don't seem to be able to use apport add my stuff, let me know
what I need to post.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-06-18 Thread Andy Whitcroft
** Changed in: linux (Ubuntu)
 Assignee: Andy Whitcroft (apw) = (unassigned)

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-06-10 Thread Montblanc
Igor,
I really appreciate the efforts you're putting into solving this bug, however I 
think the changes you made to Lucid kernel brought different troubles to my 
system (Uli M1575 chipset), forcing me to file bug #591532 . The reason why I 
think that bug is related to this one is because:

1) I'm affected by this bug since Feisty
2) The DMA errors I get in bug #591532 started appearing with Lucid
3) The changes you committed to Lucid kernel strongly affect my hardware
4) If I follow Antonio O.'s tips about ata_generic, I don't get those errors 
(but I've double-checked with `hdparm -tT /dev/sdX` and write/read speed is 
really slow compared to pata_ali, I would say it's halved)

Please, I would really appreciate if you could have a look that bug,
because I need to understand the source of those errors, and if you
confirm it's really related to this bug, it would be one goal for me and
for anybody affected by the same bug.

Thank you in advance,
~montblanc

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-06-10 Thread Montblanc
(Sorry Igor, I meant Andy!)

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-06-10 Thread Igor Wojnicki
Montblanc,

The changes Andy committed regard modularization of pata_ali - nothing
more. As I underestand correctly you use pata_ali right? And if it
reports the errors you mention in bug #591532 , than it seems to be
pata_ali issues and I believe they have not much to do with making
pata_ali a module - the modulatization should not cause them.

As far as I know ata_generic is reported to poorly perform on some
hardware, which confirms your performance issues with ata_generic
enabled.

I'd gladly investigate these errors of yours - perhaps they'd appear in
my system too but unfortunatelly I'm too scared to switch to Lucid right
now because of bug  #585765 which affects at least one of my systems.
Until it is solved I'm not even touching Lucid.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-06-10 Thread Montblanc
Igor,
I thought the only pata_ali changes were made by Andy, that's why I
thought it could be the reason. Seriously I don't know if bug #591532
could be a symptom of bug #585765 because I've just tried the LiveCD
for short sessions. I won't upgrade to Lucid until I know the source
of those errors and discover a workaround, I would really appreciate
if you could have a look into that.
As regards this bug, I'm really happy I can now easily load/unload
pata_ali as a module on Lucid thanks to Andy's efforts, but since I'm
stuck with a disappoining A8R-MVP (which doesn't even let me have a
working 64bit os with hardware memory hole, by the way) with a buggy
chipset, ata_generic is not helping that much...
Thank you and best regards,

Montblanc

2010/6/10 Igor Wojnicki wojni...@gmail.com:
 Montblanc,

 The changes Andy committed regard modularization of pata_ali - nothing
 more. As I underestand correctly you use pata_ali right? And if it
 reports the errors you mention in bug #591532 , than it seems to be
 pata_ali issues and I believe they have not much to do with making
 pata_ali a module - the modulatization should not cause them.

 As far as I know ata_generic is reported to poorly perform on some
 hardware, which confirms your performance issues with ata_generic
 enabled.

 I'd gladly investigate these errors of yours - perhaps they'd appear in
 my system too but unfortunatelly I'm too scared to switch to Lucid right
 now because of bug  #585765 which affects at least one of my systems.
 Until it is solved I'm not even touching Lucid.

 --
 [HARDY-LUCID] No DMA nor 32bits IO support
 https://bugs.launchpad.net/bugs/228302
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.


-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-05-14 Thread Antonio O.
Hi guys and thank you everybody for your support.

I solved with my pata_sis in a very basic way, perhaps not very
orthodox:

I started my s.o. with this (grub) command line:

... ata_generic.all_generic_ide=1 libata.fake_parm=0

It caused libata, pata_sis and pata_acpi fail in module loading.
Once my system mounted any hard-disk partitions as hda instead of sda then I 
added a grub line with that expedient to my grub menu.
I'm having some minor problems with hdparm to force the flag -c1 at boot.
Somebody talked about a inittab change... I will try.

Hi everybody.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-05-01 Thread Igor Wojnicki
Conn, thanks for the tip. It works fine for me.

Unfortunately I don't know how to assign different drivers for different
ATA ports :( I've been poking around but haven't found anything useful.
I was also trying to disable pata_ali when compiled in (along with
ata_generic) -  to no avail :(

Regarding Karmic. Is there any chance that these module arrangements
(ata_generic compiled in, pata_ali as a module) could be backported to
Karmic?

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-04-29 Thread Conn O Griofa
Igor, Andy others,

I've done some investigation and found that it's not necessary to build
ata_generic.ko as a module. From the kernel-parameters.txt documentation
I noticed it says the following:

Module parameters for modules that are built into the kernel image
are specified on the kernel command line with the module name plus
'.' plus parameter name, with '=' and value if appropriate [...]

Therefore, the parameter we should use is: ata_generic.all_generic_ide=1

So, this is how to get it working:
1. Add blacklist pata_ali to /etc/modprobe.d/blacklist
2. Run sudo update-initramfs -u
3. Add ata_generic.all_generic_ide=1 to the GRUB_CMDLINE_LINUX line in 
/etc/default/grub
4. Run sudo update-grub
5. Reboot (preferably using the recovery option so that you can see the verbose 
boot information).

WARNING: the above instructions may render your system unbootable (as it
did for myself). If that happens, you will need to boot from a live CD,
chroot into your installation and undo the blacklisting of the pata_ali
module. If you're not comfortable with this risk, then don't follow the
steps above.

Unfortunately, this still doesn't solve the problem for me, as the
ata_generic driver refuses to work with my hard drive (spewing DMA
errors). If I can find some way to make the kernel assign the pata_ali
to ATA port 1 (my hard disk) and ata_generic to ATA port 2 (CD-ROM),
perhaps that would work. If anyone has suggestions, let me know.

[1] http://www.kernel.org/doc/Documentation/kernel-parameters.txt

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-04-27 Thread Igor Wojnicki
I've double checked current lucid kernel linux-
image-2.6.32-21-generic_2.6.32-21.32 and it seems that it is not fixed!
There is no ata_generic.ko there. So ALI owners will still suffer from
disabled DMA! Please alter the package to reflect the changes summarized
by Conn in post #80.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-20 Thread Conn O Griofa
Andy,

I noticed that you re-modularized the PATA/SATA drivers in kernel
2.6.32-17.26. Unfortunately, you forgot to re-modularize the ata_generic
module as well. I tried blacklisting the pata_ali driver and booting
with all_generic_ide, but no hard drives or ATAPI drives were
detected, and I was booted to the initramfs shell. I suspect that the
boot option isn't parsed because the ata_generic module is still built-
in to the kernel.

... or perhaps the option has been renamed; I'll do some experimenting
and try to find out.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-15 Thread Andy Whitcroft
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Andy Whitcroft (apw)

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-14 Thread Igor Wojnicki
By the way, I'm not sure that some ALI chipsets are buggy. If
ata_generic works fine, and pata_ali does not it would point at a bug in
the pata_ali driver. But it's just my thought - I haven't investigated
the kernel sources or the chipset itself.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki
Montblanc. I'm not sure of what kind of 'full speed writting' you are
talking about.

My observation is that pata_ali DOES NOT WORK properly with CD/DVD
drives. Burinig a disck using pata_ali is hardly possible, takes 100%
cpu and takes forever since cdrom DMA transfers are disabled. Enabling
DMA through /sys makes reading/writting impossible (errors).

Using ata_generic instead of pata_ali solves all the problems. DMA works
fine. Current ubuntu kernels prevent the user to choose ata_generic over
pata_ali!

Regarding possible inferior performance of ata_generic I've discovered
that there are none. See attached performance and dmesg results.

Files: *.custom hold results for my customized kernel (see post #58)
with ata_generic instead of pata_ali driver. Other files hold results
for the current Karmic kernel with pata_ali.

So there are two possible solutions:
1. somebody fixes pata_ali driver which seems to be broken - mind the warning:  
WARNING: ATAPI DMA disabled for reliablity issues - it's ridiculous, especially 
that ata_generic works fine.
2. ubuntu developers prepare the kernel in such a way which allows to use 
generic_ata driver! which I agree is kind of workaround, but it might be just 
good enough, and it's way better that the current situation which prevents 
using a cdrom/dvd drive!

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: dmesg
   http://launchpadlibrarian.net/40903184/dmesg

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: dmesg.custom
   http://launchpadlibrarian.net/40903186/dmesg.custom

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: hdparm.cdrom
   http://launchpadlibrarian.net/40903192/hdparm.cdrom

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: hdparm.cdrom.custom
   http://launchpadlibrarian.net/40903202/hdparm.cdrom.custom

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: hdparm.sda
   http://launchpadlibrarian.net/40903206/hdparm.sda

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: hdparm.sda.custom
   http://launchpadlibrarian.net/40903216/hdparm.sda.custom

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: hdparm.sdb
   http://launchpadlibrarian.net/40903220/hdparm.sdb

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki

** Attachment added: hdparm.sdb.custom
   http://launchpadlibrarian.net/40903234/hdparm.sdb.custom

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki
Mind also reading performance difffernences between hdparm.cdrom
(pata_ali, broken DMA) and hdparm.cdrom.custom (generic_ata, DMA OK)!

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Conn O Griofa
Igor,

Let's try to get a summary of action needed.

Problem: the pata_ali kernel driver does not support ATAPI DMA
transfers properly on certain ALI chipsets (even if force-enabled via
the driver option atapi_dma=1). The ata_generic kernel driver
supports ATAPI DMA transfers for such chipsets and has a special kernel
boot option, all_generic_ide, which causes it to override the
manufacturer-specific drivers. However, this option does not work
correctly when the ata_generic and pata_ali drivers are compiled-in
to the kernel, which means that the ata_generic driver is impossible
to use.

Solution:

Change these kernel config parameters:
CONFIG_PATA_ALI=y
CONFIG_ATA_GENERIC=y

To the following:
CONFIG_PATA_ALI=m
CONFIG_ATA_GENERIC=m

Result:
1. For all other users: there will be no functional difference between the 
original and modified kernel configuration (as long as the logic to 
automatically modprobe the ata_generic/pata_ali kernel modules is properly 
in place)
2. For users with buggy ALI chipsets, they can now take advantage of the kernel 
boot options all_generic_ide and/or to manually blacklist the pata_ali 
driver, which will cause the ata_generic driver to be used (and as a result, 
ATAPI DMA will work properly).

Am I missing anything, Igor?

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-13 Thread Igor Wojnicki
Conn, You've got it right. I've just verified it.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 228302] Re: [HARDY-LUCID] No DMA nor 32bits IO support

2010-03-12 Thread Montblanc
Please, remember: a workaround is NOT a solution. With this workaround,
CPU usage is back to normal, but we can't write to full speed and that's
really frustrating. The only way to solve this bug is getting Canonical
to change its policy about PATA drivers, or just surrender to new Ubuntu
versions solving something and screwing up another one.

-- 
[HARDY-LUCID] No DMA nor 32bits IO support
https://bugs.launchpad.net/bugs/228302
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs