From owner-freebsd-current@FreeBSD.ORG Tue Jun 28 17:26:54 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A21DB16A41C for ; Tue, 28 Jun 2005 17:26:54 +0000 (GMT) (envelope-from seditaniedi@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2374643D48 for ; Tue, 28 Jun 2005 17:26:54 +0000 (GMT) (envelope-from seditaniedi@gmail.com) Received: by zproxy.gmail.com with SMTP id 14so355384nzn for ; Tue, 28 Jun 2005 10:26:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ao84r2KElPjb4sTLezvNAoR5A38ymEZQEYYoBCSF5Upcv/TwWZ2rpFKrVl2wdLKQc6L756cdI/2Cwm+ZxZXiLpEUlQUqhYsiDUKYRNaxYDxE37BRJyQb6z+Y8Y2gmu6O2zt2g+sd+IFJe8O/R4p/rMhxEQ/1b43jrltFcEPuEag= Received: by 10.36.38.18 with SMTP id l18mr4829297nzl; Tue, 28 Jun 2005 10:26:25 -0700 (PDT) Received: by 10.36.47.3 with HTTP; Tue, 28 Jun 2005 10:26:25 -0700 (PDT) Message-ID: <2d8af7bc05062810263e55ae26@mail.gmail.com> Date: Tue, 28 Jun 2005 19:26:25 +0200 From: qoska kotfare To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 2.5" USB hardrivedrive problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: qoska kotfare List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 17:26:54 -0000 Hello there! My question is about external 2.5" USB harddisk i seem to not get it recognized by FreeBSD and i am hoping to get a solution :) The case has inside a TOSHIBA MK3017GAP 30Gb drive I tried modifying some quirks on /usr/src/sys/cam/scsi/scsi_da.c and the same problem again. Ah forgott the error messages are at the end of the dmesg output regardingg umass0 !!! /* dmesg output=20 Copyright (c) 1992-2005 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 6.0-CURRENT #7: Mon Jun 27 17:42:27 CEST 2005 ermali@qoska:/usr/obj/usr/src/sys/QOSKA ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.15-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf27 Stepping =3D 7 Features=3D0xbfebfbff Features2=3D0x4400> real memory =3D 1073725440 (1023 MB) avail memory =3D 1037602816 (989 MB) ioapic0 irqs 0-23 on motherboard netsmb_dev: loaded acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 3 on acpi0 pci_link4: irq 5 on acpi0 pci_link5: irq 9 on acpi0 pci_link6: on acpi0 pci_link7: irq 9 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xe7000000-0xe7ffffff,0xf0000000-0xf7ffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb400-0xb40f irq 16 at device 2.5 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xa400-0xa4ff,0xa000-0xa07f irq 18 at device 2.7 on p= ci0 pcm0: [GIANT-LOCKED] pcm0: ohci0: mem 0xe6800000-0xe6800fff irq 20 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xe6000000-0xe6000fff irq 21 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xe5800000-0xe5800fff irq 23 at device 3.3 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered sis0: port 0x9800-0x98ff mem 0xe5000000-0xe5000fff irq 19 at device 4.0 on pci0 miibus0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:0c:6e:d3:9b:a0 rl0: port 0x9400-0x94ff mem 0xe4800000-0xe48000ff irq 18 at device 10.0 on pci0 miibus1: on rl0 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:06:4f:09:8b:62 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp= i0 sio0: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 umass0: ScanLogic USBIDE ScanLogic USBIDE, rev 1.10/2.60, addr 2 Timecounter "TSC" frequency 2000152380 Hz quality 800 Timecounters tick every 1.000 msec Fast IPsec: Initialized Security Association Processing. ad0: 39205MB at ata0-master UDMA133 ad1: 78167MB at ata0-slave UDMA133 acd0: CDRW at ata1-master UDMA33 umass0: Invalid CSW: tag 80 should be 1 ATA PseudoRAID loaded cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed umass0: Invalid CSW: tag 524632 should be 2 umass0: Invalid CSW: tag 524632 should be 3 umass0: Invalid CSW: tag 524632 should be 4 umass0: Invalid CSW: tag 524632 should be 5 umass0: Invalid CSW: tag 524632 should be 6 (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device umass0: Invalid CSW: tag 524632 should be 7 umass0: Invalid CSW: tag 524632 should be 8 umass0: Invalid CSW: tag 524632 should be 9 umass0: Invalid CSW: tag 524632 should be 10 umass0: Invalid CSW: tag 524632 should be 11 (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 Trying to mount root from ufs:/dev/ad0s3a sis0: link state changed to DOWN sis0: link state changed to UP Accounting enabled end dmesg output */ I am attaching even my kernel config file just in case. U can tell me if i have to give any other information. Thanks in advance! /* kernel config file=20 machine i386 cpu I686_CPU ident QOSKA # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for device= s. makeoptions COPTFLAGS=3D" -O -pipe" options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking #options INET6 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 direct= ories options MD_ROOT # MD is a potential root device options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEU= DOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THI= S!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_LINUX options SCSI_DELAY=3D15000 # Delay (in ms) before probing SC= SI options KTRACE # ktrace(1) 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 AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. #options NET_WITH_GIANT options PREEMPTION #options FULL_PREEMPTION options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ #options ALTQ_NOPCC #for SMP build options BRIDGE device pf device pflog device pfsync options TCP_DROP_SYNFIN options ZERO_COPY_SOCKETS #options VFS_AIO options DEVICE_POLLING options HZ=3D1000 #options IPFILTER #options IPFILTER_LOG options IPSTEALTH options NETGRAPH options NETSMB options NETSMBCRYPTO options LIBMCHAIN options LIBICONV options SMBFS #options IPSEC #options IPSEC_ESP options FAST_IPSEC #options SMP device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci device crypto device acpi device mem device cpufreq # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering device atapicam device scbus device da device cd device pass device md # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options VESA # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device miibus # MII bus support device rl # RealTek 8129/8139 device sis # Silicon Integrated Systems SiS 900/SiS 70= 16 # Wireless NIC cards device wlan # 802.11 support device wi # WaveLAN/Intersil/Symbol 802.11 wireless N= ICs. # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci device usb # USB Bus (required) device udbp # 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 d= a device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners device sound device snd_ich options SC_ALT_MOUSE_IMAGE options SC_HISTORY_SIZE=3D1000 options SC_PIXEL_MODE options SC_NORM_ATTR=3D(FG_GREEN|BG_BLACK) options SC_NORM_REV_ATTR=3D(FG_BLACK|BG_GREEN) options SC_KERNEL_CONS_ATTR=3D(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=3D(FG_BLACK|BG_RED) end kernel config file */