Re: ethernet-to-serial support
On Feb 23, 2012, at 7:45 AM, Henning Brauer wrote: * Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. I just hooked up a Digi TS4 to my Alix 2D13 so I can do some upgrades (in case I pooch it and need a console; they're pretty cheap on ebay (I actually bought a TS2 but got a TS4)). Have another one hooked up to a Sun as well. But that's incoming, not outgoing. If you want the device's serial port to appear as a serial port on an OpenBSD box (i.e., /dev/...) you'll need some sort of driver. Probably not THAT hard, but. . . why? You can just SSH or Telnet to a port on the server, and you're talking to the serial port. Unless you have an app that expects a serial port device, there's no issue. Sean [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
Re: ethernet-to-serial support
- Original Message - From: Henning Brauer lists-open...@bsws.de To: misc@openbsd.org Sent: Thursday, February 23, 2012 10:45:52 AM Subject: Re: ethernet-to-serial support * Dewey Hylton dewey.hyl...@gmail.com [2012-02-23 15:21]: i used the digi equipment over a decade ago with both hpux and aix with success. i'd really like to access these from my openbsd workstation and laptop, though the documentation mentions support for just about everything other than bsd. are any of these usable with bsd? and by that i mean can openbsd connect to the serial ports via ethernet with cu or something similar? i dunno the digi stuff, but console servers usually provide access to the serial ports via telnet or ssh. in general you don't wanna expose these to the 'net, but it's good enough for a seperate vlan or the like to an openbsd box that you either run conserver on or just use to jump through. ahhh, and now it is clear to me how much 'smarter' these devices have become since i used them before. i'm relatively certain the ethernet connectivity was limited to 10Mbps, and i certainly don't remember any ssh options. that tidbit right there fixes all my worries. thanks!
CD/DVD CDROM support
I have run into a most peculiar phenomenon, that it appears that the CDrom driver support has dropped from the install CDs, apparently as of about version 5. This is not an old board, but admittedly ATAPI CDs are. I can boot all the images from 4.9release thru 5.1snap (today's) but only 4.9 shows any evidence of the CD after booting and in the rest CDROM is not an option for install media and there's no evidence of the device in the dmesgs, either. the sysctls after booting each cd: kern.osrelease=4.9 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=cd0:,sd0:,wd0:e09436d04e1d70c4,rd0:2870906e5854e337,sd1:0e7d30fe615c49b0 hw.ncpufound=4 kern.osrelease=5.0 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=sd0:,wd0:e09436d04e1d70c4,rd0:efa10dd049a97542 hw.ncpufound=4 kern.osrelease=5.0 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=sd0:,wd0:e09436d04e1d70c4,rd0:10f77ef34d162647,sd1:0e7d30fe615c49b0 hw.ncpufound=4 kern.osrelease=5.1 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=sd0:,wd0:e09436d04e1d70c4,rd0:7c8ac10ea613493f,sd1:0e7d30fe615c49b0 hw.ncpufound=4 And, following, the dmesg output for these same install media. Any idea how this is so would help, thanks. Dhu OpenBSD 4.9 (RAMDISK_CD) #858: Wed Mar 2 07:04:48 MST 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 3488153600 (3326MB) avail mem = 3383611392 (3226MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f000 (66 entries) bios0: vendor American Megatrends Inc. version 1702 date 12/22/2010 bios0: ASUSTeK Computer INC. M4A88TD-V EVO/USB3 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB SRAT HPET SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 840 Processor, 3214.66 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 200MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus -1 (PCE4) acpiprt5 at acpi0: bus 2 (PCE9) acpiprt6 at acpi0: bus 3 (PCEA) acpiprt7 at acpi0: bus 4 (P0PC) acpiprt8 at acpi0: bus 6 (PE21) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD RS780 Host rev 0x00 ppb0 at pci0 dev 1 function 0 vendor Asustek, unknown product 0x9602 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Radeon HD 4250 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) ATI Radeon HD 4200 HD Audio rev 0x00 at pci1 dev 5 function 1 not configured ppb1 at pci0 dev 9 function 0 AMD RS780 PCIE rev 0x00: apic 4 int 17 (irq 10) pci2 at ppb1 bus 2 vendor VIA, unknown product 0x3403 (class serial bus subclass Firewire, rev 0x00) at pci2 dev 0 function 0 not configured pciide0 at pci2 dev 0 function 1 vendor VIA, unknown product 0x0415 rev 0xa0: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 4 int 17 (irq 10) for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-H20N, 1.05 ATAPI 5/cdrom removable pciide0: channel 1 ignored (not responding; disabled or no drives?) ppb2 at pci0 dev 10 function 0 AMD RS780 PCIE rev 0x00: apic 4 int 18 (irq 11) pci3 at ppb2 bus 3 NEC PCIE-XHCI rev 0x03 at pci3 dev 0 function 0 not configured ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x40: apic 4 int 19 (irq 9), AHCI 1.2 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, ST3500320AS, SD15 SCSI3 0/direct fixed sd0: 476938MB, 512 bytes/sec, 976771055 sec total ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 4 int 18 (irq 11), version 1.0, legacy support ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 4 int 17 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 ATI SB700 USB rev 0x00: apic 4 int 18 (irq 11), version 1.0, legacy support ehci1 at pci0 dev 19 function 2 ATI SB700 USB2 rev 0x00: apic 4 int 17 (irq 10) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 ATI EHCI root hub rev 2.00/1.00 addr 1 ATI SBx00 SMBus rev 0x42 at pci0 dev 20
Re: CD/DVD CDROM support
I found USB is easy with a thumbdrive big enough to hold the files, or there is pxe which is probably easier if you can control the DHCP on the network. My manual process for thumbdrive involved: Assume thumb is empty, otherwise insert to system and run. Also make sure you know the dev name from insert message (this example it is sd0): dd if=/dev/zero of=/dev/rsd0a bs=32k This will zero the drive out. Then run: fdisk i /dev/rsd0c then y to overwrite and save MBR. Then edit disklabel: disklabel E /dev/rsd0c then a take all defaults, then w and finally q just like old times! Then create the FS: newfs /dev/rsd0a Now mount: mount /dev/sd0a /mnt/thumb and mount /dev/cd0a /mnt/cd Copy CD to thumb: cp r /mnt/cd/* /mnt/thumb/ and cp /usr/mdec/boot /mnt/thumb/ BOOT VOODOO: /usr/mdec/installboot /mnt/thumb/boot /usr/mdec/biosboot sd0 On Fri, Feb 24, 2012 at 6:12 PM, Duncan Patton a Campbell campb...@neotext.ca wrote: I have run into a most peculiar phenomenon, that it appears that the CDrom driver support has dropped from the install CDs, apparently as of about version 5. This is not an old board, but admittedly ATAPI CDs are. I can boot all the images from 4.9release thru 5.1snap (today's) but only 4.9 shows any evidence of the CD after booting and in the rest CDROM is not an option for install media and there's no evidence of the device in the dmesgs, either. the sysctls after booting each cd: kern.osrelease=4.9 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=cd0:,sd0:,wd0:e09436d04e1d70c4,rd0:2870906e5854e337,sd1:0e7d30fe 615c49b0 hw.ncpufound=4 kern.osrelease=5.0 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=sd0:,wd0:e09436d04e1d70c4,rd0:efa10dd049a97542 hw.ncpufound=4 kern.osrelease=5.0 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=sd0:,wd0:e09436d04e1d70c4,rd0:10f77ef34d162647,sd1:0e7d30fe615c4 9b0 hw.ncpufound=4 kern.osrelease=5.1 hw.machine=amd64 hw.model=AMD Phenom(tm) II X4 840 Processor hw.product=M4A88TD-V EVO/USB3 hw.disknames=sd0:,wd0:e09436d04e1d70c4,rd0:7c8ac10ea613493f,sd1:0e7d30fe615c4 9b0 hw.ncpufound=4 And, following, the dmesg output for these same install media. Any idea how this is so would help, thanks. Dhu OpenBSD 4.9 (RAMDISK_CD) #858: Wed Mar 2 07:04:48 MST 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 3488153600 (3326MB) avail mem = 3383611392 (3226MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f000 (66 entries) bios0: vendor American Megatrends Inc. version 1702 date 12/22/2010 bios0: ASUSTeK Computer INC. M4A88TD-V EVO/USB3 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB SRAT HPET SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 840 Processor, 3214.66 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN OW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 200MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus -1 (PCE4) acpiprt5 at acpi0: bus 2 (PCE9) acpiprt6 at acpi0: bus 3 (PCEA) acpiprt7 at acpi0: bus 4 (P0PC) acpiprt8 at acpi0: bus 6 (PE21) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD RS780 Host rev 0x00 ppb0 at pci0 dev 1 function 0 vendor Asustek, unknown product 0x9602 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Radeon HD 4250 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) ATI Radeon HD 4200 HD Audio rev 0x00 at pci1 dev 5 function 1 not configured ppb1 at pci0 dev 9 function 0 AMD RS780 PCIE rev 0x00: apic 4 int 17 (irq 10) pci2 at ppb1 bus 2 vendor VIA, unknown product 0x3403 (class serial bus subclass Firewire, rev 0x00) at pci2 dev 0 function 0 not configured pciide0 at pci2 dev 0 function 1 vendor VIA, unknown product 0x0415 rev 0xa0: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 4 int 17 (irq 10) for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-H20N, 1.05 ATAPI 5/cdrom removable pciide0: channel 1 ignored
Re: CD/DVD CDROM support
On Fri, Feb 24, 2012 at 04:12:13PM -0700, Duncan Patton a Campbell wrote: This is not an old board, but admittedly ATAPI CDs are. They're still quite common, but this is a problem with the controller, not the drive. there's no evidence of the device in the dmesgs, either. Hmm? OpenBSD 4.9 (RAMDISK_CD) #858: Wed Mar 2 07:04:48 MST 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD ... pciide0 at pci2 dev 0 function 1 vendor VIA, unknown product 0x0415 rev 0xa0: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 4 int 17 (irq 10) for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-H20N, 1.05 ATAPI 5/cdrom removable pciide0: channel 1 ignored (not responding; disabled or no drives?) .. Before 5.0 this device wasn't in the pcidevs file so it was using default_chip_map (..generic PCI IDE controller support). That seems to have worked for you. OpenBSD 5.0 (RAMDISK_CD) #53: Wed Aug 17 10:17:43 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD ... pciide0 at pci2 dev 0 function 1 VIA VT6415 IDE rev 0xa0: ATA133, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: channel 0 ignored (disabled) pciide0: channel 1 ignored (disabled) .. 1.326 of pciide.c added support for your device. VIA's website seems to indicate this is a single-channel PCIe IDE controller. I'm guessing apollo_setup_channel isn't doing the right thing for this chip, but I can't find a datasheet. -- Duncan Patton a Campbell is Dhu Ne obliviscaris, vix ea nostro voco. -Bryan.