Somethings wrong with the parallel printing device.
All print jobs hang no matter if I'm using polled or IRQ driven
mode (using lptcontrol).
With a FreeBSD of today I get stray IRQ's 7 and when looking at the
IRQs I notice 20000-50000 (!!!) per second on a print job ...
One week ago everything was fine with printing ...
The print job alway hangs immediately or after about 10-30 seconds.
Am currently only using samba for remote printing.
The Windows binary data are directly sent to the printer via
or default printcap entry (currently no apsfilter in use).
Using polling mode didn't help and the printjob even hang at
the beginning of the printjob ...
BIOS setting is ECP+EPP.
kernel messages:
Copyright (c) 1992-2001 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.2-STABLE #0: Sat Feb 17 11:05:48 CET 2001
[EMAIL PROTECTED]:/usr/src/sys/compile/TITAN
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium Pro (199.43-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x619 Stepping = 9
Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory = 159383552 (155648K bytes)
avail memory = 151728128 (148172K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 15
IOAPIC #0 intpin 17 -> irq 11
IOAPIC #0 intpin 18 -> irq 10
IOAPIC #0 intpin 19 -> irq 14
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0303000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc030309c.
VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc02ac222 (1000022)
VESA: Matrox Graphics Inc.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> at device 7.1 on pci0
atapci0: Busmastering DMA not supported
pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 10.0
pcm0: <Creative EMU10K1> port 0x9400-0x941f irq 14 at device 11.0 on pci0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9c00-0x9c3f mem
0xe2000000-0xe20fffff,0xe2121000-0xe2121fff irq 10 at device 12.0 on pci0
fxp0: Ethernet address 00:d0:b7:ba:c1:c2
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xa000-0xa0ff mem 0xe2120000-0xe2120fff
irq 11 at device 13.0 on pci0
aic7880: Single Channel A, SCSI Id=7, 16/255 SCBs
atapci1: <Promise ATA100 controller> port
0xb400-0xb43f,0xb000-0xb003,0xac00-0xac07,0xa800-0xa803,0xa400-0xa407 mem
0xe2100000-0xe211ffff irq 15 at device 14.0 on pci0
ata2: at 0xa400 on atapci1
ata3: at 0xac00 on atapci1
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <4 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 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/15 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 970C> MLC,PCL,PML
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad4: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata2-master UDMA100
Waiting 8 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <TANDBERG TDC 4222 =07:> Removable Sequential Access SCSI-2 device
sa0: 4.807MB/s transfers (4.807MHz, offset 8)
Mounting root from ufs:/dev/ad4s2a
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <TOSHIBA CD-ROM XM-5701TA 3136> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <TEAC CD-R55S 1.0K> Removable CD-ROM SCSI-2 device
cd1: 10.000MB/s transfers (10.000MHz, offset 15)
cd1: Attempt to query device size failed: NOT READY, Medium not present
kernel config
machine i386
cpu I686_CPU
ident TITAN
maxusers 100
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
options PQ_NORMALCACHE # color for 64k/16k cache
options SHOW_BUSYBUFS # List buffers that prevent root unmount
options INCLUDE_CONFIG_FILE # Include this file in kernel
options INET #Internet communications protocols
options ICMP_BANDLIM #Rate limit bad replies
options MROUTING # Multicast routing
options IPSTEALTH #support for stealth forwarding
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=8000 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options SHMSEG=150 #recommendation for X11
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options KBD_INSTALL_CDEV #install a CDEV entry in /dev
device isa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
options ATA_STATIC_ID #Static device numbering
options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
# SCSI Controllers
device ahc # AHA2940 and onboard AIC7xxx devices
options AHC_ALLOW_MEMIO
# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device pt
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
options VESA
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
options MAXCONS=4 # number of virtual consoles
options SC_HISTORY_SIZE=512 # number of history buffer lines
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
#device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device vn #Vnode driver (turns a file into a device)
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
# Sound support
device pcm
Andreas ///
--
Andreas Klemm - Powered by FreeBSD 4.2 SMP
Need a magic printfilter today ? -> http://www.apsfilter.org/
PGP signature