On Thu, 26 Jun 2003, Bill Paul wrote: > > A long time ago, circa FreeBSD 4.3, my Sony PCMCIA CD-ROM drive with > brain-damaged Teac ATA controller drive worked, and the people were > content and all was right with the land. Then my 4.4 CD set arrived, > and I was disappointed to find the install kernel would lock up after > the driver was probed. Complaints were made and epithets were hurled, > and lo, in 4.5-RELEASE, all was well once again. > > Then came 4.6-RELEASE, and it was broken again. > > Then came 4.6.2, and it was still broken. > > And in 4.7. > > And 4.8. > > And 5.0. (Yeah yeah, shut up.) > > I just got my 5.1-RELEASE CDs and guess what? My CD-ROM drive STILL > doesn't work!!! > > Guys, there's nothing more frustrating than getting a brand new CD > set in the mail and not being able to install via CD. So I'm not leaving > it up to chance anymore. I have a patch to make my drive work here: > > http://www.freebsd.org/~wpaul/ata-card.c.diff-5.1 > > I have no idea what the altio port remapping goop in ata_pccard_probe() > is supposed to accomplish, but I'm telling you all right now, it doesn't > work with my drive. I have specifically added to code to skip the > remapping for drives with the product string of "NinjaATA-" (the problem > with the Teac controller is that its vendor/product ID is 0xffff/0xffff, > so there's really no better way to indentify it). This patch changes > this: > > ata2: < NinjaATA-> at port 0x180-0x187,0x386-0x387 irq 9 function 0 config 33 on pccard0 > device_probe_and_attach: ata2 attach returned 6 > > Into this: > > ata2: < NinjaATA-> at port 0x180-0x187,0x386-0x387 irq 9 function 0 config 33 on pccard0 > acd0: CDROM <CD-224E> at ata2-master PIO4 Someone also broke the NVidia ata chip between 4.3 and 4.4. it too has remained broken.. I didn't know that nvidia made such things until I saw this machine.. You CAN boot if you force it to not allow DMA and only use PIO. > > Now, I'm sending out this notification that I _WILL_ check this patch in > before I leave the office today. I'm not asking for permission. I've been > waiting for half a dozen releases for this to get fixed. When 5.2-RELEASE > arrives in my mailbox, it _WILL_ install from CD-ROM on my laptop or so > help me I will find the responsible parties and force them to listen to > RMS sing "Free The Software" -- _live_ -- until their ears bleed. > > I have tested this patch. It compiles. It works. I can mount CDs > successfully and transfer stuff from them to my heart's content. I've > reduced the change down to the absolute minimum and insured that it > won't affect any other drives except mine. It's going in. Period. > I am not leaving it up for debate, because if I do, all that will > happen is that people will argue over what the more "correct" fix > should be, and at this point I _just_ _don't_ _care_. I want my > drive to work, and this does it. Understand? Good. > > This concludes my announcement. Thank you all for your attention. Don't > forget to tip the waitress. > > -Bill > > P.S.: Be sure to join us next time when I ream out whoever it was that > broke support for my 3Com 3c575C cardbus ethernet NIC. > > -- > ============================================================================= > -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu > wpaul_at_windriver.com | Wind River Systems > ============================================================================= > "If stupidity were a handicap, you'd have the best parking spot." > ============================================================================= > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Thu Jun 26 2003 - 12:07:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC