Re: Snapshots of Sep 24
On Fri, Sep 27, 2013 at 10:44:23PM +0200, Dmitrij D. Czarkoff wrote: Hello! I was updating my amd64 laptop with September 24 snapshot's bsd.rd, and it didn't let me select etc and xetc sets - they were simply missing in the list of sets. Is it a glitch? Or may be I missed some news? [...] Upgrades from bsd.rd don't include {,x}etc??.tgz. Use sysmerge for those. -- Gregor Best
Re: mailx : mime handling?
Predrag Punosevac writes: hru...@gmail.com wrote: Predrag Punosevac punoseva...@gmail.com wrote: On 2013-09-26 Thu 10:15 AM |, Roberto E. Vargas Caballero wrote: I use mutt basically because it has threading support, and I cannot live without it. NetBSD version of mailx does support threading as well http://netbsd.gw.com/cgi-bin/man-cgi?mailx++NetBSD-current and it does have the right license :) Cheers, Predrag Heirloom mailx also supports threads and has BSD license. Who wants such an mailx, can install the port. If you make from OpenBSD mailx a mailx similar to heirloom mailx, then there will be no small mail client anymore. I would suggest that you compare man pages for Heirloom mailx and NetBSD version of mailx. Heirloom mailx does so much more than attachments and threading. It is still the smallest fully featured MUA in existance. To be frank with you I was checking your claim about Heriloom license. Makefile has indeed this line #BSD I would sware that it was custom license but you might be actually right on that one. I was wondering if William Yodlowsky can confirm licensing. If we're talking about s-nail, yes, it is BSD-licensed. cd /usr/ports/mail/s-nail make extract then look at the individual source files under WRKOBJDIR. Of course, there are several small bits (MD5, etc) that are external contributions. -- Anthony J. Bentley
Re: bgpctl sh rib mem
On Sun, Sep 22, 2013 at 01:37:46PM +0200, Denis Fondras wrote: Hello, I have an OpenBGPd router with OpenBSD5.3, peering with two remote routers (one for v4 and one for v6). I expect my peers to send me only valid routes. Is there a way to show every prefixes sent by a peer, even invalid ones ? I know of bgpctl show rib but I'd like to understand what this line means : 27808 prefix entries using 869K of memory For me it looks like half of the prefixes I receive are invalid (in memory bu not in RIB) and I'd like to understand why. Thank you in advance, Denis $ bgpctl sh rib mem RDE memory statistics 15 IPv4 unicast network entries using 360B of memory 13889 IPv6 unicast network entries using 488K of memory 27807 rib entries using 869K of memory 27808 prefix entries using 869K of memory 8364 BGP path attribute entries using 621K of memory 8018 BGP AS-PATH attribute entries using 265K of memory, and holding 8364 references 1013 BGP attributes entries using 23.7K of memory and holding 1534 references 1012 BGP attributes using 7.9K of memory RIB using 3.1M of memory $ bgpctl show rib inet6 | wc -l 13902 $ bgpctl sho rib inet | wc -l 19 You most probably run with softreconf in and therefore there is to prefix entries for each path. bgpctl show tables - to show the tables which can be used bgpctl show rib in - to show the Adj-Rib-In bgpctl show rib table XXX - show the table XXX Invalid pathes are shown in either bgpctl show rib or in bgpctl show rib in -- :wq Claudio
Re: bgpctl sh rib mem
Hi Claudio, You most probably run with softreconf in and therefore there is to prefix entries for each path. This is it, disabling soft-reconfiguration lowers memory usage. Thank you very much for this accurate answer :) Denis
Possible radeondrm-bug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I had recently reported on misc@ that my old IBM/lenovo T60 frequently freezes - the system just stops to respond and has to be powercycled. I am still investigating into this, by now with ~current-#65. One possible reason might be that the grapics-card seems to overheat. I temporarily helped myself by adding 'hw.setperf=66' to sysctl.conf. Works, mostly. While still trying to reliably reproduce the beforementioned issue I saw frequent error notices: error: [drm:pid29189:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12! I am neither skilled nor educated enough to investigate or comment on this error. If you need more information than provided below (dmesg, dmesg.boot, Xorg.0.log, messages) just drop me a note. Regards, STEFAN # OpenBSD 5.4-current (GENERIC.MP) #65: Mon Sep 23 23:09:44 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155152896 (3008MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 ATI Radeon Mobility X1300 M52-64 rev 0x00: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel 82573L rev 0x00: msi, address 00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:18:de:9c:fd:27 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci6 at ppb5 bus 21 cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16 cardslot0 at cbb0 slot 0
Re: Claws-mail frequently dumps core on 5.3R
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Sun, 5 May 2013 15:12:07 +0200 schrieb Stefan Wollny ste...@wollny.de: On Sat, 4 May 2013 21:18:35 +0200 Erwin Geerdink m...@erwingeerdink.com wrote: Hi, Since I upgraded to OpenBSD 5.3 Release (following the upgrade guide on the website), I have experienced the following problem with claws-mail v3.8.1: Every time I try to fetch mail, a dialog 'Changed SSL certificate' pops up, for each of my mailboxes. No matter if I choose 'Cancel connection' or 'Accept and Save certificates', both frequently result in a core dump. Even when claws does not crash, the certs are not properly saved, for the dialog shows up every subsequent fetch. The SSL certs are stored to disk (~/.claws-mail/certs/), but information about owner and signer is 'not in certificate'. Core dumps also occur when sending mail. As you understand, this makes usage quite a pain. Does anyone experience this issue as well? Hi Erwin, Hi misc@! I do experience this behaviour as well - as of this morning I use the latest 5.3-current (#148) and claws-mail hasn't crashed for an hour. Yet it keeps complaining about the SSL certs being changed. I just did a fresh install of my system based on 5.3-current (#147). The ./claws-mail/certs folder has permissions 700 while the certs within have 644 - I have no idea if this has an effect on claws-mail. If I can help with any other info or testing just drop me a line. Cheers, STEFAN OpenBSD 5.3-current (GENERIC.MP) #148: Tue Apr 30 11:41:58 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155484672 (3009MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 92P1139 serial 6480 type LION oem Panasonic acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1300 M52-64 rev 0x00 radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: msi, address 00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address
USB flash installation -- Location of sets?
Hello, I make installation from UBS Flash Stick and can't understand how to get Location of sets?. I created usb-installation-media as described here[1]. It works, I can start installation process. The problem is that there are 2 sets for choice: cd and disk (and 2 another for network installation - ftp and http) and both don't work for me... Location of sets? (cd disk ftp http or 'done') [disk] Is the disk partition already mounted? [no] Avaliable disks are: sd0 wd0. Which one contains the install media? (or 'done') [sd0] mount_cd9660: /dev/sd0c on /mnt2: Invalid argument Location of sets? (cd disk ftp http or 'done') [disk] Is the disk partition already mounted? [yes] Pathname to the sets? (or 'done') [5.3/i386] The directory '5.3/i386' does not exist. So, installer can't find source-directory and I can't remount my usb stick. Does anybody know how it works? Thanks, Alex [1] http://undeadly.org/cgi?action=articlesid=20100404103735 **
Re: USB flash installation -- Location of sets?
Alex Naumov said: So, installer can't find source-directory and I can't remount my usb stick. Does anybody know how it works? You can escape to shell using ! command: Location of sets? (cd disk ftp http or 'done') [disk] ! # mount /dev/sd0i /mnt2 # exit Location of sets? (cd disk ftp http or 'done') [disk] Is the disk partition already mounted? [yes] yes Pathname to the sets? (or 'done') [5.3/i386] /mnt2/5.3/i386 -- Dmitrij D. Czarkoff
Re: Claws-mail frequently dumps core on 5.3R
I have experienced same behaviour, on sparc, openbsd, version 5.3, kernel #40. Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network. From: Stefan WollnySent: Saturday, September 28, 2013 6:20 PMTo: Stefan WollnyCc: Erwin Geerdink; OpenBSDSubject: Re: Claws-mail frequently dumps core on 5.3R -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Sun, 5 May 2013 15:12:07 +0200 schrieb Stefan Wollny ste...@wollny.de: On Sat, 4 May 2013 21:18:35 +0200 Erwin Geerdink m...@erwingeerdink.com wrote: Hi, Since I upgraded to OpenBSD 5.3 Release (following the upgrade guide on the website), I have experienced the following problem with claws-mail v3.8.1: Every time I try to fetch mail, a dialog 'Changed SSL certificate' pops up, for each of my mailboxes. No matter if I choose 'Cancel connection' or 'Accept and Save certificates', both frequently result in a core dump. Even when claws does not crash, the certs are not properly saved, for the dialog shows up every subsequent fetch. The SSL certs are stored to disk (~/.claws-mail/certs/), but information about owner and signer is 'not in certificate'. Core dumps also occur when sending mail. As you understand, this makes usage quite a pain. Does anyone experience this issue as well? Hi Erwin, Hi misc@! I do experience this behaviour as well - as of this morning I use the latest 5.3-current (#148) and claws-mail hasn't crashed for an hour. Yet it keeps complaining about the SSL certs being changed. I just did a fresh install of my system based on 5.3-current (#147). The ./claws-mail/certs folder has permissions 700 while the certs within have 644 - I have no idea if this has an effect on claws-mail. If I can help with any other info or testing just drop me a line. Cheers, STEFAN OpenBSD 5.3-current (GENERIC.MP) #148: Tue Apr 30 11:41:58 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155484672 (3009MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 92P1139 serial 6480 type LION oem Panasonic acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1300 M52-64 rev 0x00 radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1
ugen attaches to USB WLAN adapter (RTL8188CUS)
Hello! I have a ISY IWL 2000 WLAN adapter on a laptop running OpenBSD 5.3-release. According to wikidevi.com, the adapter has a Realtek RTL8188CUS-chipset and is probably a rebranded Belkin F7D1102, but with a changed USB Id. When I boot, the ugen-driver attaches to the device. ugen0 at uhub0 port 1 Realtek 802.11n WLAN Adapter rev 2.00/2.00 addr 2 (see below for the complete dmesg) According to the urtwn manpage, this chipset is supported and a Belkin F7D1102 should work. I have downloaded the firmware files. What could I try to get the proper driver to attach? Or is it hopeless? usbdevs output for the device: Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, power 500 mA, config 1, 802.11n WLAN Adapter(0x11f2), Realtek(0x050d), rev 2.00, iSerialNumber 00e04c01 port 2 powered port 3 powered port 4 powered dmesg output: OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2139897856 (2040MB) avail mem = 2060500992 (1965MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7fcc (33 entries) bios0: vendor Phoenix version V1.3311 date 12/21/2009 bios0: Acer Extensa 5635ZG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT acpi0: wakeup devices USB0(S3) USB1(S3) USBR(S3) EHC1(S3) USB3(S3) EHC2(S3) HDEF(S3) GLAN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2294.62 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF cpu0: 1MB 64b/line 4-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2294.25 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF cpu1: 1MB 64b/line 4-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 10 (P0P1) acpiprt3 at acpi0: bus 2 (RP01) acpiprt4 at acpi0: bus -1 (RP02) acpiprt5 at acpi0: bus -1 (RP03) acpiprt6 at acpi0: bus 7 (RP04) acpiprt7 at acpi0: bus -1 (RP05) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 108 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model AS09C31 serial 6243 type LION oem SANYO acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ acpivideo1 at acpi0: GFX0 acpivout1 at acpivideo1: DD02 cpu0: Enhanced SpeedStep 2294 MHz: speeds: 2300, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x06ec rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi azalia0: codecs: Conexant CX20561 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi pci3 at ppb2 bus 7 Broadcom BCM43225 rev 0x01 at pci3 dev 0 function 0 not configured ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: msi pci4 at ppb3 bus 9 alc0 at pci4 dev 0 function 0 Attansic Technology L1C rev 0xc0: msi, address 60:eb:69:87:f9:26 atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11 uhci2 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 23 uhci3 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 19 uhci4 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 18 uhci5 at pci0 dev 29 function 3 Intel 82801I USB rev 0x03: apic 2 int 16 ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93 pci5 at ppb4 bus 10
Re: ugen attaches to USB WLAN adapter (RTL8188CUS)
Try this, you'll have to run 'make' in /sys/dev/usb after applying the patch then build a kernel as usual. Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.605 diff -u -p -r1.605 usbdevs --- usbdevs 5 Sep 2013 19:42:09 - 1.605 +++ usbdevs 29 Sep 2013 01:14:48 - @@ -1124,6 +1124,7 @@ product BELKIN F6C800 0x0980 F6C800 UPS product BELKIN RTL8192CU_2 0x1004 RTL8192CU product BELKIN F6C1100 0x1100 F6C1100/1200 UPS product BELKIN RTL8188CU 0x1102 RTL8188CU +product BELKIN RTL8188CUS 0x11f2 RTL8188CUS product BELKIN F5U120 0x1203 F5U120-PC Hub product BELKIN RTL8192CU 0x2102 RTL8192CU product BELKIN F7D2102 0x2103 F7D2102 Index: if_urtwn.c === RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v retrieving revision 1.30 diff -u -p -r1.30 if_urtwn.c --- if_urtwn.c 20 Aug 2013 04:52:00 - 1.30 +++ if_urtwn.c 29 Sep 2013 01:15:18 - @@ -86,6 +86,7 @@ static const struct usb_devno urtwn_devs { USB_VENDOR_BELKIN,USB_PRODUCT_BELKIN_F7D2102 }, { USB_VENDOR_BELKIN,USB_PRODUCT_BELKIN_F9L1004V1 }, { USB_VENDOR_BELKIN,USB_PRODUCT_BELKIN_RTL8188CU }, + { USB_VENDOR_BELKIN,USB_PRODUCT_BELKIN_RTL8188CUS }, { USB_VENDOR_BELKIN,USB_PRODUCT_BELKIN_RTL8192CU }, { USB_VENDOR_BELKIN,USB_PRODUCT_BELKIN_RTL8192CU_2 }, { USB_VENDOR_CHICONY, USB_PRODUCT_CHICONY_RTL8188CUS_1 },