From owner-freebsd-current Tue Jan 25 23:22: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from es-i2.fernuni-hagen.de (ES-i2.fernuni-hagen.de [132.176.7.81]) by hub.freebsd.org (Postfix) with ESMTP id 903A514EFE for ; Tue, 25 Jan 2000 23:20:53 -0800 (PST) (envelope-from fritz.heinrichmeyer@fernuni-hagen.de) Received: from fernuni-hagen.de (jfh00.fernuni-hagen.de [132.176.7.6]) by es-i2.fernuni-hagen.de (8.9.3/8.9.3) with ESMTP id IAA29193; Wed, 26 Jan 2000 08:20:50 +0100 (CET) (envelope-from fritz.heinrichmeyer@fernuni-hagen.de) Message-ID: <388EA051.F6DC479B@fernuni-hagen.de> Date: Wed, 26 Jan 2000 08:20:49 +0100 From: "F. Heinrichmeyer" Organization: FernUni in Hagen X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: German/Germany, de-DE, en MIME-Version: 1.0 Cc: current@FreeBSD.ORG Subject: Re: My ATAPI CD not come ready, (.. and no sound with cmi8330) References: <200001252222.XAA83537@freebsd.dk> <388E8469.322DF6AF@freenet.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Last weekend i tried patches from Soren Schmidt to reactivate my old cdrom which went away after the ata-update around the 18. January. This patches completely broke ata support for me (that means the kernel did not boot anymore). Of course i reported this one or two days later. Now an equivalent variant (while loop instead of goto in ata_getparam , ata-all.c,v 1.43) is committed and surprise, the new kernel does not boot anymore. The following i had to write down to paper: ata0-slave: ata_command: timeout waiting for intr ata0-slave: identify failed ata0-master: timeout waiting to give command=ec s=90 e=00 ata0-master: identify failed .... no way to mount root .. After booting with a 17. January-Kernel i reverted the retry logic in ata_getparam and had a kernel that booted again but did not recognize my cdrom drive, here are lines from dmesg (some lines show detection of the on board soundcard but this is not related to it, i get the same result when i patch sound/isa/mss.c and sound/isa/sbc.c to switch the card to sb-mode): Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (262.36-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 .... ata-pci0: port 0x4000-0x400f,0x2000-0x2003,0x80400000-0x80400007,\ 0xcc880a4-0xcc880a7,0x2143200-0x2143207 \ irq 0 at device 1.1 on pci0 ata0 at 0x01f0 irq 14 on ata-pci0 .... pcm0: at port 0x530-0x537,0x388-0x38f irq 5 drq 0 on isa0 device_probe_and_attach: pcm0 attach returned 6 unknown0: at port 0x330-0x331 irq 9 on isa0 unknown1: at port 0x200-0x207 on isa0 unknown2: at port 0x220-0x22f irq 10 drq 1,5 on isa0 and now the failure in detection of the ata0-slave: ata_command(scp, device, command, 0, 0, 0, 0, 0, ATA_WAIT_INTR) returned with 0, but ata_wait(scp, device, ATA_S_READY|ATA_S_DSC|ATA_S_DRQ) returned with nonzero value, and so ata_getparam with -1. At last ad0 was made successfully: ad0: 14664MB disk at ata0 as master mode UDMA33 -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message