From owner-freebsd-current Wed Mar 3 23:49:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 71D4714D5F for ; Wed, 3 Mar 1999 23:49:29 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id XAA16519; Wed, 3 Mar 1999 23:40:43 -0800 (PST) Received: from s204m82.isp.whistle.com(207.76.204.82) via SMTP by alpo.whistle.com, id smtpds16517; Thu Mar 4 07:40:39 1999 Date: Wed, 3 Mar 1999 23:40:20 -0800 (PST) From: Julian Elischer X-Sender: julian@s204m82.isp.whistle.com To: Brian Feldman Cc: current@FreeBSD.ORG Subject: Re: ATA not quite peachy In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oi! If you have softupdates on the LS120 drive, be aware that soft updates has been known to have odd behaviour with some drive types (e.g. IDE drives in 1-(non-multiblock) block mode, and floppy drives. I wouldn't be surprised if LS120 drives had the capacity to confuse softupdates.. julian On Thu, 4 Mar 1999, Brian Feldman wrote: > After testing out the new ATA drivers, I've only got a single problem. My > box locked up while accessing the LS-120 (and, seemingly, swapping): > > Mar 4 00:20:02 green /kernel: atapi_transfer: bad command phase > Mar 4 00:20:33 green /kernel: swap_pager: indefinite wait buffer: device: > 0x20019, blkno: 2800, size: 8192 > > I think what was going on was a second read transfer was trying to occur > while one was already going, and something wrong happened with the code or > bus, with the drive light staying on, so the swapper timed out trying to > access the hdd. > > Hope someone can help with this; for now I'm using the old wd/wfd/acd. > > The current system: > Copyright (c) 1992-1999 FreeBSD Inc. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > FreeBSD 4.0-CURRENT #65: Wed Mar 3 19:31:00 EST 1999 > green@green.dyn.ez-ip.net:/usr/src/sys/compile/FELDMAN > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD-K6(tm) 3D processor (300.68-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x58c Stepping=12 > Features=0x8021bf > real memory = 67108864 (65536K bytes) > avail memory = 62337024 (60876K bytes) > Bad DMI table checksum! > Preloaded elf kernel "kernel" at 0xf02b2000. > Probing for devices on PCI bus 0: > chip0: rev 0x04 on pci0.0.0 > chip1: rev 0x04 on pci0.1.0 > ohci0: rev 0x03 int a irq > 10 on > pci0.2.0 > usb0: OHCI version 1.0, legacy support > alpm0: rev 0x00 on pci0.3.0 > chip2: rev 0xb4 on pci0.7.0 > ata-pci0: rev 0x20 int a irq 0 on > pci0.15.0 > ata0 at 0x01f0 irq 14 on ata-pci0 > ata1 at 0x0170 irq 15 on ata-pci0 > vga0: rev 0x01 int a irq 0 on > pci0.18.0 > Probing for devices on PCI bus 1: > Probing for PnP devices: > Probing for devices on the ISA bus: > sc0 on isa > sc0: VGA color <16 virtual consoles, flags=0x0> > atkbdc0 at 0x60-0x6f on motherboard > atkbd0 irq 1 on isa > psm0 irq 12 on isa > psm0: model Generic PS/2 mouse, device ID 0 > sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa > sio0: type 16550A > sio1 at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > ppc0 at 0x378 irq 7 drq 3 on isa > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/1 bytes threshold > plip0: on ppbus 0 > lpt0: on ppbus 0 > lpt0: Interrupt-driven port > ppi0: on ppbus 0 > lppps0: on ppbus 0 > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > sb0 at 0x220 irq 5 drq 1 on isa > snd0: > sbxvi0 at drq 6 on isa > snd0: > sbmidi0 at 0x330 on isa > snd0: > opl0 at 0x388 on isa > snd0: > joy0 at 0x201 on isa > joy0: joystick > vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa > npx0 on motherboard > npx0: INT 16 interface > apm0 on isa > apm: found APM BIOS version 1.2 > usb0: > uhub0 at usb0 > uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > alsmb0: > smbus0: on alsmb0 > smb0: on smbus0 > IP packet filtering initialized, divert enabled, rule-based forwarding > enabled, > default to accept, logging disabled > DUMMYNET initialized (980901) -- size dn_pkt 48 > ad0: ATA-? disk at ata0 as master > ad0: 1554MB (3184170 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S > ad0: 16 secs/int, 0 depth queue > ad3: ATA-? disk at ata1 as slave > ad3: 1554MB (3184170 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S > ad3: 16 secs/int, 0 depth queue > acd0: CDROM drive at ata0 as slave > acd0: drive speed 2067KB/sec, 128KB cache > acd0: supported read types: CD-R, CD-DA > acd0: Audio: play, 16 volume levels > acd0: Mechanism: ejectable tray > acd0: Medium: no/blank disc inside, unlocked > afd0: rewriteable drive at ata1 as > master > afd0: 120MB (246528 sectors), 963 cyls, 8 heads, 32 S/T, 512 B/S > afd0: Unknown media (0x0) > changing root device to ad0s1a > WARNING: / was not properly dismounted > ffs_mountfs: superblock updated for soft updates > ffs_mountfs: superblock updated for soft updates > ffs_mountfs: superblock updated for soft updates > > Brian Feldman _ __ ___ ___ ___ > green@unixhelp.org _ __ ___ | _ ) __| \ > http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | > FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message