Subject: Re: panic with ulpt on -current
To: Alexander Senier <current-users@senier.net>
From: =?ISO-8859-1?Q?C=E9sar_Catri=E1n?= C. <ccatrian@eml.cc>
List: current-users
Date: 09/02/2004 11:12:42
I've a similar problem with a HP DeskJet 656C, with NetBSD 2.0, the system =
just hangs.
Sources of august 27.
This is my dmesg:

NetBSD 2.0_BETA (SAT) #0: Wed Sep  1 09:33:07 CLT 2004
        cetrox@core.cjc.cl:/home/cetrox/src/src/sys/arch/i386/compile/obj/S=
AT
total memory =3D 255 MB
avail memory =3D 247 MB
BIOS32 rev. 0 found at 0xfb300
PCI BIOS rev. 2.1 found at 0xfb330
PCI IRQ Routing Table rev. 1.0 found at 0xfde40, size 128 bytes (6 entries)
PCI Interrupt Router at 000:07:0 (vendor 0x8086 product 0x7000 compatible)
PCI Exclusive IRQs: 5 9 10 11
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium II (686-class), 400.93 MHz, id 0x652
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 512 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 32 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7190 (rev. 0x03)
agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x121a product 0x0005 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x02) at pci0 =
dev 7 function 3 not configured
yds0 at pci0 dev 8 function 0: vendor 0x1073 product 0x000d (rev. 0x03)
yds0: interrupting at irq 11
yds0: ac97: SigmaTel STAC9704 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
yds0: ac97: ext id ffff<SECONDARY10,SECONDARY01,AC97_23,AC97_22,AMAP,LDAC,S=
DAC,CDAC,VRM,SPDIF,DRA,VRA>
yds0: ac97: Slot assignment: 10&11, 3&4, 7&8.
yds0: Ignore these capabilities.
audio0 at yds0: full duplex, mmap, independent
rtk0 at pci0 dev 9 function 0: D-Link Systems DFE 530TX+
rtk0: interrupting at irq 5
rtk0: Ethernet address 00:50:ba:b3:06:41
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhci1 at pci0 dev 10 function 0: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 10 function 1: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci2: interrupting at irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 10 function 2: vendor 0x1106 product 0x3104 (rev. 0x51)
ehci0: interrupting at irq 11
ehci0: EHCI version 0.95
ehci0: companion controllers, 2 ports each: uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 4 ports with 4 removable, self powered
cmpci0 at pci0 dev 11 function 0: vendor 0x13f6 product 0x0100 (rev. 0x10)
cmpci0: interrupting at irq 10
audio1 at cmpci0: full duplex, mmap, independent
opl at cmpci0 not configured
mpu at cmpci0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
opl0 at yds0: model OPL3
midi1 at opl0: DS-1 integrated Yamaha OPL3
mpu0 at yds0
midi2 at mpu0: Yamaha DS-1 MIDI UART
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
wd0 at atabus0 drive 0: <FUJITSU MPC3084AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 8063 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd1 at atabus0 drive 1: <FUJITSU M1636TAU>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 1226 MB, 2491 cyl, 16 head, 63 sec, 512 bytes/sect x 2511840 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA=
 data transfers)
