Re: Filesystem full when installing custom kernel in FreeBSD

2010-10-19 Thread Ivan Klymenko
В Tue, 19 Oct 2010 00:53:31 +0200 Jack Engqvist Johansson j...@skysel.com пишет: Hi, I just got succeeded with my compilation of a custom kernel for FreeBSD 8.1. But when I'm trying to install it, I got an error. File system is full! So I moved the old kernel to another partition, but

Re: SCSI_DELAY cleanup

2010-10-19 Thread Alexander Best
On Mon Oct 18 10, Matthew Jacob wrote: What problem are you solving by this change? code cleanup. the scsi delay value currently defaults to 2000ms. however that doesn't make sense, since on almost all platforms it gets set to 5000ms in the default config. what's the purpose of having a

Re: Filesystem full when installing custom kernel in FreeBSD

2010-10-19 Thread Ivan Klymenko
В Tue, 19 Oct 2010 13:53:34 +0200 Jack Engqvist Johansson j...@skysel.com пишет: On Tue, Oct 19, 2010 at 8:30 AM, Ivan Klymenko fi...@ukr.net wrote: В Tue, 19 Oct 2010 00:53:31 +0200 Jack Engqvist Johansson j...@skysel.com пишет: Hi, I just got succeeded with my compilation of a

Re: SCSI_DELAY cleanup

2010-10-19 Thread Matthew Jacob
It would be an effective behavioral change for those of us who remove that line. Personally, I think 5 seconds is too long- even 2 seconds is more than adequate even for moderately old 'other' hardware like scanners. For -current, why don't you simply remove all of the config lines and leave

Re: Filesystem full when installing custom kernel in FreeBSD

2010-10-19 Thread Ivan Klymenko
В Tue, 19 Oct 2010 15:58:35 +0200 Jack Engqvist Johansson j...@skysel.com пишет: On Tue, Oct 19, 2010 at 3:38 PM, Ivan Klymenko fi...@ukr.net wrote: В Tue, 19 Oct 2010 13:53:34 +0200 Jack Engqvist Johansson j...@skysel.com пишет: On Tue, Oct 19, 2010 at 8:30 AM, Ivan Klymenko

Re: SCSI_DELAY cleanup

2010-10-19 Thread Alexander Best
On Tue Oct 19 10, Matthew Jacob wrote: It would be an effective behavioral change for those of us who remove that line. Personally, I think 5 seconds is too long- even 2 seconds is more than adequate even for moderately old 'other' hardware like scanners. For -current, why don't you

Re: SCSI_DELAY cleanup

2010-10-19 Thread Matthew Jacob
I'd go for the gusto in -current, but it's ok to be conservative too. On Tue Oct 19 10, Matthew Jacob wrote: It would be an effective behavioral change for those of us who remove that line. Personally, I think 5 seconds is too long- even 2 seconds is more than adequate even for moderately

Re: SCSI_DELAY cleanup

2010-10-19 Thread John Baldwin
On Tuesday, October 19, 2010 10:31:10 am Alexander Best wrote: On Tue Oct 19 10, Matthew Jacob wrote: It would be an effective behavioral change for those of us who remove that line. Personally, I think 5 seconds is too long- even 2 seconds is more than adequate even for moderately old

Re: SCSI_DELAY cleanup

2010-10-19 Thread Alexander Best
On Tue Oct 19 10, John Baldwin wrote: On Tuesday, October 19, 2010 10:31:10 am Alexander Best wrote: On Tue Oct 19 10, Matthew Jacob wrote: It would be an effective behavioral change for those of us who remove that line. Personally, I think 5 seconds is too long- even 2 seconds is

Re: SCSI_DELAY cleanup

2010-10-19 Thread John Baldwin
On Tuesday, October 19, 2010 3:14:46 pm Alexander Best wrote: On Tue Oct 19 10, John Baldwin wrote: On Tuesday, October 19, 2010 10:31:10 am Alexander Best wrote: On Tue Oct 19 10, Matthew Jacob wrote: It would be an effective behavioral change for those of us who remove that line.

