Страница 1 из 1

hp2015d uhub3: device problem (IOERROR), disabling port 1

Добавлено: 2009-07-22 15:59:31
Gigi
Привет!

Многострадальный комп "из мусора" под управлением FreeBSD стал с недавнего времени еще и принт сервером
поставил на него CUPS, подсоединил принтер HP P2015d все чудесно работает, юзеры довольны, веб интерфейс красивый,

НО

На ночь принтер заботливо выключается нажатием на сетевом фильтре соответствующей кнопки

После включения принтера на экран лезет такое вот сообщение

Код: Выделить всё

uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
uhub3: device problem (IOERROR), disabling port 1
Если выдернуть ЮСБ кабель из принтера не меньше чем секунд на 10 потом втыкнуть обратно

появляется

Код: Выделить всё

ulpt0: <Hewlett-Packard HP LaserJet P2015 Series, class 0/0, rev 2.00/1.00, addr 2> on uhub0
ulpt0: using bi-directional mode
и все работает

Сегодня среда, поэтому уже третье утро начинаю свой рабочий день с вытыкивания кабеля )

pciconf -lv

Код: Выделить всё

hostb0@pci0:0:0:0:      class=0x060000 card=0x31481106 chip=0x31481106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT8751 ProSavageDDR P4M266 System Controller'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0xb0911106 rev=0x00 hdr=0x01
    vendor     = 'VIA Technologies Inc'
    device     = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
    class      = bridge
    subclass   = PCI-PCI
rl0@pci0:0:13:0:        class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network
    subclass   = ethernet
uhci0@pci0:0:16:0:      class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:16:1:      class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:16:2:      class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:16:3:      class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x82 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT6202/12 USB 2.0 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:17:0:      class=0x060100 card=0x31771106 chip=0x31771106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT8235 PCI to ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:17:1:    class=0x01018a card=0x05711106 chip=0x05711106 rev=0x06 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C Bus Master IDE Controller'
    class      = mass storage
    subclass   = ATA
none0@pci0:0:17:5:      class=0x040100 card=0x100115bd chip=0x30591106 rev=0x50 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT8237 AC97 Enhanced Audio Controller - the 8251 controller is different'
    class      = multimedia
    subclass   = audio
vr0@pci0:0:18:0:        class=0x020000 card=0x01021106 chip=0x30651106 rev=0x74 hdr=0x00
    vendor     = 'VIA Technologies Inc'
    device     = 'VT6102 Rhine II PCI Fast Ethernet Controller||Used by GERICOM in laptop Webengine Advanced'
    class      = network
    subclass   = ethernet
vgapci0@pci0:1:0:0:     class=0x030000 card=0x8d045333 chip=0x8d045333 rev=0x00 hdr=0x00
    vendor     = 'S3 Graphics Co., Ltd'
    device     = '86C410 ProSavage DDR'
    class      = display
    subclass   = VGA
Если ребутнуться и посмотреть в лог:
cat /var/run/dmesg.boot

Код: Выделить всё

FreeBSD 7.0-RELEASE #0: Thu Dec  4 14:44:27 UTC 2008
    gigi@inet-serv:/usr/obj/usr/src/sys/ourkernel
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.00GHz (1999.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
real memory  = 503250944 (479 MB)
avail memory = 478523392 (456 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Dec  4 2008 14:43:06)
acpi0: <VIAP4M AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1def0000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x400-0x47f,0x500-0x50f on acpi0
pci_link2: BIOS IRQ 5 for 0.17.INTC does not match previous BIOS IRQ 10
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8703 (P4M266x/P4N266) host to PCI bridge> on hostb0
agp0: aperture size is 256M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xec000000-0xec07ffff,0xe0000000-0xe7ffffff irq 11 at device 0.0 on pci1
rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem 0xec100000-0xec1000ff irq 11 at device 13.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:40:f4:73:8b:5b
rl0: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
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> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 11 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
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> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 10 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
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> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xec101000-0xec1010ff irq 5 at device 16.3 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
uhub3: device problem (IOERROR), disabling port 1
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <multimedia, audio> at device 17.5 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe800-0xe8ff mem 0xec102000-0xec1020ff irq 11 at device 18.0 on pci0
vr0: Quirks: 0x0
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: using obsoleted if_watchdog interface
vr0: Ethernet address: 00:01:29:92:02:4a
vr0: [ITHREAD]
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff pnpid ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
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
Timecounter "TSC" frequency 1999951784 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, rule-based forwardin
uhub3: device problem (IOERROR), disabling port 1
все равно приходится вытыкивать и втыкивать после ребута

Где чего дописать?
Спасибо

Re: hp2015d uhub3: device problem (IOERROR), disabling port 1

Добавлено: 2009-07-22 19:14:30
Alex Keda
обновитесь до 8
появиться возможность программно отключить порт и подключить обратно.

Код: Выделить всё

HP# usbconfig
ugen2.1: <OHCI root HUB ATI> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <OHCI root HUB ATI> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.1: <OHCI root HUB ATI> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen5.1: <EHCI root HUB ATI> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen0.1: <OHCI root HUB ATI> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <OHCI root HUB ATI> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.3: <HP Integrated Module Broadcom Corp> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.2: <Optical USB Mouse Logitech> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen0.2: <CP2102 USB to UART Bridge Contr Silicon Labs> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
HP# usbconfig -u 0 -a 2 power_off
HP# dmesg | tail -2
uslcom0: <CP2102 USB to UART Bridge Controller> on usbus0
uslcom0: at uhub4, port 1, addr 2 (disconnected)
HP# usbconfig -u 0 -a 2 power_on
HP# dmesg | tail -2
uslcom0: at uhub4, port 1, addr 2 (disconnected)
uslcom0: <CP2102 USB to UART Bridge Controller> on usbus0
HP#    
=========
может и в 7 была такая - но я её не знаю.

Re: hp2015d uhub3: device problem (IOERROR), disabling port 1

Добавлено: 2009-07-23 8:42:30
Gigi
хм, глобально
странно это все, здравый смысл подсказывает, что наверняка в 7ке как-то это можно исправить
но все равно спасибо!