Re: USB4BSD release candidate number 3 - request for review
On Tuesday 11 November 2008, kevin wrote: Hans Petter Selasky wrote: On Monday 10 November 2008, kevin wrote: Hans Petter Selasky wrote: On Sunday 09 November 2008, kevin wrote: It's a bug? /boot/loader.conf: zfs_load=YES vm.kmem_size_max=2048M vm.kmem_size=2048M vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 hw.psm.synaptics_support=1 legal.intel_iwn.license_ack=1 acpi_ibm_load=YES snd_hda_load=YES powerd_enable=YES linux_load=YES if_iwn_load=YES ubtbcmfw_load=YES usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES usb2_bluetooth_fw_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES usb2_image_load=YES kldstat: Id Refs AddressSize Name 1 82 0x8010 756b28 kernel (/boot/kernel/kernel) 21 0x80857000 3a88f8 zfs.ko (/boot/kernel/zfs.ko) 32 0x80c0 6670 opensolaris.ko (/boot/kernel/opensolaris.ko) 42 0x80c07000 a1dd8 linux.ko (/boot/kernel/linux.ko) 51 0x80ca9000 28470 snd_hda.ko (/boot/kernel/snd_hda.ko) 62 0x80cd2000 bc4d0 sound.ko (/boot/kernel/sound.ko) 71 0x80d8f000 7a38 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 81 0x80d97000 24e80 if_iwn.ko (/boot/kernel/if_iwn.ko) 91 0x80dbc000 6c18 ubtbcmfw.ko (/boot/kernel/ubtbcmfw.ko) 102 0x80dc3000 27f88 usb.ko (/boot/kernel/usb.ko) 113 0x80deb000 be8 usb2_bluetooth.ko (/boot/kernel/usb2_bluetooth.ko) 12 12 0x80dec000 9c868 usb2_core.ko (/boot/kernel/usb2_core.ko) 131 0x80e89000 bbf8 usb2_bluetooth_ng.ko (/boot/kernel/usb2_bluetooth_ng.ko) 146 0x80e95000 1ad00netgraph.ko (/boot/kernel/netgraph.ko) 15 1 0x80eb a950 usb2_bluetooth_fw.ko (/boot/kernel/usb2_bluetooth_fw.ko) 161 0x80ebb000 15978 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 173 0x80ed1000 8780 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 181 0x80eda000 19dd0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 191 0x80ef4000 e128 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 202 0x80f03000 bd0 usb2_input.ko (/boot/kernel/usb2_input.ko) 211 0x80f04000 15c28 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 222 0x80f1a000 bd8 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 231 0x80f1b000 bd0 usb2_image.ko (/boot/kernel/usb2_image.ko) 244 0x81022000 1835 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) 251 0x81024000 133a9ng_hci.ko (/boot/kernel/ng_hci.ko) 261 0x81038000 174b7ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) 27 1 0x8105 2de0ang_btsocket.ko (/boot/kernel/ng_btsocket.ko) 281 0x8107e000 535e ng_socket.ko (/boot/kernel/ng_socket.ko) 29 1 0x81084000 8059 vkbd.ko (/boot/kernel/vkbd.ko) 30 1 0x8108d000 6f4 rtc.ko (/usr/local/modules/rtc.ko) I build kernel without usb*.I notice usb.ko's refs is 2, after i run kldunload usb.ko, it is 1.when i try to kldunload usb.ko another time,it return Device busy.Any thing still request usb.ko? Hi, Could you send me your kernel config file. Maybe there is still one USB config entry left for the old USB stack. Else the following should do the trick: rm /boot/kernel/usb.ko --HPS This is my kernel config file. cpu HAMMER ident G8laptop options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options NFSCLIENT # Network Filesystem Client options NFSLOCKD # Network Lock Manager options NTFS # NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG #
Re: USB4BSD release candidate number 3 - request for review
Hans Petter Selasky wrote: On Tuesday 11 November 2008, kevin wrote: Hans Petter Selasky wrote: On Monday 10 November 2008, kevin wrote: Hans Petter Selasky wrote: On Sunday 09 November 2008, kevin wrote: It's a bug? /boot/loader.conf: zfs_load=YES vm.kmem_size_max=2048M vm.kmem_size=2048M vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 hw.psm.synaptics_support=1 legal.intel_iwn.license_ack=1 acpi_ibm_load=YES snd_hda_load=YES powerd_enable=YES linux_load=YES if_iwn_load=YES ubtbcmfw_load=YES usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES usb2_bluetooth_fw_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES usb2_image_load=YES kldstat: Id Refs AddressSize Name 1 82 0x8010 756b28 kernel (/boot/kernel/kernel) 21 0x80857000 3a88f8 zfs.ko (/boot/kernel/zfs.ko) 32 0x80c0 6670 opensolaris.ko (/boot/kernel/opensolaris.ko) 42 0x80c07000 a1dd8 linux.ko (/boot/kernel/linux.ko) 51 0x80ca9000 28470 snd_hda.ko (/boot/kernel/snd_hda.ko) 62 0x80cd2000 bc4d0 sound.ko (/boot/kernel/sound.ko) 71 0x80d8f000 7a38 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 81 0x80d97000 24e80 if_iwn.ko (/boot/kernel/if_iwn.ko) 91 0x80dbc000 6c18 ubtbcmfw.ko (/boot/kernel/ubtbcmfw.ko) 102 0x80dc3000 27f88 usb.ko (/boot/kernel/usb.ko) 113 0x80deb000 be8 usb2_bluetooth.ko (/boot/kernel/usb2_bluetooth.ko) 12 12 0x80dec000 9c868 usb2_core.ko (/boot/kernel/usb2_core.ko) 131 0x80e89000 bbf8 usb2_bluetooth_ng.ko (/boot/kernel/usb2_bluetooth_ng.ko) 146 0x80e95000 1ad00netgraph.ko (/boot/kernel/netgraph.ko) 15 1 0x80eb a950 usb2_bluetooth_fw.ko (/boot/kernel/usb2_bluetooth_fw.ko) 161 0x80ebb000 15978 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 173 0x80ed1000 8780 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 181 0x80eda000 19dd0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 191 0x80ef4000 e128 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 202 0x80f03000 bd0 usb2_input.ko (/boot/kernel/usb2_input.ko) 211 0x80f04000 15c28 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 222 0x80f1a000 bd8 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 231 0x80f1b000 bd0 usb2_image.ko (/boot/kernel/usb2_image.ko) 244 0x81022000 1835 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) 251 0x81024000 133a9ng_hci.ko (/boot/kernel/ng_hci.ko) 261 0x81038000 174b7ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) 27 1 0x8105 2de0ang_btsocket.ko (/boot/kernel/ng_btsocket.ko) 281 0x8107e000 535e ng_socket.ko (/boot/kernel/ng_socket.ko) 29 1 0x81084000 8059 vkbd.ko (/boot/kernel/vkbd.ko) 30 1 0x8108d000 6f4 rtc.ko (/usr/local/modules/rtc.ko) I build kernel without usb*.I notice usb.ko's refs is 2, after i run kldunload usb.ko, it is 1.when i try to kldunload usb.ko another time,it return Device busy.Any thing still request usb.ko? Hi, Could you send me your kernel config file. Maybe there is still one USB config entry left for the old USB stack. Else the following should do the trick: rm /boot/kernel/usb.ko --HPS This is my kernel config file. cpu HAMMER ident G8laptop options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options NFSCLIENT # Network Filesystem Client options NFSLOCKD # Network Lock Manager options NTFS # NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
Re: USB4BSD release candidate number 3 - request for review
Hans Petter Selasky wrote: On Monday 10 November 2008, kevin wrote: Hans Petter Selasky wrote: On Sunday 09 November 2008, kevin wrote: It's a bug? /boot/loader.conf: zfs_load=YES vm.kmem_size_max=2048M vm.kmem_size=2048M vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 hw.psm.synaptics_support=1 legal.intel_iwn.license_ack=1 acpi_ibm_load=YES snd_hda_load=YES powerd_enable=YES linux_load=YES if_iwn_load=YES ubtbcmfw_load=YES usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES usb2_bluetooth_fw_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES usb2_image_load=YES kldstat: Id Refs AddressSize Name 1 82 0x8010 756b28 kernel (/boot/kernel/kernel) 21 0x80857000 3a88f8 zfs.ko (/boot/kernel/zfs.ko) 32 0x80c0 6670 opensolaris.ko (/boot/kernel/opensolaris.ko) 42 0x80c07000 a1dd8 linux.ko (/boot/kernel/linux.ko) 51 0x80ca9000 28470 snd_hda.ko (/boot/kernel/snd_hda.ko) 62 0x80cd2000 bc4d0 sound.ko (/boot/kernel/sound.ko) 71 0x80d8f000 7a38 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 81 0x80d97000 24e80 if_iwn.ko (/boot/kernel/if_iwn.ko) 91 0x80dbc000 6c18 ubtbcmfw.ko (/boot/kernel/ubtbcmfw.ko) 102 0x80dc3000 27f88 usb.ko (/boot/kernel/usb.ko) 113 0x80deb000 be8 usb2_bluetooth.ko (/boot/kernel/usb2_bluetooth.ko) 12 12 0x80dec000 9c868 usb2_core.ko (/boot/kernel/usb2_core.ko) 131 0x80e89000 bbf8 usb2_bluetooth_ng.ko (/boot/kernel/usb2_bluetooth_ng.ko) 146 0x80e95000 1ad00netgraph.ko (/boot/kernel/netgraph.ko) 15 1 0x80eb a950 usb2_bluetooth_fw.ko (/boot/kernel/usb2_bluetooth_fw.ko) 161 0x80ebb000 15978 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 173 0x80ed1000 8780 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 181 0x80eda000 19dd0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 191 0x80ef4000 e128 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 202 0x80f03000 bd0 usb2_input.ko (/boot/kernel/usb2_input.ko) 211 0x80f04000 15c28 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 222 0x80f1a000 bd8 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 231 0x80f1b000 bd0 usb2_image.ko (/boot/kernel/usb2_image.ko) 244 0x81022000 1835 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) 251 0x81024000 133a9ng_hci.ko (/boot/kernel/ng_hci.ko) 261 0x81038000 174b7ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) 27 1 0x8105 2de0ang_btsocket.ko (/boot/kernel/ng_btsocket.ko) 281 0x8107e000 535e ng_socket.ko (/boot/kernel/ng_socket.ko) 29 1 0x81084000 8059 vkbd.ko (/boot/kernel/vkbd.ko) 301 0x8108d000 6f4 rtc.ko (/usr/local/modules/rtc.ko) I build kernel without usb*.I notice usb.ko's refs is 2, after i run kldunload usb.ko, it is 1.when i try to kldunload usb.ko another time,it return Device busy.Any thing still request usb.ko? Hi, Could you send me your kernel config file. Maybe there is still one USB config entry left for the old USB stack. Else the following should do the trick: rm /boot/kernel/usb.ko --HPS This is my kernel config file. cpu HAMMER ident G8laptop options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options NFSCLIENT # Network Filesystem Client options NFSLOCKD # Network Lock Manager options NTFS # NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in
Re: USB4BSD release candidate number 3 - request for review
On Sunday 09 November 2008, kevin wrote: It's a bug? /boot/loader.conf: zfs_load=YES vm.kmem_size_max=2048M vm.kmem_size=2048M vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 hw.psm.synaptics_support=1 legal.intel_iwn.license_ack=1 acpi_ibm_load=YES snd_hda_load=YES powerd_enable=YES linux_load=YES if_iwn_load=YES ubtbcmfw_load=YES usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES usb2_bluetooth_fw_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES usb2_image_load=YES kldstat: Id Refs AddressSize Name 1 82 0x8010 756b28 kernel (/boot/kernel/kernel) 21 0x80857000 3a88f8 zfs.ko (/boot/kernel/zfs.ko) 32 0x80c0 6670 opensolaris.ko (/boot/kernel/opensolaris.ko) 42 0x80c07000 a1dd8linux.ko (/boot/kernel/linux.ko) 51 0x80ca9000 28470snd_hda.ko (/boot/kernel/snd_hda.ko) 62 0x80cd2000 bc4d0sound.ko (/boot/kernel/sound.ko) 71 0x80d8f000 7a38 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 81 0x80d97000 24e80if_iwn.ko (/boot/kernel/if_iwn.ko) 91 0x80dbc000 6c18 ubtbcmfw.ko (/boot/kernel/ubtbcmfw.ko) 102 0x80dc3000 27f88usb.ko (/boot/kernel/usb.ko) 113 0x80deb000 be8 usb2_bluetooth.ko (/boot/kernel/usb2_bluetooth.ko) 12 12 0x80dec000 9c868 usb2_core.ko (/boot/kernel/usb2_core.ko) 131 0x80e89000 bbf8 usb2_bluetooth_ng.ko (/boot/kernel/usb2_bluetooth_ng.ko) 146 0x80e95000 1ad00netgraph.ko (/boot/kernel/netgraph.ko) 151 0x80eb a950 usb2_bluetooth_fw.ko (/boot/kernel/usb2_bluetooth_fw.ko) 161 0x80ebb000 15978 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 173 0x80ed1000 8780 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 181 0x80eda000 19dd0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 191 0x80ef4000 e128 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 202 0x80f03000 bd0 usb2_input.ko (/boot/kernel/usb2_input.ko) 211 0x80f04000 15c28 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 222 0x80f1a000 bd8 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 231 0x80f1b000 bd0 usb2_image.ko (/boot/kernel/usb2_image.ko) 244 0x81022000 1835 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) 251 0x81024000 133a9ng_hci.ko (/boot/kernel/ng_hci.ko) 261 0x81038000 174b7ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) 271 0x8105 2de0ang_btsocket.ko (/boot/kernel/ng_btsocket.ko) 281 0x8107e000 535e ng_socket.ko (/boot/kernel/ng_socket.ko) 29 1 0x81084000 8059 vkbd.ko (/boot/kernel/vkbd.ko) 301 0x8108d000 6f4 rtc.ko (/usr/local/modules/rtc.ko) I build kernel without usb*.I notice usb.ko's refs is 2, after i run kldunload usb.ko, it is 1.when i try to kldunload usb.ko another time,it return Device busy.Any thing still request usb.ko? Hi, Could you send me your kernel config file. Maybe there is still one USB config entry left for the old USB stack. Else the following should do the trick: rm /boot/kernel/usb.ko --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Saturday 08 November 2008, Paul B. Mahol wrote: On 11/7/08, Hans Petter Selasky [EMAIL PROTECTED] wrote: On Friday 07 November 2008, Paul B. Mahol wrote: On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: : After some time it will appear but will start attaching and : dettaching all the time: How quick is this happening? There has been some changes to the sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding to events. ~3 seconds. I got also this messages: uhci1: LegSup = 0x2f00 Legacy support is complaining about something! uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=, sts=0020, intr=, frnum=, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x0001 e_next=0x05a7dd00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=, sts=0020, intr=, frnum=, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x0001 e_next=0x05a7dd00 Doesnt looks like hub is source of fault, one from perforce with 152460 comitt is not available in CURRENT and with latest version of usb2_hub.c from perforce problem is still there. Maybe you can get the date of that file from the build where it works and the build where it doesn't work, and I will check the differences. Last time I tested usb2 from svn was before huge modularization. Yes, then it probably has something to do with Legacy USB support. Some suggestions: 0) Have you tried putting the USB modules in the kernel ? 1) Try not loading the EHCI driver. Does the UHCI driver work without the host controller halted error? 2) sys/dev/usb2/controller/uhci2_pci.c Try moving the pci_read/pci_write lines before the IRQ is setup: #if (__FreeBSD_version = 700031) err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, NULL, (void *)(void *)uhci_interrupt, sc, sc-sc_intr_hdl); #else err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (void *)(void *)uhci_interrupt, sc, sc-sc_intr_hdl); #endif if (err) { device_printf(self, Could not setup irq, %d\n, err); sc-sc_intr_hdl = NULL; goto error; } /* * Set the PIRQD enable bit and switch off all the others. We don't * want legacy support to interfere with us XXX Does this also mean * that the BIOS won't touch the keyboard anymore if it is connected * to the ports of the root hub? */ #if USB_DEBUG if (pci_read_config(self, PCI_LEGSUP, 2) != PCI_LEGSUP_USBPIRQDEN) { device_printf(self, LegSup = 0x%04x\n, pci_read_config(self, PCI_LEGSUP, 2)); } #endif pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 2); 3) There has been some changes to the EHCI legacy support code recently. Try the same in EHCI: Move ehci_pci_takecontroller before the IRQ is setup: sys/dev/usb2/controller/ehci2_pci.c #if (__FreeBSD_version = 700031) err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, NULL, (void *)(void *)ehci_interrupt, sc, sc-sc_intr_hdl); #else err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (void *)(void *)ehci_interrupt, sc, sc-sc_intr_hdl); #endif if (err) { device_printf(self, Could not setup irq, %d\n, err); sc-sc_intr_hdl = NULL; goto error; } ehci_pci_takecontroller(self); You only need to recompile and reinstall the USB2 modules after these changes. Try one suggestion at a time so that we can do some elimination. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On 11/9/08, Hans Petter Selasky [EMAIL PROTECTED] wrote: On Saturday 08 November 2008, Paul B. Mahol wrote: On 11/7/08, Hans Petter Selasky [EMAIL PROTECTED] wrote: On Friday 07 November 2008, Paul B. Mahol wrote: On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: : After some time it will appear but will start attaching and : dettaching all the time: How quick is this happening? There has been some changes to the sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding to events. ~3 seconds. I got also this messages: uhci1: LegSup = 0x2f00 Legacy support is complaining about something! uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=, sts=0020, intr=, frnum=, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x0001 e_next=0x05a7dd00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=, sts=0020, intr=, frnum=, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x0001 e_next=0x05a7dd00 Doesnt looks like hub is source of fault, one from perforce with 152460 comitt is not available in CURRENT and with latest version of usb2_hub.c from perforce problem is still there. Maybe you can get the date of that file from the build where it works and the build where it doesn't work, and I will check the differences. Last time I tested usb2 from svn was before huge modularization. Yes, then it probably has something to do with Legacy USB support. Some suggestions: 0) Have you tried putting the USB modules in the kernel ? 1) Try not loading the EHCI driver. Does the UHCI driver work without the host controller halted error? 2) sys/dev/usb2/controller/uhci2_pci.c Try moving the pci_read/pci_write lines before the IRQ is setup: #if (__FreeBSD_version = 700031) err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, NULL, (void *)(void *)uhci_interrupt, sc, sc-sc_intr_hdl); #else err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (void *)(void *)uhci_interrupt, sc, sc-sc_intr_hdl); #endif if (err) { device_printf(self, Could not setup irq, %d\n, err); sc-sc_intr_hdl = NULL; goto error; } /* * Set the PIRQD enable bit and switch off all the others. We don't * want legacy support to interfere with us XXX Does this also mean * that the BIOS won't touch the keyboard anymore if it is connected * to the ports of the root hub? */ #if USB_DEBUG if (pci_read_config(self, PCI_LEGSUP, 2) != PCI_LEGSUP_USBPIRQDEN) { device_printf(self, LegSup = 0x%04x\n, pci_read_config(self, PCI_LEGSUP, 2)); } #endif pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 2); 3) There has been some changes to the EHCI legacy support code recently. Try the same in EHCI: Move ehci_pci_takecontroller before the IRQ is setup: sys/dev/usb2/controller/ehci2_pci.c #if (__FreeBSD_version = 700031) err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, NULL, (void *)(void *)ehci_interrupt, sc, sc-sc_intr_hdl); #else err = bus_setup_intr(self, sc-sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, (void *)(void *)ehci_interrupt, sc, sc-sc_intr_hdl); #endif if (err) { device_printf(self, Could not setup irq, %d\n, err); sc-sc_intr_hdl = NULL; goto error; } ehci_pci_takecontroller(self); You only need to recompile and reinstall the USB2 modules after these changes. Try one suggestion at a time so that we can do some elimination. Real source of problem was card itself (similar errors were happening in oldusb, linux and windows) Another card works fine. Sorry for the noise. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Monday 10 November 2008, kevin wrote: Hans Petter Selasky wrote: On Sunday 09 November 2008, kevin wrote: It's a bug? /boot/loader.conf: zfs_load=YES vm.kmem_size_max=2048M vm.kmem_size=2048M vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 hw.psm.synaptics_support=1 legal.intel_iwn.license_ack=1 acpi_ibm_load=YES snd_hda_load=YES powerd_enable=YES linux_load=YES if_iwn_load=YES ubtbcmfw_load=YES usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES usb2_bluetooth_fw_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES usb2_image_load=YES kldstat: Id Refs AddressSize Name 1 82 0x8010 756b28 kernel (/boot/kernel/kernel) 21 0x80857000 3a88f8 zfs.ko (/boot/kernel/zfs.ko) 32 0x80c0 6670 opensolaris.ko (/boot/kernel/opensolaris.ko) 42 0x80c07000 a1dd8 linux.ko (/boot/kernel/linux.ko) 51 0x80ca9000 28470 snd_hda.ko (/boot/kernel/snd_hda.ko) 62 0x80cd2000 bc4d0 sound.ko (/boot/kernel/sound.ko) 71 0x80d8f000 7a38 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 81 0x80d97000 24e80 if_iwn.ko (/boot/kernel/if_iwn.ko) 91 0x80dbc000 6c18 ubtbcmfw.ko (/boot/kernel/ubtbcmfw.ko) 102 0x80dc3000 27f88 usb.ko (/boot/kernel/usb.ko) 113 0x80deb000 be8 usb2_bluetooth.ko (/boot/kernel/usb2_bluetooth.ko) 12 12 0x80dec000 9c868 usb2_core.ko (/boot/kernel/usb2_core.ko) 131 0x80e89000 bbf8 usb2_bluetooth_ng.ko (/boot/kernel/usb2_bluetooth_ng.ko) 146 0x80e95000 1ad00netgraph.ko (/boot/kernel/netgraph.ko) 15 1 0x80eb a950 usb2_bluetooth_fw.ko (/boot/kernel/usb2_bluetooth_fw.ko) 161 0x80ebb000 15978 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 173 0x80ed1000 8780 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 181 0x80eda000 19dd0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 191 0x80ef4000 e128 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 202 0x80f03000 bd0 usb2_input.ko (/boot/kernel/usb2_input.ko) 211 0x80f04000 15c28 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 222 0x80f1a000 bd8 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 231 0x80f1b000 bd0 usb2_image.ko (/boot/kernel/usb2_image.ko) 244 0x81022000 1835 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) 251 0x81024000 133a9ng_hci.ko (/boot/kernel/ng_hci.ko) 261 0x81038000 174b7ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) 27 1 0x8105 2de0ang_btsocket.ko (/boot/kernel/ng_btsocket.ko) 281 0x8107e000 535e ng_socket.ko (/boot/kernel/ng_socket.ko) 29 1 0x81084000 8059 vkbd.ko (/boot/kernel/vkbd.ko) 301 0x8108d000 6f4 rtc.ko (/usr/local/modules/rtc.ko) I build kernel without usb*.I notice usb.ko's refs is 2, after i run kldunload usb.ko, it is 1.when i try to kldunload usb.ko another time,it return Device busy.Any thing still request usb.ko? Hi, Could you send me your kernel config file. Maybe there is still one USB config entry left for the old USB stack. Else the following should do the trick: rm /boot/kernel/usb.ko --HPS This is my kernel config file. cpu HAMMER ident G8laptop options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options NFSCLIENT # Network Filesystem Client options NFSLOCKD # Network Lock Manager options NTFS # NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options
Re: USB4BSD release candidate number 3 - request for review
Hans Petter Selasky wrote: On Sunday 09 November 2008, kevin wrote: It's a bug? /boot/loader.conf: zfs_load=YES vm.kmem_size_max=2048M vm.kmem_size=2048M vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 hw.psm.synaptics_support=1 legal.intel_iwn.license_ack=1 acpi_ibm_load=YES snd_hda_load=YES powerd_enable=YES linux_load=YES if_iwn_load=YES ubtbcmfw_load=YES usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES usb2_bluetooth_fw_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES usb2_image_load=YES kldstat: Id Refs AddressSize Name 1 82 0x8010 756b28 kernel (/boot/kernel/kernel) 21 0x80857000 3a88f8 zfs.ko (/boot/kernel/zfs.ko) 32 0x80c0 6670 opensolaris.ko (/boot/kernel/opensolaris.ko) 42 0x80c07000 a1dd8linux.ko (/boot/kernel/linux.ko) 51 0x80ca9000 28470snd_hda.ko (/boot/kernel/snd_hda.ko) 62 0x80cd2000 bc4d0sound.ko (/boot/kernel/sound.ko) 71 0x80d8f000 7a38 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko) 81 0x80d97000 24e80if_iwn.ko (/boot/kernel/if_iwn.ko) 91 0x80dbc000 6c18 ubtbcmfw.ko (/boot/kernel/ubtbcmfw.ko) 102 0x80dc3000 27f88usb.ko (/boot/kernel/usb.ko) 113 0x80deb000 be8 usb2_bluetooth.ko (/boot/kernel/usb2_bluetooth.ko) 12 12 0x80dec000 9c868 usb2_core.ko (/boot/kernel/usb2_core.ko) 131 0x80e89000 bbf8 usb2_bluetooth_ng.ko (/boot/kernel/usb2_bluetooth_ng.ko) 146 0x80e95000 1ad00netgraph.ko (/boot/kernel/netgraph.ko) 151 0x80eb a950 usb2_bluetooth_fw.ko (/boot/kernel/usb2_bluetooth_fw.ko) 161 0x80ebb000 15978 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 173 0x80ed1000 8780 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 181 0x80eda000 19dd0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 191 0x80ef4000 e128 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 202 0x80f03000 bd0 usb2_input.ko (/boot/kernel/usb2_input.ko) 211 0x80f04000 15c28 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 222 0x80f1a000 bd8 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 231 0x80f1b000 bd0 usb2_image.ko (/boot/kernel/usb2_image.ko) 244 0x81022000 1835 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) 251 0x81024000 133a9ng_hci.ko (/boot/kernel/ng_hci.ko) 261 0x81038000 174b7ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) 271 0x8105 2de0ang_btsocket.ko (/boot/kernel/ng_btsocket.ko) 281 0x8107e000 535e ng_socket.ko (/boot/kernel/ng_socket.ko) 29 1 0x81084000 8059 vkbd.ko (/boot/kernel/vkbd.ko) 301 0x8108d000 6f4 rtc.ko (/usr/local/modules/rtc.ko) I build kernel without usb*.I notice usb.ko's refs is 2, after i run kldunload usb.ko, it is 1.when i try to kldunload usb.ko another time,it return Device busy.Any thing still request usb.ko? Hi, Could you send me your kernel config file. Maybe there is still one USB config entry left for the old USB stack. Else the following should do the trick: rm /boot/kernel/usb.ko --HPS This is my kernel config file. cpu HAMMER ident G8laptop options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options NFSCLIENT # Network Filesystem Client options NFSLOCKD # Network Lock Manager options NTFS # NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options STOP_NMI # Stop CPUS using NMI instead of IPI
Re: USB4BSD release candidate number 3 - request for review
On 11/7/08, Hans Petter Selasky [EMAIL PROTECTED] wrote: On Friday 07 November 2008, Paul B. Mahol wrote: On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: : After some time it will appear but will start attaching and : dettaching all the time: How quick is this happening? There has been some changes to the sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding to events. ~3 seconds. I got also this messages: uhci1: LegSup = 0x2f00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=, sts=0020, intr=, frnum=, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x0001 e_next=0x05a7dd00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=, sts=0020, intr=, frnum=, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x0001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x0001 e_next=0x05a7dd00 Doesnt looks like hub is source of fault, one from perforce with 152460 comitt is not available in CURRENT and with latest version of usb2_hub.c from perforce problem is still there. Maybe you can get the date of that file from the build where it works and the build where it doesn't work, and I will check the differences. Last time I tested usb2 from svn was before huge modularization. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: On recent CURRENT when attaching rum card, strange bug appear: usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! But not so old one from svn was working fine. kldstat Id Refs AddressSize Name 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) 194 0xc46eb000 3000 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 201 0xc46f8000 a000 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 211 0xc474e000 c000 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 221 0xc477b000 a000 usb2_controller_ohci.ko (/boot/kernel/usb2_controller_ohci.ko) 231 0xc47a8000 a000 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) 251 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 261 0xc480 a000 usb2_wlan_rum.ko (/boot/kernel/usb2_wlan_rum.ko) 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) After some time it will appear but will start attaching and dettaching all the time: ugen4.2: Ralink at usbus4 rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub4, port 6, addr 2 (disconnected) rum0: detached ugen4.2: Ralink at usbus4 rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub4, port 6, addr 2 (disconnected) rum0: detached ugen2.2: Ralink at usbus2 rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub2, port 2, addr 2 (disconnected) rum0: detached ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: On recent CURRENT when attaching rum card, strange bug appear: usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! But not so old one from svn was working fine. kldstat Id Refs AddressSize Name 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) 194 0xc46eb000 3000 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 201 0xc46f8000 a000 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 211 0xc474e000 c000 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 221 0xc477b000 a000 usb2_controller_ohci.ko (/boot/kernel/usb2_controller_ohci.ko) 231 0xc47a8000 a000 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) 251 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 261 0xc480 a000 usb2_wlan_rum.ko (/boot/kernel/usb2_wlan_rum.ko) 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) After some time it will appear but will start attaching and dettaching all the time: ugen4.2: Ralink at usbus4 rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub4, port 6, addr 2 (disconnected) rum0: detached ugen4.2: Ralink at usbus4 rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub4, port 6, addr 2 (disconnected) rum0: detached ugen2.2: Ralink at usbus2 rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub2, port 2, addr 2 (disconnected) rum0: detached Looks like some code is missing because loading only usb2_wlan_rum do not load ehci and uhci usb2 modules. (causing card to not attach) I managed to get card working with usb2_controller_uhci and usb2_controller_ehci loaded. (without ohci) ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] Paul B. Mahol [EMAIL PROTECTED] writes: : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : On recent CURRENT when attaching rum card, strange bug appear: : : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : uhub_reattach_port:370: giving up port reset - device vanished! : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : But not so old one from svn was working fine. : : kldstat : Id Refs AddressSize Name : 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) : 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) : 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) : 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) : 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) : 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) : 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) : 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) : 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) : 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) : 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) : 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) : 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) : 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) : 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) : 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) : 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) : 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) : 194 0xc46eb000 3000 usb2_controller.ko : (/boot/kernel/usb2_controller.ko) : 201 0xc46f8000 a000 usb2_controller_uhci.ko : (/boot/kernel/usb2_controller_uhci.ko) : 211 0xc474e000 c000 usb2_controller_ehci.ko : (/boot/kernel/usb2_controller_ehci.ko) : 221 0xc477b000 a000 usb2_controller_ohci.ko : (/boot/kernel/usb2_controller_ohci.ko) : 231 0xc47a8000 a000 usb2_storage_mass.ko : (/boot/kernel/usb2_storage_mass.ko) : 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) : 251 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) : 261 0xc480 a000 usb2_wlan_rum.ko : (/boot/kernel/usb2_wlan_rum.ko) : 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) : 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) : 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) : : : After some time it will appear but will start attaching and dettaching : all the time: : : ugen4.2: Ralink at usbus4 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub4, port 6, addr 2 (disconnected) : rum0: detached : ugen4.2: Ralink at usbus4 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub4, port 6, addr 2 (disconnected) : rum0: detached : ugen2.2: Ralink at usbus2 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus2 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub2, port 2, addr 2 (disconnected) : rum0: detached : : : Looks like some code is missing because loading only usb2_wlan_rum do : not load ehci and uhci usb2 modules. (causing card to not attach) : : I managed to get card working with usb2_controller_uhci and : usb2_controller_ehci loaded. (without ohci) That's not a bug. Warner ___
Re: USB4BSD release candidate number 3 - request for review
On recent CURRENT when attaching rum card, strange bug appear: usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! But not so old one from svn was working fine. kldstat Id Refs AddressSize Name 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) 194 0xc46eb000 3000 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 201 0xc46f8000 a000 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 211 0xc474e000 c000 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 221 0xc477b000 a000 usb2_controller_ohci.ko (/boot/kernel/usb2_controller_ohci.ko) 231 0xc47a8000 a000 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) 251 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 261 0xc480 a000 usb2_wlan_rum.ko (/boot/kernel/usb2_wlan_rum.ko) 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: In message: [EMAIL PROTECTED] Paul B. Mahol [EMAIL PROTECTED] writes: : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : On recent CURRENT when attaching rum card, strange bug appear: : : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : uhub_reattach_port:370: giving up port reset - device vanished! : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : But not so old one from svn was working fine. : : kldstat : Id Refs AddressSize Name : 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) : 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) : 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) : 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) : 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) : 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) : 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) : 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) : 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) : 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) : 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) : 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) : 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) : 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) : 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) : 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) : 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) : 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) : 194 0xc46eb000 3000 usb2_controller.ko : (/boot/kernel/usb2_controller.ko) : 201 0xc46f8000 a000 usb2_controller_uhci.ko : (/boot/kernel/usb2_controller_uhci.ko) : 211 0xc474e000 c000 usb2_controller_ehci.ko : (/boot/kernel/usb2_controller_ehci.ko) : 221 0xc477b000 a000 usb2_controller_ohci.ko : (/boot/kernel/usb2_controller_ohci.ko) : 231 0xc47a8000 a000 usb2_storage_mass.ko : (/boot/kernel/usb2_storage_mass.ko) : 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) : 251 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) : 261 0xc480 a000 usb2_wlan_rum.ko : (/boot/kernel/usb2_wlan_rum.ko) : 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) : 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) : 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) : : : After some time it will appear but will start attaching and dettaching : all the time: : : ugen4.2: Ralink at usbus4 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub4, port 6, addr 2 (disconnected) : rum0: detached : ugen4.2: Ralink at usbus4 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub4, port 6, addr 2 (disconnected) : rum0: detached : ugen2.2: Ralink at usbus2 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus2 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub2, port 2, addr 2 (disconnected) : rum0: detached : : : Looks like some code is missing because loading only usb2_wlan_rum do : not load ehci and uhci usb2 modules. (causing card to not attach) : : I managed to get card working
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] Paul B. Mahol [EMAIL PROTECTED] writes: : On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: : In message: [EMAIL PROTECTED] : Paul B. Mahol [EMAIL PROTECTED] writes: : : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : : On recent CURRENT when attaching rum card, strange bug appear: : : : : usb2_alloc_device:1417: set address 2 failed (ignored) : : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : : uhub_reattach_port:401: could not allocate new device! : : : : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling : port 5 : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:370: giving up port reset - device vanished! : : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling : port 5 : : uhub_reattach_port:370: giving up port reset - device vanished! : : usb2_alloc_device:1417: set address 2 failed (ignored) : : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : : uhub_reattach_port:401: could not allocate new device! : : : : usb2_alloc_device:1417: set address 2 failed (ignored) : : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : : uhub_reattach_port:401: could not allocate new device! : : : : But not so old one from svn was working fine. : : : : kldstat : : Id Refs AddressSize Name : : 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) : : 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) : : 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) : : 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) : : 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) : : 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) : : 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) : : 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) : : 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) : : 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) : : 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) : : 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) : : 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) : : 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) : : 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) : : 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) : : 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) : : 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) : : 194 0xc46eb000 3000 usb2_controller.ko : : (/boot/kernel/usb2_controller.ko) : : 201 0xc46f8000 a000 usb2_controller_uhci.ko : : (/boot/kernel/usb2_controller_uhci.ko) : : 211 0xc474e000 c000 usb2_controller_ehci.ko : : (/boot/kernel/usb2_controller_ehci.ko) : : 221 0xc477b000 a000 usb2_controller_ohci.ko : : (/boot/kernel/usb2_controller_ohci.ko) : : 231 0xc47a8000 a000 usb2_storage_mass.ko : : (/boot/kernel/usb2_storage_mass.ko) : : 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) : : 251 0xc47fe000 2000 usb2_storage.ko : (/boot/kernel/usb2_storage.ko) : : 261 0xc480 a000 usb2_wlan_rum.ko : : (/boot/kernel/usb2_wlan_rum.ko) : : 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) : : 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) : : 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) : : : : : : After some time it will appear but will start attaching and dettaching : : all the time: : : : : ugen4.2: Ralink at usbus4 : : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on : usbus4 : : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : : rum0: at ushub4, port 6, addr 2 (disconnected) : : rum0: detached : : ugen4.2: Ralink at usbus4 : : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on : usbus4 : : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : : rum0: at ushub4, port 6, addr 2 (disconnected) : : rum0: detached : : ugen2.2: Ralink at usbus2 : : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on : usbus2 : : rum0: MAC/BBP RT2573 (rev
Re: USB4BSD release candidate number 3 - request for review
On Friday 07 November 2008, Paul B. Mahol wrote: On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: In message: [EMAIL PROTECTED] Paul B. Mahol [EMAIL PROTECTED] writes: : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : On 11/7/08, Paul B. Mahol [EMAIL PROTECTED] wrote: : On recent CURRENT when attaching rum card, strange bug appear: : : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:370: giving up port reset - device vanished! : uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : uhub_reattach_port:370: giving up port reset - device vanished! : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : usb2_alloc_device:1417: set address 2 failed (ignored) : usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : uhub_reattach_port:401: could not allocate new device! : : But not so old one from svn was working fine. : : kldstat : : Id Refs AddressSize Name : 1 155 0xc040 51f700 kernel (/boot/kernel/kernel) : 22 0xc092 51bb0sound.ko (/boot/kernel/sound.ko) : 31 0xc0972000 1a5e0snd_hda.ko (/boot/kernel/snd_hda.ko) : 42 0xc098d000 18170agp.ko (/boot/kernel/agp.ko) : 51 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) : 62 0xc09b3000 16b14drm.ko (/boot/kernel/drm.ko) : 71 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) : 85 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) : 92 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) : 103 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) : 111 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) : 121 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) : 131 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) : 141 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) : 151 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) : 161 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) : 171 0xc0a1b000 6b974acpi.ko (/boot/kernel/acpi.ko) : 189 0xc462c000 35000usb2_core.ko (/boot/kernel/usb2_core.ko) : 194 0xc46eb000 3000 usb2_controller.ko : (/boot/kernel/usb2_controller.ko) : 201 0xc46f8000 a000 usb2_controller_uhci.ko : (/boot/kernel/usb2_controller_uhci.ko) : 211 0xc474e000 c000 usb2_controller_ehci.ko : (/boot/kernel/usb2_controller_ehci.ko) : 221 0xc477b000 a000 usb2_controller_ohci.ko : (/boot/kernel/usb2_controller_ohci.ko) : 231 0xc47a8000 a000 usb2_storage_mass.ko : (/boot/kernel/usb2_storage_mass.ko) : 241 0xc47b2000 43000cam.ko (/boot/kernel/cam.ko) : 251 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) : 261 0xc480 a000 usb2_wlan_rum.ko : (/boot/kernel/usb2_wlan_rum.ko) : 271 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) : 284 0xc480c000 34000wlan.ko (/boot/kernel/wlan.ko) : 291 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) : : After some time it will appear but will start attaching and : dettaching all the time: : : ugen4.2: Ralink at usbus4 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub4, port 6, addr 2 (disconnected) : rum0: detached : ugen4.2: Ralink at usbus4 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus4 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub4, port 6, addr 2 (disconnected) : rum0: detached : ugen2.2: Ralink at usbus2 : rum0: Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2 on usbus2 : rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : rum0: at ushub2, port 2, addr 2 (disconnected) : rum0: detached : : Looks
Re: USB4BSD release candidate number 3 - request for review
On Friday 07 November 2008, Paul B. Mahol wrote: On 11/7/08, M. Warner Losh [EMAIL PROTECTED] wrote: : After some time it will appear but will start attaching and : dettaching all the time: How quick is this happening? There has been some changes to the sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding to events. Maybe you can get the date of that file from the build where it works and the build where it doesn't work, and I will check the differences. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Fri, Nov 07, 2008 at 07:46:00PM +, Thomas Sparrevohn wrote: On Thursday 06 November 2008 23:36:14 Hans Petter Selasky wrote: On Thursday 06 November 2008, Alexey Shuvaev wrote: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7e6 _sx_xlock() at _sx_xlock+0x44 vm_map_lookup() at vm_map_lookup+0x47 vm_fault() at vm_fault+0xfe trap_pfault() at trap_pfault+0x1fa trap() at trap+0x201 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0x804b2466, rsp = 0xfffeba7f8ac0, rbp = 0xfffeba7f8b00 --- bcopy() at bcopy+0x16 usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_wrapper() at usb2_callback_wrapper+0xfd usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_proc() at usb2_callback_proc+0x68 usb2_process() at usb2_process+0xc0 Hi Alexey, This looks more like a busdma problem to me. bcopy() is called from within bus_dmamap_sync(). Maybe you can figure out if it is the source or the destination address that fails? Looks like your system has started bouncing data to the 32-bit address range. I can reproduce an error like it whenever I use DMA on umass device - The error somehow are triggered/created by the multiport patches that was introduced in the ATA framework back in April - For a long time I believed it was an error in the ATA frame work until I discovered that If I disabled the umass device the error disappered I am using ZFS on both devices. If I change to usb2_ata the problem disappers. I think that is because usb2_ata does not use DMA. I believe the problem is related to the DMA handling in the umass see attached fault - In short the problem has been around for a long time but it seems to be related to the USB stack DMA handling - before usb2 it showed up as a DMA error in the ATA driver - but that was because the old umass driver somehow stole an active DMA {gigantic snip} Check out this thread, which includes patches: http://lists.freebsd.org/pipermail/freebsd-current/2008-November/thread.html#220 http://lists.freebsd.org/pipermail/freebsd-current/2008-November/000220.html -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
* Hans Petter Selasky [EMAIL PROTECTED] [081105 08:26] wrote: Hi, I will get this patch in next time an USB2 update gets committed to FreeBSD-current. Hey Hans, can you look into using svk for your repository? I think it will make commits to svn easier for both of us. Easier for me to pull your changes and easier for you to track changes in FreeBSD... ? -Alfred ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wed, 5 Nov 2008 17:22:43 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Hi, Try to load the module instead of having bluetooth in the kernel. Then all dependancies are loaded automatically. Depends on some bluetooth stuff. --HPS I build kernel without usb2_bluetooth_ng successfully. i notice that fingerpring and bluetooth mouse nolonger work now. in dmesg: ugen0.2: Broadcom Corp at usbus0 ugen0.3: STMicroelectronics at usbus0 maybe /etc/rc.d/bthidd and fprint package need update now. Try: kldload usb2_bluetooth_ng I don't know if this is a problem in general, but I can't load usb2_serial_modem and have usb2_serial load automatically: kldload usb2_serial_modem interface ucom.1 already present in the KLD 'ucom.ko'! kldload: /boot/kernel/usb2_serial.ko: Unsupported file type KLD usb2_serial_modem.ko: depends on usb2_serial - not available kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type kldload'ing usb2_serial followed by usb2_serial_modem works though. -- Bruce Cran ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Thu, Nov 06, 2008 at 05:04:16AM -0800, Bruce Cran wrote: I don't know if this is a problem in general, but I can't load usb2_serial_modem and have usb2_serial load automatically: kldload usb2_serial_modem interface ucom.1 already present in the KLD 'ucom.ko'! ^^^ I think it is a module from the old usb stack. kldload: /boot/kernel/usb2_serial.ko: Unsupported file type KLD usb2_serial_modem.ko: depends on usb2_serial - not available kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type kldload'ing usb2_serial followed by usb2_serial_modem works though. I also see automatic loading of the old stack modules, for example (entries 17, 18): [wep4035] ~ kldstat Id Refs AddressSize Name 1 55 0x8010 8daac8 kernel (/boot/kernel/kernel) 21 0x809db000 21ed8snd_hda.ko (/boot/kernel/snd_hda.ko) 32 0x809fd000 749c8sound.ko (/boot/kernel/sound.ko) 41 0x80a72000 3090 speaker.ko (/boot/kernel/speaker.ko) 51 0x80a76000 59e8 ichsmb.ko (/boot/kernel/ichsmb.ko) 62 0x80a7c000 2440 smbus.ko (/boot/kernel/smbus.ko) 71 0x80a7f000 fa10 i915.ko (/boot/kernel/i915.ko) 82 0x80a8f000 21c48drm.ko (/boot/kernel/drm.ko) 91 0x80ab1000 e648 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 103 0x80ac 5168 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 118 0x80ac6000 5c548usb2_core.ko (/boot/kernel/usb2_core.ko) 121 0x80b23000 125a0usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 131 0x80b36000 4e48 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 142 0x80b3b000 560 usb2_input.ko (/boot/kernel/usb2_input.ko) 151 0x80b3c000 ff08 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 162 0x80b4c000 570 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 171 0x80c22000 18c7 ums.ko (/boot/kernel/ums.ko) 181 0x80c24000 9612 usb.ko (/boot/kernel/usb.ko) 191 0x80c2e000 216 green_saver.ko (/boot/kernel/green_saver.ko) Simple kldunload-ing of ums.ko unloads usb.ko also. I am having quite reliable panics with the new stack when I insert usb stick (actually during the first access to it). Trying to collect more information I haven't managed to produce memory dump. Is it working on amd64 SMP CURRENT? I remember there were some complains about it. I will report details of the panic when I get them. Alexey. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Thursday 06 November 2008, Bruce Cran wrote: On Wed, 5 Nov 2008 17:22:43 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Hi, Try to load the module instead of having bluetooth in the kernel. Then all dependancies are loaded automatically. Depends on some bluetooth stuff. --HPS I build kernel without usb2_bluetooth_ng successfully. i notice that fingerpring and bluetooth mouse nolonger work now. in dmesg: ugen0.2: Broadcom Corp at usbus0 ugen0.3: STMicroelectronics at usbus0 maybe /etc/rc.d/bthidd and fprint package need update now. Try: kldload usb2_bluetooth_ng I don't know if this is a problem in general, but I can't load usb2_serial_modem and have usb2_serial load automatically: kldload usb2_serial_modem interface ucom.1 already present in the KLD 'ucom.ko'! kldload: /boot/kernel/usb2_serial.ko: Unsupported file type KLD usb2_serial_modem.ko: depends on usb2_serial - not available kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type kldload'ing usb2_serial followed by usb2_serial_modem works though. Hi, Fixed in the following commit: http://perforce.freebsd.org/chv.cgi?CH=152584 Thanks again for your reporting. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Thursday 06 November 2008, Alfred Perlstein wrote: * Hans Petter Selasky [EMAIL PROTECTED] [081105 08:26] wrote: Hi, I will get this patch in next time an USB2 update gets committed to FreeBSD-current. Hey Hans, can you look into using svk for your repository? I think it will make commits to svn easier for both of us. Easier for me to pull your changes and easier for you to track changes in FreeBSD... ? Yes, I will try to set it up later today. Should we retire the USB P4 repository then ? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : On Thursday 06 November 2008, Bruce Cran wrote: : On Wed, 5 Nov 2008 17:22:43 +0100 : : Hans Petter Selasky [EMAIL PROTECTED] wrote: : On Wednesday 05 November 2008, kevin wrote: :Hans Petter Selasky wrote: : On Wednesday 05 November 2008, kevin wrote: : Hans Petter Selasky wrote: : Hi, : : A new USB release is available: : : http://www.selasky.org/hans_petter/usb4bsd/for_review/ : : %md5 usb2_release_003.* : MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 : MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf : %sha256 usb2_release_003.* : SHA256 (usb2_release_003.diff) = : 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b : SHA256 (usb2_release_003.tar.gz) = : 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 : : Changes since 002 release: : : I try to compile kernel with usb2. : : Hi, : : Try to load the module instead of having bluetooth in the kernel. : Then all dependancies are loaded automatically. : : Depends on some bluetooth stuff. : : --HPS : :I build kernel without usb2_bluetooth_ng successfully. i notice that :fingerpring and bluetooth mouse nolonger work now. :in dmesg: :ugen0.2: Broadcom Corp at usbus0 :ugen0.3: STMicroelectronics at usbus0 :maybe /etc/rc.d/bthidd and fprint package need update now. : : Try: : : kldload usb2_bluetooth_ng : : I don't know if this is a problem in general, but I can't load : : usb2_serial_modem and have usb2_serial load automatically: : kldload usb2_serial_modem : : interface ucom.1 already present in the KLD 'ucom.ko'! : kldload: /boot/kernel/usb2_serial.ko: Unsupported file type : KLD usb2_serial_modem.ko: depends on usb2_serial - not available : kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type : : kldload'ing usb2_serial followed by usb2_serial_modem works though. : : Hi, : : Fixed in the following commit: : : http://perforce.freebsd.org/chv.cgi?CH=152584 : : Thanks again for your reporting. I've merged this into -head. Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Thu, 6 Nov 2008 15:13:23 +0100 Alexey Shuvaev [EMAIL PROTECTED] wrote: [big snip] I am having quite reliable panics with the new stack when I insert usb stick (actually during the first access to it). Trying to collect more information I haven't managed to produce memory dump. Is it working on amd64 SMP CURRENT? I remember there were some complains about it. It works just fine for me with SMP amd64. I tested several USB sticks and saw absolutely no problems. I have not tried it with a real external USB disk. It also works with my FTDI USB-to-serial adapters. I do not use any USB modules. --- Gary Jennejohn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Thu, Nov 06, 2008 at 07:10:20PM +0100, Hans Petter Selasky wrote: On Thursday 06 November 2008, Gary Jennejohn wrote: On Thu, 6 Nov 2008 15:13:23 +0100 Alexey Shuvaev [EMAIL PROTECTED] wrote: [big snip] Exactly here was output from kldstat :) I am having quite reliable panics with the new stack when I insert usb stick (actually during the first access to it). Trying to collect more information I haven't managed to produce memory dump. Is it working on amd64 SMP CURRENT? I remember there were some complains about it. Here I was actually asking about kernel memory dumps... Will try harder this time. It works just fine for me with SMP amd64. I tested several USB sticks and saw absolutely no problems. I have not tried it with a real external USB disk. It also works with my FTDI USB-to-serial adapters. I do not use any USB modules. Hi Alexey, Maybe you are using the ATA interface for USB? Could you do a kldstat ? Here it is: [wep4035] ~ kldstat Id Refs AddressSize Name 1 46 0x8010 8daac8 kernel (/boot/kernel/kernel) 21 0x809db000 21ed8snd_hda.ko (/boot/kernel/snd_hda.ko) 32 0x809fd000 749c8sound.ko (/boot/kernel/sound.ko) 41 0x80a72000 3090 speaker.ko (/boot/kernel/speaker.ko) 51 0x80a76000 59e8 ichsmb.ko (/boot/kernel/ichsmb.ko) 62 0x80a7c000 2440 smbus.ko (/boot/kernel/smbus.ko) 71 0x80a7f000 fa10 i915.ko (/boot/kernel/i915.ko) 82 0x80a8f000 21c48drm.ko (/boot/kernel/drm.ko) 91 0x80ab1000 e648 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 103 0x80ac 5168 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 118 0x80ac6000 5c548usb2_core.ko (/boot/kernel/usb2_core.ko) 121 0x80b23000 125a0usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 131 0x80b36000 4e48 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 142 0x80b3b000 560 usb2_input.ko (/boot/kernel/usb2_input.ko) 151 0x80b3c000 ff08 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 162 0x80b4c000 570 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 191 0x80c2e000 216 green_saver.ko (/boot/kernel/green_saver.ko) Actually here what I have: [wep4035] ~ cat /boot/loader.conf loader_logo=beastie ichsmb_load=YES snd_hda_load=YES speaker_load=YES i915_load=YES usb2_controller_uhci_load=YES usb2_controller_ehci_load=YES usb2_input_ms_load=YES usb2_storage_mass_load=YES Or try: kldunload usb2_storage_ata And: kldload usb2_storage_mass Now I will play with offending usb stick and with another one (actually microSDHC-usb adapter). Can it be that some modules are automatically loaded when I insert usb stick? Alexey. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Thursday 06 November 2008, Alexey Shuvaev wrote: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7e6 _sx_xlock() at _sx_xlock+0x44 vm_map_lookup() at vm_map_lookup+0x47 vm_fault() at vm_fault+0xfe trap_pfault() at trap_pfault+0x1fa trap() at trap+0x201 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0x804b2466, rsp = 0xfffeba7f8ac0, rbp = 0xfffeba7f8b00 --- bcopy() at bcopy+0x16 usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_wrapper() at usb2_callback_wrapper+0xfd usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_proc() at usb2_callback_proc+0x68 usb2_process() at usb2_process+0xc0 Hi Alexey, This looks more like a busdma problem to me. bcopy() is called from within bus_dmamap_sync(). Maybe you can figure out if it is the source or the destination address that fails? Looks like your system has started bouncing data to the 32-bit address range. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Tuesday 04 November 2008, Lars Engels wrote: On Fri, Oct 31, 2008 at 05:16:09PM +, Thomas Sparrevohn wrote: On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hello, Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown device usb2_ethernet_dav is still unknown in the commit version in HEAD. Hi, It is going to be named usb2_ethernet_dav in the future. Currently it is named usb2_ethernet_udav . --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Link error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c ctfconvert -L VERSION vers.o linking kernel ng_ubt2.o(.text+0x38): In function `ubt_detach': : undefined reference to `ng_rmnode_self' ng_ubt2.o(.text+0x488): In function `ubt_attach': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x4be): In function `ubt_attach': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x52b): In function `ubt_attach': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0xc02): In function `ubt_modevent': : undefined reference to `ng_newtype' ng_ubt2.o(.text+0xde0): In function `ubt_bulk_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xdfb): In function `ubt_bulk_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0xe39): In function `ubt_bulk_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0xfce): In function `ubt_intr_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xfe9): In function `ubt_intr_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1027): In function `ubt_intr_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x105d): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x10a7): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x124e): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12b3): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12bf): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1314): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1413): In function `ng_ubt_rcvmsg': : undefined reference to `ng_address_ID' ng_ubt2.o(.text+0x142a): In function `ng_ubt_rcvmsg': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1480): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1561): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x162e): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1a7a): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1ab5): In function `ng_ubt_shutdown': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x1acc): In function `ng_ubt_shutdown': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x1b6b): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1c28): In function `ubt_isoc_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0x1c43): In function `ubt_isoc_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1d01): In function `ubt_isoc_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1eaf): In function `ubt_bulk_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x20cd): In function `ubt_intr_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x242c): In function `ubt_isoc_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0xc36): In function `ubt_modevent': : undefined reference to `ng_rmtype' ng_ubt2.o(.rodata+0x5f0): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x618): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x6c0): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x700): undefined reference to
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008, Lars Engels wrote: Hi Lars, Now I just removed everything but usb2_core from the kernel config and load the modules manually. So far it runs pretty good. Mounting a umass device, removing it and doing an 'ls' on the mountpoint freezes the system, I thought this should not happen with the new stack? It is not a USB problem. It is the CAM layer that is hanging on the disk. sysctl hw.usb2.uscanner.uscanner: 0 Could it be that this should be debug? Fixed in P4 now. Will soon sync my private SVN. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
Hi, And one last thing: # usbdevs -v usbdevs: no USB controllers found That command is no longer supported. Use usbconfig instead. I'm not sure if it is currently installed by default. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Tuesday 04 November 2008, Lars Engels wrote: On Tue, Nov 04, 2008 at 07:56:47PM -0200, Renato Botelho wrote: On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 05:16:09PM +, Thomas Sparrevohn wrote: On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hello, Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown device usb2_ethernet_dav is still unknown in the commit version in HEAD. I believe it was just a typo, the correct is usb2_ethernet_udav Good point. :) After changing it to _udav I am getting this: In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2.c:79: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2.c:81:23: error: feeder_if.h: No such file or directory In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:31: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:36:22: error: mixer_if.h: No such file or directory mkdep: compile failed Hi, Dependancy towards device sound I think. Try loading the module instead of having the device in the kernel. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : On Wednesday 05 November 2008, Lars Engels wrote: : : Hi Lars, : : Now I just removed everything but usb2_core from the kernel config and : load the modules manually. So far it runs pretty good. : : Mounting a umass device, removing it and doing an 'ls' on the mountpoint : freezes the system, I thought this should not happen with the new stack? : : It is not a USB problem. It is the CAM layer that is hanging on the disk. Sure it is CAM layer and not buffer cache or filesystem code? Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wed, Nov 05, 2008 at 02:18:17AM -0700, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : On Wednesday 05 November 2008, Lars Engels wrote: : Mounting a umass device, removing it and doing an 'ls' on the mountpoint : freezes the system, I thought this should not happen with the new stack? : : It is not a USB problem. It is the CAM layer that is hanging on the disk. Sure it is CAM layer and not buffer cache or filesystem code? Well, the CAM layer problem will immediately first - it does not like CAM busses disappearing. Once this is fixed or avoided and the problem still shows up, we can blame buffer cache / filesystem code. As I suggested before, a good fix is to create one CAM bus per USB root hub, and use that to attach all umass devices to. This will also get rid of the one-bus-per-umass-device which is visually unappealling. Regards, Rink -- Rink P.W. Springer- http://rink.nu Anyway boys, this is America. Just because you get more votes doesn't mean you win. - Fox Mulder ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
Hans Petter Selasky wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Hi, Try to load the module instead of having bluetooth in the kernel. Then all dependancies are loaded automatically. Depends on some bluetooth stuff. --HPS I build kernel without usb2_bluetooth_ng successfully. i notice that fingerpring and bluetooth mouse nolonger work now. in dmesg: ugen0.2: Broadcom Corp at usbus0 ugen0.3: STMicroelectronics at usbus0 maybe /etc/rc.d/bthidd and fprint package need update now. Thanks, kevin ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote: Hi, And one last thing: # usbdevs -v usbdevs: no USB controllers found That command is no longer supported. Use usbconfig instead. I'm not sure if it is currently installed by default. --HPS usbconfig does not install per default - it does not even seem to compile - ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] kevin [EMAIL PROTECTED] writes: : Hans Petter Selasky wrote: : On Wednesday 05 November 2008, kevin wrote: : : Hans Petter Selasky wrote: : : Hi, : : A new USB release is available: : : http://www.selasky.org/hans_petter/usb4bsd/for_review/ : : %md5 usb2_release_003.* : MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 : MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf : %sha256 usb2_release_003.* : SHA256 (usb2_release_003.diff) = : 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b : SHA256 (usb2_release_003.tar.gz) = : 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 : : Changes since 002 release: : : I try to compile kernel with usb2. : : : Hi, : : Try to load the module instead of having bluetooth in the kernel. Then all : dependancies are loaded automatically. : : Depends on some bluetooth stuff. : : --HPS : : : I build kernel without usb2_bluetooth_ng successfully. i notice that : fingerpring and bluetooth mouse nolonger work now. : in dmesg: : ugen0.2: Broadcom Corp at usbus0 : ugen0.3: STMicroelectronics at usbus0 : maybe /etc/rc.d/bthidd and fprint package need update now. Almost certainly... And they will likely have to deal with both stacks for a while... Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] Rink Springer [EMAIL PROTECTED] writes: : On Wed, Nov 05, 2008 at 02:18:17AM -0700, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Hans Petter Selasky [EMAIL PROTECTED] writes: : : On Wednesday 05 November 2008, Lars Engels wrote: : : Mounting a umass device, removing it and doing an 'ls' on the mountpoint : : freezes the system, I thought this should not happen with the new stack? : : : : It is not a USB problem. It is the CAM layer that is hanging on the disk. : : Sure it is CAM layer and not buffer cache or filesystem code? : : Well, the CAM layer problem will immediately first - it does not like : CAM busses disappearing. Once this is fixed or avoided and the problem : still shows up, we can blame buffer cache / filesystem code. : : As I suggested before, a good fix is to create one CAM bus per USB root : hub, and use that to attach all umass devices to. This will also get rid : of the one-bus-per-umass-device which is visually unappealling. That might work. It might also be useful to see if the DragonFly patches to allow this port over or not... Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008, M. Warner Losh wrote: In message: [EMAIL PROTECTED] : It is not a USB problem. It is the CAM layer that is hanging on the disk. Sure it is CAM layer and not buffer cache or filesystem code? No, I'm not sure, except it is not an USB problem. I currently keep the CAM instance around after that the device has been removed from USB, returning an error on all subsequent SCSI requests. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008, Rink Springer wrote: On Wed, Nov 05, 2008 at 02:18:17AM -0700, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : On Wednesday 05 November 2008, Lars Engels wrote: : Mounting a umass device, removing it and doing an 'ls' on the : mountpoint freezes the system, I thought this should not happen with : the new stack? : : It is not a USB problem. It is the CAM layer that is hanging on the : disk. Sure it is CAM layer and not buffer cache or filesystem code? Well, the CAM layer problem will immediately first - it does not like CAM busses disappearing. Once this is fixed or avoided and the problem still shows up, we can blame buffer cache / filesystem code. As I suggested before, a good fix is to create one CAM bus per USB root hub, and use that to attach all umass devices to. This will also get rid of the one-bus-per-umass-device which is visually unappealling. I've temporarily created one CAM bus per module, and release it when the usb2_storage_mass module is unloaded. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Hi, Try to load the module instead of having bluetooth in the kernel. Then all dependancies are loaded automatically. Depends on some bluetooth stuff. --HPS I build kernel without usb2_bluetooth_ng successfully. i notice that fingerpring and bluetooth mouse nolonger work now. in dmesg: ugen0.2: Broadcom Corp at usbus0 ugen0.3: STMicroelectronics at usbus0 maybe /etc/rc.d/bthidd and fprint package need update now. Try: kldload usb2_bluetooth_ng Or add: usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES to: /boot/loader.conf --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wednesday 05 November 2008, [EMAIL PROTECTED] wrote: Thomas Sparrevohn [EMAIL PROTECTED] writes: On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote: Hi, And one last thing: # usbdevs -v usbdevs: no USB controllers found That command is no longer supported. Use usbconfig instead. I'm not sure if it is currently installed by default. --HPS usbconfig does not install per default - it does not even seem to compile - I think this patch might be a workaround then. Hi, I will get this patch in next time an USB2 update gets committed to FreeBSD-current. Thanks! --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
Thomas Sparrevohn [EMAIL PROTECTED] writes: On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote: Hi, And one last thing: # usbdevs -v usbdevs: no USB controllers found That command is no longer supported. Use usbconfig instead. I'm not sure if it is currently installed by default. --HPS usbconfig does not install per default - it does not even seem to compile - I think this patch might be a workaround then. Index: share/man/man4/Makefile === --- share/man/man4/Makefile (revision 184644) +++ share/man/man4/Makefile (working copy) @@ -416,6 +416,20 @@ ural.4 \ urio.4 \ usb.4 \ + usb2_bluetooth.4 \ + usb2_controller.4 \ + usb2_core.4 \ + usb2_ethernet.4 \ + usb2_image.4 \ + usb2_input.4 \ + usb2_misc.4 \ + usb2_ndis.4 \ + usb2_quirk.4 \ + usb2_serial.4 \ + usb2_sound.4 \ + usb2_storage.4 \ + usb2_template.4 \ + usb2_wlan.4 \ uscanner.4 \ uslcom.4 \ utopia.4 \ Index: usr.sbin/Makefile === --- usr.sbin/Makefile (revision 184644) +++ usr.sbin/Makefile (working copy) @@ -181,6 +181,7 @@ trpt \ tzsetup \ ugidfw \ + ${_usbconfig} \ ${_usbdevs} \ ${_vidcontrol} \ vipw \ @@ -401,6 +402,7 @@ .endif .if ${MK_USB} != no +_usbconfig=usbconfig _usbdevs= usbdevs .endif Index: lib/Makefile === --- lib/Makefile(revision 184644) +++ lib/Makefile(working copy) @@ -38,7 +38,8 @@ ${_libpmc} libproc librt ${_libsdp} ${_libsm} ${_libsmb} \ ${_libsmdb} \ ${_libsmutil} libstand ${_libtelnet} ${_libthr} libthread_db libufs \ - libugidfw ${_libusbhid} ${_libvgl} libwrap liby libz ${_bind} + libugidfw ${_libusb20} ${_libusbhid} ${_libvgl} libwrap liby libz \ + ${_bind} .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf) _csu=csu/${MACHINE_ARCH}-elf @@ -135,6 +136,7 @@ .endif .if ${MK_USB} != no +_libusb20= libusb20 _libusbhid=libusbhid .endif Index: lib/libusb20/Makefile === --- lib/libusb20/Makefile (revision 184644) +++ lib/libusb20/Makefile (working copy) @@ -18,7 +18,7 @@ INCS+= libusb20_compat10.h MAN= libusb20.3 MKLINT=no +CFLAGS+= -I${.CURDIR}/../../sys NOGCCERROR= .include bsd.lib.mk - ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
Hans Petter Selasky wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: On Wednesday 05 November 2008, kevin wrote: Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Hi, Try to load the module instead of having bluetooth in the kernel. Then all dependancies are loaded automatically. Depends on some bluetooth stuff. --HPS I build kernel without usb2_bluetooth_ng successfully. i notice that fingerpring and bluetooth mouse nolonger work now. in dmesg: ugen0.2: Broadcom Corp at usbus0 ugen0.3: STMicroelectronics at usbus0 maybe /etc/rc.d/bthidd and fprint package need update now. Try: kldload usb2_bluetooth_ng Or add: usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES to: /boot/loader.conf usb2_bluetooth was built into kernel already,and usb2_bluetooth_ng was included in ng_ubt. in /boot/loader.conf ng_ubt_load=YES usb2_bluetooth_fw_load=YES ubtbcmfw=YES Thanks, kevin ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Tuesday 04 November 2008, Bruce Cran wrote: ... Hi Bruce, This issue should be fixed now in P4 and my private SVN. How to override existing libusb-0.1.12 by using symbolic links: /usr/local/lib/libusb-0.1.so.8 - /usr/lib/libusb20.so.1 /usr/local/lib/libusb.a - /usr/lib/libusb20.a Thanks for reporting! --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Fri, Oct 31, 2008 at 05:16:09PM +, Thomas Sparrevohn wrote: On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hello, Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown device usb2_ethernet_dav is still unknown in the commit version in HEAD. pgpAG7qLTWGdI.pgp Description: PGP signature
Re: USB4BSD release candidate number 3 - request for review
On Tue, Nov 04, 2008 at 07:56:47PM -0200, Renato Botelho wrote: On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 05:16:09PM +, Thomas Sparrevohn wrote: On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hello, Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown device usb2_ethernet_dav is still unknown in the commit version in HEAD. I believe it was just a typo, the correct is usb2_ethernet_udav Good point. :) After changing it to _udav I am getting this: In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2.c:79: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2.c:81:23: error: feeder_if.h: No such file or directory In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:31: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:36:22: error: mixer_if.h: No such file or directory mkdep: compile failed pgp6fu1EJYXoF.pgp Description: PGP signature
Re: USB4BSD release candidate number 3 - request for review
On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 05:16:09PM +, Thomas Sparrevohn wrote: On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hello, Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown device usb2_ethernet_dav is still unknown in the commit version in HEAD. I believe it was just a typo, the correct is usb2_ethernet_udav -- Renato Botelho ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Tue, Nov 04, 2008 at 11:07:25PM +0100, Lars Engels wrote: On Tue, Nov 04, 2008 at 07:56:47PM -0200, Renato Botelho wrote: On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels [EMAIL PROTECTED] wrote: device usb2_ethernet_dav is still unknown in the commit version in HEAD. I believe it was just a typo, the correct is usb2_ethernet_udav Good point. :) After changing it to _udav I am getting this: In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2.c:79: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2.c:81:23: error: feeder_if.h: No such file or directory In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:31: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:36:22: error: mixer_if.h: No such file or directory mkdep: compile failed Now I just removed everything but usb2_core from the kernel config and load the modules manually. So far it runs pretty good. Mounting a umass device, removing it and doing an 'ls' on the mountpoint freezes the system, I thought this should not happen with the new stack? sysctl hw.usb2.uscanner.uscanner: 0 Could it be that this should be debug? -- Lars Engels E-Mail: [EMAIL PROTECTED] pgpOdWZtXJ15t.pgp Description: PGP signature
Re: USB4BSD release candidate number 3 - request for review
On Wed, Nov 05, 2008 at 12:04:02AM +0100, Lars Engels wrote: Now I just removed everything but usb2_core from the kernel config and load the modules manually. So far it runs pretty good. Mounting a umass device, removing it and doing an 'ls' on the mountpoint freezes the system, I thought this should not happen with the new stack? sysctl hw.usb2.uscanner.uscanner: 0 Could it be that this should be debug? And one last thing: # usbdevs -v usbdevs: no USB controllers found Huh? :) pgpKtR0n8Cp0k.pgp Description: PGP signature
Re: USB4BSD release candidate number 3 - request for review
On Wed, Nov 05, 2008 at 12:05:47AM +0100, Lars Engels wrote: On Wed, Nov 05, 2008 at 12:04:02AM +0100, Lars Engels wrote: Now I just removed everything but usb2_core from the kernel config and load the modules manually. So far it runs pretty good. Mounting a umass device, removing it and doing an 'ls' on the mountpoint freezes the system, I thought this should not happen with the new stack? sysctl hw.usb2.uscanner.uscanner: 0 Could it be that this should be debug? And one last thing: # usbdevs -v usbdevs: no USB controllers found usbdevs does not work with it, there is a new usbconfig util that should do what you want. Andrew ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Wed, 5 Nov 2008 00:04:02 +0100 Lars Engels [EMAIL PROTECTED] wrote: Now I just removed everything but usb2_core from the kernel config and load the modules manually. So far it runs pretty good. Mounting a umass device, removing it and doing an 'ls' on the mountpoint freezes the system, I thought this should not happen with the new stack? I seem to remember the problem was tracked back to something in the cam layer not liking surprise removals? -- Bruce Cran ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
In message: [EMAIL PROTECTED] Bruce Cran [EMAIL PROTECTED] writes: : On Wed, 5 Nov 2008 00:04:02 +0100 : Lars Engels [EMAIL PROTECTED] wrote: : Now I just removed everything but usb2_core from the kernel config and : load the modules manually. So far it runs pretty good. : : Mounting a umass device, removing it and doing an 'ls' on the : mountpoint freezes the system, I thought this should not happen with : the new stack? : : : I seem to remember the problem was tracked back to something in the cam : layer not liking surprise removals? For msdos filesystem, there were a number of minor tweaks that were made to make this suck less. Some were in the old usb layer, but most were in the buffer cache of FreeBSD to make it more resilient to errors from the device... But it wasn't totally fixed... Hans' stack did have a period of time when card removal was working better than the stock FreeBSD stack, but that got cleaned up before 7.0. Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: I try to compile kernel with usb2. Link error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c ctfconvert -L VERSION vers.o linking kernel ng_ubt2.o(.text+0x38): In function `ubt_detach': : undefined reference to `ng_rmnode_self' ng_ubt2.o(.text+0x488): In function `ubt_attach': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x4be): In function `ubt_attach': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x52b): In function `ubt_attach': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0xc02): In function `ubt_modevent': : undefined reference to `ng_newtype' ng_ubt2.o(.text+0xde0): In function `ubt_bulk_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xdfb): In function `ubt_bulk_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0xe39): In function `ubt_bulk_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0xfce): In function `ubt_intr_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xfe9): In function `ubt_intr_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1027): In function `ubt_intr_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x105d): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x10a7): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x124e): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12b3): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12bf): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1314): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1413): In function `ng_ubt_rcvmsg': : undefined reference to `ng_address_ID' ng_ubt2.o(.text+0x142a): In function `ng_ubt_rcvmsg': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1480): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1561): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x162e): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1a7a): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1ab5): In function `ng_ubt_shutdown': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x1acc): In function `ng_ubt_shutdown': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x1b6b): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1c28): In function `ubt_isoc_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0x1c43): In function `ubt_isoc_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1d01): In function `ubt_isoc_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1eaf): In function `ubt_bulk_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x20cd): In function `ubt_intr_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x242c): In function `ubt_isoc_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0xc36): In function `ubt_modevent': : undefined reference to `ng_rmtype' ng_ubt2.o(.rodata+0x5f0): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x618): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x6c0): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x700): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x748): undefined reference to `ng_parse_int32_type' ng_ubt2.o(.rodata+0x760): undefined reference to `ng_parse_int32_type' ng_ubt2.o(.rodata+0x7a8):
Re: USB4BSD release candidate number 3 - request for review
On Sun, 2 Nov 2008 14:15:58 -0800 Bruce Cran [EMAIL PROTECTED] wrote: On Sun, 2 Nov 2008 21:42:11 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: On Sunday 02 November 2008, Bruce Cran wrote: On Sun, 26 Oct 2008 16:33:20 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 I untarred usb2_release_003.tar.gz into /usr/src but am having problems building it: it seems libusb20 needs /usr/src/sys in the include path, but after installing libusb20 the modules won't build: cd /sys/modules/usb2 make === bluetooth (all) Warning: Object directory not changed from original /usr/src/sys/modules/usb2/bluetooth make: don't know how to make usb2_if.h. Stop *** Error code 2 Stop in /usr/src/sys/modules/usb2. If I use the copy of /sys/conf/files from perforce then I get a compile error in the ata driver during buildkernel because I guess things have moved on and the references are no longer valid. What's the proper way to build the new usb stack? Did you apply the patches in the diff file ? That was the problem: after applying the patches and updating kmod.mk the build works. It's working now and I've been able to read back data from my Garmin GPS device on FreeBSD for the first time! I've noticed a couple of issues while getting it working. The first is that I get a message when I plug the GPS in, but not when I unplug it - I'd expect to see something like ugen3.1: at usbus3 disconnected. It gets attached on the ohci hub; usbconfig reports it as: ugen3.1: OHCI root HUB ATI at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.2: product 0x0003 Garmin International at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON I've built the stack as modules, and just 'kldload usb2_controller_ohci'. The other issue I bumped into was when I was trying to get gpsbabel working. I tracked it down to the code that selected an endpoint address: my Garmin has addresses 0x81, 0x2 and 0x83 but the USB stack wasn't happy with gpsbabel sending the result of those addresses ANDed with USB_ENDPOINT_ADDRESS_MASK. When I passed the addresses themselves, gpsbabel sprang into life and read data back from the device. -- Bruce Cran ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Sun, 26 Oct 2008 16:33:20 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 I untarred usb2_release_003.tar.gz into /usr/src but am having problems building it: it seems libusb20 needs /usr/src/sys in the include path, but after installing libusb20 the modules won't build: cd /sys/modules/usb2 make === bluetooth (all) Warning: Object directory not changed from original /usr/src/sys/modules/usb2/bluetooth make: don't know how to make usb2_if.h. Stop *** Error code 2 Stop in /usr/src/sys/modules/usb2. If I use the copy of /sys/conf/files from perforce then I get a compile error in the ata driver during buildkernel because I guess things have moved on and the references are no longer valid. What's the proper way to build the new usb stack? -- Bruce Cran ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Sunday 02 November 2008, Bruce Cran wrote: On Sun, 26 Oct 2008 16:33:20 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 I untarred usb2_release_003.tar.gz into /usr/src but am having problems building it: it seems libusb20 needs /usr/src/sys in the include path, but after installing libusb20 the modules won't build: cd /sys/modules/usb2 make === bluetooth (all) Warning: Object directory not changed from original /usr/src/sys/modules/usb2/bluetooth make: don't know how to make usb2_if.h. Stop *** Error code 2 Stop in /usr/src/sys/modules/usb2. If I use the copy of /sys/conf/files from perforce then I get a compile error in the ata driver during buildkernel because I guess things have moved on and the references are no longer valid. What's the proper way to build the new usb stack? Did you apply the patches in the diff file ? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Sun, 2 Nov 2008 21:42:11 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: On Sunday 02 November 2008, Bruce Cran wrote: On Sun, 26 Oct 2008 16:33:20 +0100 Hans Petter Selasky [EMAIL PROTECTED] wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 I untarred usb2_release_003.tar.gz into /usr/src but am having problems building it: it seems libusb20 needs /usr/src/sys in the include path, but after installing libusb20 the modules won't build: cd /sys/modules/usb2 make === bluetooth (all) Warning: Object directory not changed from original /usr/src/sys/modules/usb2/bluetooth make: don't know how to make usb2_if.h. Stop *** Error code 2 Stop in /usr/src/sys/modules/usb2. If I use the copy of /sys/conf/files from perforce then I get a compile error in the ata driver during buildkernel because I guess things have moved on and the references are no longer valid. What's the proper way to build the new usb stack? Did you apply the patches in the diff file ? That was the problem: after applying the patches and updating kmod.mk the build works. -- Bruce Cran ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Sunday 26 October 2008 15:33:20 Hans Petter Selasky wrote: What is the device naming change to? Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: 1) LibUSB20 is now fully documented 2) LibUSB20 is now fully backwards compatible with LibUSB 0.1.12 from /usr/ports/devel/libusb . 3) All Makefiles have a license in them 4) usbconfig now supports dynamic quirks (add, remove and view) 5) All USB modules have been fragmented into smaller parts: ./Makefile ./bluetooth/Makefile ./bluetooth_fw/Makefile ./bluetooth_ng/Makefile ./controller/Makefile ./controller_at91dci/Makefile ./controller_ehci/Makefile ./controller_musb/Makefile ./controller_ohci/Makefile ./controller_uhci/Makefile ./controller_uss820dci/Makefile ./core/Makefile ./ethernet/Makefile ./ethernet_aue/Makefile ./ethernet_axe/Makefile ./ethernet_cdce/Makefile ./ethernet_cue/Makefile ./ethernet_dav/Makefile ./ethernet_kue/Makefile ./ethernet_rue/Makefile ./image/Makefile ./input/Makefile ./input_hid/Makefile ./input_kbd/Makefile ./input_ms/Makefile ./misc/Makefile ./misc_dbp/Makefile ./misc_fm/Makefile ./ndis/Makefile ./quirk/Makefile ./scanner/Makefile ./serial/Makefile ./serial_ark/Makefile ./serial_bsa/Makefile ./serial_bser/Makefile ./serial_chcom/Makefile ./serial_cycom/Makefile ./serial_foma/Makefile ./serial_ftdi/Makefile ./serial_gensa/Makefile ./serial_ipaq/Makefile ./serial_lpt/Makefile ./serial_mct/Makefile ./serial_modem/Makefile ./serial_moscom/Makefile ./serial_plcom/Makefile ./serial_visor/Makefile ./serial_vscom/Makefile ./storage/Makefile ./storage_ata/Makefile ./storage_fs/Makefile ./storage_mass/Makefile ./storage_rio/Makefile ./template/Makefile ./wlan/Makefile ./wlan_ral/Makefile ./wlan_rum/Makefile ./wlan_zyd/Makefile The following file has been deleted: src/sys/dev/usb2/controller/uss820dci_pccard.c --HPS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Friday 31 October 2008, Thomas Sparrevohn wrote: On Sunday 26 October 2008 15:33:20 Hans Petter Selasky wrote: What is the device naming change to? The device names under /dev are the same like before. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
Hello, 2008/10/31 Thomas Sparrevohn [EMAIL PROTECTED]: On Friday 31 October 2008 14:14:59 Hans Petter Selasky wrote: On Friday 31 October 2008, Thomas Sparrevohn wrote: On Sunday 26 October 2008 15:33:20 Hans Petter Selasky wrote: What is the device naming change to? The device names under /dev are the same like before. --HPS I was thinking about in the Kernel configuration file - I have been using and it does not seem to attach anything # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: [snip] # # USB2 # device usb2_core device usb2_controller device usb2_storage device usb2_ethernet device usb2_wlan device usb2_serial device usb2_input device usb2_quirk device usb2_template device usb2_image Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Cheers, Olivier # USB support #device uhci# UHCI PCI-USB interface #device ohci# OHCI PCI-USB interface #device ehci# EHCI PCI-USB interface (USB 2.0) #device usb # USB Bus (required) ##deviceudbp# USB Double Bulk Pipe devices #device ugen# Generic #device uhid# Human Interface Devices #device ukbd# Keyboard #device ulpt# Printer #device umass # Disks/Mass storage - Requires scbus and da #device ums # Mouse #device ural# Ralink Technology RT2500USB wireless NICs #device rum # Ralink Technology RT2501USB wireless NICs #device urio# Diamond Rio 500 MP3 player #device uscanner# Scanners # USB Serial devices #device ucom# Generic com ttys #device uark# Technologies ARK3116 based serial adapters #device ubsa# Belkin F5U103 and compatible serial adapters #device uftdi # For FTDI usb serial adapters #device uipaq # Some WinCE based devices #device uplcom # Prolific PL-2303 serial adapters #device uslcom # SI Labs CP2101/CP2102 serial adapters #device uvisor # Visor and Palm devices #device uvscom # USB serial support for DDI pocket's PHS # USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce# Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet #device udav# Davicom DM9601E USB # FireWire support device firewire# FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) device fwip# IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED] -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: [EMAIL PROTECTED]- against HTML email vCards X www: http://www.gid0.org- against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hello, Each device driver has been splitted since RC3. Look in /boot/kernel/usb2_*. You can use modules. For example, for my usb mouse, I use usb2_input_ums. Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown Alfred: Can you fix this before committing? --HPS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Friday 31 October 2008, Thomas Sparrevohn wrote: On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: On Friday 31 October 2008, Olivier SMEDTS wrote: Hi, Looks like I made a small typo there. The module is named usb2_input_ms while the kernel option is named usb2_input_ums. The kernel option should be named usb2_input_ms. Is this the same issue? config: Error: device usb2_controller_uss820dci is unknown config: Error: device usb2_ethernet_dav is unknown Yes, thanks for reporting. Should be fixed now: http://perforce.freebsd.org/chv.cgi?CH=152295 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
USB4BSD release candidate number 3 - request for review
Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: 1) LibUSB20 is now fully documented 2) LibUSB20 is now fully backwards compatible with LibUSB 0.1.12 from /usr/ports/devel/libusb . 3) All Makefiles have a license in them 4) usbconfig now supports dynamic quirks (add, remove and view) 5) All USB modules have been fragmented into smaller parts: ./Makefile ./bluetooth/Makefile ./bluetooth_fw/Makefile ./bluetooth_ng/Makefile ./controller/Makefile ./controller_at91dci/Makefile ./controller_ehci/Makefile ./controller_musb/Makefile ./controller_ohci/Makefile ./controller_uhci/Makefile ./controller_uss820dci/Makefile ./core/Makefile ./ethernet/Makefile ./ethernet_aue/Makefile ./ethernet_axe/Makefile ./ethernet_cdce/Makefile ./ethernet_cue/Makefile ./ethernet_dav/Makefile ./ethernet_kue/Makefile ./ethernet_rue/Makefile ./image/Makefile ./input/Makefile ./input_hid/Makefile ./input_kbd/Makefile ./input_ms/Makefile ./misc/Makefile ./misc_dbp/Makefile ./misc_fm/Makefile ./ndis/Makefile ./quirk/Makefile ./scanner/Makefile ./serial/Makefile ./serial_ark/Makefile ./serial_bsa/Makefile ./serial_bser/Makefile ./serial_chcom/Makefile ./serial_cycom/Makefile ./serial_foma/Makefile ./serial_ftdi/Makefile ./serial_gensa/Makefile ./serial_ipaq/Makefile ./serial_lpt/Makefile ./serial_mct/Makefile ./serial_modem/Makefile ./serial_moscom/Makefile ./serial_plcom/Makefile ./serial_visor/Makefile ./serial_vscom/Makefile ./storage/Makefile ./storage_ata/Makefile ./storage_fs/Makefile ./storage_mass/Makefile ./storage_rio/Makefile ./template/Makefile ./wlan/Makefile ./wlan_ral/Makefile ./wlan_rum/Makefile ./wlan_zyd/Makefile The following file has been deleted: src/sys/dev/usb2/controller/uss820dci_pccard.c --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB4BSD release candidate number 3 - request for review
On Sun, Oct 26, 2008 at 04:33:20PM +0100, Hans Petter Selasky wrote: Hi, A new USB release is available: http://www.selasky.org/hans_petter/usb4bsd/for_review/ Hello, I'm using a fresh CURRENT src tree and your patchs. I've got a little patch against usb2_release_003.diff to allow it to patch the latest sys/conf/kmod.mk. Thanks for your work ! Olivier %md5 usb2_release_003.* MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf %sha256 usb2_release_003.* SHA256 (usb2_release_003.diff) = 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b SHA256 (usb2_release_003.tar.gz) = 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 Changes since 002 release: 1) LibUSB20 is now fully documented 2) LibUSB20 is now fully backwards compatible with LibUSB 0.1.12 from /usr/ports/devel/libusb . 3) All Makefiles have a license in them 4) usbconfig now supports dynamic quirks (add, remove and view) 5) All USB modules have been fragmented into smaller parts: ./Makefile ./bluetooth/Makefile ./bluetooth_fw/Makefile ./bluetooth_ng/Makefile ./controller/Makefile ./controller_at91dci/Makefile ./controller_ehci/Makefile ./controller_musb/Makefile ./controller_ohci/Makefile ./controller_uhci/Makefile ./controller_uss820dci/Makefile ./core/Makefile ./ethernet/Makefile ./ethernet_aue/Makefile ./ethernet_axe/Makefile ./ethernet_cdce/Makefile ./ethernet_cue/Makefile ./ethernet_dav/Makefile ./ethernet_kue/Makefile ./ethernet_rue/Makefile ./image/Makefile ./input/Makefile ./input_hid/Makefile ./input_kbd/Makefile ./input_ms/Makefile ./misc/Makefile ./misc_dbp/Makefile ./misc_fm/Makefile ./ndis/Makefile ./quirk/Makefile ./scanner/Makefile ./serial/Makefile ./serial_ark/Makefile ./serial_bsa/Makefile ./serial_bser/Makefile ./serial_chcom/Makefile ./serial_cycom/Makefile ./serial_foma/Makefile ./serial_ftdi/Makefile ./serial_gensa/Makefile ./serial_ipaq/Makefile ./serial_lpt/Makefile ./serial_mct/Makefile ./serial_modem/Makefile ./serial_moscom/Makefile ./serial_plcom/Makefile ./serial_visor/Makefile ./serial_vscom/Makefile ./storage/Makefile ./storage_ata/Makefile ./storage_fs/Makefile ./storage_mass/Makefile ./storage_rio/Makefile ./template/Makefile ./wlan/Makefile ./wlan_ral/Makefile ./wlan_rum/Makefile ./wlan_zyd/Makefile The following file has been deleted: src/sys/dev/usb2/controller/uss820dci_pccard.c --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED] -- Olivier Smedts _ ASCII ribbon campaign( ) e-mail: [EMAIL PROTECTED] - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. --- usb2_release_003.diff.orig 2008-10-26 22:44:40.0 +0100 +++ usb2_release_003.diff 2008-10-26 22:46:28.0 +0100 @@ -151,9 +151,9 @@ dev/sound/midi/mpu_if.m dev/sound/midi/mpufoi_if.m \ dev/sound/midi/synth_if.m dev/usb/usb_if.m isa/isa_if.m \ + dev/usb2/core/usb2_if.m \ - kern/bus_if.m kern/cpufreq_if.m kern/device_if.m kern/serdev_if.m \ + kern/bus_if.m kern/clock_if.m \ + kern/cpufreq_if.m kern/device_if.m kern/serdev_if.m \ libkern/iconv_converter_if.m opencrypto/cryptodev_if.m \ - pc98/pc98/canbus_if.m --- //depot/vendor/freebsd/src/sys/dev/sound/pcm/channel.c 2007/12/03 14:32:07 +++ //depot/projects/usb/src/sys/dev/sound/pcm/channel.c 2008/07/10 08:43:16 @@ -570,13 +570,26 @@ ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]