Re: Workaround for data corruption issue with ALI M5229 IDE chip used with Sun Blade 100/Netra X1.

2011-01-13 Thread Jasper Lievisse Adriaanse
On Wed, Jan 12, 2011 at 08:32:12PM -0500, Brad wrote: The following diff is ported from NetBSD (the workaround originated from OpenSolaris) to workaround the issue of data corruption with the ALI M5229 IDE chipset when using UltraDMA. Same workaround is also used by FreeBSD/Linux. This

Re: Workaround for data corruption issue with ALI M5229 IDE chip used with Sun Blade 100/Netra X1.

2011-01-13 Thread Jasper Lievisse Adriaanse
On Thu, Jan 13, 2011 at 09:02:26AM +0100, Jasper Lievisse Adriaanse wrote: On Wed, Jan 12, 2011 at 08:32:12PM -0500, Brad wrote: The following diff is ported from NetBSD (the workaround originated from OpenSolaris) to workaround the issue of data corruption with the ALI M5229 IDE chipset

ospfd and redistribution of overlapping routes

2011-01-13 Thread Claudio Jeker
Hi ospfd users, on of the open todos for ospfd is the redistribution of overlapping routes (e.g 10.0.0.0/8 and 10.0.0.0/16). The problem is that the Link State ID is set to the prefix address and so they are not unique for the two networks. Now it is possible to change the ls_id by changing bits

Re: Workaround for data corruption issue with ALI M5229 IDE chip used with Sun Blade 100/Netra X1.

2011-01-13 Thread Jonathan Gray
The reset callback to wdc was added for this, but it didn't help some systems with the problem so the pciide bits never went in. If someone has a system that is known to need the workaround this can certaintly be looked into again though. On Wed, Jan 12, 2011 at 08:32:12PM -0500, Brad wrote:

Support for size multipliers in newfs/mount_mfs

2011-01-13 Thread Vadim Zhukov
Hello all. This patch allows specifing K/M/T/... prefixies in newfs(8) -S and -s options. Useful for mount_mfs, now you can just say: mount_mfs -s 50m swap /mnt and it will do what you want, taking in account sector size. Old behavior of -s (specifying count of sectors) is, of course,

Re: ospfd - always check config file permissions

2011-01-13 Thread Jonathan Gray
On Thu, Jan 13, 2011 at 12:13:14AM +0100, Claudio Jeker wrote: On Wed, Jan 12, 2011 at 11:57:59PM +0100, Martin Pelikan wrote: Hello, this patch makes ospfd(8) and ospf6d(8) check its config file permissions even if run with a -n to test it. bgpd already behaves this way (changed 6 years

Re: ospfd - always check config file permissions

2011-01-13 Thread Stuart Henderson
On 2011/01/13 00:13, Claudio Jeker wrote: On Wed, Jan 12, 2011 at 11:57:59PM +0100, Martin Pelikan wrote: Hello, this patch makes ospfd(8) and ospf6d(8) check its config file permissions even if run with a -n to test it. bgpd already behaves this way (changed 6 years ago by henning@) and

Re: ospfd - always check config file permissions

2011-01-13 Thread Stefan Sperling
On Thu, Jan 13, 2011 at 02:48:04PM +, Stuart Henderson wrote: On 2011/01/13 00:13, Claudio Jeker wrote: On Wed, Jan 12, 2011 at 11:57:59PM +0100, Martin Pelikan wrote: Hello, this patch makes ospfd(8) and ospf6d(8) check its config file permissions even if run with a -n to test it.

Re: ospfd - always check config file permissions

2011-01-13 Thread Martin Pelikan
On Thu, Jan 13, 2011 at 04:02:47PM +0100, Henning Brauer wrote: the check is dirt cheap, so that is not the point. the aforementioned discussion is just being revived ;) no problem then, here's the new one -- Martin Pelikan Index: parse.y

Re: new radeon driver ids

2011-01-13 Thread Nigel Taylor
On 01/09/11 20:11, Brad wrote: On Sunday 09 January 2011 14:47:57 Nigel Taylor wrote: Hi, The 0x9715,RS880_9715,RS880,,1,,,1,ATI Radeon HD 4290, that should be ATI Radeon HD 4250. It's wrong in the xf86-video-ati driver. Needs reporting upstream. Then file a bug report upstream.

Re: http gzip support for ftp

2011-01-13 Thread Ted Unangst
On Sun, Jan 9, 2011 at 5:08 PM, Ted Unangst ted.unan...@gmail.com wrote: On Sun, 9 Jan 2011, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. Please test, as there are

Re: Support for size multipliers in newfs/mount_mfs

