From owner-freebsd-questions@FreeBSD.ORG Sat Oct 14 21:40:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 866AD16A403 for ; Sat, 14 Oct 2006 21:40:24 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id E597143D53 for ; Sat, 14 Oct 2006 21:40:23 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so554866uge for ; Sat, 14 Oct 2006 14:40:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UBldlW/gwvVvUc0kTzstzR6Etsj50rrPqQkywzvGLefxGskaSjUi+pwXZfH0eCWo/yJtqcxFiOSnxEkvFfGPL1eyP1jqQYzC0wGMOWYi/sd8GKshwHGA33iNF4EN5jL4una7s6Dw2RCZ1m9BgIyNtWv15tZ50uoascU7EUQSGQ0= Received: by 10.67.101.10 with SMTP id d10mr6015256ugm; Sat, 14 Oct 2006 14:40:22 -0700 (PDT) Received: by 10.67.86.18 with HTTP; Sat, 14 Oct 2006 14:40:22 -0700 (PDT) Message-ID: <80f4f2b20610141440m66306927vc99186c9176a2a4f@mail.gmail.com> Date: Sat, 14 Oct 2006 17:40:22 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: USB Mass Storage stopped working, help requested X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2006 21:40:24 -0000 It used to work on this machine, the kernel/world has not been recompiled/reinstalled since then. However, A USB drive that used to work (and still works in windows) no longer works in FreeBSD. When I plug in the drive, the /dev/da* devices do not show up. The system is running 6.1. The handbook says I need these: device scbus device da device pass device uhci device ohci device usb device umass kldstat shows this: 1 12 0xc0400000 51e030 kernel 2 1 0xc091f000 1adb8 linux.ko 3 1 0xc093a000 4d24 acpi_video.ko 4 4 0xc093f000 597ac acpi.ko 5 1 0xc0999000 3b58 acpi_toshiba.ko 6 2 0xc3803000 9000 ibcs2.ko 7 1 0xc3810000 3000 ibcs2_coff.ko 8 1 0xc3df7000 d000 msdosfs.ko Looking for the modules, I find: sjss@aragorn 17:29:05 (0) /usr/src > ls /boot/kernel | grep 'scbus\.' sjss@aragorn 17:29:10 (0) /usr/src > ls /boot/kernel | grep 'da\.' coda.ko ida.ko snd_hda.ko sjss@aragorn 17:29:12 (0) /usr/src > ls /boot/kernel | grep 'pass\.' sjss@aragorn 17:29:26 (0) /usr/src > ls /boot/kernel | grep 'uhci\.' sjss@aragorn 17:29:30 (0) /usr/src > ls /boot/kernel | grep 'ohci\.' sjss@aragorn 17:29:32 (0) /usr/src > ls /boot/kernel | grep 'usb\.' usb.ko sjss@aragorn 17:29:43 (0) /usr/src > ls /boot/kernel | grep 'umass\.' umass.ko Scanning dmesg for usb, I get: sjss@aragorn 17:32:22 (0) /usr/src > dmesg | grep usb usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 usb3: on uhci3 usb3: USB revision 1.0 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 The results from usbdevs: sjss@aragorn 17:34:11 (0) /usr/src > sudo usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 2: USB-PS/2 Optical Mouse, Logitech addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: iAUDIO X5, Cowon Systems, Inc. What is the best way to fix this without recompiling the kernel? I thought about compiling the drivers in the source tree individually: sjss@aragorn 17:37:13 (0) /sys > cd /usr/src; find . -iname '*da\.*' ./cam/scsi/scsi_da.c ./cam/scsi/scsi_da.h ./coda/coda.h ./dev/ida/ida.c but I could not do a make in the scsi or cam directories. "make scsi" gave me a "don't know how to make" class of error, and "make cam" gave me an error saying cam is up to date. Thanks, -Jim Stapleton