FreeBSD Port: cups-base-1.1.22.0

Mikhail V.Paremski mparem at paremski.us
Mon Dec 6 19:04:57 PST 2004


Hi Sergey,

Thank you for responce.
I attached dmesg and pciconf.
echo '123' > /dev/lpt0 does not do anythig. Possible problem is bacause 
Samsung ML-4500 is nor PS nor PCL but GDI printer.

Regards,
Mikhail.

On Sunday 05 December 2004 02:16 pm, Sergey Akifyev wrote:
> On вс, 2004-12-05 at 11:38 -0800, mparem at paremski.us wrote:
> > Hi,
> >
> > I've just installed FreeBSD-5.3 with CUPS on my AMD XP 2200+ box with
> > K7VTA3 m/b + Samsung ML-4500 laser printer. Everything works fine except
> > fist printer job. When I do my first printout after boot, it looks like
> > CUPS tries to print, but nothing get printed. "Data" LED starts flashing
> > on the printer, on CUPS's "manage printers" page I can see:
> >
> > Printer State: processing, accepting jobs.
> >
> > On system console "Interrupt storm detected on "irq7: lpt0"; throttling
> > interrupt source" happenning. In /var/log/cups/error_log I have:
>
> Could you send me your `dmesg` and `pciconf -lv` output? I suspect this
> is lpt driver problem (most likely conflicting irq).
>
> BTW, could you try to `echo '123' > /dev/lpt0` (printer can start
> printing this string) just after boot (instead of your first page)?
> Then, try to print via CUPS.
-------------- next part --------------
-bash-3.00$ dmesg
Copyright (c) 1992-2004 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 5.3-RELEASE #1: Sun Nov  7 22:14:37 PST 2004
    root at parcom3.paremski.us:/usr/obj/usr/src/sys/PARCOM3
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm)  (1347.71-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 515624960 (491 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 11 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 3 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: OmniVision Technologies, Inc. USB Camera, rev 1.10/1.02, addr 2
uhci2: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0xdc00-0xdc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: <VIA VT8235> port 0xe000-0xe0ff irq 10 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <VIA Technologies VIA1612A AC97 Codec>
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe800-0xe8ff mem 0xe2001000-0xe20010ff irq 11 at device 18.0 on pci0
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0d:87:9c:d9:7d
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> flags 0x200 irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcf7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 1347708248 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 78533MB <IC35L080AVVA07-0/VA4OA52A> [159560/16/63] at ata0-master UDMA100
acd0: CDRW <LITE-ON LTR-52246S/6S0D> at ata1-master UDMA33
acd1: DVDROM <ATAPI DVD-ROM/2,12> at ata1-slave UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <LITE-ON LTR-52246S 6S0D> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 1 lun 0
cd1: <ATAPI DVD-ROM STAR2000 2,12> Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s3a
-bash-3.00$ 
-------------- next part --------------
-bash-3.00$ pciconf -lv
agp0 at pci0:0:0:  class=0x060000 card=0x18411019 chip=0x30991106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8366/A,VT8367 Apollo KT266/A,KT333 CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000080 chip=0xb0991106 rev=0x00 hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8366/A,VT8367 Apollo KT266/A,KT333 PCI to AGP Bridge'
    class    = bridge
    subclass = PCI-PCI
uhci0 at pci0:16:0:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x80 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci1 at pci0:16:1:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x80 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci2 at pci0:16:2:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x80 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
none0 at pci0:16:3:        class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x82 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT6202 USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
isab0 at pci0:17:0:        class=0x060100 card=0x18411019 chip=0x31771106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8235 PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0 at pci0:17:1:      class=0x01018a card=0x05711106 chip=0x05711106 rev=0x06 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
pcm0 at pci0:17:5: class=0x040100 card=0x18411019 chip=0x30591106 rev=0x50 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
    class    = multimedia
    subclass = audio
vr0 at pci0:18:0:  class=0x020000 card=0x01021106 chip=0x30651106 rev=0x74 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
    class    = network
    subclass = ethernet
none1 at pci1:0:0: class=0x030000 card=0x042210b0 chip=0x018510de rev=0xc1 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'NV18.6? GeForce4 MX 4000'
    class    = display
    subclass = VGA
-bash-3.00$


More information about the freebsd-ports mailing list