Date: Sun, 05 Sep 2004 15:25:41 +0400 From: Keatis <yux@mail.ru> To: questions@FreeBSD.org Subject: Problems using USB-devices in 5.2.1 Message-ID: <E1C3v9R-000H2F-00.yux-mail-ru@f19.mail.ru>
next in thread | raw e-mail | index | archive | help
Hello. I've encountered a problem using USB Flash drives and USB HDD. I have 2 PCs, first - Intel Pentium PII 233MHz on LX chipset with Intel USB controller, USB1.0 (let's call this pc1), and second - Intel Pentium Xeon 2.4GHz (E7505 Chipset based server) with SCSI, LSILogic MegaRAID controllers (LSI MegaRAID SCSI 320 v1.04, HA -0 (Bus 3 Dev 2) Standard FW 1L19) and Intel 82801DB USB controller, USB1.0. There is also 4 SCSI HDDs (two Maxtor Atlas10K 35Gb and two 70Gb) in two RAID 1 arrays - amrd0 and amrd1 respectively. BIOS - PhoenixBIOS 4.0 Release 6.0 (let's call this pc2). FreeBSD-5.2.1-RELEASE is installed on both pc1 and pc2 (using GENERIC kernel). Thus, device scbus device da device pass device uhci device ohci device ehci device usb device umass are present in kernel config. And usbd_enabled="yes" in rc.conf. Systems are fresh-installed and no configs were changed on both PCs. USB-Drives using on pc1 is problemless. usbd is reporting on 1st console attach/detach actions, umassX and daX devices are created properly, then, mount - is no question, it works fine. But, the problem is pc2. When i attach either Flash-drive, or USB HDD, usbd keeps silence and doesn't report anything. So umass and da devices (or smth else) are NOT created. And so, i can't use any usb-drives at all. Usb mouse is working fine and usbd tells its words on 1st console when i detach mouse. Can't figure out what's wrong, so i want ask you to help to solve this problem. Posting in BSD-forums and maillists, reading mans, docs, howtos and handbooks, talking with bsd-admins didn't give me any solution. In addition, (from pc2) uname -a is FreeBSD xx.xx.xx 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sun Sep 5 00:59:48 MSD 2004 root@xx.xx.xx:/usr/obj/usr/src/sys/GOLD i386 Yes, kernel here is not GENERIC, but GOLD. GOLD is just a GENERIC kernel recompiled with "device acpi" on someone's advice. But it didn't solve any problem, the behaviour of the system is the same as with GENERIC. dmesg is su-2.05b# dmesg Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Sun Sep 5 00:59:48 MSD 2004 root@xx.xx.xx:/usr/obj/usr/src/sys/GOLD Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a2c000. ACPI APIC Table: <PTLTD APIC > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs real memory = 4025942016 (3839 MB) avail memory = 3912691712 (3731 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 24-47 on motherboard ioapic2 <Version 2.0> irqs 48-71 on motherboard Pentium Pro MTRR support enabled acpi0: <PTLTD RSDT > on motherboard pcibios: BIOS version 2.10 Using $PIR table, 21 entries at 0xc00fde70 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_cpu1: <CPU> on acpi0 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel Generic host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pci0: <unknown> at device 0.1 (no driver attached) pcib1: <ACPI PCI-PCI bridge> mem 0xf8000000-0xfbffffff at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0 pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND pci2: <ACPI PCI bus> on pcib2 pci2: <base peripheral, interrupt controller> at device 28.0 (no driver attached) pcib3: <ACPI PCI-PCI bridge> at device 29.0 on pci2 pci3: <ACPI PCI bus> on pcib3 amr0: <LSILogic MegaRAID> mem 0xfc000000-0xfc00ffff irq 28 at device 2.0 on pci3 amr0: <LSILogic MegaRAID SCSI 320-1> Firmware 1L19, BIOS 1.04, 64MB RAM pci2: <base peripheral, interrupt controller> at device 30.0 (no driver attached) pcib4: <ACPI PCI-PCI bridge> at device 31.0 on pci2 pci4: <ACPI PCI bus> on pcib4 pci0: <unknown> at device 2.1 (no driver attached) uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x6800-0x681f irq 16 at device 29.0 on pci0 usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech N42, rev 1.00/4.01, addr 2, iclass 3/1 ums0: 2 buttons uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x6820-0x683f irq 19 at device 29.1 on pci0 usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x6840-0x685f irq 18 at device 29.2 on pci0 usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci5: <ACPI PCI bus> on pcib5 pci5: <display, VGA> at device 2.0 (no driver attached) fxp0: <Intel 82550 Pro/100 Ethernet> port 0x7400-0x743f mem 0xf0200000-0xf021ffff,0xf0221000-0xf0221fff irq 18 at device 3.0 on pci5 fxp0: Ethernet address 00:04:23:88:2d:56 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> port 0x6860-0x686f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_button0: <Power Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: <CPU> on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 fdc0: cmd 3 failed at out byte 1 of 3 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface orm0: <Option ROMs> at iomem 0xe2000-0xe27ff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDROM <FX820S> at ata0-master PIO3 amrd0: <LSILogic MegaRAID logical drive> on amr0 amrd0: 35073MB (71829504 sectors) RAID 1 (optimal) GEOM: create disk amrd0 dp=0xcb09fe0c amrd1: <LSILogic MegaRAID logical drive> on amr0 amrd1: 70148MB (143663104 sectors) RAID 1 (optimal) GEOM: create disk amrd1 dp=0xcae9ef0c ses0 at amr0 bus 0 target 6 lun 0 ses0: <ESG-SHV SCA HSBP M15 0.10> Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/amrd0s1a Flash-drives are SanDisk 128Mb and JetFlash 256Mb, USB HDD is Maxtor EXT 200Mb USB2.0 (As i remember... Windows definition is just USB Mass Storage device) USB hubs on pc2 are not broken. They worked fine on previous MS Windows 2003 Server (i wish it would be vice-versa, windows can't manage it, but FreeBSD - can in any configuration :). I also tried to run usbd with -d -v flags and also tried to connect IRExpress IR-port. Didn't do the trick. usbd on pc1 see it and reports, on pc2 - don't. It looks like no USB-devices want to work on pc2 (exept working usb-mouse). Maybe i must deal with any scsi or raid controllers proper configuration? Sorry for bothering, but maybe this case can also improve any doc, man or howto and worth mentioning in them... I would really appreciate your help, thanks anyway! Best regards, Max K.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1C3v9R-000H2F-00.yux-mail-ru>