Re: Filesystem full when installing custom kernel in FreeBSD

2010-10-19 Thread Ivan Klymenko
В Tue, 19 Oct 2010 16:31:55 +0200 Jack Engqvist Johansson j...@skysel.com пишет: bsd# du -chd0 /root 457M  /root 457M  total !! do not use the Root account to work in the system! !! Create another account for this... go to this directory (/root) and delete the files that

Re: Filesystem full when installing custom kernel in FreeBSD

2010-10-19 Thread Ivan Klymenko
В Tue, 19 Oct 2010 23:28:10 +0300 Ivan Klymenko fi...@ukr.net пишет: В Tue, 19 Oct 2010 16:31:55 +0200 Jack Engqvist Johansson j...@skysel.com пишет: bsd# du -chd0 /root 457M  /root 457M  total !! do not use the Root account to work in the system! !! Create

Radeon DRI/3D status

2010-10-19 Thread xorquewasp
Hello. What's the current status of DRI/3D support with the 4xxx range of ATI cards? I'm on 8.0-RELEASE and have just installed a (borrowed) 4870 card. I get working dual monitor support but only software rasterization in xorg. The intention is to replace a broken x1950 card with something at

Re: Filesystem full when installing custom kernel in FreeBSD

2010-10-19 Thread Garrett Cooper
On Tue, Oct 19, 2010 at 1:36 PM, Ivan Klymenko fi...@ukr.net wrote: В Tue, 19 Oct 2010 23:28:10 +0300 Ivan Klymenko fi...@ukr.net пишет: В Tue, 19 Oct 2010 16:31:55 +0200 Jack Engqvist Johansson j...@skysel.com пишет: bsd# du -chd0 /root 457M  /root 457M  total !! do

addition of sysctl nodes after compile time

2010-10-19 Thread Alexander Best
hi there, i stumbled upon this note in the BUGS section of the cd(4) manual: There is no mechanism currently to set different minimum and maximum timeouts for different CD changers; the timeout values set by the kernel options or the sysctl variables apply to all LUN-based CD

Re: SCSI_DELAY cleanup

2010-10-19 Thread Warner Losh
also at some locations in the code SCSI_DELAY is being set to 15000. i believe this is the case when certain drivers (cam, ahb, aha) get loaded as a kernel module, but i'm not sure. it looks like this: .if !defined(KERNBUILDDIR) opt_scsi.h: echo #define SCSI_DELAY 15000 ${.TARGET}

Re: SCSI_DELAY cleanup

2010-10-19 Thread Warner Losh
opt_scsi.h isn't needed by aha or ahb either, so it can be deleted entirely from their module makefiles: Index: aha/Makefile === --- aha/Makefile(revision 214058) +++ aha/Makefile(working copy) @@ -4,11 +4,6 @@

Re: SCSI_DELAY cleanup

2010-10-19 Thread Alexander Best
On Tue Oct 19 10, Warner Losh wrote: opt_scsi.h isn't needed by aha or ahb either, so it can be deleted entirely from their module makefiles: thanks. :) what about trb/Makefile? seems to build fine too without opt_scsi.h. Index: aha/Makefile

Re: SCSI_DELAY cleanup

2010-10-19 Thread Julian Elischer
On 10/19/10 5:39 PM, Warner Losh wrote: opt_scsi.h isn't needed by aha or ahb either, so it can be deleted entirely from their module makefiles: consider I write the original aha driver in 1991 and it is an ISA device, one wonders if there are any users of this any more.. Index:

device.hints(5) typo fix

2010-10-19 Thread Garrett Cooper
Something trivial I noticed while browsing device.hints(5) today. If someone could commit the typo fix, it would be much appreciated. Cheers! -Garrett Index: share/man/man5/device.hints.5 === --- share/man/man5/device.hints.5

Re: addition of sysctl nodes after compile time

2010-10-19 Thread Andriy Gapon
on 20/10/2010 02:36 Alexander Best said the following: [snip] mentation at least would be rather inelegant, because of the current inability of the sysctl code to handle the addition of nodes after com- pile time. Thus, it would take one dynamically sized sysctl variable and