Re: Locking a file backed mdconfig into memory
On 2010-05-30 07:42:47PM -0700, Dave Hayes wrote: > Garrett Cooper writes: > > This is how I do it in my quickie loader.rc: > > include /boot/loader.4th > > set vfs.root.mountfrom="ufs:/dev/md0" > > load /kernel > > load -t mfs_root /mfsroot > > start > > I used to do exactly this back at FreeBSD 4.11 to boot off a cdrom. > Nice to know it still works this way. > > Jeremy Chadwick writes: > > However, what I'm having trouble understanding is what exactly > > preload_search_info() looks for and how all this actually connects > > and works. It appears to me that there are specific drivers located in > > src/sys/dev that are KLD-supported and others which are expected to be > > included in the kernel statically. > > Maybe this confusion explains why /dev/md0c is giving me random crashes > at the moment? > > Of course, another theory might be the size of my initial ramdisk > (300Mb). Would there any known bug where booting off a large ramdisk > causes unreadable panics to flash past the console too rapidly to view? Run memtest86 on the first 300mb of ram lately? Does your ramdisk crash at any size? -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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 eats 169.254.x.x addressed packets
On 2010-06-08 11:44:29AM -0700, Jeremy Chadwick wrote: > On Tue, Jun 08, 2010 at 02:26:10PM -0400, Stephen Clark wrote: > > On 06/08/2010 02:05 PM, Jeremy Chadwick wrote: > > >On Tue, Jun 08, 2010 at 01:45:59PM -0400, Stephen Clark wrote: > > >>Why does FreeBSD 6.3 eat 169.254.x.x addressed packet when > > >>4.9 didn't? > > > > > >The following output would help: > > > > > >- ifconfig -a > > >- netstat -rn > > >- Contents of /etc/rc.conf > > > > > >Also, be aware that RELENG_6 is to be EOL'd at the end of this year: > > >http://security.freebsd.org/ > > > > > Hi Jeremy, > > > > I am not sure that information is relevant. We have two systems configured > > identically one using 4.9 the other 6.3. > > My concern was that someone had botched something up in rc.conf or > during the OS upgrade/migration, resulting in there being no loopback > interface. I also wanted to verify that your routing table looked > correct for what ifconfig showed. > > Other users pointed you to RFC 3927. Wikipedia has this to say: > > http://en.wikipedia.org/wiki/Link-local_address > > "Based on RFC 3927, IPv4 uses the 169.254.0.0/16 range of addresses. > However, the first and last /24 subnet (256 addresses each) in this > block have been excluded from use and are reserved by the standard.[1]" > > I read this to mean 169.254.0.0/24 and 169.254.255.0/24. > > Your previous ifconfig statement shows: > > > $ ifconfig rl0 > > rl0: flags=8843 mtu 1500 > > options=8 > > inet 192.168.129.1 netmask 0xff00 broadcast 192.168.129.255 > > inet 169.254.1.1 netmask 0x broadcast 169.254.255.255 > > ether 00:30:18:ae:7c:77 > > media: Ethernet autoselect (100baseTX ) > > status: active > > With this configuration, you're using both the first and last /24 > netblocks -- 169.254.0.0 for your network address, and 169.254.255.255 > for your broadcast address. > > You should be able to avoid this by using 169.254.1.0/24. > RFC 3927 also has complicated rules involving when one can or should not use a link-local address on the same interface as a routable IP, so at best your configuration may not be supported anyway. One should not use a link-local address as if it were under RFC 1918 rules, in particular because link-local involves self-assigned addresses and internal conflict mitigation. -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)
Does the recipient MTA actually receive for both klop.yi.org *and* thuis.klop.ws? The recipient MTA will dereference the CNAME and rewrite the envelope for the reason that it can only relay to an RR that points to a real host. You might be able to fix it if you configure the mta on thuis.klop.ws to accept mail for the thuis.klop.ws domain in addition to klop.yi.org (which I assume is how you have it setup). In a situation like this if you have domain CNAME originaldomain then you better make sure that someone can send to either @domain AND @originaldomain otherwise it doesn't make sense. On 2010-08-27 10:03:52AM +0200, Ronald Klop wrote: > offtopic, but why do some mailers replace a CNAME in a mail-address? > > r...@sheeva2:/var/vmail# host klop.yi.org > klop.yi.org CNAME thuis.klop.ws > thuis.klop.ws A 212.123.145.58 > > It is not the first time that I'm bitten by this, but I never understood > it. > > Ronald. > > On Tue, 24 Aug 2010 22:05:46 +0200, Andriy Gapon wrote: > > > > > Ronald, > > > > your email address bounces, that's inconvenient. > > > > > > Original Message > > Subject: Returned mail: Service unavailable > > Date: Tue, 24 Aug 2010 23:03:33 +0300 (EEST) > > From: Mail Delivery Subsystem > > To: > > > > The original message was received at Tue, 24 Aug 2010 23:03:27 +0300 > > (EEST) > > from porto-e.starpoint.kiev.ua [212.40.38.100] > > > >- The following addresses had permanent fatal errors - > > > > > >- Transcript of session follows - > > ... while talking to thuis.klop.ws.: > >>>> RCPT To: > > <<< 554 5.7.1 : Relay access denied > > 554 ... Service unavailable > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: is there a bug in AWK on 6.x and 7.x (fixed in 8.x)?
Is this becuase the behavior of "FS=" was changed to match the behavior of awk -F On 2010-10-02 09:58:27PM +0200, Miroslav Lachman wrote: > I think there is a bug in AWK in base of FreeBSD 6.x and 7.x (tested on > 6.4 i386 and 7.3 i386) > > I have this simple test case, where I want 2 columns from GeoIP CSV file: > > awk 'FS="," { print $1"-"$2 }' GeoIPCountryWhois.csv > > It should produce output like this: > > # awk 'FS="," { print $1"-"$2 }' GeoIPCountryWhois.csv | head -n 5 > "1.0.0.0"-"1.7.255.255" > "1.9.0.0"-"1.9.255.255" > "1.10.10.0"-"1.10.10.255" > "1.11.0.0"-"1.11.255.255" > "1.12.0.0"-"1.15.255.255" > > (above is taken from FreeBSD 8.1 i386) > > On FreeBSD 6.4 and 7.3 it results in broken first line: > > awk 'FS="," { print $1"-"$2 }' GeoIPCountryWhois.csv | head -n 5 > "1.0.0.0","1.7.255.255","16777216","17301503","AU","Australia"- > "1.9.0.0"-"1.9.255.255" > "1.10.10.0"-"1.10.10.255" > "1.11.0.0"-"1.11.255.255" > "1.12.0.0"-"1.15.255.255" > > There are no errors in CSV file, it doesn't metter if I delete the > affected first line from the file. > > It is reproducible with handmade file: > > # cat test.csv > "1.9.0.0","1.9.255.255","17367040","17432575","MY","Malaysia" > "1.10.10.0","1.10.10.255","17435136","17435391","AU","Australia" > "1.11.0.0","1.11.255.255","17498112","17563647","KR","Korea, Republic of" > "1.12.0.0","1.15.255.255","17563648","17825791","CN","China" > "1.16.0.0","1.19.255.255","17825792","18087935","KR","Korea, Republic of" > "1.21.0.0","1.21.255.255","18153472","18219007","JP","Japan" > > > # awk 'FS="," { print $1"-"$2 }' test.csv > "1.9.0.0","1.9.255.255","17367040","17432575","MY","Malaysia"- > "1.10.10.0"-"1.10.10.255" > "1.11.0.0"-"1.11.255.255" > "1.12.0.0"-"1.15.255.255" > "1.16.0.0"-"1.19.255.255" > "1.21.0.0"-"1.21.255.255" > > > As it works in 8.1, can it be fixed in 7-STABLE? > (I don't know if it was purposely fixed or if it is coincidence of newer > version of AWK in 8.x) > > Should I file PR for it? > > Miroslav Lachman > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: ISDN4BSD removal
Or have they been superceded by voip stacks that abstract away the isdn layer? I would contend, at least in the US, ISDN is alive and well. Your basic smb softpbx installation is going to be talking to a digium card that is connected to a Basic/Primary Rate ISDN (B/PRI) or T-line. If the OP is using I4B to do voice data processing, perhaps he would be better served migrating to either freeswitch and/or asterisk ports? On 2010-10-08 12:27:56PM -0700, Doug Barton wrote: > On 10/8/2010 2:12 AM, Oliver Brandmueller wrote: > > ISDN is a dying technology. > > That sort of isn't relevant to the questions of: > 1) Are there developers willing to support it, and > 2) Are there users that want to use it. > > If both of those are true, then we need to do support it. > > > Doug (tools, not policy) > > -- > > Breadth of IT experience, and| Nothin' ever doesn't change, > depth of knowledge in the DNS. | but nothin' changes much. > Yours for the right price. :) |-- OK Go > http://SupersetSolutions.com/ > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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"
ahc(4) on aic7899 wedges with a Tandberg LTO-2 sa drive
LB|OID|TWIN_TID) Nov 21 08:58:15 phoenix kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Nov 21 08:58:15 phoenix kernel: 3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Nov 21 08:58:15 phoenix kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Nov 21 08:58:15 phoenix kernel: 4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) ... Nov 21 08:58:15 phoenix kernel: 31 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Nov 21 08:58:15 phoenix kernel: SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Nov 21 08:58:15 phoenix kernel: Pending list: Nov 21 08:58:15 phoenix kernel: 238 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x67] SCB_LUN[0x0] Nov 21 08:58:15 phoenix kernel: Kernel Free SCB list: 239 240 241 242 243 244 245 246 248 249 250 251 252 253 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Nov 21 08:58:15 phoenix kernel: Untagged Q(6): 238 Nov 21 08:58:15 phoenix kernel: Nov 21 08:58:15 phoenix kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> Nov 21 08:58:15 phoenix kernel: (sa0:ahc0:0:6:0): SCB 0xee - timed out Nov 21 08:58:15 phoenix kernel: sg[0] - Addr 0x21706000 : Length 4096 Nov 21 08:58:15 phoenix kernel: sg[1] - Addr 0x217aa000 : Length 4096 Nov 21 08:58:15 phoenix kernel: sg[2] - Addr 0x2183b000 : Length 4096 ... Nov 21 08:58:15 phoenix kernel: sg[7] - Addr 0x221f6000 : Length 4096 Nov 21 08:58:15 phoenix kernel: (sa0:ahc0:0:6:0): Queuing a BDR SCB Nov 21 08:58:15 phoenix kernel: Infinite interrupt loop, INTSTAT = 0ahc0: Timedout SCBs already complete. Interrupts may not be functioning. Nov 21 08:58:17 phoenix kernel: Infinite interrupt loop, INTSTAT = 0ahc0: Recovery Initiated Nov 21 08:58:17 phoenix kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< Nov 21 08:58:17 phoenix kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x18 Nov 21 08:58:17 phoenix kernel: Card was paused ... Nov 21 08:58:17 phoenix kernel: (sa0:ahc0:0:6:0): no longer in timeout, status = 24b Nov 21 08:58:17 phoenix kernel: ahc0: target 6 using 8bit transfers Nov 21 08:58:17 phoenix kernel: ahc0: target 6 using asynchronous transfers Nov 21 08:58:17 phoenix kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Nov 21 08:58:17 phoenix kernel: (sa0:ahc0:0:6:0): Command timed out Nov 21 08:58:17 phoenix kernel: (sa0:ahc0:0:6:0): error 5 Nov 21 08:58:17 phoenix kernel: (sa0:ahc0:0:6:0): Retries Exausted Nov 21 08:58:17 phoenix kernel: ahc0: Timedout SCBs already complete. Interrupts may not be functioning. Nov 21 08:58:17 phoenix kernel: (ahc0:A:6:0): Sending PPR bus_width 1, period 9, offset 7e, ppr_options 2 Nov 21 08:58:17 phoenix kernel: (ahc0:A:6:0): Received PPR width 1, period 9, offset 7e,options 2 Nov 21 08:58:17 phoenix kernel: Filtered to width 1, period 9, offset 7e, options 2 Nov 21 08:58:17 phoenix kernel: ahc0: target 6 using 16bit transfers Nov 21 08:58:17 phoenix kernel: ahc0: target 6 synchronous at 80.0MHz DT, offset = 0x7e Nov 21 09:02:17 phoenix kernel: ahc0: Recovery Initiated ... until shutdown. A shutdown -r will still leave the controller wedged until a fullblow powercycle is done without the tape in the drive. Reading from tapes work just fine though. Also this identical hardware work just fine under Linux. Please help. Thanks! -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Integrated RTL8168/8111 NIC not assigned interface
On 2008-11-22 08:09:31AM +1100, Peter Jeremy wrote: > On 2008-Nov-21 00:07:26 -0800, hamtilla <[EMAIL PROTECTED]> wrote: > >I'm running 7.0-RELEASE-i386 on Jetway's NC92-N230 mainboard. The board has > >one integrated RTL8168/8111 gigabit NIC as well as an expansion board with > >three RTL8168/8111 NICs. Why would the three NICs work while the onboard NIC > >does not? > > > >[EMAIL PROTECTED]:1:0:0: class=0x02 card=0x816810ec chip=0x816810ec > >rev=0x02 hdr=0x00 > >vendor = 'Realtek Semiconductor' > >device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > >class = network > >subclass = ethernet > >[EMAIL PROTECTED]:2:4:0: class=0x02 card=0x10ec16f3 chip=0x816710ec > >rev=0x10 > >hdr=0x00 > >vendor = 'Realtek Semiconductor' > >device = 'RTL8169/8110 Family Gigabit Ethernet NIC' > >class = network > >subclass = ethernet > ... > > The on-board NIC is a different type to your expansion cards (note the > different 'chip=' values. Looking at the code, it appears that only > some variants of the RTL8168 are supported in 7.x. Unfortunately, pciconf > doesn't report the actual hardware revision, so you can't tell from the > pciconf output whether it's supported or not. > > Can you report the output of 'pciconf -r pci0:1:0:0 0x40' (which should > report the hw revision) and 'pciconf -r pci0:2:4:0 0x40' (which gives > me a double-check). > > You could try booting -current and see if the on-board NIC works there - > the range of supported NICs has changed. > > -- > Peter Jeremy > Please excuse any delays as the result of my ISP's inability to implement > an MTA that is either RFC2821-compliant or matches their claimed behaviour. Yes, 7.0-R is pretty old in terms of re(4) work. I believe yongari@ is still working on this driver. 7.1 is close enough for patching with patches from http://people.freebsd.org/~yongari/re/ Currently development is stifled because he has to basically guess the appropriate magic values for various PHY permutations in these 8111C/8168C gigabit cards everyone seems to be putting in their motherboards these days. -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ext2 inode size patch - RE: PR kern/124621
On 2008-11-25 10:11:09AM -0500, Josh Carroll wrote: > > Ok, I describe my concern once more. I do not object against the checking > > of the inode size. But, if inode size is changed, then some data is added > > to the inode, that could (and usually does, otherwise why extend it ?) > > change intrerpetation of the inode. Thus, we need a verification of the > > fact that simply ignoring added fields does not damage filesystem or > > cause user data corruption. Verification != testing. > > Ok, I see your point. I will do some more research into the ext2 inode > structure on disk and see what happens when inode size > 128. Possibly overstating the obvious, but since e2fsprogs were the ones who actually initiated the change in default inode size, maybe start digging through that to see what it actually does with the other 128 bytes (the changelog and some posts on comp.os.linux seem to suggest is that it has something to do with optimizing extended attributes/acls; basically extended acls being inaccessible to kernels that ignore the extra data, and 2.4 kernels refusing to mount those filesystems at all (presumably due to the same assumption we've been making)). -- =========== Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 7 STABLE 200807 amd64 - Realtek 8168 not working
You need to move up to at least 20080716... On 2008-12-02 06:05:19PM -0500, Peter Sprokkelenburg wrote: > I have an Asus P5Q-WS running FreeBSD 7 and the onboard Realtek NIC's are > not being detected. > > No Kernel modifications as this is a fresh install. > > pciconf -lv : > > [EMAIL PROTECTED]:3:0:0: class=0x02 card=0x82c61043 chip=0x816810ec > rev=0x02 > hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > class = network > subclass = ethernet > [EMAIL PROTECTED]:2:0:0: class=0x02 card=0x82c61043 chip=0x816810ec > rev=0x02 > hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > class = network > subclass = ethernet > > /var/log/messages: > > pci3: on pcib6 > Dec 2 17:37:21 nas kernel: re0: > port 0xc800-0xc8ff mem 0xfe5ff000-0xfe5f,0xfdef > -0xfdef irq 16 at device 0.0 on pci3 > Dec 2 17:37:21 nas kernel: re0: Unknown H/W revision: 3c40 > Dec 2 17:37:21 nas kernel: device_attach: re0 attach returned 6 > Dec 2 17:37:21 nas kernel: pcib7: irq 18 at device > 28.5 on pci0 > Dec 2 17:37:21 nas kernel: pci2: on pcib7 > Dec 2 17:37:21 nas kernel: re1: > port 0xb800-0xb8ff mem 0xfe4ff000-0xfe4f,0xfddf > -0xfddf irq 17 at device 0.0 on pci2 > Dec 2 17:37:21 nas kernel: re1: Unknown H/W revision: 3c40 > Dec 2 17:37:21 nas kernel: device_attach: re1 attach returned 6 > > Is anymore info need to generate a patch? > > let me know. > > > -- > Peter Sprokkelenburg > mailto:[EMAIL PROTECTED] > > > > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sysinstall automatic partition labelling/sizing problem
Might be helpful to remember that /root is on /, so if you're in the habit of leaving stuff in /root for doing sysadmin tasks, it can kill / pretty quickly... On 2008-12-04 10:08:59AM +0100, Ruben de Groot wrote: > > /boot/kernel is ~118 MB on my system (including debugging symbols). > Default size of the root partition created by sysinstall is 512 MB, in your > case downsized to 360 to accomodate other partitions on your 8GB disk. > Should still be enough though. Do you have any other big files hanging > around in your root partition? > > Ruben > > On Wed, Dec 03, 2008 at 03:42:04PM +0900, Nathan Butcher typed: > > Automatic labelling on 7.0 created about 360MB for my root partition on > > a 8GB disk. After a buildkernel into 7.1-PRERELEASE, the root partition > > was exhausted during the installkernel. > > > > Maybe automatic labelling in sysinstall needs to allocate more than > > 360MB in the root (/) partition if it's going to stay big enough to > > accomodate a buildkernel and installkernel from source. > > > > ___ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samsung SCX-4200 printer
What language does this printer use? I am a big fan of the minimalistic BSD LPD/R, so I usually just whip up an output filter that cats everything (since just about every app natively prints as postscript these days [besides gimp-app I guess]) to ghostscript. Works for basically any printer with PCL or PS support (actually, with some of the the elcheapo PS imitations out there, usually PCL5/XL works better). To me, CUPS/Foomatic comes with some fancy PPDs and filters, but I think a lot of that is bloated since it does similar things under the hood but wrapped in more layers of magic... On 2009-01-06 04:46:40PM -0500, SDH Support wrote: > > > Is there a way to install the SCX-4200 printer on a FreeBSD box ? > > I would recommend googling this printer and determining its support on linux > first and then perhaps following the large amount of documentation with > installing CUPS for freebsd. I've gotten many different printers working on > my own. > > > > > --- > Kevin K. > Systems Administrator > www.webcanadahosting.com > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: NIC for VLAN
The Intel ones driven by em(4) (Intel EtherExpress Pro/1000)? RTL8169/8111/8168 use closed specs, quirks have to be reverse engineered into the driver. On 2009-01-07 05:01:47PM -0200, Edvaldo Silva wrote: > Hello, guys! > > Please, can someone point a NIC, PCI 2.2 specs, full VLAN capable under > FreeBSD? > > I´m finding terrible issues using RTL8169 and 3C9x, almost all for the > fact NIC cannot handle MTU a little bigger than 1500 (1500 + vlan > tagging). > > I don´t wish reducing MTU. > > -- > Edvaldo Silva - Administrador de Redes > Americana Digital > www.americanadigital.com.br > (19) 3471-2000 > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Samsung SCX-4200 printer
On 2009-01-07 11:03:57PM +0100, Harald Weis wrote: > On Tue, Jan 06, 2009 at 05:06:32PM -0500, Peter C. Lai wrote: > > What language does this printer use? I am a big fan of the minimalistic > > BSD LPD/R, so I usually just whip up an output filter that cats everything > > (since just about every app natively prints as postscript these days > > [besides gimp-app I guess]) to ghostscript. Works for basically any printer > > with PCL or PS support (actually, with some of the the elcheapo PS > > imitations out there, usually PCL5/XL works better). To me, CUPS/Foomatic > > comes with some fancy PPDs and filters, but I think a lot of that is > > bloated since it does similar things under the hood but wrapped in more > > layers of magic... > > > > On 2009-01-06 04:46:40PM -0500, SDH Support wrote: > > > > > > > Is there a way to install the SCX-4200 printer on a FreeBSD box ? > > > > > > I would recommend googling this printer and determining its support on > > > linux > > > first and then perhaps following the large amount of documentation with > > > installing CUPS for freebsd. I've gotten many different printers working > > > on > > > my own. > > > > > > > > > > > > > > > --- > > > Kevin K. > > > Systems Administrator > > > www.webcanadahosting.com > > > > > > ___ > > > 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" > > > > -- > > === > > Peter C. Lai | Bard College at Simon's Rock > > Systems Administrator| 84 Alford Rd. > > Information Technology Svcs. | Gt. Barrington, MA 01230 USA > > peter AT simons-rock.edu | (413) 528-7428 > > === > > Many thanks for all your comments and hints. > > Briefly for your information: The printer was bought by a person > who was a Linux user from the very beginning. He had no time to install > it though. In the mean time he has become a FreeBSD user and is working > all-day on a FreeBSD laptop (as a general practitioner, perhaps the > only one on earth). He's still short of time. A year ago or so I > tried to install the printer on his desktop machine. But I could not > find any SCX-4200 reference on openprinting.org. This time I reinstalled > all CUPS components on a 7.0-RELEASE, and finally looked for your help. > > Well, I've started with the first advice, found UnifiedLinuxDriver.tar.gz, > installed manually scx4200.ppd and rastertosamsungspl. I tried all > possible file locations for rastertosamsungspl. But CUPS keeps saying > that it cannot find rastertosamsungspl. It seems to me that CUPS > would be happy with these two files. > > 'spl' seems to stand for Samsung Printer Language. > well, if you're on cups, the splix driver should come with that. "find / -name rastertosamsungspl" would be my best guess, then you have to figure out where it really is supposed to live. If you're on plain ghostscript try using the 'gdi' output device -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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 7, runaway clock as guest OS on Microsoft Virtual Server
On 2009-01-21 09:10:16PM +0100, Dimitry Andric wrote: > However, I am not sure what is at fault here, VMware or FreeBSD... I'd > guess the latter, since neither Linux nor Windows guest OSes seem to > have any such timing problems. Actually I have encountered such problems in mixed-bit environments (64bit VMware hosting 32bit Ubuntu or vice versa). -- =========== Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Installing packages using ports after freebsd-update doesn't work on amd64
Rebuilding the kernel with COMPAT6X should allow ports built under 6x to work under 7x... On 2009-01-25 10:07:24AM -0800, Doug Barton wrote: > Sorin Panca wrote: > > Prior to starting the upgrade I did a pkg_delete -a. I wanted a clean > > system (just like a reinstallation). How do I ensure that all packages > > were removed by pkg_delete -a ? > > Check /usr/local and make sure there is nothing there. In particular > make sure that /usr/local/lib/compat/pkg does not exist. It sounds > like this is already true, but also make sure that /var/db/pkg is > empty as well. If none of that works then you've got a bigger problem. > > If you still can't install ruby and/or portupgrade, try installing a > simple port just using 'make clean ; make install' in the port's > directory. If that works, try a more complex port until something > fails. If nothing fails installing manually it's a problem with > portupgrade and/or ruby and you can send in a new bug report focusing > on that. > > You might also consider using portmaster of course. :) > > > hope this helps, > > Doug > > -- > > This .signature sanitized for your protection > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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-6.x/7.x 1000BaseTX connection problem
On 2009-01-27 01:14:55PM +0800, Balgansuren Batsukh wrote: > Hello, > > I saw by default all 6.x/7.x version can't connect to Cisco Catalyst > 2970G/3750G switch at 1000Mbps speed. > > Only to need to put speed option keyword on /etc/rc.conf? > > Balgaa Cisco is always weird about autonegotiation. (I have linux boxes that fail it every once in a while too). If you want, you can specify media type under the 'ifconfig_xyn =' line in rc.conf: ifconfig_em0 = "inet 1.2.3.4 netmask 255.255.255.0 polling \ media 1000baseTX mediaopt full-duplex" -- =========== Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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, mpt and slow writes
On 2009-01-29 11:43:46AM +, Richard Tector wrote: > Charles Sprickman wrote: >> Hello, >> >> I think this needs a few more eyes: >> >> http://lists.freebsd.org/pipermail/freebsd-scsi/2009-January/003782.html >> >> In short, writes are slow, likely do to the write-cache being enabled on >> the controller. The sysctl used in 6.x to turn the cache off don't seem >> to be in 7.x. > I am guessing this is only related to SATA drives on SAS controllers? The only mpt hardware I have is LSILogic 1030 Ultra4 and it writes sustained 40MB/s to my LTO-2 drives out of the box without any tweaking. -- ======= Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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 8.0: RAID-1 using gpart, gvinum and gmirror
Why are you using gvinum for RAID 1 instead of gmirror? The gmirror method for mirroring the boot partition is already well documented... On 2009-12-02 12:35:17PM +0200, Marin Atanasov wrote: > Hello, > > I'm going to make my partition mirrored using the geom utilities, but > however I've noticed that I cannot use the same way I used to do it under > 7.2 and 8.0-RC1. > > Here's the situation - I tried a lot of times to make my root partition > mirrored using gvinum, but each time when I boot in the new partition I'm > unable to boot from it.. So instead of using gvinum for the root partition > I've decided to use gmirror - and it works! > > I did it the following way - two NOT identical disks are added to the > system. > > - 1 slices on the first disk > - 2 slices on the second one (the 1st slice is the size of the root > partition which is on the 1st slice on the 1st disk) > > Right after a fresh minimal install, I go to single-user mode and create the > mirror: > > # gmirror label -vb round-robin gm0 /dev/ad0s1a > > Installing bootstap code on the second disk (in case I need to boot later > from it): > # fdisk -BI /dev/ad4s1 > # bsdlabel -wB /dev/ad4s1 > # newfs -O2 /dev/ad4s1 > # newfs -O2 -U /dev/ad4s2 > > And then inserting the second component of the mirror: > # gmirror insert gm0 /dev/ad4s1 > > And this is how I was doing a mirror for the root partition. For the other > partitions - /usr, /var, /tmp, swap I used gvinum following a different > articles, howtos and eventually it worked. The complete scenario of how I > did the mirror for the other partitions is here (sorry, it's too long to > just copy/paste it in the lists): > http://www.daemonforums.org/showpost.php?p=27010&postcount=3 > > If I can say it with little words - the way mirroring works for the other > partitions was to overlap all the other partitions with one big vinum > partition. > > My problem now is that I cannot do this anymore, because I need to use gpart > instead for creating the partitions, and using gpart I cannot create a vinum > partition that will overlap the other partitions, so I cannot make any > mirror for the other partitions. > > Is there any other way of doing this? > > I'm out of ideas now, perhaps you could help me out with this :) > > Thanks and regards, > Marin > > -- > Marin Atanasov Nikolov > dnaeon AT gmail DOT com > daemon AT unix-heaven DOT org > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: SSL appears to be broken in 8-STABLE/RELEASE
This might have something to do with a libthr discussion I was CCed on. Someone mentioned something about removing a link to libthr in openssl but I can't remember if this was in the port or base openssl... On 2009-12-18 05:32:41PM -0800, Chris H wrote: > Greetings, > A recent (cvs checkout of src/ports on 2009-12-09) install of 8 seems to > indicate > that changes in SSL have made it virtually unusable. I've spent the past 3 > days > attempting to (re)create an SSL enabled virtual host that serves web based > access > to local mail. Since it's local, I'm using self-signed certs following a > scheme > that > has always worked flawlessly for the past 9 yrs. However, now having > installed 8, > it isn't working. The browser(s) throw "ssl_error_handshake_failure_alert" > (ff-3.56). > Other gecko based, and non-gecko based UA's throw similar, as well as > openssl's > s_client. After immense research, the only thing I can find that might best > explain > it is a recent SA patch applied to FreeBSD's src (SA-09:15). After reading > what the > patch provides. I am able to better understand the error messages thrown to > /var/messages when attempting to negotiate a secure session in a UA: > > kernel: TCP: [web.server.host.IP]:59735 to [web.server.host.IP]:443 tcpflags > 0x18; tcp_do_segment: FIN_WAIT_2: Received 37 bytes of data after > socket was closed, sending RST and removing tcpcb > kernel: TCP: [web.server.host.IP]:59735 to [web.server.host.IP]:443 tcpflags > 0x11; syncache_expand: Segment failed SYNCOOKIE authentication, > segment > rejected (probably spoofed) > kernel: TCP: [web.server.host.IP]:52153 to [web.server.host.IP]:443 tcpflags > 0x18; tcp_do_segment: FIN_WAIT_2: Received 37 bytes of data after > socket was closed, sending RST and removing tcpcb > kernel: TCP: [web.server.host.IP]:52153 to [web.server.host.IP]:443 tcpflags > 0x11; syncache_expand: Segment failed SYNCOOKIE authentication, > segment > rejected (probably spoofed) > kernel: TCP: [web.server.host.IP]:60382 to [web.server.host.IP]:443 tcpflags > 0x18; tcp_do_segment: FIN_WAIT_2: Received 37 bytes of data after > socket was closed, sending RST and removing tcpcb > kernel: TCP: [web.server.host.IP]:60382 to [web.server.host.IP]:443 tcpflags > 0x11; syncache_expand: Segment failed SYNCOOKIE authentication, > segment > rejected (probably spoofed) > > So, if I understand things correctly. The patch prevents (re)negotiation. > Making > the likelihood of a successful "handshake" near null (as the log messages > above > show). I'm sure that some may be quick to point the finger at the self-signed > cert being more likely the cause, I should add that while in fact quite > unlikely, > I too didn't completely rule that out. So I purchased one from startssl - > money > wasted. The results were the same. So it would appear that until something > else > is done to overcome the hole in current openssl, my only recourse is to back > the > patch out, and rebuild openssl && all affected ports - no? > > Thank you for all your time and consideration in this matter. > > --Chris H > > > ___________ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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 8.0 i386 unable to boot...
Well try turning off ACPI, HyperThreading, etc.? On 2010-02-08 09:01:28PM -0500, Pierre-Luc Drouin wrote: > Hi, > > I have a hard time booting FreeBSD 8.0 on one of my machines. It is an > older Pentium with HyperThreading. It was running fine with 7.2 but the > kernel crashed after a buildworld/buildkernel/installkernel/reboot of 8.0. > I had not updated FreeBSD on that machine for a while so I decided to burn > a CD of 8.0 i386 (disc1) and boot the machine with it. This does not work > either however as the kernel wants to automatically reboot the machine > right after the "Probing Device" stage. Here is the error message I get: > > Going nowhere without my init cpuid = 1 > > Does anyone know what can be causing this and how to solve it? > > Thanks! > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: hardware for home use large storage
On 2010-02-09 06:37:47AM -0500, Dan Langille wrote: > Charles Sprickman wrote: >> On Mon, 8 Feb 2010, Dan Langille wrote: > > Also, it seems like >> people who use zfs (or gmirror + gstripe) generally end up buying pricey >> hardware raid cards for compatibility reasons. There seem to be no decent >> add-on SATA cards that play nice with FreeBSD other than that weird >> supermicro card that has to be physically hacked about to fit. Mostly only because certain cards have issues w/shoddy JBOD implementation. Some cards (most notably ones like Adaptec 2610A which was rebranded by Dell as the "CERC SATA 1.5/6ch" back in the day) won't let you run the drives in passthrough mode and seem to all want to stick their grubby little RAID paws into your JBOD setup (i.e. the only way to have minimal participation from the "hardware" RAID is to set each disk as its own RAID-0/volume in the controller BIOS) which then cascades into issues with SMART, AHCI, "triple caching"/write reordering, etc on the FreeBSD side (the controller's own craptastic cache, ZFS vdev cache, vmm/app cache, oh my!). So *some* people go with something tried-and-true (basically bordering on server-level cards that let you ditch any BIOS type of RAID config and present the raw disk devices to the kernel). > > They use software RAID and hardware RAID at the same time? I'm not sure > what you mean by this. Compatibility with FreeBSD? > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: hardware for home use large storage
That's faster than just about anything I have at home. So you should be fine. It should be good enough to serve as primary media center storage even (for retrievals, anyway, probably a tad bit slow for live transcoding). Also does anybody know if benching dd if=/dev/zero onto a zfs volume that has compression turned on might affect what dd (which is getting what it knows from vfs/vmm) might report? On 2010-02-09 03:16:13PM +, Tom Evans wrote: > On Tue, Feb 9, 2010 at 3:01 PM, Dan Langille wrote: > > > > On Tue, February 9, 2010 9:09 am, Tom Evans wrote: > >> On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille wrote: > >> One thing to point out about using a PM like this: you won't get > >> fantastic bandwidth out of it. For my needs (home storage server), > >> this really doesn't matter, I just want oodles of online storage, with > >> redundancy and reliability. > > > > > > A PM? What's that? > > > > Yes, my priority is reliable storage. Speed is secondary. > > > > What bandwidth are you getting? > > > > PM = Port Multiplier > > I'm getting disk speed, as I only have one device behind the PM > currently (just making sure it works properly :). The limits are that > the link from siis to the PM is SATA (3Gb/s, 375MB/s), and the siis > sits on a PCIe 1x bus (2Gb/s, 250 MB/s), so the bandwidth from that is > shared amongst the up-to 5 disks behind the PM. > > Writing from /dev/zero to the pool, I get around 120MB/s. Reading from > the pool, and writing to /dev/null, I get around 170 MB/s. > > Cheers > > Tom > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: hardware for home use large storage
On 2010-02-09 07:52:05PM +0100, Andre Wensing wrote: > > > Freddie Cash wrote: >> On Tue, Feb 9, 2010 at 3:37 AM, Dan Langille wrote: >> >>> Charles Sprickman wrote: >>> >>>> On Mon, 8 Feb 2010, Dan Langille wrote: >>>> >>>>> Also, it seems like >>>> people who use zfs (or gmirror + gstripe) generally end up buying pricey >>>> hardware raid cards for compatibility reasons. There seem to be no decent >>>> add-on SATA cards that play nice with FreeBSD other than that weird >>>> supermicro card that has to be physically hacked about to fit. >>>> >>> They use software RAID and hardware RAID at the same time? I'm not sure >>> what you mean by this. Compatibility with FreeBSD? >>> >>> Add-on (PCI-X/PCIe) RAID controllers tend to have solid drivers in FreeBSD. >> Add-on SATA controllers not so much. The RAID controllers also tend to >> support more SATA features like NCQ, hot-swap, monitoring, etc. They also >> enable you to use the same hardware across OSes (FreeBSD, Linux, etc). >> >> For example, we use 3Ware controllers in all our servers, as they have good, >> solid support under FreeBSD and Linux. On the Linux servers, we use >> hardware RAID. On the FreeBSD servers, we use them as SATA controllers >> (Single Disk arrays, not JBOD). Either way, the management is the same, the >> drivers are the same, the support is the same. >> >> It's hard to find good, non-RAID, SATA controllers with solid FreeBSD >> support, and good throughput, with any kind of management/monitoring >> features. >> > > And I thought I found one in the Adaptec 1405 Integrated SAS/SATA > controller, because it's marketed as an inexpensive SAS/SATA non-RAID > addon-card. On top of that, they advertise it as having FreeBSD6 and > FreeBSD7-support and drivers. So I ordered it for my storage-box (FreeNAS) > with great expectations. Sadly, they don't have support nor drivers for > FreeBSD ("drivers will be released Q4 2009") at all, so I'm thinking of > leaving FreeNAS and trying some linux-flavor that does support this card... > But Adaptec doesn't have a great track-record for FreeBSD-support, does it? > Everything is a repackage of some OEM these days (basically gone are the days of Adaptec==LSI==mpt(4) and all). Find the actual chipset make and model if you can, then you can look at what is supported, as the drivers deal with the actual chipset and could care less about the brand of some vertically-integrated fpga package. Probably will want to give a shout-out on -hardware i.e. http://markmail.org/message/b5imismi5s3iafc5#query:+page:1+mid:5htpj5fw7uijtzqp+state:results -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: hardware for home use large storage
On 2010-02-09 05:32:02PM -0500, Charles Sprickman wrote: > On Tue, 9 Feb 2010, Jeremy Chadwick wrote: >> One similar product that does seem to work well is iLO, available on >> HP/Compaq hardware. > > I've heard great things about that. It seems like a much better design - > it's essentially a small server that is independent from the main host. Has > it's own LAN and serial ports as well. > > Charles Dell PowerEdge Remote Access (DRAC) cards also provided this as well, and for a while there, you could actually VNC into them. But HP offers iLO for no extra charge or discount upon removal (DRACs are worth about $250) and has become such a prominent "must-have" datacenter feature that the "iLO" term is beginning to become genericized for web-accessible and virtual disc-capable onboard out-of-band IP-console management. -- ======= Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: hardware for home use large storage
>>> * vm.kmem_size >>> * vm.kmem_size_max >> >> I tried kmem_size_max on -current (this year), and I got a panic during >> use, >> I changed kmem_size to the same value I have for _max and it didn't >> panic >> anymore. It looks (from mails on the lists) that _max is supposed to >> give a >> max value for auto-enhancement, but at least it was not working with ZFS >> last month (and I doubt it works now). > > It used to be that vm.kmem_size_max needed to be bumped to allow for > larger vm.kmem_size. It's no longer needed on amd64. Not sure about > i386. > > vm.kmem_size still needs tuning, though. While vm.kmem_size_max is no > longer a limit, there are other checks in place that result in default > vm.kmem_size being a bit on the conservative side for ZFS. > >>> Then, when it comes to debugging problems as a result of tuning >>> improperly (or entire lack of), the following counters (not tunables) >>> are thrown into the mix as "things people should look at": >>> >>> kstat.zfs.misc.arcstats.c >>> kstat.zfs.misc.arcstats.c_min >>> kstat.zfs.misc.arcstats.c_max >> >> c_max is vfs.zfs.arc_max, c_min is vfs.zfs.arc_min. >> >>> kstat.zfs.misc.arcstats.evict_skip >>> kstat.zfs.misc.arcstats.memory_throttle_count >>> kstat.zfs.misc.arcstats.size >> >> I'm not very sure about size and c... both represent some kind of >> current >> size, but they are not the same. > > arcstats.c -- adaptive ARC target size. I.e. that's what ZFS thinks it > can grow ARC to. It's dynamically adjusted based on when/how ZFS is > back-pressured for memory. > arcstats.size -- current ARC size > arcstats.p -- portion of arcstats.c that's used by "Most Recently > Used" items. What's left of arcstats.c is used by "Most Frequently > Used" items. > > --Artem > ___ > 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" > How much ram are you running with? In a latest test with 8.0-R on i386 with 2GB of ram, an install to a ZFS root *will* panic the kernel with kmem_size too small with default settings. Even dropping down to Cy Schubert's uber-small config will panic the kernel (vm.kmem_size_max = 330M, vfs.zfs.arc_size = 40M, vfs.zfs.vdev.cache_size = 5M); the system is currently stable using DIST kernel, vm.kmem_size/max = 512M, arc_size = 40M and vdev.cache_size = 5M. -- Peter C. Lai ITS Systems Administrator Bard College at Simon's Rock 84 Alford Rd. Great Barrington, MA 01230 (413) 528-7428 peter at simons-rock.edu ___ 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: ZFS on root, serial console install
I did a pxeboot zfs-root install the other day. If you copy the dvd to an nfs export as the root mount, hack the requisite files to do serial console then you will drop to a login prompt when it boots over pxe-tftp. Had no problems setting up zfs root install by skipping sysinstall and fixit entirely: setup your ZFS root, then set DESTDIR and use install.sh in the individual package dirs. http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2 > On Fri, Feb 12, 2010 at 7:27 AM, Charles Sprickman wrote: >> Any hints on that one? >> >> I finally got around to getting dhcp/tftp/nfs setup on an internal >> network >> to perform normal installs (and with some pxelinux hackery, the ability >> to >> boot a DOS disk or memtest86 disk images). >> >> Sysinstall in general is kind of an unweildy beast over serial, but one >> thing I was not able to accomplish was to get a shell (no extra virtual >> consoles on serial) or attempt any mounting of fixit media. From my >> last >> install that put ZFS on root, I had to do quite a bit of tapdancing >> since I >> had no DVD or bootable USB media - lots of switching from the install >> disk >> to fixit, which brought me to many chicken and egg moments. I did it >> though... >> >> But remotely, I'm not seeing a good way to do this. If mfsroot were >> larger >> and had more tools, then I'd be in business. This is probably the >> direction >> I need to get shoved in. >> >> I've looked at some other options with pxelinux and perhaps booting the >> mini >> ISO, but I'm not sure that gets me anywhere. >> >> Any tips? This isn't a make or break situation, I live 15 minutes from >> the >> colo... It's more of a quest. :) >> > > I would installl a small UFS FBSD system of 1 or 2 Gig on say ad0s1. > That gives you more then the equivalent of a fixit CD. You then use > this mini system as base to install the "real one" on the other > slice(s) > > After having finished the install, you use fdisk to change the active > slice to the new install and reboot. > ___ > 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" > -- Peter C. Lai ITS Systems Administrator Bard College at Simon's Rock 84 Alford Rd. Great Barrington, MA 01230 (413) 528-7428 peter at simons-rock.edu ___ 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: ZFS on root, serial console install
> On Mon, 15 Feb 2010, Peter C. Lai wrote: > >> I did a pxeboot zfs-root install the other day. >> >> If you copy the dvd to an nfs export as the root mount, hack the >> requisite >> files to do serial console then you will drop to a login prompt when it >> boots over pxe-tftp. Had no problems setting up zfs root install by >> skipping sysinstall and fixit entirely: setup your ZFS root, then set >> DESTDIR and use install.sh in the individual package dirs. > > In short, did you do what I did somewhat accidentally? I did a netboot, > set loader.conf to mount mfsroot as my root fs. For reasons I'm still > unclear on, it did not grab mfsroot and proceeded to try and mount root > over nfs (which happened to be exported RO). It seems like if my nfs was > exported rw, I would have been running with all the tools I needed and the > drives would be available to me... > > I'm going to try with rw nfs, currently the machine's locked up as it's > confused about a ro root... > > Thanks, > > Charles I didn't muck with the loader at all (well except for ZFS tuning). TBH, my serial console is a hardware redirect that BIOS provides so I actually just mdconfig'ed the ISO and exported that via NFS. By booting NFS root RO, init will bail out before being able to run sysinstall and somehow it will spawn getty instead, asking me to login. Logged in as root and I dropped to /bin/tcsh. > >> >> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2 >> >>> On Fri, Feb 12, 2010 at 7:27 AM, Charles Sprickman >>> wrote: >>>> Any hints on that one? >>>> >>>> I finally got around to getting dhcp/tftp/nfs setup on an internal >>>> network >>>> to perform normal installs (and with some pxelinux hackery, the >>>> ability >>>> to >>>> boot a DOS disk or memtest86 disk images). >>>> >>>> Sysinstall in general is kind of an unweildy beast over serial, but >>>> one >>>> thing I was not able to accomplish was to get a shell (no extra >>>> virtual >>>> consoles on serial) or attempt any mounting of fixit media. From my >>>> last >>>> install that put ZFS on root, I had to do quite a bit of tapdancing >>>> since I >>>> had no DVD or bootable USB media - lots of switching from the install >>>> disk >>>> to fixit, which brought me to many chicken and egg moments. I did it >>>> though... >>>> >>>> But remotely, I'm not seeing a good way to do this. If mfsroot were >>>> larger >>>> and had more tools, then I'd be in business. This is probably the >>>> direction >>>> I need to get shoved in. >>>> >>>> I've looked at some other options with pxelinux and perhaps booting >>>> the >>>> mini >>>> ISO, but I'm not sure that gets me anywhere. >>>> >>>> Any tips? This isn't a make or break situation, I live 15 minutes >>>> from >>>> the >>>> colo... It's more of a quest. :) >>>> >>> >>> I would installl a small UFS FBSD system of 1 or 2 Gig on say ad0s1. >>> That gives you more then the equivalent of a fixit CD. You then use >>> this mini system as base to install the "real one" on the other >>> slice(s) >>> >>> After having finished the install, you use fdisk to change the active >>> slice to the new install and reboot. >>> ___ >>> 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" >>> >> >> >> -- >> Peter C. Lai >> ITS Systems Administrator >> Bard College at Simon's Rock >> 84 Alford Rd. >> Great Barrington, MA 01230 >> (413) 528-7428 >> peter at simons-rock.edu >> ___ >> 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" >>___ > 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" -- Peter C. Lai ITS Systems Administrator Bard College at Simon's Rock 84 Alford Rd. Great Barrington, MA 01230 (413) 528-7428 peter at simons-rock.edu ___ 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: hardware for home use large storage
On 2010-02-15 02:25:57PM -0800, Artem Belevich wrote: > > How much ram are you running with? > > 8GB on amd64. kmem_size=16G, zfs.arc_max=6G > > > In a latest test with 8.0-R on i386 with 2GB of ram, an install to a ZFS > > root *will* panic the kernel with kmem_size too small with default > > settings. Even dropping down to Cy Schubert's uber-small config will panic > > the kernel (vm.kmem_size_max = 330M, vfs.zfs.arc_size = 40M, > > vfs.zfs.vdev.cache_size = 5M); the system is currently stable using DIST > > kernel, vm.kmem_size/max = 512M, arc_size = 40M and vdev.cache_size = 5M. > > On i386 you don't really have much wiggle room. Your address space is > 32-bit and, to make things more interesting, it's split between > user-land and kernel. You can keep bumping KVA_PAGES only so far and > that's what limits your vm.kmem_size_max which is the upper limit for > vm.kmem_size. > > The bottom line -- if you're planning to use ZFS, do switch to amd64. > Even with only 2GB of physical RAM available, your box will behave > better. At the very least it will be possible to avoid the panics > caused by kmem exhaustion. > > --Artem Well this ZFS box (which admittedly is mostly a testbed) is only a lowly NetBurst Gallatin Xeon, pre-amd64 :( -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: hardware for home use large storage
On 2010-02-15 10:29:22PM +0100, Gót András wrote: > On Hét, Február 15, 2010 10:15 pm, Dan Naumov wrote: > >>> A C2Q CPU makes little sense right now from a performance POV. For > >>> the price of that C2Q CPU + LGA775 board you can get an i5 750 CPU and > >>> a 1156 socket motherboard that will run circles around that C2Q. You > >>> would lose the ECC though, since that requires the more expensive 1366 > >>> socket CPUs and boards. > >>> > >>> - Sincerely, > >>> Dan Naumov > >>> > >> > >> Hi, > >> > >> > >> Do have test about this? I'm not really impressed with the i5 series. > >> > >> > >> Regards, > >> Andras > >> > > > > There: http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=3634&p=10 > > > > > > The i5 750, which is a 180 euro CPU, beats Q9650 C2Q, which is a 300 euro > > CPU. > > > > > > > > - Sincerely, > > Dan Naumov > > > > > > Oh, I was not up to date on price performance ratio. However I'd compare > the i5 750 to the Q8400 which is also a 2,66GHz one. > Perhaps there is some confusion between the i5 and i3? A C2Q will probably beat an i3 at the same clock speed but i5 750 has 8mb of unified cache and the turboboost feature. IMO a lot of the benchmark differences between an i5 and C2Q can be attributed to DDR3 and the onboard ram controller on the i5 reducing latency (which if one is to believe Herb Sutter, is the bane of all modern CPUs). -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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"
raidz/2 stripe widths
Which one might be "better" on pool that will consist of 6 disks: 6x raidz2 or 2 stripes of 3 disks in raidz? It should provide slightly less reliability (still allows for 2 disks to be off the array at a time) but the latter should improve reads since a given read only has to touch 3 spindles at a time instead of 5? -- ======= Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: nss_ldap and multiple group memberships
Wow this is a really well written explanation. On 2010-02-25 11:17:32AM +1100, Scott, Brian wrote: > It depends on the type of group. There are at least two types of group > objects that you can use in LDAP but only one of them works. You need to use > posixGroup objects for unix groups. As I remember it, these have memberUid > attributes for the member ids. These are simple unix identifiers. > groupOfNames objects on the other hand have full distinguished names with > 'member' attributes and can't be used by nss_ldap. > > The idea is that posixGroup and posixAccount mimic the unix files so > extraction of the data is fast. If the software used a groupOfNames object > then the returned member names would need to queried as additional > transactions to find the uid's of those entries that had posixAccount > information. This is because the original authentication was done by pam_ldap > and that just returned a UID to the system. If it returned the LDAP > distinguished name to the system, and if that could then be passed into > nss_ldap it would be possible to do the LDAP query in a single transaction. > But then that all breaks down if you authenticate with something else like > GSSAPI. If that was the case you would need to first search for the > posixAccount object of the authenticated user > (&(objectClass=posixAccount)(uid=1001)) and then search for all the group of > names containing that distinguished name > (&(objectClass=groupOfNames)(member=uid=bscott,ou=People,dc=netlab,dc=albury,dc=tafe)). > That's two transactions and seems unnecessarily wasteful. Mind you, if it > was an option I'd probably turn it on. > > Brian > > > -Original Message- > From: owner-freebsd-sta...@freebsd.org > [mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Gerrit Kühn > Sent: Wednesday, 24 February 2010 9:23 PM > To: freebsd-stable@freebsd.org > Subject: nss_ldap and multiple group memberships > > Hi all, > > Is anyone here using nss_ldap and can successfully get it to work with > multiple group memberships? I would really like to get this to work here, but > I only get the primary group: > > penumbra# id gekueh > uid=1030(gekueh) gid=1012(aei) groups=1012(aei) > > getent group comes up with the complete group list. ldapsearch reports three > groups with member:-lines for my user. Somehow nss does not pick this up. Any > ideas? > > > cu > Gerrit > ___ > 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" > ** > This message is intended for the addressee named and may contain > privileged information or confidential information or both. If you > are not the intended recipient please delete it and notify the sender. > ** > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Supplementary groups on LDAP cannot work with RELENG_8 + nss_ldap
Unable to reproduce, at least on a brand new 8-R install. Did you make sure you correctly merged /etc/nsswitch.conf during mergemaster? On 2010-03-08 09:07:12PM +0800, Ling-hua Tseng wrote: > Today I upgraded 2 of my 4 machines from RELENG_7 to RELENG_8. > Both of the 2 machines are just LDAP clients. > My LDAP server is still running on RELENG_7, > and the remained one is also a LDAP client. > All of them were installed OpenLDAP-2.4.21 and nss_ldap-1.265_3. > > Before I upgrades my system, everything works properly. > I added a group named `group1' on LDAP server, > and then add a user named `user1' to this group. > I can type `id user1' to see the following line: > uid=3000(user1) gid=3000(user1) groups=3000(user1),1(gorup1) > > Of course, now the following record is already my LDAP server: > -- > dn: cn=group,ou=group,dc=mydomain,dc=org > objectClass: posixGroup > cn: group1 > gidNumber: 1 > memberUid: user1 > -- > > After I upgraded these 2 machines from RELENG_7 to RELENG_8, > to type `id user1' could only show the following information: > uid=3000(user1) gid=3000(user1) groups=3000(user1) > This user's supplementary group was gone, > and he couldn't write any group-writable files which had gid 1 one the 2 > machines. > But in my other 2 machines that running on RELENG_7, > this problem is still not occured. > > I have logged the behaviors of RELENG_7 & RELENG_8. > Here is the behavior when I type `id user1' on RELENG_7: > -- > conn=1007 op=2 SRCH base="ou=people,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixAccount)(uid=user1))" > conn=1007 op=2 SRCH attr=uid userPassword uidNumber gidNumber cn > homeDirectory loginShell gecos description objectClass shadowLastChange > shadowMax shadowExpire loginClass > > conn=1007 op=3 SRCH base="ou=group,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixGroup))" > conn=1007 op=3 SRCH attr=cn userPassword memberUid uniqueMember gidNumber > > conn=1007 op=4 SRCH base="ou=group,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixGroup)(gidNumber=3000))" > conn=1007 op=4 SRCH attr=cn userPassword memberUid uniqueMember gidNumber > > conn=1007 op=4 SRCH base="ou=group,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixGroup)(gidNumber=3000))" > conn=1007 op=4 SRCH attr=cn userPassword memberUid uniqueMember gidNumber > > conn=1007 op=4 SRCH base="ou=group,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixGroup)(gidNumber=1))" > conn=1007 op=4 SRCH attr=cn userPassword memberUid uniqueMember gidNumber > -- > In step 2, it tries to fetch out the full group list from my LDAP server. > According to this information, it can know what user1's supplementary groups > are. > > RELENG_8: > -- > conn=1008 op=2 SRCH base="ou=people,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixAccount)(uid=user1))" > conn=1008 op=2 SRCH attr=uid userPassword uidNumber gidNumber cn > homeDirectory loginShell gecos description objectClass shadowLastChange > shadowMax shadowExpire loginClass > > conn=1008 op=3 SRCH base="ou=group,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixGroup)(gidNumber=3000))" > conn=1008 op=3 SRCH attr=cn userPassword memberUid uniqueMember gidNumber > > conn=1008 op=3 SRCH base="ou=group,dc=mydomain,dc=org" scope=1 deref=0 > filter="(&(objectClass=posixGroup)(gidNumber=3000))" > conn=1008 op=3 SRCH attr=cn userPassword memberUid uniqueMember gidNumber > -- > It never tried to get the group list from LDAP server, > hence it's impossible to know user1's supplementary groups. > > The client settings on RELENG_7 & RELENG_8 are fully consistent, > so I don't think it's the problem of my config files. > Since my 4 machines use the same version of nss_ldap, > to downgrade nss_ldap's version for testing is meaningless. > > Should this problem is a base system's bug? > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Realtek Ethernet not functioning on Asus M4A89GTD PRO
On 2010-04-09 12:10:16PM +0200, Michael Beckmann wrote: > > r...@pci0:4:0:0: class=0x02 card=0x84321043 chip=0x816810ec rev=0x06 > hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111)' > class = network > subclass = ethernet > > So I have rev=0x06 and you have rev=0x03. The dmesg output says I have an > unknown H/W revision. > > The mainboard is fairly new. So I guess I have to report a bug and wait for > a driver update? > > Thanks, > > Michael > Well you could patch the source yourself and see if it works. It's been a while but you need to find the actual revision not the one that pciconf prints out (I think if you select the verbose boot option it might print it in dmesg), then add that "real" revision code to /usr/src/sys/pci/if_rlreg.h, rebuild the kernel and go from there... (Or file a PR and wait for Pyun to get back to you :) -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: OpenSSH 5.4 bug fixed in 5.5
Or install the version from ports and deactivate the base version... On 2010-05-12 10:42:00PM +0200, Matthieu Michaud wrote: > I would like to share a solution of a problem I faced with the current > version of OpenSSH in 8-STABLE (5.4p1). > > Last upgrade of my system updated OpenSSH from 5.2p1 to 5.4p1 which has a > regression for those using a non-default AuthorizedKeysFile option set to a > relative path (".ssh/keys" in my case). If you are using the default you > are not affected. > > As I had authentication mechanism restricted to public keys and this > parameter expands to //.ssh/keys with the regression I wasn't able to > access my server after restart. > > It's fixed in 5.5p1 which is not yet imported in the 8-STABLE branch. > > To get back this option working you either have to wait for 5.5p1 merge to > 8-STABLE, install it yourself or import the following patch from the vendor > and rebuild sshd. I opted for the last solution. Here's how I did it : > > cd /usr/src/crypto/openssh > > fetch -o - > 'http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/servconf.c.diff?r1=1.207;r2=1.204' > > | patch > > cd /usr/src/secure/usr.sbin/sshd > make obj depend > make all > make install > > Hope it helps, > Matthieu > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Site down after recompile Apache
I believe the Makefile for PHP5 states to use internal pcre library when building with APR2 On 2009-03-11 01:21:49PM -0600, Squirrel wrote: > I have restarted Apache many time before remaking it, and everything was > fine. Apparently, php 5.1.6_3 was parsing that preg_replace() just fine. So > could I've missed a tick when recompiling Apache? > > Meanwhile, I will try installing php 5.2.8. > > > > -Original message- > From: Jille Timmermans ji...@quis.cx > Date: Wed, 11 Mar 2009 20:06:03 -0600 > To: Squirrel squir...@mail.isot.com > Subject: Re: Site down after recompile Apache > > > Squirrel schreef: > > > I've made Apache 2.2.11 port yesterday: > > > ...# make clean > > > ...# make > > > ...# make deinstall > > > ...#make install > > > > > > And all went well and all my normal websites come up without a problem. > > > But since then non of my Joomla 1.0.15 sites are coming up. The log shows: > > > > > > PHP Warning: Wrong parameter count for chr() in > > > /includes/phpInputFilter/class.inputfilter.php(457) : regexp code on > > > line 1 > > > PHP Parse error: syntax error, unexpected T_STRING in > > > /includes/phpInputFilter/class.inputfilter.php(459) : regexp code on > > > line 1 > > > PHP Fatal error: preg_replace(): Failed evaluating code: \nchr(0x) in > > > /includes/phpInputFilter/class.inputfilter.php on line 459 > > > > > > It seems all of sudden after recompiling Apache, it developed a problem > > > with chr(\\1) and chr(0x\\1). I didn't touch PHP or MySQL, just > > > recompile of Apache, and it still has all same configurations and host > > > info. > > By restarting apache you also reload mod_php, so if you have upgraded > > your PHP between your last apache restart and this one that might be it. > > and IIRC by restarting apache you also reload php.ini. > > > > Another thing is that php5-pcre is now part of php5, and not an extra > > extension. I don't know whether that is also for 5.1. > > > > The function below seems working on 5.2.8 and 5.3.0-beta1. > > > > -- Jille > > > > > > Below is the code that's causing it. > > > > > > function decode($source) > > >{ > > >// url decode > > >$source = html_entity_decode($source, ENT_QUOTES, > > > "ISO-8859-1"); > > >// convert decimal > > >$source = preg_replace('/&#(\d+);/me', "chr(\\1)", > > > $source); // decimal notation > > >// convert hex > > >$source = preg_replace('/&#x([a-f0-9]+);/mei', > > > "chr(0x\\1)", $source); // hex notation > > >return $source; > > >} > > > > > > I've googled and tried all suggestions but nothings helping. I'm using > > > FreeBSD 6.2, Apache 2.2.11, PHP 5.1.6_3, MySQL 5.0.27. Should I missed a > > > something during remake of Apache? > > > > > > Please help!!! > > > > > > ___ > > > 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" > > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: rndc: connect failed: 127.0.0.1#953: connection refused
led: 127.0.0.1#953: connection refused > > > > Run "named -4 -S 1024 -c /etc/namedb/named.conf -g" and read the > > messages. > > > > > Below are parts of my configs: > > > > > > /etc/rc.conf: > > >named_enable="YES" > > >named_flags="-4 -S 1024 -c /etc/namedb/named.conf" > > > > > > > > > /etc/rndc.key: > > >key "rndc-key" { > > > algorithm hmac-md5; > > > secret "y9eca/WZydNfi..."; > > >}; > > > > > > /etc/namedb/rndc.conf: > > >include "/etc/namedb/rndc.key"; > > >options { > > > default-server localhost; > > > default-key "rndc-key"; > > >}; > > >server localhost { > > > key "rndc-key"; > > >}; > > >... > > > > > > /etc/namedb/named.conf: > > >include "/etc/namedb/rndc.key"; > > >acl internals { > > >aa.bb.cc.0/20; > > >192.168.1.0/24; > > >127.0.0.0/8; > > >}; > > >controls { > > > inet 127.0.0.1 port 53 allow { 127.0.0.1; } keys { rndc-key; }; > > >}; > > >options { > > > pid-file "/var/run/named.pid"; > > > directory "/etc/namedb"; > > > statistics-file "/var/log/named/named.stats"; > > > dump-file "/var/log/named/named.dump"; > > > zone-statistics yes; > > > allow-query { 127.0.0.1; 66.187.80.0/20; }; > > >}; > > >logging { > > > category "default" { simple_log; }; > > > channel simple_log { > > > file "/var/log/named/named.log" versions 5 size 20m; > > > severity warning; > > > print-time yes; > > > print-category yes; > > > print-severity yes; > > >}; > > >... > > > > > > > > > --- > > > PCShare.Com > > > > > > ___ > > > 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" > > -- > > Mark Andrews, ISC > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > PHONE: +61 2 9871 4742 INTERNET: mark_andr...@isc.org > > ___ > > 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" > > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: support quality (Re: dump | restore fails: unknown tape headertype 1853384566)
On 2009-03-26 02:45:45PM +, Jake Scott wrote: > Absolutely. You really must use a tool that interacts with the database to > perform the backup. Most commercial DBs have hooks that allow the backup > routines to call out to custom snapshot facilities. One would usually > request a backup through the database, which would then freeze IO to its > data files and maybe log files, deal with flushing caches etc and then call > your snapshot routine. I'm not aware that MySQL and Postgres do though so > the best you can do is a dump. With MySQL at least, you can (ab)use the replication facilities so that you can set up a "slave" and do the fs-level dump while the slave is in a "frozen" state - the last time I played with MySQL, you could basically desync your slave for a period of time (basically until transaction logs are purged on the master), during which the slave will be consistent; do the fs-level backup then kick the master to sync with the slave again. -- =========== Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Check out my photos on Facebook
This is actually a Conficker signature I believe (a Conficker variant spoofs Facebook mails to socially engineer Facebook users to download itself). On 2009-04-03 09:22:46AM -0700, Paige Thompson wrote: > hehehe i got yelled at so much for facebook sending mail to mailing lists > because theyre in my address book and I imported my address book to > facebook. > > -Adele > (sent from my gphone!) > > On Apr 3, 2009 9:00 AM, "Horst Günther Burkhardt III" > wrote: > > On Fri, 2009-04-03 at 03:32 -0700, Vahid Chitsazzadeh wrote: > I set up a > Facebook profile where I c... > On behalf of FreeBSD-STABLE, "not on your fucking life". > > :) > > -- Horst > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: SCSI device not created upon a CF card plug in
GEOM should pick up the state change, but the bug may continue to exist because the CF reader is tagged as a storage device with invalid media when umass attaches to it on startup; there wasn't a really good way to actually enumerate the slice table upon insertion because the device does not send a disconnect/reconnect to the bus when you insert the card. At the time, the workaround was to tickle the device by attempting a mount against the whole disk, then the slice table will be enumerated. Example, CF card reader on boot will be picked up as /dev/da4 You insert card, no state change can be detected because the device doesn't get reset on the bus. mount /dev/da0 /mnt <-- will fail for obvious reasons, but now slices are enumerated mount /dev/da0s1f /mnt/mycfcard <-- ok On 2009-07-23 06:24:17PM +0300, Andriy Gapon wrote: > on 23/07/2009 17:14 Kevin Oberman said the following: > > If Linux detects media insertion instantly or Windows detects media > > insertion instantly (which I can confirm), there is some signal > > available, so looking at the Linux driver should provide a clue as to > > what to look for and that can be added to the FreeBSD umass driver. It > > would be a very desirable addition, but I am not volunteering as I > > currently don't use such devices. (And, no one would like the terrible > > code I would write, anyway.) > > Just a note of caution: human "instant" is different from "computer instant". > If OS driver polls, say, every 0.2 seconds, you won't be able to tell the > difference. > > -- > Andriy Gapon > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Torrent clients bring pf-based firewall to its knees...?
If only a reboot solves the problem sounds like a kernel problem? mbuf leakage? On 2009-07-24 04:56:11PM -0400, Mike Edenfield wrote: > I've recently begun running a torrent client after hours on a PC sitting > behind our firewall (7.2-STABLE using pf). I have added a 'rdr' rule to > redirect incoming traffic to the client PC from the firewall, and as far as > the client is concerned everything is fine. > > However, after a short period of torrent activity, the machine running the > firewall becomes extremely slow and lagged for all network traffic, but > appears to be operating fine locally. Remote connections via ssh become > extremely unresponsive, and eventually connections start timing out, but > when logged in at the console, there doesn't appear to be any problem. > Running tcpdump does not show nusually high volume of traffic, no more than > I see during normal activity during the day. The volume and length of > connections doesn't seem to matter much -- trying to copy a BSD or Linux > DVD with hundreds of connections breaks just as quickly as much smaller > torrents with a handful of peers. > > I know there are some cheap NAT-ing routers that get in trouble with > torrents because of the heavy volume of state rules required, but I've > never heard of anything like that being present in pf. And I've used > torrent clients at home behind a pf firewall with no issues, but not on > this specific version of the FreeBSD. > > I've tried shutting down the torrent client, clearing out the state and nat > rules with pfctl, adding drop rules to reject the torrent traffic, and even > bringing the network adapter down completely, but only a physical reboot > (combined with not running the client ever again) seems to solve anything. > > Has anyone experienced this kind of problem before? Or alternatively, is > there some way besides tcpdump and top (neither of which show anything > unusual) that I can tell what exactly the machine is doing that's causing > the network lag? > > --Mike > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: gconcat file system damage
What is the status of growfs(8) then? On 2009-09-11 10:21:45AM +1000, Andrew Snow wrote: > > > How did you expand the filesystem onto the new volume? UFS2 expansion is > not supported. > >> I originally created the concatted disk in two steps. First I created the >> concat on my new mirrored disks and copied the files from my existing >> mirror in there. Second I appended the existing mirror to my concatted >> disk. It seemed to work fine, but now I'm seeing so much errors that I can >> only mount the concat r/o! > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Base system's Heimdal with Openldap support?
It's probably a bad idea to link a binary in base with a library from ports... security/heimdal has a WITH_LDAP make knob which should do what you want? I'm not sure if it has OVERRIDE_BASE, though. On 2009-09-23 03:02:43PM +0300, George Mamalakis wrote: > Hi all, > > I was wondering if there is a way to build fbsd's basesystem heimdal with > openldap support. I saw that /usr/src/kerberos5/Makefile.inc has a section > starting with .if defined(WITH_OPENLDAP), so I built the world with the > flag -DWITH_OPENLDAP. What I managed was to link the kdc binary with my > system's openldap libraries, but no openldap code was compiled in the > binary. ( kdc --builtin-hdb didn't return ldap) > > How could I achieve this with the base system's heimdal, without *hacking* > the /usr/src/crypt/heimdal/configure* files? (the port's heimdal > distribution gets configured with openldap backend) > > In case I have sent this question in the wrong list, please somebody inform > me so. > > Thank you all in advance. > > -- > George Mamalakis > > IT Officer > Electrical and Computer Engineer (Aristotle Un. of Thessaloniki), > MSc (Imperial College of London) > > Department of Electrical and Computer Engineering > Faculty of Engineering > Aristotle University of Thessaloniki > > phone number : +30 (2310) 994379 > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Signing Request
At the risk of sounding offtopic and political, as participants in IT and the open source community at large, aren't we supposed to hold ourselves to the "higher standard" and promote the use of encrypted email? If we're refusing to read signed messages because we have client-side problems with signatures (and are too lazy to fix them), how do we expect (or wish for) the rest of the world to do so? On 2009-09-23 11:09:32AM -0500, Robert Noland wrote: > On Wed, 2009-09-23 at 11:40 -0400, J. Hellenthal wrote: > > If you do not need to pgp/gpg sign email message to the lists please don't. > > I > > know I probably don't have your pgp public key and a lot more users > > probably do > > not either. Please use your best judgment. > > http://www.freebsd.org/doc/pgpkeyring.txt > > Frankly, I always sign messages, except that evolution / gpg support is > currently a bit broken... > > robert. > > > Thank you and best regards. > > -- > Robert Noland > FreeBSD > > ___ > 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" -- === Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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: Base system's Heimdal with Openldap support?
What happens when you portupgrade? You will have to deal with rebuilding that part of world? On 2009-09-24 03:37:45PM -0700, Doug Barton wrote: > Peter C. Lai wrote: > > It's probably a bad idea to link a binary in base with a library from > > ports... > > What is the reasoning behind this statement? > > > Doug > > -- > > This .signature sanitized for your protection > -- =========== Peter C. Lai | Bard College at Simon's Rock Systems Administrator| 84 Alford Rd. Information Technology Svcs. | Gt. Barrington, MA 01230 USA peter AT simons-rock.edu | (413) 528-7428 === ___ 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"
building KLDs in RELENG_4
Is there a way to build kernel modules by themselves without having to build the entire kernel? I am adding umass support to a 4.x machine but I don't want to build the entire kernel. I already have scbus, but I need da and of course, umass. TIA, pete -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: building KLDs in RELENG_4
On Thu, Feb 24, 2005 at 09:59:01AM -0600, Scot Hetzel wrote: > On Thu, 24 Feb 2005 09:56:22 -0500, Peter C. Lai <[EMAIL PROTECTED]> wrote: > > Is there a way to build kernel modules by themselves without having to > > build the entire kernel? I am adding umass support to a 4.x machine but > > I don't want to build the entire kernel. I already have scbus, but I need > > da and of course, umass. > > > > Yes you can build modules seperately from a kernel build > > cd /usr/src/sys/modules/umass > make obj > make > make install > > Scot ok. what about da? i don't have that in my kernel, even though i have scbus. I think i'm just going to recompile the entire kernel anyway; I was just trying to not have to back-cvs /usr/src to patch the current one I have installed. (the more basic problem is i really should be keeping multiple versions of /usr/src around for different versions on different machines, but that is a separate problem). -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sandisk cruzer mini quirks [failure] on RELENG_4
I have a 512mb version of the SanDisk Cruzer Mini keychain drive. ProductId = 0x5150 (VendorID=0x0781). I am unable to correctly get it to stop crashing the system when using cp(1) to copy large files to it. I patched /usr/src/sys/dev/usb/umass.c as: if (UGETW(dd->idVendor) == USB_VENDOR_SANDISK && (UGETW(dd->idProduct) == 0x5150) { sc->proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB; sc->quirks |= IGNORE_RESIDUE; } which is the same quirks patch that USB_PRODUCT_SANDISK_SDCZ2_256 (the cruzer mini 256mb) uses. However, this fails to rectify the problem. Notably dd(1) transfers files fine. This is on a RELENG_4 system, cvsup yesterday. Any ideas? thanks, pete -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PPP routing failure
Hi everyone - I'm experiencing some funky routing failures when I dialup netscape internet via user-level PPP: I can negotiate IPCP fine; get a point-to-point link via tun0: myaddr: 172.143.224.146; hisaddr: 63.152.0.70 When the default route is setup to 63.152.0.70, all of my packets are blackholed after the first router hop. I am not using NAT. The PPP link works perfectly fine in windows dialup networking. So I dunno what is wrong. When I look at the routing table in windows, it seems backwards: DESTNM GW IF default 0 myaddr ppp hisaddr 0x myaddr ppp localhost 0xff00 localhost localhost myaddr 0x localhost localhost myaddr.255.255* 0x myaddr ppp multicast multicast myaddr ppp *this is the first 2 dotted quads of myaddr appended with 255.255 If I try to manually set these routes in 5.3-R, I still can't get out :( Setting ADD DEFAULT MYADDR doesn't work, because ppp will still think MYADDR is 0.0.0.0. Either I need sleep or something is funky here... -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PPP routing failure [fixed]
Yes it was a sleep issue (and not the sleep(2) kind haha). *facepalm* Apparently the POP uses a 2 stage authentication process. First, you use unix/slip style authentication after which the POP then initiates CHAP. I had specified the inccorect password for CHAP but after the initial autentication the POP still assigned me an IP; albeit one that didn't talk to anything but the next hop and its nameserver. it's all good now! On Fri, Mar 18, 2005 at 09:38:47AM -0500, [EMAIL PROTECTED] wrote: > > Check out the install guide at > http://www.unixguide.net/freebsd/fbsd_installguide/index.php > it has the best step by step instructions for using userppp. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Peter C. > Lai > Sent: Thursday, March 17, 2005 8:37 PM > To: freebsd-questions@freebsd.org; freebsd-net@freebsd.org; > freebsd-stable@freebsd.org > Subject: PPP routing failure > > > Hi everyone - > I'm experiencing some funky routing failures when I dialup netscape > internet > via user-level PPP: > I can negotiate IPCP fine; get a point-to-point link via tun0: > myaddr: 172.143.224.146; hisaddr: 63.152.0.70 > When the default route is setup to 63.152.0.70, all of my packets > are > blackholed after the first router hop. I am not using NAT. > The PPP link works perfectly fine in windows dialup networking. So I > dunno > what is wrong. When I look at the routing table in windows, it seems > backwards: > > DEST NM GW IF > default 0 myaddr ppp > hisaddr 0x myaddr ppp > localhost 0xff00 localhost localhost > myaddr0x localhost localhost > myaddr.255.255* 0x myaddr ppp > multicast multicast myaddr ppp > > *this is the first 2 dotted quads of myaddr appended with 255.255 > > If I try to manually set these routes in 5.3-R, I still can't get > out :( > Setting ADD DEFAULT MYADDR doesn't work, because ppp will still > think MYADDR > is 0.0.0.0. Either I need sleep or something is funky here... > > -- > Peter C. Lai > University of Connecticut > Dept. of Molecular and Cell Biology > Yale University School of Medicine > SenseLab | Research Assistant > http://cowbert.2y.net/ > > ___________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NIC card problems
Peter Jeremy wrote: >Real DEC Tulip cards do this when running Tru64 as well. My guess is that >it's a bug in the NIC. (And it looks like AMDtek have copied it). Peter, Warner, Stefan, et al.: I just found this thread on the mailing list, and am responding to it, a year later :) I also believe the problem is a bug in the NIC as well, since the ADMTek 985 appears to not listen to the "automagic buffer underrun recovery" command. Silby added some patches to mbuf allocation in 2003 after stress testing dc(4), which improves the situation somewhat (ability to sustain the traffic longer) but doesn't solve it. While my system doesn't reboot (panic), it will often hang as a result of this. What happens then is that when the interface tries to transmit, a "No buffer space available" error occurs. If one can access the console, it can be rescued by bringing the interface down and then up again using ifconfig(8). This will reset the card and presumably flush the buffers. I wonder if any work has been done on the driver in -CURRENT (and I am too lazy to look), but in the next few weeks the machine is getting overhauled from 4.11 to 6 (reformat/reinstall) so we shall see if it does anything. -- Peter C. Lai Dept. of Neurobiology Yale University School of Medicine http://cowbert.2y.net/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
panic: CMAP busy returned?
For a long while now (since 4.4), I have experienced random reboots while compiling large things (such as world). I always attributed it to bad ram, but i just put a stick of brand new crucial in today, and decided to do some major i/o testing. It ran ok for a while, and then spontaneously rebooted. On my Fbsd 4.6.1-R-p7 box with 384mb ram, k62-400, via mvp3 chipset, I was compiling a kernel and mod-php4 at the same time. The kernel panic'd with a 'panic: (something): CMAP Busy' I didn't notice the panic until just when it was going to reboot, so I don't know what the (something) was. I looked at some mailng list archives and found a closed PR from 3.0-R regarding this. It is difficult for me to notice the panic(s) because I usually remotely admin the box; it just happened that I was doing this onsite and had access to the console. I don't know how to trace a kernel, but if someone would like more information, feel free to contact me about doing this; it would be nice to know if I should submit a PR at this point. Also please CC: me as I am not subscribed to -stable Thanks. pete -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology | Undergraduate Research Assistant Yale University School of Medicine Center for Medical Informatics | Research Assistant http://cowbert.2y.net/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message