While fooling around with /dev/lpt0, I am able to make the GENERIC 3.7
kernel go into panic mode.  Should I fill-in a report or is this a known
and accepted behavior (lpt0 is connected to a hp laserjet 1100 which
seem to dislike interrupt mode of operation)?

Pascal


On Sat, 10 Sep 2005 06:56:51 -0700, "OpenBSD" <[EMAIL PROTECTED]>
said:

>> A follow-up..
>>
>> I installed FreeBSD 5.4 on the same machine.  I tried "lptest >
>> /dev/lpt0" and received the following message:
>>
>> Interrupt storm detected on "irq7: lpt0"; throttling interrupt source
>>
>> So ok, there's a problem with the interrupt line.  I then remembered
>> reading something about that in the FreeBSD handbook printing section.
>> Indeed, in section 9.3.1.3.1 it is reported that some "newer" HP
>> printers (I use a HP LaserJet 1100) don't work correctly in interrupt
>> mode.  So I followed the easiest route to change to polling mode, by
>> using "lptcontrol -p -d /dev/lpt0".  That worked (somewhat, only one
>> line was printed).  I guess I would have to install the proper filters
>> for my printer to work under FBSD.
>>
>> I found the following message in the OBSD mailing-list:
>>
>> http://archives.neohapsis.com/archives/openbsd/2003-10/0578.html
>>
>> I'll read the lpt man page!
>>
>> Pascal
>>
>>
>>
>> On Fri, 09 Sep 2005 16:29:42 -0700, "OpenBSD" <[EMAIL PROTECTED]>
>> said:
>
>>> > I installed OpenBSD 3.7 on a Compaq Presario 5304.  That is an old
>>> > (about 7 years old I believe) PC.  The dmesg is appended to this
>>> > email.
>>> >
>>> > I noticed two rather strange problems during the installation and the
>>> > post-installation.
>>> >
>>> > During the installation, at the disklabeling step, I entered "a a" to
>>> > add the root partition.  The computer just froze.  I had to turn it
>>> > off.  I redid the exact same steps and on the second time it just
>>> > worked.  Strange.
>>> >
>>> > BTW, I believe this machine is reliable.  It has been running Windows
>>> > 2000 day and night for more than a year without a crash. I understand
>>> > that shit can happen though.  Maybe the RAM went kaput or.....
>>> >
>>> > The other problem I encountered was while I tried to setup my laser
>>> > printer.  To check if I OpenBSD was able to talk to the printer, I
>>> > typed "lptest > /dev/lpt0".  On the first try, the computer just
>>> > rebooted.  On the second, it froze. (lptd was enabled in
>>> > rc.conf.local)
>>> >
>>> > Any idea?
>>> >
>>> > Thanks,
>>> > Pascal
>>> >
>>> > p.s.: sorry about the possible bad English.  It ain't my native
>>> > tongue.
>>> >
>>> > p.p.s.: I read the afterboot(8), the whole FAQ, the FreeBSD Handbook
>>> > printer section and a whole lot of pages found through Google.  It
>>> > seems I am one of a kind (well, the PC is..)  :)
>>> >
>>> >
>>> > --------------------------------------------------------------------
>>> > the dmesg output:
>>> >
>>> > OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
>>> >     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
>>> > cpu0: Cyrix 6x86MX ("CyrixInstead" 686-class) 250 MHz
>>> > cpu0: FPU,DE,TSC,MSR,CX8,PGE,CMOV,MMX,TM2,CNXT-ID
>>> > real mem  = 62431232 (60968K)
>>> > avail mem = 49500160 (48340K)
>>> > using 787 buffers containing 3223552 bytes (3148K) of memory
>>> > mainbus0 (root)
>>> > bios0 at mainbus0: AT/286+(7b) BIOS, date 05/08/99, BIOS32 rev. 0 @
>>> > 0xfb470
>>> > apm0 at bios0: Power Management spec V1.2
>>> > apm0: AC on, battery charge unknown
>>> > pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb90c
>>> > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/144 (7 entries)
>>> > pcibios0: PCI Exclusive IRQs: 3 5 10 11
>>> > pcibios0: PCI Interrupt Router at 000:01:0 ("SIS 85C503 System" rev
>>> > 0x00)
>>> > pcibios0: PCI bus #1 is the last bus
>>> > bios0: ROM list: 0xc0000/0x8000
>>> > cpu0 at mainbus0
>>> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
>>> > pchb0 at pci0 dev 0 function 0 "SIS 530 PCI" rev 0x02
>>> > pciide0 at pci0 dev 0 function 1 "SIS 5513 EIDE" rev 0xd0: 530: DMA,
>>> > channel 0 w >>> > ired to compatibility, channel 1 wired to compatibility
>>> > wd0 at pciide0 channel 0 drive 0: <ST34311A>
>>> > wd0: 16-sector PIO, LBA, 4112MB, 8421840 sectors
>>> > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>>> > atapiscsi0 at pciide0 channel 1 drive 0
>>> > scsibus0 at atapiscsi0: 2 targets
>>> > cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN323, DQ15> SCSI0
>>> > 5/cdrom remova
>>> >                   ble
>>> > cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
>>> > pcib0 at pci0 dev 1 function 0 "SIS 85C503 System" rev 0xb1
>>> > "SIS 5595 System" rev 0x00 at pci0 dev 1 function 1 not configured
>>> > ohci0 at pci0 dev 1 function 2 "SIS 5597/5598 USB" rev 0x11: irq 3,
>>> > version 1.0,
>>> >                  legacy support
>>> > usb0 at ohci0: USB revision 1.0
>>> > uhub0 at usb0
>>> > uhub0: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>>> > uhub0: 2 ports with 2 removable, self powered
>>> > ppb0 at pci0 dev 2 function 0 "SIS 86C201 AGP" rev 0x00
>>> > pci1 at ppb0 bus 1
>>> > vga1 at pci1 dev 0 function 0 "SIS 530 VGA" rev 0xa2: aperture at
>>> > 0xe5000000, si
>>> >                   ze 0x400000
>>> > wsdisplay0 at vga1: console (80x25, vt100 emulation)
>>> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>>> > rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 11 address
>>> > 00:50:ba:8
>>> >               c:dc:42
>>> > rlphy0 at rl0 phy 0: RTL internal phy
>>> > vr0 at pci0 dev 13 function 0 "VIA Rhine/RhineII" rev 0x06: irq 10
>>> > address 00:50
>>> >                  :ba:e7:fa:ba
>>> > amphy0 at vr0 phy 8: Am79C873 10/100 PHY, rev. 0
>>> > eso0 at pci0 dev 15 function 0 "ESS SOLO-1 AudioDrive" rev 0x01: ES1946,
>>> > irq 5
>>> > audio0 at eso0
>>> > opl0 at eso0: model OPL3
>>> > midi0 at opl0: <ESO Yamaha OPL3>
>>> > isa0 at pcib0
>>> > isadma0 at isa0
>>> > pckbc0 at isa0 port 0x60/5
>>> > pckbd0 at pckbc0 (kbd slot)
>>> > pckbc0: using irq 1 for kbd slot
>>> > wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
>>> > wsdisplay0
>>> > pmsi0 at pckbc0 (aux slot)
>>> > pckbc0: using irq 12 for aux slot
>>> > wsmouse0 at pmsi0 mux 0
>>> > pcppi0 at isa0 port 0x61
>>> > midi1 at pcppi0: <PC speaker>
>>> > sysbeep0 at pcppi0
>>> > lpt0 at isa0 port 0x378/4 irq 7
>>> > lm0 at isa0 port 0x290/8: LM78
>>> > npx0 at isa0 port 0xf0/16: using exception 16
>>> > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>>> > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
>>> > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
>>> > eso0: mapping Audio 1 DMA using I/O space at 0x410
>>> > biomask e34d netmask ef4d ttymask ffcf
>>> > pctr: user-level cycle counter enabled
>>> > dkcsum: wd0 matched BIOS disk 80
>>> > root on wd0a
>>> > rootdev=0x0 rrootdev=0x300 rawdev=0x302
>>> > WARNING: / was not properly unmounted
>>> > --
>>> >   OpenBSD
>>> >   [EMAIL PROTECTED]
>> --
>>   OpenBSD
>>   [EMAIL PROTECTED]

Reply via email to