Re: FT232H variant in uftdi(4)
On Wed, Dec 09, 2020 at 09:11:35AM +0100, Jan Klemkow wrote: > On Tue, Dec 08, 2020 at 09:03:53PM -0300, Daniel Bolgheroni wrote: > > I have a FT232H variant (marked FT232HQ, 0403:6014) which works with > > uftdi(4). > > > > Still related to uftdi(4), sys/dev/usb/ftdi.c has a comment saying uftdi(4) > > does not support multiple serial ports because ucom(4), but I'm able to use > > both ucom(4) in parallel from the same FT2232H (dual). > > Hi Daniel, > > How does your device attach? Could you send with your device attached? Hi Jan, In the case of FT232H(Q), before the patch adding it to usbdevs, it was attaching as ugen(4). After the patch: uftdi0 at uhub0 port 1 configuration 1 interface 0 "FTDI Single RS232-HS" rev 2.00/9.00 addr 3 ucom0 at uftdi0 portno 1 In the case of FT2232H (dual): uftdi0 at uhub0 port 2 configuration 1 interface 0 "FTDI Dual RS232-HS" rev 2.00/7.00 addr 3 ucom0 at uftdi0 portno 1 uftdi1 at uhub0 port 2 configuration 1 interface 1 "FTDI Dual RS232-HS" rev 2.00/7.00 addr 3 ucom1 at uftdi1 portno 2 The full dmesg is below. Custom kernel, but the only change is the IDs for the device I mentioned before. Thank you. full dmesg: OpenBSD 6.8-current (GENERIC.MP) #9: Tue Dec 8 10:57:52 -03 2020 dbolgheroni@a320:/home/dbolgheroni/openbsd/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8469942272 (8077MB) avail mem = 8197922816 (7818MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xccbfd000 (64 entries) bios0: vendor LENOVO version "N10ET54W (1.33 )" date 09/18/2018 bios0: LENOVO 20CL006VBR acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT PCCT SSDT UEFI MSDM BATB FPDT UEFI BGRT DMAR acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.57 MHz, 06-3d-04 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.25 MHz, 06-3d-04 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 acpicmos0 at acpi0 acpibat0 at acpi0: BAT0 model "45N1773" serial 1004 type LION oem "SANYO" acpibat1 at acpi0: BAT1 model "45N1775" serial 632 type LION oem "SANYO" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0: version 1.0 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "INT340F" at acpi0 not configured acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1 acpipwrres1 at acpi0: NVP3, resource for PEG_ acpipwrres2 at acpi0: NVP2, resource for PEG_ acpitz0 at acpi0: critical temperature is 128 degC acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD0 acpivideo1 at acpi0: VID_ cpu0: using VERW MDS workaround (except on
Re: FT232H variant which works
On Tue, Dec 08, 2020 at 03:04:58PM -0300, Daniel Bolgheroni wrote: > Hi tech@, > Sorry, duplicate, disconsider since I sent it again just to find out I had no rDNS. -- db
FT232H variant which works
Hi tech@, I have a FT232H variant (marked FT232HQ, 0403:6014) which works with uftdi(4). Still related to uftdi(4), sys/dev/usb/ftdi.c has a comment saying uftdi(4) does not support multiple serial ports because ucom(4), but I'm able to use both ucom(4) in parallel from a FT2232H (dual). Thank you. diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index fb7b8ae8621..a32153cda6a 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -236,6 +236,7 @@ static const struct usb_devno uftdi_devs[] = { { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_4 }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_5 }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_6 }, + { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_7 }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT4232H }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FTX }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_GAMMASCOUT }, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index fb6102fad95..a855da2aada 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1859,6 +1859,7 @@ product FTDI FT232_3 0x6006 Serial product FTDI FT232_4 0x6007 Serial product FTDI FT232_5 0x6008 Serial product FTDI FT232_6 0x6009 Serial +product FTDI FT232_7 0x6014 Serial product FTDI SERIAL_2232C 0x6010 2232C Serial product FTDI FT4232H 0x6011 FT4232H product FTDI FTX 0x6015 FTX diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index fb7b8ae8621..80eb3f2c928 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -34,11 +34,6 @@ * FTDI FT8U100AX serial adapter driver */ -/* - * XXX This driver will not support multiple serial ports. - * XXX The ucom layer needs to be extended first. - */ - #include #include #include -- db
FT232H variant in uftdi(4)
Hi tech@, I have a FT232H variant (marked FT232HQ, 0403:6014) which works with uftdi(4). Still related to uftdi(4), sys/dev/usb/ftdi.c has a comment saying uftdi(4) does not support multiple serial ports because ucom(4), but I'm able to use both ucom(4) in parallel from the same FT2232H (dual). Thank you. diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index fb7b8ae8621..a32153cda6a 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -236,6 +236,7 @@ static const struct usb_devno uftdi_devs[] = { { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_4 }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_5 }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_6 }, + { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT232_7 }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FT4232H }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_FTX }, { USB_VENDOR_FTDI, USB_PRODUCT_FTDI_GAMMASCOUT }, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index fb6102fad95..a855da2aada 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1859,6 +1859,7 @@ product FTDI FT232_3 0x6006 Serial product FTDI FT232_4 0x6007 Serial product FTDI FT232_5 0x6008 Serial product FTDI FT232_6 0x6009 Serial +product FTDI FT232_7 0x6014 Serial product FTDI SERIAL_2232C 0x6010 2232C Serial product FTDI FT4232H 0x6011 FT4232H product FTDI FTX 0x6015 FTX diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index fb7b8ae8621..80eb3f2c928 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -34,11 +34,6 @@ * FTDI FT8U100AX serial adapter driver */ -/* - * XXX This driver will not support multiple serial ports. - * XXX The ucom layer needs to be extended first. - */ - #include #include #include -- db
rcctl(8) does not set flags
Hi tech@, Setting, for example # rcctl enable nfsd # rcctl set nfsd flags -tun 4 has no effect on /etc/rc.conf.local. This is also true for other cases where the default flags for the daemon are equal to the flags you're trying to set. It seemed a problem at first, since there is no reference to this behaviour on the man page. But looking at the source code (usr.sbin/rcctl/rcctl.sh, r1.105, line 452), this is actually expected. # unset flags if they match the default enabled ones [ "${_args}" = "$(svc_getdef ${_svc} ${_var})" ] && \ unset _args Should this behaviour be on the man page? I don't think it's too obvious to assume the flags wasn't set on /etc/rc.conf.local because it is already the default for the daemon. Having it documented or not, the diff below removes an unneeded step, since "-tun 4" is already the default for nfsd. Index: faq6.html === RCS file: /cvs/www/faq/faq6.html,v retrieving revision 1.427 diff -u -p -r1.427 faq6.html --- faq6.html 9 Feb 2017 17:22:19 - 1.427 +++ faq6.html 15 Feb 2017 16:05:30 - @@ -607,7 +607,6 @@ services must be enabled on the server: # rcctl enable portmap mountd nfsd -# rcctl set nfsd flags -tun 4 The -t and -u flags for nfsd(8) enable TCP and UDP, -- db
guest crashes when ping'ing host
Hi, guest running -current crashes trying to ping host running the same -current snapshot. The configuration is based on a diff to faq6.html from Edd Barrett, which is going to be commited for 6.1: http://marc.info/?l=openbsd-tech=147654794511843=2 Don't know if it is related to the recent changes to sys/kern/subr_pool.c, since these changes do not touch pool_do_get(). Thank you. -- /etc/vm.conf: vm "first" { disable memory 512M kernel "/bsd.rd" disk /home/dbolgheroni/vm/first.img interfaces 1 interface { switch "myswitch" } } switch "myswitch" { add vether0 } -- $ doas vmd -d - startup /etc/vm.conf:8: vm "first" skipped (disabled) /etc/vm.conf:12: switch "myswitch" registered vm_priv_brconfig: interface bridge0 description switch1-myswitch vm_priv_brconfig: interface bridge0 add vether0 vm_priv_ifconfig: interface tap0 description vm1-if0-first first: started vm 1 successfully, tty /dev/ttyp4 run_vm: initializing hardware for vm first run_vm: starting vcpu threads for vm first vcpu_reset: resetting vcpu 0 for vm 1 run_vm: waiting on events for VM first i8253_reset: unsupported counter mode 0xe vmd: unknown exit reason 1 vmd: unknown exit reason 1 vmd: unknown exit reason 48 vmd: unknown exit reason 48 vmd: unknown exit reason 1 vmd: unknown exit reason 1 vmd: unknown exit reason 1 (...) -- $ doas vmctl start first -c -k /bsd.rd -m 512M -d first.img -i 1 Connected to /dev/ttyp4 (speed 9600) Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.0-current (RAMDISK_CD) #0: Thu Nov 3 20:46:48 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 520093696 (496MB) avail mem = 502673408 (479MB) mainbus0 at root bios0 at mainbus0 acpi at bios0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2484.00 MHz cpu0: FPU,VME,DE,PSE,MSR,PAE,MCE,CX8,SEP,PGE,MCA,CMOV,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,HV pvbus0 at mainbus0: OpenBSD pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "OpenBSD VMM PCI Host Bridge" rev 0x00 virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00 viornd0 at virtio0 virtio0: irq 3 virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Storage" rev 0x00 vioblk0 at virtio1 scsibus0 at vioblk0: 2 targets sd0 at scsibus0 targ 0 lun 0:SCSI3 0/direct fixed sd0: 8192MB, 512 bytes/sector, 16777216 sectors virtio1: irq 5 virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 vio0 at virtio2: address fe:e1:bb:d1:63:96 virtio2: irq 7 isa0 at mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo com0: console softraid0 at root scsibus1 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/amd64 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # doas ifconfig vio0 192.168.3.2 up # ping 192.168.3;2 ping: no address associated with name sh: 2: not found # ping 192.168.3.2 PING 192.168.3.2 (192.168.3.2): 56 data bytes 64 bytes from 192.168.3.2: icmp_seq=0 ttl=255 time=4.615 ms 64 bytes from 192.168.3.2: icmp_seq=1 ttl=255 time=0.215 ms 64 bytes from 192.168.3.2: icmp_seq=2 ttl=255 time=0.215 ms 64 bytes from 192.168.3.2: icmp_seq=3 ttl=255 time=0.000 ms 64 bytes from 192.168.3.2: icmp_seq=4 ttl=255 time=0.215 ms ^C --- 192.168.3.2 ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.000/1.052/4.615/1.783 ms # ping 192.168.3.1 PING 192.168.3.1 (192.168.3.1): 56 data bytes panic: pool_do_get: mbufpl free list modified: page 0xff001f7d9000; item addr 0xff001f7d9600; offset 0x0=0x3ab868690400aaec != 0xf0c80e781b55d7da syncing disks... done -- host "ifconfig -a": lo0: flags=8049 mtu 32768 index 4 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff00 em0: flags=8843 mtu 1500 lladdr 00:21:cc:ba:e3:5d index 1 priority 0 llprio 3 groups: egress media: Ethernet autoselect (none) status: no carrier inet 192.168.2.9 netmask 0xff00 broadcast 192.168.2.255 iwn0: flags=8843 mtu 1500 lladdr 10:0b:a9:96:72:30 index 2 priority 4 llprio 3 groups: wlan egress media: IEEE802.11 autoselect (OFDM18 mode 11g) status: active ieee80211: nwid home chan 1 bssid 00:23:08:47:96:8c -44dBm wpakey 0x77c02ba09022a2abbd3ede6c14e9844018061140c91ecac65715bb53326fd0b5 wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip inet 192.168.2.25
[patch] Some consistence
Some consistence. Index: ls.1 === RCS file: /cvs/src/bin/ls/ls.1,v retrieving revision 1.77 diff -u -p -r1.77 ls.1 --- ls.110 Aug 2016 19:46:43 - 1.77 +++ ls.18 Sep 2016 01:44:18 - @@ -370,7 +370,7 @@ and set-group-ID mode is set. If in the owner permissions, the file is executable and set-user-ID mode is set. If in the group permissions, the file is executable -and setgroup-ID mode is set. +and set-group-ID mode is set. .It Sy x The file is executable or the directory is searchable. -- db
Re: armv7 cache flushing: don't take shortcuts
On Mon, Aug 15, 2016 at 09:56:09PM +0200, Mark Kettenis wrote: > The functions that clean/invalidate the caches by virtual address, > bail out after cleaning 32k worth of data. The 32k matches the L1 > cache of most of the CPUs we current run on. But the Cortex-A7 has an > integrated L2 cache that is larger. And if you only flush it > partially you may get into trouble. And now that we actually use the > cache that matters. Many of the more recent ARMv7 CPUs include such a > L2 cache. And some of them even have L1 caches that are larger than > 32k. So drop the shortcut and simply clean/invalidate what we were > asked to clean/invalidate. Most of the calls should be covering a > single page or less anyway. > > This fixes the core dumps and illegal instructions that I see when > booting from a SATA disk. Just saw this commited. It makes Cubieboard2 fully useable so far. Kernel rebuild with fs on ahci: (...) ld -T ldscript --warn-common -nopie -S -o bsd ${SYSTEM_HEAD} vers.o ${OBJS} textdatabss dec hex 3744040 139412 479308 4362760 429208 25m50.10s real17m18.26s user 1m28.06s system Just as a comparison, it takes around 20 min on Wandboard with fs on nfs and around 23 min on BeagleBone Black with fs also on nfs. Thank you. -- U-Boot SPL 2016.07 (Aug 05 2016 - 23:44:57) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2016.07 (Aug 05 2016 - 23:44:57 -0600) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubieboard2 I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial SCSI: Target spinup took 0 ms. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c5 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 => => setenv devnum 0 => run scsi_boot scanning bus for devices... Device 0: (0:0) Vendor: ATA Prod.: TOSHIBA MK1235GS Rev: PV01 Type: Hard Disk Capacity: 114473.4 MB = 111.7 GB (234441648 x 512) Found 1 device(s). Device 0: (0:0) Vendor: ATA Prod.: TOSHIBA MK1235GS Rev: PV01 Type: Hard Disk Capacity: 114473.4 MB = 111.7 GB (234441648 x 512) ... is now current device Scanning scsi 0:1... Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 23 ms (2.7 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC ## Starting EFI application at 0x4200 ... Scanning disks on scsi... Scanning disks on usb... Scanning disks on mmc... MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Found 6 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> booting sd0a:/bsd: 3743840+139408+479308 [64+501824+238352]=0x4e3de0 OpenBSD/armv7 booting ... arg0 0x4000 arg1 0x10bb arg2 0x4800 Allocating page tables freestart = 0x407e4000, free_pages = 260124 (0x0003f81c) IRQ stack: p0x40812000 v0xc0812000 ABT stack: p0x40813000 v0xc0813000 UND stack: p0x40814000 v0xc0814000 SVC stack: p0x40815000 v0xc0815000 Creating L1 page table at 0x407e4000 Mapping kernel Constructing L2 page tables undefined page pmap [ using 740612 bytes of bsd ELF symbol table ] board type: 4283 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0-current (GENERIC) #1: Mon Aug 15 19:34:05 BRT 2016 dbolgher...@wbs.my.domain:/usr/src/sys/arch/armv7/compile/GENERIC real mem = 1073741824 (1024MB) avail mem = 104448 (996MB) mainbus0 at root: Cubietech Cubieboard2 cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache cortex0 at mainbus0 sunxi0 at mainbus0 sxipio0 at sunxi0: 175 pins sxiccmu0 at sunxi0 gpio0 at sxipio0: 18 pins gpio1 at sxipio0: 24 pins gpio2 at sxipio0: 25 pins gpio3 at sxipio0: 28 pins gpio4 at sxipio0: 12 pins gpio5 at sxipio0: 6 pins gpio6 at sxipio0: 12 pins gpio7 at sxipio0: 28 pins gpio8 at sxipio0: 22 pins agtimer0 at mainbus0: tick rate 24000 KHz simplebus0 at mainbus0: "soc" ehci0 at simplebus0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 sxiahci0 at simplebus0: AHCI 1.1 sxiahci0: port 0: 3.0Gb/s scsibus0 at sxiahci0: 32 targets sd0 at scsibus0 targ 0 lun 0:SCSI3 0/direct fixed naa.5391d4f841be sd0: 114473MB, 512 bytes/sector, 234441648 sectors ehci1 at simplebus0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 sxidog0 at simplebus0 sxirtc0 at simplebus0
typo in bytgpio(4) manpage
Typo. s/drirect/direct/ Index: bytgpio.4 === RCS file: /cvs/src/share/man/man4/bytgpio.4,v retrieving revision 1.2 diff -u -p -r1.2 bytgpio.4 --- bytgpio.4 28 Mar 2016 20:08:56 - 1.2 +++ bytgpio.4 15 Aug 2016 17:11:31 - @@ -27,7 +27,7 @@ The .Nm driver provides support for the GPIO controllers found on Intel's Bay Trail SoC. -It does not provide drirect device driver entry points but makes its +It does not provide direct device driver entry points but makes its functions available to .Xr acpi 4 . .Sh SEE ALSO -- db
Re: armv7 Cortex-A7 fix
On Thu, Aug 11, 2016 at 05:23:08AM +0300, Artturi Alm wrote: > Did you rememeber to revert the whatever patch you were using before? No. Thank you. -- U-Boot SPL 2016.07 (Aug 05 2016 - 23:44:57) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2016.07 (Aug 05 2016 - 23:44:57 -0600) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubieboard2 I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial SCSI: Target spinup took 0 ms. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c5 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /sun7i-a20-cubieboard2.dtb 30881 bytes read in 30 ms (1004.9 KiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 41 ms (1.5 MiB/s) ## Starting EFI application at 0x4200 ... Scanning disks on scsi... Scanning disks on usb... Scanning disks on mmc... MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Found 6 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 2145504+7929156+428548 [64+306208+149986]=0xa77f00 OpenBSD/armv7 booting ... arg0 0x4000 arg1 0x10bb arg2 0x4800 Allocating page tables freestart = 0x40d78000, free_pages = 258696 (0x0003f288) IRQ stack: p0x40da6000 v0xc0da6000 ABT stack: p0x40da7000 v0xc0da7000 UND stack: p0x40da8000 v0xc0da8000 SVC stack: p0x40da9000 v0xc0da9000 Creating L1 page table at 0x40d78000 Mapping kernel Constructing L2 page tables undefined page pmap board type: 4283 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0-current (RAMDISK) #0: Thu Aug 11 00:22:27 BRT 2016 dbolgher...@wbs.my.domain:/usr/src/sys/arch/armv7/compile/RAMDISK real mem = 1073741824 (1024MB) avail mem = 1038749696 (990MB) mainbus0 at root: Cubietech Cubieboard2 cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache cortex0 at mainbus0 sunxi0 at mainbus0 sxipio0 at sunxi0 sxiccmu0 at sunxi0 gpio0 at sxipio0: 18 pins gpio1 at sxipio0: 24 pins gpio2 at sxipio0: 25 pins gpio3 at sxipio0: 28 pins gpio4 at sxipio0: 12 pins gpio5 at sxipio0: 6 pins gpio6 at sxipio0: 12 pins gpio7 at sxipio0: 28 pins gpio8 at sxipio0: 22 pins agtimer0 at mainbus0: tick rate 24000 KHz simplebus0 at mainbus0: "soc" ehci0 at simplebus0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 sxiahci0 at simplebus0: AHCI 1.1 sxiahci0: port 0: 3.0Gb/s scsibus0 at sxiahci0: 32 targets sd0 at scsibus0 targ 0 lun 0:SCSI3 0/direct fixed naa.5391d4f841be sd0: 114473MB, 512 bytes/sector, 234441648 sectors ehci1 at simplebus0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 sxidog0 at simplebus0 sxirtc0 at simplebus0 sxiuart0 at simplebus0: console ampintc0 at simplebus0 nirq 160 boot device: sd0 root on rd0a swap on rd0b dump on rd0b WARNING: clock lost 17024 days WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/armv7 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? -- db
Re: pmap7.c cleanup
On Mon, Aug 08, 2016 at 09:17:39PM +0200, Mark Kettenis wrote: > This diff should not introduce any change in behaviour. Another round tested with a kernel build and works for me on BeagleBone Black. -- db
Re: Another armv7 pmap diff
On Sun, Aug 07, 2016 at 01:58:06PM +0200, Mark Kettenis wrote: > Further testing, especially on Cortex-A8, would be appreciated. Works for me. Tested on BeagleBone Black. Kernel compile times remains pretty much the same, though. -- db
Re: armv7 pmap fix for Cortex A53 (and Cortex A7?)
On Mon, Aug 01, 2016 at 10:19:17PM -0300, Daniel Bolgheroni wrote: > On Sun, Jul 31, 2016 at 08:03:58PM +0200, Mark Kettenis wrote: > > So the CPU might speculatively load TLB entries. The upshot from this > > is that we always have to perform a TLB flush if we modify a valid > > entry. So we can't rely on PV_BEEN_REFD() to decide whether we should > > flush or not. The diff below fixes thi. The diff seems to fix the > > pmap_fault_fixup() messages on a Cortex A53 system. It's very likely > > that this will fix them on Cortex A7 as well. > > Tested on Cortex-A8 and it seems ok. My bad. This is related to the unified TLBs diff. -- db
Re: armv7 pmap fix for Cortex A53 (and Cortex A7?)
On Sun, Jul 31, 2016 at 08:03:58PM +0200, Mark Kettenis wrote: > So the CPU might speculatively load TLB entries. The upshot from this > is that we always have to perform a TLB flush if we modify a valid > entry. So we can't rely on PV_BEEN_REFD() to decide whether we should > flush or not. The diff below fixes thi. The diff seems to fix the > pmap_fault_fixup() messages on a Cortex A53 system. It's very likely > that this will fix them on Cortex A7 as well. Tested on Cortex-A8 and it seems ok. -- U-Boot SPL 2016.07 (Jul 12 2016 - 14:45:59) Trying to boot from MMC1 MMC partition switch failed *** Warning - MMC partition switch failed, using default environment reading u-boot.img reading u-boot.img U-Boot 2016.07 (Jul 12 2016 - 14:45:59 +1000) Watchdog enabled I2C: ready DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - bad CRC, using default environment Net:not set. Validating first E-fuse MAC cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt ** Unable to read file uEnv.txt ** switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /am335x-boneblack.dtb 32577 bytes read in 9 ms (3.5 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 14 ms (4.4 MiB/s) ## Starting EFI application at 0x8200 ... Scanning disks on usb... Scanning disks on mmc... MMC Device 2 not found MMC Device 3 not found Found 6 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> boot tbsd booting sd0a:tbsd: 3674688+100668+479244 [64+490880+230122]=0x4c5b68 OpenBSD/armv7 booting ... arg0 0x8000 arg1 0xe05 arg2 0x8800 Allocating page tables freestart = 0x807c6000, free_pages = 129082 (0x0001f83a) IRQ stack: p0x807f4000 v0xc07f4000 ABT stack: p0x807f5000 v0xc07f5000 UND stack: p0x807f6000 v0xc07f6000 SVC stack: p0x807f7000 v0xc07f7000 Creating L1 page table at 0x807c8000 Mapping kernel Constructing L2 page tables undefined page pmap [ using 721440 bytes of bsd ELF symbol table ] board type: 3589 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0-current (GENERIC) #0: Mon Aug 1 18:57:26 BRT 2016 dbolgher...@wbs.my.domain:/usr/src/sys/arch/armv7/compile/GENERIC real mem = 536870912 (512MB) avail mem = 518017024 (494MB) mainbus0 at root: TI AM335x BeagleBone Black cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache omap0 at mainbus0 prcm0 at omap0 rev 0.2 sitaracm0 at omap0: control module, rev 1.0 intc0 at omap0 rev 5.0 edma0 at omap0 rev 0.0 dmtimer0 at omap0 rev 3.1 dmtimer1 at omap0 rev 3.1 omgpio0 at omap0: rev 0.1 gpio0 at omgpio0: 32 pins omgpio1 at omap0: rev 0.1 gpio1 at omgpio1: 32 pins omgpio2 at omap0: rev 0.1 gpio2 at omgpio2: 32 pins omgpio3 at omap0: rev 0.1 gpio3 at omgpio3: 32 pins simplebus0 at mainbus0: "ocp" simplebus1 at simplebus0: "l4_wkup" simplebus2 at simplebus1: "scm" com0 at simplebus0: ti16750, 64 byte fifo com0: console tiiic0 at simplebus0 rev 0.11 iic0 at tiiic0 "ti,tps65217" at iic0 addr 0x24 not configured "at,24c256" at iic0 addr 0x50 not configured "nxp,tda998x" at iic0 addr 0x70 not configured tiiic1 at simplebus0 rev 0.11 iic1 at tiiic1 "at,24c256" at iic1 addr 0x54 not configured "at,24c256" at iic1 addr 0x55 not configured "at,24c256" at iic1 addr 0x56 not configured "at,24c256" at iic1 addr 0x57 not configured ommmc0 at simplebus0 sdmmc0 at ommmc0: 1-bit, mmc high-speed ommmc1 at simplebus0 sdmmc1 at ommmc1: 1-bit, mmc high-speed omdog0 at simplebus0 rev 0.1 cpsw0 at simplebus0: version 1.12 (0), address 1c:ba:8c:97:a7:03 ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0001f0, model 0x000f scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed sd0: 15193MB, 512 bytes/sector, 31116288 sectors scsibus1 at sdmmc1: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed sd1: 1832MB, 512 bytes/sector, 3751936 sectors vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets boot device: sd0 root on sd0a (fe311afb0f7c1b3f.a) swap on sd0b dump on sd0b WARNING: CHECK AND RESET THE DATE! Automatic boot in progress: starting file system checks. /dev/sd0a (fe311afb0f7c1b3f.a): file system is clean; not checking /dev/sd0j (fe311afb0f7c1b3f.j): file system is clean; not checking /dev/sd0d (fe311afb0f7c1b3f.d): file system is clean; not checking /dev/sd0f (fe311afb0f7c1b3f.f): file system is clean; not checking /dev/sd0g (fe311afb0f7c1b3f.g): file system is clean; not checking /dev/sd0h (fe311afb0f7c1b3f.h): file system
Re: armv7 pmap fix for Cortex A53 (and Cortex A7?)
On Sun, Jul 31, 2016 at 08:03:58PM +0200, Mark Kettenis wrote: > So the CPU might speculatively load TLB entries. The upshot from this > is that we always have to perform a TLB flush if we modify a valid > entry. So we can't rely on PV_BEEN_REFD() to decide whether we should > flush or not. The diff below fixes thi. The diff seems to fix the > pmap_fault_fixup() messages on a Cortex A53 system. It's very likely > that this will fix them on Cortex A7 as well. Hi Mark, rebuilt RAMDISK and bsd.rd with the latest commits and tested on a Cubieboard 2 with Cortex-A7. Thank you. -- U-Boot SPL 2016.05 (Jul 02 2016 - 03:01:58) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2016.05 (Jul 02 2016 - 03:01:58 -0600) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubieboard2 I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial SCSI: SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c5 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /sun7i-a20-cubieboard2.dtb 29537 bytes read in 29 ms (994.1 KiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 41 ms (1.5 MiB/s) ## Starting EFI application at 0x4200 ... Scanning disks on scsi... Scanning disks on usb... Scanning disks on mmc... MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Found 2 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> boot bsd.rd cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:bsd.rd: 2093312+7928836+428484 [64+297264+142723]=0xa63e30 OpenBSD/armv7 booting ... arg0 0x4000 arg1 0x10bb arg2 0x4800 Allocating page tables freestart = 0x40d64000, free_pages = 258716 (0x0003f29c) IRQ stack: p0x40d92000 v0xc0d92000 ABT stack: p0x40d93000 v0xc0d93000 UND stack: p0x40d94000 v0xc0d94000 SVC stack: p0x40d95000 v0xc0d95000 Creating L1 page table at 0x40d64000 Mapping kernel Constructing L2 page tables undefined page pmap board type: 4283 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0-current (RAMDISK) #0: Sun Jul 31 22:39:32 BRT 2016 dbolgher...@wbs.my.domain:/usr/src/sys/arch/armv7/compile/RAMDISK real mem = 1073741824 (1024MB) avail mem = 1038827520 (990MB) mainbus0 at root: Cubietech Cubieboard2 cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 agtimer0 at cortex0: tick rate 24000 KHz sunxi0 at mainbus0 sxipio0 at sunxi0 sxiccmu0 at sunxi0 sxidog0 at sunxi0 sxirtc0 at sunxi0 ahci0 at sunxi0 AHCI 1.1 scsibus0 at ahci0: 32 targets ehci0 at sunxi0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 ehci1 at sunxi0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 gpio0 at sxipio0: 18 pins gpio1 at sxipio0: 24 pins gpio2 at sxipio0: 25 pins gpio3 at sxipio0: 28 pins gpio4 at sxipio0: 12 pins gpio5 at sxipio0: 6 pins gpio6 at sxipio0: 12 pins gpio7 at sxipio0: 28 pins gpio8 at sxipio0: 22 pins simplebus0 at mainbus0: "soc" sxiuart0 at simplebus0: console boot device: lookup 'sd0a:/bsd' failed. root on rd0a swap on rd0b dump on rd0b WARNING: clock lost 17013 days WARNING: CHECK AND RESET THE DATE! pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup: va 8000 ftype 5 u pte 7ff2b02e pmap_fault_fixup:
Re: arm: pmap uvm_fault findings
On Wed, Jul 27, 2016 at 08:06:57PM +0200, Patrick Wildt wrote: > > There are more places in that pmap where we explicitly check for zero > and not for being valid. Unfortunately this place was missed. Wandboard with your patch, recompiling a kernel, and no problems so far. Thank you. -- db
Re: armv7 diff for testing
On Mon, Jul 25, 2016 at 04:26:26PM +0200, Mark Kettenis wrote: > > Also, are you plugged into a gigabit switch? If not, "ifconfig fec0 > media 100baseTX" might help. Missed that. Thank you. -- db
Re: armv7 diff for testing
On Mon, Jul 25, 2016 at 04:26:26PM +0200, Mark Kettenis wrote: > > Can you show us the output of "ifconfig fec0" and "vmstat -zi"? Sure. At the bottom of the message. > Also, are you plugged into a gigabit switch? If not, "ifconfig fec0 > media 100baseTX" might help. No, cheap Fast Ethernet switch. http://www.tp-link.com/en/products/details/TL-SF1008D.html Thank you. -- U-Boot SPL 2016.07 (Jul 20 2016 - 21:09:03) Trying to boot from MMC1 U-Boot 2016.07 (Jul 20 2016 - 21:09:03 -0600) CPU: Freescale i.MX6SOLO rev1.1 at 792 MHz Reset cause: WDOG Board: Wandboard rev B1 I2C: ready DRAM: 512 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 *** Warning - bad CRC, using default environment No panel detected: default to HDMI Display: HDMI (1024x768) In:serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /imx6dl-wandboard-revb1.dtb 29934 bytes read in 20 ms (1.4 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 33 ms (1.9 MiB/s) ## Starting EFI application at 0x1200 ... Scanning disks on usb... Scanning disks on mmc... MMC Device 2 not found MMC Device 3 not found Found 6 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> booting sd0a:/bsd: 3722056+101212+479648 [64+496480+232320]=0x4cfd90 OpenBSD/armv7 booting ... arg0 0x0 arg1 0x2e55b26c arg2 0x1800 Allocating page tables freestart = 0x107d, free_pages = 129072 (0x0001f830) IRQ stack: p0x107fe000 v0xc07fe000 ABT stack: p0x107ff000 v0xc07ff000 UND stack: p0x1080 v0xc080 SVC stack: p0x10801000 v0xc0801000 Creating L1 page table at 0x107d Mapping kernel Constructing L2 page tables undefined page pmap [ using 729236 bytes of bsd ELF symbol table ] board type: 240497260 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0 (GENERIC) #285: Mon Jul 25 12:12:03 AEST 2016 j...@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/GENERIC real mem = 536870912 (512MB) avail mem = 517976064 (493MB) mainbus0 at root: Wandboard i.MX6 Dual Lite Board rev B1 cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 amptimer0 at cortex0: tick rate 396000 KHz armliicc0 at cortex0: rtl 8 waymask: 0x000f imx0 at mainbus0 imxccm0 at imx0: imx6 rev 1.1 CPU freq: 792 MHz imxiomuxc0 at imx0 imxocotp0 at imx0 simplebus0 at mainbus0: "soc" simplebus1 at simplebus0: "aips-bus" simplebus2 at simplebus1: "spba-bus" imxuart0 at simplebus2: console imxgpio0 at simplebus1 imxgpio1 at simplebus1 imxgpio2 at simplebus1 imxgpio3 at simplebus1 imxgpio4 at simplebus1 imxgpio5 at simplebus1 imxgpio6 at simplebus1 imxdog0 at simplebus1 simplebus3 at simplebus1: "anatop" simplebus4 at simplebus0: "aips-bus" imxehci0 at simplebus4 usb0 at imxehci0: USB revision 2.0 uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1 imxehci1 at simplebus4 usb1 at imxehci1: USB revision 2.0 uhub1 at usb1 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1 fec0 at simplebus4 fec0: address 00:1f:7b:b0:08:52 atphy0 at fec0 phy 1: AR8035 10/100/1000 PHY, rev. 4 imxesdhc0 at simplebus4 imxesdhc0: 198 MHz base clock sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma imxesdhc1 at simplebus4 imxesdhc1: 198 MHz base clock sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma imxesdhc2 at simplebus4 imxesdhc2: 198 MHz base clock sdmmc2 at imxesdhc2: 4-bit, mmc high-speed, dma imxiic0 at simplebus4 iic0 at imxiic0 imxiic1 at simplebus4 iic1 at imxiic1 "fsl,sgtl5000" at iic1 addr 0xa not configured imxuart1 at simplebus4 simplebus5 at mainbus0: "regulators" sdmmc1: can't enable card scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed sd0: 1910MB, 512 bytes/sector, 3911680 sectors scsibus1 at sdmmc2: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed sd1: 7580MB, 512 bytes/sector, 15523840 sectors vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets boot device: sd0 root on sd1a (8202d1873078fd2f.a) swap on sd1b dump on sd1b WARNING: CHECK AND RESET THE DATE! Automatic boot in progress: starting file system checks. /dev/sd1a (8202d1873078fd2f.a): file system is clean; not checking /dev/sd1j (8202d1873078fd2f.j): file system is clean; not checking /dev/sd1d (8202d1873078fd2f.d): file system is clean; not checking /dev/sd1f (8202d1873078fd2f.f): file system is clean; not checking /dev/sd1g (8202d1873078fd2f.g): file system is clean; not checking /dev/sd1h (8202d1873078fd2f.h): file system is clean; not checking /dev/sd1e (8202d1873078fd2f.e): file system is clean; not checking setting tty flags pf enabled
Re: armv7 diff for testing
On Wed, Jul 13, 2016 at 11:39:54AM +0200, Mark Kettenis wrote: > The diff below removes the last board ID dependent code for the i.MX6 > platform. It affects all boards that use a Micrel PHY, which would > show up as "ukphy0" in your dmesg. If you have such a board (udoo, > novena and sabrelight, there may be others), I'd apprciate if you > could test this diff and check whether the network interface still > works. > > I'll probably commit the diff in a couple of days if I don't get any > test reports. Maybe not related to this commit, since Wandboard uses Atheros PHYs (AR8031, same family as AR8035 as in if_fec.c) instead of Micrel, but I'm running the latest snapshot and fec(4) does not show up. -- U-Boot SPL 2016.07 (Jul 12 2016 - 15:05:51) Trying to boot from MMC1 U-Boot 2016.07 (Jul 12 2016 - 15:05:51 +1000) CPU: Freescale i.MX6SOLO rev1.1 at 792 MHz Reset cause: WDOG Board: Wandboard rev B1 I2C: ready DRAM: 512 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 *** Warning - bad CRC, using default environment No panel detected: default to HDMI Display: HDMI (1024x768) In:serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /imx6dl-wandboard-revb1.dtb 29934 bytes read in 20 ms (1.4 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 28 ms (2.2 MiB/s) ## Starting EFI application at 0x1200 ... Scanning disks on usb... Scanning disks on mmc... MMC: no card present MMC Device 2 not found MMC Device 3 not found Found 5 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 2093700+7928816+435440 [64+297616+142911]=0xa65b64 OpenBSD/armv7 booting ... arg0 0x0 arg1 0x2e55b26c arg2 0x1800 Allocating page tables freestart = 0x10d66000, free_pages = 127642 (0x0001f29a) IRQ stack: p0x10d94000 v0xc0d94000 ABT stack: p0x10d95000 v0xc0d95000 UND stack: p0x10d96000 v0xc0d96000 SVC stack: p0x10d97000 v0xc0d97000 Creating L1 page table at 0x10d68000 Mapping kernel Constructing L2 page tables undefined page pmap board type: 240497260 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0 (RAMDISK) #88: Tue Jul 19 22:37:35 AEST 2016 j...@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/RAMDISK real mem = 536870912 (512MB) avail mem = 512233472 (488MB) mainbus0 at root: Wandboard i.MX6 Dual Lite Board rev B1 cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 amptimer0 at cortex0: tick rate 396000 KHz armliicc0 at cortex0: rtl 8 waymask: 0x000f imx0 at mainbus0 imxccm0 at imx0: imx6 rev 1.1 CPU freq: 792 MHz imxiomuxc0 at imx0 imxocotp0 at imx0 simplebus0 at mainbus0: "soc" simplebus1 at simplebus0: "aips-bus" simplebus2 at simplebus1: "spba-bus" imxuart0 at simplebus2: console imxgpio0 at simplebus1 imxgpio1 at simplebus1 imxgpio2 at simplebus1 imxgpio3 at simplebus1 imxgpio4 at simplebus1 imxgpio5 at simplebus1 imxgpio6 at simplebus1 imxdog0 at simplebus1 simplebus3 at simplebus1: "anatop" simplebus4 at simplebus0: "aips-bus" imxehci0 at simplebus4 usb0 at imxehci0: USB revision 2.0 uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1 imxehci1 at simplebus4 usb1 at imxehci1: USB revision 2.0 uhub1 at usb1 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1 fec0 at simplebus4imxesdhc0 at simplebus4 imxesdhc0: 198 MHz base clock sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma imxesdhc1 at simplebus4 imxesdhc1: 198 MHz base clock sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma imxesdhc2 at simplebus4 imxesdhc2: 198 MHz base clock sdmmc2 at imxesdhc2: 4-bit, mmc high-speed, dma imxiic0 at simplebus4 iic0 at imxiic0 imxiic1 at simplebus4 iic1 at imxiic1 "fsl,sgtl5000" at iic1 addr 0xa not configured imxuart1 at simplebus4 simplebus5 at mainbus0: "regulators" sdmmc1: can't enable card scsibus0 at sdmmc2: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed sd0: 7580MB, 512 bytes/sector, 15523840 sectors boot device: sd0 root on rd0a swap on rd0b dump on rd0b WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/armv7 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # ifconfig -a lo0: flags=8008mtu 32768 llprio 3 groups: lo # -- db
[patch] Fix device
Hi, between the 1.318 and 1.319 commits, a device was left unchanged, so fix it. http://cvsweb.openbsd.org/cgi-bin/cvsweb/www/faq/faq14.html.diff?r1=1.318=1.319=h Index: faq14.html === RCS file: /cvs/www/faq/faq14.html,v retrieving revision 1.320 diff -u -p -r1.320 faq14.html --- faq14.html 28 May 2016 21:29:45 - 1.320 +++ faq14.html 2 Jun 2016 00:29:16 - @@ -908,7 +908,7 @@ the USB drive. # bioctl -c C -l sd0a softraid0 New passphrase: Re-type passphrase: -softraid0: CRYPTO volume attached as sd3 +softraid0: CRYPTO volume attached as sd1 # dd if=/dev/zero of=/dev/rsd1c bs=1m count=1 # disklabel -E sd1 (create an "i" partition, see above for more info) # newfs sd1i -- db
Re: Scheduler hack for multi-threaded processes
On Sat, Mar 19, 2016 at 01:53:07PM +0100, Martin Pieuchot wrote: > I experimented with various values for "p_priority" and this one is > the one that generates fewer # IPIs when watching a HD video on firefox. > Because yes, with this diff, now I can. YouTube on Firefox on ThinkPad T420: It's definitely better than before. There is still very occasional, very very little image stuttering, but doesn't break the audio or the flow anymore, which was very annoying. Full screen works also. Not related specifically to this patch, because it was happening before, but: pausing a video does not work. The YouTube loading icon kicks in, and even if the video returns, it's completely out of sync.
Fix mount point in FAQ section 14.10.3
The newly created partition is in sd1, not sd0. Index: faq14.html === RCS file: /cvs/www/faq/faq14.html,v retrieving revision 1.300 diff -u -p -r1.300 faq14.html --- faq14.html 8 Mar 2016 01:14:03 - 1.300 +++ faq14.html 9 Mar 2016 01:32:19 - @@ -924,7 +924,7 @@ softraid0: CRYPTO volume attached as sd1 # disklabel -E sd1 (create an "i" partition, see above for more info) # newfs sd1i # mkdir -p /mnt/secretstuff -# mount /dev/sd0i /mnt/secretstuff +# mount /dev/sd1i /mnt/secretstuff # mv planstotakeovertheworld.txt /mnt/secretstuff/ # umount /mnt/secretstuff # bioctl -d sd1 -- db
Re: arm: dmamap_destroy: remove explicit unload of map
On Sun, Mar 06, 2016 at 12:53:24PM +0100, Tobias Ulmer wrote: > map is passed straight into free where it gets overwritten with junk. > No other arch makes map invalid before free, and my N2100 didn't > suddenly misbehave either. > > ok? Have been building -current with this diff applied too and no problems so far. -- db
Re: arm: support Allwinner A20 Ethernet
On Sat, Feb 27, 2016 at 11:09:10PM +0100, Patrick Wildt wrote: > > + /* print interrupt state */ > + snprintb(buf, sizeof(buf), "\177\20" > + "b\x10""NI\0" > + "b\x0f""AI\0" > + "b\x0e""ER\0" > + "b\x0d""FB\0" > + "b\x0a""ET\0" > + "b\x09""RW\0" > + "b\x08""RS\0" > + "b\x07""RU\0" > + "b\x06""RI\0" > + "b\x05""UN\0" > + "b\x04""OV\0" > + "b\x03""TJ\0" > + "b\x02""TU\0" > + "b\x01""TS\0" > + "b\x00""TI\0" > + "\0", dma_status); > + /* print filter setup */ > + snprintb(buf, sizeof(buf), "\177\20" > + "b\x1f""RA\0" > + "b\x0a""HPF\0" > + "b\x09""SAF\0" > + "b\x08""SAIF\0" > + "b\x05""DBF\0" > + "b\x04""PM\0" > + "b\x03""DAIF\0" > + "b\x02""HMC\0" > + "b\x01""HUC\0" > + "b\x00""PR\0" > + "\0", ffilt); Hi Patrick, I don't have a quick solution for this too, but it's worth noticing that snprintb() is NetBSD-specific. Thank you. -- db
Re: arm: support Allwinner A20 Ethernet
On Wed, Mar 02, 2016 at 05:22:50PM +0100, Patrick Wildt wrote: > Nice, glad to hear that! > > Looks like you're in a DDB panic? What happened? Can you > do "show panic" in DDB? Yes, it's in ddb. There is a trace in the previous message also, but here it is a new one. This happens everytime when ssh'ing to something, maybe in other cases also. The previous one was within a cvs update. After the ssh command is entered, the console freezes, but I can still receive the replies from ping for 2 to 4 minutes. Then, it panics. Hope this helps. Thank you. # ssh 192.168.1.5 panic: _bus_dmamap_sync: bad length Stopped at Debugger+0x4: ldrbr15, [r15, r15, ror r15]! TIDPIDUID PRFLAGS PFLAGS CPU COMMAND *16145 16145 0 0x14000 0x2100 softnet panic+0x18 scp=0xc03c44c0 rlv=0xc0537eb8 (_bus_dmamap_sync+0xb8) rsp=0xcc3d2db0 rfp=0xcc3d2df4 _bus_dmamap_sync+0xc scp=0xc0537e0c rlv=0xc030edb4 (dwc_gmac_txdesc_sync+0xa8) rsp=0xcc3d2df8 rfp=0xcc3d2e1c r10=0x r9=0x00ff r8=0xc54c119c r7=0xc0537e00 r6=0x0005 r5=0x r4=0xc54c1000 dwc_gmac_txdesc_sync+0x10 scp=0xc030ed1c rlv=0xc0310a38 (dwc_gmac_start+0xec) rsp=0xcc3d2e20 rfp=0xcc3d2e4c r7=0xc54c1000 r6=0xc54c103c r5=0x r4=0x dwc_gmac_start+0x10 scp=0xc031095c rlv=0xc040c278 (if_start_locked+0x34) rsp=0xcc3d2e50 rfp=0xcc3d2e6c r10=0xc54c129c r9=0x r8=0x r7=0x0062 r6=0xc069274c r5=0x0003 r4=0xc54c103c if_start_locked+0xc scp=0xc040c250 rlv=0xc0410168 (if_enqueue+0x98) rsp=0xcc3d2e70 rfp=0xcc3d2e94 r6=0x0002 r5=0xc54c103c r4=0x if_enqueue+0x10 scp=0xc04100e0 rlv=0xc0411cf4 (ether_output+0x188) rsp=0xcc3d2e98 rfp=0xcc3d2ecc r8=0xcc3d2e9e r7=0x0008 r6=0xca4ba400 r5=0xc54c103c r4=0xca4ba456 ether_output+0xc scp=0xc0411b78 rlv=0xc0467ea8 (ip_output+0x6d0) rsp=0xcc3d2ed0 rfp=0xcc3d2f40 r10=0x r8=0xc54c103c r7=0xcc3d2f04 r6=0xcc3d2efc r5=0xc068e658 r4=0xca4ba464 ip_output+0xc scp=0xc04677e4 rlv=0xc04613a4 (ip_send+0x80) rsp=0xcc3d2f44 rfp=0xcc3d2f78 r10=0xc06e6190 r9=0x r8=0xc06e632c r7=0xcc3d2f7c r6=0xc069274c r5=0x r4=0xcc3d2f50 ip_send+0x48 scp=0xc046136c rlv=0xc03b7770 (taskq_thread+0x90) rsp=0xcc3d2f7c rfp=0xcc3d2fb0 r6=0x0001 r5=0xc53dc040 r4=0xc03b7648 taskq_thread+0xc scp=0xc03b76ec rlv=0xc0538878 (proc_trampoline+0x18) rsp=0xcc3d2fb4 rfp=0xc07a6edc r7=0x r6=0x r5=0xc53dc040 r4=0xc03b76e0 Bad frame pointer: 0xc07a6edc http://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ps TID PPID PGRPUID S FLAGS WAIT COMMAND 18687 6725 18687 0 30x83 selectssh 6725 1 6725 0 30x10008b pause ksh 13129 1 13129 0 30x100098 poll cron 145 1145 99 30x100090 poll sndiod 29303 1 29303110 30x100090 poll sndiod 4161 1012 1012 95 30x100090 kqreadsmtpd 28657 1012 1012 95 30x100090 kqreadsmtpd 14144 1012 1012 95 30x100090 kqreadsmtpd 1517 1012 1012 95 30x100090 kqreadsmtpd 23185 1012 1012 95 30x100090 kqreadsmtpd 475 1012 1012103 30x100090 kqreadsmtpd 1012 1 1012 0 30x100080 kqreadsmtpd 10113 1 10113 0 30x80 selectsshd 631 4499 24054 83 30x100090 poll ntpd 4499 24054 24054 83 30x100090 poll ntpd 24054 1 24054 0 30x100080 poll ntpd 24258 17591 17591 74 30x100090 bpf pflogd 17591 1 17591 0 30x80 netio pflogd 6153 26767 26767 73 30x100090 kqreadsyslogd 26767 1 26767 0 30x100080 netio syslogd 5764 1 5764 77 30x100090 poll dhclient 9406 1 9406 0 30x80 poll dhclient 19407 0 0 0 3 0x14200 pgzerozerothread 7013 0 0 0 3 0x14200 aiodoned aiodoned 3359 0 0 0 3 0x14200 syncerupdate 4092 0 0 0 3 0x14200 cleaner cleaner 2344 0 0 0 3 0x14200 reaperreaper 7077 0 0 0 3 0x14200 pgdaemon pagedaemon 29027 0 0 0 3 0x14200 bored crypto 6851 0 0 0 3 0x14200 pftm pfpurge 24135 0 0 0 3 0x14200 usbtskusbtask 6548 0 0 0 3
Re: arm: support Allwinner A20 Ethernet
On Sat, Feb 27, 2016 at 11:09:10PM +0100, Patrick Wildt wrote: > Hi, > > the Allwinner A10 and A20 SoC include an EMAC, but it's only used in > few devices like the Cubieboard. The A20, like the A31 and A80, contain > a GMAC, which is a Synopsys Designware controller. This is commonly > used on the Banana Pi, Lamobo R1, Cubieboard 2 and more. This diff > is the complete diff I worked on to support the GMAC. It's based on > NetBSD's DWC driver plus some glue code. > > Unfortunately this diff currently (probably) only works on the > Cubieboard 2, or devices similarly wired. Not every device is wired > the same, and we currently have no way to distinguish A20 based devices. > Once we are able to parse a device tree it will be much easier to set up > the clock and tx delay per board. Cubieboard 2, also with the workaround patch from arm@. Thank you. dmesg OpenBSD/sunxi booting ... arg0 0x0 arg1 0x10bb arg2 0x4100 atag core flags 0 pagesize 0 rootdev 0 atag serial 0x16516616:0b01944c atag mem start 0x4000 size 0x4000 bootfile: bootargs: memory size derived from u-boot bootconf.mem[0].address = 4000 pages 262144/0x4000 Allocating page tables freestart = 0x40774000, free_pages = 260236 (0x0003f88c) IRQ stack: p0x407a2000 v0xc07a2000 ABT stack: p0x407a3000 v0xc07a3000 UND stack: p0x407a4000 v0xc07a4000 SVC stack: p0x407a5000 v0xc07a5000 Creating L1 page table at 0x40774000 Mapping kernel Constructing L2 page tables undefined page pmap [ using 398344 bytes of bsd ELF symbol table ] board type: 4283 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.9-current (GENERIC) #2: Mon Feb 29 01:35:57 BRT 2016 dbolgher...@bbb.my.domain:/usr/src/sys/arch/armv7/compile/GENERIC real mem = 1073741824 (1024MB) avail mem = 1044967424 (996MB) warning: no entropy supplied by boot loader mainbus0 at root cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 agtimer0 at cortex0: tick rate 24000 KHz cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache sunxi0 at mainbus0: Allwinner A20 sxipio0 at sunxi0 sxiccmu0 at sunxi0 sxidog0 at sunxi0 sxirtc0 at sunxi0 sxiuart0 at sunxi0: console sxiuart1 at sunxi0 sxiuart2 at sunxi0 sxiuart3 at sunxi0 sxiuart4 at sunxi0 sxiuart5 at sunxi0 sxiuart6 at sunxi0 sxiuart7 at sunxi0 awge0 at sunxi0 awge0: Ethernet address: 02:16:0b:01:94:4c rlphy0 at awge0 phy 1: RTL8201L 10/100 PHY, rev. 1 ahci0 at sunxi0 AHCI 1.1 ahci0: port 0: 1.5Gb/s scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0:SCSI3 0/direct fixed naa.5393138822a0 sd0: 305245MB, 512 bytes/sector, 625142448 sectors ehci0 at sunxi0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 ehci1 at sunxi0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 gpio0 at sxipio0: 18 pins gpio1 at sxipio0: 24 pins gpio2 at sxipio0: 25 pins gpio3 at sxipio0: 28 pins gpio4 at sxipio0: 12 pins gpio5 at sxipio0: 6 pins gpio6 at sxipio0: 12 pins gpio7 at sxipio0: 28 pins gpio8 at sxipio0: 22 pins vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets boot device: lookup '' failed. root device: sd0a swap device (default sd0b): root on sd0a swap on sd0b dump on sd0b WARNING: preposterous time in file system WARNING: CHECK AND RESET THE DATE! Automatic boot in progress: starting file system checks. /dev/sd0a (0d3d29f19b4e9e54.a): file system is clean; not checking /dev/sd0l (0d3d29f19b4e9e54.l): file system is clean; not checking /dev/sd0d (0d3d29f19b4e9e54.d): file system is clean; not checking /dev/sd0f (0d3d29f19b4e9e54.f): file system is clean; not checking /dev/sd0g (0d3d29f19b4e9e54.g): file system is clean; not checking /dev/sd0h (0d3d29f19b4e9e54.h): file system is clean; not checking /dev/sd0k (0d3d29f19b4e9e54.k): file system is clean; not checking /dev/sd0j (0d3d29f19b4e9e54.j): file system is clean; not checking /dev/sd0e (0d3d29f19b4e9e54.e): file system is clean; not checking setting tty flags pf enabled starting network DHCPDISCOVER on awge0 - interval 3 DHCPOFFER from 192.168.1.1 (14:cc:20:de:4b:cc) DHCPREQUEST on awge0 to 255.255.255.255 DHCPACK from 192.168.1.1 (14:cc:20:de:4b:cc) bound to 192.168.1.69 -- renewal in 3600 seconds. starting early daemons: syslogd pflogd ntpd. starting RPC daemons:. savecore: no core dump checking quotas: done. clearing /tmp kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd smtpd sndiod. starting local daemons: cron. Thu Jan 1 07:47:54 BRT 1970 OpenBSD/armv7 (cb2.my.domain) (console) login: ddb ddb> trace panic+0x18
Re: sunxi: don't use sxitimer on the sun7i/A20
On Wed, Feb 03, 2016 at 12:31:33PM +1100, Jonathan Gray wrote: > You'll want a kernel with the sxidog patch that was committed earlier today. That's right. Thank you. However, stressing it out a little further, sometimes I still get some pmap-related issues. Maybe something related to U-Boot? I have 3 cases here. Most of the times I get what it's in case 3 (ok). However, I occasionally get something like case 1 and case 2. case 1 U-Boot SPL 2015.10-dirty (Nov 10 2015 - 21:14:20) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 U-Boot 2015.10-dirty (Nov 10 2015 - 21:14:20 -0200) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial SCSI: SUNXI SCSI INIT SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c5 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 => setenv ipaddr 192.168.1.7; setenv serverip 192.168.1.5; tftpboot bsd.rd.SUNXI.umg; bootm Speed: 100, full duplex Using ethernet@01c5 device TFTP from server 192.168.1.5; our IP address is 192.168.1.7 Filename 'bsd.rd.SUNXI.umg'. Load address: 0x4200 Loading: # # # # # # # # 3.2 MiB/s done Bytes transferred = 8032508 (7a90fc hex) ## Booting kernel from Legacy Image at 4200 ... Image Name: boot Image Type: ARM Linux Kernel Image (uncompressed) Data Size:8032444 Bytes = 7.7 MiB Load Address: 4030 Entry Point: 4030 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... OpenBSD/sunxi booting ... arg0 0x0 arg1 0x10bb arg2 0x4100 atag core flags 0 pagesize 0 rootdev 0 atag serial 0x16516616:0b01944c atag mem start 0x4000 size 0x4000 bootfile: bootargs: memory size derived from u-boot bootconf.mem[0].address = 4000 pages 262144/0x4000 Allocating page tables freestart = 0x40aaa000, free_pages = 259414 (0x0003f556) IRQ stack: p0x40ad8000 v0xc0ad8000 ABT stack: p0x40ad9000 v0xc0ad9000 UND stack: p0x40ada000 v0xc0ada000 SVC stack: p0x40adb000 v0xc0adb000 Creating L1 page table at 0x40aac000 Mapping kernel Constructing L2 page tables undefined page pmap board type: 4283 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.9 (RAMDISK) #25: Sun Jan 31 23:07:09 BRST 2016 dbolgher...@bbb.my.domain:/usr/src/sys/arch/armv7/compile/RAMDISK real mem = 1073741824 (1024MB) avail mem = 1041670144 (993MB) mainbus0 at root cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 agtimer0 at cortex0: tick rate 24000 KHz cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache sunxi0 at mainbus0: Allwinner A20 sxipio0 at sunxi0 sxiccmu0 at sunxi0 sxidog0 at sunxi0 sxirtc0 at sunxi0 sxiuart0 at sunxi0: console sxiuart1 at sunxi0 sxiuart2 at sunxi0 sxiuart3 at sunxi0 sxiuart4 at sunxi0 sxiuart5 at sunxi0 sxiuart6 at sunxi0 sxiuart7 at sunxi0 sxie0 at sunxi0, address 02:16:0b:01:94:4c rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1 ahci0 at sunxi0 AHCI 1.1 scsibus0 at ahci0: 32 targets ehci0 at sunxi0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 ehci1 at sunxi0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1 gpio0 at sxipio0: 18 pins gpio1 at sxipio0: 24 pins gpio2 at sxipio0: 25 pins gpio3 at sxipio0: 28 pins gpio4 at sxipio0: 12 pins gpio5 at sxipio0: 6 pins gpio6 at sxipio0: 12 pins gpio7 at sxipio0: 28 pins gpio8 at sxipio0: 22 pins boot device: lookup '' failed. root on rd0a swap on rd0b dump on rd0b WARNING: clock lost 16831 days WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T uvm_fault(0xca4a91c8, 8000, 2, 0) -> d Fatal kernel mode data abort: 'Translation Fault (P)' trapframe:
Re: sunxi: don't use sxitimer on the sun7i/A20
On Tue, Feb 02, 2016 at 10:55:57AM +1100, Jonathan Gray wrote: > Thanks, both diffs committed. Any chance you could create another to > move the sxitimer_* globals into the softc? I didn't have time to test each diff separately, but now my Cubieboard 2 stops at sxidog (log below). I'm expecting the same results on Banana Pi. The kernel also includes the pmap bits, and since it stopped on uvm_fault(), maybe they can be related. U-Boot SPL 2015.10-dirty (Nov 10 2015 - 21:14:20) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 U-Boot 2015.10-dirty (Nov 10 2015 - 21:14:20 -0200) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial SCSI: SUNXI SCSI INIT SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c5 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 => setenv ipaddr 192.168.1.7; setenv serverip 192.168.1.5; tftpboot bsd.rd.SUNXI.umg; bootm Speed: 100, full duplex Using ethernet@01c5 device TFTP from server 192.168.1.5; our IP address is 192.168.1.7 Filename 'bsd.rd.SUNXI.umg'. Load address: 0x4200 Loading: # # # # # # # # ## 3.2 MiB/s done Bytes transferred = 8066788 (7b16e4 hex) ## Booting kernel from Legacy Image at 4200 ... Image Name: boot Image Type: ARM Linux Kernel Image (uncompressed) Data Size:8066724 Bytes = 7.7 MiB Load Address: 4030 Entry Point: 4030 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... OpenBSD/sunxi booting ... arg0 0x0 arg1 0x10bb arg2 0x4100 atag core flags 0 pagesize 0 rootdev 0 atag serial 0x16516616:0b01944c atag mem start 0x4000 size 0x4000 bootfile: bootargs: memory size derived from u-boot bootconf.mem[0].address = 4000 pages 262144/0x4000 physmemory: 262144 pages at 0x4000 -> 0x7fff Allocating page tables freestart = 0x40ab2000, free_pages = 259406 (0x0003f54e) IRQ stack: p0x40ae v0xc0ae ABT stack: p0x40ae1000 v0xc0ae1000 UND stack: p0x40ae2000 v0xc0ae2000 SVC stack: p0x40ae3000 v0xc0ae3000 Creating L1 page table at 0x40ab4000 Mapping kernel Constructing L2 page tables undefined page pmap board type: 4283 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.9-beta (RAMDISK) #20: Sat Jan 30 16:37:27 BRST 2016 dbolgher...@bbb.my.domain:/usr/src/sys/arch/armv7/compile/RAMDISK real mem = 1073741824 (1024MB) avail mem = 1041637376 (993MB) mainbus0 at root cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 agtimer0 at cortex0: tick rate 24000 KHz cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache sunxi0 at mainbus0: Allwinner A20 sxipio0 at sunxi0 sxiccmu0 at sunxi0 sxidog0 at sunxi0 uvm_fault(0xc0a4ecf8, 0, 1, 0) -> e Fatal kernel mode data abort: 'Translation Fault (S)' trapframe: 0xc0ae4dec DFSR=0005, DFAR=0090, spsr=6153 r0 =, r1 =0090, r2 =, r3 =c0a04d74 r4 =c0a04d74, r5 =c53cb1c0, r6 =c0a0c498, r7 =c0a529b0 r8 =c53cb140, r9 =, r10=c0ae4e88, r11=c0ae4e50 r12=c53cb1f4, ssp=c0ae4e38, slr=c04a3444, pc =c0413858 panic: Fatal abort The operating system has halted. Please press any key to reboot.
Re: Firefox, malloc(3) and threads
On Sat, Jan 23, 2016 at 03:53:32PM +0100, Martin Natano wrote: > Yes! This absolutely makes Youtube videos watchable for me (on a > Thinkpad T520). There still is occassional stuttering, but _far_ less > disruptive than before. Another usecase where I see improvements is > reloading a resource-heavy web page while switching tabs. Before > applying the patch, this caused the browser to hang for several seconds. > Now it doesn't. The same here on a ThinkPad T420. dmesg: OpenBSD 5.9-beta (GENERIC.MP) #0: Mon Jan 25 19:14:50 BRST 2016 dbolgher...@iron.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8451125248 (8059MB) avail mem = 8190803968 (7811MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (65 entries) bios0: vendor LENOVO version "83ET70WW (1.40 )" date 06/12/2012 bios0: LENOVO 4180DL4 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT DMAR UEFI UEFI UEFI acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.32 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz cpu2: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.92 MHz cpu3: 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 acpitz0 at acpi0: critical temperature is 98 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "42T4710" serial 1694 type LION oem "SANYO" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2200, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1600x900 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo com4: probed fifo depth: 0 bytes em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address 00:21:cc:ba:e3:5d ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16 usb0 at ehci0: USB revision 2.0
[patch] option DEBUG_INTC + option DDB in ampintc.c
When compiling kernel with option DEBUG_INTC, we do not have AMPINTC_IRQ_TO_REG nor AMPINTC_IRQ_TO_REGi. In the same file, most uses of Debugger() is protected with either #ifdef DDB or with a #if defined(DEBUG_SOMETHING) && defined(DDB) as it is with sys/arch/amd64/amd64/cpu.c, sys/arch/arm/arm/pmap.c, and many others. This is not a problem with GENERIC that has option DDB, but it is with RAMDISK. (...) cc -Werror -Wall -Wimplicit-function-declaration -Wno-main -Wno-uninitialized -Wframe-larger-than=2047 -ffreestanding -msoft-float -march=armv6 -Wa,-march=armv7a -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -fno-stack-protector -O2 -pipe -nostdinc -I../../../.. -I. -I../../../../arch -DCPU_ARMv7 -DDEBUG -DDEBUG_INTC -DTIMEZONE="0" -DDST="0" -DSMALL_KERNEL -DNO_PROPOLICE -DBOOT_CONFIG -DMINIROOTSIZE="0x2800" -DRAMDISK_HOOKS -DFFS -DMSDOSFS -DINET6 -DEXT2FS -DUSBVERBOSE -DMAXUSERS=4 -D_KERNEL -D__armv7__ -MD -MP -c ../../../../arch/arm/cortex/ampintc.c cc1: warnings being treated as errors ../../../../arch/arm/cortex/ampintc.c: In function 'ampintc_irq_handler': ../../../../arch/arm/cortex/ampintc.c:498: warning: implicit declaration of function 'Debugger' *** Error 1 in /usr/src/sys/arch/armv7/compile/RAMDISK (Makefile:536 'ampintc.o') ok? Index: ampintc.c === RCS file: /cvs/src/sys/arch/arm/cortex/ampintc.c,v retrieving revision 1.7 diff -u -p -r1.7 ampintc.c --- ampintc.c 15 Jul 2015 21:09:40 - 1.7 +++ ampintc.c 4 Nov 2015 18:43:40 - @@ -386,13 +386,6 @@ ampintc_calc_mask(void) if (max == IPL_NONE) min = IPL_NONE; -#ifdef DEBUG_INTC - if (min != IPL_NONE) { - printf("irq %d to block at %d %d reg %d bit %d\n", - irq, max, min, AMPINTC_IRQ_TO_REG(irq), - AMPINTC_IRQ_TO_REGi(irq)); - } -#endif /* Enable interrupts at lower levels, clear -> enable */ /* Set interrupt priority/enable */ if (min != IPL_NONE) { @@ -494,8 +487,7 @@ ampintc_irq_handler(void *frame) int irq, pri, s; iack_val = ampintc_iack(); -//#define DEBUG_INTC -#ifdef DEBUG_INTC +#if defined(DEBUG_INTC) && defined(DDB) if (iack_val != 27) printf("irq %d fired\n", iack_val); else { -- db
Re: Add support for Arduino Leonardo to umodem(4)
On Mon, Feb 16, 2015 at 03:31:43PM +0100, Gregor Best wrote: +/* Arduino SA products */ +product ARDUINO LEONARDO 0x8036 Arduino Lenoardo Leonardo, not Lenoardo. -- db
Re: Speeding up openbsd on amd64 MP
On Sun, Sep 14, 2014 at 02:54:54PM +0200, Stefan Fritsch wrote: Hi, Apart from testing, I would of course also appreciate reviews. Compared to art's patch from 2005 which tried to use the direct mapping for everything, the current patch is much less intrusive. Therefore I hope that it is easier to review/debug than his patch, which unfortunately never got integrated. Some forktest tests: -current: 0m52.83s real 0m2.07s user 0m58.54s system 0m51.94s real 0m1.65s user 0m58.02s system 0m52.36s real 0m1.86s user 0m57.89s system 0m51.34s real 0m1.80s user 0m56.72s system 0m53.59s real 0m2.21s user 0m59.99s system w/ speedup patchs: 0m45.32s real 0m1.02s user 0m52.17s system 0m45.23s real 0m1.22s user 0m51.87s system 0m47.40s real 0m1.56s user 0m54.54s system 0m45.95s real 0m1.51s user 0m53.04s system 0m47.95s real 0m1.32s user 0m55.55s system dmesg: OpenBSD 5.6-current (GENERIC.MP) #366: Mon Sep 8 17:13:38 MDT 2014 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1687691264 (1609MB) avail mem = 1634091008 (1558MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xea9a0 (45 entries) bios0: vendor American Megatrends Inc. version X401U.313 date 05/14/2013 bios0: ASUSTeK COMPUTER INC. X401U acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG ECDT HPET SSDT SSDT MSDM acpi0: wakeup devices SBAZ(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) EHC3(S4) OHC4(S4) XHC0(S4) XHC1(S4) PE20(S4) PE21(S4) GLAN(S4) PE22(S4) PE23(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD C-70 APU with Radeon(tm) HD Graphics, 998.33 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,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD C-70 APU with Radeon(tm) HD Graphics, 998.19 MHz cpu1: 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,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiec0 at acpi0 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (PE20) acpiprt2 at acpi0: bus 6 (PE21) acpiprt3 at acpi0: bus -1 (PE22) acpiprt4 at acpi0: bus 7 (PE23) acpiprt5 at acpi0: bus -1 (BR15) acpiprt6 at acpi0: bus -1 (PCE7) acpiprt7 at acpi0: bus -1 (PCE8) acpiprt8 at acpi0: bus 1 (BR14) acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpitz0 at acpi0: critical temperature is 95 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model X401-44 serial type LIon oem ASUSTek acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID_ acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: VGA_ cpu0: 998 MHz: speeds: 1000 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD AMD64 14h Host rev 0x00 radeondrm0 at pci0 dev 1 function 0 ATI Radeon HD 7290 rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci0 dev 1 function 1 ATI Radeon HD 6310 HD Audio rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 AMD AMD64 14h PCIE rev 0x00: msi pci1 at ppb0 bus 1 AMD Hudson-2 xHCI rev 0x03 at pci0 dev 16 function 0 not configured ahci0 at pci0 dev 17 function 0 AMD Hudson-2 SATA rev 0x40: apic 3 int 19, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, Hitachi HTS54505, GG2O SCSI3 0/direct fixed naa.5000cca700c3196d sd0: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 AMD Hudson-2 USB rev 0x11: apic 3 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 AMD Hudson-2 USB2 rev 0x11: apic 3 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 AMD Hudson-2 USB rev 0x11: apic 3 int 18, version 1.0, legacy support ehci1 at pci0 dev 19
Re: HID parser
On Sun, May 04, 2014 at 06:11:41PM +0200, Martin Pieuchot wrote: In December 2012 a user reported on misc@ that the Noppoo Mini Choc 84 USB keyboard does not work on OpenBSD [0]. More recently, mcbride@ and yasuoka@ contacted me because they have a mouse that is not properly recognized. Both issues are related to our HID descriptor parser. The chinese Rapoo V7 keyboard now works with this patch. At the time, I asked for something in: http://marc.info/?l=openbsd-techm=135941037714276w=2 The dmesg follows: OpenBSD 5.5-current (GENERIC) #4: Mon May 5 04:08:16 BRT 2014 r...@white.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1687670784 (1609MB) avail mem = 1634091008 (1558MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec710 (45 entries) bios0: vendor American Megatrends Inc. version X401U.313 date 05/14/2013 bios0: ASUSTeK COMPUTER INC. X401U acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG ECDT HPET SSDT SSDT MSDM acpi0: wakeup devices SBAZ(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) EHC3(S4) OHC4(S4) XHC0(S4) XHC1(S4) PE20(S4) PE21(S4) GLAN(S4) PE22(S4) PE23(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD C-70 APU with Radeon(tm) HD Graphics, 998.31 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,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiec0 at acpi0 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (PE20) acpiprt2 at acpi0: bus 6 (PE21) acpiprt3 at acpi0: bus -1 (PE22) acpiprt4 at acpi0: bus 7 (PE23) acpiprt5 at acpi0: bus -1 (BR15) acpiprt6 at acpi0: bus -1 (PCE7) acpiprt7 at acpi0: bus -1 (PCE8) acpiprt8 at acpi0: bus 1 (BR14) acpicpu0 at acpi0: C2, PSS acpitz0 at acpi0: critical temperature is 95 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model X401-44 serial type LIon oem ASUSTek acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID_ acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: VGA_ cpu0: 998 MHz: speeds: 1000 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD AMD64 14h Host rev 0x00 radeondrm0 at pci0 dev 1 function 0 ATI Radeon HD 7290 rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci0 dev 1 function 1 ATI Radeon HD 6310 HD Audio rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 AMD AMD64 14h PCIE rev 0x00: msi pci1 at ppb0 bus 1 AMD Hudson-2 xHCI rev 0x03 at pci0 dev 16 function 0 not configured ahci0 at pci0 dev 17 function 0 AMD Hudson-2 SATA rev 0x40: msi, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, Hitachi HTS54505, GG2O SCSI3 0/direct fixed naa.5000cca700c3196d sd0: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 AMD Hudson-2 USB rev 0x11: apic 3 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 AMD Hudson-2 USB2 rev 0x11: apic 3 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 AMD Hudson-2 USB rev 0x11: apic 3 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 AMD Hudson-2 USB2 rev 0x11: apic 3 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 AMD Hudson-2 SMBus rev 0x14: polling iic0 at piixpm0 piixpm0: exec: op 1, addr 0x18, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x19, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x1a, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x1b, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x1c, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x1d, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x1e, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x1f, cmdlen 1, len 0, flags 0x08: timeout, status 0xfBUSY,INTR,DEVERR,BUSERR piixpm0: exec: op 1, addr 0x20, cmdlen 1, len 0, flags 0x08: timeout, status
VideoCore driver stack released under BSD license
http://blog.broadcom.com/chip-design/android-for-all-broadcom-gives-developers-keys-to-the-videocore-kingdom/ -- db
Re: Iso image integrity verification
On Thu, Sep 12, 2013 at 07:52:22PM +0300, Valentin Zagura wrote: I thought if we buy the CDs we WILL get a solid evidentuary path from commit to our hands. So this isn't the case? You'll be safe enough.
Re: Iso image integrity verification
On Wed, Sep 11, 2013 at 03:17:20PM +0300, Valentin Zagura wrote: Yes, we know, but that file can also be easily compromised if it's not available for download with a secure protocol (HTTPS) If you're paranoid, build your own hardware from the ground up, including designing your own CPU and complementary circuits, download all the sources, audit them all, compile and then run. You can't be fooled by wrong measurements of security.
Re: Rapoo V7 Keyboard Driver
On Mon, Jan 28, 2013 at 03:01:08PM -0800, Mike Larkin wrote: The diff above might work but when I tried something akin to that last year when implementing support for the Monoprice keyboard (similar mechanical 'gaming' style keyboard), the boot protocol only allowed one key pressed at a time. That meant no Shift/Ctrl/Alt which made things somewhat difficult. As a workaround, it works OK with boot protocol, despite the fact the mouse wheel gone. BTW, what's the correct approach here? This keyboard is a 3-in-1, and 2 of them attach as ukbd and one as uhid. Is it work to attach the uhid one as ukbd? Thank you.
Rapoo V7 Keyboard Driver
Hi tech@, anyone with a patch lurking around to work with a Rapoo V7 keyboard? Linux has a workaround, but don't know if works: https://github.com/Golevka/rapoov7-keyboard-driver The dmesg for the kbd is: uhidev1 at uhub5 port 1 configuration 1 interface 0 Holtek USB Gaming Keyboard rev 1.10/2.10 addr 3 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev2 at uhub5 port 1 configuration 1 interface 1 Holtek USB Gaming Keyboard rev 1.10/2.10 addr 3 uhidev2: iclass 3/0, 6 report ids ums1 at uhidev2 reportid 1: 5 buttons, Z dir wsmouse2 at ums1 mux 0 uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0 uhid1 at uhidev2 reportid 3: input=2, output=0, feature=0 ukbd1 at uhidev2 reportid 4: 56 variable keys, 0 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 ukbd2 at uhidev2 reportid 5: 56 variable keys, 0 key codes wskbd3 at ukbd2 mux 1 wskbd3: connecting to wsdisplay0 uhid2 at uhidev2 reportid 6: input=2, output=0, feature=0 uhidev3 at uhub5 port 1 configuration 1 interface 2 Holtek USB Gaming Keyboard rev 1.10/2.10 addr 3 uhidev3: no input interrupt endpoint Thank you. The complete dmesg: OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23 MST 2013 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3184132096 (3036MB) avail mem = 3076943872 (2934MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfc480 (33 entries) bios0: vendor American Megatrends Inc. version 200.T02 date 10/26/2010 bios0: POSITIVO POSITIVO MOBILE acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) P0P2(S3) P0P3(S3) WLAN(S3) P0P4(S3) P0P7(S4) GLAN(S4) P0P8(S3) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2640.47 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 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2200.08 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 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiec0 at acpi0 acpihpet0 at acpi0: 14318179 Hz acpi0: unable to load \\_SB_.PCI0._INI.USBT acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (P0P2) acpiprt3 at acpi0: bus 2 (P0P3) acpiprt4 at acpi0: bus 3 (P0P4) acpiprt5 at acpi0: bus 5 (P0P7) acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpitz0 at acpi0: critical temperature is 110 degC acpiac0 at acpi0: AC unit in unknown state acpibat0 at acpi0: BAT0 not present acpiasus at acpi0 not configured acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ cpu0: Enhanced SpeedStep 2640 MHz: speeds: 2300, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x09 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 drm0 at inteldrm0 Intel GM45 Video rev 0x09 at pci0 dev 2 function 1 not configured 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 17 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 18 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: Realtek ALC269, Intel/0x2802, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi pci2 at ppb1 bus 2 athn0 at pci2 dev 0 function 0 Atheros AR2427 rev 0x01: apic 2 int 17 athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:a2:e0:6a ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: msi pci4 at ppb3 bus 5 re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 17,
Re: upstream vendors and why they can be really harmful
On Tue, Nov 06, 2012 at 01:38:32PM +0100, Marc Espie wrote: It's also quickly turning Posix and Unix into a travesty: either you have the linux goodies, or you don't. And if you don't, you can forget anything modern... This IS the main problem.
Re: Any idea of donate a Raspberry Pi to a developer?
On Tue, Jul 17, 2012 at 06:08:24PM +0200, Johan Ryberg wrote: Hi. I wounder if it's any idea to donate a Raspberry Pi to a developer to make it work on OpenBSD? As understood it is the hardware spec to closed give it a chance but I rather ask then not. If anyone for real can make it work I would be happy to donate one. http://marc.info/?l=openbsd-miscm=132799238004570w=2
Re: Only noise from azalia
On Tue, Jan 17, 2012 at 02:24:19PM -0200, Jairo Souto wrote: I have been tried all bsd.mp from ftp.openbsd.org:/pub/OpenBSD/snapshots/amd64/bsd.mp Are you running 4.9 or -current? misc@ did not answer... Usually, people in tech@ are in misc@ too. They probably won't because you're running a custom built kernel. Please see: http://www.openbsd.org/faq/faq5.html#WhySrc
Re: Only noise from azalia
On Mon, Jan 16, 2012 at 08:49:13PM -0200, Jairo Souto wrote: I can get only noise from the audio of a notebook Acer Aspire 5820T-6825. OpenBSD uranio.dlg 4.9 GENERIC.MP#6 amd64 The snapshots until 9051675 Jan 13 19:04 bsd.mp have not worked. dmesg, audioctl -a and mixerctl -av are attached. I do need your help. Thank you. Basic question: have you tried 5.0 or -current? (This thread is more appropriate to misc@.)