From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 15:21:24 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92FBD16A4CE for ; Tue, 26 Apr 2005 15:21:24 +0000 (GMT) Received: from web20925.mail.yahoo.com (web20925.mail.yahoo.com [216.136.224.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 435B043D5C for ; Tue, 26 Apr 2005 15:21:24 +0000 (GMT) (envelope-from dr_sandor_zoltan@yahoo.com) Received: (qmail 64697 invoked by uid 60001); 26 Apr 2005 15:21:24 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=mokB3NRAK7L6imGvoUv5GO5q7jHrsZRINDpbrbQLqRjoUa48HN9VDcq6KHlYNr9lV1/i03NXmoRo+994zL1l7tLJVEZf6/C/2vMqju936djc3RteqW0ZXCTkJ3mYMLzjoUrC8bl2HA5+LGn+vHhv9IQLWnlXt56kMi72kH1dl0E= ; Message-ID: <20050426152124.64695.qmail@web20925.mail.yahoo.com> Received: from [193.6.63.109] by web20925.mail.yahoo.com via HTTP; Tue, 26 Apr 2005 08:21:24 PDT Date: Tue, 26 Apr 2005 08:21:24 -0700 (PDT) From: zoltan sandor To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: harddisk problem in the 5.x series X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 15:21:24 -0000 Hi everybody! I have the following problem. I moved my system from FreeBSD 4.11 to 5.4-RC3 by reinstalling everything. The 4.11 system had no problem finding my MAXTOR hard disk as ad3 as slave on the secondary IDE behind the CDROM. The new 5.4 system indicates a lot of errors, but finally accepts it and everything just works fine. If I remove the hard drive the CDROM is recognised without problems. My guess is that the system tries to use higher PIO mode on the disk than it is good for or something like that. Can anybody explain how I can tune the kernel to avoid the error messages? (BTW I have a GENERIC kernel.) dmesg messages from the 4.11 and the 5.4-RC3 versions are below. Thanks in advance Zoltan ---------------------------------------- Relevant parts of the dmesg from the 4.11-RELEASE version. FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:27:16 GMT 2005 .... atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 .... ad0: 3098MB [6296/16/63] at ata0-master WDMA2 ad1: 28629MB [58168/16/63] at ata0-slave WDMA2 ad3: 6149MB [13328/15/63] at ata1-slave WDMA2 acd0: CD-R at ata1-master PIO3 ---------------------------------------- Relevant parts of the dmesg from 5.4-RC3 FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC .... atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 .... ad0: 3098MB [6296/16/63] at ata0-master WDMA2 ad1: 28629MB [58168/16/63] at ata0-slave WDMA2 ata1-master: timeout sending command=ef ata1-master: error issueing SETFEATURES SET TRANSFER MODE command ata1-master: timeout sending command=ef ata1-master: error issueing SETFEATURES SET TRANSFER MODE command ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out ata1-master: timeout sending command=ef ata1-master: error issueing SETFEATURES SET TRANSFER MODE command ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: CDROM at ata1-master BIOSPIO acd0: timeout sending command=ef acd0: error issueing SETFEATURES SET TRANSFER MODE command ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command ad3: FAILURE - SETFEATURES ENABLE RCACHE timed out acd0: timeout sending command=ef acd0: error issueing SETFEATURES SET TRANSFER MODE command ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command ad3: FAILURE - SETFEATURES ENABLE WCACHE timed out acd0: timeout sending command=ef acd0: error issueing SETFEATURES SET TRANSFER MODE command ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command ad3: FAILURE - SET_MULTI timed out ad3: 6149MB [13328/15/63] at ata1-slave BIOSPIO ad3: TIMEOUT - READ retrying (2 retries left) LBA=12594897 acd0: timeout sending command=ef acd0: error issueing SETFEATURES SET TRANSFER MODE command ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command ad3: TIMEOUT - READ retrying (1 retry left) LBA=12594897 acd0: timeout sending command=ef acd0: error issueing SETFEATURES SET TRANSFER MODE command ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=ef acd0: error issueing SETFEATURES SET TRANSFER MODE command ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out ad3: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command ad3: FAILURE - READ timed out acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command acd0: timeout sending command=a0 acd0: error issuing ATA PACKET command Mounting root from ufs:/dev/ad0s1a __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com