From owner-freebsd-hackers Wed Jun 3 10:08:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17454 for freebsd-hackers-outgoing; Wed, 3 Jun 1998 10:08:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fang.cs.sunyit.edu (perlsta@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17442 for ; Wed, 3 Jun 1998 10:08:48 -0700 (PDT) (envelope-from perlsta@fang.cs.sunyit.edu) Received: from localhost (perlsta@localhost) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id MAA26032; Wed, 3 Jun 1998 12:08:50 GMT Date: Wed, 3 Jun 1998 12:08:50 +0000 (GMT) From: Alfred Perlstein To: Sergey Shkonda cc: hackers@FreeBSD.ORG Subject: Re: kernel bug In-Reply-To: <199806030527.IAA25414@bcs3.bcs.zaporizhzhe.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG there is no atapi watchdog code, meaning if the atapi driver wedges you are kinda out of luck. in my clueless search for something to do i've been looking at this and comparing it to linux code for atapi handling, but um, i kinda stink at this. someone said they'd fix it sooner or later. from what i see the problem is that if anything tries to reset an atapi device all it does is call the bus_wait command on the bus or something, not very effective. and there is no timer or anything to make sure atapi requests are working or not. -Alfred On Wed, 3 Jun 1998, Sergey Shkonda wrote: > I have BIG problem with xmcd 2.3 player: > Disk i/o stopped when I press 'play' button. > > I think, It's wdc, wcd or atapi bug. > Can anybody help me to correct this problem ? > > > >FreeBSD 2.2.6-RELEASE #1: Tue May 5 22:09:45 EEST 1998 > root@bcs3.bcs.zaporizhzhe.ua:/var/scratch/src/sys/compile/BCS > CPU: AMD-K6tm w/ multimedia extensions (166.45-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x562 Stepping=2 > Features=0x8001bf > real memory = 33554432 (32768K bytes) > avail memory = 30859264 (30136K bytes) > Probing for devices on PCI bus 0: > chip0 rev 1 on pci0:0:0 > chip1 rev 1 on pci0:7:0 > chip2 rev 1 on pci0:7:1 > chip3 rev 1 int d irq 11 on pci0:7:2 > chip4 rev 1 on pci0:7:3 > ed0 rev 0 int a irq 10 on pci0:9:0 > ed0: address 00:4f:49:02:eb:17, type NE2000 (16 bit) > vga0 rev 22 int a irq 9 on pci0:10:0 > ed1 rev 10 int a irq 12 on pci0:11:0 > ed1: address 00:80:48:fd:eb:a0, type NE2000 (16 bit) > ed2 rev 0 int a irq 11 on pci0:12:0 > ed2: address 00:40:95:00:52:f0, type NE2000 (16 bit) > Probing for devices on the ISA bus: > sc0 at 0x60-0x6f irq 1 flags 0x2 on motherboard > sc0: VGA color <13 virtual consoles, flags=0x2> > lpt0 at 0x378-0x37f irq 7 on isa > lpt0: Interrupt-driven port > lp0: TCP/IP capable interface > sio0 at 0x3f8-0x3ff irq 4 on isa > sio0: type 16550A > sio1 at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa > wdc0: unit 0 (wd0): , 32-bit, multi-block-16 > wd0: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S > wdc0: unit 1 (atapi): , removable, intr, dma, iordy > wcd0: 343/3445KB/sec, 382KB cache, audio play, 255 volume levels, ejectable tray > wcd0: 120mm audio disc loaded, unlocked > wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa > wdc1: unit 0 (wd2): , 32-bit, multi-block-16 > wd2: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > fdc0: FIFO enabled, 8 bytes threshold > fd0: 1.44MB 3.5in > fd1: 1.2MB 5.25in > npx0 on motherboard > npx0: INT 16 interface > > -- > Sergey Shkonda (serg@bcs.zaporizhzhe.ua) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message