wd1(piixide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <FX001DE, , 0B 4> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 3
cd1 at atapibus0 drive 1: <HL-DT-ST GCE-8525B, , 1.03> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 3
cd1(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA=
 data transfers)
ugen0 at uhub1 port 1
ugen0: THOMSON Speed Touch 330, rev 1.10/4.00, addr 2
ulpt0 at uhub0 port 1 configuration 1 interface 0
ulpt0: HEWLETT-PACKARD DESKJET 656C, rev 1.10/1.10, addr 2, iclass 7/1
ulpt0: using bi-directional mode

thanks

C=E9sar

On Thu, 2 Sep 2004 14:31:26 +0200
Alexander Senier <current-users@senier.net> wrote:

> Hi,
>=20
> I'm running a -current machine as a printer server.
> After printing one or two pages to my HP DeskJet 640C via ulpt, the
> kernel panics. Sources are from last saturday.
> Backtrace and full dmesg are attached.
>=20
> thank you,
> Alex
>=20
>=20
> db> bt
> usb_transfer_complete(c04a2800,2,c2ee3f4c,286,c0571080) at
> netbsd:usb_transfer_complete+0x16f
> uhci_abort_xfer(c04a2800,f,c2ee3f8c,c02881a8,3800c6d1) at
> netbsd:uhci_abort_xfer+0x19d
> uhci_timeout_task(c04a2800,8,17,246,c2ec67f8) at
> netbsd:uhci_timeout_task+0x28
> usb_task_thread(c2ecf294,395000,39c000,0,c0100321) at
> netbsd:usb_task_thread+0x69
>=20
> db> dmesg
> NetBSD 2.0G (MERINO) #2: Thu Sep  2 12:51:24 MEST 2004
>         senier@alpaca:/usr/obj/sys/arch/i386/compile/MERINO
> total memory =3D 32380 KB
> avail memory =3D 28992 KB
> BIOS32 rev. 0 found at 0xfd7a0
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel Pentium/MMX (586-class), 199.75 MHz, id 0x543
> cpu0: features 8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
> cpu0: features 8001bf<MMX>
> pnpbios0 at mainbus0: nodes 15, max len 110
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0
> pchb0: Intel 82439TX (MTXC) System Controller (rev. 0x01)
> pcib0 at pci0 dev 7 function 0
> pcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x01)
> piixide0 at pci0 dev 7 function 1
> piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
> piixide0: bus-master DMA support present
> piixide0: primary channel wired to compatibility mode
> piixide0: primary channel interrupting at irq 14
> atabus0 at piixide0 channel 0
> piixide0: secondary channel wired to compatibility mode
> piixide0: secondary channel interrupting at irq 15
> atabus1 at piixide0 channel 1
> uhci0 at pci0 dev 7 function 2: Intel 82371AB (PIIX4) USB Host
> Controller (rev. 0x01) uhci0: interrupting at irq 9
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge,
> revision 0x01) at pci0 dev 7 function 3 not configured vga1 at pci0 dev
> 8 function 0: Matrox MGA Mystique 1064SG (rev. 0x03) wsdisplay0 at vga1
> kbdmux 1 wsmux1: connecting to wsdisplay0
> fxp0 at pci0 dev 9 function 0: i82558 Ethernet, rev 4
> fxp0: interrupting at irq 10
> fxp0: Enabling receiver lock-up workaround
> fxp0: Ethernet address 08:00:06:0b:de:33
> inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> tlp0 at pci0 dev 18 function 0: DECchip 21140A Ethernet, pass 2.2
> tlp0: interrupting at irq 10
> tlp0: Ethernet address 00:00:e8:49:82:43
> ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
> ukphy0: LXT970 10/100 media interface (OUI 0x782000, model 0x0000), rev.
> 0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> AVM Fritz! Card ISDN Interface (miscellaneous network, revision 0x02) at
> pci0 dev 19 function 0 not configured isa0 at pcib0
> lpt0 at isa0 port 0x378-0x37b irq 7
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com0: console
> pckbc0 at isa0 port 0x60-0x64
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> sysbeep0 at pcppi0
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> npx0 at isa0 port 0xf0-0xff: using exception 16
> fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> isapnp0: no ISA Plug 'n Play devices found
> fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
> IPsec: Initialized Security Association Processing.
> atapibus0 at atabus0: 2 targets
> cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM  SC-148F, , FS03> cdrom
> removable cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2
> cd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data
> transfers) wd0 at atabus1 drive 0: <IBM-DPTA-372050>
> wd0: drive supports 16-sector PIO transfers, LBA addressing
> wd0: 19574 MB, 39770 cyl, 16 head, 63 sec, 512 bytes/sect x 40088160
> sectors wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
> wd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using
> DMA data transfers) boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
> ulpt0 at uhub0 port 2 configuration 1 interface 0
> ulpt0: Hewlett-Packard DeskJet 640C, rev 1.10/4.00, addr 2, iclass 7/1
> ulpt0: using bi-directional mode
> uvm_fault(0xc03465c0, 0, 0, 1) -> 0xe