Dear Sirs,
please, see attachments.
Best regards
Rodrigo.
Problem with old BenQ external CD Rom drive.
With OpenBSD 4.8 it works without troubles.
A frish installation of OpenBSD 5.8 recognized it 4 times with:
>>
umass0 at uhub1 port 2 configuration 1 interface 0 "Acer Peripherals product
0x6007" rev 2.00/1.00 addr 2
umass0: using ATAPI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
<<
But normally I get messages, after pluging like:
>>
uhub1: port 2, set config 0 at addr 2 failed
uhub1: device problem, disabling port 2
<<
As I remember, only bsd.mp, not bsd, recognized it.
One time, the kernel made panic just after attaching. One
time I was able to mount. Two times the panic while
trying to mount, the last time I got the following in the
console:
>>
# umass0: Phase Error, residue = 0
umass0: Phase Error, residue = 0
umass0: Phase Error, residue = 0
umass0: Phase Error, residue = 0
panic: ehci_device_clear_toggle: queue active
Stopped at Debugger+0x7: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}>
<<
After giving "trace" in the prompt:
>>
ddb{0}> trace
Debugger(d09d994c,f52eadc0,d09a769c,f52eadc0,40) at Debugger+0x7
panic(d09a769c,f5d4fea0,d32fc840,f52eadd4,d0203259) at panic+0x71
ehci_device_clear_toggle(d32fca80,0,f52eae14,d0325656,d316d000) at ehci_device_
clear_toggle+0x29
umass_clear_endpoint_stall(d32b4800,0,d8b16640,a,d316d000) at umass_clear_endpo
int_stall+0x28
usb_transfer_complete(d8b165a0,d8b165a0,200282,1d,f52eaecc) at usb_transfer_com
plete+0x26e
ehci_softintr(d316d000,d316d6c5,d0b94450,40,d0b91e40) at ehci_softintr+0x37
softintr_dispatch(1) at softintr_dispatch+0x5f
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
acpicpu_idle(d03af73a,d0b93e00,d0c4eaa0,d0c4eaa0,f52eaf90) at acpicpu_idle+0xc2
cpu_idle_cycle(d0c4eaa0) at cpu_idle_cycle+0xc
<<
After giving "ps" in the prompt:
>>
ddb{0}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
5512 19086 5512 0 3 0x3 syncxs mount_cd9660
3532 1 3532 0 3 0x83 ttyin ksh
4434 1 4434 0 3 0x83 ttyin getty
29429 1 29429 0 3 0x83 ttyin getty
22766 1 22766 0 3 0x83 ttyin getty
11802 1 11802 0 3 0x83 ttyin getty
19086 1 19086 0 3 0x8b pause ksh
32542 1 32542 0 3 0x80 poll cron
24525 1 24525 99 3 0x90 poll sndiod
8815 28830 28830 95 3 0x90 kqread smtpd
11164 28830 28830 95 3 0x90 kqread smtpd
31349 28830 28830 95 3 0x90 kqread smtpd
16472 28830 28830 95 3 0x90 kqread smtpd
19820 28830 28830 95 3 0x90 kqread smtpd
28134 28830 28830 103 3 0x90 kqread smtpd
28830 1 28830 0 3 0x80 kqread smtpd
11126 1 11126 0 3 0x80 select sshd
28421 28673 17746 83 3 0x90 poll ntpd
28673 17746 17746 83 3 0x90 poll ntpd
17746 1 17746 0 3 0x80 poll ntpd
13672 19307 19307 74 3 0x90 bpf pflogd
19307 1 19307 0 3 0x80 netio pflogd
28254 12802 12802 73 3 0x90 kqread syslogd
12802 1 12802 0 3 0x80 netio syslogd
13824 0 0 0 3 0x14280 nfsidl nfsio
19021 0 0 0 3 0x14280 nfsidl nfsio
394 0 0 0 3 0x14280 nfsidl nfsio
16093 0 0 0 3 0x14280 nfsidl nfsio
16544 0 0 0 3 0x14200 bored ttm_swap
13535 0 0 0 3 0x14200 pgzero zerothread
18285 0 0 0 3 0x14200 aiodoned aiodoned
2545 0 0 0 3 0x14200 syncer update
7525 0 0 0 3 0x14200 cleaner cleaner
24565 0 0 0 3 0x14200 reaper reaper
14293 0 0 0 3 0x14200 pgdaemon pagedaemon
13242 0 0 0 3 0x14200 bored crypto
14237 0 0 0 3 0x14200 pftm pfpurge
23522 0 0 0 3 0x14200 bored sensors
6549 0 0 0 3 0x14200 usbtsk usbtask
20719 0 0 0 3 0x14200 usbatsk usbatsk
11315 0 0 0 3 0x40014200 acpi0 acpi0
32329 0 0 0 7 0x40014200 idle1
26877 0 0 0 3 0x14200 bored softnet
16195 0 0 0 3 0x14200 bored systqmp
12619 0 0 0 3 0x14200 bored systq
* 3847 0 0 0 7 0x40014200 idle0
23493 0 0 0 3 0x14200 kmalloc kmthread
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
<<
And after giving "dmesg":
>>
ddb{0}> dmesg
icpu0 at acpi0: !C2(0@100 io@0x1771), C1(@1 halt!), PSS
acpicpu1 at acpi0: !C2(0@100 io@0x1771), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xe200 0xce800/0x1000
cpu0: 1649 MHz: speeds: 1600 1280 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00
radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: apic 0 int 16
pci1 at ppb0 bus 1
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, AHCI 1
.2
scsibus1 at ahci0: 32 targets
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, versio
n 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, versio
n 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
iic0: addr 0x20 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 09=00 0a=10 0b=
10 0c=10 0d=10 0e=07 0f=94 10=00 11=00 12=00 13=00 14=00 15=10 16=0c 17=b0 18=4
0 19=9a 1a=b3 1b=a8 1c=b6 1d=80 1e=0c 1f=03 20=09 21=09 22=09 23=09 24=03 3e=cf
words 00=ff00 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
spdmem0 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA, channel 0 conf
igured to compatibility, channel 1 configured to compatibility
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 0 int 16
azalia1: codecs: Realtek/0x0887
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci2 at ppb1 bus 2
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 0 int 18, versio
n 1.0, legacy support
ppb2 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00
pci3 at ppb2 bus 3
ppb3 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E (0x2c00), m
si, address f4:6d:04:d6:0b:41
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
ppb4 at pci0 dev 21 function 2 "ATI SB800 PCIE" rev 0x00
pci5 at ppb4 bus 5
ppb5 at pci5 dev 0 function 0 "ASMedia ASM1083/1085 PCIE-PCI" rev 0x01
pci6 at ppb5 bus 6
athn0 at pci6 dev 0 function 0 "Atheros AR9227" rev 0x01: apic 0 int 18
athn0: AR9287 rev 2 (2T2R), ROM rev 4, address f8:d1:11:6e:72:6f
"VIA VT6306 FireWire" rev 0xc0 at pci6 dev 2 function 0 not configured
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, versio
n 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43
pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00
pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00
pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0x290/8: NCT6776F
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci3: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
PXE boot MAC address f4:6d:04:d6:0b:41, interface re0
nfs_boot: using interface re0, with revarp & bootparams
nfs_boot: client_addr=10.0.0.30
nfs_boot: server_addr=10.0.0.1 hostname=E35M1M
root on 10.0.0.1:/export/E35M1M/root
nfs_boot: bootparam get swap: 60
WARNING: no swap
r600_cp: Failed to load firmware "radeon-palm_pfp"
error: [drm:pid0:evergreen_startup] *ERROR* Failed to load firmware!
drm:pid0:evergreen_init *ERROR* disabling GPU acceleration
drm:pid0:radeon_bo_unpin *WARNING* 0xd8abd19c unpin not necessary
drm:pid0:radeon_bo_unpin *WARNING* 0xd8abd19c unpin not necessary
radeondrm0: 1280x1024
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
uhub1: port 2, set config 0 at addr 2 failed
uhub1: device problem, disabling port 2
umass0 at uhub1 port 2 configuration 1 interface 0 "Acer Peripherals product 0x
6007" rev 2.00/1.00 addr 2
umass0: using ATAPI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
cd0 at scsibus4 targ 1 lun 0: <ATAPI, CD-R/RW 32X10, W.AR> ATAPI 5/cdrom remova
ble
umass0: Phase Error, residue = 0
umass0: Phase Error, residue = 0
umass0: Phase Error, residue = 0
umass0: Phase Error, residue = 0
panic: ehci_device_clear_toggle: queue active
Stopped at Debugger+0x7: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
Best regards
Rodrigo.