Date: Thu, 22 May 1997 19:50:51 -0400 From: "Donald J. Maddox" <root@cola33.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: <19970522195051.28062@cola33.scsn.net> In-Reply-To: <534.864291619@critter>; from Poul-Henning Kamp on Thu, May 22, 1997 at 11:00:19AM %2B0200 References: <19970520172453.44297@cola115.scsn.net> <534.864291619@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 22, 1997 at 11:00:19AM +0200, Poul-Henning Kamp wrote: > can you try this version too ? > same as above just a couple of minor tweaks. > > Poul-Henning > > Index: sio.c <patch snipped> Done. Below is the dmesg output with and without FLAGS=0x20000. You will notice that, with the new patch, I no longer get the 'sio3: 65 events for device with no tp' messages; unfortunately, however, the device still does not work correctly. If I try to make a PPP connection to my ISP, the modem dials, the chat proceeds (almost - see below) normally, but it seems to fail to negotiate the PPP link. Here is a snippet of my ppp.log: 05-22 19:12:40 [155] sending: ATE1Q0 05-22 19:12:40 [155] Expecting OK-AT-OK 05-22 19:12:40 [155] Wait for (5): OK --> OK 05-22 19:12:40 [155] Chat: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 05-22 19:12:40 [155] Chat: OK This string of 'ZZZZ's is abnormal. This connection attempt (and _all_ connection attempts with FLAGS=0x20000) failed. ----------------------- (dmesg w/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: Thu May 22 19:08:18 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 ------------------ (dmesg w/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: Thu May 22 19:25:27 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 -- Donald J. Maddox (dmaddox@scsn.net)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970522195051.28062>