Hi, After updating to the snapshot of 31 July, I get a kernel panic while booting if I have connected my usb devices. If I connect my devices (I connect them through an usb port expander) after booting everything work perfectly. I attach the best dmesg I got (I tried several times but kernel seems to have problems writing into the disk after the panic).
I have tested that the problem depends only of the usb port expander, it is not related to the devices I connect on it: $ usbdevs addr 1: EHCI root hub, NVIDIA addr 1: OHCI root hub, NVIDIA addr 3: hub, Philips Semiconductors addr 4: PS/2 to USB converter, MTC addr 5: Targus Group Intl, USB-RS232 Interface Converter addr 6: product 0x0300, MCT The kernel panic happens when the system configure the tty flags, so it seems that it is related to the device in addr 6, that it is a usb-rs232 adapter. I have tried to boot with another usb-rs232 and system boots without problems. I also have added these lines in my /etc/ttys: ttyU0 "/usr/libexec/getty std.115200" vt520 on secure local rtscts ttyU1 "/usr/libexec/getty std.115200" vt520 on secure local rtscts Regards, -- Roberto E. Vargas Caballero
Aug 4 20:00:50 hal9000 syslogd: start Aug 4 20:00:50 hal9000 /bsd: OpenBSD 5.6 (GENERIC.MP) #318: Mon Aug 4 08:41:40 MDT 2014 Aug 4 20:00:50 hal9000 /bsd: [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP Aug 4 20:00:50 hal9000 /bsd: real mem = 4142792704 (3950MB) Aug 4 20:00:50 hal9000 /bsd: avail mem = 4023730176 (3837MB) Aug 4 20:00:50 hal9000 /bsd: mpath0 at root Aug 4 20:00:50 hal9000 /bsd: scsibus0 at mpath0: 256 targets Aug 4 20:00:50 hal9000 /bsd: mainbus0 at root Aug 4 20:00:50 hal9000 /bsd: bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0000 (27 entries) Aug 4 20:00:50 hal9000 /bsd: bios0: vendor Phoenix Technologies, LTD version "5.19" date 11/03/2008 Aug 4 20:00:50 hal9000 /bsd: bios0: Hewlett-Packard HP Compaq dx2450 Microtower PC Aug 4 20:00:50 hal9000 /bsd: acpi0 at bios0: rev 2 Aug 4 20:00:50 hal9000 /bsd: acpi0: sleep states S0 S1 S3 S4 S5 Aug 4 20:00:50 hal9000 /bsd: acpi0: tables DSDT FACP SLIC SSDT HPET MCFG APIC Aug 4 20:00:50 hal9000 /bsd: acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) PS2M(S4) PS2K(S4) USB0(S3) USB2(S3) AZAD(S5) MMAC(S5) Aug 4 20:00:50 hal9000 /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits Aug 4 20:00:50 hal9000 /bsd: acpihpet0 at acpi0: 25000000 Hz Aug 4 20:00:50 hal9000 /bsd: acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63 Aug 4 20:00:50 hal9000 /bsd: acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat Aug 4 20:00:50 hal9000 /bsd: cpu0 at mainbus0: apid 0 (boot processor) Aug 4 20:00:50 hal9000 /bsd: cpu0: AMD Athlon(tm) Dual Core Processor 5000B, 2612.24 MHz Aug 4 20:00:50 hal9000 /bsd: cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP Aug 4 20:00:50 hal9000 /bsd: cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache Aug 4 20:00:50 hal9000 /bsd: cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative Aug 4 20:00:50 hal9000 /bsd: cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative Aug 4 20:00:50 hal9000 /bsd: mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges Aug 4 20:00:50 hal9000 /bsd: cpu0: apic clock running at 200MHz Aug 4 20:00:50 hal9000 /bsd: cpu1 at mainbus0: apid 1 (application processor) Aug 4 20:00:50 hal9000 /bsd: cpu1: AMD Athlon(tm) Dual Core Processor 5000B, 2611.88 MHz Aug 4 20:00:50 hal9000 /bsd: cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP Aug 4 20:00:50 hal9000 /bsd: cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache Aug 4 20:00:50 hal9000 /bsd: cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative Aug 4 20:00:50 hal9000 /bsd: cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative Aug 4 20:00:50 hal9000 /bsd: ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 11, 24 pins Aug 4 20:00:50 hal9000 /bsd: ioapic0: misconfigured as apic 0, remapped to apid 4 Aug 4 20:00:50 hal9000 /bsd: acpiprt0 at acpi0: bus 0 (PCI0) Aug 4 20:00:50 hal9000 /bsd: acpiprt1 at acpi0: bus 1 (HUB0) Aug 4 20:00:50 hal9000 /bsd: acpicpu0 at acpi0: PSS Aug 4 20:00:50 hal9000 /bsd: acpicpu1 at acpi0: PSS Aug 4 20:00:50 hal9000 /bsd: acpitz0 at acpi0: critical temperature is 75 degC Aug 4 20:00:50 hal9000 /bsd: acpibtn0 at acpi0: PWRB Aug 4 20:00:50 hal9000 /bsd: cpu0: PowerNow! K8 2612 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz Aug 4 20:00:50 hal9000 /bsd: pci0 at mainbus0 bus 0 Aug 4 20:00:50 hal9000 /bsd: "NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured Aug 4 20:00:50 hal9000 /bsd: pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2 Aug 4 20:00:50 hal9000 /bsd: nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2 Aug 4 20:00:50 hal9000 /bsd: iic0 at nviic0 Aug 4 20:00:50 hal9000 /bsd: spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5 Aug 4 20:00:50 hal9000 /bsd: spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-6400CL5 Aug 4 20:00:50 hal9000 /bsd: iic1 at nviic0 Aug 4 20:00:50 hal9000 /bsd: "NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured Aug 4 20:00:50 hal9000 /bsd: ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa3: apic 4 int 11, version 1.0, legacy support Aug 4 20:00:50 hal9000 /bsd: ehci0 at pci0 dev 2 function 1 "NVIDIA MCP61 USB" rev 0xa3: apic 4 int 7 Aug 4 20:00:50 hal9000 /bsd: usb0 at ehci0: USB revision 2.0 Aug 4 20:00:50 hal9000 /bsd: uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 Aug 4 20:00:50 hal9000 /bsd: ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1 Aug 4 20:00:50 hal9000 /bsd: pci1 at ppb0 bus 1 Aug 4 20:00:50 hal9000 /bsd: ppb1 at pci1 dev 10 function 0 "Pericom PCI-PCI" rev 0x00 Aug 4 20:00:50 hal9000 /bsd: pci2 at ppb1 bus 2 Aug 4 20:00:50 hal9000 /bsd: unknown vendor 0x14a1 product 0x4d02 (class communications subclass serial, rev 0xb0) at pci2 dev 4 function 0 not configured Aug 4 20:00:50 hal9000 /bsd: unknown vendor 0x14a1 product 0x4d02 (class communications subclass serial, rev 0xb0) at pci2 dev 5 function 0 not configured Aug 4 20:00:50 hal9000 /bsd: azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev 0xa2: apic 4 int 10 Aug 4 20:00:50 hal9000 /bsd: azalia0: codecs: Realtek ALC888 Aug 4 20:00:50 hal9000 /bsd: audio0 at azalia0 Aug 4 20:00:50 hal9000 /bsd: nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 4 int 5, address 00:22:64:c0:db:e0 Aug 4 20:00:50 hal9000 /bsd: rgephy0 at nfe0 phy 1: RTL8169S/8110S PHY, rev. 2 Aug 4 20:00:50 hal9000 /bsd: pciide0 at pci0 dev 8 function 0 "NVIDIA MCP61 SATA" rev 0xa2: DMA Aug 4 20:00:50 hal9000 /bsd: pciide0: using apic 4 int 10 for native-PCI interrupt Aug 4 20:00:50 hal9000 /bsd: wd0 at pciide0 channel 0 drive 0: <Hitachi HDP725050GLA360> Aug 4 20:00:50 hal9000 /bsd: wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors Aug 4 20:00:50 hal9000 /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 Aug 4 20:00:50 hal9000 /bsd: atapiscsi0 at pciide0 channel 1 drive 0 Aug 4 20:00:50 hal9000 /bsd: scsibus1 at atapiscsi0: 2 targets Aug 4 20:00:50 hal9000 /bsd: cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7201S, 1.H0> ATAPI 5/cdrom removable Aug 4 20:00:50 hal9000 /bsd: cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 Aug 4 20:00:50 hal9000 /bsd: pciide1 at pci0 dev 8 function 1 "NVIDIA MCP61 SATA" rev 0xa2: DMA Aug 4 20:00:50 hal9000 /bsd: pciide1: using apic 4 int 11 for native-PCI interrupt Aug 4 20:00:50 hal9000 /bsd: ppb2 at pci0 dev 9 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 Aug 4 20:00:50 hal9000 /bsd: pci3 at ppb2 bus 3 Aug 4 20:00:50 hal9000 /bsd: ppb3 at pci0 dev 11 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 Aug 4 20:00:50 hal9000 /bsd: pci4 at ppb3 bus 4 Aug 4 20:00:50 hal9000 /bsd: ppb4 at pci0 dev 12 function 0 "NVIDIA MCP61 PCIE" rev 0xa2 Aug 4 20:00:50 hal9000 /bsd: pci5 at ppb4 bus 5 Aug 4 20:00:50 hal9000 /bsd: mskc0 at pci5 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x20, Yukon-2 EC rev. A3 (0x2): apic 4 int 7 Aug 4 20:00:50 hal9000 /bsd: msk0 at mskc0 port A: address 00:00:5a:11:5e:ea Aug 4 20:00:50 hal9000 /bsd: eephy0 at msk0 phy 0: 88E1111 Gigabit PHY, rev. 2 Aug 4 20:00:50 hal9000 /bsd: vga1 at pci0 dev 13 function 0 "NVIDIA GeForce 6100 nForce 430" rev 0xa2 Aug 4 20:00:50 hal9000 /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) Aug 4 20:00:50 hal9000 /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Aug 4 20:00:50 hal9000 /bsd: pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 Aug 4 20:00:50 hal9000 /bsd: pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 Aug 4 20:00:50 hal9000 /bsd: pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 Aug 4 20:00:50 hal9000 /bsd: kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev BH-G2 Aug 4 20:00:50 hal9000 /bsd: isa0 at pcib0 Aug 4 20:00:50 hal9000 /bsd: isadma0 at isa0 Aug 4 20:00:50 hal9000 /bsd: pckbc0 at isa0 port 0x60/5 Aug 4 20:00:50 hal9000 /bsd: pckbd0 at pckbc0 (kbd slot) Aug 4 20:00:50 hal9000 /bsd: pckbc0: using irq 1 for kbd slot Aug 4 20:00:50 hal9000 /bsd: wskbd0 at pckbd0: console keyboard, using wsdisplay0 Aug 4 20:00:50 hal9000 /bsd: pcppi0 at isa0 port 0x61 Aug 4 20:00:50 hal9000 /bsd: spkr0 at pcppi0 Aug 4 20:00:50 hal9000 /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 Aug 4 20:00:50 hal9000 /bsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec Aug 4 20:00:50 hal9000 /bsd: usb1 at ohci0: USB revision 1.0 Aug 4 20:00:50 hal9000 /bsd: uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 Aug 4 20:00:50 hal9000 /bsd: uhub2 at uhub1 port 2 "Philips Semiconductors hub" rev 1.10/1.10 addr 2 Aug 4 20:00:50 hal9000 /bsd: uplcom0 at uhub2 port 1 "Prolific Technology Inc. USB-Serial Controller" rev 1.10/3.00 addr 3 Aug 4 20:00:50 hal9000 /bsd: ucom0 at uplcom0 Aug 4 20:00:50 hal9000 /bsd: uhub3 at uhub2 port 2 "Terminus Technology USB 2.0 Hub" rev 2.00/1.11 addr 4 Aug 4 20:00:50 hal9000 /bsd: uhidev0 at uhub3 port 3 configuration 1 interface 0 "IBM product 0x3108" rev 1.10/10.00 addr 5 Aug 4 20:00:50 hal9000 /bsd: uhidev0: iclass 3/1 Aug 4 20:00:50 hal9000 /bsd: ums0 at uhidev0: 3 buttons, Z and W dir Aug 4 20:00:50 hal9000 /bsd: wsmouse0 at ums0 mux 0 Aug 4 20:00:50 hal9000 /bsd: uhidev1 at uhub3 port 4 configuration 1 interface 0 "Logitech USB Keyboard" rev 1.10/64.00 addr 6 Aug 4 20:00:50 hal9000 /bsd: uhidev1: iclass 3/1 Aug 4 20:00:50 hal9000 /bsd: ukbd0 at uhidev1: 8 variable keys, 6 key codes Aug 4 20:00:50 hal9000 /bsd: wskbd1 at ukbd0 mux 1 Aug 4 20:00:50 hal9000 /bsd: wskbd1: connecting to wsdisplay0 Aug 4 20:00:50 hal9000 /bsd: uhidev2 at uhub3 port 4 configuration 1 interface 1 "Logitech USB Keyboard" rev 1.10/64.00 addr 6 Aug 4 20:00:50 hal9000 /bsd: uhidev2: iclass 3/0, 3 report ids Aug 4 20:00:50 hal9000 /bsd: uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0 Aug 4 20:00:50 hal9000 /bsd: uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0 Aug 4 20:00:50 hal9000 /bsd: uhid2 at uhidev2 reportid 3: input=3, output=0, feature=0 Aug 4 20:00:50 hal9000 /bsd: uhidev3 at uhub2 port 3 configuration 1 interface 0 "MTC PS/2 to USB converter" rev 1.10/1.02 addr 7 Aug 4 20:00:50 hal9000 /bsd: uhidev3: iclass 3/1 Aug 4 20:00:50 hal9000 /bsd: ukbd1 at uhidev3: 8 variable keys, 6 key codes Aug 4 20:00:50 hal9000 /bsd: wskbd2 at ukbd1 mux 1 Aug 4 20:00:50 hal9000 /bsd: wskbd2: connecting to wsdisplay0 Aug 4 20:00:50 hal9000 /bsd: uhidev4 at uhub2 port 3 configuration 1 interface 1 "MTC PS/2 to USB converter" rev 1.10/1.02 addr 7 Aug 4 20:00:50 hal9000 /bsd: uhidev4: iclass 3/1, 2 report ids Aug 4 20:00:50 hal9000 /bsd: ums1 at uhidev4 reportid 1: 3 buttons, Z dir Aug 4 20:00:50 hal9000 /bsd: wsmouse1 at ums1 mux 0 Aug 4 20:00:50 hal9000 /bsd: uhid3 at uhidev4 reportid 2: input=1, output=0, feature=0 Aug 4 20:00:50 hal9000 /bsd: umct0 at uhub2 port 4 "USB-RS232 Interface Converter Targus Group Intl" rev 1.10/1.02 addr 8 Aug 4 20:00:50 hal9000 /bsd: ucom1 at umct0 Aug 4 20:00:50 hal9000 /bsd: ulpt0 at uhub2 port 5 configuration 1 interface 0 "MCT product 0x0300" rev 1.00/1.04 addr 9 Aug 4 20:00:50 hal9000 /bsd: ulpt0: using bi-directional mode Aug 4 20:00:50 hal9000 /bsd: vscsi0 at root Aug 4 20:00:50 hal9000 /bsd: scsibus2 at vscsi0: 256 targets Aug 4 20:00:50 hal9000 /bsd: softraid0 at root Aug 4 20:00:50 hal9000 /bsd: scsibus3 at softraid0: 256 targets Aug 4 20:00:50 hal9000 /bsd: root on wd0a (1769abc6f68ba31d.a) swap on wd0b dump on wd0b Aug 4 20:00:50 hal9000 /bsd: WARNING: / was not properly unmounted Aug 4 20:00:50 hal9000 /bsd: panic: kernel diagnostic assertion "xfer->pipe->intrxfer == xfer" failed: file "../../../../dev/usb/ohci.c", line 2937 Aug 4 20:00:50 hal9000 /bsd: Stopped at Debugger+0x9: leave Aug 4 20:00:50 hal9000 /bsd: RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! Aug 4 20:00:50 hal9000 /bsd: IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO. Aug 4 20:00:50 hal9000 /bsd: DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! Aug 4 20:00:50 hal9000 /bsd: ddb{0}> Debugger() at Debugger+0x9 Aug 4 20:00:50 hal9000 /bsd: panic() at panic+0xfe Aug 4 20:00:50 hal9000 /bsd: __assert() at __assert+0x25 Aug 4 20:00:50 hal9000 /bsd: ohci_device_intr_abort() at ohci_device_intr_abort+0x41 Aug 4 20:00:50 hal9000 /bsd: usbd_abort_pipe() at usbd_abort_pipe+0x38 Aug 4 20:00:50 hal9000 /bsd: ucom_cleanup() at ucom_cleanup+0x29 Aug 4 20:00:50 hal9000 /bsd: ucom_do_close() at ucom_do_close+0x9c Aug 4 20:00:50 hal9000 /bsd: ucomclose() at ucomclose+0x78 Aug 4 20:00:50 hal9000 /bsd: spec_close() at spec_close+0x232 Aug 4 20:00:50 hal9000 /bsd: VOP_CLOSE() at VOP_CLOSE+0x3c Aug 4 20:00:50 hal9000 /bsd: vn_close() at vn_close+0x4f Aug 4 20:00:50 hal9000 /bsd: vn_closefile() at vn_closefile+0x7a Aug 4 20:00:50 hal9000 /bsd: fdrop() at fdrop+0x2c Aug 4 20:00:50 hal9000 /bsd: closef() at closef+0xcb Aug 4 20:00:50 hal9000 /bsd: sys_close() at sys_close+0x4f Aug 4 20:00:50 hal9000 /bsd: syscall() at syscall+0x297 Aug 4 20:00:50 hal9000 /bsd: --- syscall (number 6) --- Aug 4 20:00:50 hal9000 /bsd: end of kernel Aug 4 20:00:50 hal9000 /bsd: end trace frame: 0x2, count: -16 Aug 4 20:00:50 hal9000 /bsd: acpi_pdirpa+0x3ef7ea: Aug 4 20:00:50 hal9000 /bsd: ddb{0}> PID PPID PGRP UID S FLAGS WAIT COMMAND Aug 4 20:00:50 hal9000 /bsd: *18666 18944 18944 0 7 0x3 ttyflags Aug 4 20:00:50 hal9000 /bsd: 189 Aug 4 20:00:50 hal9000 savecore: no core dump
