Re: Booting FreeBSD with Syslinux
You could see at mine experience long long time ago: http://trac.pcbsd.org/wiki/UsbFatBoot Maybe it's still relevant :) 2013/7/31 Daniel O'Connor docon...@gsoft.com.au Hi, I am trying to make a FreeBSD 9.2 hybrid image (ie ISO USB from the same file) and as part of that I need to use syslinux. Unfortunately I can't get Syslinux's mboot.c32 to run the kernel or loader as suggested at http://www.syslinux.org/wiki/index.php/Mboot.c32 - it reports Invalid Multiboot image: neither ELF header nor a.out kludge found. I suspect I would be able to use memdisk as I have used that in the past with syslinux (for 7.x) however this was seems a lot cleaner and easier to generate. Has anyone had any success with this? Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Help with filing a [maybe] ZFS/mmap bug.
I know how all not loving me-too emails, but I'll try :) There's a rtorrent, which uses mmap. And I had cases (related to reboot), where big files (or average files in many-files torrents) appears with broken checksum without any good reason. Author of rtorrent not very politely always assume that really broken other filesystems, while rtorrent have simple logic (with mmap using)... This post is pretty interesting: http://libtorrent.rakshasa.no/ticket/483 In the end I just switched to transmission. Anyway, there could be really some weird/rare bugs with ZFS and mmap. Or just ZFS. I hope this will help at least to narrow direction for potential bugbusting. 2013/7/18 George Hartzell hartz...@alerce.com Richard Todd writes: George Hartzell hartz...@alerce.com writes: Hi All, I have what I think is a ZFS related bug. [...] [summary: Picard seems to trigger an mmap consistency bug in ZFS]. [...] Anyway, what I'd suggest is the following: see if my patch for py-mutagen disabling the mmap() in those two functions lets you run picard reliably. Removing the mmap support from those two routines seems to avoid the issue. If so, then the issue is triggered by one or both of those two routines; hack them to print out the exact offsets used on each call and use that to try and code up a simple C++ test case. [...] Your test case doesn't use mmap, I assume that you've offered it up as a hint, not as something that's nearly done. The shell script in particular seems useful. In my case I'd want to find a particular set of file size, offset, and insertion size that triggers the problem and code up a c/c++ equiv. of the mmap calls that py-mutagen does. Right? I'm hesistant about that. I believe (and will try to prove) that the problem does not occur deterministically for a particular track between different test runs. I'm worried that it's not as simple as using mmap to insert 27 bytes into a 1024 bytes file at pos 42 causes corruption but rather that it depends on a more complex set of interactions. My next step will be to see if a track that has trouble in one run has trouble in another. If not, then I'm not sure that a simple test will be successful. g. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: wireless mouse on 9.1
Logitech Wireless Combo MK260 Kb + Mouse with tiny single USB transmitter. Full keyboard (except for LEDs, but who needs them) and simple but decent mice. I probably viewed half of all combo-variants out there to find normal, simple and wireless, this only model fits me. If you have in few meters USB port (for radio) this could fit you too. Hope this helps! 2013/4/21 Zoran Kolic zko...@sbb.rs I have a Logitech Trackman wireless trackball. works perfectly. As does my daughter's wireless mouse. Also logitech. Thanks, Chuck! That very mouse is recommended to me from old school guys. I would probably get something like m185 or m525 if on sale. Best regards Zoran ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: FreeBSD 9.1 excessive memory allocations
2013/3/26 Tony Li tony...@tony.li I have a heavily threaded C application, developed on an Intel Core i5 laptop (2 cores) running FreeBSD 8.1-RELEASE. When this application compile and run on another Intel Core i7 laptop (4 cores) running FreeBSD 9.1-RELEASE, this application immediately starts grabbing memory by over 100MB per second and soon exit with not enough RAM. Sorry, can't remember exactly, but you could search current- or stable- for something like you got. This related IIRC with changes in thread subsystem, so basically each thread will consume now more mem. Search for details, your description is ringing some bell :) Both laptops having 4GB RAM. All malloc and free are mutex locked. Very rarely this problem happens on the i5 (2 cores) laptop too, but on the i7 laptop, it happens every time. Appreciate any feedback to identify and fix this issue. How is this anything except an application issue? Tony ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: KDE login causing processes stuck in zfs wchan
2013/3/22 Daniel O'Connor docon...@gsoft.com.au Hi, I recently updated to KDE 4.9.5 and I've found that unless I disable vfs.usermount (which stops gvfs from mounting) everything gets stuck in [zfs] eventually. If you could produce ps axw mount Maybe I could guess where's problem(s) lies. This is running on.. FreeBSD midget.dons.net.au 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #10 r241435M: Thu Oct 11 15:03:22 CST 2012 dar...@midget.dons.net.au:/usr/obj/usr/src/sys/MIDGET amd64 Does anyone have a similar experience? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: svn - but smaller?
I think that this keys shouldn't be included into binary. svnup --ports svnup --stable svnup --security (or --release) I'm proposing create somewhere, like in /usr/share/svnup/aliases with portsTABsvn://svn.freebsd.org/blabla/ stableTABsvn://svn.freebsd.org/blabla/ {uname-arch}/{uname-version}/ etc. So we will have some freedom to enhance and tweak it's behhavior while at least in alpha stage. -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: FreeBSD wiki offline for a bit
http://wiki.freebsd.org/ZFSTuningGuide Seems not working :) -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: simple patch for portsnap to use wget
Do you aware that if wget tries download from https, and there is self-signed certificate, then it fails, and ask for --no-check-certificate option? How do your patch deal in that case? 2012/11/27 Luca Ferrari fluca1...@infinito.it Hi all, I was in trouble for a while because I was using FreeBSD behind an http proxy (a palo alto for what it means) and the portsnap command was unable to handle updates reporting always file does not exist. After digging I found that the problem was in the phttpget command used internally from portsnap: phttpget is not able to handle an http_proxy variable in the form of http://user:password@proxy:port since the first colon is understood as a port separator and therefore phttpget tries to connect to the host user on port password@proxy:port. Since I did not found much documentation about how to solve the problem, and nobody on the forum was able to point me in any direction (see http://forums.freebsd.org/showthread.php?t=28849) I wrote a simple patch to modify portsnap to use wget instead of phttpget. Of course, this means you have to install wget first, and also the laminating of the files to download has slightly changed within portsnap, but I'm using it from several days and updates now and it seems to work well. Now the question is: should this patch, or better the idea of using wget or another alike substitute to phttpget, be integrated into the system? I've tested it on FreeBSD-9-STABLE. Regards, Luca ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Clang as default compiler
How about run automated test on two poudriere setups, one with CLANG set up, other with USE_GCC=4.2 applied to all ports which marked as broken, and find in pretty long but relatively easy way ports which should have USE_GCC=4.2 to survive clang-era, and ports which even with that require a bit more love? Is there somewhere list of these clang-failing ports? I think some mass testing could be organized by little efforts. -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Strange reboot
2012/6/27 Andriy Gapon a...@freebsd.org: on 26/06/2012 22:25 Alexander Yerenkow said the following: g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 Looks like a problem writing to the media... That would be fine with me - but why panic, or restart? :)) I didn't even make some load , just tried mount in rw. Also, under windows this media (with exact same microSD=SD converter) works just fine (wrote few big files, read them, verified. I'll fetch monitor, will provide more data a bit later. -- Andriy Gapon -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Strange reboot
Hello guys. I have a freebsd installation for routing/and other general purposes (file share/web etc). which is freebsd-updated to 9-stable I have there such cardreader: # usbconfig -u 4 -a 2 ugen4.2: USB Storage vendor 0x05e3 at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON # usbconfig -u 4 -a 2 dump_device_desc ugen4.2: USB Storage vendor 0x05e3 at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0040 idVendor = 0x05e3 idProduct = 0x070e bcdDevice = 0x9602 iManufacturer = 0x no string iProduct = 0x0001 USB Storage iSerialNumber = 0x0002 9602 bNumConfigurations = 0x0001 # usbconfig -u 4 -a 2 dump_curr_config_desc ugen4.2: USB Storage vendor 0x05e3 at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x no string bmAttributes = 0x0080 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x bAlternateSetting = 0x bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x no string Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 IN bmAttributes = 0x0002 BULK wMaxPacketSize = 0x0200 bInterval = 0x bRefresh = 0x bSynchAddress = 0x Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 OUT bmAttributes = 0x0002 BULK wMaxPacketSize = 0x0200 bInterval = 0x bRefresh = 0x bSynchAddress = 0x It have pretty strange behavior (like stuck gpart show entries, when pluggin new device, which is fixed by reset though), but it kinda working. And I have repeatable panic (probably) or reset, with such last messages in dmesg: da2 at umass-sim0 bus 0 scbus7 target 0 lun 2 da2: Generic STORAGE DEVICE 9602 Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: 3781MB (7744512 512 byte sectors: 255H 63S/T 482C) ... g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 fsync: giving up on dirty 0xfe012e30c3c0: tag devfs, type VCHR usecount 1, writecount 0, refcount 122 mountedhere 0xfe0046468200 flags () v_object 0xfe0046389360 ref 0 pages 120 lock type devfs: UNLOCKED dev da2s1 I'm producing this panic by trying to mount 4gb microsd card, like this: mount -t msdosfs /dev/da2s1 /mnt The card itself have fresh FAT32 one (just formatted+erased by panasonic tool). I will probably have some time to toy with this on thursday, I need to get a monitor to see console. -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: [CFT] radeon_suspend/resume patch
I'll try to build image for booting off flash drive with this patch. Do xorg-server required to test it? 2012/6/25 Volodymyr Kostyrko c.kw...@gmail.com: Mitsuru IWASAKI wrote: I created the patches for drm/radeon in order to restore the graphic state on resuming (ported from NetBSD code). http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff Unfortunately, I don't have the machine to test the patches. Can anyone test this? I have a desktop with Radeon 9550 AS. How can I trigger suspend/resume on that one manually? -- Sphinx of black quartz judge my vow. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: fsck_ufs running too often
Next time you'll see fsck, you should t least run ps axd (to see it's parent and to try guess what was that). -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Stucking processes
Hello all. Since I'm using stable as host, and current in chroot, I'll write to both mail list, sorry for any inconvenience. My host is binary freebsd-updated 9; FreeBSD 9.0-RELEASE-p3 (GENERIC) #0: Tue Jun 12 02:52:29 UTC 2012 I have chroot with latest current there installed r237089 (make buildworld buildkernel, no specific flags) When I built from ports some programs in chroot all went fine, until I got stucked process automoc (when building kdelibs4); After few restarts I got build, and forget about it. I'm toying now with portupgrade, and see similar stucks in ruby18 and ruby19 (Even got few times in miniruby while building 1.8); Here's example of stucked processes (they aren't in top, and seems totally inactive. I haven't kill them yet, so can try to dig, but to where?): 2677 5 Is0:00,00 | `-- /bin/sh 2678 5 I 0:00,00 | `-- sudo su 2679 5 I 0:00,00 | `-- su 2680 5 I 0:00,01 | `-- _su (csh) 2687 5 I 0:00,03 | `-- /bin/csh -i 2690 5 I+0:04,34 | `-- ruby19: portupgrade: [1/237] audio/libsamplerate (ruby19) # procstat -k 2690 PIDTID COMM TDNAME KSTACK 2690 100477 ruby19 -mi_switch sleepq_catch_signals sleepq_timedwait_sig _sleep do_wait __umtx_op_wait_uint_private_compat32 ia32_syscall Xint0x80_syscall 2690 101110 ruby19 -mi_switch sleepq_catch_signals sleepq_wait_sig _cv_wait_sig seltdwait kern_select freebsd32_select ia32_syscall Xint0x80_syscall #top (with inactive filtered out;) last pid: 11049; load averages: 0.09, 0.16, 0.19 up 0+00:14:48 12:27:20 63 processes: 1 running, 62 sleeping CPU: 1.0% user, 0.0% nice, 0.8% system, 1.2% interrupt, 97.0% idle Mem: 184M Active, 96M Inact, 1104M Wired, 2412K Cache, 171M Buf, 454M Free Swap: 4096M Total, 4096M Free PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 2610 root 2 200 261M 82548K kqread 1 0:12 1.27% rtorrent Is this my side's problem, or there's something wrong with current? :) Any help appreciated. -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Why Are You NOT Using FreeBSD ?
I'll try to be short. I'm using FreeBSD both at servers and as a desktop, but I see struggling of my friends with it in some things. 1. Ports mess. You can very easily render system unusable, or broken if you trying to use latest ports. And then you had to became a port master to fix all. Of course you need a lot of free time, right? :) 2. No decent packet manager (I hope pkgng will make life easier). You can't just upgrade this and that packet and see what's new, and rollback if you don't like somthing . 3. FreeBSD is not a linux - so FreeBSD avoid linuxisms, like KMS etc. And when it became crystal clear that progress is inevitable, we need wait few more years to get new graphics working. Some time ago, I read somewhere on wiki proud phrase We are more linux than linux itself, it was about LSB test or something similar. FreeBSD can deny linux ways, but it's here, and it's widespread standard (at least in comparing with FreeBSD). FreeBSD do really need those fancy new techs, at least which related to X/hardware. XEN is one more thing, which could be attractive, but there's not much progress. I don't say let's rewrite all as in linux. I'm saying about having copatibility layer a bit fresher. 4. NDIS is working, right? Why there's no L(inux)DIS :) For new hardware, like wifi's, networks,webcams,raids etc there some linux drivers. and no FreeBSD drivers. At all. And if you need one - write one or wait please few years until someone look into it. 5. Name public person behind Microsoft? yes, there are one. And from Google? And from Oracle? And from GNU? And from Linux? Human nature is such that any company/big product is replaced in his mind with person, at least partially. And there's no person behind FreeBSD. There are many collaborators, who rarely well known in world as FreeBSD developer. And this is how it's affect reality: - Please, big boss, give me 10mil for new cluster system run on Linux. - What's Linux? - It's product developed for 20 years by Linus, and in recent years got support by many major world companies (long list goes here). - Ah, ok, here you go. - And also, big boss I need 50 thousands for FreeBSD cluster. - FreeBSD? What's this? - Ehm... it's a operating system, developed by many peoples, there are many good progammers (long list goes here) - You better buy a few more linuxes then. That could be PR issue anyway, but dirty politics rules the world, face it. 6. No try-it system for FreeBSD. No official virtual images (PC-BSD will fix the issue). No testing images for major changes, where's nightly builds with latest KDE/QT/KMS/new drivers? There's none, at least none automatic build. Yea, I know that's because there's no decent auto build system of such things. - I'm volunteer to test FreeBSD! - Ok, grab sources here, compile kernel, world, download ports, patch it with area51, try to build something, and rebuild all again (you too early build all, we just updated libXX*)... - Oh... ok. I'm volunteer to test Linux - Grab live image/virtual image, boot and poke programs. - Great, thanks! You can easily be involved in many programs development. Kdenlive - just another example how one program have own infrastructure to provide live images and virtual machine images, so any can try and test it. You could think I'm wrong, but FreeBSD have many problems as project, but it's all fixable. P.S. Of course FreeBSD is great, and I'm using it, and I glad that it here, and all developers are awesome, no offence here ;) -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server
IMHO, no offence, as always. As were told, Phoronix used default setup, not tuned. So? Is average user will tune it after setup? No, he'll get same defaults, and would expect same performance as in tests, and he probably get it. The problem of FreeBSD is not it's default settings, some kind of very-safe defaults really should be there. But problem really is lacking of choosing them (defaults) during install, for average users. For example, few checkboxes with common sysctl tuning would be perfect, even if they would be marked as Experimental, or not recommended. I'm thinking it's better way to make something in one place (like in installer) rather than require make almost same actions in many (hundreds of thousands?... more?...) places (end-users forced to read mail-lists/handbooks/forums over and over for same solutions). Simple example - many connections for PostgreSQL is not available on FreeBSD out-of-box. Just google postgresql freebsd max connection and you'll see how many there bikesheds requested and same solutions posted again and again :) FreeBSD currently have very obscure, closed community. To get in touch, you need to subscribe to several mail lists, constantly read them, I've just found recently (my shame of course) in mail list that there is service ( pub.allbsd.org) which constantly building current versions. This is great, but at homepage of freebsd.org there is no word about it :) I hope we all do something good about this, and things will going to change. -- Regards, Alexander Yerenkow ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org