2011-01-13 Thread Alexander Hall
On 01/13/11 14:48, Vadim Zhukov wrote: Hello all. This patch allows specifing K/M/T/... prefixies in newfs(8) -S and -s options. Useful for mount_mfs, now you can just say: mount_mfs -s 50m swap /mnt and it will do what you want, taking in account sector size. Old behavior of -s

bioctl should retry passphrase

2011-01-13 Thread Ted Unangst
If I type the wrong password into bioctl at boot, disks don't exist, filesystems don't get mounted, and generally lots of things go wrong. All I need is a second chance to remind me to type the right password. Index: bioctl.c ===

Re: Support for size multipliers in newfs/mount_mfs

2011-01-13 Thread Ted Unangst
On Thu, Jan 13, 2011 at 8:48 AM, Vadim Zhukov persg...@gmail.com wrote: This patch allows specifing K/M/T/... prefixies in newfs(8) -S and -s options. Useful for mount_mfs, now you can just say: mount_mfs -s 50m swap /mnt and it will do what you want, taking in account sector size. Old

Re: bioctl should retry passphrase

2011-01-13 Thread Marco Peereboom
sure On Thu, Jan 13, 2011 at 06:51:18PM -0500, Ted Unangst wrote: If I type the wrong password into bioctl at boot, disks don't exist, filesystems don't get mounted, and generally lots of things go wrong. All I need is a second chance to remind me to type the right password. Index:

Re: msk(4) diff needs testing.

2011-01-13 Thread Brad
On Saturday 17 April 2010 13:59:56 Brad wrote: Please test the following diff with any msk(4) adapters. Just check that the interfaces are working before and after applying the diff. This corrects the interrupt moderation timer ticks setting for the various generations of chipsets so that

Re: Support for size multipliers in newfs/mount_mfs

2011-01-13 Thread Vadim Zhukov
On 14 January 2011 c. 03:00:30 Ted Unangst wrote: On Thu, Jan 13, 2011 at 8:48 AM, Vadim Zhukov persg...@gmail.com wrote: case 'S': - sectorsize = strtonum(optarg, 1, INT_MAX, errstr); - if (errstr) -

fix comopen() infinite loop with (flaky?) puc(4) card

2011-01-13 Thread Stefan Sperling
I have the following puc(4) device in a net5501 soekris: puc0 at pci0 dev 14 function 0 NetMos Nm9865 rev 0x00: ports: 1 com com3 at puc0 port 0 irq 10: st16650, 32 byte fifo puc1 at pci0 dev 14 function 1 NetMos Nm9865 rev 0x00: ports: 1 com com4 at puc1 port 0 irq 15: st16650, 32 byte fifo

Re: Support for size multipliers in newfs/mount_mfs

2011-01-13 Thread Vadim Zhukov
On 14 January 2011 ?. 02:46:49 Alexander Hall wrote: On 01/13/11 14:48, Vadim Zhukov wrote: @@ -230,10 +232,12 @@ from its default will make it impossible to find the alternate superblocks if the standard superblock is lost. .It Fl s Ar size -The size of the file system in sectors.

Re: add Radeon HD 4250 to sys/dev/pci/pcidevs

2011-01-13 Thread Nigel Taylor
On 01/09/11 19:42, Nigel Taylor wrote: On 01/09/11 01:14, Brynet wrote: Nigel wrote: Hi, You might be interested in other patches for the 880 chip set. See OpenBSD X11 mail lists. ATI/AMD driver for 880G chipset http://marc.info/?l=openbsd-x11m=128975076103964w=2 I am considering

Re: http gzip support for ftp

2011-01-13 Thread Vadim Zhukov
On 14 January 2011 c. 02:26:24 Ted Unangst wrote: On Sun, Jan 9, 2011 at 5:08 PM, Ted Unangst ted.unan...@gmail.com wrote: On Sun, 9 Jan 2011, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp

Re: bioctl should retry passphrase

2011-01-13 Thread Joel Sing
On Friday 14 January 2011, Ted Unangst wrote: If I type the wrong password into bioctl at boot, disks don't exist, filesystems don't get mounted, and generally lots of things go wrong. All I need is a second chance to remind me to type the right password. Huh? Both you and Marco rejected this

Re: bioctl should retry passphrase

2011-01-13 Thread Christopher Zimmermann
On 01/14/11 00:51, Ted Unangst wrote: If I type the wrong password into bioctl at boot, disks don't exist, filesystems don't get mounted, and generally lots of things go wrong. All I need is a second chance to remind me to type the right password. In /etc/rc I simply do this: [...] # XXX