Re: CALL FOR TESTERS of new ATA/ATAPI driver..
This is results of testing my machine (Toshiba Satellite Pro 445CDX notebook). Shows not very huge improvement yet ;) The 1403 is a pretty slow drive, and the IDE interface in most of the Satellites just plain sucks. ad0: TOSHIBA MK1403MAV/D3.06 A ATA-? disk at ata0 as master ad0: 1376MB (2818368 sectors), 2796 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue I used to have one of these in another Satellite. I now have: wdc0: unit 0 (wd0): TOSHIBA MK6409MAV, 32-bit, multi-block-16 wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S and its performance still sucks. At least its 4x bigger. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ m...@smith.net.au \\ The race is long, and in the \\ msm...@freebsd.org \\ end it's only with yourself. \\ msm...@cdrom.com To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
This is results of testing my machine (Toshiba Satellite Pro 445CDX notebook). Shows not very huge improvement yet ;) wd driver: ? ---Sequential Output ---Sequential Input-- --Random-- ? -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine??? MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU? /sec %CPU ? 100? 3318 63.9? 3260 12.1? 1331? 8.1? 3361 56.8? 3397 13.7? 59.2? 2.8 ata driver: ? ---Sequential Output ---Sequential Input-- --Random-- ? -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine??? MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU? /sec %CPU ? 100? 3322 63.2? 3244 11.9? 1233? 7.7? 3374 55.4? 3398 13.4? 60.4? 2.8 dmesg-ata: CPU: Pentium/P55C (132.63-MHz 586-class CPU) ? Origin = GenuineIntel? Id = 0x543? Stepping=3 ? Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX avail memory = 30302208 (29592K bytes) ata0 at 0x1f0-0x1f7 irq 14 on isa ad0: TOSHIBA MK1403MAV/D3.06 A ATA-? disk at ata0 as master ad0: 1376MB (2818368 sectors), 2796 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue ad0s2: type 0xa5, start 63, end = 1433375, size 1433313 ad0s2: C/H/S end 1023/11/63 (967490) != end 1433375: invalid ad0s3: type 0xa5, start 1433376, end = 2732939, size 1299564 : OK ad0s4: type 0x6, start 2732940, end = 2817989, size 85050 : OK dmesg-wd: CPU: Pentium/P55C (132.63-MHz 586-class CPU) ? Origin = GenuineIntel? Id = 0x543? Stepping=3 ? Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX avail memory = 30289920 (29580K bytes) wdc0 at 0x1f0-0x1f7 irq 14 flags 0x on isa wdc0: unit 0 (wd0): TOSHIBA MK1403MAV, LBA, 32-bit, multi-block-16, sleep-hack wd0: 1376MB (2818368 sectors), 2982 cyls, 15 heads, 63 S/T, 512 B/S wd0: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = wd0s2: type 0xa5, start 63, end = 1433375, size 1433313 wd0s2: C/H/S end 1023/11/63 (967490) != end 1433375: invalid wd0s3: type 0xa5, start 1433376, end = 2732939, size 1299564 : OK wd0s4: type 0x6, start 2732940, end = 2817989, size 85050 : OK ? ? To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
On Wed, 3 Mar 1999, SXren Schmidt wrote: It seems Daniel O'Connor wrote: On 02-Mar-99 SXren Schmidt wrote: Its in the works, together with the tagged queuing some of the newer drives supports. Wow! :) Is there any chance od adding the ability to 'wire' devices a la SCSI? :) I'll think about it, but lots of things has higher priority... So, one of my great FreeBSD experiences was when one of the three IDE drives in my server died, yet the system was able to survive its automated weekly boot ten minutes later, and I could restore from a tape backup to another drive. The great thing about this was that I was over 500 miles away logged in via the network performing this recovery. Having the drives automatically renumber themselves on the complete failure of one drive (and it was fairly complete) would have been a disaster. This is especially true when one partition is used as a /tmp partition, and is automatically cleaned at boot :-(. Wiring devices introduce stability by not causing unexpected behavior in the event of failure: rather than having the mounting of partitions occur incorrectly, it merely doesn't mount the failed partitions. In general, I do not like the devices-allocated-in-probe-order behavior: it doesn't take much to reorder two SCSI controllers in a kernel, especially if we start using an automated admin tool to configure kernels at some point. I just don't like that failures can result in very situation-dependent behavior. Inserting a new CDROM device should not renumber my existing devices. This presumably becomes more pressing when one starts doing hot-swap pccard-style devices. If you leave the device plugged in across a reboot, its device name may have changed :-(, or might have gotten stuck ahead of the boot device in the kernel probes. Robert N Watson rob...@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: 03 01 DD 8E 15 67 48 73 25 6D 10 FC EC 68 C1 1C Carnegie Mellon Universityhttp://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ Safeport Network Services http://www.safeport.com/ To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
Do you have any plans to support OPTICAL device? I want to use my PD drive (NEC ODX654P), and some other people want to use ATAPI MO. I've already made patch for PD/CD drive, and registered it as PR kern/10116. But it's not so good patch, because my PD drive has 2 LUN's. LUN0 is CD-ROM and LUN1 is PD. If new driver supports multiple LUN ATAPI device, PD drive support becomes to be easy, I believe. Thanks in advance. NOKUBI Hirotaka To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
Its in the works, together with the tagged queuing some of the newer drives supports. Whoa! What drives?!?! I want a dozen! To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
I'm curious how the new driver handles numbering. You said in your first mail that drives are numbered by probe order? I have two 4 gig IDE drives, both single masters on separate channels. I'm only booting from the first one, so that's not a problem, but the first is called wd0 and the second wd2. My kernel config is as follows: controller wdc0 at isa? port IO_WD1 bio irq 14 flags 0xa0ffa0ff diskwd0 at wdc0 drive 0 controller wdc1 at isa? port IO_WD2 bio irq 15 flags 0xa0ffa0ff diskwd2 at wdc1 drive 0 This way I can stick a slave on the first controller and it won't change the numbering. I may be missing something though. anyway, what will the new driver call my second hard drive? and can I wire it down to be wd2? Would this be all I add to my kernel config? controller ata0 device atadisk0# ATA disks or do I need a device for each drive? I'm also assuming that this thing will work fine with Vinum? Thank you. -- obfuscate v.t. darken; obscure; bewilder. int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
On Mon, Mar 01, 1999 at 10:21:05PM +0100, Søren Schmidt wrote: Finally!! The much roumored replacement for our current IDE/ATA/ATAPI is materialising in the CVS repositories around the globe. So what does this bring us: A new reengineered ATA/ATAPI subsystem, that tries to overcome most of the deficiencies with the current drivers. It supports PCI as well as ISA devices without all the hackery in ide_pci.c to make PCI devices look like ISA counterparts. What would you think of parallel port devices? Would it be easy to make the new ATAPI stuff work with ppbus? I especially think about the HP7200 CD-RW which has certainly hard real-time constraints to burn a CD. It doesn't have the excessive wait problem on probe, in fact you shouldn't notice any delay when your devices are getting probed. Probing and attaching of devices are postponed until interrupts are enabled (well almost, not finished yet for disks), making things alot cleaner. Really good work. I'll give it a try this week-end. -- nso...@teaser.fr / nso...@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems Nicolas Souchu wrote: What would you think of parallel port devices? Would it be easy to make the new ATAPI stuff work with ppbus? I especially think about the HP7200 CD-RW which has certainly hard real-time constraints to burn a CD. Hmm, you have any docs on how to talk to such a beast ?? Does it use the tailgate protocol I've seen references to ?? It should be possible to make the system support multiple HW interface backends, although it will have some major impact on the current code, I think it could be worth it if there is a standard to follow. It doesn't have the excessive wait problem on probe, in fact you shouldn't notice any delay when your devices are getting probed. Probing and attaching of devices are postponed until interrupts are enabled (well almost, not finished yet for disks), making things alot cleaner. Really good work. I'll give it a try this week-end. Thanks, and let me now how it works out.. -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
* From: Robert Watson rob...@cyrus.watson.org * away logged in via the network performing this recovery. Having the * drives automatically renumber themselves on the complete failure of one * drive (and it was fairly complete) would have been a disaster. This is Or just think ccd. There are people building disk servers out of IDE drives these days, and having the ccd configured in a wrong order could be disastrous. I have been running a SCSI server systems for a couple of years now and would have lost several 100GB volumes by now if the devices weren't wired down. (Sometimes the drives just won't show up at boot -- a power cycle usually cures that.) Satoshi To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
Satoshi Asami wrote: * From: Robert Watson rob...@cyrus.watson.org * away logged in via the network performing this recovery. Having the * drives automatically renumber themselves on the complete failure of one * drive (and it was fairly complete) would have been a disaster. This is Or just think ccd. There are people building disk servers out of IDE drives these days, and having the ccd configured in a wrong order could be disastrous. Think vinum then... ;-) -- Daniel C. Sobral(8-DCS) d...@newsguy.com d...@freebsd.org FreeBSD is Yoda, Linux is Luke Skywalker. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
Søren Schmidt writes : Good work, no more stinky delay :-) Thanks!, and I hate delays too :) It works beautifully for me. I can imagine that the people with UDMA drives can't wait for DMA support in it. :-) I've run some tests with Bonnie. Need to still reboot with my old kernel, and run the same test to see what it did. Geoff. -- Geoff Rehmet, The Internet Solution geo...@is.co.za; ge...@rucus.ru.ac.za; c...@freebsd.org tel: +27-83-292-5800 To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems Geoff Rehmet wrote: Søren Schmidt writes : Good work, no more stinky delay :-) Thanks!, and I hate delays too :) It works beautifully for me. I can imagine that the people with UDMA drives can't wait for DMA support in it. :-) Its in the works, together with the tagged queuing some of the newer drives supports. I've run some tests with Bonnie. Need to still reboot with my old kernel, and run the same test to see what it did. Let me know how that works out. -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
Will the new ATAPI drivers still work with wormcontrol for ATAPI CD Writers? Since it is a WIP, will it support it if it doesn't? Tom Veldhouse ve...@visi.com To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
[.] I would very much like to hear from you, both good and bad news are very welcome. [.] Looks good on my laptop ! ad0: FUJITSU MHC2040AT/0819 ATA-3 disk at ata0 as master ad0: 3909MB (8007552 sectors), 7944 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue acd0: TOSHIBA CD-ROM XM-1802B/1615 CDROM drive at ata1 as master acd0: drive speed 4134KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked changing root device to ad0s1a It seems stable too (I haven't done any speed tests). Good work, and thanks. -- Brian br...@awfulhak.org br...@freebsd.org br...@openbsd.org http://www.Awfulhak.org Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems Thomas T. Veldhouse wrote: Will the new ATAPI drivers still work with wormcontrol for ATAPI CD Writers? Since it is a WIP, will it support it if it doesn't? It should, but i just found out that it somehow fails, I'm bughunting... -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
On 02-Mar-99 SXren Schmidt wrote: Its in the works, together with the tagged queuing some of the newer drives supports. Wow! :) Is there any chance od adding the ability to 'wire' devices a la SCSI? :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems Daniel O'Connor wrote: On 02-Mar-99 SXren Schmidt wrote: Its in the works, together with the tagged queuing some of the newer drives supports. Wow! :) Is there any chance od adding the ability to 'wire' devices a la SCSI? :) I'll think about it, but lots of things has higher priority... -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
RE: CALL FOR TESTERS of new ATA/ATAPI driver..
On 02-Mar-99 SXren Schmidt wrote: Its in the works, together with the tagged queuing some of the newer drives supports. Wow! :) Is there any chance od adding the ability to 'wire' devices a la SCSI? :) I'll think about it, but lots of things has higher priority... -Søren I just repeated the Bonnie tests without X running, on a freshly booted machine. (WD is still with X and netscape.) As I said, I am not running any flags on WD, but asl Luigi pointed out, I could probably do with some newer hard drives! Geoff. ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU ATA+X+Nets 64 3237 69.0 2913 14.0 1409 9.4 2951 59.3 3043 11.6 55.9 2.4 WD+X+Netsc 64 2556 54.5 2902 13.3 1457 9.7 1987 40.3 3082 13.2 59.1 2.0 ATA-noX64 3340 69.7 2984 11.9 1400 8.6 3135 62.4 3182 9.4 135.3 4.4 ATA-noX1 128 3221 68.5 2860 13.4 1169 7.6 2961 58.4 3038 12.2 54.2 2.3 Geoff. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
controllerata0 deviceatadisk0# ATA disks deviceatapicd0# ATAPI CDROM's After (fastest(!!!)) boot: $ dmesg .. chip1: Intel 82371AB PCI to ISA bridge rev 0x01 on pci0.7.0 ata-pci0: Intel PIIX4 IDE controller rev 0x01 on pci0.7.1 ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 ... ad0: FUJITSU MPA3026AT/9147 ATA-3 disk at ata0 as master ad0: 2503MB (5126964 sectors), 5086 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue ad1: WDC AC21200H/05.01E05 ATA-? disk at ata1 as master ^ ad1: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 0 depth queue acd0: MATSHITA CR-581-M/106A CDROM drive at ata1 as slave acd0: drive speed 689KB/sec, 128KB cache acd0: supported read types: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked changing root device to ad0s1a . ATA-? ??? ^ Does it right? How i can create ad0s1a etc. slises? i can't find anythink in /usr/src/etc/etc.i386/MAKEDEV... Rgdz, Sergey A. Osokin, o...@etrust.ru To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
S ren Schmidt writes: There is NO support for bad144, if your disk is bad, ditch it, it has already outgrown its internal spare sectors, and is dying. Speaking of which, is there any portable way to monitor bad block lists on ATA drives? And the S.M.A.R.T. stuff that some vendors advertise? -- David Kelly N4HHE, dke...@nospam.hiwaay.net = The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
Do you have any plans to move the wfd(4) driver to the new ATA framework? I'd be glad to test it all out, as long as I don't lose my LS-120's functionality. Thanks in advance! Brian Feldman_ __ ___ ___ ___ gr...@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ _ |___/___/___/ To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
The new driver fails to build when devfs is also in the config. I made a simple change of static void *devfs_token to void *devfs_token on line 183 in ata-all.h and all seems good. Good work, no more stinky delay :-) Tugrul Galatali To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems oZZ!!! wrote: controller ata0 device atadisk0# ATA disks device atapicd0# ATAPI CDROM's After (fastest(!!!)) boot: $ dmesg .. chip1: Intel 82371AB PCI to ISA bridge rev 0x01 on pci0.7.0 ata-pci0: Intel PIIX4 IDE controller rev 0x01 on pci0.7.1 ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 ... ad0: FUJITSU MPA3026AT/9147 ATA-3 disk at ata0 as master ad0: 2503MB (5126964 sectors), 5086 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue ad1: WDC AC21200H/05.01E05 ATA-? disk at ata1 as master ^ ad1: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 0 depth queue acd0: MATSHITA CR-581-M/106A CDROM drive at ata1 as slave acd0: drive speed 689KB/sec, 128KB cache acd0: supported read types: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked changing root device to ad0s1a . ATA-? ??? ^ Does it right? Yup, that because the drive doesn't report what version the of the ATA spec its conformant to. How i can create ad0s1a etc. slises? i can't find anythink in /usr/src/etc/etc.i386/MAKEDEV... Thats because the are not there yet, just use wd0 wd1 etc etc that will work fine , and makes it easier fot people to test the new setup without too much changing around. -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems David Kelly wrote: S ren Schmidt writes: There is NO support for bad144, if your disk is bad, ditch it, it has already outgrown its internal spare sectors, and is dying. Speaking of which, is there any portable way to monitor bad block lists on ATA drives? And the S.M.A.R.T. stuff that some vendors advertise? There is work underways to standardise a log function on ATA drives, I'm not sure if any has it yet. I plan to support some of what all this gives you. -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems Brian Feldman wrote: Do you have any plans to move the wfd(4) driver to the new ATA framework? I'd be glad to test it all out, as long as I don't lose my LS-120's functionality. Thanks in advance! I'm, waiting for my ZIP drive to arrive, then there will be an atapi-fd driver as well.. -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: CALL FOR TESTERS of new ATA/ATAPI driver..
It seems Tugrul wrote: The new driver fails to build when devfs is also in the config. I made a simple change of static void *devfs_token to void *devfs_token on line 183 in ata-all.h and all seems good. I know, I was thi close to ripping all the devfs stuff out, but... Good work, no more stinky delay :-) Thanks!, and I hate delays too :) -Søren To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message