Re: USB and 6.1-RELEASE
> >> > >> Now I'm on to another issue. > >> > >> When I plug in the thumb drive, which is a 512MB > USB 2.0 Mobile > >> Swingdrive, containing an MS-DOS filesystem, I > get the following: > >>umass0: vendor 0x0930 USB Flash Memory, rev > 2.00/1.00, addr 2 > >>da0 at umass-sim0 bus 0 target 0 lun 0 > >>da0: < USB Flash Memory 1.04> Removable Direct > Access SCSI-0 device > >>da0: 40.000MB/s transfers > >>da0: 489MB (1001472 512 byte sectors: 64H > 32S/T 489C) > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > >>umass0: Phase Error, residue = 0 > >>(da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x4, > >> scsi status == 0x0 > > > > Looks like those messages are a quirk of some USB > drives: > > > http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018182.html > > > According to that PR/patch, that particular drive > still works despite > > the messages, so hopefully yours will too. > > Yup. It seems to be working. Thanks for all the > help. > ___ > === message truncated === Yeah I've noticed similar errors with a USB floppy device I have as well with Rel_6.1. I'm not entirely sure that the errors occurred with 6.0, and am certain I never saw those errors with Rel_5.4. Are there new features added into the USB system that are still being worked out? These really concerned me becuase I was trying to build a Grub boot disk to ease boot loader installations with my server builds at the time, and I didn't need the trivial matter of grub installation failing on top of learning how to build a (G)VINUM (looks like a new man page to read from other threads I've been seeing...) RAID. On a related issue is fdformat supposed to work with USB floppy devices? I thought it worked in the past (Rel_5.4) for me but with Rel_6.1 it doesn't. It bails with device not a floppy drive error. Can I tweak devd.conf (devfs.conf maybe; I can ls the correct one later, sorry about my sloppy documentation. Both might be valid and need configuration I'm just thinking out loud) to trick the system into thinking the USB floppy device is a REAL floppy drive? On my servers this isn't an issue but on my floppyless laptop this is a major issue. I know I can build a filesystem at a RAW level on the disk, but I have no way of validating the media with a format. I've tried "low leveling" with a dd command but this takes forever to do (even with bs=512 I think I even tried bs=1024 but prolly not because I believe this is twice the standard block size and no use loading the buffers with extra I/O requests and pending interrupts right???), and am certain this isn't the right route to be taking, just a hackish verification all the blocks are writable. Of course I guess thats how formatting came into being in the first place... -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB and 6.1-RELEASE
Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has "legacy" support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually "auto" was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a "PnP OS" setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah OK, disabling Plug-n-Play OS *and* USB legacy support now has the system recognizing the USB controllers. It also seems to have fixed the odd CAPSLOCK character duplication I was getting, and my mouse scroll wheel now works. Now I'm on to another issue. When I plug in the thumb drive, which is a 512MB USB 2.0 Mobile Swingdrive, containing an MS-DOS filesystem, I get the following: umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < USB Flash Memory 1.04> Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 489MB (1001472 512 byte sectors: 64H 32S/T 489C) umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 mount /dev/da0 /thumb yields the error: mount: /dev/da0 on /thumb: incorrect super block mount -t msdos /dev/da0 /thumb yields the error: mou
Re: USB and 6.1-RELEASE
Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has "legacy" support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually "auto" was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a "PnP OS" setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah OK, disabling Plug-n-Play OS *and* USB legacy support now has the system recognizing the USB controllers. It also seems to have fixed the odd CAPSLOCK character duplication I was getting, and my mouse scroll wheel now works. Now I'm on to another issue. When I plug in the thumb drive, which is a 512MB USB 2.0 Mobile Swingdrive, containing an MS-DOS filesystem, I get the following: umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < USB Flash Memory 1.04> Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 489MB (1001472 512 byte sectors: 64H 32S/T 489C) umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 mount /dev/da0 /thumb yields the error: mount: /dev/da0 on /thumb: incorrect super block mount -t msdos /dev/da0 /thumb yields the error: mount_msdosfs: /de
Re: USB and 6.1-RELEASE
Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has "legacy" support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually "auto" was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a "PnP OS" setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah ACPI is turned off. The install disc wouldn't even boot at all with it turned on. I'll try the Plug-and-play OS setting. It's currently "on". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB and 6.1-RELEASE
Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has "legacy" support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually "auto" was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a "PnP OS" setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB and 6.1-RELEASE
Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has "legacy" support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually "auto" was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB and 6.1-RELEASE
Rich Demanowski wrote: I've searched through and browsed the archives, and can't find anything that helps me with this. I've recently gotten my Compaq SR1910NX up and running on FreeBSD 6.1, but am having trouble getting it to recognize my SwingDrive umass device (USB 2.0, 512MB). The only thing that's different from this machine's from-the-factory configuration is the addition of a Linksys WMP55AG wireless card, which is working just fine thanks to the ath driver. I know the USB controller is working because both my USB keyboard and my USB mouse function (though the keyboard (a Happy Hacking Lite 2) is a little quirky ... when I hold down the shift key to type a word in all caps, it doubles up the letters LIKEKE THTHIISS sometimes, and I still haven't gotten Xorg to recognize the scroll wheel on the mouse). scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. Any ideas? Did I miss something in the kernel config? Do I need to enable something in rc.conf? According to what's in the FreeBSD handbook, this should be working ... It's likely that your BIOS has "legacy" support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"