USB versus SMP and Epson printers (again).

Frank Mayhar frank at exit.com
Thu Aug 7 12:46:04 PDT 2003


I sent this to -hackers and was met with resounding utter, profound silence.
Maybe it will be better targeted here, instead.

On Monday I received my brand-new Epson C82 printer, a replacement for a
900N with a dead print head.  I had already configured CUPS so I imagined
that I would just hook it up with USB and everything would be happy.

Well, that's not quite how it turned out.

I tried two different machines, both with Tyan dual-CPU motherboards.  One
is a Thunder 2500 (S1867) with dual PIII 866, my gateway/fax/server
box and the one I preferred.  The other is my main desktop box, a Tiger
MPX (2466N-4M) with dual Athlon MP 1900+.  Both displayed essentially
the same problem, although the Tiger MPX seemed to come a little bit
closer to working than the Thunder 2500.

Basically, although usbdevs would show the device, when I tried to do,
say, an 'escputil -s -r /dev/ulpt0' (to show the ink levels), the process
would seem to send something to the printer (I say "seem to" because I
saw no evidence of it on the printer side), then sit in the USB code
forever, timing out and looping.

On the Tiger MPX I did see the "port disabled" message when I connected
the printer (although nothing when I disconnected it).  The Thunder 2500
didn't do that much.

I've attached the dmesg from the Thunder 2500; I don't have one handy
for the MPX.  If anyone can give me any hints about this, I would be
very grateful.  Thanks.
-- 
Frank Mayhar frank at exit.com	http://www.exit.com/
Exit Consulting                 http://www.gpsclock.com/
                                http://www.exit.com/blog/frank/
-------------- next part --------------
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.8-STABLE #1: Mon Aug  4 14:54:45 PDT 2003
    frank at tinker.exit.com:/usr/src/sys/compile/TINKER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (868.64-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2147483648 (2097152K bytes)
avail memory = 2087452672 (2038528K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0406000.
Pentium Pro MTRR support enabled
Using $PIR table, 12 entries at 0xc00fdf00
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 13 -> irq 2
IOAPIC #1 intpin 12 -> irq 16
IOAPIC #1 intpin 0 -> irq 17
IOAPIC #1 intpin 2 -> irq 18
IOAPIC #1 intpin 4 -> irq 19
IOAPIC #1 intpin 7 -> irq 20
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x1166, dev=0x0005) at 0.1
sym0: <896> port 0xf800-0xf8ff mem 0xfeafe000-0xfeafffff,0xfeaf8c00-0xfeaf8fff irq 2 at device 1.0 on pci0
sym0: Symbios NVRAM, ID 7, Fast-40, SE, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym1: <896> port 0xf400-0xf4ff mem 0xfeafc000-0xfeafdfff,0xfeaf8800-0xfeaf8bff irq 16 at device 1.1 on pci0
sym1: Symbios NVRAM, ID 7, Fast-40, SE, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
pci0: <unknown card> (vendor=0x11cb, dev=0x2000) at 3.0 irq 17
tl0: <Compaq Netelligent 10/100> port 0xfc90-0xfc9f mem 0xfeafbc00-0xfeafbc0f irq 18 at device 4.0 on pci0
tl0: Ethernet address: 00:08:c7:b1:93:c3
miibus0: <MII bus> on tl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0: <ThunderLAN 10baseT media interface> on miibus0
tlphy0:  10base2/BNC, 10base5/AUI
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xfca0-0xfcbf mem 0xfe800000-0xfe8fffff,0xfceff000-0xfcefffff irq 19 at device 5.0 on pci0
fxp0: Ethernet address 00:90:27:1c:5e:6a
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xfcc0-0xfcff mem 0xfe900000-0xfe9fffff,0xfeaf7000-0xfeaf7fff irq 20 at device 7.0 on pci0
fxp1: Ethernet address 00:e0:81:01:ff:6c
inphy1: <i82555 10/100 media interface> on miibus2
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Unknown PCI ATA controller> at 15.1
ohci0: <OHCI (generic) USB controller> mem 0xfeaf6000-0xfeaf6fff irq 17 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ServerWorks HE host to PCI bridge> on motherboard
IOAPIC #1 intpin 1 -> irq 21
pci1: <PCI bus> on pcib1
pci1: <NVidia GeForce DDR graphics accelerator> at 0.0 irq 21
pcib2: <ServerWorks HE host to PCI bridge> on motherboard
IOAPIC #1 intpin 8 -> irq 22
IOAPIC #1 intpin 10 -> irq 23
pci2: <PCI bus> on pcib2
tl1: <Compaq Netelligent 10/100> port 0xf0b0-0xf0bf mem 0xefeffc00-0xefeffc0f irq 22 at device 1.0 on pci2
tl1: Ethernet address: 00:08:c7:28:52:93
miibus3: <MII bus> on tl1
nsphy1: <DP83840 10/100 media interface> on miibus3
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy1: <ThunderLAN 10baseT media interface> on miibus3
tlphy1:  10base2/BNC, 10base5/AUI
fxp2: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xf040-0xf07f mem 0xefec0000-0xefedffff,0xefefe000-0xefefefff irq 23 at device 2.0 on pci2
fxp2: Ethernet address 00:02:b3:33:59:5f
inphy2: <i82555 10/100 media interface> on miibus4
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xcb000-0xcefff,0xcf000-0xd07ff on isa0
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
aha0 at port 0x330-0x333 irq 11 drq 5 on isa0
aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
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 <4 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <EPSON Stylus C82> PRINTER ESCPL2,BDC,D4
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (011031)
IPsec: Initialized Security Association Processing.
Waiting 8 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
SMP: AP CPU #1 Launched!
pass5 at aha0 bus 0 target 5 lun 0
pass5: <UMAX Astra 2400S V1.1> Fixed Scanner SCSI-2 device 
pass5: 3.300MB/s transfers
da0 at sym0 bus 0 target 0 lun 0
da0: <QUANTUM XP32275W LXY4> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
da1 at sym0 bus 0 target 1 lun 0
da1: <QUANTUM XP32275W LXY4> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
da4 at sym0 bus 0 target 4 lun 0
da4: <COMPAQ MAB3091SC 0814> Fixed Direct Access SCSI-2 device 
da4: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da4: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C)
cd0 at sym1 bus 0 target 6 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1037> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/da0s1a
da3 at sym0 bus 0 target 3 lun 0
da3: <IBM DORS-32160W   !# WA3E> Fixed Direct Access SCSI-2 device 
da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da3: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)


More information about the freebsd-smp mailing list