From owner-freebsd-current Tue May 20 14:25:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA27022 for current-outgoing; Tue, 20 May 1997 14:25:16 -0700 (PDT) Received: from rosie.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA27015 for ; Tue, 20 May 1997 14:25:12 -0700 (PDT) Received: from cola115.scsn.net ([206.25.247.115]) by rosie.scsn.net (Post.Office MTA v3.0 release 0121 ID# 0-32322U5000L100S10000) with ESMTP id AAA113; Tue, 20 May 1997 17:17:52 -0400 Received: (from root@localhost) by cola115.scsn.net (8.8.5/8.8.5) id RAA00256; Tue, 20 May 1997 17:24:54 -0400 (EDT) Message-ID: <19970520172453.44297@cola115.scsn.net> Date: Tue, 20 May 1997 17:24:53 -0400 From: "Donald J. Maddox" To: Poul-Henning Kamp Cc: current@freebsd.org Subject: Re: Problems with sio.c v.1.167 Reply-To: dmaddox@scsn.net References: <19970519165039.24661@cola94.scsn.net> <225.864110251@critter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <225.864110251@critter>; from Poul-Henning Kamp on Tue, May 20, 1997 at 08:37:31AM +0200 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Please try this patch. > Please try and report results & dmesg for sio3 both with and without > flags 0x20000 on sio3. Ok, with the patch it _does_ work with no flags, but it _does not_ work with flags 0x20000. Here's the dmesg output: ------------------------------------------------------------------------ (First, with no flags) ------------------------------------------------------------------------ Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Tue May 20 16:47:43 EDT 1997 root@rhiannon.scsn.net:/usr/src/sys/compile/RHIANNON CPU: Pentium (99.72-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x526 Stepping=6 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30932992 (30208K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0:0 chip1 rev 0 on pci0:7:0 chip2 rev 0 on pci0:7:1 ahc0 rev 0 int a irq 12 on pci0:11:0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0:A:0: refuses WIDE negotiation. Using 8bit transfers sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 49MB (102171 512 byte sectors) sd0: with 1219 cyls, 2 heads, and an average 41 sectors/track ahc0:A:1: refuses WIDE negotiation. Using 8bit transfers ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 507MB (1039329 512 byte sectors) sd1: with 2380 cyls, 6 heads, and an average 72 sectors/track vga0 rev 0 int a irq 11 on pci0:12:0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio3 at 0x2e8-0x2ef irq 9 on isa sio3: type 16550A pca0 on motherboard pca0: PC speaker audio driver wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa wdc0: unit 0 (wd0): , 32-bit, multi-block-32 wd0: 1277MB (2615760 sectors), 2595 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa wdc1: unit 0 (atapi): , removable, iordy atapi1.0: unknown phase fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: sbxvi0 at 0x220-0x22f irq 5 drq 5 on isa sbxvi0: sbmidi0 at 0x330-0x331 irq 5 on isa sbmidi0: opl0 at 0x388-0x38b irq 31 on isa opl0: joy0 at 0x201 on isa joy0: joystick ---------------------------------------------------------------------- (With flags=0x20000) ---------------------------------------------------------------------- Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Tue May 20 17:03:34 EDT 1997 root@rhiannon.scsn.net:/usr/src/sys/compile/RHIANNON CPU: Pentium (99.72-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x526 Stepping=6 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30932992 (30208K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0:0 chip1 rev 0 on pci0:7:0 chip2 rev 0 on pci0:7:1 ahc0 rev 0 int a irq 12 on pci0:11:0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0:A:0: refuses WIDE negotiation. Using 8bit transfers sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 49MB (102171 512 byte sectors) sd0: with 1219 cyls, 2 heads, and an average 41 sectors/track ahc0:A:1: refuses WIDE negotiation. Using 8bit transfers ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 507MB (1039329 512 byte sectors) sd1: with 2380 cyls, 6 heads, and an average 72 sectors/track vga0 rev 0 int a irq 11 on pci0:12:0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio3 at 0x2e8-0x2ef irq 9 flags 0x20000 on isa sio3: type 16550A lookalike with 141 bytes xmit-FIFO pca0 on motherboard pca0: PC speaker audio driver wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa wdc0: unit 0 (wd0): , 32-bit, multi-block-32 wd0: 1277MB (2615760 sectors), 2595 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa wdc1: unit 0 (atapi): , removable, iordy atapi1.0: unknown phase fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: sbxvi0 at 0x220-0x22f irq 5 drq 5 on isa sbxvi0: sbmidi0 at 0x330-0x331 irq 5 on isa sbmidi0: opl0 at 0x388-0x38b irq 31 on isa opl0: joy0 at 0x201 on isa joy0: joystick sio3: 65 events for device with no tp --------------------------------------------------------------------------- You'll notice that the 'XX events for device with no tp' start recurring when COM_BIGFIFO is enabled :-( FWIW, I _did_ open up the box and look at the modem card; it has an AT&T 16345 on it. -- Donald J. Maddox (dmaddox@scsn.net)