Date: Tue, 20 May 1997 17:24:53 -0400 From: "Donald J. Maddox" <dmaddox@scsn.net> To: Poul-Henning Kamp <phk@dk.tfs.com> Cc: current@freebsd.org Subject: Re: Problems with sio.c v.1.167 Message-ID: <19970520172453.44297@cola115.scsn.net> In-Reply-To: <225.864110251@critter>; from Poul-Henning Kamp on Tue, May 20, 1997 at 08:37:31AM %2B0200 References: <19970519165039.24661@cola94.scsn.net> <225.864110251@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
> Please try this patch. > Please try and report results & dmesg for sio3 both with and without > flags 0x20000 on sio3. <patch snipped> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 30932992 (30208K bytes) Probing for devices on PCI bus 0: chip0 <Intel 82439> rev 1 on pci0:0:0 chip1 <Intel 82371SB PCI-ISA bridge> rev 0 on pci0:7:0 chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1 ahc0 <Adaptec 2940 Ultra SCSI host adapter> 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: <QUANTUM LP52S 510019310 2.6E> 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: <FUJITSU M2684S-512 2036> 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 <VGA-compatible display device> 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): <Maxtor 71336 AP>, 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): <V004H0DT B/4V001-4.>, 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: <SoundBlaster 16 4.13> sbxvi0 at 0x220-0x22f irq 5 drq 5 on isa sbxvi0: <SoundBlaster 16 4.13> sbmidi0 at 0x330-0x331 irq 5 on isa sbmidi0: <SoundBlaster 16 MPU-401> opl0 at 0x388-0x38b irq 31 on isa opl0: <Yamaha OPL-3 FM> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 33554432 (32768K bytes) avail memory = 30932992 (30208K bytes) Probing for devices on PCI bus 0: chip0 <Intel 82439> rev 1 on pci0:0:0 chip1 <Intel 82371SB PCI-ISA bridge> rev 0 on pci0:7:0 chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1 ahc0 <Adaptec 2940 Ultra SCSI host adapter> 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: <QUANTUM LP52S 510019310 2.6E> 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: <FUJITSU M2684S-512 2036> 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 <VGA-compatible display device> 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): <Maxtor 71336 AP>, 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): <V004H0DT B/4V001-4.>, 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: <SoundBlaster 16 4.13> sbxvi0 at 0x220-0x22f irq 5 drq 5 on isa sbxvi0: <SoundBlaster 16 4.13> sbmidi0 at 0x330-0x331 irq 5 on isa sbmidi0: <SoundBlaster 16 MPU-401> opl0 at 0x388-0x38b irq 31 on isa opl0: <Yamaha OPL-3 FM> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970520172453.44297>