From owner-freebsd-questions Tue Jun 6 14:19:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from slash.ab.videon.ca (slash.ab.videon.ca [206.75.216.210]) by hub.freebsd.org (Postfix) with ESMTP id 6C87537BAD1 for ; Tue, 6 Jun 2000 14:18:59 -0700 (PDT) (envelope-from cwasser@v-wave.com) Received: from area51 (area51.v-wave.com [24.108.26.39]) by slash.ab.videon.ca (8.9.2/8.9.2) with SMTP id PAA10960; Tue, 6 Jun 2000 15:18:08 -0600 (MDT) Message-Id: Date: Tue, 6 Jun 2000 15:18:10 -0600 X-Priority: 3 From: Chris Wasser X-Mailer: Mail Warrior To: bright@wintelcom.net, "" MIME-Version: 1.0 Subject: Re: Multiple LPT Ports: Second Posting Content-Type: Text/Plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit X-Mailer-Version: v3.57 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nah, no irq misassignment in my boxes. I always make sure each device has it's own IRQ that isn't shared (save for this LPT issue) so that's not it. I'll include a dmesg for thoroughness (no verbose output tho, just standard dmesg) Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #0: Thu Jun 1 13:43:21 MDT 2000 root@:/usr/src/sys/compile/DEEPTHOUGHT Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 551252036 Hz CPU: Pentium III/Pentium III Xeon (551.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 268435456 (262144K bytes) config> q avail memory = 258211840 (252160K bytes) Preloaded elf kernel "kernel" at 0xc02b5000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02b509c. VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc0264da2 (1000022) VESA: ATI MACH64 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ulpt0: vendor 0x0729 product 0x1284, rev 1.00/1.04, addr 2, iclass 7/1 chip1: port 0x5000-0x500f at device 7.3 on pci0 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xe0002000-0xe000207f irq 5 at device 9.0 on pci0 xl0: Ethernet address: 00:50:da:cc:f3:e0 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: port 0xe800-0xe8ff mem 0xe0000000- 0xe00000ff irq 9 at device 13.0 on pci0 dc0: Ethernet address: 00:a0:cc:32:eb:7c miibus1: on dc0 dcphy0: on miibus1 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 17.0 irq 3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port IP Filter: initialized. Default = pass all, Logging = enabled IP Filter: v3.3.8 ad0: 19609MB [39842/16/63] at ata0-master using UDMA33 ad1: 19609MB [39842/16/63] at ata0-slave using UDMA33 acd0: CDROM at ata1-master using UDMA33 Mounting root from ufs:/dev/ad0s1a lpt0: switched to polled standard mode Although, I have noticed alot of these: xl0: transmission error: 90 xl0: tx underrun, increasing tx start threshold to 120 bytes xl0: transmission error: 90 xl0: tx underrun, increasing tx start threshold to 180 bytes As well as TX Underruns for Linksys LNE100TX cards. Perhaps there is a h/w issue going on there, I read somewhere it may be bus contention (PCI 2.1 spec is enabled via BIOS) .. I did notice an improvement when I took out a ATI AGP video card and replaced it with a ATI PCI video card oddly enough, the TX underrun error warnings dropped from 5-6 warnings down to just 2 conducting the same tests (xferring a 7gb tarball across network) This board from the above dmesg is actually a Abit BE6-II with the HPT366 ATA-66 controller but I didn't enable it on this machine. On the other hand, since I started running one of my printers from USB (parallell to usb adapter), preformance on the printer has improved quite dramatically. Original message from: Alfred Perlstein >* Chris Wasser [000606 13:42] wrote: >> I'll try that (in all certainty, I should have realized >> this long ago) however, I do have a problem with >> parallel ports under BSD regardless as it is, it would >> seem that interrupt-mode doesn't play nicely with any of >> the ports I've tried (from 486-class all the way to >> Athlon) and the ports have to be put into polling mode >> otherwise they print so slowly, I can get out and walk >> faster so-to-speak. I've read somewhere that EPP mode >> produces the best results for printing under BSD, I've >> gone this route with onboard ports trying interrupt-mode >> but produces the same result. > >this reeks of an IRQ misassignment. > >-Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message