Booting from ZFS with serial console
Hi all. I am in desperate need of some help with ZFS (maybe GPT) and serial consoles. I use 19200 for my console speed for everything, so I recompiled the boot blocks using BOOT_COMCONSOLE_SPEED=19200 in /etc/make.conf. I then ran this to install new blocks to my two drives in the mirror pair: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad4 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad6 If the keyboard is plugged in when the machine starts up, all is good. With the keyboard unplugged, I get a small error dump followed by BTX Halted. I tried this with the files from the install DVD, and the same thing happens...BTX Halted without a keyboard plugged in. In both cases, /boot.config has : -P -S19200. I tried changing it to -Dh -S19200, and I get the BTX Halted on every boot now. Can someone please shed some light on why it's crashing like this? I'm fairly confident this behavior is a bug and not by design...but I can't believe that this bug would not be noticed up until now. Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 11:15 AM, Brian McCann bjmcc...@gmail.com wrote: On Wed, Dec 1, 2010 at 10:51 AM, Brian McCann bjmcc...@gmail.com wrote: This isn't a Dell PoweEdge, but at least this is two platforms it's happening on now. Strangely, my VMWare virtual machines that use the em driver do not have this problem. TSO is disabled. I just tried adding up to the $ifconfig_emX lines in rc.conf, and it didn't help. What I discovered (and I'm still playing with a bit), is that it has to do with checksum offloading. If you run ifconfig emX -rxcsum, the interface comes back to life. I just added -rxcsum to the $ifconfig_emX lines in rc.conf, and I can run /etc/rc.d/netif restart now, and the NIC continues to work fine. I tried emailing the folks @ Intel that are mentioned in the man page for the em driver, but the mail bounced... --Brian -- Brian (and everyone else reading the thread), I just found this...the patch was submitted some time ago, but somehow didn't make it into 8.1. http://www.freebsd.org/cgi/query-pr.cgi?pr=141843 . I'm trying it now. I'll keep you posted. --Brian So, the patch didn't work against 8.1-RELEASE...it wouldn't compile since there were some new files in the driver package. So, I checked out the e1000 driver from HEAD and put it in my src tree (in addition to some supporting files that were necessary), and compiled that. I went through the SVN notes for the e1000 files, found the SVN version number, and updated all the files listed in the commit. Here's the link: http://svn.freebsd.org/viewvc/base?view=revisionrevision=209616 . Once I installed the new kernel module, all was well...no more problems. Hopefully this will be included in 8.2-RELEASE. Thanks, and good luck to all! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/etc/rc.d/netif em interfaces
I'm having an interesting problem on a fresh 8.1-RELEASE1 install. I'll start by saying this didn't happen on 7.1 on the same exact machine. I've been fighting with this for 2 days now and have come up with no answers on my own, so I'm hoping one of you guys can have some insight here. When I run /etc/rc.d/netif restart (also happens with a stop / start) , I can no longer get to the server over the network. When I do a packet capture on my workstation, it looks like it's MAC address changed somehow. The first two bytes of the address are different. For example, the real MAC is 00:15:17:1b:cf:7a , but I'll see the replies from a MAC of 02:67:17:1b:cf:7a. After each run of /etc/rc.d/netif restart, the first two bytes will change again. I have to reboot the server to get it working again. The em cards in question are: dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.0.5 dev.em.0.%pnpinfo: vendor=0x8086 device=0x108c subvendor=0x8086 subdevice=0x348d class=0x02 dev.em.1.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.1 dev.em.1.%pnpinfo: vendor=0x8086 device=0x1076 subvendor=0x8086 subdevice=0x348d class=0x02 FWIW, this is on an Intel 1530 series server. Thanks in advance, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 8:42 AM, Brian McCann bjmcc...@gmail.com wrote: I'm having an interesting problem on a fresh 8.1-RELEASE1 install. I'll start by saying this didn't happen on 7.1 on the same exact machine. I've been fighting with this for 2 days now and have come up with no answers on my own, so I'm hoping one of you guys can have some insight here. When I run /etc/rc.d/netif restart (also happens with a stop / start) , I can no longer get to the server over the network. When I do a packet capture on my workstation, it looks like it's MAC address changed somehow. The first two bytes of the address are different. For example, the real MAC is 00:15:17:1b:cf:7a , but I'll see the replies from a MAC of 02:67:17:1b:cf:7a. After each run of /etc/rc.d/netif restart, the first two bytes will change again. I have to reboot the server to get it working again. The em cards in question are: dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.0.5 dev.em.0.%pnpinfo: vendor=0x8086 device=0x108c subvendor=0x8086 subdevice=0x348d class=0x02 dev.em.1.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.1 dev.em.1.%pnpinfo: vendor=0x8086 device=0x1076 subvendor=0x8086 subdevice=0x348d class=0x02 FWIW, this is on an Intel 1530 series server. Thanks in advance, --Brian I botched the problem description slightly. In the packet capture on the workstation, the server's MAC is always correct. The response (SYN/ACK packet) from the server is destined to the wrong MAC address. The first two bytes are wrong somehow. The arp table on the server is correct. If I run arp -ad, the problem remains. I've also produced this problem by doing ifconfig em1 down then ifconfig em1 up. To make this problem even stranger, I can make a connection from the server to a workstation without issue. It appears to only be incoming connections. Thanks again, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 9:29 AM, Brian A. Seklecki (CFI NOC) sekle...@noc.cfi.pgh.pa.us wrote: To make this problem even stranger, I can make a connection from the server to a workstation without issue. It appears to only be incoming We've seen something very similar to this; we assumed it was EEPROM corruption. Is this a Dell PowerEdge by chance? Do you have TSO enabled? (-tso or tso flag in $ifconfig_emX) Does appending up to the end of if $ifconfig_emX solve the problem? ~BAS This isn't a Dell PoweEdge, but at least this is two platforms it's happening on now. Strangely, my VMWare virtual machines that use the em driver do not have this problem. TSO is disabled. I just tried adding up to the $ifconfig_emX lines in rc.conf, and it didn't help. What I discovered (and I'm still playing with a bit), is that it has to do with checksum offloading. If you run ifconfig emX -rxcsum, the interface comes back to life. I just added -rxcsum to the $ifconfig_emX lines in rc.conf, and I can run /etc/rc.d/netif restart now, and the NIC continues to work fine. I tried emailing the folks @ Intel that are mentioned in the man page for the em driver, but the mail bounced... --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 10:51 AM, Brian McCann bjmcc...@gmail.com wrote: This isn't a Dell PoweEdge, but at least this is two platforms it's happening on now. Strangely, my VMWare virtual machines that use the em driver do not have this problem. TSO is disabled. I just tried adding up to the $ifconfig_emX lines in rc.conf, and it didn't help. What I discovered (and I'm still playing with a bit), is that it has to do with checksum offloading. If you run ifconfig emX -rxcsum, the interface comes back to life. I just added -rxcsum to the $ifconfig_emX lines in rc.conf, and I can run /etc/rc.d/netif restart now, and the NIC continues to work fine. I tried emailing the folks @ Intel that are mentioned in the man page for the em driver, but the mail bounced... --Brian -- Brian (and everyone else reading the thread), I just found this...the patch was submitted some time ago, but somehow didn't make it into 8.1. http://www.freebsd.org/cgi/query-pr.cgi?pr=141843 . I'm trying it now. I'll keep you posted. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pf nuttyness
I'm at the end of my rope here with PF. I have a ruleset loaded, that is long and complicated...but I've shortened to to a pass all rule. The box has 4 interfaces, one for pfsync, one for me to connect to it, and two bridged interfaces. The only traffic on the bridged interfaces is STP and IP multicast traffic from my EIGRP routers. When I run pfctl -s rules -v, the EIGRP multicast traffic never hits any rules...yet it's allowed. I'm on FreeBSD 7.1. Has anyone else come across this before? I'm ready to throw out FreeBSD 7.1 and try OpenBSD for pf use...which would be a shame since I use FreeBSD for all my other servers, and having 2 OpenBSD boxes would just be... weird... --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Broadcom bce interface problems
On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli faza...@sepehrs.com wrote: what type of blade switch you are using? Are you using HS21 onboard ports or an expansion card? Make sure the corresponding internal ports of the blade switch are at 'no shutdown' state. Brian McCann wrote: I'm having problems with the bce interface on a FreeBSD 7.2 install, using an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II card. The really strange thing here is, the switch shows a link, but the card shows no carrier in the setup. It started working for a few seconds at one point when I reset the switch (at least, I think that's what I did), and it detected 1000BaseSX as the media and showed a status of active, but promptly went away. If I try setting the media type manually, that doesn't appear to work. Has anyone seen this or have any ideas? Thanks! --Brian -- Best regards. Hooman Fazaeli Yes, I'm using an HS21 onbaord card...the Broadcom. The internal ports show a link (using the Nortel manager...it's got a the Nortel L3-7 switch in it). I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last night...it looks like that change was never commited by anyone...I'm working on recompiling that into 7.1 now and plan on trying it once it's done. I'll post the results up here (and to freebsd-net as well if it works). I'm really hoping that works...since I really would like to avoid installing VMWare ESXi on 14 blades just to run 1 VM in each of them and loose performance. I'll keep y'all posted. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Broadcom bce interface problems
On Wed, Oct 14, 2009 at 12:24 PM, Diego F. Arias R. dak@gmail.com wrote: do you double-check the internal por assignement? How many switchs has that blade1 or 2? You can try running a linux live-cd or maybe Windows to discard a FreeBSD trouble with the nic. does Freebsd detects 1 or 2 nics, and how many does the blade have? On Wed, Oct 14, 2009 at 10:49 AM, Brian McCann bjmcc...@gmail.com wrote: On Wed, Oct 14, 2009 at 8:18 AM, H.Fazaeli faza...@sepehrs.com wrote: what type of blade switch you are using? Are you using HS21 onboard ports or an expansion card? Make sure the corresponding internal ports of the blade switch are at 'no shutdown' state. Brian McCann wrote: I'm having problems with the bce interface on a FreeBSD 7.2 install, using an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II card. The really strange thing here is, the switch shows a link, but the card shows no carrier in the setup. It started working for a few seconds at one point when I reset the switch (at least, I think that's what I did), and it detected 1000BaseSX as the media and showed a status of active, but promptly went away. If I try setting the media type manually, that doesn't appear to work. Has anyone seen this or have any ideas? Thanks! --Brian -- Best regards. Hooman Fazaeli Yes, I'm using an HS21 onbaord card...the Broadcom. The internal ports show a link (using the Nortel manager...it's got a the Nortel L3-7 switch in it). I found http://www.freebsd.org/cgi/query-pr.cgi?pr=118238 last night...it looks like that change was never commited by anyone...I'm working on recompiling that into 7.1 now and plan on trying it once it's done. I'll post the results up here (and to freebsd-net as well if it works). I'm really hoping that works...since I really would like to avoid installing VMWare ESXi on 14 blades just to run 1 VM in each of them and loose performance. I'll keep y'all posted. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- mmm, interesante. Windows runs fine on them. I applied the changes mentioned the patch I just posted, and that fixed the problem...no throughput hit as a result. Thanks to all for the help! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Broadcom bce interface problems
I'm having problems with the bce interface on a FreeBSD 7.2 install, using an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II card. The really strange thing here is, the switch shows a link, but the card shows no carrier in the setup. It started working for a few seconds at one point when I reset the switch (at least, I think that's what I did), and it detected 1000BaseSX as the media and showed a status of active, but promptly went away. If I try setting the media type manually, that doesn't appear to work. Has anyone seen this or have any ideas? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Broadcom bce interface problems
On Tue, Oct 13, 2009 at 8:41 AM, Steve Bertrand st...@ibctech.ca wrote: Brian McCann wrote: I'm having problems with the bce interface on a FreeBSD 7.2 install, using an IBM BladeCenter HS21 machine. The machine uses the NetXtreme II card. The really strange thing here is, the switch shows a link, but the card shows no carrier in the setup. It started working for a few seconds at one point when I reset the switch (at least, I think that's what I did), and it detected 1000BaseSX as the media and showed a status of active, but promptly went away. If I try setting the media type manually, that doesn't appear to work. Has anyone seen this or have any ideas? Try forcing the interface to 'up': # ifconfig bce0 up If that works, add it to the /etc/rc.conf: # echo 'ifconfig_bce0=up' /etc/rc.conf Steve Thanks for the suggestion. I just tried it, but still get no carrier for the status. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Journal overflow panic
I've been having a problem for the past few weeks with a file server I have. It's recently started throwing a panic after about 24 hours of service (it's rare that it lasts longer then that...sometimes as low as 20 hrs): Panic String: Journal overflow (joffset=12964580764160 active=12964584978944 inactive=12964580737536) . I'm on FreeBSD 7.0. I've done some digging, and really can't come up with anything. I've checked the drives on the controller, and none of them are reporting any errors (3ware SATA RAID controller). Does anyone have any ideas or thoughts? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Controllers/Drives renumbered
On Mon, Apr 6, 2009 at 8:50 PM, Jay Hall jh...@socket.net wrote: Earlier today, I installed a new HP SCSI (HP SmartArray 642)controller and an HP Drive Array in my company's HP ML 350 G5. The system drive which had been da0 became da1 and the new controller became da0. Unfortunately, I cannot rearrange the controllers in the system since one is PCI-X and one is PCI Express. Is it possible to force FreeBSD 6.2 to detect the cards in a particular order so my drives are not renumbered. Thanks, Jay I had this problem myself...and I could not find a way to re-order the cards. So, I started using glabel to solve my problems. http://www.freebsd.org/cgi/man.cgi?query=glabelsektion=8 . This obviously may not solve your direct problem, but it solved mine since I then mount,fsck,whatever /dev/ufs/systemRoot . I hope this helps! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommendations on reliable home fileserver hardware?
On Mon, Jan 19, 2009 at 10:13 AM, michael michael.copel...@gmail.com wrote: Clifton Royston wrote: I'd consider running a Mac Mini (tiny, silent, s/b reliable) if it weren't for needing 2+ drives for mirroring. this would work fine with gmirror using usb/firewire drives. there is also the droboshare. great little fileserver. aopen cubes run great. i've had one since 2005, runs quiet with two fans. they fully support freebsd and it can be more than a fileserver. its about the size of a two slice toaster. it runs below 25db of noise. I'm comfortable either building my own system, or buying a packaged system if it offers better value. Any advice would be welcomed. -- Clifton As a heads up, if you do this, do NOT use the Western Digital MyBooks...I tried this...and gave up and got a D-Link NAS. The MyBooks sleep after no activity, and I was getting serious corruption. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
On Thu, Jan 15, 2009 at 9:08 PM, Da Rock rock_on_the_...@comcen.com.au wrote: This seems to be a bit of a sideline... but how does it work if you move the disk around? Assuming generic kernel, you should be boot that kernel on practically any machine- right? But I had trouble with it not finding the drive- boot manager ok, install fine, just won't boot. I assumed that the da0xxx was simply a pointer (programming speak) so that if you inserted the disk somewhere else (another port, another m/c, etc) it may not point to the same place for booting. Would this be right? I haven't had an issue with it finding the loader yet (but I'm not using GRUB, I'm using the FreeBSD loader). And following the directions linked above, I used the geom label process, so I don't have to worry about /dev/daXs1d or whatever it was detected on...just use /dev/ufs/FreeBSDStick (or whatever you label it). --Brian _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
On Wed, Jan 14, 2009 at 10:37 PM, Fbsd1 fb...@a1poweruser.com wrote: Your link to the instructions is dead. The page has been down on me before...give it a few hours, or plug that URL into Google and load the cached version (which takes a while to load since the CSS still tries to come from the original site). --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gvinum gjournal
On Thu, Jan 15, 2009 at 4:33 AM, Ulf Lilleengen ulf.lilleen...@gmail.com wrote: Hi, It think that it touches it because the .p0 contains the gjournal metadata in the same way that the volume does, so gjournal attaches to that before the volume. One problem is that gjournal attaches to the wrong provider, but it's also silly that the provider is exposed in the first place. A fix for this is in a newer version of gvinum (as the plex is not exposed) if you're willing to try. -- Ulf Lilleengen At this point, I'm willing to try anything, but preferably something that's stable since this will be done to at least 15 identical devices and sent out to various places, so I won't have physical access to the machines if something were to go wrong. I looked into graid3 and booting off of a DOM/Flash card, but since I have 4 drives, that won't work since graid3 requires 2N+1 drives. The stuff I've found on graid5 seems to say that it's all still really experimental and has some bugs in it still. :( That said...if you've got it, I'll try it. :) Thanks, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
On Fri, Jan 9, 2009 at 10:43 AM, Brian McCann bjmcc...@gmail.com wrote: Well this just got a LOT more frustrating and interesting. I made a stick following those directions using a new stick...worked fine, booted off of it...did some work on it...somehow the filesystem got very corrupted in one of various things I was doing to it (I think it was when I accidentially unplugged it before running a sync and umount). I figured it'd just be easier to start over and build it again from scratch. So...I try to newfs it (newfs -U -L FreeBSDStick /dev/da1s1a, and newfs fails with cg 0: bad magic number . Now I'm really getting pissed. So...I run a dd (dd if=/dev/zero of=/dev/da1 bs=1m), and do the whole thing over...here's the console output: umm# dd if=/dev/zero of=/dev/da1 bs=1m dd: /dev/da1: short write on character device dd: /dev/da1: end of device 3830+0 records in 3829+1 records out 4016045568 bytes transferred in 4324.380202 secs (928699 bytes/sec) umm# fdisk -BI /dev/da1 *** Working on device /dev/da1 *** fdisk: invalid fdisk partition table found fdisk: Geom not found: da1 umm# bsdlabel -B -w da1s1 umm# newfs -U -L FreeBSDStick /dev/da1s1a /dev/da1s1a: 3827.9MB (7839640 sectors) block size 16384, fragment size 2048 using 21 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. with soft updates super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200 cg 0: bad magic number So now I'm getting seriously ticked off. Anyone have any ideas what the heck could be causing this? This thumb drive was working fine with FreeBSD! I'm trying a dd on a thumb drive w/o specifying a block size / BS...we'll see what that does...but I'm still open to suggestions since I'm just about out of ideas. Thanks! --Brian To the list of things tried...add formatting the USB stick with the HDD Low Level Format Tool (http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/). Still no joy... For those following along at home, I found the cause of my problems. It apparently all came down to the machine I was making the stick on. Any machine that had an Intel SCB2 motherboard in it, would screw it up. I switched to using a different newer machine, re-did the directions at http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2 , and all my problems with it went away. YAY!!! Thanks to all those who provided input. Long live FreeBSD! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gvinum gjournal
Hi all. I'm cross-posting this since I figure I'll have better luck finding someone who's done this before... I'm building a system that has 4 1.5TB Seagate SATA drives in it. I've setup gvinum and made mirrors for my OS partitions, and a raid5 plex for a big data partition. I'm trying to get gjournal to run on the raid5 volume...but it's doing stuff that isn't expected. First, here's my gvinum config for the array: ---snip--- drive e0 device /dev/ad8s1g drive e1 device /dev/ad10s1g drive e2 device /dev/ad12s1g drive e3 device /dev/ad14s1g volume array1 plex org raid5 128k sd drive e0 sd drive e1 sd drive e2 sd drive e3 ---/snip--- Now...according to the handbook. the volume it creates is essentially a disk drive. So...I run the following gjournal commands to make the journal, and here's what I get: ---snip--- # gjournal label /dev/gvinum/array1 GEOM_JOURNAL: Journal 4267655417: gvinum/plex/array1.p0 contains data. GEOM_JOURNAL: Journal 4267655417: gvinum/plex/array1.p0 contains journal. GEOM_JOURNAL: Journal gvinum/plex/array1.p0 clean. GEOM_JOURNAL: BIO_FLUSH not supported by gvinum/plex/array1.p0. # gjournal list Geom name: gjournal 4267655417 ID: 4267655417 Providers: 1. Name: gvinum/plex/array1.p0.journal Mediasize: 4477282549248 (4.1T) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: gvinum/plex/array1.p0 Mediasize: 4478356291584 (4.1T) Sectorsize: 512 Mode: r1w1e1 Jend: 4478356291072 Jstart: 4477282549248 Role: Data,Journal --/snip--- So...why is it even touching the plex p0? I figured it would, just like on a disk, if I gave it da0, create da0.journal. Moving on, if I try to newfs the journal, which is now gvinum/plex/array1.p0.journal, I get: ---snip--- # newfs -J /dev/gvinum/plex/array1.p0.journal /dev/gvinum/plex/array1.p0.journal: 4269869.4MB (8744692476 sectors) block size 16384, fragment size 2048 using 23236 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. newfs: can't read old UFS1 superblock: end of file from block device: No such file or directory ---/snip--- Followed by a panic and reboot: ---snip--- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0d8d440 stack pointer = 0x28:0xd4e25c44 frame pointer = 0x28:0xd4e25cf4 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 47 (gv_p array1.p0) trap number = 12 panic: page fault cpuid = 0 Uptime: 14m38s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort ---/snip--- Next...I destroyed/cleared/stoped/etc the journal to start fresh, made a new one...it created the same thing (gvinum/plex/array1.p0.journal)...I then rebooted, loaded the gjournal module, and I now see gvinum/array1.journal as the provider, and the provider inside plex is gone. I then run my newfs (newfs -J /dev/gvinum/array1.journal) , and I get ---snip--- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x1c fault code = supervisor read, page not present instruction pointer = 0x20:0xc0d8eec5 stack pointer = 0x28:0xd4e2ecbc frame pointer = 0x28:0xd4e2ecf4 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 50 (gv_v array1) trap number = 12 panic: page fault cpuid = 0 Uptime: 8m18s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort ---/snip--- Does anyone have any ideas here? I assumed gjournal would play nice with any file system. But clearly not. After I clear the journal off of /dev/gvinum/array1, I can do a newfs on it (/dev/gvinum/array1) without the journal fine...so that tests that the RAID5 is ok. Anyone havve any ideas? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gvinum gjournal
On Wed, Jan 14, 2009 at 4:23 PM, Brian McCann bjmcc...@gmail.com wrote: Does anyone have any ideas here? I assumed gjournal would play nice with any file system. But clearly not. After I clear the journal off of /dev/gvinum/array1, I can do a newfs on it (/dev/gvinum/array1) without the journal fine...so that tests that the RAID5 is ok. Anyone havve any ideas? Thanks! --Brian I also just got the idea to try turning off write caching on the ata controller...no help. Just thought I'd drop that out there if that clues in on something. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
On Fri, Jan 9, 2009 at 4:30 AM, chris.scott k...@snaffler.net wrote: if your still stuck i can give you a dd of my usb image that definitely works if it still doesnt work for you you will know its a hardware issue and not your building skills 8) Brian McCann wrote: On Wed, Jan 7, 2009 at 11:18 AM, Chris Scott chris.sc...@uk.tiscali.com wrote: Hi, Ditch sysinstall and follow this http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb- stick-episode-2 glabel (the -L one newfs) is your friend, as it will help you avoid the situation when you get boot failures when you try to boot off ur usb disk on a machine that has scsi drives (da0 wont be the usb drive) Firing that up now...I'll post the results. I tried this some time ago and it wouldn't work...but that could have been me doing something wrong or the PC didn't support booting from USB. Thanks, I'll let ya know! --Brian Well this just got a LOT more frustrating and interesting. I made a stick following those directions using a new stick...worked fine, booted off of it...did some work on it...somehow the filesystem got very corrupted in one of various things I was doing to it (I think it was when I accidentially unplugged it before running a sync and umount). I figured it'd just be easier to start over and build it again from scratch. So...I try to newfs it (newfs -U -L FreeBSDStick /dev/da1s1a, and newfs fails with cg 0: bad magic number . Now I'm really getting pissed. So...I run a dd (dd if=/dev/zero of=/dev/da1 bs=1m), and do the whole thing over...here's the console output: umm# dd if=/dev/zero of=/dev/da1 bs=1m dd: /dev/da1: short write on character device dd: /dev/da1: end of device 3830+0 records in 3829+1 records out 4016045568 bytes transferred in 4324.380202 secs (928699 bytes/sec) umm# fdisk -BI /dev/da1 *** Working on device /dev/da1 *** fdisk: invalid fdisk partition table found fdisk: Geom not found: da1 umm# bsdlabel -B -w da1s1 umm# newfs -U -L FreeBSDStick /dev/da1s1a /dev/da1s1a: 3827.9MB (7839640 sectors) block size 16384, fragment size 2048 using 21 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. with soft updates super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200 cg 0: bad magic number So now I'm getting seriously ticked off. Anyone have any ideas what the heck could be causing this? This thumb drive was working fine with FreeBSD! I'm trying a dd on a thumb drive w/o specifying a block size / BS...we'll see what that does...but I'm still open to suggestions since I'm just about out of ideas. Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
Well this just got a LOT more frustrating and interesting. I made a stick following those directions using a new stick...worked fine, booted off of it...did some work on it...somehow the filesystem got very corrupted in one of various things I was doing to it (I think it was when I accidentially unplugged it before running a sync and umount). I figured it'd just be easier to start over and build it again from scratch. So...I try to newfs it (newfs -U -L FreeBSDStick /dev/da1s1a, and newfs fails with cg 0: bad magic number . Now I'm really getting pissed. So...I run a dd (dd if=/dev/zero of=/dev/da1 bs=1m), and do the whole thing over...here's the console output: umm# dd if=/dev/zero of=/dev/da1 bs=1m dd: /dev/da1: short write on character device dd: /dev/da1: end of device 3830+0 records in 3829+1 records out 4016045568 bytes transferred in 4324.380202 secs (928699 bytes/sec) umm# fdisk -BI /dev/da1 *** Working on device /dev/da1 *** fdisk: invalid fdisk partition table found fdisk: Geom not found: da1 umm# bsdlabel -B -w da1s1 umm# newfs -U -L FreeBSDStick /dev/da1s1a /dev/da1s1a: 3827.9MB (7839640 sectors) block size 16384, fragment size 2048 using 21 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. with soft updates super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200 cg 0: bad magic number So now I'm getting seriously ticked off. Anyone have any ideas what the heck could be causing this? This thumb drive was working fine with FreeBSD! I'm trying a dd on a thumb drive w/o specifying a block size / BS...we'll see what that does...but I'm still open to suggestions since I'm just about out of ideas. Thanks! --Brian To the list of things tried...add formatting the USB stick with the HDD Low Level Format Tool (http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/). Still no joy... --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
On Wed, Jan 7, 2009 at 9:34 AM, Matthias Apitz g...@unixarea.de wrote: El día Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribió: I could only suggest to eliminate all slices and partitions on the thumb drive (such as it was a new disk right from the factory) and let sysinstall put slice and partitions onto it. The problem is that 'from the factory' sometimnes they come already Windows-like formated; I've wiped out all with: # dd if=/dev/zero of=/dev/da0 bs=1m (double check that /dev/da0 is really the device you want to clean) matthias Ok...so I zero'd out two different thumb drives (one 1gb stick, another a 4gb stick...not that it matters)...and both of them failed in the same way. I boot the machine with nothing but the CD-Rom drive and the USB stick. No fancy options or anything in the install process...just create one slice that takes up the whole drive, then one parition (da0s1a) mounted as /...about as basic as you can get. Any other thoughts? I don't understand why this wouldn't work...it's just another drive... Thanks for all the input! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD USB Install
On Wed, Jan 7, 2009 at 11:18 AM, Chris Scott chris.sc...@uk.tiscali.com wrote: Hi, Ditch sysinstall and follow this http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb- stick-episode-2 glabel (the -L one newfs) is your friend, as it will help you avoid the situation when you get boot failures when you try to boot off ur usb disk on a machine that has scsi drives (da0 wont be the usb drive) Firing that up now...I'll post the results. I tried this some time ago and it wouldn't work...but that could have been me doing something wrong or the PC didn't support booting from USB. Thanks, I'll let ya know! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD USB Install
Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb drive, but every time I try it fails. sysinstall says Unable to make new root filesystem on /dev/da0s1a1. Command returned status 38. When I switch to the debug console, I get cg 0: bad magic number. This thumb drive was being used on my Windows machine previously, then I re-formatted it as UFS to use it on a FreeBSD machine...so I know the thumb drive itself works. Can someone shed some light on this problem? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gjournal fsck
Hi all. I'm having some problems with several servers I've built recently (7.0-RELEASE) that are using gjournal. I had two reboot a few days ago (un-related to FreeBSD problems I think)...but when they came back up, the file systems wouldn't mount since they were not clean. Now, I understand that UFS knows nothing about the fact that it's journaled, and the journaling knows nothing about UFS...but it's my understanding that by using gjournal, you should really never need to fsck a file system. However, the only way to get them to mount is by doing the fsck. Is there something else I should be doing instead of fsck? And since I know it will probably come up, I built the file systems using the instructions and notes at http://www.freebsd.org/cgi/man.cgi?query=gjournalapropos=0sektion=0manpath=FreeBSD+7.0-RELEASEformat=html. Any help would be greatly appreciated! Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal fsck
On Thu, Aug 28, 2008 at 10:34 AM, Ivan Voras [EMAIL PROTECTED] wrote: Brian McCann wrote: Hi all. I'm having some problems with several servers I've built recently (7.0-RELEASE) that are using gjournal. I had two reboot a few days ago (un-related to FreeBSD problems I think)...but when they came back up, the file systems wouldn't mount since they were not clean. Now, I understand that UFS knows nothing about the fact that it's journaled, and the journaling knows nothing about UFS...but it's Actually UFS needs to know about gjournal for just this purpose. There's a special option to newfs that tells the file system to be aware of gjournal and it should request fscks. my understanding that by using gjournal, you should really never need to fsck a file system. However, the only way to get them to mount is by doing the fsck. Is there something else I should be doing instead of fsck? man 8 tunefs Yes...I apologize...I did that when I built the file system with newfs -J. Here's the tunefs -p output for one of the file systems: # tunefs -p /dev/da2.journal tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) disabled tunefs: gjournal: (-J) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f)16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) I'm concerned about this because the ones I've had problems with recently are 1.1TB arrays...I've got 2 8.6TB arrays that are journaled as well...and if I ever have to fsck them...that could take 1/2 the day... Any other thoughts? Thanks for the help so far Ivan! --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal fsck
You may wish to have a look at this article: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/gjournal-desktop Great article...thanks. Bookmarked for future use too! In particular, you should make sure you use tunefs to enable Journaling and disable soft update on the journaled filesystems, i.e.: tunefs -J enable -n disable /dev/ad0s1f.journal I was mistaken...I did this when I made the file system...I just posted a message to the thread showing the output of tunefs -p, but soft-updates are off, and journaling does show as on. Mount them using the async option: /dev/ad0s1f.journal /usrufs rw,async2 2 Here's my fstab line: /dev/da1.journal/files6/array2 ufs rw,async,nosuid,noatime 2 2 Note that the pass # still indicates the filesystem should be checked. While I was writing the article, I was trying several scenarios were I had the pass # set to 0, thinking that a gjournaled filesystem would not need fsck at all. I would then press the reset button. In most cases, the system would refuse to mount them. However with the pass # set, the fsck would finish almost immediately, since the actual consistency check takes place when the gjournal module is loaded (you will get a journal consistent after a bad reboot) and before fstab is even parsed. All fsck does in this case is simply confirm to the system it is a clean volume. In short, leaving the pass # to something that would cause an fsck is the safe way to go. The fsck will be almost instant anyway. The file system is about 1.1TB, and I've got 2 of them that are journaled on this particular server. One is currently empty, and fsck's in about 10-15 mins, while the other is 31% used, and takes about 45 mins. Thanks for your help thus far! --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal fsck
On Thu, Aug 28, 2008 at 10:51 AM, Ivan Voras [EMAIL PROTECTED] wrote: Does gjournal complain about your drive, for example that it doesn't support BIOFLUSH? Actually yes...I meant to post them in my last message, but hit send too early...here's my output from boot (from dmesg.boot) GEOM_JOURNAL: Journal 478661671: da1 contains data. GEOM_JOURNAL: Journal 478661671: da1 contains journal. GEOM_JOURNAL: Journal da1 clean. (da1:mly0:4:1:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:mly0:4:1:0): CAM Status: SCSI Status Error (da1:mly0:4:1:0): SCSI Status: Check Condition (da1:mly0:4:1:0): ILLEGAL REQUEST asc:24,0 (da1:mly0:4:1:0): Invalid field in CDB (da1:mly0:4:1:0): Unretryable error GEOM_JOURNAL: BIO_FLUSH not supported by da1. GEOM_JOURNAL: Journal 3065355517: da2 contains data. GEOM_JOURNAL: Journal 3065355517: da2 contains journal. GEOM_JOURNAL: Journal da2 clean. (da2:mly1:4:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da2:mly1:4:0:0): CAM Status: SCSI Status Error (da2:mly1:4:0:0): SCSI Status: Check Condition (da2:mly1:4:0:0): ILLEGAL REQUEST asc:24,0 (da2:mly1:4:0:0): Invalid field in CDB (da2:mly1:4:0:0): Unretryable error GEOM_JOURNAL: BIO_FLUSH not supported by da2. Also, did fsck actually do something when it was started (did it find anything corrupted)? No...it didn't find anything wrong / anything to fix. (and one of the file systems was being written to at the time...so at least journaling appears to be working) Something else I noticed...Manolis' article says it should say journal consistent...whereas mine says Journal clean. I don't know what the differences mean, or what the BIO_FLUSH means...but I'm hoping you can tell me. :) Thanks again! --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal fsck
On Thu, Aug 28, 2008 at 11:03 AM, Brian McCann [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2008 at 10:51 AM, Ivan Voras [EMAIL PROTECTED] wrote: Does gjournal complain about your drive, for example that it doesn't support BIOFLUSH? Actually yes...I meant to post them in my last message, but hit send too early...here's my output from boot (from dmesg.boot) GEOM_JOURNAL: Journal 478661671: da1 contains data. GEOM_JOURNAL: Journal 478661671: da1 contains journal. GEOM_JOURNAL: Journal da1 clean. (da1:mly0:4:1:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:mly0:4:1:0): CAM Status: SCSI Status Error (da1:mly0:4:1:0): SCSI Status: Check Condition (da1:mly0:4:1:0): ILLEGAL REQUEST asc:24,0 (da1:mly0:4:1:0): Invalid field in CDB (da1:mly0:4:1:0): Unretryable error GEOM_JOURNAL: BIO_FLUSH not supported by da1. GEOM_JOURNAL: Journal 3065355517: da2 contains data. GEOM_JOURNAL: Journal 3065355517: da2 contains journal. GEOM_JOURNAL: Journal da2 clean. (da2:mly1:4:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da2:mly1:4:0:0): CAM Status: SCSI Status Error (da2:mly1:4:0:0): SCSI Status: Check Condition (da2:mly1:4:0:0): ILLEGAL REQUEST asc:24,0 (da2:mly1:4:0:0): Invalid field in CDB (da2:mly1:4:0:0): Unretryable error GEOM_JOURNAL: BIO_FLUSH not supported by da2. Also, did fsck actually do something when it was started (did it find anything corrupted)? No...it didn't find anything wrong / anything to fix. (and one of the file systems was being written to at the time...so at least journaling appears to be working) Something else I noticed...Manolis' article says it should say journal consistent...whereas mine says Journal clean. I don't know what the differences mean, or what the BIO_FLUSH means...but I'm hoping you can tell me. :) Thanks again! --Brian I should probably also mention that this is on a Mylex 2000 RAID controller...with a RAID-5 array and using write-caching. Thanks --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gjournal fsck
On Thu, Aug 28, 2008 at 11:25 AM, Manolis Kiagias [EMAIL PROTECTED] wrote: I don't have any exotic hardware myself - the article was written with standard SATA disks as examples. As I understand, the consistent message comes up when the journal is actually used to return the filesystem to a consistent state (what would happen after a power failure, when the filesystem is dirty) and the clean message means there was no inconsistency between the filesystem and journal (a normat shutdown of the filesystem). If it comes up as clean, I wonder why fsck kicks in at all... The only thing I can think of is the dirty bit is still set on the file system, so it insists on fsck'ing it...but I'm obviously fuzzy on the whole thing. Interestingly enough...I checked dmesg.boot on one of the 8.6TB machines (which is running a completely different controller...a 3Ware 9550)...and I didn't get those BIO_FLUSH errors... Again, thanks for your help! If you think of anything, please let me know...this is getting old fast since the box has hung twice this week now. --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync samba
Hi all. I'm having a problem that I can't seem to solve, and so far I can't find anything to point me in the right direction. I've got a Samba server mounted using mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/share, and I'm trying to rsync from a local drive to the smb mount. It's always trying to replace certain files, of varying sizes in varying places on the source drive. The MD5 sums never match after an rsync. If I use cp to copy the files, the MD5s match, but if I then run rsync again, it replaces it with a bad file again. I'm using rsync 3.0.3, on FreeBSD 7-Release. My copy destination is a NAS, which is only accessible via Samba. Anyone have any ideas? Thanks, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump never ending?
Upgrading to 7-STABLE seems to have fixed the problem. Thanks Kris! --Brian On Wed, Apr 23, 2008 at 1:51 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Brian McCann wrote: On Wed, Apr 23, 2008 at 12:58 PM, Brian McCann [EMAIL PROTECTED] wrote: I've got an issue on a new 7.0 amd64 box (first one I've setup with amd64). When I dump tiny file systems (24M and 12K for example), dump runs file. When I dump something larger (202M and 2G for example), it hangs and stops writing. The command I'm running is: dump -0uan -L -f /mnt/tiw.root.dump / It hangs weather I put in -L or not, and if I try going to a local file system or one over NFS. I do see the following in ps: dump: /dev/amrd0s1a: pass 4: 80.10% done, finished in 0:00 at Wed Apr 23 11:48:28 2008 ( along with 3 other dump processes. There's no verbose option for dump...so I can't quite see what's going on. Does anyone have any ideas on this, or has anyone seen this before? What is the wait channel in which the dump process is stuck (press ^T). It sounds like a kernel bug that was recently fixed, so you could just try updating to 7.0-STABLE. I believe it is scheduled for release as an errata patch against 7.0-RELEASE too. Kris -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dump never ending?
I've got an issue on a new 7.0 amd64 box (first one I've setup with amd64). When I dump tiny file systems (24M and 12K for example), dump runs file. When I dump something larger (202M and 2G for example), it hangs and stops writing. The command I'm running is: dump -0uan -L -f /mnt/tiw.root.dump / It hangs weather I put in -L or not, and if I try going to a local file system or one over NFS. I do see the following in ps: dump: /dev/amrd0s1a: pass 4: 80.10% done, finished in 0:00 at Wed Apr 23 11:48:28 2008 ( along with 3 other dump processes. There's no verbose option for dump...so I can't quite see what's going on. Does anyone have any ideas on this, or has anyone seen this before? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump never ending?
, class 9/0, rev 2.00/1.00, addr 1 on usb3 uhub3: 6 ports with 6 removable, self powered uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2 on uhub3 uhub4: multiple transaction translators uhub4: 2 ports with 2 removable, self powered pcib11: ACPI PCI-PCI bridge at device 30.0 on pci0 pci11: ACPI PCI bus on pcib11 vgapci0: VGA-compatible display port 0xcc00-0xccff mem 0xf000-0xf7ff,0xfe0f-0xfe0f irq 18 at device 13.0 on pci11 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH5 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] orm0: ISA Option ROMs at iomem 0xc-0xcafff,0xec000-0xe on isa0 ppc0: cannot reserve I/O port range sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: CDROM TEAC CD-ROM CD-224E-N/3.AB at ata0-master UDMA33 amr0: delete logical drives supported by controller amrd0: LSILogic MegaRAID logical drive on amr0 amrd0: 140280MB (287293440 sectors) RAID 1 (optimal) amrd1: LSILogic MegaRAID logical drive on amr0 amrd1: 280560MB (574586880 sectors) RAID 1 (optimal) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/amrd0s1a em1: link state changed to UP On Wed, Apr 23, 2008 at 12:58 PM, Brian McCann [EMAIL PROTECTED] wrote: I've got an issue on a new 7.0 amd64 box (first one I've setup with amd64). When I dump tiny file systems (24M and 12K for example), dump runs file. When I dump something larger (202M and 2G for example), it hangs and stops writing. The command I'm running is: dump -0uan -L -f /mnt/tiw.root.dump / It hangs weather I put in -L or not, and if I try going to a local file system or one over NFS. I do see the following in ps: dump: /dev/amrd0s1a: pass 4: 80.10% done, finished in 0:00 at Wed Apr 23 11:48:28 2008 ( along with 3 other dump processes. There's no verbose option for dump...so I can't quite see what's going on. Does anyone have any ideas on this, or has anyone seen this before? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Large file system creation
Hi all. I'm trying to create a ~9TB partition on a new file server. I thought FreeBSD now supported this (I'm on 7.0), but I can't figure it out. I go into sysinstall, create the partition in fdisk using A = Use Entire Disk), write it to disk, exit sysinstall and re-run it...and sysinstall doesn't show what it showed before I exited last time. Can someone shed some light on what I'm doing wrong here? Thanks, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large file system creation
That looks like what I need. I've got a seperate 32GB array to boot off of, so that's perfect. Now to just read some man pages. Thanks! --Brian On Tue, Apr 8, 2008 at 9:30 AM, Erik Trulsson [EMAIL PROTECTED] wrote: On Tue, Apr 08, 2008 at 08:39:48AM -0400, Brian McCann wrote: Hi all. I'm trying to create a ~9TB partition on a new file server. I thought FreeBSD now supported this (I'm on 7.0), but I can't figure it out. I go into sysinstall, create the partition in fdisk using A = Use Entire Disk), write it to disk, exit sysinstall and re-run it...and sysinstall doesn't show what it showed before I exited last time. Can someone shed some light on what I'm doing wrong here? The filesystem (UFS2) supports disks larger than 2TB, but fdisk(8) and bsdlabel(8) (which are what sysinstall uses to partition the disk) do not support disks larger than 2TB due to limitations in the on-disk format they use. You will need to use gpt(8) instead to partition your disk. This cannot be done from sysinstall and you normally cannot boot from a gpt(8)-partitioned disk due to lack of support in the BIOS of most PC. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large file system creation
Hmm...didn't think of that...didn't think fsck used that much RAM...and thought it was independent of the file system size. Right now it's got 2GB. On Tue, Apr 8, 2008 at 11:28 AM, Alexandre Biancalana [EMAIL PROTECTED] wrote: On 4/8/08, Brian McCann [EMAIL PROTECTED] wrote: That looks like what I need. I've got a seperate 32GB array to boot off of, so that's perfect. Now to just read some man pages. Thanks! How many memory do you have in this machine ?? To fsck 9 TB you will need a LOT of memory -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large file system creation
On our older servers that wouldn't even recognize a 2TB partition (which is where the OS was too), we used a CF card and CF card adapter to boot from. Slightly more gracious... On Tue, Apr 8, 2008 at 3:12 PM, Edward Capriolo [EMAIL PROTECTED] wrote: On Tue, Apr 8, 2008 at 9:38 AM, Wojciech Puchar [EMAIL PROTECTED] wrote: Hi all. I'm trying to create a ~9TB partition on a new file server. I thought FreeBSD now supported this (I'm on 7.0), but I can't figure it out. I go into sysinstall, create the partition in fdisk using A = Use Entire Disk), write it to disk, exit sysinstall and re-run it...and sysinstall doesn't show what it showed before I exited last time. Can someone shed some light on what I'm doing wrong here? The filesystem (UFS2) supports disks larger than 2TB, but fdisk(8) and bsdlabel(8) (which are what sysinstall uses to partition the disk) do not support disks larger than 2TB due to limitations in the on-disk format they use. You will need to use gpt(8) instead to partition your disk. or don't partition at all This cannot be done from sysinstall and you normally cannot boot from a gpt(8)-partitioned disk due to lack of support in the BIOS of most PC. or use old disk, pendrive, DVD-ROM etc. for booting ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Seems like a shame to boot a nice 9TB disk pack off a floppy Disk or a Pen drive. I mean you do what you have to but that just screams 'workaround' -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
swap_pager: indefinite wait buffer
Hi all. I'm sure some of you have seen this, and I'm looking for some advice. I've got 2 servers now that will completely lockup (one is 6.1-p4, the other 6.2-p7), and just display this on the console: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 33, size: 4096 It repeats and continues to be frozen until I reboot the machine. The machine responds to ping, but that's about it. On one of my boxes, it appears to happen under heavy use (though this is not always the case...it's done it on me before when it's been completely idle). There should be no reason for either of these machines to swap...one of them has 4GB of RAM, the other has 2GB, and they never come close to using it all (based on our statistics). I've seen the various comments that it's probably bad hardware, but I haven't been able to find anything. I also saw there was a reference in the todo for 6.1 (http://www.freebsd.org/releases/6.1R/todo.html) about this. Anyone know if there has been any updates to this? Anyone have any info that could help me out? Thanks, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bridging and port mirroring
I've poked around on the web, but come up empty. And I find it hard to believe there's not a simple way to do this, if it hasn't been done before. I've got a server with two nics configured for bridging and running bunches of ipfw rules. I'd like to add a 3rd NIC and have it mirror the 2nd NIC (so all traffic into and out of nic2 goes to nic3), so I can run an IDS on another server. Yes, I know that has the potential to overload nic3 if there is a lot of traffic going in and out of nic2, but that's not an issue for me. Has anyone done this before, or know how to do this? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror woes
I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: Geom name: gm0s1 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 1 SyncID: 2 ID: 1250906373 Providers: 1. Name: mirror/gm0s1 Mediasize: 36701166592 (34G) Sectorsize: 512 Mode: r5w5e5 Consumers: 1. Name: da0s1 Mediasize: 36701167104 (34G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 1 SyncID: 2 ID: 1129080348 But when I try to run gmirror configure -a mirror/gm0s1, I get: No such device: mirror/gm0s1. Can someone give me some pointers here? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror woes
Thanks Eric! --Brian On 9/11/07, Eric Crist [EMAIL PROTECTED] wrote: On Sep 11, 2007, at 4:31 PMSep 11, 2007, Brian McCann wrote: I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: [snip] [PLUG] Take at peek at https://www.secure-computing.net/wiki/ index.php/Gmirror [/PLUG] It's something I wrote up for work, as we use gmirror on many of our firewalls, or will be shortly. If you have questions, please feel free to ask! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Edgeport USB-serial device
Tried and failed. It detected the device, but didn't know what to do with it. I was trying the Edgeport/4 and Edgeport/8s. On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, Anybody ever tried to run one of the following usb-serial devices on a FreeBSD 5/6 box? Does it work out of the box, not work at all, work with some driver code adjustments? There is something about ETHERPORT4 in /usr/src/sys/dev/usb/usb_quirks.c and /usr/src/sys/dev/usb/usbdevs, but I'm not sure it's the same Edgeport I'm looking at; the code says vendor INSIDEOUT, while I'm looking at a product by Digi. Edgeport/412 USB to 4 port USB and 12 port DB-9 Edgeport/416 USB to 4 port USB and 16 port DB-9 Edgeport/8 USB to 8 port RS-232 DB-9 see http://www.digi.com/products/usb/edgeport.jsp Thanks, Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serial Console Help Needed
On 11/28/05, Jay [EMAIL PROTECTED] wrote: On 11/29/05, Brian McCann [EMAIL PROTECTED] wrote: Hi all. I'm having a heck of a time trying to get a serial console setup on 5.4. I've recompiled the boot blocks to set the speed to 19200, added set console=comconsole to /boot/loader.rc, turned on /dev/ttyd0 and ttyd1 in /etc/ttys, and added -P to /boot.config. I can see the kernel messages, then it looks like when rc runs, it stops. I don't see anything beyond Mounting root from ufs:/dev/da0s1a, until I get my getty (which, for some reason is ttyd1, not ttyd0). The config for sio0 in dmesg shows sio0: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0. Any ideas? I'm out of good ones... Thanks, --Brian _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters try add nc flag(no carrier) to gettytab entry like this.. /etc/gettytab: serialcon:\ :np:nc:hw:tc=19200-baud: /etc/ttys: ttyd0 /usr/libexec/getty serialcon vt100 on secure (or ttyd1..?) it fixed same trouble on mine. btw, I don't know why your sio0 is 0x2f8 irq3 .. isn't it supposed to be detected as sio1? If you are going to use boot0sio too, you need to add 'BOOT_COMCONSOLE_PORT=0x2F8' to /etc/make.conf then recompile/install /sys/boot then install boot0sio using boot0cfg(8). Tried messing with gettytab and ttysno go. I think it's got to do with the boot blocks though. I've been using bsdlabel to re-write them, as per the handbookis this not doing what the hanbook claims it does? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serial Console Help Needed
On 11/28/05, Jay [EMAIL PROTECTED] wrote: On 11/29/05, Brian McCann [EMAIL PROTECTED] wrote: Hi all. I'm having a heck of a time trying to get a serial console setup on 5.4. I've recompiled the boot blocks to set the speed to 19200, added set console=comconsole to /boot/loader.rc, turned on /dev/ttyd0 and ttyd1 in /etc/ttys, and added -P to /boot.config. I can see the kernel messages, then it looks like when rc runs, it stops. I don't see anything beyond Mounting root from ufs:/dev/da0s1a, until I get my getty (which, for some reason is ttyd1, not ttyd0). The config for sio0 in dmesg shows sio0: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0. Any ideas? I'm out of good ones... Thanks, --Brian _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters try add nc flag(no carrier) to gettytab entry like this.. /etc/gettytab: serialcon:\ :np:nc:hw:tc=19200-baud: /etc/ttys: ttyd0 /usr/libexec/getty serialcon vt100 on secure (or ttyd1..?) it fixed same trouble on mine. btw, I don't know why your sio0 is 0x2f8 irq3 .. isn't it supposed to be detected as sio1? If you are going to use boot0sio too, you need to add 'BOOT_COMCONSOLE_PORT=0x2F8' to /etc/make.conf then recompile/install /sys/boot then install boot0sio using boot0cfg(8). To add to the confusion...I just also noticed that in /boot/device.hints, sio0 is set to be 0x3f8, IRQ4, but dmesg shows sio0 to be 0x2f8 irq3..how is this happening? Anyone got any ideas? --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making a Compact Flash-based installer
I've booted off of CF before...and am doing so because the arrays are 2TB, and the BIOS won't boot from it. I just made a boot floppy, then DD'd it to the CF card. If your CF card is 640 (or 700) MB, you could do the same (DD from the CD to CF). Hope that helps. --Brian On 11/29/05, tsuraan [EMAIL PROTECTED] wrote: I've been using a custom bootable CD for a while to install a customized build of FreeBSD on servers, but now I have a unit that has neither a CD-ROM drive nor any molex connectors at all. It does have a pair of compact flash drives though. So, what I'd like to do is transfer the data from my bootable CDs to a compact flash card, so I can install off that instead. What I've tried so far is set up a new disklabel on the drive (actually, on a file initialized with mdconfig) that has its -b set to the CDs /boot/boot, and I've copied the contents of the CD to the cf card. This results in a card that is bootable, but the boot loader says the card is not ufs (it is), and it can't find the kernel. The actual commands I'm using (from memory) are: # dd if=/dev/zero of=mydrive bs=1m count=100 # mdconfig -a -t vnode -f cd.iso -u 0 # mount -t cd9660 /dev/md0 /cdrom # mdconfig -a -t vnode -f mydrive -u 1 # bsdlabel -w -B -b /cdrom/boot/boot md1 # newfs /dev/md1 # mount /dev/md1 /mnt # cp -r /cdrom/* /mnt/ # umount /mnt # umount /cdrom # mdconfig -d -u 1 # mdconfig -d -u 0 # dd if=mydrive of=/dev/ad2 So, has anyone done this, and actually had it work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serial Console Help Needed
Hi all. I'm having a heck of a time trying to get a serial console setup on 5.4. I've recompiled the boot blocks to set the speed to 19200, added set console=comconsole to /boot/loader.rc, turned on /dev/ttyd0 and ttyd1 in /etc/ttys, and added -P to /boot.config. I can see the kernel messages, then it looks like when rc runs, it stops. I don't see anything beyond Mounting root from ufs:/dev/da0s1a, until I get my getty (which, for some reason is ttyd1, not ttyd0). The config for sio0 in dmesg shows sio0: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0. Any ideas? I'm out of good ones... Thanks, --Brian _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Snapshots
Hi all...I'm having a problem using snapshots...which I discovered when I tried a system backup using dump. I've got a 283Gb partition, and the system was trying to create the snapshot for 12 hours. I'm on 5.4-RELEASE. Should this be taking this long? My gut tells me no...cause it'd be foolish if it did. Any ideas/suggestions? Thanks in advance, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache logging?
Anyone here know how to get Apache to log in GMT when the system clock is in local time? I can't imagine this being impossible...but I can't seam to find it anywhere. Thanks! --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache logging?
On 6/15/05, Jeff Wirth [EMAIL PROTECTED] wrote: Anyone here know how to get Apache to log in GMT when the system clock is in local time? I can't imagine this being impossible...but I you didn't mention what version of apache... 1.3.* - http://httpd.apache.org/docs/logs.html#accesslog [10/Oct/2000:13:55:36 -0700] (%t) The time that the server finished processing the request. The format is: [day/month/year:hour:minute:second zone] day = 2*digit month = 3*letter year = 4*digit hour = 2*digit minute = 2*digit second = 2*digit zone = (`+' | `-') 4*digit It is possible to have the time displayed in another format by specifying %{format}t in the log format string, where format is as in strftime(3) from the C standard library. -jeff Thanks Jeff! Just as I got your message I found a work around that worked for me. I set the TZ environment variable in the RC script to me GMT and that did the trick. Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Starting system from floppy
Hi all. I need to make a boot floppy for my system, but I'm having trouble finding data on what to do / how to do it. I have a rather large array, and my system bios will not boot from it, so I need to boot off of other means. I recall when I was working with RedHat (a long time ago), during the install it gave the option to make a boot floppy to start the OS...that's basically what I'm looking for. I've got the kernel and everything on the hard drive array, I just need the loader on the boot floppy. Has anyone done this? If anyone can help me out, I'd be very grateful. Thanks! --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ng_netflow complile problems
Hi all. I've made ng_netflow work on one of my SMP boxes, and now I need to make it work on a UP box...should be fairly simple. I'm trying to compile ng_netflow, and I get the following error: --- === ng_netflow /usr/share/mk/bsd.man.mk, line 53: bsd.man.mk cannot be included directly. *** Error code 1 Stop in /root/netflow/ng_netflow-0.2.5-UP. --- I've grep'ed for bsd.man.mk in the Makefiles and all the source and cannot find it. Anyone have any ideas here? I'm at a loss... Thanks in advance, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netgraph netflow
That did the trick I think. I'll know after an hour or so of real traffic going through it. It at least helped me understand it a lot better. Thanks! --Brian On 5/5/05, Glenn Dawson [EMAIL PROTECTED] wrote: At 07:26 AM 5/5/2005, you wrote: Hi all. I'm trying to get ng_netflow to work, and I'm having a heck of a time doing so. So if anyone can shed some light on my problem, please do so. I've tried multiple configurations, and can't get it to work right. I can only get it to see traffic in one direction (for example, flows from other PCs to the server. Flows starting from the server started by something like fetch or ssh don't show up as sourcing from the server). Here is the config that I thought would do that, but it's not. mkpeer fxp1: tee lower right connect fxp1: fxp1:lower upper left mkpeer fxp1:lower netflow left2right iface0 name fxp1:lower.left2right fxp1_netflow msg fxp1_netflow: setifindex { iface=0 index=5 } mkpeer fxp1_netflow: ksocket export inet/dgram/udp msg fxp1_netflow:export connect inet/127.0.0.1:9800 Using this, when I run flowctl, it shows the source interface as ppp0 and sometimes sl0, which isn't even connected, and a dest interface of fxp1. If I switch all the left2rights with right2lefts, I get only flows going to the server...so after reading how the tee in netgraph works, I assumed if I switched it, it would show the other direction. Try this...I've used it to catch flows in both directions for an em interfaceyou can probably tweak it to work in your situation... mkpeer em0: tee lower right connect em0: em0:lower upper left name em0:lower em0_tee mkpeer em0_tee: netflow left2right iface0 name em0:lower.left2right netflow connect em0_tee: netflow: right2left iface1 msg netflow: setifindex { iface=0 index=2 } msg netflow: setifindex { iface=1 index=1 } mkpeer netflow: ksocket export inet/dgram/udp msg netflow:export connect inet/x.x.x.x: -Glenn Any thoughts, suggestions? Thanks, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
netgraph netflow
Hi all. I'm trying to get ng_netflow to work, and I'm having a heck of a time doing so. So if anyone can shed some light on my problem, please do so. I've tried multiple configurations, and can't get it to work right. I can only get it to see traffic in one direction (for example, flows from other PCs to the server. Flows starting from the server started by something like fetch or ssh don't show up as sourcing from the server). Here is the config that I thought would do that, but it's not. mkpeer fxp1: tee lower right connect fxp1: fxp1:lower upper left mkpeer fxp1:lower netflow left2right iface0 name fxp1:lower.left2right fxp1_netflow msg fxp1_netflow: setifindex { iface=0 index=5 } mkpeer fxp1_netflow: ksocket export inet/dgram/udp msg fxp1_netflow:export connect inet/127.0.0.1:9800 Using this, when I run flowctl, it shows the source interface as ppp0 and sometimes sl0, which isn't even connected, and a dest interface of fxp1. If I switch all the left2rights with right2lefts, I get only flows going to the server...so after reading how the tee in netgraph works, I assumed if I switched it, it would show the other direction. Any thoughts, suggestions? Thanks, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB2.0 External IDE connections
I tried, but I ended up returning the enclosures. I had a problem where anytime I would output lots of data to the drive (say 2 PCs copying a 4gb file to it), the drive would dissapear and hang the system. Happened on both Windows and FreeBSD though. IIRC, it was the newer Prolific chipset. On 4/22/05, scott renna [EMAIL PROTECTED] wrote: Has anyone had any luck in using external USB2.0 enclosures on FreeBSD 5.3? I've picked up 2 of them with different chipsets and have 2 USB2.0 to IDE converter cables. My kernel has support for ehci so that's not an issue, but every time i plug one of these devices it, it's detected as da0 and a umass device, and I'm told data transfer is limited to 1Mb/s. attempting to mount da0 doesn't work. has anyone had any experience in using these types of devices? thanks scott __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what kind of BBS software on freebsd work well
I would just use phpbb...it's a snap to setup, and doesn't take much to manage. --Brian On 4/19/05, liu jiachang [EMAIL PROTECTED] wrote: Hi, everyone. There are some excellen bbs software, e.g vbb, phpbb, FUDforum, but do I have another choice? I just want to install a BBS software on my personal web, build on php and mysql database, and it should be a free software (GPL lisence?), and should support mulity lanuage. What about Simplified Chinese? _ Do You Yahoo!? 150MP3 http://music.yisou.com/ http://image.yisou.com 1G1000 http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dual processor
By default, no...I don't think it will use both processors. You have to make a custom kernel and enable SMP. Look here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html for how to do it. In 5.x, I believe all you need is options SMP, but I could be wrong. If you build the sample LINT kernel config, it will show you in there. Good luck, --Brian On 4/19/05, William Biggs [EMAIL PROTECTED] wrote: I have a dual processor server Will freebsd use them both is so When I install it how do I get it to use it ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports collection problems...help???
Hi all. I'm having problems with my ports collection on a 4.10 server. I need to keep the versions of the ports the same on these two boxes (for dev reasons), so I rsync'd /usr/ports...and on the target machine, I get the following error when I try to build something: Makefile error: There is a COMMENTFILE in this port. COMMENTFILEs have been deprecated in favor of COMMENT variables. Please, rectify this. *** Error code 1 But...there are no files with COMMENTFILE in their name on the system! Help?!?! Thanks in advance, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports collection problems...help???
Thanks! On 19 Apr 2005 10:41:16 -0400, Lowell Gilbert [EMAIL PROTECTED] wrote: Brian McCann [EMAIL PROTECTED] writes: Hi all. I'm having problems with my ports collection on a 4.10 server. I need to keep the versions of the ports the same on these two boxes (for dev reasons), so I rsync'd /usr/ports...and on the target machine, I get the following error when I try to build something: Makefile error: There is a COMMENTFILE in this port. COMMENTFILEs have been deprecated in favor of COMMENT variables. Please, rectify this. *** Error code 1 But...there are no files with COMMENTFILE in their name on the system! Help?!?! If I recall correctly, pkg-comment is the filename you should look for. -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IDS Recomendations
This should probably be posted to freebsd-security, but I figured I'd start here first. I've got to start to implement an IDS system, and I'm wondering what any of you guys are using for software. I've always used Snort ACID, but I'm curious how others feel. I've seen Prelude, and it looks kinda cool, but Snort ACID have proved themselves over many years. Any thoughts or suggestions? --Brian _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terminal server recommendation?
OT for the list I'd think, but for power cyclers, I use the APC MasterSwitch units with the network management card in them. They have a nice web interface, or you can console to them via serial, and they support telnet as well (maybe SSH..not sure on that one.). As for a terminal server, since we have extra 1U servers sitting around, I will be building my own, using EdgePort 8-Port Serial-USB adapters...either on FreeBSD if they are supported or W*ndows, depending on if FreeBSD supports them (haven't looked yet). Hope that helps, --Brian On 4/18/05, Noah [EMAIL PROTECTED] wrote: Hi there, well I am needing some more remote control to my machines at my colo facility. can you possibly recommend a really nice terminal server? also what about remote power cyclers? any clues here? cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: India had no FreeBSD mirror sites ?!?
Another suggestion would be talk to a university or other large school that may be able to afford the bandwidth, or get it at a discounted rate. Heck, it's added publicity for them and they are helping the open source community. --Brian On 4/14/05, Subhro [EMAIL PROTECTED] wrote: Rob wrote: Hi, I recommended FreeBSD to a friend of mine in India and discovered to my great astonishment that there's no mirror site in India, at least none is listed on the official FreeBSD mirror site: Yeh you are right. http://www.freebsd.org/.../handbook/mirrors-ftp.html I would have expected several mirror sites there, with India becoming one the software development centers in the world. Well the main issue is, bandwidth is very very costly in India. The amount of bandwidth that would cost 40 USD in US would cost around 350 USD in India. Is nobody or no institute in India interested in setting up a FreeBSD mirror site? Or is (Free)BSD an unknown/unused OS in India. FreeBSD is definitely not used as much as Linux as far as Indian scenario is concerned. And I am really sorry to say, maximum boxes are ruled by windows, that too pirated editions :-( For comparison: China has 2 mirrors, Taiwan has 16, Korea 2, Japan 9, Indonesia 1 and HongKong 1. India has none! I would speak to my ISP and try to convince them to set up a mirror here. Lets see what works out. Regards S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Basic Info on Wireless Router Installation and Performance
FWIW, stay away from Linksys if you can help it. I used to love them for basic stuff, but once I wanted to do more advanced stuff like bridging and having Client APs, i hit all kinds of problems...even getting 2 identical APs to talk to each other. I've gotten D-Link every since and been happy. I haven't tried Linksys since Cisco has taken over and help them fix some of their products, but I don't know that it's worth the risk. On that note, you can also get a Cisco solution if you have the money (separate router and AP)...but sometimes it's just not worth it. I just got at NewEgg, a DLink 802.11g pack with a wireless router and PCMCIA NIC, with their Super G or whatever it's called technology, for 98 bux...something to consider. --Brian On Thu, 20 Jan 2005 15:37:07 -0500, Bob Perry [EMAIL PROTECTED] wrote: Just joined an ISP that has agreed to provide residential DSL service. Their service is normally limited to commercial operations but they made the offer based on the fact that my OS was FreeBSD. At this stage we have determined that only one of three phone jacks in my apartment is able to sync-up with the DSL. The options, thus far, are to fix the inside phone wiring or install a wireless router. I know little about wireless routers but have started some research and will continue. However, thought I would also touch base with the mailing list to see what information/experience members are willing to pass along. Would appreciate it you would direct me to relevant resource material for further review. If you have the time, please respond with your thoughts re hardware/software, installation, stability, and security issues as they relate to wireless routers and FreeBSD. I also just purchased the 5.3 CD set and will replace my 4.9 box with it. Thanks, Bob Perry -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I set priorities for file transfers
Look into dummynet and ipfwyou can essentially use them to limit bandwidth on certain ports and/or ip addresses. I did something similar once before, but to my entire machine...worked fairly well. --Brian On Tue, 18 Jan 2005 08:23:58 -0600 (CST), Brian John [EMAIL PROTECTED] wrote: Hello, I have (I think) kind of a unique question. I leave my home computer on all day and transfer and share files via a P2P application. However, sometimes I like to ssh in from work and transfer files between my work PC and my home PC via scp. Right now it is really slow because it is transferring so much with the P2P apps, that it uses up all of my bandwidth. Is there any way that I can put a priority on this so that it gives me the majority of my bandwidth when I want to use scp? Thanks /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make package question
Hi all...easy question for someone. I'm starting to use one machine to make my ports and system on and NFS mount and install from that one central machine. I'm trying to use make package and make package-recursive for ports...but is there a way to have it NOT try to install the port, just make the package file? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone using Putty and ssh-agent?
I've had similar problems with PuTTY as well...and upgrading PuTTY fixed the problem, but I'm curious about the whole PasswordAuthentication thing. I am testing out 5.3 now for our production environment, and I haven't touched the sshd config file, yet I can still login using usernames and passwords. How is this possible? And how would have upgradding PuTTY fixed this? Thanks, --Brian Similiar problems have been noted on this list before with putty, the solution was to set PasswordAuthentication to yes in your sshd_config which is disabled by default in 5.3 Nelis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Seg Fault in Dig on 5.3-RELEASE
Hi all. Wondering if anyone else is having similar problems. On 5.3-RELEASE (smp if it matters), I'm getting occasional (1 out of every 10 runs or so) seg faults from running dig. In the core dump, it makes mention of: pointer != NULL ERROR /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/cryptlib.c %s(%d): OpenSSL internal error, assertion failed: %s Anyone else experiencing this? Any help would be appreciated. Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS
Nope...just tried that with no luck. Thanks though. Any other ideas anyone? --Brian On Tue, 04 Jan 2005 15:43:40 -0800, Bob Van Zant [EMAIL PROTECTED] wrote: Are your dates screwed up? By that I mean is master.passwd newer than your NIS file? Try touch(1)ing your NIS file and then running make. I've never actually setup NIS before. My comment is just based on my experiences with make. -Bob On Tue, 2005-01-04 at 17:29 -0500, Brian McCann wrote: HI all...I'm having a NIS problem I can't figure out. I've done this before on 4.7, and countless other times on RedHat...but this is evading me. I'm trying to re-make my databases since I've added a user, I go into /var/yp and run make mynis and get `mynis' is up to date., which I know can't be right. I've got to be missing something somewhere. I've added the line to the Makefile MASTER_PASSWD = /etc/master.passwd so that YP uses the file in /etc...or at least...that's all I recall having to do on 4.7, and doctored up the sections that involve the passwd files changed it to only look at UIDs greater then 3. Can someone point out my probably obvious mistake? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] === This footer was appended by the Honeypot Injector The message was injected from 216.136.204.119 on 04 Jan 2005 14:29:24 -0800. This IP was classified in the WHITELIST sender group. The org ID is 1681939, and the SBRS is 2.1 === ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH 5.3 Problems
Hi all. On 5.3 and 5.3 RC1 I have this problem where when I ssh in using either a FreeBSD 4.3 box or an older PuTTY client (0.52 is one I experienced it with), I cannot connect. On PuTTY, it asks for a username, then just exits. On FreeBSD when I put the ssh client into verbose, it appears it can't agree on an auth method, even though both are set to accept and attempt keyboard-interactive. Upgrading to a newer PuTTY fixed the problem, and it seams to work from FreeBSD 4.10. I've seen some posts from people that upgrading their PuTTY fixed the problem, but I'm curious if anyone knows the cause of the problem, and possibly how to fix it, on the server end. Thanks, --Brian McCann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: SSH 5.3 Problems
That's just it...I didn't see any errors. Originally it was throwing errors that it couldn't lookup the name of the workstation, but once that got fixed I wasn't getting anything. I've got to try putting sshd into verbose later this afternoon... --Brian On Tue, 04 Jan 2005 15:14:33 +0100, David Landgren [EMAIL PROTECTED] wrote: Brian McCann wrote: Hi all. On 5.3 and 5.3 RC1 I have this problem where when I ssh in using either a FreeBSD 4.3 box or an older PuTTY client (0.52 is one I experienced it with), I cannot connect. On PuTTY, it asks for a username, then just exits. On FreeBSD when I put the ssh client into verbose, it appears it can't agree on an auth method, even though both are set to accept and attempt keyboard-interactive. Upgrading to a newer PuTTY fixed the problem, and it seams to work from FreeBSD 4.10. I've seen some posts from people that upgrading their PuTTY fixed the problem, but I'm curious if anyone knows the cause of the problem, and possibly how to fix it, on the server end. What error message does sshd emit on the server? David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH 5.3 Problems
Tried that I set PuTTY to use only V2 and it died as well. I guess it's possible that older versions of PuTTY has an SSH v2 bug, but it happened from FreeBSD trying that too. :-/ Thanks though, --Brian On Tue, 4 Jan 2005 10:17:34 -0800, Aaron Nichols [EMAIL PROTECTED] wrote: On Tue, 4 Jan 2005 10:16:37 -0500, Brian McCann [EMAIL PROTECTED] wrote: That's just it...I didn't see any errors. Originally it was throwing errors that it couldn't lookup the name of the workstation, but once that got fixed I wasn't getting anything. I've got to try putting sshd into verbose later this afternoon... Note that as of 5.x only protocol version 2 is supported by default. Thus, you may want to try changing the following line in /etc/ssh/sshd_config: from: #Protocol 2 to: Protocol 2,1 This will enable ssh1 support Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NIS
HI all...I'm having a NIS problem I can't figure out. I've done this before on 4.7, and countless other times on RedHat...but this is evading me. I'm trying to re-make my databases since I've added a user, I go into /var/yp and run make mynis and get `mynis' is up to date., which I know can't be right. I've got to be missing something somewhere. I've added the line to the Makefile MASTER_PASSWD = /etc/master.passwd so that YP uses the file in /etc...or at least...that's all I recall having to do on 4.7, and doctored up the sections that involve the passwd files changed it to only look at UIDs greater then 3. Can someone point out my probably obvious mistake? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bug or design?
Hi all. I'm starting to use 5.3 on some production servers, and I just noticed something I hadn't picked up on before that is REALLY annoying. When I'm using sysinstall, there is some wierdness that I thought worked in 4.10. First, when I go to configure an interface, even if it's already setup, it does not show the current IP address for that interface, but it does show the default gateway. Second, during the inital install, I tried to configure both interfaces on the server. However, after choosing fxp0 from the list and setting it up, I then went to do fxp1 and it had the settings for fxp0 in the fields already. I just canceled out and configured one during install and one after, but still, annoying. Is anyone else experiencing this, or am I doing something wrong here? I'm fairly sure this worked in 4.10. Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsd book
I haven't read either...I normally find what I need in the handbook or friends. But...if I may make another suggestion, the BSD Hacks book, by Dru Lavigne published by O'Reilly, has some really nice tips in it. I got it a few days ago and have been skimming it...so far it's pretty cool. A colleague said that he's found a few errors, but just like any other reference, check what you read. If you are going to look at getting any O'Reilly book tho, try getting it from Amazon or BookPool...it's silly to pay full price for them. :) Hope this helps! --Brian On Thu, 9 Dec 2004 13:32:33 +0100, Florian Hengstberger [EMAIL PROTECTED] wrote: Hi! I need help concerning free-bsd literature: Two books seem to be interesting (the complete freebsd, absolute bsd) but although I had a look at both I'm not quite sure which one to buy. What I want is a deep bsd-specific guide covering mostly freebsd related topic such as the kernel, system administration and of course as much networking as possible. I want to avoid paying for a 100-pages introduction to c-shell or bash (with wich I'm now familiar with) or a man-page like overview of the basic unix commands (ls and cd are under control now!). So which one of the two books would you recommend. If both are ok: what's the difference? Thanks a lot Florian -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need disk statistics
Hi all. I need to get the percent busy for the disks in my servers, so that I can graph/monitor them. I've looked into the UCD-SNMP MIBs, but their % busy counters for disks don't appear to work. I know I can use iostat to get the close to instantaneous % busy, but I'm looking for a 5 minute average. Has anyone does this? Any ideas on how to get this done? Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need disk statistics
I'm using RRDTool now for a lot of things, but it's just a database...I need to feed in the data I need...that's the hard part...getting the data. Same goes with Nagios/Netsaint. I know they do the disk % used, but I'm fairly confident they don't do busy %...I'll check though...I forgot about that. Thanks, --Brian On Wed, 8 Dec 2004 18:07:21 +0100, Jorn Argelo [EMAIL PROTECTED] wrote: On Wed, 8 Dec 2004 12:04:58 -0500, Brian McCann wrote Hi all. I need to get the percent busy for the disks in my servers, so that I can graph/monitor them. I've looked into the UCD-SNMP MIBs, but their % busy counters for disks don't appear to work. I know I can use iostat to get the close to instantaneous % busy, but I'm looking for a 5 minute average. Has anyone does this? Any ideas on how to get this done? MRTG, RRDtool or Nagios will do the trick. All of them can be found in the ports-tree. Be prepared for some work though, because it isn't that easy. Jorn Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FAT32/NTFS, external hard drive issue
Is this between 2 different PCs? Why not use Samba? Or, if you are daring, an NFS client for Windows. --Brian On Thu, 11 Nov 2004 05:58:23 -0800 (PST), scott renna [EMAIL PROTECTED] wrote: Hello list, I was wondering if you all might be able to help on this. I recently purchased an external hard drive case and dropped an IDE drive into it. It's great and all, except that the transfer speed is limited to 1Mb/s due to an error message that I had posted on the list a few days back(GET MAX LUN STALLED). That's fine, I can deal with it for now. Here's the issue: I created a FAT32 parition on the external drive from /stand/sysinstall and dropped some files onto it. I then moved it over to the win box to see if it could see it and sadly no. Is there a way to set up pseudo-drive assignments from FreeBSD on a FAT32 partition so that Windows can see it? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Website Mirroring [was DNS/BIND Question]
Like the Wayback Machine? http://www.archive.org/web/web.php --Brian On Tue, 2 Nov 2004 12:03:44 -0800, Kevin Dufficy [EMAIL PROTECTED] wrote: Hi David, I was wondering if you could help... Do you know of any company that exists (or existed) that uses website mirroring (probably reverse proxy?) - and that then swaps out key pieces of data (like the phone number in order to track results)? We are desperately looking for proof that this existed to get past a potential patent claim - we believe this is nothing new and has been commercialized for over a year and thus we are okay to do it too - but we need proof! Thanks for any help you can offer! --- Kevin Dufficy Local Lead, LLC 116 Monte Vista Avenue Larkspur, CA 94939 Tel: 415 454 5295 Email: [EMAIL PROTECTED] http://www.locallead.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 external ehci dvd drive
Did you compile ehci into the kernel? I chose to upgrade to 5.3 RC1 since it seamed to have better ehci support...still didn't work all that well with my drives...but it worked. Remember, ehci is new and buggy. :) --Brian On Wed, 27 Oct 2004 12:23:25 +0100, Dick Davies [EMAIL PROTECTED] wrote: Just got a new usb 2 enclosure and swapped out my internal cd/dvd drive to it. I can mount it fine on 5.3 as cd(4) over umass(4) but it's too slow to play DVDs over. Has anyone got this working, and is there a step I've missed? The 1Mb/s speed line looks worrying, though usbdevs does show it hanging off echi cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: SAMSUNG CDRW/DVD SM-348B T503 Removable CD-ROM SCSI-0 device cd0: 1.000MB/s transfers ? -- And if you think you're going to bleed all over me you're even wronger than you normally be - The Specials, 'Little Bitch' Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS issue
Interesting...something that pops into my mind is something obvious since it was stated in the handbook, but needs to be said anyway...when you add stuff to the master.passwd file, do you re-make the database? Also, if you follow the directions in the handbook, they suggest you make a different master.passwd file in /var/yp to store the accounts that go into nisI re-wrote the make file section for passwd.* and told it to look to /etc/passwd where the UID is greater then 1000and it works great for me...if you'd like a copy of the entries in the Makefile, I'll send them to you. It sounds like that's what's going on (and I've had endless students make this mistake in class as well...it's a common one). --Brian On Sun, 10 Oct 2004 21:44:18 -1000, William Bierman [EMAIL PROTECTED] wrote: Be hot on typo. My case : % sudo tail -1 /etc/ma*d +: % sudo tail -1 /etc/ma*d|wc -c 11 % Sorry, this was a typo in my email, not the master.passwd. There are 9 colons in the actual file. (Again apologies if you get this multiple times .. it's late and I did not notice the lack of a Reply-to address) Bill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS issue
I may be misunderstanding what you are saying here, but master.passwd on the slave servers should never get updated with NIS information. That line that goes at the end tells the authentication process to look to NIS for further information...same goes with the line that goes in the group file. To test that NIS is working correctly, try using ypcat on a client/slave server to see if it can pull the maps from the primary server. If that doesn't work, I may be able to shed some other light on your problem. (as usual, just include any error messages) Hope that helps, --Brian On Sun, 10 Oct 2004 12:55:06 -1000, William Bierman [EMAIL PROTECTED] wrote: Hello. I have searched the archives for this, to no avail. I am attempting to setup an NIS domain. I have followed the steps in the handbook, and have succesfully setup my master and clients (I have no slave server, as this is a small domain). The relevant information is propogated correctly to all slave servers, with the exception of master.passwd. This contains very old information. I do have * in my /etc/master.passwd file on each client machine. /var/yp/master.passwd is chmod 600 on the master machine Can anyone shed some light on this issue? Thanks, Bill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup/Restore
We actually came up with another solution, for those of you who care...we are going to rewrite part of the mail handler so that it writes to multiple file systems on multiple servers and to a log indicating if it failed on any of them. When one comes up, a client will check the log to see what it missed. Thanks again everyone! --Brian On Fri, 1 Oct 2004 21:35:06 +0100 (BST), Jan Grant [EMAIL PROTECTED] wrote: On Fri, 1 Oct 2004, Brian McCann wrote: On Thu, 30 Sep 2004 13:59:05 -0700 (PDT), Richard Lynch [EMAIL PROTECTED] wrote: Brian McCann wrote: Hi all...I'm having a conceptual problem I can't get around and was hoping someone can change my focus here. I've been backing up roughly 6-8 million small files (roughly 2-4k each) using dump, but restores take forever due to the huge number of files and directories. Luckily, I haven't had to restore for an emergency yet...but if I need to, I'm kinda stuck. I've looked at distributed file systems like CODA, but the number of files I have to deal with will make it choke. Can anyone offer any suggestions? I've pondered running rsync, but am very worried about how long that will take... Do the files change a lot, or is it more like a few files added/changed every day, and the bulk don't change? If it's the latter, you could maybe get best performance from something like Subversion (a CVS derivative). Though I suspect rsync would also do well in that case. If a ton of those files are changing all the time, try doing a test on creating a tarball and then backing up the tarball. That may be a simple managable solution. There are probably other more complex solutions of which I am ignorant :-) I have the case where a new file is created about every second or two, nothing gets changed, but files get deleted occasionally (it's a mail server). I thought of using tar, but it would be just as slow as dump I would think. I've thought of breaking it up into chunks, but that still doesn't solve my speed issue...i'm beginning to consider using dd since it reads the actual disk bits, and just hope that a)I don't ever need one file and b) the system I restore to has at least or more space then the original server. Any other thoughts anyone? You might want to experiment with something like rsync to maintain a live (ie, on a FS) second copy. If you do this don't be put off by the initial rsync time (which may well take ages - tar or dump/restore may be faster to get the second copy in place initially). Rsync over such a large filesystem may take quite a while but the best bet is to actually try it to see if it meets your needs. Obviously a restore of a mail repository is a pretty awful thing to have to do. Amongst other things, users can find the ressurrection of deleted mails to be a real pain. You might want to see if your mail repo can generate some kind of replay log - if so, this might be the best route for minimising the amount of time needed to synchronise mailstores and to get the closest fidelity out of the copy. Breaking your mailstore into separate chunks may well help. Yes, the total time for a dump/restore may be close to your current state of play, but if you can split the partitions between machines then you have the option to perform these in parallel. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ ...perl has been dead for more than 4 years. - Abigail in the Monastery ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup/Restore
I have the case where a new file is created about every second or two, nothing gets changed, but files get deleted occasionally (it's a mail server). I thought of using tar, but it would be just as slow as dump I would think. I've thought of breaking it up into chunks, but that still doesn't solve my speed issue...i'm beginning to consider using dd since it reads the actual disk bits, and just hope that a)I don't ever need one file and b) the system I restore to has at least or more space then the original server. Any other thoughts anyone? Thanks again, --Brian On Thu, 30 Sep 2004 13:59:05 -0700 (PDT), Richard Lynch [EMAIL PROTECTED] wrote: Brian McCann wrote: Hi all...I'm having a conceptual problem I can't get around and was hoping someone can change my focus here. I've been backing up roughly 6-8 million small files (roughly 2-4k each) using dump, but restores take forever due to the huge number of files and directories. Luckily, I haven't had to restore for an emergency yet...but if I need to, I'm kinda stuck. I've looked at distributed file systems like CODA, but the number of files I have to deal with will make it choke. Can anyone offer any suggestions? I've pondered running rsync, but am very worried about how long that will take... Do the files change a lot, or is it more like a few files added/changed every day, and the bulk don't change? If it's the latter, you could maybe get best performance from something like Subversion (a CVS derivative). Though I suspect rsync would also do well in that case. If a ton of those files are changing all the time, try doing a test on creating a tarball and then backing up the tarball. That may be a simple managable solution. There are probably other more complex solutions of which I am ignorant :-) -- Like Music? http://l-i-e.com/artists.htm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Backup/Restore
Hi all...I'm having a conceptual problem I can't get around and was hoping someone can change my focus here. I've been backing up roughly 6-8 million small files (roughly 2-4k each) using dump, but restores take forever due to the huge number of files and directories. Luckily, I haven't had to restore for an emergency yet...but if I need to, I'm kinda stuck. I've looked at distributed file systems like CODA, but the number of files I have to deal with will make it choke. Can anyone offer any suggestions? I've pondered running rsync, but am very worried about how long that will take... Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem replication?
Well...I think I found a solution, and it's even in the ports collection...CODA. It appears that this little gem will take a bunch of servers and replicate data, in real time, between them all. Thanks again all! --Brian On Fri, 24 Sep 2004 12:36:58 +0200, Nagilum [EMAIL PROTECTED] wrote: Are you sure a NFS shared fs wouldn't do the trick? Or maybe an hourly unison sync process? Brian McCann wrote: Does anyone know of something that will allow me to have 2 file servers and have their file systems be always in sync automatically? Basically, I'm looking for a rsync type program/system that runs in the background, and when a file is changed on server1, it is copied/updated/removed/whatever on server2. Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Filesystem replication?
Does anyone know of something that will allow me to have 2 file servers and have their file systems be always in sync automatically? Basically, I'm looking for a rsync type program/system that runs in the background, and when a file is changed on server1, it is copied/updated/removed/whatever on server2. Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync problems
Hi all...I'm having problems using rsync, and it makes no sense to me. I'm running it with the following options: rsync -e ssh -avpz --delete src dest. Whenever the src has lots of files (over 1000), it seams to just stop, verbose mode doesn't tell me anything relevant...and if i try again, it will just download more, then stop again. Any guesses anyone? Thanks, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RealTek 8139 config problems
I've had this exact problem, turned out to be a bad card. It COULD be a bad PCI slot, but more often then not, it's a bad card. FYI: I've also seen those cards set their MAC address to all Fs when they go bad as well...really bazarr...that's happened to me several times (I've got about 800 PCs using them) Hope this helps, --Brian On Sat, 21 Aug 2004 01:10:32 -0600 (MDT), Chris Staskewicz [EMAIL PROTECTED] wrote: I've searched the mailing archives for this problem (yeah, yeah, I know these cards stink, but I'm going for gold anyway). I have 2 of these at rl0 and rl1. The rl0 correctly auto dectects to 100baseTX full-duplex, however, the one at rl1 dectects to 10baseT/UPT. Thus, I use ifconfig to set rl1 to 100baseTX full-duplex and all is well. However!!! if I then set the inet address to say 192.168.1.1 (or whatever), the card no longer transmits data (the LED light on the back of the card even goes out). Also, the LED light on the HUB corresponding to this card starts blinking rapidly. Any help? Thank you very much, Chris. Chris Staskewicz http://www.math.utah.edu/~cjs ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing PHP/MySQL (was no subject)
The way I typically do it is install MySQL from the ports tree, then install PHP from the ports tree. While installing PHP, it will ask what options you want to compile into it. Just check to make sure you tell it MySQL and you'll be all set. --Brian On Sun, 1 Aug 2004 00:48:32 -0400, Bob Kukla [EMAIL PROTECTED] wrote: Hi, I am very new to BSD and web servers and have just recently installed the latest 5.2 version. I have installed Apache 1.3 from the FreeBSD ftp site and have added mod_dav successfully. The web server and webDAV are working fine. I now want to add php4 and mySQL capabilities. I have read some of the latest mail and am confused as to how to best go about it. I have never used php or mySQL before nor have I had it installed on a web server. What packages and in what sequence , if any, should I install ? Also, what does the number 20020429 at the end (/usr/local/lib/php/20020429 ) signify? Thanks in advance for your help! Bob Kukla ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: Is there an English Dictionary for FreeBSD?(not online like kdict)
aspell works well toothat's what I use. --Brian On Sat, 31 Jul 2004 18:36:47 +0300, Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Sat, 31 Jul 2004 05:55:16 -0700 (PDT) Mark Jayson Alvarez [EMAIL PROTECTED] wrote: Hi, I'm looking for a dictionary software which I can use even if I'm not connected to the internet as oppose to what kdict in KDE does. Do you happen to know one? use kdict but with a local db; for that install net/dictd-database which will pull in net/dictd -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quad ethernet: Adaptec or Znyx?
I use the Adaptec cards extensively. I have 2 home-made routers with 3 cards in each of them, as well as a firewall with one quad port card and 2 DLink 530TX cards. I haven't had any problems with them at all. The much older Cogent cards (before Adaptec bought them) seamed to always have one port go bad eventually, but I haven't seen that in a long time. Hope that helps, --Brian On Thu, 15 Jul 2004 16:54:04 +0930, Rob [EMAIL PROTECTED] wrote: Fellow BSDers, I'm looking at 2 quad ethernet cards on eBay: Adaptec ANA-6944TX and Znyx ZX346. The Adaptec appears to use a DEC chipset. The Znyx card is supported by de(4) and also supplies its own FreeBSD drivers up to version 4.4. Has anyone had good or bad experiences with either of these cards? Thanks Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: support
Check out http://www.freebsd.org/releases/4.10R/hardware-i386.html . Just check your other hardware, but you should be good. --Brian On Thu, 8 Jul 2004 01:18:10 +0300, panos [EMAIL PROTECTED] wrote: i have P4 3Ghz.can i use bsd in my system? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk image software
What about simply using tar to backup the directories on the old drives, and extracting the contents to the new drives. Then you should just have to worry about moving the boot loader, which you can probably use dd for (just read/write the first 512 bytes I think it is). If all you want to keep is the data though, I'd just start over backing up just the data you want to keep in a tarballthat's what I normally do. --Brian On Sat, 03 Jul 2004 19:27:11 -0400, Marty Landman [EMAIL PROTECTED] wrote: I'm thinking of replacing the 1 GB and 2 GB hard drives on my FBSD 4.8 machine with 4 GB and 6 GB hd's that have become available. Is there a way to do this which will be worth the trouble? Considering the FBSD box isn't highly configured or busy right now is it better to just start from scratch? The box is networked and there is lots of spare hd space on other network hd's, so I could easily transfer the data over before swapping out the current drives. Marty Landman, Face 2 Interface Inc. 845-679-9387 Search Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with pkgdb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got an urgent problem that needs fixing...and i'm stuck. One of the admins on one of our servers decided to delete the /var/db/pkg directory. I tried rebuilding it using pkfdb -Fu, and it returned nothing. Is there a way to recover from this...aside from backups? Thanks, - --Brian McCann -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com iQA/AwUBQGBuuURPmxonqOz6EQLMGQCfaZImpiyGUAdZngE2hNOAQ/FOnUwAn1K8 n16rBk+zSnTJo34xUoDv13ku =90fG -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
QMail?
Hi all. I'm trying to setup Qmail on one of my systems. Being a former user of Sendmail, I decided to try to find a HOWTO or something to get me started. So, I found this one... http://stevenfettig.com/mythoughts/archives/90.php. It looked to be fairly through, so I tried it. From what I can tell, I configured everything correctly, but something is wrong. I can see the processes running, and netstat shows that something is listening on port 25, but when I try to telnet to that port, I get disconnected immediately. Can someone offer a clue as to what is going on? I'd be willing to talk to someone off list if someone is willing as well. Thanks in advance, --Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: QMail?
Ok...sendmail isn't running...and below is the result of svstat /var/service/*/log...it's under /var since that's where the tutorial said to put it...before I really knew what I was doing. /var/service/pop3d/log: up (pid 47863) 533524 seconds /var/service/qmail/log: up (pid 47867) 533524 seconds /var/service/smtpd/log: up (pid 47865) 533524 seconds --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Sent: Sunday, February 08, 2004 11:24 PM To: [EMAIL PROTECTED] Subject: Re: QMail? Hi Brian, --On Sunday, February 08, 2004 11:11:58 PM -0500 Brian McCann [EMAIL PROTECTED] wrote: Hi all. I'm trying to setup Qmail on one of my systems. Being a former user of Sendmail, I decided to try to find a HOWTO or something to get me started. So, I found this one... http://stevenfettig.com/mythoughts/archives/90.php. It looked to be fairly through, so I tried it. From what I can tell, I configured everything correctly, but something is wrong. I can see the processes running, and netstat shows that something is listening on port 25, but when I try to telnet to that port, I get disconnected immediately. Can someone offer a clue as to what is going on? I'd be willing to talk to someone off list if someone is willing as well. Did you stop the sendmail process? It could be taking over SMTP on 25 and qmail cannot run... What is the output of svstat /service/* and svstat /service/*/log You will need to do this as root. Please respond to list only, thanks... I'll get it from there. -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: QMail? - additional thoughts
I don't know what you mean by speaking SMTP. If you are referring to sending the correct SMTP commands to tell it HELO/OLEH or whatever, I don't even get that far. It literally connects, then right away disconnects...I don't even get the usual SMTP banner. I'm going to check out that link though, thanks! --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Sent: Sunday, February 08, 2004 11:36 PM To: [EMAIL PROTECTED] Subject: Re: QMail? - additional thoughts Hi Brian, --On Sunday, February 08, 2004 11:11:58 PM -0500 Brian McCann [EMAIL PROTECTED] wrote: Hi all. I'm trying to setup Qmail on one of my systems. Being a former user of Sendmail, I decided to try to find a HOWTO or something to get me started. It just occurred to me, are you speaking SMTP when you telnet into port 25? Also, for a complete comprehensive guide to qmail, go to the qmail Bible at www.lifewithqmail.org This not only shows you how to install from source, but gives a complete understanding of how it works, scripts, etc... -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: QMail?
When I run that, I get zsh: no matches found: /service/*/log...which I expected since there are no files in /service since it does not exist. From the output I sent you I would assume it's running correctly, but when I do a ps -ax | grep smtpd, I get: 47858 p1- I 0:00.03 supervise smtpd. I'm assuming something did not get linked correctly...the whole daemontools thing is very new to me. I think I may just rollback everything I've done so far and start over...just a waste of time, but at least I may understand it better using that site you sent me. Thanks, --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Sent: Sunday, February 08, 2004 11:49 PM To: 'FreeBSD' Subject: RE: QMail? Hi Brian, --On Sunday, February 08, 2004 11:42:07 PM -0500 Brian McCann [EMAIL PROTECTED] wrote: Ok...sendmail isn't running...and below is the result of svstat /var/service/*/log...it's under /var since that's where the tutorial said to put it...before I really knew what I was doing. That's the first mistake, not putting it under /service, but you may be able to get away with it... /var/service/pop3d/log: up (pid 47863) 533524 seconds /var/service/qmail/log: up (pid 47867) 533524 seconds /var/service/smtpd/log: up (pid 47865) 533524 seconds You missed the more important item I mentioned.. svstat /service/* as below What is the output of svstat /service/* and svstat /service/*/log I need to see if SMTP, etc are running properly... -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Colors in VIM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got a question for you all since I've been banging my head against a wall with this for some time now. I'm trying to get vim to do syntax highlighting for php/html files, along with scripts. It seams like it would be fairly straight forward, but I can't figure it out. I started by looking at a RedHat server (which does it by default) and located all of the .vimrc files, and mine were identical. I even had one in my home directory as well. All of the language files were there, it just did not want to work. Can someone offer me some help here? Here's my .vimrc file from my home dir as it stands now: set nocp set digraph ek hidden ruler sc vb wmnu set noeb noet nosol set bs=2 fo=cqrt ls=2 shm=at Thanks in advance, - --Brian McCann -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com iQA/AwUBQB6PF0RPmxonqOz6EQJcTgCgjYzJ2+q5TlYw+5vwr5v6k5uVSfMAoMwl eYsqzXqUdiQsl4Ubj7Bg+VES =a7lz -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]