Date: Tue, 6 Jun 2000 15:18:10 -0600 From: Chris Wasser <cwasser@v-wave.com> To: bright@wintelcom.net, "" <freebsd-questions@freebsd.org> Subject: Re: Multiple LPT Ports: Second Posting Message-ID: <SAK.2000.06.06.ocsfgcdh@area51>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA, CMOV,PAT,PSE36,MMX,FXSR,XMM> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 10 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> 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: <MII bus> on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xe800-0xe8ff mem 0xe0000000- 0xe00000ff irq 9 at device 13.0 on pci0 dc0: Ethernet address: 00:a0:cc:32:eb:7c miibus1: <MII bus> on dc0 dcphy0: <Intel 21143 NWAY media interface> on miibus1 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <ATI Mach64-GV graphics accelerator> at 17.0 irq 3 fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port IP Filter: initialized. Default = pass all, Logging = enabled IP Filter: v3.3.8 ad0: 19609MB <QUANTUM FIREBALLP KX20.5> [39842/16/63] at ata0-master using UDMA33 ad1: 19609MB <QUANTUM FIREBALLP KX20.5> [39842/16/63] at ata0-slave using UDMA33 acd0: CDROM <ASUS CD-S500/A> 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 <cwasser@v-wave.com> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2000.06.06.ocsfgcdh>