From owner-freebsd-current@FreeBSD.ORG Sun Apr 3 16:18:40 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F68C16A4CE for ; Sun, 3 Apr 2005 16:18:40 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3134743D54 for ; Sun, 3 Apr 2005 16:18:39 +0000 (GMT) (envelope-from emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 03 Apr 2005 16:18:37 -0000 Received: from flb.schmalzbauer.de (EHLO [172.21.1.254]) [62.245.232.135] by mail.gmx.net (mp012) with SMTP; 03 Apr 2005 18:18:37 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-current@freebsd.org Date: Sun, 3 Apr 2005 18:18:32 +0200 User-Agent: KMail/1.7.2 References: <424A9665.5050101@DeepCore.dk> <200504021711.55926@harrymail> <424FE9A6.9000900@DeepCore.dk> In-Reply-To: <424FE9A6.9000900@DeepCore.dk> X-Birthday: 10/06/72 X-CelPhone: +49 173 9967781 X-Tel: +49 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4146509.HorWARN1ET"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200504031818.43818@harrymail> X-Y-GMX-Trusted: 0 cc: =?iso-8859-1?q?S=F8ren_Schmidt?= Subject: Re: pri-slave not detected/cable error [Was: Re: HEADSUP: ATAmkIII has been committed] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2005 16:18:40 -0000 --nextPart4146509.HorWARN1ET Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag, 3. April 2005 15:03 schrieb S=F8ren Schmidt: > Emanuel Strobl wrote: > > Am Mittwoch, 30. M=E4rz 2005 14:07 schrieb S=F8ren Schmidt: > >>As pr subject make world is needed to get things in sync again. > >> > >>Let me know is there are problems / success stories.. > > > > Hi S=F8ren, > > > > -current doesn't detect my primary slave drive while RELENG_5 had no > > problem. When I connect the slave drive to the secondary port everything > > is fine. Also, if the slave drive is connected, ata reports that there's > > no 80pin cable, which is wrong. > > I just committed a fix for this one, please let me know if it helps.. Yeah, looks very good :) The primary slave disk is now detected, also the cable is correctly reporte= d=20 as 80pin. You can see the updated verbose boot mesages here: http://www.schmalzbauer.de/statics/silberbuechse/verbose_msg2_pri-slave.txt But also I get a panic with `atacontrol mode 0`, but not with `atacontrol m= ode=20 1` where no devices are connected to. Here's the trace (I posted a similar from a Geode box), additional ps resul= ts=20 are at=20 http://www.schmalzbauer.de/statics/silberbuechse/panic_ATAmkIII_atacontrol-= mode.txt test1://#29: atacontrol mode 1 Master =3D BIOSPIO Slave =3D BIOSPIO test1://#30: atacontrol mode 0 panic: vm_fault: fault on nofault entry, addr: deadc000 cpuid =3D 0 KDB: enter: panic [thread pid 588 tid 100070 ] Stopped at kdb_enter+0x32: leave db> trace Tracing pid 588 tid 100070 td 0xc2586730 kdb_enter(c08e0c22,0,c08fabeb,e7151a34,c2586730) at kdb_enter+0x32 panic(c08fabeb,deadc000,1,e7151b2c,e7151b1c) at panic+0x1b3 vm_fault(c1059000,deadc000,1,0,c2586730) at vm_fault+0x13f4 trap_pfault(deadc116,0,c08df276,c0944180,deadc116) at trap_pfault+0x92 trap(18,10,10,1,1) at trap+0x356 calltrap() at calltrap+0x5 =2D-- trap 0xc, eip =3D 0xc068ad76, esp =3D 0xe7151c3c, ebp =3D 0xe7151c3c = =2D-- device_is_attached(deadc0de,10,e7151c68,c069adb3,c09f5cd8) at=20 device_is_attached+0x6 ata_ioctl(c2357700,c4546101,c26c9800,3,c2586730) at ata_ioctl+0x22a devfs_ioctl_f(c25ce900,c4546101,c26c9800,c26ba780,c2586730) at=20 devfs_ioctl_f+0x78 ioctl(c2586730,e7151d14,c,1,3) at ioctl+0x11e syscall(2f,2f,2f,804a3fa,bfbfee04) at syscall+0x13d Xint0x80_syscall() at Xint0x80_syscall+0x1f =2D-- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x280bfa4f, esp =3D 0xbfb= fe7ac,=20 ebp =3D 0xbfbfecec --- db> show alllocks Process 588 (atacontrol) thread 0xc2586730 (100070) exclusive sleep mutex system map r =3D 0 (0xc1059384) locked=20 @ /usr/src/sys/vm/vm_map.c:2998 exclusive sleep mutex Giant r =3D 0 (0xc09a82a0) locked=20 @ /usr/src/sys/fs/devfs/devfs_vnops.c:507 --nextPart4146509.HorWARN1ET Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCUBdjBylq0S4AzzwRAqjCAJ0TUN68Q2b3J2MXQf0/wjZL+LABGgCeNba7 8JK3YG/SI2PpK75sHg2A/Ac= =0+/6 -----END PGP SIGNATURE----- --nextPart4146509.HorWARN1ET--