Jenkins build is back to stable : FreeBSD_HEAD-tests2 #609
See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/609/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: drm2 regression: backlight adjustment on ivybridge no longer works
ugh, so because i can't sleep, I read the Linux i915 history for backlight changes. Turns out if I disable bit 30 in ivb_pch_pwm_override() to register BLC_PWM_PCH_CTL1, the acpi video setting works. The keyboard settings still don't, but I'll worry about that later. Bit 30 in the linux drm code is: #define BLM_PCH_OVERRIDE_ENABLE (1 30) The linux dri code doesn't set that for ivybridge - only for broadwell. (also, the linux driver has POSTING_READ() which I'm guessing is to ensure things made it out to the device and have been flushed before doing another IO operation.) I have my (via sysctl) panel backlight control working again. -adrian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
System-On-Module
Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. I wish to minimize the amount of porting needed so I am very grateful if someone has good insights in this area. And of course, it would help a lot if it was a manufacturer who is willing to provide datasheets to make porting possible.. Thanks! -- Johannes Lundberg -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
sd card on hp laptop doesn't work anymore on 11-current
My SD card slot was working before, but it no longer works. looks like the mmc driver for hp laptop is gone. $ dmesg|grep -iE 'sdhc|mmc' sdhci_pci0: Generic SD HCI mem 0xd4603000-0xd46030ff irq 18 at device 0.2 on pci35 sdhci_pci0: 1 slot(s) allocated sdhci_pci0: Generic SD HCI mem 0xd4603000-0xd46030ff irq 18 at device 0.2 on pci35 sdhci_pci0: 1 slot(s) allocated sdhci_pci0: Generic SD HCI mem 0xd4603000-0xd46030ff irq 18 at device 0.2 on pci35 sdhci_pci0: 1 slot(s) allocated it was a mmc* there. $ pciconf -lv ... none1@pci0:35:0:0: class=0x0c0010 card=0x161c103c chip=0x2380197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'IEEE 1394 Host Controller' class = serial bus subclass = FireWire none2@pci0:35:0:1: class=0x088000 card=0x161c103c chip=0x2392197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'SD/MMC Host Controller' class = base peripheral sdhci_pci0@pci0:35:0:2: class=0x080501 card=0x161c103c chip=0x2391197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'Standard SD Host Controller' class = base peripheral subclass = SD host controller ... no driver attached to mmc Thanks, Eric ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Jenkins build is still unstable: FreeBSD_HEAD-tests2 #607
See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/607/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: drm2 regression: backlight adjustment on ivybridge no longer works
Hi! Good catch! But nope, didn't fix it. -adrian On 27 January 2015 at 23:23, Andrew Wilcox awil...@wilcox-tech.com wrote: Ranjan1018 . sent: 27 January 2015 23:42: The regression was introduced in r277487. Looking closer at this revision, I believe I may see the issue. Most of the new tunables introduced in dev/drm2/i915/i915_drv.c are uninitialised and thus probably contain junk. It likely works for me because the firmware of my laptop 0s memory on EFI boot. I have uploaded a diff here that I believe may fix this. Please test and let me know: http://foxkit.us/FreeBSD/i915-uninitialised-var-fix.diff Best, Andrew -- Andrew Wilcox, C/C++/Python developer, kernel hacker Blog: http://blog.foxkit.us/ WWW: http://foxkit.us/ GitHub: https://github.com/awilfox ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: drm2 regression: backlight adjustment on ivybridge no longer works
and the commit from linux: commit 7aa1e7f06d6ea1bce3b27630d50769d13da28b1a Author: Daniel Vetter daniel.vet...@ffwll.ch Date: Wed Jun 27 16:43:36 2012 +0200 Revert drm/i915: allow PCH PWM override on IVB This reverts commit f82cfb6bcda164ef3a66b8c3fc549b1f9bdd09ad. This breaks the backlight controls on my IVB asus zenbook with an eDP panel. I guess the right fix would be to read this bit and use either the pch or the cpu register to frob the backlight values. But that is stuff for -next. Cc: Jesse Barnes jbar...@virtuousgeek.org Signed-Off-by: Daniel Vetter daniel.vet...@ffwll.ch On 28 January 2015 at 01:11, Adrian Chadd adr...@freebsd.org wrote: ugh, so because i can't sleep, I read the Linux i915 history for backlight changes. Turns out if I disable bit 30 in ivb_pch_pwm_override() to register BLC_PWM_PCH_CTL1, the acpi video setting works. The keyboard settings still don't, but I'll worry about that later. Bit 30 in the linux drm code is: #define BLM_PCH_OVERRIDE_ENABLE (1 30) The linux dri code doesn't set that for ivybridge - only for broadwell. (also, the linux driver has POSTING_READ() which I'm guessing is to ensure things made it out to the device and have been flushed before doing another IO operation.) I have my (via sysctl) panel backlight control working again. -adrian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: panic in softdep_slowdown()
On Tue, Jan 27, 2015 at 11:31:03PM +0300, Gleb Smirnoff wrote: Got this in bhyve VM on boot up and mount: Starting file system checks: /dev/vtbd0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/vtbd0p3: clean, 1617700 free (222876 frags, 174353 blocks, 5.9% fragmentation) Fatal trap 18: integer divide fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0x80895d63 stack pointer = 0x28:0xfe001eb5f220 frame pointer = 0x28:0xfe001eb5f2b0 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 49 (mount) [ thread pid 49 tid 100045 ] Stopped at softdep_slowdown+0x1d3: idivl %ecx,%eax db bt Tracing pid 49 tid 100045 td 0xf800026ee000 softdep_slowdown() at softdep_slowdown+0x1d3/frame 0xfe001eb5f2b0 ffs_truncate() at ffs_truncate+0x1be/frame 0xfe001eb5f640 ufs_setattr() at ufs_setattr+0x4e5/frame 0xfe001eb5f6a0 VOP_SETATTR_APV() at VOP_SETATTR_APV+0x22a/frame 0xfe001eb5f710 VOP_SETATTR() at VOP_SETATTR+0x45/frame 0xfe001eb5f760 vn_truncate() at vn_truncate+0x196/frame 0xfe001eb5f870 fo_truncate() at fo_truncate+0x41/frame 0xfe001eb5f8b0 kern_ftruncate() at kern_ftruncate+0x16d/frame 0xfe001eb5f920 sys_ftruncate() at sys_ftruncate+0x27/frame 0xfe001eb5f940 syscallenter() at syscallenter+0x46e/frame 0xfe001eb5f9b0 amd64_syscall() at amd64_syscall+0x1f/frame 0xfe001eb5fab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe001eb5fab0 --- syscall (480, FreeBSD ELF64, sys_ftruncate), rip = 0x800b511fa, rsp = 0x7fffe998, rbp = 0x7fffeb90 --- db call doadump Dumping 60 out of 495 MB:..27%..54%..80% Dump complete = 0 db I've got the core file. At least the source line for the panic is needed. Also, print out the value of stat_flush_threads. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Jenkins build is still unstable: FreeBSD_HEAD-tests2 #608
See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/608/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Wed, Jan 28, 2015 at 12:27:31PM -0700, Ian Lepore wrote: On Wed, 2015-01-28 at 19:32 +0100, Bernd Walter wrote: On Wed, Jan 28, 2015 at 06:52:52PM +0900, Lundberg, Johannes wrote: Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. In that range I would go for a Wandboard. They are 1, 2 or 4 core iMX6 32bit with 512M, 1G or 2G RAM. The 4 core has SATA, which to my knowledge we don't support yet. They come with 2 useable SD-card slots - one on the module and one on a carrier board. Clock rate is 1GHz only IIRC and they only have high speed USB, although the newest carrier boards have some super speed wiring for future modules. TechNexion, the originator of that module system also has some x86 boards - some may fit your requirements, but those are at a higher price and bigger form factor. Tech Nexion also has iMX6 boards similar to the wandboard with different featuresets, but also at a higher price. You do get more for that higher price with the Technexion EDM modules, namely 1.2ghz chips instead of 1.0, and parts that are industrial and/or automotive temperature-rated rather than consumer grade. On the other hand, you generally can't buy Technexion modules one at a time. Last time I checked they were minimum order 10 pieces even from resellers like Mouser and Digikey. Temperature rating - that can easily justify the higher price. Another small-board imx6 possibility is the Hummingboard from SolidRun. I now have freebsd running on a SolidRun Cubox-i4, so I expect no large drama in getting it working on other SolidRun imx6 products. Gonzo ordered a Hummingboard recently, so we should know for sure some time soon. To my knowledge they come in 3 different sizes. I own the biggest two versions of them. Completely forgot that the Hummingboard uses modules as well and the modules are even very small. -- B.Walter be...@bwct.de http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: OptionalObsoleteFiles.inc completeness improvement, try 2
* Dmitry Marakasov (amd...@amdmi3.ru) wrote: The patch is complete, see https://reviews.freebsd.org/D1600. - With it, for all knobs from src.conf(5) there are no difference in file tree contents between `KNOB make installworld` and `make installworld KNOB make delete-old delete-old-libs` - Note that some OLD_DIRS were removed - they were incorrect as most directories are installed unconditionally by mtree. Since empty directores are not really needed, the install process should be probably improved - Some knobs which delete massive number of files (WITHOUT_MAN, WITHOUT_INCLUDES) were implemented with FILES!=find ... OLD_FILES+=${FILES} (similar construct was already used in WITHOUT_TESTS) I though of more effective implementation for this, such as introducing OLD_DIRS_RECURSIVE to fill from OptionalObsoleteFiles, in which delete-old will just call `find ... -delete` - Unneeded conditions such as .if ${TARGET_ARCH} == amd64 || ${TARGET_ARCH} == powerpc64 OLD_FILES+=usr/lib32/... .else were not removed yet. Maybe with the next patch. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
Thanks a lot guys. I can specify a bit more details. We don't need any sd-card, sata or external storage. Just the internal eMMC is enough. Display output can be DSI, LVDS or something that can easily be serialized to transfer over 2 wires. If WiFi and Bluetooth 4.0 is on the board that'll also be great. And of course, it would be helpful if the said board also is available as development kit... If the first tests are ok (tests can be done using Linux if FreeBSD doesn't run out of the box) we're looking to buy a larger amount, at least 1000 to start with. We are flexible about prize and size of the board. Atom is preferable over imx6, but I'll check out what you recommended. Thanks again! Ps. Hopefully we can also provide development boards for anyone who wants to help with porting out of own interest. -- Johannes Lundberg On Thu, Jan 29, 2015 at 5:14 AM, Bernd Walter ti...@cicely7.cicely.de wrote: On Wed, Jan 28, 2015 at 12:27:31PM -0700, Ian Lepore wrote: On Wed, 2015-01-28 at 19:32 +0100, Bernd Walter wrote: On Wed, Jan 28, 2015 at 06:52:52PM +0900, Lundberg, Johannes wrote: Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. In that range I would go for a Wandboard. They are 1, 2 or 4 core iMX6 32bit with 512M, 1G or 2G RAM. The 4 core has SATA, which to my knowledge we don't support yet. They come with 2 useable SD-card slots - one on the module and one on a carrier board. Clock rate is 1GHz only IIRC and they only have high speed USB, although the newest carrier boards have some super speed wiring for future modules. TechNexion, the originator of that module system also has some x86 boards - some may fit your requirements, but those are at a higher price and bigger form factor. Tech Nexion also has iMX6 boards similar to the wandboard with different featuresets, but also at a higher price. You do get more for that higher price with the Technexion EDM modules, namely 1.2ghz chips instead of 1.0, and parts that are industrial and/or automotive temperature-rated rather than consumer grade. On the other hand, you generally can't buy Technexion modules one at a time. Last time I checked they were minimum order 10 pieces even from resellers like Mouser and Digikey. Temperature rating - that can easily justify the higher price. Another small-board imx6 possibility is the Hummingboard from SolidRun. I now have freebsd running on a SolidRun Cubox-i4, so I expect no large drama in getting it working on other SolidRun imx6 products. Gonzo ordered a Hummingboard recently, so we should know for sure some time soon. To my knowledge they come in 3 different sizes. I own the biggest two versions of them. Completely forgot that the Hummingboard uses modules as well and the modules are even very small. -- B.Walter be...@bwct.de http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
By the way, this is for an embedded mobile device so we are looking for something more like http://www.kontron.com/products/computeronmodules/smarc/smarc-samx6i.html instead of Wandboard which has all the connectors that we won't use. -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Thu, Jan 29, 2015 at 8:21 AM, Lundberg, Johannes johan...@brilliantservice.co.jp wrote: Thanks a lot guys. I can specify a bit more details. We don't need any sd-card, sata or external storage. Just the internal eMMC is enough. Display output can be DSI, LVDS or something that can easily be serialized to transfer over 2 wires. If WiFi and Bluetooth 4.0 is on the board that'll also be great. And of course, it would be helpful if the said board also is available as development kit... If the first tests are ok (tests can be done using Linux if FreeBSD doesn't run out of the box) we're looking to buy a larger amount, at least 1000 to start with. We are flexible about prize and size of the board. Atom is preferable over imx6, but I'll check out what you recommended. Thanks again! Ps. Hopefully we can also provide development boards for anyone who wants to help with porting out of own interest. -- Johannes Lundberg On Thu, Jan 29, 2015 at 5:14 AM, Bernd Walter ti...@cicely7.cicely.de wrote: On Wed, Jan 28, 2015 at 12:27:31PM -0700, Ian Lepore wrote: On Wed, 2015-01-28 at 19:32 +0100, Bernd Walter wrote: On Wed, Jan 28, 2015 at 06:52:52PM +0900, Lundberg, Johannes wrote: Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. In that range I would go for a Wandboard. They are 1, 2 or 4 core iMX6 32bit with 512M, 1G or 2G RAM. The 4 core has SATA, which to my knowledge we don't support yet. They come with 2 useable SD-card slots - one on the module and one on a carrier board. Clock rate is 1GHz only IIRC and they only have high speed USB, although the newest carrier boards have some super speed wiring for future modules. TechNexion, the originator of that module system also has some x86 boards - some may fit your requirements, but those are at a higher price and bigger form factor. Tech Nexion also has iMX6 boards similar to the wandboard with different featuresets, but also at a higher price. You do get more for that higher price with the Technexion EDM modules, namely 1.2ghz chips instead of 1.0, and parts that are industrial and/or automotive temperature-rated rather than consumer grade. On the other hand, you generally can't buy Technexion modules one at a time. Last time I checked they were minimum order 10 pieces even from resellers like Mouser and Digikey. Temperature rating - that can easily justify the higher price. Another small-board imx6 possibility is the Hummingboard from SolidRun. I now have freebsd running on a SolidRun Cubox-i4, so I expect no large drama in getting it working on other SolidRun imx6 products. Gonzo ordered a Hummingboard recently, so we should know for sure some time soon. To my knowledge they come in 3 different sizes. I own the biggest two versions of them. Completely forgot that the Hummingboard uses modules as well and the modules are even very small. -- B.Walter be...@bwct.de http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Thu, Jan 29, 2015 at 08:28:58AM +0900, Lundberg, Johannes wrote: By the way, this is for an embedded mobile device so we are looking for something more like http://www.kontron.com/products/computeronmodules/smarc/smarc-samx6i.html instead of Wandboard which has all the connectors that we won't use. Don't get confused with the wandboard module+carrier board, which is the normal offer (and in small volumes often cheaper than the 10x module pack). The Wandboard module alone is extremly similar to the Kontron modules in your link. They don't have eMMC (maybe some of the TechNexion have), but they do have a micro-SD on the module itself, plus SDIO on the module header. eMMC can have a higher transport speed because it allows for 8bit instead of 4bit and as soldered chip it has different issued than a socketed card, but otherwise they are very similar in design. The 2 and 4 core Wandboards have BT/WLAN on module, but it is done by SDIO, for which FreeBSD (to my knowledge) has no support yet. -- B.Walter be...@bwct.de http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Thu, 2015-01-29 at 08:28 +0900, Lundberg, Johannes wrote: By the way, this is for an embedded mobile device so we are looking for something more like http://www.kontron.com/products/computeronmodules/smarc/smarc-samx6i.html instead of Wandboard which has all the connectors that we won't use. That's similar to the EDM module that wandboards use: http://www.technexion.com/products/edm/edm-som/edm1-cf-imx6 You can buy the EDM modules directly from Technexion if you're willing to buy quantity, or through resellers like Digikey. The EDM modules from technexion are compatible with the wandboard carrier boards, so you can use a few cheap wandboards as devel and eval boards (or you can buy the overpriced fairyboard carrier from technexion that has PCIe connectors that wandboard lacks). We're using these modules at $work, and that's basically the path I took... I started with a wandboard and got freebsd running on it, and once it got past the proof of concept stage (the minimum set of drivers for the imx6 devices we need, and reasonable freebsd stability -- I had a board running a stress test with 2 months of uptime) we designed our own motherboards with EDM sockets on them. -- Ian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
How to know the address ranges of kernel stacks, for user processes and kernel threads?
How can we know the kernel stack ranges for user process and kernel threads under FreeBSD x86_64? It seems that each kernel stack has two pages (IA-32) to use. Does x86_64 still have two pages or more? And how can we find the address of these two pages from a kernel module? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote: Ah now I see it has EDM connection. I didn't look carefully enough. All the images are with the expansion board attached.. Spec-wise and portability-wise it seems like a good option but my hardware guy keeps warning me about Freescale that they often have hardware bugs and rather than fixing the bugs they pretend they are not there.. In other words, Freescale is good for software developers because of open documentation but not so for hardware manufactures. Any experiences with this? The imx6 manuals include an errata list, so it would be good to check that for anything specific that would matter to your projects. For the devices we use in our products everything is good so far with the hardware. That's emmc, sdcard, ethernet, i2c, uarts, usb, and lots of gpio (inputs and outputs). The ethernet is gigabit but has a known limitation of 40MB/s due to the bus it's connected to in the chip. (But hey, it's documented so it's not a problem, right? :) You mentioned video, and we don't have that working on freebsd imx6 yet, but there's not a ton of work to do. There's a framebuffer driver for imx5 and it has pretty much the same framebuffer hardware. Getting video output to a TTL LCD is probably just hours of work. Getting it to an LVDS LCD or HDMI probably needs days of work (entire drivers written, potentially, I haven't looked into it). Some audio support was recently committed, but I don't know much about it yet. -- Ian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
Ah now I see it has EDM connection. I didn't look carefully enough. All the images are with the expansion board attached.. Spec-wise and portability-wise it seems like a good option but my hardware guy keeps warning me about Freescale that they often have hardware bugs and rather than fixing the bugs they pretend they are not there.. In other words, Freescale is good for software developers because of open documentation but not so for hardware manufactures. Any experiences with this? -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Thu, Jan 29, 2015 at 9:06 AM, Ian Lepore i...@freebsd.org wrote: On Thu, 2015-01-29 at 08:28 +0900, Lundberg, Johannes wrote: By the way, this is for an embedded mobile device so we are looking for something more like http://www.kontron.com/products/computeronmodules/smarc/smarc-samx6i.html instead of Wandboard which has all the connectors that we won't use. That's similar to the EDM module that wandboards use: http://www.technexion.com/products/edm/edm-som/edm1-cf-imx6 You can buy the EDM modules directly from Technexion if you're willing to buy quantity, or through resellers like Digikey. The EDM modules from technexion are compatible with the wandboard carrier boards, so you can use a few cheap wandboards as devel and eval boards (or you can buy the overpriced fairyboard carrier from technexion that has PCIe connectors that wandboard lacks). We're using these modules at $work, and that's basically the path I took... I started with a wandboard and got freebsd running on it, and once it got past the proof of concept stage (the minimum set of drivers for the imx6 devices we need, and reasonable freebsd stability -- I had a board running a stress test with 2 months of uptime) we designed our own motherboards with EDM sockets on them. -- Ian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
How about these Tegra3 boards? https://www.toradex.com/computer-on-modules/apalis-arm-family/nvidia-tegra-3 -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Thu, Jan 29, 2015 at 9:36 AM, Ian Lepore i...@freebsd.org wrote: On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote: Ah now I see it has EDM connection. I didn't look carefully enough. All the images are with the expansion board attached.. Spec-wise and portability-wise it seems like a good option but my hardware guy keeps warning me about Freescale that they often have hardware bugs and rather than fixing the bugs they pretend they are not there.. In other words, Freescale is good for software developers because of open documentation but not so for hardware manufactures. Any experiences with this? The imx6 manuals include an errata list, so it would be good to check that for anything specific that would matter to your projects. For the devices we use in our products everything is good so far with the hardware. That's emmc, sdcard, ethernet, i2c, uarts, usb, and lots of gpio (inputs and outputs). The ethernet is gigabit but has a known limitation of 40MB/s due to the bus it's connected to in the chip. (But hey, it's documented so it's not a problem, right? :) You mentioned video, and we don't have that working on freebsd imx6 yet, but there's not a ton of work to do. There's a framebuffer driver for imx5 and it has pretty much the same framebuffer hardware. Getting video output to a TTL LCD is probably just hours of work. Getting it to an LVDS LCD or HDMI probably needs days of work (entire drivers written, potentially, I haven't looked into it). Some audio support was recently committed, but I don't know much about it yet. -- Ian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Memory corruption in a master perl process after child exits - only under FreeBSD 10.0 amd64 (not in 10.1 or 9.*)
Hi, On Wed, Jan 28, 2015 at 03:53:25PM -0600, Mark Felder wrote: https://rt.perl.org/Ticket/Display.html?id=122199 Given the ability to reproduce this 100% it seems perfect for using git bisect command to figure out which commit between 10.0 and 10.1 solves this. Sorry for coming late to this thread, but depending on the CPU it might be worth a try if it's fixed on 10.0 with vm.pmap.pcid_enabled set to 0. Regards -- Michael Moll ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Memory corruption in a master perl process after child exits - only under FreeBSD 10.0 amd64 (not in 10.1 or 9.*)
On Mon, Jan 26, 2015, at 13:32, Mark Martinec wrote: There is a problem report since July 2014 in a Perl bug tracker, which seems to affect only FreeBSD 10.0 amd64 (regardless of a version of Perl or usage of clang vs. gcc compiler): https://rt.perl.org/Ticket/Display.html?id=122199 Given the ability to reproduce this 100% it seems perfect for using git bisect command to figure out which commit between 10.0 and 10.1 solves this. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Wed, Jan 28, 2015 at 05:36:00PM -0700, Ian Lepore wrote: On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote: Ah now I see it has EDM connection. I didn't look carefully enough. All the images are with the expansion board attached.. Spec-wise and portability-wise it seems like a good option but my hardware guy keeps warning me about Freescale that they often have hardware bugs and rather than fixing the bugs they pretend they are not there.. In other words, Freescale is good for software developers because of open documentation but not so for hardware manufactures. Any experiences with this? The imx6 manuals include an errata list, so it would be good to check that for anything specific that would matter to your projects. If you use a prebuild module then you don't get much in touch with the freescale chip fropm the hardware side. On the other hand, there are countless iMX6 boards out there with schematics online. My recently bought Novena even came with printed schematics and they open sourced the HW design files as well. I don't think there are hidden surprises on the hardware side. For the devices we use in our products everything is good so far with the hardware. That's emmc, sdcard, ethernet, i2c, uarts, usb, and lots of gpio (inputs and outputs). The ethernet is gigabit but has a known limitation of 40MB/s due to the bus it's connected to in the chip. (But hey, it's documented so it's not a problem, right? :) You mentioned video, and we don't have that working on freebsd imx6 yet, but there's not a ton of work to do. There's a framebuffer driver for imx5 and it has pretty much the same framebuffer hardware. Getting video output to a TTL LCD is probably just hours of work. Getting it to an LVDS LCD or HDMI probably needs days of work (entire drivers written, potentially, I haven't looked into it). Sounds interesting for my Novena. The one I already got are board only (with some FPGA breakout, ...). They have HDMI though. But I'm also awaiting for the one with case and LCD panel. Not to forget that I have a fairy EDM carrier with LCD already. That said I'v always wondered how much work is it to get the camera interface running, since the Hummingboards can connect to the RPi camera modules. Some audio support was recently committed, but I don't know much about it yet. -- Ian -- B.Walter be...@bwct.de http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: panic in softdep_slowdown()
On Wed, Jan 28, 2015 at 12:48:42PM +0200, Konstantin Belousov wrote: K Stopped at softdep_slowdown+0x1d3: idivl %ecx,%eax K db bt K Tracing pid 49 tid 100045 td 0xf800026ee000 K softdep_slowdown() at softdep_slowdown+0x1d3/frame 0xfe001eb5f2b0 K ffs_truncate() at ffs_truncate+0x1be/frame 0xfe001eb5f640 K ufs_setattr() at ufs_setattr+0x4e5/frame 0xfe001eb5f6a0 K VOP_SETATTR_APV() at VOP_SETATTR_APV+0x22a/frame 0xfe001eb5f710 K VOP_SETATTR() at VOP_SETATTR+0x45/frame 0xfe001eb5f760 K vn_truncate() at vn_truncate+0x196/frame 0xfe001eb5f870 K fo_truncate() at fo_truncate+0x41/frame 0xfe001eb5f8b0 K kern_ftruncate() at kern_ftruncate+0x16d/frame 0xfe001eb5f920 K sys_ftruncate() at sys_ftruncate+0x27/frame 0xfe001eb5f940 K syscallenter() at syscallenter+0x46e/frame 0xfe001eb5f9b0 K amd64_syscall() at amd64_syscall+0x1f/frame 0xfe001eb5fab0 K Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe001eb5fab0 K --- syscall (480, FreeBSD ELF64, sys_ftruncate), rip = 0x800b511fa, rsp = 0x7fffe998, rbp = 0x7fffeb90 --- K db call doadump K Dumping 60 out of 495 MB:..27%..54%..80% K Dump complete K = 0 K db K K I've got the core file. K K At least the source line for the panic is needed. K Also, print out the value of stat_flush_threads. (kgdb) fr 11 #11 0x80895d63 in softdep_slowdown (vp=0xf800028011d8) at /usr/src/ifnet/sys/ufs/ffs/ffs_softdep.c:13055 13055 if (dep_current[D_DIRREM] max_softdeps_hard / 2 (kgdb) p dep_current $1 = {1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0} (kgdb) p max_softdeps_hard $2 = 153357 (kgdb) p *ump $4 = {um_mountp = 0xf80002707330, um_dev = 0xf800026cbc00, um_cp = 0xf80002717480, um_bo = 0xf8000271edb8, um_devvp = 0xf8000271ece8, um_fstype = 2, um_fs = 0xf8000273b000, um_extattr = {uepm_lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, sx_lock = 0}, uepm_list = { lh_first = 0x0}, uepm_ucred = 0x0, uepm_flags = 0}, um_nindir = 4096, um_bptrtodb = 3, um_seqinc = 8, um_lock = {lock_object = { lo_name = 0x80a53d30 FFS, lo_flags = 16973824, lo_data = 0, lo_witness = 0xfe8e3400}, mtx_lock = 4}, um_fsckpid = 0, um_softdep = 0xf800027a0200, um_quotas = {0x0, 0x0}, um_cred = {0x0, 0x0}, um_btime = {0, 0}, um_itime = {0, 0}, um_qflags = \000, um_savedmaxfilesize = 0, um_candelete = 0, um_writesuspended = 0, um_balloc = 0x8086eb90 ffs_balloc_ufs2, um_blkatoff = 0x808a8170 ffs_blkatoff, um_truncate = 0x808717b0 ffs_truncate, um_update = 0x80871090 ffs_update, um_valloc = 0x808660c0 ffs_valloc, um_vfree = 0x808677b0 ffs_vfree, um_ifree = 0x808af420 ffs_ifree, um_rdonly = 0x808741c0 ffs_rdonly, um_snapgone = 0x80879b70 ffs_snapgone} (kgdb) p stat_flush_threads $5 = 1 I can't see where integer divide fault can happen with stat_flush_threads=1 :( -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Wed, Jan 28, 2015 at 06:52:52PM +0900, Lundberg, Johannes wrote: Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. In that range I would go for a Wandboard. They are 1, 2 or 4 core iMX6 32bit with 512M, 1G or 2G RAM. The 4 core has SATA, which to my knowledge we don't support yet. They come with 2 useable SD-card slots - one on the module and one on a carrier board. Clock rate is 1GHz only IIRC and they only have high speed USB, although the newest carrier boards have some super speed wiring for future modules. TechNexion, the originator of that module system also has some x86 boards - some may fit your requirements, but those are at a higher price and bigger form factor. Tech Nexion also has iMX6 boards similar to the wandboard with different featuresets, but also at a higher price. I wish to minimize the amount of porting needed so I am very grateful if someone has good insights in this area. And of course, it would help a lot if it was a manufacturer who is willing to provide datasheets to make porting possible.. Freescale is producting the iMX6 and they supply a hughe PDF for them. Also the wandboard schematics are public available. -- B.Walter be...@bwct.de http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: panic in softdep_slowdown()
On Wed, Jan 28, 2015 at 09:04:42PM +0200, Konstantin Belousov wrote: K I can't see where integer divide fault can happen with stat_flush_threads=1 :( K K Look at the exact asm instruction which faulted, also look at the registers K content. K K It might be hypervisor bug, after all. Yes, for me it looks like it. %edx should be one as well as -0x44(%rbp). 0x80895d43 softdep_slowdown+435: mov-0x20(%rbp),%ecx 0x80895d46 softdep_slowdown+438: mov%ecx,%edx 0x80895d48 softdep_slowdown+440: shr$0x1f,%edx 0x80895d4b softdep_slowdown+443: add%edx,%ecx 0x80895d4d softdep_slowdown+445: sar%ecx 0x80895d4f softdep_slowdown+447: mov0x80ee24c8,%edx 0x80895d56 softdep_slowdown+454: mov%rax,-0x40(%rbp) 0x80895d5a softdep_slowdown+458: mov%ecx,%eax 0x80895d5c softdep_slowdown+460: mov%edx,-0x44(%rbp) 0x80895d5f softdep_slowdown+463: cltd 0x80895d60 softdep_slowdown+464: mov-0x44(%rbp),%ecx 0x80895d63 softdep_slowdown+467: idiv %ecx (kgdb) p stat_flush_threads $5 = (int *) 0x80ee24c8 (kgdb) info registers rax0x12b86 76678 rbx0x4 4 rcx0x0 0 rdx0x0 0 rsi0x3e81000 rdi0x99 153 rbp0xfe001eb5f2b0 0xfe001eb5f2b0 ... (kgdb) p *(int *)($rbp - 0x44) $4 = 0 (kgdb) p *(int *)($rbp - 0x40) $8 = 0 (kgdb) p max_softdeps_hard $11 = (int *) 0xfe001eb5f290 (kgdb) p (int *)($rbp - 0x20) $12 = (int *) 0xfe001eb5f290 (kgdb) p max_softdeps_hard $10 = 153357 -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: panic in softdep_slowdown()
On Wed, Jan 28, 2015 at 09:22:30PM +0300, Gleb Smirnoff wrote: On Wed, Jan 28, 2015 at 12:48:42PM +0200, Konstantin Belousov wrote: K Stopped at softdep_slowdown+0x1d3: idivl %ecx,%eax K db bt K Tracing pid 49 tid 100045 td 0xf800026ee000 K softdep_slowdown() at softdep_slowdown+0x1d3/frame 0xfe001eb5f2b0 K ffs_truncate() at ffs_truncate+0x1be/frame 0xfe001eb5f640 K ufs_setattr() at ufs_setattr+0x4e5/frame 0xfe001eb5f6a0 K VOP_SETATTR_APV() at VOP_SETATTR_APV+0x22a/frame 0xfe001eb5f710 K VOP_SETATTR() at VOP_SETATTR+0x45/frame 0xfe001eb5f760 K vn_truncate() at vn_truncate+0x196/frame 0xfe001eb5f870 K fo_truncate() at fo_truncate+0x41/frame 0xfe001eb5f8b0 K kern_ftruncate() at kern_ftruncate+0x16d/frame 0xfe001eb5f920 K sys_ftruncate() at sys_ftruncate+0x27/frame 0xfe001eb5f940 K syscallenter() at syscallenter+0x46e/frame 0xfe001eb5f9b0 K amd64_syscall() at amd64_syscall+0x1f/frame 0xfe001eb5fab0 K Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe001eb5fab0 K --- syscall (480, FreeBSD ELF64, sys_ftruncate), rip = 0x800b511fa, rsp = 0x7fffe998, rbp = 0x7fffeb90 --- K db call doadump K Dumping 60 out of 495 MB:..27%..54%..80% K Dump complete K = 0 K db K K I've got the core file. K K At least the source line for the panic is needed. K Also, print out the value of stat_flush_threads. (kgdb) fr 11 #11 0x80895d63 in softdep_slowdown (vp=0xf800028011d8) at /usr/src/ifnet/sys/ufs/ffs/ffs_softdep.c:13055 13055 if (dep_current[D_DIRREM] max_softdeps_hard / 2 (kgdb) p dep_current $1 = {1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0} (kgdb) p max_softdeps_hard $2 = 153357 (kgdb) p *ump $4 = {um_mountp = 0xf80002707330, um_dev = 0xf800026cbc00, um_cp = 0xf80002717480, um_bo = 0xf8000271edb8, um_devvp = 0xf8000271ece8, um_fstype = 2, um_fs = 0xf8000273b000, um_extattr = {uepm_lock = {lock_object = {lo_name = 0x0, lo_flags = 0, lo_data = 0, lo_witness = 0x0}, sx_lock = 0}, uepm_list = { lh_first = 0x0}, uepm_ucred = 0x0, uepm_flags = 0}, um_nindir = 4096, um_bptrtodb = 3, um_seqinc = 8, um_lock = {lock_object = { lo_name = 0x80a53d30 FFS, lo_flags = 16973824, lo_data = 0, lo_witness = 0xfe8e3400}, mtx_lock = 4}, um_fsckpid = 0, um_softdep = 0xf800027a0200, um_quotas = {0x0, 0x0}, um_cred = {0x0, 0x0}, um_btime = {0, 0}, um_itime = {0, 0}, um_qflags = \000, um_savedmaxfilesize = 0, um_candelete = 0, um_writesuspended = 0, um_balloc = 0x8086eb90 ffs_balloc_ufs2, um_blkatoff = 0x808a8170 ffs_blkatoff, um_truncate = 0x808717b0 ffs_truncate, um_update = 0x80871090 ffs_update, um_valloc = 0x808660c0 ffs_valloc, um_vfree = 0x808677b0 ffs_vfree, um_ifree = 0x808af420 ffs_ifree, um_rdonly = 0x808741c0 ffs_rdonly, um_snapgone = 0x80879b70 ffs_snapgone} (kgdb) p stat_flush_threads $5 = 1 I can't see where integer divide fault can happen with stat_flush_threads=1 :( Look at the exact asm instruction which faulted, also look at the registers content. It might be hypervisor bug, after all. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Wed, Jan 28, 2015 at 10:52 AM, Lundberg, Johannes johan...@brilliantservice.co.jp wrote: Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. I wish to minimize the amount of porting needed so I am very grateful if someone has good insights in this area. And of course, it would help a lot if it was a manufacturer who is willing to provide datasheets to make porting possible.. Thanks! -- Johannes Lundberg Something like http://www.fit-pc.com/web/products/specifications/fitlet-models-specifications/ perhaps? Though I don't think it is available yet, so I don't know if it is supported in FreeBSD. Best regards Andreas ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: System-On-Module
On Wed, 2015-01-28 at 19:32 +0100, Bernd Walter wrote: On Wed, Jan 28, 2015 at 06:52:52PM +0900, Lundberg, Johannes wrote: Hi Of all the low power, high-spec system/computer-on-modules out there which have best support for FreeBSD? MEN Variscite Technologic system Adlink etc. What I am looking for is a system with roughly this specs ARM or x86, 64bit if possible. 2-4 cores 1.5-2.0 GHz 2 GB RAM ~16 GB Storage USB 3.0 PCB size about one to two credit cards. In that range I would go for a Wandboard. They are 1, 2 or 4 core iMX6 32bit with 512M, 1G or 2G RAM. The 4 core has SATA, which to my knowledge we don't support yet. They come with 2 useable SD-card slots - one on the module and one on a carrier board. Clock rate is 1GHz only IIRC and they only have high speed USB, although the newest carrier boards have some super speed wiring for future modules. TechNexion, the originator of that module system also has some x86 boards - some may fit your requirements, but those are at a higher price and bigger form factor. Tech Nexion also has iMX6 boards similar to the wandboard with different featuresets, but also at a higher price. You do get more for that higher price with the Technexion EDM modules, namely 1.2ghz chips instead of 1.0, and parts that are industrial and/or automotive temperature-rated rather than consumer grade. On the other hand, you generally can't buy Technexion modules one at a time. Last time I checked they were minimum order 10 pieces even from resellers like Mouser and Digikey. Another small-board imx6 possibility is the Hummingboard from SolidRun. I now have freebsd running on a SolidRun Cubox-i4, so I expect no large drama in getting it working on other SolidRun imx6 products. Gonzo ordered a Hummingboard recently, so we should know for sure some time soon. -- Ian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: panic in softdep_slowdown()
Hi Gleb, On Wed, Jan 28, 2015 at 11:33 AM, Gleb Smirnoff gleb...@freebsd.org wrote: On Wed, Jan 28, 2015 at 09:04:42PM +0200, Konstantin Belousov wrote: K I can't see where integer divide fault can happen with stat_flush_threads=1 :( K K Look at the exact asm instruction which faulted, also look at the registers K content. K K It might be hypervisor bug, after all. Yes, for me it looks like it. %edx should be one as well as -0x44(%rbp). 0x80895d43 softdep_slowdown+435: mov-0x20(%rbp),%ecx 0x80895d46 softdep_slowdown+438: mov%ecx,%edx 0x80895d48 softdep_slowdown+440: shr$0x1f,%edx 0x80895d4b softdep_slowdown+443: add%edx,%ecx 0x80895d4d softdep_slowdown+445: sar%ecx 0x80895d4f softdep_slowdown+447: mov0x80ee24c8,%edx 0x80895d56 softdep_slowdown+454: mov%rax,-0x40(%rbp) 0x80895d5a softdep_slowdown+458: mov%ecx,%eax 0x80895d5c softdep_slowdown+460: mov%edx,-0x44(%rbp) 0x80895d5f softdep_slowdown+463: cltd 0x80895d60 softdep_slowdown+464: mov-0x44(%rbp),%ecx 0x80895d63 softdep_slowdown+467: idiv %ecx (kgdb) p stat_flush_threads $5 = (int *) 0x80ee24c8 (kgdb) info registers rax0x12b86 76678 rbx0x4 4 rcx0x0 0 rdx0x0 0 rsi0x3e81000 rdi0x99 153 rbp0xfe001eb5f2b0 0xfe001eb5f2b0 ... (kgdb) p *(int *)($rbp - 0x44) $4 = 0 (kgdb) p *(int *)($rbp - 0x40) $8 = 0 (kgdb) p max_softdeps_hard $11 = (int *) 0xfe001eb5f290 (kgdb) p (int *)($rbp - 0x20) $12 = (int *) 0xfe001eb5f290 (kgdb) p max_softdeps_hard $10 = 153357 Can you upload the core file and the kernel someplace that I can access? best Neel -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org