Re: Realtek 8111B LAN Chipset
On Sat, Jan 19, 2008 at 09:35:47PM -0500, Greg Mars wrote: NetOpsCenter wrote: Greg Mars wrote: I'm buying parts for a computer and want to make sure that the core components are as freebsd friendly as possible. So far, I've decided on a core 2 quad q6600 and I'm choosing the motherboard now. However it seems many of the popular motherboards have Realtek ALC888 as built-in audio and Realtek 8111B as built-in LAN. I read at: http://www.freebsd.org/relnotes/CURRENT/hardware/i386/article.html that the sound should work but I couldn't find any info on the LAN. Does anyone on the list have any experience with it? By the way, I'm going to run FreeBSD 7. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Aloha, Realtek 8169 is a 1000 M and works on 7.* and 8.* I think 8111 maybe old 100M ? Are you sure about the Realtek model #? ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* + All that's really worth doing is what we do for others.- Lewis Carrol Hi, If you click on the motherboard specifications link below, you'll see where they list the LAN chipset as Realtek 8111B http://www.newegg.com/Product/Product.aspx?Item=N82E16813186133 This seems to be the page for the chip on Realtek's site: http://www.realtek.com.tw/products/productsView.aspx?Langid=1PFid=5Level=5Conn=4ProdID=11 Realtek has two devices for Gbit PCI: the 8169 and the reduced 8110. They are both more or less the same - likely even the same chip inside, but the later has pins reduced. AFAIK the later can't have an external PHY, which you can't have anyway if there is neither a connector or PHY itself connected on the board. The 8168 is the successor for PCI express, with the 8111 being the new reduced variant. Both PCIe are detected but didn't run stable with our re(4), but it is said that the latest driver fixes this and also adds a good speed improvement. -- B.Walterhttp://www.bwct.de http://www.fizon.de [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek 8111B LAN Chipset
On Sun, Jan 20, 2008 at 10:32:18AM -1000, NetOpsCenter wrote: Bernd Walter wrote: Realtek has two devices for Gbit PCI: the 8169 and the reduced 8110. They are both more or less the same - likely even the same chip inside, but the later has pins reduced. AFAIK the later can't have an external PHY, which you can't have anyway if there is neither a connector or PHY itself connected on the board. The 8168 is the successor for PCI express, with the 8111 being the new reduced variant. Both PCIe are detected but didn't run stable with our re(4), but it is said that the latest driver fixes this and also adds a good speed improvement. Thanks for the info Bernd, I have the 8169's running fine on 7.* and 8.* . I believe these have the new drivers. The 8169 are not PCI express - they work stable since a very long time now, but the latest additions have some enhancements for them. One of the additions is seeable by issuing ifconfig, that is TSO4, which wasn't supported previously, but there were other speed enhancements as well. I've just looked into CVS and it was added in Rev 1.101 I don't know how much of it made it into 7.0. -- B.Walterhttp://www.bwct.de http://www.fizon.de [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Beastie 3D-rendered
On Sun, Nov 11, 2007 at 08:55:18PM +, Tino Engel wrote: Look what happened to Beastie: http://www.tilolit.de/images/tb/wallpapers/teufel.jpg Wieso »teufel«.jpg ? -- B.Walterhttp://www.bwct.de http://www.fizon.de [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SOLVED] re(4) incorrect checksum
On Thu, Jan 11, 2007 at 11:51:51AM +0100, Pietro Cerutti wrote: Hi lists, ifconfig re0 -txcsum -rxcsum solved the problem Anyway, is this a bug in the driver or in the interface itself? That is how checksum offloading works. tcpdump can't see a correct checksum, because it is not calculated by the kernel and left for the hardware. However checksum offloading is broken for re(4) based cards, therefor it is disabled by default. -- B.Walterhttp://www.bwct.de http://www.fizon.de [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I access a USB device that has no driver attached?
On Thu, Jun 03, 2004 at 06:22:54PM -0700, Darren Pilgrim wrote: I have a UPS with a USB interface. There isn't a specific UPS driver in FreeBSD beyond uhid. If I were to connect the UPS's interface port without having a driver attached, is it still possible to talk to the device in some way? I ask because I'm helping get nut (sysutils/nut) working for USB UPSes under FreeBSD. Maybe your question is outdated, but since noone answered yet. - You can enhance our uhid driver - You can write your own driver - You can do raw control transfers via /dev/usb* - You can also do raw control and pipe trandfers if ugen takes the device - You can use libusb for portable (Linux, ...) device access via ugen -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)
On Sun, May 30, 2004 at 04:11:07PM +0200, Marco Beishuizen wrote: On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered: Also, it seems to me that you've got two cards in your system. What about a small pciconf ? JF No I have only one card in it. Pciconf -l says the Matrox has BusID 1:0:0. I might make a difference if you put the card in a slot on bus 0. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Tue, Apr 06, 2004 at 01:58:42PM +0200, Heinrich Rebehn wrote: Bernd Walter wrote: [snip] Apr 3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 255H 63S/T 2432C) Apr 3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0 Apr 3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel Apr 3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process context OK - we have an abort_xfer without any reason given. The panic is because the aborted transfer doesn't exist, which could mean that someone aborted an already completed transfer. Can you please add USB_DEBUG to your kernel and retry. I did, but with USB_DEBUG the system reproducibly crashes during boot: Without a stacktrace or at least the last kernel messages this output is almost useless. kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0xd kernel: fault code = supervisor write, page not present kernel: instruction pointer = 0x8:0xc0535482 kernel: stack pointer = 0x10:0xeaccfbb0 kernel: frame pointer = 0x10:0xeaccfbc8 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 246 (sysctl) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... 6564 6564 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 You have 6563 dirty buffers when it crashed? That's amazing - so you are at least already on the way getting multiuser - otherwise everything is still read-only. I can't guess what services, etc.. you are starting - you really have to tell what happens. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Apr 05, 2004 at 02:58:33PM +0200, Heinrich Rebehn wrote: i am using a NEC USB2 controller and am just about to give up on using it. I don't know if it's the controller, the disk or the ehci driver. However, man ehci(4) states that The driver is not finished and is quite buggy. This seems to be true. I get all sorts of trouble ranging from hangs during boot to system crashes. I am reverting back to USB1 although its terribly slow. FreeBSD 5.2.1-RELEASE-p3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb2 usb3 usb4: NEC uPD 720100 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2 umass0: Get Max Lun not supported (STALLED) GEOM: create disk da0 dp=0xc82ad450 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C) Sorry i can't report anything posivtive on this. And I can't see anything wrong with your log. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Apr 05, 2004 at 05:09:32PM +0200, Heinrich Rebehn wrote: Bernd Walter wrote: On Mon, Apr 05, 2004 at 02:58:33PM +0200, Heinrich Rebehn wrote: i am using a NEC USB2 controller and am just about to give up on using it. I don't know if it's the controller, the disk or the ehci driver. However, man ehci(4) states that The driver is not finished and is quite buggy. This seems to be true. I get all sorts of trouble ranging from hangs during boot to system crashes. I am reverting back to USB1 although its terribly slow. FreeBSD 5.2.1-RELEASE-p3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb2 usb3 usb4: NEC uPD 720100 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2 umass0: Get Max Lun not supported (STALLED) GEOM: create disk da0 dp=0xc82ad450 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C) Sorry i can't report anything posivtive on this. And I can't see anything wrong with your log. Sorry, the log should only show what hardware i am using. I could not find any log for the hangs, probably because it occurs while the kernel is starting and i have to press reset, so it never gets written to a logfile. The crash happend when i hotplugged an MP3 Jukebox and tried to mount it: Apr 3 12:32:26 antsrv1 kernel: umass1: ARCHOS ARCHOS USB2.0 (P4a), rev 2.00/11.01, addr 3 Apr 3 12:32:32 antsrv1 kernel: GEOM: create disk da1 dp=0xca5f0850 Apr 3 12:32:32 antsrv1 kernel: da1 at umass-sim1 bus 1 target 0 lun 0 Apr 3 12:32:32 antsrv1 kernel: da1: HITACHI_ DK23EA-20 00K5 Fixed Direct Access SCSI-0 device SCSI-0 - how funny - there was never a SCSI revision 0. If we would have been strict then da driver wouldn't attach, because it can't really know a SCSI-0 direct access. At least a disk should be SCSI-1 with CCS which is the first revision that definied the command set. Apr 3 12:32:32 antsrv1 kernel: da1: 1.000MB/s transfers Also not very smart - but harmless. Apr 3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 255H 63S/T 2432C) Apr 3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0 Apr 3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel Apr 3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process context OK - we have an abort_xfer without any reason given. The panic is because the aborted transfer doesn't exist, which could mean that someone aborted an already completed transfer. Can you please add USB_DEBUG to your kernel and retry. Apr 3 12:38:08 antsrv1 kernel: cpuid = 0; Apr 3 12:38:08 antsrv1 kernel: Apr 3 12:38:08 antsrv1 kernel: syncing disks, buffers remaining... 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 Apr 3 12:38:08 antsrv1 kernel: giving up on 3004 buffers Apr 3 12:38:08 antsrv1 kernel: Uptime: 22h44m54s A stack trace would be fine too so we see the function issuing the abort. The cause might be with USB-1.1 too, but not triggered because of less speed. Also, i get I/O-errors and the disk is inaccessible after having worked ok for days. Rebooting the machine fixes this. Which kind of IO errors? USB / SCSI / DA / Application? -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Apr 05, 2004 at 05:45:00PM +0200, Heinrich Rebehn wrote: Bernd Walter wrote: Which kind of IO errors? USB / SCSI / DA / Application? This i from ktrace tunefs -p /dev/da0s1a 4640 tunefs RET read 0 4640 tunefs CALL stat(0xbfbfea4a,0xbfbfe5a0) 4640 tunefs NAMI /dev/da0s1a 4640 tunefs RET stat 0 4640 tunefs CALL open(0xbfbfea4a,0,0) 4640 tunefs NAMI /dev/da0s1a 4640 tunefs RET open -1 errno 5 Input/output error 4640 tunefs CALL write(0x2,0xbfbfdf30,0x8) 4640 tunefs GIO fd 2 wrote 8 bytes tunefs: 4640 tunefs RET write 8 4640 tunefs CALL write(0x2,0xbfbfdf50,0x2a) 4640 tunefs GIO fd 2 wrote 42 bytes /dev/da0s1a: could not open special device 4640 tunefs RET write 42/0x2a Yes - but that's symptoms - there must be a USB and/or SCSI error too. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb-serial adapter doesnt work
On Wed, Mar 10, 2004 at 08:22:30PM +, Macio Plona wrote: Hello, Ive got laptop Toshiba Satellite A20-s103. There are no comms port, but 3 USBs. I need get to console to some server, so i purchased an USB-RS232 adapter. My system recognized it, but i cant `cu` or `tip` to any machine... :( Could somebody help me make it work? Part of `dmesg`: ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/ 2.02, addr 2 ohci0: NEC uPD 9210 USB controller mem 0xf7efc000-0xf7efcfff irq 11 at device 12.0 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: NEC uPD 9210 USB controller on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), It's attached to ugen instead of uplcom/ucom On a hardware notes ive read, that it needs a 'uplcom' driver, so i loaded it to kernel: root# kldstat Id Refs AddressSize Name 16 0xc010 3516a0 kernel 21 0xc1e4a000 7000 linprocfs.ko 31 0xc1ec 3000 daemon_saver.ko 41 0xc1ec3000 15000linux.ko 51 0xc204c000 3000 uplcom.ko 61 0xc205 4000 ucom.ko You need the drivers loaded _befor_ attaching the device. Otherwise ugen take care of it and uplcom has no chance to take over. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [5.2.1] trouble with an USB key
On Wed, Mar 10, 2004 at 08:45:29PM +0100, Jacques Beigbeder wrote: On a FreeBSD 5.2.1, I have an *OLD* USB disk which works: [ ... ] kernel: vendor 0x0c45 USB Mass Storage Device, rev 1.10/1.00, addr 2 [ ... ] [ ... ] kernel: da2: 31MB (64000 512 byte sectors: 64H 32S/T 31C) Another one fails: [ ... ] umass0: Kingston DataTraveler2.0, rev 2.00/2.00, addr 2 No da2 appears... No error message apperas in your mail too. Is it because this second USB disk is USB2? Unlikely - USB2 is just a revision. If it's a high speed device (which most intermix with being USB2 because USB2 introduced high speed) then the device may not work with a full speed capable controller. But in your case it already said to be umass compliant so that's not an issue. Is there any way to use it? Is there any more debug output? If not then add USB_DEBUG to your kernel and repeat. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for usb printer/scanner combo
On Tue, Mar 16, 2004 at 08:41:50PM +0100, Tobias Roth wrote: hi i am looking for a color inkjet printer/scanner/copier combo. it should be cheap, supported under 5.2.1, rather small, have separate, cheaply available ink cartridges. it doesn't need to be fast or have any fancy features. price comes first, then quality. can someone recommend a model that won't give me any trouble? Currently FreeBSD doesn't support any of those combos sufficiently. That is because uscanner always claims the whole device instead of just the scanner function so ulpt can't take the printing part. You can detach, kldunload uscanner, reattach for printing, but this is not very practical. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Mar 22, 2004 at 02:09:01PM +0100, Peter Schuller wrote: So - if I want a USB 2 controller that works fine with FreeBSD, which one shojuld I get / which chipset should it be using? To be more specific I found a controllre by Q-Tec (425U) wtih a Via VT6202 chipset. Anyone know if this will work? NEC Controllers are known to work. Never tested any of the VIA ones. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enabling USB ports for...stuff/printing...
On Tue, Mar 23, 2004 at 08:31:28AM -0500, [EMAIL PROTECTED] wrote: Running 4.9-STABLE, CUPS 1.1.19 and I'm trying to get an Epson Photo Stylus 1270 (usb) working with the system and CUPS. So far, no luck. I've walked through the setup for CUPS via http://127.0.0.1:631/. I'm at a loss to figure this out. What am I missing? Here's what I have. % ls /dev/ulpt* crw--- 1 root wheel 113, 0 Mar 23 08:16 /dev/ulpt0 crw--- 1 root wheel 113, 1 Mar 23 08:16 /dev/ulpt1 crw--- 1 root wheel 113, 2 Mar 23 08:16 /dev/ulpt2 crw--- 1 root wheel 113, 3 Mar 23 08:16 /dev/ulpt3 crw--- 1 root wheel 113, 4 Mar 23 08:16 /dev/ulpt4 % usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, OHCI root hub(0x), AMD(0x), rev 1.00 port 1 disabled port 2 disabled port 3 disabled port 4 disabled No printer attached = you can't use it. Check cabeling and please send your dmesg output if you think cabeling should be OK. My kernel configuration contains the following for usb: # USB support device uhci # UHCI PCI-USB interface device ohci # OHCI PCI-USB interface device usb # USB Bus (required) device ugen # Generic device uhid # Human Interface Devices device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da (done) device ums # Mouse device uscanner # Scanners This should be more then enough for the kernel to get any ulpt compliant printer running. However your kernel doesn't know about *any* attached USB device. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial ports from additional old IDE ISA card
On Tue, Nov 11, 2003 at 10:41:29AM +0200, Rolandas Naujikas wrote: I'm tried to poke into ISA slot additional old IDE card (from old 486 computer) with serials and paralell ports. With jumpers on it I'm disabled IDE, floppy and parallel port. I'm tried to use only serial ports, configured at I/O location of COM3 and COM4 ports and IRQ 5 and IRQ 9. When tried to boot FreeBSD 4.8-RELEASE with GENERIC kernel and enabled sio2 devices, I see sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: configured irq 5 not in bitmap of probed irqs 0 sio0 and sio1 are from mainbord. sio2 could be from my additional card. Can I make possible to work this card as additional serials ports ? It's obvious that your card isn't configured to irq 5. In fact it seems to be configured to no irq at all. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl serial port access
On Fri, Oct 17, 2003 at 02:01:50PM +0200, Perica Veljanovski wrote: Hi, What is the name of the /dev for the serial port in FreeBSD. dmesg says there are sio0 and sio1 but there are no such file names in /dev. And the sio(4) manpage says: FILES /dev/ttyd? for callin ports /dev/ttyid? /dev/ttyld? corresponding callin initial-state and lock-state devices /dev/cuaa? for callout ports /dev/cuaia? /dev/cuala? corresponding callout initial-state and lock-state devices -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple USB ethernet devices on one usb port (with hub)?
On Sat, Sep 27, 2003 at 10:34:04AM -0700, Andrew Thomas wrote: --- Ian Dowse [EMAIL PROTECTED] wrote: There is definitely one problem that stops you from using two identical USB ethernet devices, but I don't know if it's the only one: the axe driver uses a static (global) stucture for some per-interface data, so it clobbers this state with two interfaces. I had said to Bill Paul (cc'd) that I would suggest a patch to fix this, but I never managed to get my two USB ethernet interfaces in the same place at the same time to test them! Would you be able to try out the following patch to see if it helps? Just apply it in /usr/src and rebuild the kernel. To follow up on this... I tried Ian's changes to no avail. I applied the patches and rebuilt the kernel. Upon rebooting with both netgear fa120 ethernet devices attached (with the new axe driver), both devices are recognized, one is configured and nothing works (i.e., in spite of the one device being configured, it is dead). You might take power consumption into acount. If your hub is not powered it can't supply more then 100mA per port. check the required consumption of your ethernet devices with usbdevs -v. In case they require more then 100mA you *must* use a self powered hub. Many cheap hub lie about their power state, but that doesn't change the requirements at all. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFTDI serial port
On Fri, Sep 26, 2003 at 09:20:12AM +0100, Christopher Ward wrote: Can someone tell me if a UFTDI based serial port still uses /dev/cuaa0 or does it have a different device? And if so what is the ttyd equivalent as well. It uses /dev/ucom* as all USB based serials. There is no ttyd equivalent, but you should be able to setup a getty at /dev/ucom*. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount USB drive in FreeBSD 5.0?
On Mon, Sep 29, 2003 at 06:13:23AM +, Frank Lee wrote: Since it stops at the umass0: Get Max Lun not supported (STALLED) message, there's no /dev/da0* : Your drive needs at least a NO_GETMAXLUN quirk in umass.c Sigh - why do so many vendors think that specs can be ignored :( -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to read CF card via USB with umass on 4.7-STABLE?
On Sun, Sep 14, 2003 at 07:46:23PM -0400, Chris Shenton wrote: Bernd Walter [EMAIL PROTECTED] writes: A photo disk is most likely not ufs - it's msdosfs. msdosfs is not is normaly not used on the whole device (exeptions are floppies), so you want using the correct slice. E.g. mount -t msdos /dev/da1s1 /mnt Yeah, I tried msdos as well (man page is wrong specifying ufs), still no joy. I was able to mount it on my 5.1 system so I'm happy now :-) Thanks! mount -t msdos /dev/da1s1 /mnt is the way to go for normal msdosfs media as used in cameras. If it doesn't work you should give the exact error messages from mount and kernel. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COM ports
On Thu, Sep 11, 2003 at 09:29:44AM -0700, Claudiu Bichir wrote: Hy folks ! I have FreeBSD 5.0 installed on my computer and I wanted to know how can I enable the COM3 COM4 ports. The ports are disabled by default in 5.0. I tried to modify /boot/device.hints but with no hope . I commented hint.sio.2.disabled=1 and hint.sio.3.disabled=1 out but when I rebooted it said smt like irq 5 not in bitmap of probed irqs 0 ;port may not be enabled; the same goes for sio3(but with 9 instead of 5) .I'm just starting so ... don't know what to do anymore. I already read the handbook and the sio(4) manual page but I haven't found something helpfull yet. I'm asking all this because I have an Aztech UM9800 external modem which's on COM3(at least that's what Windows shows )and I cannot change its COM port to 1 or 2 . It is recognized as ugen0 when the system boots. It is an usb modem but I was told by people on this list that I can use it with FreeBSD. If I can then I would appreciate any help from you on how to set it up. Thanks people ! The sio driver is not for usb devices. Build a kernel with umodem/ucom if your modem is really a modem and not one of those softmodem things. In the later case there is almost no hope to get it working - and it's not really worth it IMHO. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to read CF card via USB with umass on 4.7-STABLE?
On Fri, Sep 12, 2003 at 06:52:13PM -0400, Chris Shenton wrote: I have an old digital camera which has a 64MB CF card in it. A friend loaned me a USB card reader to extract the images. I don't seem to be able to mount it on FreeBSD-4.7-STABLE per the umass man page. After plugging in the card and USB reader, dmesg shows: umass0: PQI Travel Flash, rev 1.10/2.05, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: General Flash Disk Drive 2.05 Removable Direct Access SCSI-2 device da1: 650KB/s transfers da1: 62MB (126976 512 byte sectors: 64H 32S/T 62C) Looks good. The man page says: camcontrol rescan 0 Rescan a Zip drive that was added after boot. The command above assumes that the Zip drive is the first SCSI bus in the system. disklabel -w -r da0 zip100 newfs da0c mount -t ufs /dev/da0c /mnt I do the camcontrol and it appears to see it: thanatos# camcontrol rescan 0 Re-scan of bus 0 was successful thanatos# camcontrol devlist -v scbus0 on ahc0 bus 0: SEAGATE ST19171W 0024at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target -1 lun -1 () scbus1 on umass-sim0 bus 0: General Flash Disk Drive 2.05at scbus1 target 0 lun 0 (da1,pass1) scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) Not need to do this as the device is already working. I skip the disklabel and newfs since I've got photos on it already. Attempts to mount fail: thanatos# mount -t ufs /dev/da1c /mnt mount: /dev/da1c on /mnt: incorrect super block thanatos# mount -t msdos /dev/da1c /mnt msdos: /dev/da1c: Invalid argument Any clues? Thanks. A photo disk is most likely not ufs - it's msdosfs. msdosfs is not is normaly not used on the whole device (exeptions are floppies), so you want using the correct slice. E.g. mount -t msdos /dev/da1s1 /mnt -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and serial communication
On Fri, Sep 05, 2003 at 01:40:13PM +0200, Anders Jansson wrote: Hi everyone, I have just installed FreeBSD 5.1 om my PC (my first FreeBSD ever and it looks really nice). However, there is one missing link to connect me to FreeBSD heave. I would like to have a larger number of serial ports than the 2 already aailable in my PC and so I turned my attention to USB. I have a little box that has converts one USB connector to 4 serial ports. When I plug in this box in one of my two USB connections on my PC, I get the following printouts in the /var/log/messages file: You need ucom and uftdi compiled into your kernel. ugen is just a generic fallback driver. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem adding subdisk to vinum
On Tue, Aug 12, 2003 at 09:40:49AM -0700, Shawn Ostapuk wrote: V pr0n State: up Plexes: 1 Size: 1172 GB P vinum0.p0 C State: corrupt Subdisks:11 Size: 1172 GB S vinum0.p0.s0 State: up PO:0 B Size:152 GB S vinum0.p0.s1 State: up PO: 152 GB Size: 28 GB S vinum0.p0.s2 State: up PO: 181 GB Size: 76 GB S vinum0.p0.s3 State: up PO: 257 GB Size: 76 GB S vinum0.p0.s4 State: up PO: 333 GB Size: 76 GB S vinum0.p0.s5 State: up PO: 410 GB Size: 76 GB S vinum0.p0.s6 State: up PO: 486 GB Size: 76 GB S vinum0.p0.s7 State: up PO: 562 GB Size: 74 GB S vinum0.p0.s8 State: up PO: 637 GB Size:233 GB S vinum0.p0.s9 State: up PO: 871 GB Size:152 GB S vinum0.p0.s10 State: emptyPO: 1023 GB Size:149 GB vinum0.p0.s10 is at PO 1023G - reaching over the 1TByte limit on FreeBSD 4.x. That is because block numbers are signed 32 bit values. You need 5.x for volumes of this size. I'm not shure how the limit could result in this kind of symptom, but it won't work anyway and debugging this case can only change symptoms. Either use 5.x or be happy with your nearly 1T volume and start a new one for the next disk. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with USB ulpt0 and CUPS
On Wed, Jun 18, 2003 at 08:39:12AM -0500, Thomas T. Veldhouse wrote: I posted this in April and received no response. However, this has been an ongoing issue since at least 2001 (where I found the first reference to this trouble via Google). The problem seems to be that the FreeBSD USB LPT driver (even with no-reset) is somehow dropping the first bits of the data stream, causing a page full of trash to be printed prior to the actual print job. I have no verified this problem with 5.1-RELEASE as well. I have a machine that has been serving as a print server. That machine was running CUPS and SAMBA over Linux. Now, it is running FreeBSD 5.0-RELEASE-p7 with CUPS and SAMBA. I have a Lexmark Optra 312 laser printer hooked up to the usb port, ulpt0 (no reset). When it was running linux, everything ran perfectly. I allow the Windows client machines to use their print drivers and send a raw stream through samba to cups for printing. This configuration has worked fine. However, for reasons of my own, I have put FreeBSD 5.0 on this machine. The same software configuration exists for printing. Now, when I print most pages, I get an extra page prefixing the job with two or three lines of printer commands (i.e. resolution = 600, @PCL, etc). This seems to be caused by the FreeBSD usb printer driver dropping a couple of characters at the beginning of the command stream. This used to happen to me with FreeBSD 4.6 as well, which is why that machine was running Linux in the first place. Has anybody seen this strange behavior and is there a known fix for it? I can reproduce it localy with -current, but have no fix. I thought that I had found the reason a few days ago, but murphy teached me better :( There is a bug in signal handling, but that's not our problem here. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pen drive does not work with PCI2USB card.
On Sat, Jun 14, 2003 at 11:23:20AM +0400, Eugene Savin wrote: Hi, I have USB 2.0 PCI Card GMU2P-04V, pen drive (Mobile Disk III from TwinMOS), FreeBSD 4.8. Part of my kernel conf. file: ... device scbus # SCSI bus (required) device da # Direct Access (disks) device da0 device pass# Passthrough device (direct SCSI access) ... device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic Part of dmesg: ... uhci0: VIA 83C572 USB controller port 0x6400-0x641f irq 12 at device 11.0 on usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0x6500-0x651f irq 11 at device 11.1 on ... usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: USB controller at 11.2 irq 10 ... I have usbd_enable=YES in /etc/rc.conf. Inserting of my pen drive in card does not get any effect. When I use my pen drive on othe computer (with integrated USB Host Controller), usbd detect da0 disk. Does it make a difference if the device is already plugged in while booting? -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why natd don't divert packets?
On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote: This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0(ipfw2). Why? This is an issue triggered by compiling libalias with -O2. Recompile libalias without -O2 and recompile natd so it binds to the rebuild libalias.a The problem wasn't there a month ago. See -current list for firther details. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: virtual tape or streamer device for backup purposes possible
#define LANG de_DE On Tue, Jan 21, 2003 at 01:54:33PM +0100, Christian Tanghe wrote: Hello, is it possible to configure a virtual tape, just working on an other harddisk? Lokaly or on any other Server in the network Writing an reading on it should be transparent for commands like tar, cpio or any backup software. Ja - nennt sich Datei und gibt es in nahezu beliebiger Menge auf jedem Filesystem. Kann zwar nicht Spulen, aber das brauchst du in dem Fall ja auch nicht, da es sowas wie Dateinamen gibt. tar, cpio und Co kommen damit wunderbar zurecht. Einen Streamer komplett simulieren ist so eine Sache, da Streamer nicht gleich Streamer - es gibt da mehrere Befehlssätze und Eigenarten. Aber braucht man eigendlich auch gar nicht. Or in other words: Can you only load a driver for an non existent streamer and use it to write on disk? Or do I need a special software solution? Evtl einen Systemupdate vor dem Bildschirm :) If you will excuse me ;), anybody knows if it exists a comparable solution under Linux? Ja - Dateien funktionieren sogar auf dem C64. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: virtual tape or streamer device for backup purposes possible
Sorry - for the german reply, but Christian has BBC'ed his message to the german Cosmo-Project mailing list. I did noticed it to late... -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Mass Storage device
On Tue, Nov 26, 2002 at 11:36:45AM +0800, Seo Boon, NG wrote: This is the dmesg when the notebook during my reboot. The message doesn't appear when the USB device connects to notebook when it's running, hence I'm assumming that the kernel couldn't see the device. Is there any means to get the kernel see the USB device when I connect the device online i.e the notebook is running? I think rebooting my notebook everytime when I connect the USB isn't a viable option :) Is usbd running? Do you have /dev/usb* entries for all usb channels? -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Mass Storage device
On Sat, Dec 14, 2002 at 07:31:00AM +0800, Seo Boon, NG wrote: | Do you have /dev/usb* entries for all usb channels? I don't seems to have all the usb* entry. Sorry I'm unfamiliar with usb setup, any idea how do I get it fixed? Thanks. cd /dev sh MAKEDEV usb1 usb2 -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Epson Stylus Color installation problem
On Sun, Nov 17, 2002 at 06:37:38PM +0100, [EMAIL PROTECTED] wrote: I did not see any recommendation in the Handbook to set up communication mode with usb printers. When I run lptcontrol ... the answer is ioctl : Operation not supported by the device. Is it normal ? Is there anything to change in the kernel to set the mode to polled or interrupt ? You are connecting to usb! lptcontrol is for - well for the lpt device - lpt != ulpt. Does dmesg show succesfull probing of ulpt0? Do you have usbd_enable=YES in /etc/rc.conf? Are you using /dev/ulpt0 and -not- /dev/lpt0? Can you print with echo test /dev/ulpt0? -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message