From owner-freebsd-stable Fri Jun 16 4:51:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mx7.mail.ru (mx7.mail.ru [194.67.23.44]) by hub.freebsd.org (Postfix) with ESMTP id 44F0E37B51B for ; Fri, 16 Jun 2000 04:51:48 -0700 (PDT) (envelope-from jaroshenko@mail.ru) Received: from [212.96.98.38] (helo=[212.96.98.38]) by mx7.mail.ru with esmtp (Exim 3.14 #4) id 132ueW-0007Jq-00; Fri, 16 Jun 2000 15:51:39 +0400 Date: Fri, 16 Jun 2000 15:53:27 +0400 (MSD) From: =?koi8-r?B?8dLP28XOy88g88XSx8XK?= X-Sender: jaroshenko@freebsd.merlin.ru To: =?iso-2022-jp?B?GyRCOWI2NhsoQiAbJEJEPkxvGyhC?= Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ATA Driver Problem In-Reply-To: <3949EF88.8D9AF36E@ff.iij4u.or.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try set the jumper (Master Slave Cable Select) on the ad4 and ad6 to "cable select". Then connect to one interface cabel ------------------------ <--- interface cabel | | | -------- -------- -------- | | | | | | | | | | | | -------- -------- -------- controller Slave Disk Master Disk May be help... On Fri, 16 Jun 2000, [iso-2022-jp] 高橋 直弥 wrote: > I have probrem on ATA Driver. > > System: > FreeBSD4.0 STABEL (cvsup & make world lastnight) > MailBoard : ABIT BP6 with on-board HPT366 ULTRA ATA Controler > Hard Drive : Maxtor 91152D8 at ata0-master using UDMA33 (ad0) > : Maxtor 54098U8 at ata2-master using UDMA66 > (ad4) > : Maxtor 54098U8 at ata3-master using UDMA66 > (ad6) > > ad0 have no problem > Write files to ad4 or ad6 is Ok. ( using `cp -r ...' from ad0 ) > Read for ad4 or ad6 is Ok ( taring to null device ) > but copy from ad4 to ad6 or form ad6 to ad4 or from ad4 to ad4 or from > ad6 to ad6 > hangs system. > if pio mode on ad4 and ad6 (by sysctl) message > > microuptime() went backwards (639.4341732 -> 638,857034) > microuptime() went backwards (639.4341732 -> 638,857187) > microuptime() went backwards (639.4341732 -> 638,857440) > microuptime() went backwards (639.4341732 -> 638,857897) > microuptime() went backwards (639.4341732 -> 638,858039) > microuptime() went backwards (639.4341732 -> 638,858465) > microuptime() went backwards (639.4341732 -> 638,858748) > microuptime() went backwards (639.4341732 -> 638,859016) > microuptime() went backwards (639.4341732 -> 638,859120) > microuptime() went backwards (639.4341732 -> 638,859301) > microuptime() went backwards (639.4341732 -> 638,859430) > microuptime() went backwards (639.4341732 -> 638,890516) > microuptime() went backwards (639.4341732 -> 638,890670) > microuptime() went backwards (639.4341732 -> 638,890948) > microuptime() went backwards (639.4341732 -> 638,891046) > microuptime() went backwards (639.4341732 -> 638,891131) > microuptime() went backwards (639.4341732 -> 638,891217) > microuptime() went backwards (639.4341732 -> 638,891307) > microuptime() went backwards (639.4341732 -> 638,891947) > microuptime() went backwards (639.4341732 -> 638,892525) > microuptime() went backwards (639.4341732 -> 638,892759) > microuptime() went backwards (639.4341732 -> 638,892906) > microuptime() went backwards (639.4341732 -> 638,893135) > microuptime() went backwards (639.4341732 -> 638,893671) > microuptime() went backwards (639.4341732 -> 638,895996) > microuptime() went backwards (639.4341732 -> 638,896134) > microuptime() went backwards (639.4341732 -> 638,896931) > microuptime() went backwards (639.4341732 -> 638,897419) > > display on console at once and reboot after few minute after. > and reboot process hang at fsck with message > > ad4: READ command timeout - reserring > ata2: resetting device .. > > Let me know how to fix or ways around this. > > Regards > > Naoya Takahashi > > > dmsg output : > > Copyright (c) 1992-2000 The FreeBSD Project. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > FreeBSD 4.0-STABLE #0: Fri Jun 16 09:40:52 JST 2000 > naoya@bsd_201.rem.co.jp:/usr/src/sys/compile/RE > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium II/Pentium II Xeon/Celeron (544.09-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x665 Stepping = 5 > > Features=0x183fbff > > real memory = 268369920 (262080K bytes) > avail memory = 256929792 (250908K bytes) > Programming 24 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > FreeBSD/SMP: Multiprocessor motherboard > cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 > cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 > io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 > Preloaded elf kernel "kernel" at 0xc0402000. > Pentium Pro MTRR support enabled > md0: Malloc disk > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on > pci0 > pci1: on pcib1 > pci1: at 0.0 irq 16 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xf000-0xf00f at device 7.1 > on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > uhci0: port 0xd000-0xd01f irq > 19 at device 7.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > Timecounter "PIIX" frequency 3579545 Hz > chip1: port 0x5000-0x500f at > device 7.3 on pci0 > vr0: port 0xd400-0xd47f mem > 0xd8000000-0xd800007f irq 19 at device 17.0 on pci0 > vr0: Ethernet address: 00:90:cc:01:8b:fc > miibus0: on vr0 > amphy0: on miibus0 > amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > vr0: supplying EUI64: 00:90:cc:ff:fe:01:8b:fc > atapci1: port > 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 18 at device 19.0 on pci0 > ata2: at 0xd800 on atapci1 > atapci2: port > 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 18 at device 19.1 on pci0 > ata3: at 0xe400 on atapci2 > isa0: too many dependant configs (8) > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on > isa0 > fdc0: FIFO enabled, 8 bytes threshold > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model Generic PS/2 mouse, device ID 0 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppi0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > plip0: on ppbus0 > adv1: Invalid baseport of 0x220 specified. Neerest valid baseport is > 0x230. Failing probe. > unknown0: