Re: [PATCH] libata and starting/stopping ATAPI floppy devices

2008-01-10 Thread Ondrej Zary
On Thursday 10 January 2008 02:05:23 Robert Hancock wrote: Tejun Heo wrote: From: Ondrej Zary [EMAIL PROTECTED] Prevent libata from starting/stopping non-ATA devices (like ATAPI floppy drives) as they don't seem to like it: sd 1:0:1:0: [sdb] Starting disk ata2.01: configured

Re: [PATCH] libata and starting/stopping ATAPI floppy devices

2008-01-09 Thread Ondrej Zary
On Wednesday 09 January 2008 03:41:16 Tejun Heo wrote: Ondrej Zary wrote: Hello, I switched to libata drivers for my onboard PATA controller (PIIX4) recently. Everything works fine except that kernel tries to start not only my hard drive (sda) but also LS-120 floppy drive (sdb) which does

[PATCH] [RFC] [resend] libata and starting/stopping ATAPI floppy devices

2008-01-07 Thread Ondrej Zary
; if (dev) ata_scsi_dev_config(sdev, dev); -- Ondrej Zary - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] libata and starting/stopping ATAPI floppy devices

2008-01-05 Thread Ondrej Zary
; if (dev) ata_scsi_dev_config(sdev, dev); -- Ondrej Zary - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: sata_via: write errors on PATA drive connected to VT6421

2007-08-31 Thread Ondrej Zary
Hello, I think that I've found and fixed the problem. There is a copy/paste bug in vt6421_set_dma_mode() function which causes wrong values to be written to PATA_UDMA_TIMING register. This patch fixes a copy/paste bug that breaks DMA modes on VT6421 PATA port. Signed-off-by: Ondrej Zary

Re: sata_via: write errors on PATA drive connected to VT6421

2007-08-21 Thread Ondrej Zary
without errors but slowly (3MB/s with 100% CPU load). -- Ondrej Zary - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ide-floppy - software eject not working with LS-120 drive

2005-09-04 Thread Ondrej Zary
Denis Vlasenko wrote: On Friday 02 September 2005 23:47, Ondrej Zary wrote: Hello, I've bought new LS-120 drive and found that software eject does not work with 2.6.13 kernel: [EMAIL PROTECTED]:~# eject /dev/hdc eject: unable to eject, last error: Invalid argument The drive spins up

Re: [git patches] IDE update

2005-07-07 Thread Ondrej Zary
Bill Davidsen wrote: Ondrej Zary wrote: Jens Axboe wrote: On Tue, Jul 05 2005, Ondrej Zary wrote: André Tomt wrote: Al Boldi wrote: Bartlomiej Zolnierkiewicz wrote: { On 7/4/05, Al Boldi [EMAIL PROTECTED] wrote: Hdparm -tT gives 38mb/s in 2.4.31 Cat /dev/hda /dev/null gives 2

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
records in 1048576+0 records out real0m23.858s user0m1.750s sys 0m15.180s -- Ondrej Zary - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
Jens Axboe wrote: On Tue, Jul 05 2005, Ondrej Zary wrote: André Tomt wrote: Al Boldi wrote: Bartlomiej Zolnierkiewicz wrote: { On 7/4/05, Al Boldi [EMAIL PROTECTED] wrote: Hdparm -tT gives 38mb/s in 2.4.31 Cat /dev/hda /dev/null gives 2% user 33% sys 65% idle Hdparm -tT gives 28mb/s

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
Jens Axboe wrote: On Tue, Jul 05 2005, Ondrej Zary wrote: Jens Axboe wrote: On Tue, Jul 05 2005, Ondrej Zary wrote: André Tomt wrote: Al Boldi wrote: Bartlomiej Zolnierkiewicz wrote: { On 7/4/05, Al Boldi [EMAIL PROTECTED] wrote: Hdparm -tT gives 38mb/s in 2.4.31 Cat /dev/hda

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
Jens Axboe wrote: On Tue, 2005-07-05 at 14:35 +0200, Ondrej Zary wrote: 2.4.26 [EMAIL PROTECTED]:/home/rainbow# time dd if=/dev/hda of=/dev/null bs=512 count=1048576 1048576+0 records in 1048576+0 records out real0m23.858s user0m1.750s sys 0m15.180s Perhaps some read-ahead bug

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
Jens Axboe wrote: On Tue, 2005-07-05 at 15:02 +0200, Ondrej Zary wrote: Ok, looks alright for both. Your machine is quite slow, perhaps that is showing the slower performance. Can you try and make HZ 100 in 2.6 and test again? 2.6.13-recent has it as a config option, otherwise edit include/asm

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
Jens Axboe wrote: On Tue, Jul 05 2005, Ondrej Zary wrote: Jens Axboe wrote: On Tue, 2005-07-05 at 15:02 +0200, Ondrej Zary wrote: Ok, looks alright for both. Your machine is quite slow, perhaps that is showing the slower performance. Can you try and make HZ 100 in 2.6 and test again

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
Jens Axboe wrote: On Tue, Jul 05 2005, Ondrej Zary wrote: oread is faster than dd, but still not as fast as 2.4. In 2.6.12, HDD led is blinking, in 2.4 it's solid on during the read. Oh, and please do test 2.6 by first setting the deadline scheduler for hda. I can see you are using

Re: [git patches] IDE update

2005-07-05 Thread Ondrej Zary
be changed at will. Tested with default 128, 1024 and 4 (minimum) and no change. -- Ondrej Zary - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [git patches] IDE update

2005-07-04 Thread Ondrej Zary
like DMA is not being applied properly in 2.6.12. Are earlier 2.6.x kernels okay? dmesg output? } Same on 2.6.10,11,12. No errors though, only sluggish system. Something like this http://lkml.org/lkml/2005/6/13/1 ? -- Ondrej Zary - To unsubscribe from this list: send the line unsubscribe