Re: Deprecating base system ftpd?
On 4/6/21 5:32 PM, Kevin P. Neal wrote: On Tue, Apr 06, 2021 at 09:19:27AM +0100, Gerald de la Pascua wrote: "Can I ask, for those who do enable it, why isn’t “sftp” acceptable (or “scp”)? Both provide a similar function, securely, which also works with a I just tried to sftp to ftp.freebsd.org. Connection refused. I can ftp (or ncftp) to ftp.freebsd.org and download whatever. What's the current, secure way to download FreeBSD releases? https? https://download.freebsd.org/ https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/ etc. -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: drm-kmod i915kms.ko no result from pkg
On 8/7/20 7:39 AM, Dmitrii Postolov wrote: Hi to all! Sorry for my bad English... dmitrii@nuc7:~ % uname -a FreeBSD nuc7 12.1-STABLE FreeBSD 12.1-STABLE r363918 GENERIC amd64 Intel NUC7PJYH2 Intel HD Graphics. drm-kmod i915kms.ko no result if install from pkg. User in video group. in /etc/rc.conf: kld_list="/boot/modules/i915kms.ko" The workaround: build drm-kmod from ports after that all OK. This is regression for 12.1-STABLE, for 12.1-RELEASE all OK. I believe that is somewhat expected because there may be changes to the KPI in STABLE that have not been merged to a RELEASE branch yet. So since the packages are built against RELEASE branches you will run into issues where you need to build the DRM drivers locally for systems running both STABLE and CURRENT. Cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: 12.1-STABLE crash after upgrade to r360192
On 4/22/20 1:15 PM, Wolfgang Zenker wrote: Hi, I went from 12.1-STABLE r359345 to r360192 on an Acer C720 Notebook. The system now crashes on loading /boot/modules/i915kms.ko I build and install graphics/drm-kmod and graphics/drm-fbsd12.0-kmod together with the kernel. If i915kms.ko is loaded via kld_list in /etc/rc.conf at boot, the screen goes blank upon loading the module and does not react any more, powercycle is required. If I load the the module manually after a successful boot, the screen goes blank and the system reboots after a while; on reboot a dump is found and written to /var/crash. Kernel config is GENERIC with added options WITNESS and WITNESS_SKIPSPIN CPU is a Celeron 2955U (Haswell class) and the graphics controller identifies as 'Haswell-ULT Integrated Graphics Controller' in pciconf. Any suggestions how to proceed from here? Any usefull information that I could extract from the crashdump? Did you rebuild the drm-fbsd12.0-kmod after updating your world and kernel? I generally do this by running "make package" inside my ports/graphics/drm-fbsd12.0-kmod directory, then install this updated package. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: OpenZFS port updated
On 4/17/20 2:54 PM, Ryan Moeller wrote: On Apr 17, 2020, at 4:56 PM, Pete Wright wrote: On 4/17/20 11:35 AM, Ryan Moeller wrote: FreeBSD support has been merged into the master branch of the openzfs/zfs repository, and the FreeBSD ports have been switched to this branch. Congratulations on this effort - big milestone! OpenZFS brings many exciting features to FreeBSD, including: * native encryption Is there a good doc reference on available for using this? I believe this is zfs filesystem level encryption and not a replacement for our existing full-disk-encryption scheme that currently works? I’m not aware of a good current doc for this. If anyone finds/writes something, please post it! There are some old resources you can find with a quick search that do a pretty good job of covering the basic ideas, but I think the exact syntax of commands may be slightly changed in the final implementation. The encryption is performed at a filesystem level (per-dataset). thanks for the clarification Ryan. I may try to test this out in the near future and will try to record my findings in a wiki or somewhere. being able to do filesystem level encryption is something i have several immediate use cases for. thanks! -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: OpenZFS port updated
On 4/17/20 11:35 AM, Ryan Moeller wrote: FreeBSD support has been merged into the master branch of the openzfs/zfs repository, and the FreeBSD ports have been switched to this branch. Congratulations on this effort - big milestone! OpenZFS brings many exciting features to FreeBSD, including: * native encryption Is there a good doc reference on available for using this? I believe this is zfs filesystem level encryption and not a replacement for our existing full-disk-encryption scheme that currently works? thanks again! -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: support of PCIe NVME drives
On 4/16/20 1:57 PM, Miroslav Lachman wrote: Chuck Tuffli wrote on 04/16/2020 22:29: On Thu, Apr 16, 2020 at 12:30 PM Miroslav Lachman <000.f...@quip.cz> wrote: Pete Wright wrote on 04/16/2020 20:23: On 4/16/20 11:12 AM, Miroslav Lachman wrote: Kurt Jaeger wrote on 04/16/2020 20:07: I would try booting via UEFI if you can. I just installed a laptop yesterday which has a nvme root device, it was detected by the 12-STABLE snapshot I used to boot from. no other modifications were necessary on my end. I changed BIOS settings to use UEFI boot method, booted 12.1 installer ISO but without luck. Still no NVME disks :( You can see it on printscreen from iDRAC https://ibb.co/tPnymL7 Anything more I can test? Fair warning, I don't deal much with Dell, but it's curious that iDrac lists the device protocol as MI Device Protocol: NVMe-MI1.0 MI or the Management Interface is defined by NVMe, but it isn't the same as a block interface. MI typically uses SMBUS and not PCIe to communicate with the device. So it's possible that the device is visible to iDrac via SMBUS but may not be on the PCIe bus for $reasons. Does iDrac have any tools to interact with the device via MI? iDRAC does not allow me to do anything with the drives. But I booted Linux SystemRescueCd and nvme devices are there visible in /dev/ printscreen https://ibb.co/sj22Nwg So I think the HW is OK, but FreeBSD does not recognize the controller? might be interesting to see what the dmesg buffer and lspci output for this device is under linux. that should give pointers to how the device is being presented to the kernel. -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: support of PCIe NVME drives
On 4/16/20 11:12 AM, Miroslav Lachman wrote: Kurt Jaeger wrote on 04/16/2020 20:07: Hi! I was requested to install FreeBSD 11.3 on a new Dell machine with only 2 NVME drives in ZFS mirror. The problem is that installer does not see the drives. Are there any special procedure to use NVME drives for installation a later for booting? I use 2 NVMe drives as zfs mirror to boot from on my testbox, but it runs CURRENT, since approx. November 2018. So maybe try it with 12.1 ? I know, that does not help if you are asked to install 11.3, but at least it gives you an idea... I tried 12.1 few minutes ago but the result is the same - no NVME drives listed. Should I try something with kernel modules, some sysctl tweaks? Should I try UEFI boot? (I never did) I would try booting via UEFI if you can. I just installed a laptop yesterday which has a nvme root device, it was detected by the 12-STABLE snapshot I used to boot from. no other modifications were necessary on my end. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Running FreeBSD on M.2 SSD
On 2020-02-27 20:44, Mario Olofo wrote: Thanks for the update. May you share what quirks was detected for your card and firmware to see if it matches mine? The only way I was able to run FreeBSD 12-STABLE on the SSD was using the suggested sysctl vfs.zfs.trim.enabled=0 Maybe the problem really is a combination of factors, for the person that filed a bug on bugzilla the fix was setting the quirks 4k and broken_trim, but for me the real block size is 512bytes and only setting the flag broken_trim didn't help... This is a default install off of the latest 12.1-STABLE snapshot, no special loader or sysctl knobs used. dmesg doesn't show anything interesting: $ dmesg|grep ada ses0: pass0,ada0 in 'Slot 00', SATA Slot: scbus0 target 0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-2 ATA SATA 3.x device ada0: Serial Number 185243800880 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 457872MB (937721856 512 byte sectors) GEOM_ELI: Device ada0p4.eli created. here's the output of sysctl: $ sysctl kern.cam.ada kern.cam.ada.0.sort_io_queue: 0 kern.cam.ada.0.max_seq_zones: 0 kern.cam.ada.0.optimal_nonseq_zones: 0 kern.cam.ada.0.optimal_seq_zones: 0 kern.cam.ada.0.zone_support: None kern.cam.ada.0.zone_mode: Not Zoned kern.cam.ada.0.rotating: 0 kern.cam.ada.0.unmapped_io: 1 kern.cam.ada.0.write_cache: -1 kern.cam.ada.0.read_ahead: -1 kern.cam.ada.0.delete_method: DSM_TRIM kern.cam.ada.write_cache: 1 kern.cam.ada.read_ahead: 1 kern.cam.ada.spindown_suspend: 1 kern.cam.ada.spindown_shutdown: 1 kern.cam.ada.send_ordered: 1 kern.cam.ada.default_timeout: 30 kern.cam.ada.retry_count: 4 cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Running FreeBSD on M.2 SSD
On 2/24/20 11:13 AM, Mario Olofo wrote: Hi Pete, The nvmecontrol devlist don't found any devices. pciconf -lv nvme0 didn't found anything either. The camcontrol devlist output was as follows: root@~ # camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (pass2,da0) just wanted to provide an update here. so i had a system that needed a new root drive and figured that the price of this device was worth a shot. i figured if it has issues it'd be a good opportunity to help find the root cause and fix them. so anyway...i got the drive today and i am not seeing any issues with it so far. here's the device on my end: $ sudo camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus2 target 0 lun 0 (ses0,pass1) $ i am running 12-STABLE, with an encrypted zfsroot device. i've pumped about 10gigs through it so far restoring my homedir with no issues, and zfs scrub has run without any corrupted blocks detected. so i don't think it's an issue with this specific m.2 device, perhaps there is something odd happening in your local env though that is causing this issue to crop up. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Running FreeBSD on M.2 SSD
On 2020-02-24 11:13, Mario Olofo wrote: Hi Pete, The nvmecontrol devlist don't found any devices. pciconf -lv nvme0 didn't found anything either. The camcontrol devlist output was as follows: root@~ # camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (pass2,da0) The dmesg | grep ada1 shows the following: Feb 24 18:54:31 kernel: ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 Feb 24 18:54:31 kernel: ada1: ACS-2 ATA SATA 3.x device Feb 24 18:54:31 kernel: ada1: Serial Number 183541800480 Feb 24 18:54:31 kernel: ada1: 600.00MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) Feb 24 18:54:31 kernel: ada1: Command Queueing enabled Feb 24 18:54:31 kernel: ada1:457872MB (937721856 512 byte sectors) Mario Thanks Mario, When you run into issues or filesystem corruption do you see anything in the dmesg buffer or in /var/log/messages? -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Running FreeBSD on M.2 SSD
On 2020-02-24 09:58, Mario Olofo wrote: Hello John, thank you for your reply. Yesterday I reinstalled the 12.1 on a VirtualBox virtual machine, did the same steps and it didn't corrupted the ZFS, so I think that the problem is in the FreeBSD's driver for m.2 SSD. Besides the corruption of the filesystem, I forgot to mention that I noticed a little noise on disk writes on FreeBSD, but not on Linux or Windows. I found some old threads about incorrectly params for sector size for Samsung's SSD, but nothing about WD. If someone responsible for the driver need help to solve this problem, I can reinstall the FreeBSD on my machine and compile a custom kernel to gather debug information. Unfortunately you haven't provided much in details regarding the hardware you are running as far as FreeBSD see's it. I can confirm I have had many systems using m.2 for quite a while and have had zero issues. Could you provide some of these details? (assuming this is an NVMe device): $ sudo nvmecontrol devlist $ sudo pciconf -lv nvme0 if your device isn't NVMe and is a sata device then this info may be helpful as well: $ sudo camcontrol devlist and your dmesg will also probably be helpful here as well. I think getting at least this basic info will help determine where the issue is cropping up. cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Confused about i915kms on 12.1
On 10/13/19 12:35 PM, Chuck Tuffli wrote: I've been running 12.0-REL on my X1 Carbon 3rd Gen happily with xorg, but after installing 12.1-RC1, the laptop reboots when loading the i915kms driver. If I comment out the line in /etc/rc.conf: kld_list="/boot/modules/i915kms.ko" the laptop boots, albeit without graphics. The above comes from the 12.0R release notes, and I didn't see any updates to this in the 12.1 release notes. I've tried drm-kmod from both ports and packages with the same result. Did something change with 12.1? What should I check? TIA Best thing to do is rebuild the drm-fbsd12.0-kmod package from the ports tree. i have had this issue as well while testing the BETA and RC builds for 12.1, and there is some breakage in the upstream packages causing this behavior. removing the package, then doing a "make package" in the graphics/drm-fbsd12.0-kmod directory, then installing the resulting package in the work/pkg directory gets everything working again. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Question about bottle neck in storage
On 9/24/19 8:45 AM, John Fleming wrote: Is there anyway to see how busy a SAS/Sata controller is vs disks? I have a R720 with 14 Samsung 860 EVOs in it (its a lab server) in raid 10 ZFS. When firing off a dd I (bs=1G count=10) seems like the disks never go above %50 busy. I'm trying to figure out if i'm maxing out SATA 3 BW or if its something else (like terrible dd options). my setup is Dell R720 with 2 x LSI 9361 cards. Each card is going to a dedicated 8 drive board inside the front of the R720. Basically i'm just saying its not a single SAS cable to 14 drives. Don't have cpu info hand.. zeon something. DDR3-1600 (128GB) Both controllers are in 8x slots running PCIe gen 3. might want to take a look at sysutils/intel-pcm (https://github.com/opcm/pcm). I *think* this should give you metrics on PCIe bus utilization among other useful status. Also, lookup the bandwidth for the PCIe bus and see if your aggregate disk throughput on one of the PCIe lanes is saturating the bus (pcm should also help here). You can also run "zpool iostat -v 2" to see per disk i/o metrics to help determine if this is an issue. BTW i'm sure this has been asked a million times but what would be some decent benchmark tests while i'm at it? I generally run several tests and then compare results, for example bonnie++, iozone, iperf (writing over the wire and to disk) as well as some more realistic scripts based on the use-case i'm building a solution for. hope that helps. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
suspend resume broken on 12.1-BETA1?
i've got an amd64 laptop which while running stable had no issues with suspend/resume. after upgrading to beta1 yesterday the system hangs on resume. its a hard hang on resume, can't SSH in and nothing gets into the logs. i've been able to reproduce both with the i915kms module loaded, as well as with it *not* loaded. has anyone else been able to reproduce this? cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 12 Xorg vs X11SSH-F / AST
On 9/2/19 10:55 PM, O'Connor, Daniel wrote: On 2 Sep 2019, at 16:33, O'Connor, Daniel wrote: On 1 Sep 2019, at 16:20, O'Connor, Daniel wrote: I modified the driver on the working system to dump the values that ASTGetDRAMInfo extracts and hard coded them and it works(!) on the FreeBSD 12 system. Obviously while this works for me it's not a long term solution :) Also it turns out the performance still sucks, ie no better than VESA. I tried scfb but a) defaults to 1024x768 and b) it wasn't much faster (if any). So, if anyone has any other ideas I'm all ears :( I've filed a PR against the port (240294) although I suspect it's more likely to be a kernel issue. thanks, i think opening a bug report is probably the best way to go at this point. there def seems to be something odd going on that's above my pay grade. i'm going to bump the graphics team with this too to see if anyone has an idea. cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 12 Xorg vs X11SSH-F / AST
On 8/23/19 7:30 AM, O'Connor, Daniel wrote: Hi, We have a Supermicro X11SSH-F motherboard which has a ASPEED AST2400 video chipset with FreeBSD 12.0-RELEASE r341666 GENERIC amd64 on it. Unfortunately I am unable to get X working with it properly, I have the xf86-video-ast package (version 1.1.5_2) installed, however X seems to hang when started. would you be able to share the Xorg.log from when it hangs? If I switch to the VESA driver (ie run X -configure, then change ast to vesa) it works but is *quite* slow. one other thing to try is use the "scfb" driver in xorg rather than vesa (it's available as this pkg xf86-video-scfb-0.0.4_7). it's still a software renderer but it may be more performant. -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Suggestion for a 4 lan machine for FreeBSD
On 5/27/19 8:09 AM, Nenhum_de_Nos wrote: Hi, I am looking for a machine to replace an old 4 port firewall box here. As I am going to buy it on Europe, Sweden, I have little sources to show from. Here in Brazil the choices are even worse. More expensive and less options. So I found the Partaker on amazon.uk, but they ship from China, and I fear customs issues. All I found was APU2 from PC Engines. Its a good solution, but I was looking for a more strong CPU and more memory capacity. The box will be a small lan server, running zfs for 10TB and will be next firewall machine (when zfs will not be running on it). The link for this box is https://www.amazon.co.uk/Partaker-Mikrotik-Firewall-Security-Barebone/dp/B074Q7KMFG/ref=sr_1_14?keywords=partaker+i3=1558969558=gateway=8-14 The cpu has 15W TDP and really low power need. It fits just my need. There is the Protectli on USA (amazon.com), but I can't find it on EU stores. They look to much alike, so I guess they are brothers separated early on hospital :) If anyone could tell me stores and brands that I can order online from Europe to Sweden. Take a look at PCEngines: https://pcengines.ch/apu4b4.htm Well supported by FreeBSD, and based in .eu. Hope this helps, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: P5 bork
On 5/15/19 10:15 PM, Chris wrote: I am not a sophsicated user.. Im running FreeBSD 12 and Unbound at home doing DoT TLS1.3 Thats all I do on the machine. Its a very clean boring typical install. X86. FreeBSD-update fetch freebsd-update install reboot BORKED. Just loops duing boot. Backed up to kernal.old - works perfect.. If anyone cares I could go grab logs and things, but, I would assume this is already known and I will just wait for P6, hehehe.. Sorry im not deeper on the subject. should be fixed now: https://www.freebsd.org/security/advisories/FreeBSD-SA-19:07.mds.asc "v2.0 2019-05-15 Rerelease 12.0-RELEASE patch as -p5 due to i386 panic bug." -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 on Ryzen 2400G?
On 1/30/19 12:10 PM, Phil Norman wrote: Hi. First of all, thanks for the detailed instructions. Response inline. sure thing! -- pay special attention to the update the /boot/loader.conf Are you referring to the need to set 'hw.sysconf.disable=1', or is there something else I'm missing? I didn't see anything else on the wiki page, except for some debugging options (which I guess I'm going to end up using soon). yes that is what i was referring to. I do not have an AMDGPU system myself but have been told several times that it is required. - after you have configured the amdgpu.ko to load on boot verify it is able to load the kernel module and your console display looks good. if you have issues loading the kernel module let us know, there are some things you can try to setup to get a useful backtrace that will help us debug this. This is where I get to. I've removed amdgpu from /etc/rc.conf, so I don't have to boot single-user mode; when I run kldload amdgpu, the following happens: 1: the 'kldload amdgpu' process doesn't return immediately, yet the terminal is responsive; I can hit return, and have the cursor move. The mouse pointer also moves. 2: something around 5s later, the screen turns off, the keyboard goes unresponsive (caps lock light doesn't toggle), and the machine no longer responds to pings. interesting, it looks like the kernel module and firmware modules do load. one thing you may want to test is setting the "debug.debugger_on_panic=0" sysctl knob before loading the amdgpu.ko. hopefully this will allow you to get into a debugger before the system locks up. cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 on Ryzen 2400G?
On 1/30/19 9:57 AM, Phil Norman wrote: Hi. I recently got a Ryzen 2400G, which has on-board AMD Vega 11 graphics. I can get a console to display via the motherboard's on-board HDMI, but haven't been able to get Xorg working yet. I'm trying the 'amdgpu' driver, and am using an xorg.conf file generated with 'Xorg -configure' (albeit hand-tweaked to get rid of the nonexistent second screen it added, and fix a few more things). My understanding is that the driver is likely borrowed from linux, and (from http://forum.mxlinux.org/viewtopic.php?t=46887) Vega support only started working with linux kernel 1.19. The /var/log/Xorg.0.log file says that the amdgpu module was 'compiled for 1.18.4, module version = 18.1.0'. Does the 1.18.4 refer to a linux kernel version? If so, what's my best solution here? Should I just wait until the FreeBSD drivers are updated? Is there anything I can do in the meantime? I believe there may be some previous success running Vega graphics on FreeBSD. Couple things to note: - If possible run 12.0-RELEASE - install the drm-kmod package, then closely follow the instructions printed on your console. This wiki section should offer some help: https://wiki.freebsd.org/Graphics#AMD_Graphics -- pay special attention to the update the /boot/loader.conf - after you have configured the amdgpu.ko to load on boot verify it is able to load the kernel module and your console display looks good. if you have issues loading the kernel module let us know, there are some things you can try to setup to get a useful backtrace that will help us debug this. - try moving your Xorg.conf out of the way then try starting X. -- If that fails try dropping your custom config in there which is using the amdgpu Xorg driver. Hope this helps! -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: webcamd vs 12.0-RELEASE-p1
On 12/28/18 12:42 AM, Raúl wrote: Hello! Trying a logitech c910 usb camera, cuse, webcamd ... pwcview, chromium, vlc3 ... only greenish stuff, a block puzzle in motion or nothing at all. Reading about others success on other versions make me think must be an easy thing to achieve although I've never tried before. Anyone successfully using cuse / webcamd on 12.0-RELEASE?. Any obvious clue I'm missing?. Thanks in advance. kind of hard to debug without any logs or configs posted, but i have a working config that supports webRTC websites like zoom.us for example. i am running 12.0-RELEASE as well. here is the webcam i have: $ sudo usbconfig|grep Camera ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) and i have enabled webcamd via rc.conf like so: $ grep webca /etc/rc.conf webcamd_enable="YES" i also load cuse via /boot/loader.conf: $ sudo grep cuse /boot/loader.conf cuse_load="YES" Note, this requires a web browser with support for webRTC, which firefox def supports by default once you grant permissions (iirc chormium also works by default). I know this isn't super helpful for your rig - i think i have a c910 here i work i can try to reproduce this on later today, but just wanted to check the basics that everything is configured on your end correctly. cheers, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Upgrading 11.2 -> 12.0 on EC2
On 12/18/18 10:50 PM, Brian Neal wrote: Hello, I’m looking for advice on doing a release upgrade of a running instance. It looks like the normal procedure using freebsd-update requires a reboot between invocations of the install command, but after the first reboot, most of the userland is non-functional, including most importantly sshd. Is it safe to run the install commands back to back without rebooting? Or is the only safe procedure to build a new instance from scratch for each release? I've done it successfully in the past but IIRC it was pretty sketchy - i think i put script in /etc/rc.local to finish the upgrade. for dev purposes i've done upgrades via rebuilding from source without too much drama. i'd due to the build/mergemasters and installworld before a reboot. but again this was for dev/testing, so if things didn't work out loosing data was a non-issue. I've since decided that one of the advantages of AWS is that I can easily just allocate a new VM, but this is predicated that I've got all my configs in a config mgmt engine and my user volumes exist on an EBS volume. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: How do you boot the debug kernel installed from kernel-dbg.txz?
On 11/6/18 4:47 PM, Rainer Duffner wrote: Am 07.11.2018 um 01:40 schrieb Pete Wright : I may be mistaken, but I don't think you actually need to boot the debug-kernel and modules (in fact I don't think you can), rather those files are intended for being read by kgdb while debugging a core that is generated by savecore(8) so that you have access to full symbol table etc. this page section in the dev handbook debugging kernel core dumps: https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html <https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html> hope this helps, -pete Yes, you are right. However obvious it may seem, it isn’t for somebody who’s never really done that… I asked the same question in my PR and got an answer immediately - didn’t expect that to go that fast… great, glad i'm not spreading mis-info! i don't think it's too obvious IMHO, took me a while to grok it a year or so ago when i was debugging some graphics driver issues :) -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: How do you boot the debug kernel installed from kernel-dbg.txz?
On 11/6/18 4:22 PM, Rainer Duffner wrote: Hi, I need to install a debug-kernel. I didn’t install the debug-kernel when I installed the system (11.2), but I downloaded the archive. I can unpack it - but how do I then select the kernel at boot? I may be mistaken, but I don't think you actually need to boot the debug-kernel and modules (in fact I don't think you can), rather those files are intended for being read by kgdb while debugging a core that is generated by savecore(8) so that you have access to full symbol table etc. this page section in the dev handbook debugging kernel core dumps: https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html hope this helps, -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:08.lazyfpu
On Wed, Sep 12, 2018 at 12:51 PM George L. Yermulnik wrote: > > > Does the below patches apply to 10.4-STABLE as well? if you read the full release announcement you will see the following: "Special Note: While SA-18:07.lazyfpu has been fixed in 10.4-STABLE, it has yet to be released for 10.4-RELEASE. As such, this EN does not apply for that release. Once SA-18:07.lazyfpu has been updated for 10.4-RELEASE, this EN will be incorporated at that time." -pete -- pete wright www.nycbug.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Using drm-next in 11.2
On 9/12/18 11:29 AM, Pete French wrote: I believe your best bet is to let Xorg probe your devices automatically - i.e. don't have an xorg.conf in place when starting X. Yes, I dont have an xorg to conf - I was a bit unclear, I meant which drivers should I instal from the xorg-drivers package as I dont generally install all of them. On my end this will result in the "modesetting" driver being used, which is the suggested driver to use for intel and i believe amdgpu systems. it provides full acceleration, and is under active development upstream. it should also be part of the xorg-server pkg, so you don't need to install any additional video drivers to use the modesetting driver. Thats actually relly helpdful, thanks! - I dont see a modesetting driver in /usr/ports/x11-drivers though, Where did you get this driver from ? it's from the xorg-server port/pkg: $ pkg list xorg-server|grep modes /usr/local/lib/xorg/modules/drivers/modesetting_drv.so /usr/local/man/man4/modesetting.4.gz $ cheers, -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Using drm-next in 11.2
On 9/12/18 1:49 AM, Pete French wrote: can you post your dmesg output from when you've set kld_list="/boot/modules/amdgpu.ko"? also, please verify that your user is in the "video" group. but from what you've described it sounds like a conflict is popping up between the base amdgpu.ko and the one available in the ports tree. also, please ensure you are booting in "classic" BIOS mode and not UEFI, IIRC there are some issues surrounding amdgpu with UEFI - i don't have that hardware tho so can't elaborate. Hi,thanks for the reply - am not in front of the machine today so I cant really test unfortunately, but will get you the information as soon as I can. The user is indeed in the 'video' group and the machine is booting using normal BIOS not UEFI though, so all things are "as the should be" regarding setup I think. What drivers should I be using in Xorg for this by the way ? Thats something I cant seem to find anywhere. 'amdgpu' sonds like the right one possibly ? I believe your best bet is to let Xorg probe your devices automatically - i.e. don't have an xorg.conf in place when starting X. On my end this will result in the "modesetting" driver being used, which is the suggested driver to use for intel and i believe amdgpu systems. it provides full acceleration, and is under active development upstream. it should also be part of the xorg-server pkg, so you don't need to install any additional video drivers to use the modesetting driver. cheers, -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Using drm-next in 11.2
On 9/11/18 7:44 AM, Pete French wrote: On 11/09/2018 14:42, Pete French wrote: I think you have to use kld_list="/boot/modules/amdgpu.ko" to get the new one. Will give it a try - I think its unnecessary as the name doesnt clash, but worth a go... -pete. [quick reboot comming up] I tired this, it doesnt help - I tink it alway was loading that one - but I also tried a few other things. Such as removing my ATI driver from Xorg and adding the amdgpu driver istead. Still no luck unfortunately. can you post your dmesg output from when you've set kld_list="/boot/modules/amdgpu.ko"? also, please verify that your user is in the "video" group. but from what you've described it sounds like a conflict is popping up between the base amdgpu.ko and the one available in the ports tree. also, please ensure you are booting in "classic" BIOS mode and not UEFI, IIRC there are some issues surrounding amdgpu with UEFI - i don't have that hardware tho so can't elaborate. -p -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: drm / drm2 removal in 12
On 8/24/18 4:07 PM, blubee blubeeme wrote: This project: https://wiki.freebsd.org/Use%20linuxkpi%20in%20DRM Goals - Move DRM headers to a similar location as Linux - Use kmalloc() instead of malloc(9) - Use kref - Use idr and get rid of drm_gem_names.c - Use PCI API - Use Linux locking primitives is garbage, if you want to use develop Linux code and use Linux then go do that on Linux. having a hard time not feeding the troll here...but what specifically is garbage. as in, what implementation of all this work do you have available that has been developed independently which also enables support for modern desktop and portable systems that you can buy today? Are these guys insane and please avoid the nonsense about you're doing this in your spare time. speaking as someone who's been working on this from pretty much the day of the initial CFT (maybe before?) - i don't know anyone who's getting paid for this specific work. at least when it comes to GPU support. but, if you have the means, I'd love to work on this full time and am open to any serious offers :) -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: bad hash in repo
On 8/22/18 9:19 AM, Randy Bush wrote: seeing a lot of these Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 11.1-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. Fetching 2 patches.. done. Applying patches... done. Fetching 2 files... 104969ef03336523729ea1df2547267441a13cb040c778e971b74103e88dbc77 has incorrect hash. these continue; like for a week. for multiple servers, all on the global internet no filters other than samba etc. have you forced pulling down metadata from the pkg servers? i have gotten into this state in the past and a "pkg update -f" would get me out of that scenario. -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
On 8/1/18 7:14 AM, Piotr Kubaj wrote: I did test after sending previous mail, but loading amdgpu from drm-stable-kmod makes the computer just restart :/ that's not good - if you feel like trying to debug that issue you can set the following sysctl knobs which should generate and save a corefile when it panic's: set this in sysctl.conf: |debug.debugger_on_panic=0| |and add this to /boot/loader.conf:| |dev.drm.skip_ddb="1" then, if you have dumpdev defined like so in rc.conf it should save a core in /var/crash: dumpdev="AUTO" this sounds like a regression if things were working with a previous build but i reckon we'll need more info to help debug. -pete| -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
On 8/1/18 7:12 AM, Piotr Kubaj via freebsd-x11 wrote: Hm, ok, I may have not been clear with my problem. Xorg DID work before. It certainly won't accept radeon driver - it's RX560. I certainly had working Xorg about two weeks ago. Then after a reboot, boom, no more graphics. So my configuration is right. Even though I don't need the whole xorg.conf, I need xorg.conf.d directory with a snippet that forces GPU to use to use amdgpu X11 driver - otherwise it tries to use modesetting. does the modesetting driver work when you remove the xorg.conf? (might have missed that). -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [CFT] [X11] graphics/drm-next-kmod now builds, loads and works on FreeBSD-11-stable
On 3/2/18 7:53 AM, Torfinn Ingolfsen wrote: > On Sun, 18 Feb 2018 21:35:24 +0100 > Hans Petter Selasky <h...@selasky.org> wrote: > >> Hi FreeBSD desktop users! >> >> During the past week and over the weekend all parts needed for building, >> loading and using graphics/drm-next-kmod on FreeBSD-11-stable have been >> completed! >> > Thanks for the hard work by all involved! > > Tested a few days ago, reported in the forum post here: > https://forums.freebsd.org/threads/using-drm-next-kmod-on-freebsd-11-stable.64731/#post-378702 > TL;DR - it works on a Toshiba Satellite Z30-B-10W (Broadwell-U, Intel HD > Graphics 5500). One issue - the text console (before starting Xorg) has > serious lag, > you can type a command before anything shows on the screen. Should I open an > issue for this on Github? > HTH Hey there - thanks for testing! I would recommend posting an issue on the Github repo for this. If you could be sure to include which revision you are running (11-stable or 12-current revision) in addition to the version of the port/pkg you have install that'd be helpful. Cheers, -pete -- Pete Wright p...@nomadlogic.org 310.309.9298 ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: update of graphics/drm-next-kmod to Linux 4.11 level for recent CURRENT and 11-STABLE
On 2/25/18 7:48 AM, Johannes M Dieterich wrote: > Dear all, > > Please CC me as I am not subscribed. > > On behalf of the FreeBSDDesktop team and thanks to the tireless efforts > of Johannes Lundberg and Hans Petter Selasky (hselasky), I am pleased to > report that the graphics/drm-next-kmod port just received an update to > Linux level 4.11 KMS/DRM for amdgpu, radeon, and i915 for both recent > CURRENT and 11-STABLE. > > We have tested this on a range of hardware ourselves: > * Haswell > * Broadwell > * Skylake > * Evergreen > * Kaveri (both radeon and amgpu KMS) > * Carrizo > * Polaris > > Needless to say, the possible space of hardware this could run on is > significantly larger. Hence, if you find issues and/or want to propose > patches, please do so at our development github: > > https://github.com/FreeBSDDesktop/kms-drm > > We absolutely do welcome contributions! Thanks JMD and everyone who hacked on this the past couple days. I can confirm that this works as expected on my 11-STABLE with a Kabylake CPU, so we can add that hardware to the list above :) Cheers, -pete -- Pete Wright p...@nomadlogic.org 310.309.9298 ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: LOR in mpr(4)
On 10/19/16 8:10 AM, geoffroy desvernay wrote: On 11/17/2015 21:43, Pete Wright wrote: On 11/12/15 09:44, Pete Wright wrote: Hi All, Just wanted a sanity check before filing a PR. I am running r290688 and am seeing a LOR being triggered in the mpr(4) device: $ uname -ar FreeBSD srd0013 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r290688: Wed Nov 11 21:28:26 PST 2015 root@srd0013:/usr/obj/usr/src/sys/GENERIC amd64 lock order reversal: 1st 0xf8000d26bc60 CAM device lock (CAM device lock) @ /usr/src/sys/cam/cam_xpt.c:784 2nd 0xfe00012811c0 MPR lock (MPR lock) @ /usr/src/sys/cam/cam_xpt.c:2620 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe04608ee890 witness_checkorder() at witness_checkorder+0xe79/frame 0xfe04608ee910 __mtx_lock_flags() at __mtx_lock_flags+0xa4/frame 0xfe04608ee960 xpt_action_default() at xpt_action_default+0xb6c/frame 0xfe04608ee9b0 scsi_scan_bus() at scsi_scan_bus+0x1d5/frame 0xfe04608eea20 xpt_scanner_thread() at xpt_scanner_thread+0x15c/frame 0xfe04608eea70 fork_exit() at fork_exit+0x84/frame 0xfe04608eeab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfe04608eeab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- FWIW I filed the following PR as I can still reproduce this on boot: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204614 cheers, -pete Hi all, Sorry for cross-posting, let me know where this should go please, I didn't figured it out :( On 11-RELEASE-p1 here (but replying on current@ where I found something around mpr(4)) Not sure if it's related, but on a fresh new machine with Avago SAS3008 and a 24 disks enclosure (single attached). I see a bunch of: mpr0: Found device <401,End Device> <12.0Gbps> handle<0x001b> enclosureHandle<0x0002> slot 8 (da0:mpr0:0:8:0): UNMAPPED (da0:mpr0:0:8:0): CAM status: SCSI Status Error (da0:mpr0:0:8:0): SCSI status: Check Condition (da0:mpr0:0:8:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) (da0:mpr0:0:8:0): Error 22, Unretryable error 10:0): UNMAPPED (da0:mpr0:0:8:0): READ(10). CDB: 28 00 e8 e0 88 71 00 00 04 00 (da0:mpr0:0:8:0): CAM status: SCSI Status Error (da0:mpr0:0:8:0): SCSI status: Check Condition (da0:mpr0:0:8:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) (da0:mpr0:0:8:0): Error 22, Unretryable error ses0: da0: Element descriptor: 'Drive Slot 0' ses0: da0: SAS Device Slot Element: 2 Phys at Slot 0 ses0: phy 0: SAS device type 1 id 0 ses0: phy 0: protocols: Initiator( None ) Target( SSP ) ses0: phy 0: parent 520474729974b57f addr 5000c50097ce8215 ses0: phy 1: SAS device type 1 id 1 ses0: phy 1: protocols: Initiator( None ) Target( SSP ) ses0: phy 1: parent 520474729974b5ff addr 5000c50097ce8216 (more complete dmesg.boot here: http://dgeo.perso.ec-m.fr/dmesg.boot ) the issue you are seeing is most likely not related to the LOR from the original email and PR I filed. This looks like a media error with the disk device on your RAID controller. A quick google search turn's up quite a few threads on this - ranging from bad RAID/JBOD controllers to out of date firmware. Cheers, -pete -- Pete Wright p...@nomadlogic.org nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Call for testing: VM bugs in 10.3
On Aug 2, 2016 12:26 PM, "Konstantin Belousov"wrote: > > Below is the merge of some high-profile virtual memory subsystem bug > fixes from stable/10 to 10.3. I merged fixes for bugs reported by > users, issues which are even theoretically unlikely to occur in real > world loads, are not included into the patch set. The later is mostly > corrections for the handling of radix insertion failures. Included fixes > are for random SIGSEGV delivered to processes, hangs on "vodead" state > on filesystem operations, and several others. > > List of the merged revisions: > r301184 prevent parallel object collapses, fixes object lifecycle > r301436 do not leak the vm object lock, fixes overcommit disable > r302243 avoid the active object marking for vm.vmtotal sysctl, fixes > "vodead" hangs > r302513 vm_fault() race with the vm_object_collapse(), fixes spurious SIGSEGV > r303291 postpone BO_DEAD, fixes panic on fast vnode reclaim > > I am asking for some testing, it is not necessary for your system to > exhibit the problematic behaviour for your testing to be useful. I am > more looking for smoke-testing kind of confirmation that patch is fine. > Neither I nor people who usually help me with testing, run 10.3 systems. > Is testing on 10.3-RELEASE useful, or is this only for people tracking STABLE? Thanks! -pete ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: No more torrents.....
A hybrid of bnbt, xbnbt, xbtt, and something else that I don't recall the name of. We ran the seeders from py-bittornado in curses mode in about 15 screen sessions.. by hand. The tracker/indexer code had an open http connect proxy in it (!). The code was particularly difficult to work with and looked extremely light for defensive programming. (string buffer overflows, the works). The bottom line is the nice indexer / tracker / stats thing we had isn't something I feel we can trust. I do believe we can/should publish trackerless/dht torrent files to go with the release binaries. Perhaps an initial web-seed might work, otherwise we could have a few folks with good ftp connectivity do an initial seed from the ftp files. I would be very much be willing to assist with seeding if we make dht torrent files available from my nodes located in downtown Los Angeles for west-coast and APAC network presence. as an aside: I have been running libtorrent/rtorrent for a bit and it seems like a pretty decent platform for building on. having said that - I am not a security researcher and would be keen to hear if libtorrent/rotrrent suffers from these similar issues? -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: No more torrents.....
On Tue, Dec 18, 2012 at 3:22 PM, Peter Wemm pe...@wemm.org wrote: On Tue, Dec 18, 2012 at 3:19 PM, pete wright nomadlo...@gmail.com wrote: A hybrid of bnbt, xbnbt, xbtt, and something else that I don't recall the name of. We ran the seeders from py-bittornado in curses mode in about 15 screen sessions.. by hand. The tracker/indexer code had an open http connect proxy in it (!). The code was particularly difficult to work with and looked extremely light for defensive programming. (string buffer overflows, the works). The bottom line is the nice indexer / tracker / stats thing we had isn't something I feel we can trust. I do believe we can/should publish trackerless/dht torrent files to go with the release binaries. Perhaps an initial web-seed might work, otherwise we could have a few folks with good ftp connectivity do an initial seed from the ftp files. I would be very much be willing to assist with seeding if we make dht torrent files available from my nodes located in downtown Los Angeles for west-coast and APAC network presence. as an aside: I have been running libtorrent/rtorrent for a bit and it seems like a pretty decent platform for building on. having said that - I am not a security researcher and would be keen to hear if libtorrent/rotrrent suffers from these similar issues? Oh wait, I told a lie. It wasn't py-bittornado we used.. it was rtorrent. Thanks for prompting that. I have no concerns with rtorrent except that it was a curses beastie. It was something we had to manually start up after a machine reboot until we did some evil scripts with screen. ah ok - understood. well i'll keep an eye on the lists, and if some trackerless torrents become available i'll be sure to contribute my resources to this :) I'd volunteer to help build them but unfortunately my human bandwidth is limited atm. cheers, -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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 stability/robustness?
On Thu, Nov 1, 2012 at 7:14 PM, Brett Glass br...@lariat.net wrote: I need to build up a few servers and routers, and am wondering how FreeBSD 9.1 is shaping up. Will it be likely to be more stable and robust than 9.0-RELEASE? Are there issues that will have to wait until 9.2-RELEASE to be fixed? Opinions welcome. Just another data point: running 9.1-RC1 as well as 9.1-RC2 since they have become available on my primary workstation/build server (for pkgng pkg's), in addition to my mail/web/shell servers. I have managed all my updates via freebsd-update, so no custom bits compiled for the kernel or userland. have had no lockups, and performance is great on my workstation/build server. On all systems I've been using a combination of ufs and zfs w/o issues as well. Hope this helps. -pete -- pete wright www.nycbug.org @nomadlogicLA ___ 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: 7.1-PRERELEASE : bad network performance (nfe0)
On Mon, Sep 29, 2008 at 2:03 AM, Holger Kipp [EMAIL PROTECTED] wrote: On Sun, Sep 28, 2008 at 06:30:03PM -0400, [EMAIL PROTECTED] wrote: Noyou misunderstood. The 7.1 box was connected to a 5.4 box doing a 50GB data transfer over rsync. Both nics were 1000 full duplex with a crossover cable. The speed performance was terrible and I could only get up to 10 Mb/s and there was NO switch involved. I believe there is a problem or bug involved with the driver. Have the drivers or stack been updated in 7.1? What else can I provide? Hi, I only flipped through the messages in this thread, faintly remembering someone writing something about ssh. Anyway, if you're copying using ssh (scp, sftp), then the transfer rate is much less than what you'd expect - due to the encryption/decryption overhead (unless you have hardware acceleration on both sideds). FWIW I think the general issue for the ssh suite of tools is the compiled in window size is not tuned for large transfers like this: http://www.psc.edu/networking/projects/hpn-ssh/theory.php we use a propritary tool called aspera to overcome these issues when moving large amounts of data b/w remote sites on our WAN: http://www.asperasoft.com/products/scp/index.html the encrytp/decrypt overhead should be pretty minimal on modern hardware, so i would not expect that to be the first bottle neck you run into. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best release or snapshot to install?
On 7/12/07, Brett Glass [EMAIL PROTECTED] wrote: Since I am not a FreeBSD developer (though I've fed folks snippets of code to incorporate from time to time), I don't have a full time build server. Where is the best way to download a daily/weekly snapshot? ftp.freebsd.org seems only to have one snapshot per month, and does not have one for this month yet. (Hopefully, when they post one, it will have the archive bug fixed.) ahh, got it. you don't have to be a dev. to rebuild your world. having said that you are most likely looking for this: http://www.daemonology.net/freebsd-update/ -p --Brett At 01:54 PM 7/12/2007, Mike Tancsa wrote: I would say from today. ---Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best release or snapshot to install?
On 7/12/07, Brett Glass [EMAIL PROTECTED] wrote: We have a FreeBSD 6.0 server that needs upgrading. This is a production server, and it needs to be stable. There is no posted date for 6.3-RELEASE, so we're looking for a good snapshot to install -- preferably a known good build from 6-STABLE or a build of the security branch of the tree. This would be for a 386-architecture machine. Recommendations? Also, when is 6.3-RELEASE (which will hopefully incorporate a bunch of MFCed improvements from CURRENT) likely to happen? 6.2-RELEASE is the latest stable branch. you should be able to upgrade your world to this release with little problems. going from 6.2-RELEASE to 6.3-RELEASE should be trivial, and any gotcha's should be documented in /usr/src/UPDATE. the latest patch level of 6.2-RELEASE should include all security updates, and bug fixes (as should 6.0-RELEASE/6.1-RELEASE/etc. i do not think snapshot's have gone through the same amount of regression testing as official releases, so you may not want to use those in production environments. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: iscsi and geom mirror - stupid idea or not ?
On 4/19/07, Pete French [EMAIL PROTECTED] wrote: what would happen if I made a machine which contained a mirrored geom pair consiting of one local driive and one drive accessed via iscsi on a remote machine ? would this work ? what I am considering is two such machines, geographicly distinct. one is a 'master' and boots off the mirrored drive, the other is a slave and has a separate boot drive which just rngs FreeBSD to make the drive inside it into an iscsi target for the first machine. The idea here is if the first machine is catastrphicly killed (like building falls down on it or something) then the second one can be rebooted from the internal drive, and will hence become the first one. It's basically a way of making a standby machine in case of disaster. I havent really looked at iSCSI until recently, and this is just one of the ideas I came up with looking at the possibilities. iSCSI is good for many things - although i would not suggest this setup. it sounds like you are trying to use the mirror/iSCSI architecture as some sort of backup scheme. it may make more sense to capture snapshot's of your data and mirror that off to secondary storage. along these same lines is a common iSCSI implementation of having a dedicated piece of hardware that manages RAID, grouping of LUN's and other management functions. this allows you physically, and logically, implement some sort of redundancy/backup schema independent of the iSCSI consumer (i.e. the OS that will be mounting the iSCSI volume). let the machine hosting the iSCSI storage do it's job, and let the client do it's job - it does not make sense to try to mix these too. so the short answer is i would not try to mix iSCSI volumes with local volumes via a software mirror. a properly implemented iSCSI solution can easily account for DR situations, and using filesystem snapshotting will make this task easier as well. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
snipping dmesg ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default ad0: 114473MB WDC WD1200JB-00GVA0 08.02D08 at ata0-master UDMA100 acd0: DVDR HL-DT-ST DVDRAM GSA-4163B/A104 at ata1-master UDMA33 ad4: 152627MB WDC WD1600JD-00GBB0 02.05D02 at ata2-master SATA150 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 ^ ??? i assume you are asking what those errors mean you most likely have a bad cdrom in there, or the drive has an error. try a different disk, and if that fails try another drive. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: benchmark
On 1/5/07, Eugene Grosbein [EMAIL PROTECTED] wrote: On Fri, Jan 05, 2007 at 09:56:31AM -0800, pete wright wrote: Tried to use iperf from ports in UDP mode with 64 byte payload, but it calls gettimeofday() after each write and gives me about 80Kpps only for Pentium D 2.8Ghz. What alternative should I use? May be, a netgraph node? I've done some benchmarking/testing of 10gig-e NIC's using a combo of iperf/netgraph and ttcp with good results. all are available in ports. What pps numbers had you obtained? What CPU had you used? I don't like iperf for gettimeofday() overhead. yea that was an issue, hence us using multiple benchmarks to get a better picture of performance. sorry can't really get into the specifics on the hardware/stat's of the benchmark. used 10gig-e as example to illustrate that all these utilities functioned well under heavy tcp and udp loads. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: benchmark
On 1/5/07, Eugene Grosbein [EMAIL PROTECTED] wrote: Hi! I'm trying to meashure network throughput between two 6.2-PRERELEASE boxes, basically get maximim IP packets per second transmitted/received. Tried to use iperf from ports in UDP mode with 64 byte payload, but it calls gettimeofday() after each write and gives me about 80Kpps only for Pentium D 2.8Ghz. What alternative should I use? May be, a netgraph node? I've done some benchmarking/testing of 10gig-e NIC's using a combo of iperf/netgraph and ttcp with good results. all are available in ports. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Netgraph - ng_bpf help (first experience)
On 10/10/06, Eduardo Meyer [EMAIL PROTECTED] wrote: Hello, I tried asking it on freebsd-ipfw@ but I got no luck. Maybe because this is related to Netgraph and not ipfw essentially. I want to use ng_bpf to use ng_tag to use ipfw-tag. Looks like lego, where I have to assemble my toy, but I liked Lego when I was a child. Following ng_bpf(4) man page I ran this script: PATTERN=(ether[40:4]=0x134e5844 ether[44:4]=0x6f6d6169 ether[48:4]=0x6e0a) NODEPATH=my_node: INHOOK=hook1 MATCHHOOK=hook2 NOTMATCHHOOK=hook3 cat /tmp/bpf.awk xxENDxx { if (!init) { printf bpf_prog_len=%d bpf_prog=[, \$1; init=1; } else { printf { code=%d jt=%d jf=%d k=%d }, \$1, \$2, \$3, \$4; } } END { print ] } xxENDxx BPFPROG=`tcpdump -s 8192 -ddd ${PATTERN} | awk -f /tmp/bpf.awk` ngctl msg ${NODEPATH} setprogram { thisHook=\${INHOOK}\ \ ifMatch=\${MATCHHOOK}\ \ ifNotMatch=\${NOTMATCHHOOK}\ \ ${BPFPROG} } } But I got this message: ngctl: send msg: No such file or directory are you sure you are able to write to /tmp, this error looks like it is not able to read /tmp/bpf.awk. I printed the full commands that returns the error, it is: ngctl msg setprogram { thisHook= ifMatch= ifNotMatch= bpf_prog_len=8 bpf_prog=[ { code=32 jt=0 jf=0 k=40 } { code=21 jt=0 jf=5 k=323901508 } { code=32 jt=0 jf=0 k=44 } { code=21 jt=0 jf=3 k=1869439337 } { code=32 jt=0 jf=0 k=48 } { code=21 jt=0 jf=1 k=28170 } { code=6 jt=0 jf=0 k=8192 } { code=6 jt=0 jf=0 k=0 } ] } } i suspect this is what the contents of /tmp/bpf.awk are. if not maybe post that to the thread -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I know which files a proccess is accessing?
On 6/6/06, Darren Pilgrim [EMAIL PROTECTED] wrote: Eduardo Meyer wrote: Hello, I need to know which files under /var a proccess (httpd here) is acessing. It is not logs because I have a different partition for logs. gstat tells me that slice ad0s1h (my /var) is 100% frequently, and in fact with fstat I can see a number of httpd proccesses running accesing that. But fstat only shows me inodes and the mount point. I need to know which files the proccesses are acessing. find(1) can match inodes. A quick example: fstat | grep 'httpd.*/var ' | awk '{print $6}' | xargs -n 1 sudo find -x /var -inum | sort -u /var/log/httpd-error.log /var/run/accept.lock.# /var/tmp/apr8530d5 /var/tmp/aprF2Zs0e Thanks for the oneliner Darren, that's going in my scripts dir right now ;) -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I know which files a proccess is accessing?
On 6/6/06, pete wright [EMAIL PROTECTED] wrote: On 6/6/06, Eduardo Meyer [EMAIL PROTECTED] wrote: Hello, I need to know which files under /var a proccess (httpd here) is acessing. It is not logs because I have a different partition for logs. gstat tells me that slice ad0s1h (my /var) is 100% frequently, and in fact with fstat I can see a number of httpd proccesses running accesing that. But fstat only shows me inodes and the mount point. I need to know which files the proccesses are acessing. if you can get fstat to help you may want to take a look at lfof, sorry that should be lsof -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I know which files a proccess is accessing?
On 6/6/06, Eduardo Meyer [EMAIL PROTECTED] wrote: Hello, I need to know which files under /var a proccess (httpd here) is acessing. It is not logs because I have a different partition for logs. gstat tells me that slice ad0s1h (my /var) is 100% frequently, and in fact with fstat I can see a number of httpd proccesses running accesing that. But fstat only shows me inodes and the mount point. I need to know which files the proccesses are acessing. if you can get fstat to help you may want to take a look at lfof, available in ports: /usr/ports/sysutils/lsof Lsof (LiSt Open Files) lists information about files that are open by the running processes. An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file (Internet socket, NFS file or Unix domain socket). -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.11 snapshots?
On 5/15/06, Brett Glass [EMAIL PROTECTED] wrote: Is there a server currently furnishing snapshots of the FreeBSD 4.11 security branch? We have some servers running various 4.x versions that might not be happy with 6.x due to memory requirements. They also might have slower file access (The file system in FreeBSD 6.x still isn't as snappy as the one in 4.x, though I hope this will change). So, we'd like to upgrade them to a patch level that includes all recent security fixes. Are ISOs available? according to this link 4.11 is a supported errata branch: http://www.freebsd.org/releng/ here is a link to the errata policy: http://www.freebsd.org/releases/4.11R/errata_policy.html you should be able to sync your source via cvsup from official freebsd mirrors. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: improper handling of dlpened's C++/atexit() code?
On 5/11/06, m m [EMAIL PROTECTED] wrote: I am writing in regard to PR at http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F59552 . I am experiencing behavior on 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Sun Mar 26 00:03:52 EST 2006 which looks a lot like something that would be caused by this PR. This happens when apache-1.3 processes that run with Mason code receive a SIGUSR1 (when newsyslog does log rotation) and apache gracefully kills off all processes when restarting. The following is the stack trace that lead me to this PR: Are you able to reproduce this panic on 6.1-RELEASE? -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reduced java/tomcat performance 6-beta3 - 6-stable ?
On 11/29/05, Eirik Øverby [EMAIL PROTECTED] wrote: On Nov 29, 2005, at 11:37 , Kris Kennaway wrote: On Tue, Nov 29, 2005 at 10:25:07AM +0100, Eirik ?verby wrote: On Nov 29, 2005, at 10:15 , Kris Kennaway wrote: On Tue, Nov 29, 2005 at 09:46:09AM +0100, Eirik Oeverby wrote: On Mon, 28 Nov 2005, Kris Kennaway wrote: On Mon, Nov 28, 2005 at 10:53:00PM +0100, Eirik ?verby wrote: Firmware versions are equal. BIOS settings are equal. However, a diff of the dmesgs show (apart from MAC address differences): 30c30 Timecounter ACPI-safe frequency 3579545 Hz quality 1000 --- Timecounter ACPI-fast frequency 3579545 Hz quality 1000 What on earth is that all about? The slow box has the ACPI-fast timecounter... Could be ACPI bugs on your system: Yes, but the other system is 100% equal - hardware, bios config, bios and bootblock revision, controller bioses, etc. etc. It all matches. Clearly they're not 100% equal, but (100-epsilon)%. Your job is to identify the origin of the epsilon :-) Yea yea ;) Working on it.. Is there a way to force ACPI-safe on the slower system? I think someone already mentioned this..see the kern.timecounter.hardware and other kern.timecounter sysctls. I have now forced ACPI-safe on the slow system, to match the fast one. Too bad though, it made absolutely zero difference. I'm upgrading BIOSes on both boxes now, even though they seem equal. Then I'll see what ACPI debug output shows me. If you have any other hints or ideas, please let me know... thanks so far. /Eirik Have you tired turning off ACPI at boot time. Is there an option to turn it off in the BIOS. This is an HP box correct? I have had some fun in the past chasing down hard to reproduce ACPI problems on HP hardware before, after much software trouble shooting I realized that by turning some knob's in the BIOS got the machines to a stable state (in my case I turned off USB auto detection). HTH -pete Kris ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stable Worldstones - Intel P4 vs AMD
On 11/27/05, Kim Culhan [EMAIL PROTECTED] wrote: On 11/27/05, Subhro [EMAIL PROTECTED] wrote: Kim Culhan sat at his 'puter and typed on 11/28/2005 1:05: Running -Stable make world with recent Intel and AMD hardware yielded some interesting results. Let us have a look at /etc/make.conf. BTW, my *personal* opinion is AMD implements much better pipelining and concurrent processing compared to the Intel platform. So what you see is not something entirely unexpected. No /etc/make.conf in either case -kim Are you using the same disks, and disk controllers on each machine? building work+kernel does a fair amount of disk I/O, so that would be one thing to investigate. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange SATA problem - data corrupting
On 9/12/05, Tomas Randa [EMAIL PROTECTED] wrote: Hello, I have very strange problem with my FreeBSD box and Promise PDC20579 SATA controller: [EMAIL PROTECTED]:7:0: class=0x010400 card=0x3574105a chip=0x3574105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' device = 'Promise SATAII150 579 (tm) IDE Controller' class = mass storage subclass = RAID ad4: 381554MB ST3400832AS/3.02 [775221/16/63] at ata2-master SATA150 Problem is, that every HDD connected to this controller is corrupting data. For example: I copy good tar.gz archive to this drive, and if I do decompression immediately after copying, there is no problem, but if I wait for example 10 minutes, then decompression ends with CRC error: box# gzip -d ./2005-09-11.tar.gz gzip: ./2005-09-11.tar.gz: invalid compressed data--crc error gzip: ./2005-09-11.tar.gz: invalid compressed data--length error I know, that problem is not in HDD or CPU/RAM, but in controller. Could it be a driver problem or not? I tried to turn off soft-updates, but with no change. I have no any ideas what to do or what to try. Thanks a lot for any answer or opinion. Are you sure that it is not an issue with the drives? Just to make sure, you have attached these drives to another, known working system and seen the same issues. Also, have you made sure that the cabling to the drives themselves are not broken, and are seated properlly. To be sure, I'd grab a set of working sata cables and test out again. Finally, if you have done this hardware trouble shooting already and are sure that it is not a hardware issue with your disks/cabling/controller itself I would post the version of FreeBSD you are running (uname -ar) along with a dmesg to the list. -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org http://www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need really cheap IDE mirroring PCI controlled for FreebBSD 4.10
On Wed, 2 Mar 2005 17:27:07 +0300, Artem Kuchin [EMAIL PROTECTED] wrote: Can anybody recommend cheap IDE mirroring PCI (2.0, not 2.1 or 2.2) controller with just 2 IDE ports which works fine with FreeBSD 4.10 ? It is to be installed on a very old motherboard (1998) and two 40GB IDE driver (more or less modern ones, at least not used ones for sure). sorry I don't know of any really cheap one's off hand, altho I do have experience with 3Ware RAID cards on 4.x. They seemed to work well, and they are less expensive than proper SCSI cards...altho slower. If cost really an issue would it be worth mirroring your disks in software via VINUM? -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
make -jN test
: IBM ServeRAID Adapter mem 0xedffe000-0xedff irq 20 at device 5.0 on pci1 ips0: [GIANT-LOCKED] cpu0 on motherboard cpu1 on motherboard orm0: ISA Option ROMs at iomem 0xcc800-0xd47ff,0xcb000-0xcc7ff,0xc-0xcafff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: parallel port not found. sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0501 can't assign resources (port) ppc1: parallel port not found. unknown: PNP0700 can't assign resources (port) unknown: PNP0303 can't assign resources (port) Timecounters tick every 10.000 msec acd0: CDROM LG CD-ROM CRN-8245B/1.16 at ata0-master UDMA33 ips0: adapter type: ServeRAID 4Lx (neo lite) ips0: logical drives: 1 ips0: Logical Drive 0: RAID1 sectors: 71096320, state OK ipsd0: Logical Drive on ips0 ipsd0: Logical Drive (34715MB) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ipsd0s1a So, unless I misread the section of the handbook, I should be seeing a decrease in time for these buldworlds but am not. Any idea why this is not happening. Cheers, Pete Wright -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]