Re: Single boot EFI Mac install
Carsten Mattner writes: Has anyone successfully installed FreeBSD as a single boot system on an EFI Mac? I'm not sure exactly what you mean by a single boot system. I have Mac Pro that runs Mac OS on on disk (actually a pair in a software RAID) and FreeBSD from another pair (gmirror RAID). I suspect that I could pull the MacOS disks from the system and it would happily run as a FreeBSD only machine. I believe that I set up the disks using the mac tools and then did an install from a DVD, but it's been a while. The only particularly trick-ish part is that I had to partition the FreeBSD disks using MBR style partitions, that's (part of?) what the Mac firmware uses to decide to turn on it's PC-style BIOS emulation, which FreeBSD needs before it can get itself going. GPT partitions will not work. Every once in a while the machine hangs at boot time but I haven't seen it in a while. What happens if you just throw a FreeBSD DVD in the drive? g. ___ 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: ZFS not usable on FreeBSD-8.1
Dick Hoogendijk writes: I run FreeBSD-8.1/amd64. I have used ZFS for four years on (Open)Solaris, so I have some experience with it. It always served me very very well. However, I cannot get it to work on my SATA2 drives. At first I thought they'de suffer from something from there OpenSolaris ZFS mirroring. So, I wiped out the drives completely by writing zero's to them. Then I created a ZFS zpool on one drive, destroyed it and created a mirrored zpool on my 2 Tb drives. It seemed OK; files could be written and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, the moment I *do* something to the zpool like zpool scrub pool I get a vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be destroyed or exported anymore. It's just a waste. I tested this behaviour on 10 different drives. Four of them brandnew. It happened everytime again. It is not the drives! Booting into OpenSolaris b134 I am perfectly able to create workable ZFS mirrors out of the drives. I can also scrub them ;-) ;-) or whatever io related thing I want to do. This leads me to the conclusion that something is definitely wrong with ZFS in FreeBSD-8.1/amd64. For the moment I created some gmirrors on a couple of drives, but man, how I'd liked to have zpools. They work zo much sweater/easier. Am I alone in these matters? Are there any known issues regarding ZFS. I know there are some in FreeBSD-9 (at least I saw some reports on vdev.bad_label messages) on nabble.com You haven't provided enough information for me to make a concrete suggestion, but this kind of thing often seems to boil down to something getting confused over slices and partitions when they both have the same extent (start-end) on disk. This used to bite me in the gmirror world until I learned to make the partition one block smaller than the slice it lived in. Are you using explicit device names to add the disks to your pool? If so you'll gain robustness by using labels, either glabels as described here: http://submesa.com/data/bsd/zfs or if you're in the gpt world then gpt labels as described in the gpart commands illustrated here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror g. ___ 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: upgrading squeezeboxserver
Vincent Zee writes: Hi, I recently upgraded to the newest version of audio/squeezeboxserver. After the update the server is unable to rescan my music collection. Does anyone else encountered this problem? How can I revert to the previous version of squeezeboxserver (I'm using Portmaster to upgrade my ports)? I had this problem and managed to work around it. I haven't had time to track it down enough to file a bug though. My fix was to downgrade p5-DBIx-Class to version 08120. There's probably a proper way to do this thing, but what I ended up doing was downgrading the port's distinfo file, replacing its contents with the following three lines: MD5 (DBIx-Class-0.08120.tar.gz) = ebed5ed315618e783ac048767aed90a5 SHA256 (DBIx-Class-0.08120.tar.gz) = c97af692cbbf9779457e669b52d117b3b174aac3826d4af20da7f26e5aabe479 SIZE (DBIx-Class-0.08120.tar.gz) = 513806 grabbed from r47 found here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/p5-DBIx-Class/distinfo?sortby=rev and changing the PORTVERSION in the Makefile to 0.08120. Then did a make, a make deinstall and a make install. There was probably a make makesum in there too. Let me know if you need more details suggestions. g. ___ 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: Xorg - no mouse and no keyboard
Adam Vande More writes: On Fri, Dec 4, 2009 at 10:20 PM, Paul Schmehl pschmehl_li...@tx.rr.comwrote: As I mentioned in a previous post, I have tried it both with and without hald and dbus. Nothing works. [...] I missed the original post, but I recently noticed that my bluetooth keyboard and mouse no longer work in X unless I have a USB mouse and keyboard plugged in. Unfortunately, I haven't had time to track it down and make a decent report, and it could just be my setup (Mac Pro, releng_7 [out of date], apple mice and keyboards) or me g. ___ 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: FreeNAS file server...which hardware to choose?
Tim Judd writes: On 7/19/09, Aleksandr Miroslav alexmiros...@gmail.com wrote: On Sun, Jul 19, 2009 at 5:42 PM, Aleksandr Miroslav alexmiros...@gmail.com wrote: What kind of RAID chassis, computer system should I get for this setup? Would a soekris be sufficient, or is that overkill? Or should I just buy a barebones headless desktop PC (Dell has them cheap now for $241) for this task? I don't like OEMs. I would rather build my own. Recently well-reviewed Via ARTiGO A2000 is a 2 SATA drive enclosure. You can install anything you want in it. I don't think it has onboard raid, but a software raid (in a lightly loaded NAS) should work pretty well Let me know what you choose. I have an A2000 running -STABLE and another running a slightly hacked version of FreeNAS. All of my FreeNAS support hacks (and then some) have been merged into the image available at: http://www.logicsupply.com/blog/2009/05/11/custom-a2000-freenas-image/ I don't have any connection with them except as a happy camper/customer. You'd need to hang the third drive off the USB connection, so it wouldn't be a screamer, but it should work well. Both systems are running the 1TB Western Digital green drives. Otherwise they're plug and play. g. ___ 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: Compact Freebsd 'appliance'
John Almberg writes: I have a client who has an application that he wants to deploy in his customer's offices as a headless 'appliance'. Basically, just a black box that you can plug into a Lan, turn it on, and it runs. No floppy disk or CD, no monitor/keyboard, just remotely managed. This application won't store any critical data, so it doesn't need redundancy. It just needs to be reasonably reliable, compact, and quiet. My first recommendation was to use a Mac Mini, but that excellent bit of hardware was deemed 'not professional enough'. So now I am looking for a compact pc that can run FreeBSD, of course. I think it probably just needs a power supply, tiny motherboard with onboard ethernet, usb, etc., and hard drive. If anyone has a recommendation (or if their are any vendors lurking), please shoot me an email off list. I'll compile a list of recommendations and post it all at once, in case anyone else is interested in this. I have a couple of Via Artigo a2000 boxes, one running FreeBSD-STABLE (post 7.2) and the other running FreeNAS. Both work well. I've seen posts from one fellow who's tracking a bug with the vge interface under very heavy load, but both of mine stream music and do Time Machine backups via netatalk without any trouble. Logic Supply has a custom FreeNAS build that recognizes the disks as SATA and that adds support for Gb ethernet to the NIC (rolling in changes from -STABLE to the 6.x series on which the stable FreeNAS is based). http://www.logicsupply.com/blog/2009/05/11/custom-a2000-freenas-image/ They're not the cheapest place to buy the box, but they're close and they do good support (I'm just a happy customer and I helped with the FreeNAS image, no other association). They're not Living Room quiet, but they're about as unobtrusive as you can get in a little box w/out going fanless. g. ___ 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: When is there going to be a USB install and run iso iamge for FreeBSD?
Formula 1 writes: Is there going to be a possibility for FreeBSD, in the future or now, that there will be a release of it that allows for install and running of the operating system off of a USB memory stick? There's a pretty simple script here that builds a bootable usb stick. http://yds.coolrat.org/zfsboot.shtml While you're there, there's a second script for setting up a mostly ZFS based system, it's a bit behind the time given the zfs boot code work going on in -CURRENT, but still seems pretty relevant if you're in -STABLE world. g. ___ 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-friendly laptop suggestions, but wait there's more...
Uwe Laverenz writes: On Thu, Jan 08, 2009 at 06:04:37AM -0700, Modulok wrote: Does anyone know of a laptop, preferably an older model so it's inexpensive, (It doesn't have to be very fast.), that is: 1) FreeBSD friendly. 2) Isn't a portable skillet? 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. I would also recommend the IBM Thinkpad T41 or T42 (not T43p). I'll chime in to say that my T42p works well. g. ___ 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: Setting up a PDF printer
Keith Seyffarth writes: What do I need to install to make printing a pdf from the print command in an appliction as an option. It looks like panda may do this, but I'm unsure. My immediate goal is to be able to print invoices to .pdf from gnucash. If you're using the cups printing subsystem you can use the cups-pdf port/package. You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME. g. ___ 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: Setting up a PDF printer
Keith Seyffarth writes: If you're using the cups printing subsystem you can use the cups-pdf port/package. You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME. I don't have any printing installed currently. I may be getting a printer for this machine at some point in the future (at which point I'll have to figure out how to get printing to a printer working). When I run # which cups the response is: cups: Command not found. would # portinstall cups install this printing option? or would I have to install something else? You'll need the cups and cup-pdf ports/packages, then add cupsd_enable=YES to /etc/rc.conf and then /usr/local/etc/rc.d/cupsd restart and then point a browser at http://localhost:631 and go through the add a printer steps (when it asks device choose the pdf entry and when it asks for a make I choose 'raw'. Seems to work. I *think* that the username you give to the web interface whilst adding the printer has to be in the 'wheel' group. g. ___ 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: Nice web interface or music?
In addition to the java clients, you can also go lower tech. and try this: http://www.ex-parrot.com/~pdw/slimp3slave/ or even the lower tech comment from that web site: [...] to running mpg123 http://slimserver:9000/stream.mp3 g. ___ 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 on a Mac Mini Intel?
Bill Campbell writes: [...] I haven't tried FreeBSD on the Macs. [...] -STABLE runs almost flawlessly on an 8-core late 2008 Mac PRO. Sometimes hangs as it's booting and you need to give the snd_hda driver a couple of hints to get sound out, but otherwise it rocks. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems moving my jails (mv: Operation not permitted)
Redd Vinylene writes: On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez [EMAIL PROTECTED] wrote: Are the jails stopped? Yes, they are. Sorry, I should have mentioned this. -- http://www.home.no/reddvinylene Should I just do like this? cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh [...] rm -rf /usr/jail -- http://www.home.no/reddvinylene My bad, that's not permitted either. If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see the schg flag set. Man chflags for more info and instructions on how to unset it g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video Card Info
RW writes: On Fri, 18 Jul 2008 18:15:48 -0700 George Hartzell [EMAIL PROTECTED] wrote: Warren Liddell writes: im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was wondering if anyone has heard or know of any issues within FreeBSD with this particular video card ? I use an Nvidia 8800GT in a Mac Pro running -STABLE with the xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it works fine. But does the proprietary nvidia driver work? The nv driver is slow, makes heavy use of the CPU, and has no 3-d support. The nvidia driver doesn't work on the 64-bit version of FreeBSD through. I'm running amd64, so I didn't even try the proprietary one. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video Card Info
Warren Liddell writes: im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was wondering if anyone has heard or know of any issues within FreeBSD with this particular video card ? I use an Nvidia 8800GT in a Mac Pro running -STABLE with the xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it works fine. The driver info in my Xorg.0.log doesn't explicitly mention the 8800GTX though. However, there is an entry for it in the 2.1.9 nv_driver.c (which is what's currently in the port tree). I'm driving a dual-link monitor (30 Dell 3007-WFP) and needed to hack 2.1.8 to re-enable dual-link support that the author had disabled because it would work reliably in some situations and not at all in others (depending on how the bios initialized the card, if I understand his response). In 2.1.9 he made re-enabling the support a xorg.conf configuration option (see the Changelog entry for 5/9). g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jails and IP Aliasing
Did you take the necessary steps to restrict the IP addresses on which sendmail on the host and the jail listen? The jail man page only says: To configure sendmail(8), it is necessary to modify /etc/mail/sendmail.cf. but you'll probably end up adjusting the DAEMON_OPTIONS lines of your sendmail.mc (freebsd.mc, freebsd.submit.mc) and recreating your cf files. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CPU temp's on core 2 duo, should they be significantly different?
DA Forsyth recently mentioned the coretemp driver, which fetches the core temperatures for Core 2 Duo chips. I'm in the middle of building up a Shuttle SG31G2 (7-STABLE) and loaded the driver to see what it told me. I've noticed that cpu.0 is consistently hotter than cpu.1, even on an unloaded machine. Is that because that core's doing housekeeping work whilst the other is truly idle? dev.cpu.0.temperature: 44 dev.cpu.1.temperature: 29 If I background a pair of dd if=/dev/urandom of=/dev/null so that the cpu's are busy, both go up but cpu.0 stays hotter. I'm asking because I'm worried that this could be a sign that I didn't get the heatsink goop spread out sufficiently well Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU temp's on core 2 duo, should they be significantly different?
Josh Carroll writes: [...] I'd recommend taking the heat sink off and seeing how the thermal grease is spread on the CPU's head spreader and on the heatsink itself. If it looks lopsided or extremely thick on one side of the CPU package or extremely thin (to the point where you can still see the sheen of the heatsink or heat spreader), then re-mount the heatsink and try to make sure it's evenly distributing the pressure down on the CPU package. This is a Shuttle XPC box. I pulled the heatsink/cooler assembly and there didn't seem to be any obvious asymmetries in how the the grease was distributed. I swirled it around a bit, reassembled, and am seeing the same kind of spreads. Here's the machine pretty much idle dev.cpu.0.temperature: 44 dev.cpu.1.temperature: 28 Where top says: last pid: 1217; load averages: 0.02, 0.51, 0.43up 0+00:14:57 13:49:47 52 processes: 1 running, 51 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.2% interrupt, 99.8% idle Mem: 22M Active, 13M Inact, 95M Wired, 1788K Cache, 15M Buf, 3797M Free Swap: 4063M Total, 4063M Free A could of dd if=/dev/urandom etc... quickly pushes it up, but the delta remains: dev.cpu.0.temperature: 51 dev.cpu.1.temperature: 39 Top says: last pid: 1243; load averages: 0.98, 0.65, 0.48up 0+00:16:07 13:50:57 54 processes: 3 running, 51 sleeping CPU: 0.4% user, 0.0% nice, 92.5% system, 0.0% interrupt, 7.1% idle Mem: 22M Active, 13M Inact, 95M Wired, 1788K Cache, 15M Buf, 3797M Free Swap: 4063M Total, 4063M Free g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU temp's on core 2 duo, should they be significantly different?
Frank Shute writes: [...] My top on 7.0 says CPU states: not CPU: Are you sure you're running on 2 cores? dmesg will tell you and top will have a C column with 0 or 1 in it. If you're running on one core, it will explain the temperature discrepancy. I'm almost certain that I'm running on 2 cores. My /usr/bin/top says that it's version: top: version 3.5beta12 It does the a C column with 0 and 1. I created a big file full of random data and bzip'd it. One copy of the file took 20 seconds. Two copies, two processes ran in 20 seconds each. Three copies, three processes too 32 seconds. Tops tells me that some things are running on CPU0 and others are on CPU1. My config file is a copy of GENERIC and includes 'options SMP'. As the machine boots it talks about finding both CPUS. Here's the config file: http://shrimp.alerce.com/bluetoo-info/BLUETOO.txt Here's the verbose dmesg: http://shrimp.alerce.com/bluetoo-info/dmesg.verbose.txt and my rc.conf: http://shrimp.alerce.com/bluetoo-info/rc.conf.txt and here's top: last pid: 1650; load averages: 0.00, 0.04, 0.11up 0+02:43:22 21:47:06 51 processes: 1 running, 50 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 22M Active, 518M Inact, 200M Wired, 214M Buf, 3189M Free Swap: 4063M Total, 4063M Free PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 861 root 1 440 5688K 1148K select 1 0:01 0.00% powerd 1336 hartzell 1 440 33756K 4608K select 0 0:00 0.00% sshd 980 root 1 440 73860K 7192K select 1 0:00 0.00% httpd 854 root 1 440 9432K 2284K select 1 0:00 0.00% ntpd 1338 hartzell 1 200 10100K 3060K pause 1 0:00 0.00% tcsh 921 root 1 80 4600K 972K nanslp 1 0:00 0.00% svscan 1019 root 1 440 10696K 3868K select 1 0:00 0.00% sendmail 900 root 1 440 13416K 2772K select 1 0:00 0.00% nmbd 1104 hartzell 1 50 10100K 2752K ttyin 0 0:00 0.00% tcsh 943 dnscache 1 440 5624K 2368K select 1 0:00 0.00% dnscache 1333 root 1 40 33756K 4544K sbwait 1 0:00 0.00% sshd 733 root 1 440 5688K 1368K select 1 0:00 0.00% syslogd 942 root 1 440 6624K 1560K select 1 0:00 0.00% atalkd 971 avahi 1 440 15652K 2580K select 1 0:00 0.00% avahi-daemon 804 root 1 960 4604K 1424K select 0 0:00 0.00% nfsd 1092 root 1 80 20440K 1896K wait 1 0:00 0.00% login g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do they do their VPS product? [was Re: FreeBSD based web hosting?]
Sahil Tandon writes: Maxim Khitrov [EMAIL PROTECTED] wrote: I'm currently with JohnCompanies. Overall, it's been a positive experience, though I wish they offered FreeBSD 7. Beta testing for it was supposed to begin last month, but so far no news. +1 for JC. The tech support and availability is unparalleled. Satisfied customer for over three years. Seeing JC advertise a FreeBSD VPS product reminded me of an itch I've never been able to scratch. I know about jails at the simple end, and I know about VMware at the complicated end, but I've never been able to figure out what technology underlies the VPS offerings. I help out a friend on a Verio VPS that reports itself as FreeBSD 4.7 w/ a kernel config file named VKERN. There's some concept of a virtual root, a command named 'virtual' works a bit like sudo does for credentials, and there's otherwise an odd mix of it's all my machine and it's a shared server. Is/was there some proprietary virtualization technology in the 4.x days? Is it still alive and kicking somewhere? Anyone have any insights into how these VPS products were built? Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best solution - mobile wifi hotspot
Jim Stapleton writes: [...] Do you know of a wireless router that can provide individual user authentication, without requiring a complex setup? Some places may not want to pay for the internet connection, so he'll need to 'rent out' connection bandwidth to other vendors. Nocatsplash might do what you want: http://nocat.net/ which can run on a linksys wrt54gl that's running openwrt http://openwrt.org/ or ChilliSpot (can also run on openwrt, and others) http://en.wikipedia.org/wiki/ChilliSpot or Wifidog http://dev.wifidog.org/ Googling up places that are discussing those releases should give you pointers to others. I haven't run any of them, but have had good luck using openwrt running on various little wireless routers as openvpn endpoints. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: will freebsd run on apple intel xserve
Jason Joines writes: George Hartzell wrote: Jason Joines writes: I'm a Linux guy who has inherited some apple xserve boxes. Surprisingly I've discovered that I really hate os x. For the intel xserve boxes, Linux isn't an option. The CPUs are amd64 architecture. The EFI capable Linux bootloader, has had beta support for amd64 since July. However, the Linux kernel just got support to boot via EFI and amd64 in a release candidate patch this month. It'll probably be quite a while before a distribution has an installer with what I need. At any rate, I've always wanted to try one of the BSDs. Will FreeBSD install on an apple intel xserve? If not does anyone know if another BSD or some other open source NIX will work? I can't give you a direct answer, but I was running 6-STABLE on an 8-way mac pro up until a couple of weeks ago (I had to give it back to it's owners and I'm waiting until after the next wwdc to buy my own...). I used bootcamp to partition a spare disk, then just booted from a freebsd cd and installed onto that partition. I ended up using refit as a boot doohickey (initially from an refit cd, eventually taking a chance on installing it onto the disk itself). There wasn't anything too surprising. g. I didn't even know there was such a thing as an 8-way mac pro. Unfortunately that probably doesn't mean much as far as the xserve boxes go, at least not the intel xserve boxes. I'm running Linux on an intel imac and an intel powerbook pro, and others are on the intel powerbook and it runs on all the PowerPC stuff. However, all the intel boxes just mentioned have BIOS emulation. The intel xserve boxes do not, boot camp won't run on them and isn't supported on them. Well, I'm pretty fuzzy about what's hidden inside the various intel macs, but if will let you partition a disk from an os x install cd, will boot a freebsd boot disk from the cd (so you can do the install), and will boot from an refit cd (or via refit installed into the efi [sic?] boot area) then it'll go. FreeBSD doesn't need much from the bios, does it? If you send me an intel xserve, I'll take a shot at it :) g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: will freebsd run on apple intel xserve
Jason Joines writes: I'm a Linux guy who has inherited some apple xserve boxes. Surprisingly I've discovered that I really hate os x. For the intel xserve boxes, Linux isn't an option. The CPUs are amd64 architecture. The EFI capable Linux bootloader, has had beta support for amd64 since July. However, the Linux kernel just got support to boot via EFI and amd64 in a release candidate patch this month. It'll probably be quite a while before a distribution has an installer with what I need. At any rate, I've always wanted to try one of the BSDs. Will FreeBSD install on an apple intel xserve? If not does anyone know if another BSD or some other open source NIX will work? I can't give you a direct answer, but I was running 6-STABLE on an 8-way mac pro up until a couple of weeks ago (I had to give it back to it's owners and I'm waiting until after the next wwdc to buy my own...). I used bootcamp to partition a spare disk, then just booted from a freebsd cd and installed onto that partition. I ended up using refit as a boot doohickey (initially from an refit cd, eventually taking a chance on installing it onto the disk itself). There wasn't anything too surprising. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can anyone recommend an external firewire-based drive?
David Kelly writes: On Wed, Nov 14, 2007 at 12:09:47PM -0600, Doug Poland wrote: Hello, I'm looking for an external, firewire-based, hard-drive from which to run FreeBSD 7.0 (i386). Ideally, I'd boot from this device as well, but I'm not sure if FreeBSD (or my BIOS) supports booting from firewire. Can anyone recommend a manufacturer and/or model? I haven't used it with FreeBSD but my Seagate 300G works very with Macintosh. LaCie is another highly respected brand among Mac users. There were some Western Digital Firewire externals on the market but many Mac users had problems. With Apple as one of Firewire's parents its pretty sad if a Firewire product doesn't work with a Mac. Are you running Mac OS X on your mac, or FreeBSD? I've had (until last week) an 8-core mac pro that was dual booting FreeBSD RELENG_6 and Mac OS X. FreeBSD would lock up the machine whenever I plugged a firewire disk drive into it (I tried 4 different disk drives). I'd see a couple of messages via syslog and boom. I didn't have time to debug it and now no longer have the machine, so this is useless as a bug report, but I'm curious what your experience has been. I'm planning to buy myself a mac pro in the near future (as soon as they announce the penryn based models) and am planning to dual boot RELENG_7 on it. If it's still having firewire problems, I'll follow up with a proper bug report. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any luck with Microsoft Wireless Optical Desktop USB mouse?
Hi, I'm trying to get a Microsoft Wireless Optical Desktop working on a Mac Pro running today's -STABLE amd64. The Desktop has a single wireless puck that supports a keyboard and a mouse. The puck has two connectors, a usb dongle and a old-fashioned mouse connector (din-9?). I've had the set working with -STABLE i386 on normal pc hardware but only if I hooked up both the usb and the mouse connector. The mac pro only supports usb hardware. The mouse shows up in dmesg as ums0: Microsoft Microsoft Wireless Optical Desktop\M-. 1.00, rev 2.00/17.17, addr 3, iclass 3/1 and a moused gets started for it automagically (presumably by usbd). Plugging in a wired usb mouse works fine. I've enabled USB_DEBUG and tried fiddling various sysctl knobs (hw.usb.ums.debug, hw.usb.ukbd.debug, hw.usb.debug) and I kind of think that the mouse might not even be talking out of the puck's usb connector but out of the standard mouse connector. Both the mouse and the keyboard work fine on the Mac using stock OS X and also after loading Microsoft's drivers. Is it possible that the puck needs to somehow be told to route the mouse out the usb connector? Any other suggestions? Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help making too quiet sound work on Mac Pro running -STABLE
I have a mac pro running amd64 -STABLE from a week or so ago. Most things are working well, but sound's not quite there. When I plug a set of powered speakers into the headphone jack on the front of the machine and max the mixer setting and the speakers, I can just barely hear an mp3 played by mpg123. I'm loading snd_hda from /boot/loader.conf, and /dev/sndstat tells me: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Intel 631x/632xESB High Definition Audio Controller at memory 0x9310 irq 23 kld snd_hda [20070619_0045] (1p/1r/1v channels duplex default) There's a chunk of the dmesg output from a verbose boot at http://shrimp.alerce.com/misc/delicious-dmesg which seems to include all of the pcm info. What other info can I provide? g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
acpi_smbust_read_2: AE_ERROR 0x10 on a mac pro running -STABLE
I have a mac pro running amd64 -STABLE from about a week or so ago. The console and dmesg output are flooded by acpi_smbus_read_2: AE_ERROR 0x10 message. There will be a couple, then silence, then a burst of them, then The don't seem to be hurting anything, but they push other stuff out of dmesg. Can anyone help me identify the problem and reduce the chatter (short of commenting out the line that's generating the output...). Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound problem w/ 6.1-RC and ASUS A8V-MX (VIA VT8233X)
I have a new ASUS A8V-MX motherboard that's running 6.1-RC cvsuped earlier this week. I'm running w/ ACPI enabled, I still see the problem if I boot w/ ACPI disabled at the loader prompt. I'm running a kernel based on the standard SMP config file with the addition of an atapicam device. I have: sound_load=YES snd_via8233_load=YES in /etc/loader.conf I can listen to audio cd's using cdplay, I think that's just testing the analog cable from the back of the drive to the motherboard and out to the headphone jacks. At least I know that I have that much correct. None of the gnome apps that I've tried make any sound, either playing a cd from the drive or an mp3. If I use a sound app, or cat /etc/termcap /dev/dsp in an attempt to make some noise, I get nothing except the following line in /var/log/messages: pcm0:play:0:dsp0.0: play interrupt timeout, channel dead I've attached my dmesg output, my mptable output, and my pciconf -lv output. Can anyone help me get this going? Thanks, g. -cut here- Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RC #0: Tue Apr 11 07:26:47 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEMI ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.10-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fb1 Stepping = 1 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,b25,LM,3DNow+,3DNow real memory = 2147155968 (2047 MB) avail memory = 2096119808 (1999 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 Version 0.3 irqs 0-23 on motherboard kbd1 at kbdmux0 npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMXSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 powernow0: Cool`n'Quiet K8 on cpu0 cpu1: ACPI CPU on acpi0 powernow1: Cool`n'Quiet K8 on cpu1 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 8380 host to PCI bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) atapci0: VIA 8251 SATA150 controller port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f mem 0xfebffc00-0xfebf irq 21 at device 15.0 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 atapci1: VIA 8251 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: VIA 83C572 USB controller port 0xe080-0xe09f irq 20 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xe000-0xe01f irq 22 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port 0xd880-0xd89f irq 23 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: VIA 83C572 USB controller on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: VIA VT6202 USB 2.0 controller mem 0xfebff800-0xfebff8ff irq 22 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: VIA VT6202 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered uhub4: device problem (SET_ADDR_FAILED), disabling port 7 isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 pcm0: VIA VT8233X port 0xd400-0xd4ff irq 22 at device 17.5 on pci0 pcm0: Avance Logic ALC655 AC97 Codec pcm0: VIA DXS Enabled: DXS 4 / SGD 1 / REC 1 vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xd000-0xd0ff mem 0xfebff400-0xfebff4ff irq 23 at device 18.0 on pci0 miibus0: MII bus on vr0 rlphy0:
passively cooled pci-e dual head video cards for X?
I'm looking for a passively cooled pci-express card that will support dual-head w/ dvi lcd's on FreeBSD -STABLE. I'm currently using an AGP based matrox and it works well enough. I don't do anything 3-D, just a gnome desktop and various xterms and xemacs and stuff. The only fancy hardware acceleration I can imagine needing would be to support up-and-coming gnome eye-candy. I'd like a xinerama like effect (single desktop image), either w/ xinerma or card specific stuff (like the matrox). I've found these: http://www.nvidia.com/page/quadronvs.html which seem to almost cut it. Googling suggests that xinerma performance isn't usable, but that they do ok as separately managed desktops. Anyone else have any suggestions? g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Softupdates on the root partition and RSE's gmirror howto.
I've memorized that one shouldn't use soft-updates on / RSE's excellent howto on setting up a pair of mirrored disks (http://people.freebsd.org/~rse/mirror/) includes this line newfs -U /dev/mirror/gm0s1a which enables softupdates. Is this not quite correct, or am I missing something? Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about routing and an ssh based vpn.
George Hartzell writes: quick summary I have set up an ssh based vpn between a -STABLE laptop and a 5.3 server. I can ping either end from the other. I'd like to route traffic from the laptop to the public IP address of the server but it doesn't seem to work. I can, as a sanity test, route packets from the server to the laptop's ath0 IP address. I can't figure out why I can get it to work one way and not the other. Help? /quick summary Ok, I think that the *most* constructive comment might be something about pulling ones self up by one's own bootstraps. Pithier possibilies leap to mind too. What I'm trying to do won't work. And, now that I see it I'm pretty much mortified that I even tried it, let alone asked anyone else. First, I establish an ssh connection to a machine (aka TheServer) and run a ppp session across it. Then, I try to add a route that sends all of the packets to that same machine (TheServer) down the tunnel. The problem is, of course, that they can no longer make it to the other end of the ssh session. Presumably it works coming the other way because the TheServer thinks that the ssh session is coming from the firewall's address and so it doesn't get confused Sigh. Bad geek, no beer. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question about routing and an ssh based vpn.
quick summary I have set up an ssh based vpn between a -STABLE laptop and a 5.3 server. I can ping either end from the other. I'd like to route traffic from the laptop to the public IP address of the server but it doesn't seem to work. I can, as a sanity test, route packets from the server to the laptop's ath0 IP address. I can't figure out why I can get it to work one way and not the other. Help? /quick summary I have a laptop that I roam around with and a server for mail and stuff. The laptop is running FreeBSD 6.0-STABLE #7: Thu Jan 26 11:53:51 PST 2006 and the server is running (the cobbler's kids don't have any shoes...) FreeBSD 5.3-STABLE #10: Sun Feb 6 17:25:02 PST 2005 I've been working on setting up an ssh based vpn between the laptop and one of my servers, based on various recipes on the net. The way it's currently set up, the laptop end of the ppp link is 192.168.72.178 and the server end of the link is 192.168.72.177 (using addresses cribbed from one of the HOWTOs). I can bring the link up and pinging one end from the other works fine (e.g. the laptop can ping 192.168.72.177 and the server can ping 192.168.72.178). If I change various references to the server's name/IPADDR (e.g. DS in sendmail.cf, pop3s server) to refer to the server end of the ppp link, then mail etc... work as desired. I'd rather not have to swap them around when I want to use the vpn. The laptop is connecting to the net via it's wireless interface, and gets a private (10.xxx.yyy.zzz) address. As expected, even with the vpn up trying to ping that address from the server fails. If I add a route on the server route add -host 10.xxx.yyy.zzz 192.168.72.178 then the server is able to ping the laptop's private address. That's not really useful to me but I tried it as a sanity check whilst trying to debug my real problem. I'd like to be able to connect to the public ip address of my server (A.B.C.D) from the laptop over the vpn. If I add a route on the laptop route add -host A.B.C.D 192.168.72.177 I am unable to ping A.B.C.D *and* I am no longer able to ping 192.168.72.177. net.inet.ip.forwarding is 0 on both machines. I am not running any firewalls on the server. Here is /etc/ppp/ppp.conf for the server: # setup for nomadic ppp vpn via ssh. nomadic-ppp: set ifaddr 192.168.72.177 192.168.72.178 255.255.255.255 And here is /etc/ppp/ppp.conf from the laptop: nomadic-ppp: set ifaddr 192.168.72.178 192.168.72.177 255.255.255.255 set dial set device !env SSH_ASKPASS= SSH_AUTH_SOCK= ssh -e none -i /etc/ppp/nomadic-pp I bring up the link with /usr/sbin/ppp -auto nomadic-ppp Does anyone have any suggestions? I've thrashed about with proxy and proxy_all and setting net.inet.ip.forwarding=1 and anything else that occurs to me. I'd happily just assume that I don't know what I'm doing, except that I can get it to work in reverse. Is/was there a difference between 5.3 and 6.0 that might be tripping me up? Thanks for any help, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hints for troubleshooting poor sound quality.
Lowell Gilbert writes: George Hartzell [EMAIL PROTECTED] writes: I've set up an ASUS small form factor machine based around an P4S8L motherboard. It's running 6.0BETA4 and Gnome2.12 from the tinderbox packages. I'm kldload'ing snd_ich and (after getting a helpful pointer to the gnome FAQ) all of the sounds stuff is working. Here's my problem: The machine has two mini-jacks, one in the front and one in the back. If I plug a set of headphones into the front jack I hear all kinds of clicks and whirs and buzzing. They seem to correlate with drive activity, cd activity, and maybe even the cpu fan. The connector on the back seems quieter, but I still hear a bit of noise. I hear less noise on a set of sony powerer-subwoofer-and-tweeter speakers, but it's still noticable. I haven't been able to try another sound device, the only spare card that I have doesn't fit into the space provided (riser card). I'd appreciate anythoughts about dealing with the noise. Is this something electrical w/ the motherboard? Something about my Freebsd setup? Well, yes, it *is* electrical interference on the motherboard. You may be able to reduce its impact, though. Reducing the amplifier gain (ogain in the mixer(8) output) may help, for example. Also, does playing digital audio see this effect, or only playing CDs? If the latter, you can switch to digital extraction for playing CDs (most software doesn't support it, but some does) and avoid the interference. Thanks for the feedback. The noise seems to be there when nothing's happening, when I'm playing an mp3 from disk (that's what digital audio, right?), and when I'm directly playing a CD. Would a pci based sound card be immune from this? Any recommendations for one that's not as tall as a sound-blaster LIVE card (space constraints in the case...). Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hints for troubleshooting poor sound quality.
I've set up an ASUS small form factor machine based around an P4S8L motherboard. It's running 6.0BETA4 and Gnome2.12 from the tinderbox packages. I'm kldload'ing snd_ich and (after getting a helpful pointer to the gnome FAQ) all of the sounds stuff is working. Here's my problem: The machine has two mini-jacks, one in the front and one in the back. If I plug a set of headphones into the front jack I hear all kinds of clicks and whirs and buzzing. They seem to correlate with drive activity, cd activity, and maybe even the cpu fan. The connector on the back seems quieter, but I still hear a bit of noise. I hear less noise on a set of sony powerer-subwoofer-and-tweeter speakers, but it's still noticable. I haven't been able to try another sound device, the only spare card that I have doesn't fit into the space provided (riser card). I'd appreciate anythoughts about dealing with the noise. Is this something electrical w/ the motherboard? Something about my Freebsd setup? Thanks, g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't make X tunnelling via SSH work, probably loosing my mind....
Lowell Gilbert writes: George Hartzell [EMAIL PROTECTED] writes: I just noticed that I couldn't ssh -X from a machine into a fully configured jail on the same machine and have an X app display back on the desktop. [...] You're going to have problems with ssh authentication there, I would think. Have you tried the -Y option to ssh? Thanks, that worked! I'm not really sure why though I've been through the xauth section on trusted vs. untrusted, and skimmed the X11 SECURITY extension specification. Using ssh -X works on my 5.3BETA4 system from 10/2004. It's running an Xorg 6.7 server. Is this the result of an X change, and ssh change, or a butterfly flapping it's wings over Brazil? Thanks again for the help! g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't make X tunnelling via SSH work, probably loosing my mind....
I just noticed that I couldn't ssh -X from a machine into a fully configured jail on the same machine and have an X app display back on the desktop. I think that this used to work, but I can't swear to it. I've been playing around, and now have pretty much everything on the machine stripped down. No jails, no ipfw, no interface aliases. It's running 5.4-STABLE as of a few days ago, and everything is compiled from ports and should be up to date. The video cards a matrox 550 and I'm running with mga_drv.o and mga_hal_drv.o from the mgadriver-4.1 tarball from the matrox site. It's dual headed w/ a pair of NEC Multisync LCD1850X's on a dual-headed DVI cable. It turns out that I can't ssh -X from that machine into any other machine and have it work. I can, however, ssh -X from another machine (e.g. 5.3BETA4 laptop) into it and display onto the laptop. In particular, it can't even ssh -X into itself and display an X app. There's some information at http://grapeape.alerce.com/screwball including netstat and /etc/rc.conf and an ssh -v -v -X session. If I ssh -X into itself and run xeyes, it just sits there. If I do a tcpdump -i lo0 from another window, there's a flood of traffic back and forth between the .ssh port and a variety of ports including .x11-ssh, one at 6011 [I think that the DISPLAY as localhost:11 that time around], and a bunch of other randomish. I've tried it with X11UseLocalhost on and off. At this point my eyes are crossed and I can't even figure out what to try next. And, I'm not feeling particularl bright, I'm sure it's going to turn out to be something obvious Anyone have any thoughts? g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems building jails under RELENG_5_3 (5.3-RELEASE-p5)
I'm having trouble building a jail under 5.3 (RELENG_5_3). I'm following the process in the jail man page and it dies trying to compile on of the bootstrap tools. Google and the freebsd-questions archives show several other people reporting the problem, but I havn't seen anyone post a solution. I last cvsup'ed around 3/16. Can anyone suggest a way forward? Thanks, g. Here's my /etc/make.conf # # To avoid building various parts of the base system: # NO_FORTRAN= true# do not build g77 and related libraries NO_I4B= true# do not build isdn4bsd package #NO_SENDMAIL= true# do not build sendmail and related programs # build from ports (sendmail-sasl) instead. CVS_UPDATE= true # pick these up from ports instead! #NO_SENDMAIL=true #NO_MAILWRAPPER=true #SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf #SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL #SENDMAIL_LDFLAGS=-L/usr/local/lib #SENDMAIL_LDADD=-lsasl2 WITH_SSL_AND_PLAINTEXT=YES # for imap-uw WITH_DB3=YES #BATCH=yes NOCLEANDEPENDS=yes PACKAGES=/usr/ports/packages # use the version from the cups port instead. NO_LPR=true# do not build lpr and related programs # added by use.perl 2005-03-16 12:40:43 PERL_VER=5.8.6 PERL_VERSION=5.8.6 and here's what I get when I do a 'make world DESTDIR=/usr/jails/cgl' ([EMAIL PROTECTED])[9:59am]srcmake world DESTDIR=/usr/jails/cgl -- make world started on Tue Mar 22 09:59:27 PST 2005 -- -- Rebuilding the temporary build tree -- rm -rf /usr/obj/usr/src/i386 mkdir -p /usr/obj/usr/src/i386/legacy/usr/bin mkdir -p /usr/obj/usr/src/i386/legacy/usr/games mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/c++/3.3 mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/sys mkdir -p /usr/obj/usr/src/i386/legacy/usr/lib mkdir -p /usr/obj/usr/src/i386/legacy/usr/libexec mkdir -p /usr/obj/usr/src/i386/legacy/usr/sbin mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/dict mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100-12 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75-12 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devascii mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devcp1047 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devdvi mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devhtml mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devkoi8-r mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlatin1 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlbp mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlj4 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devps mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devutf8 mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mdoc mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mm mkdir -p /usr/obj/usr/src/i386/lib mkdir -p /usr/obj/usr/src/i386/usr/bin mkdir -p /usr/obj/usr/src/i386/usr/include mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts mkdir -p /usr/obj/usr/src/i386/usr/libexec mkdir -p /usr/obj/usr/src/i386/usr/sbin mkdir -p /usr/obj/usr/src/i386/usr/share/misc mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/defs mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/mibs mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/i386/usr/include /dev/null ln -sf /usr/src/sys /usr/obj/usr/src/i386 -- stage 1.1: legacy release compatibility shims -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 DESTDIR= INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/i386 MAKEFLAGS=-m /usr/src/tools/build/mk DESTDIR=/usr/jails/cgl -m /usr/src/share/mk /usr/obj/usr/src/make.i386/make -f Makefile.inc1 BOOTSTRAPPING=503001 -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy === tools/build /usr/obj/usr/src/i386/usr/src/tools/build created for /usr/src/tools/build cd
Re: Problems building jails under RELENG_5_3 (5.3-RELEASE-p5)
George Hartzell writes: [...] Google and the freebsd-questions archives show several other people reporting the problem, but I havn't seen anyone post a solution. Pardon my following up to my own post, but in the interest of having a solution in the archives, here's a shar file of two diffs that'll make it work as documented in the jail man page. The problem seems to be some changes to /usr/src/Makefile and /usr/src/Makefile.inc1 that were quickly fixed on the RELENG_5 branch but never included back into the RELENG_5_3 branch. I grabbed those two files from the FreeBSD CVS repository via the web interface, just after the fix for this problem. I moved them into /usr/src and they seem to work fine. The functional Makefile is version 1.306.2.1 and Makefile.inc1 is version 1.438.2.5. I'm including a shar file containing the diffs between my 5.3-RELEASE-p5 system and those files, hopefully it'll be useful to other folks. g. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering sh file. Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile.diff # Makefile.inc1.diff # echo x - Makefile.diff sed 's/^X//' Makefile.diff 'END-of-Makefile.diff' X2c2 X # $FreeBSD: src/Makefile,v 1.306 2004/08/09 11:38:41 harti Exp $ X--- X # $FreeBSD: /repoman/r/ncvs/src/Makefile,v 1.306.2.1 2004/11/08 19:38:31 ru Exp $ X87a88,94 X _MAKEOBJDIRPREFIX!= /usr/bin/env -i \ X PATH=${PATH} MAKEFLAGS=${.MAKEFLAGS} ${MAKE} \ X -f /dev/null -V MAKEOBJDIRPREFIX dummy X .if !empty(_MAKEOBJDIRPREFIX) X .error MAKEOBJDIRPREFIX can only be set in environment, not as a global\ X (in /etc/make.conf) or command-line variable. X .endif X147,148d153 X .if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR) X .if make(world) X150c155,156 X .endif X--- X X .if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR) X245c251 X # with reasonable chance of success, regardless of how old your X--- X # with a reasonable chance of success, regardless of how old your X248,249c254,255 X i386_mach= pc98 X universe: X--- X universe: universe_prologue X universe_prologue: X253,254c259,264 X .for arch in i386 sparc64 alpha ia64 amd64 X .for mach in ${arch} ${${arch}_mach} X--- X .for target in i386 i386:pc98 sparc64 alpha ia64 amd64 X .for arch in ${target:C/:.*$//} X .for mach in ${target:C/^.*://} X universe: universe_${mach} X .ORDER: universe_prologue universe_${mach} universe_epilogue X universe_${mach}: X265c275 X cd ${.CURDIR} ${MAKE} ${JFLAG} buildkernels TARGET_ARCH=${arch} TARGET=${mach} X--- X cd ${.CURDIR} ${MAKE} buildkernels TARGET_ARCH=${arch} TARGET=${mach} X268a279,281 X .endfor X universe: universe_epilogue X universe_epilogue: X277,278d289 X .endif X X285a297 X .endif END-of-Makefile.diff echo x - Makefile.inc1.diff sed 's/^X//' Makefile.inc1.diff 'END-of-Makefile.inc1.diff' X2c2 X # $FreeBSD: src/Makefile.inc1,v 1.438.2.4.2.1 2004/10/24 09:24:25 scottl Exp $ X--- X # $FreeBSD: /repoman/r/ncvs/src/Makefile.inc1,v 1.438.2.5 2004/11/08 19:38:31 ru Exp $ X93,99d92 X _MAKEOBJDIRPREFIX!= env -i PATH=${PATH} MAKEFLAGS=${.MAKEFLAGS} ${MAKE} \ X -f /dev/null -V MAKEOBJDIRPREFIX dummy X .if !empty(_MAKEOBJDIRPREFIX) X .error MAKEOBJDIRPREFIX can only be set in environment, not as a global\ X (in /etc/make.conf) or command-line variable. X .endif X X183,184c176 X BMAKEENV=DESTDIR= \ X INSTALL=sh ${.CURDIR}/tools/install.sh \ X--- X BMAKEENV=INSTALL=sh ${.CURDIR}/tools/install.sh \ X189a182 X DESTDIR= \ X196a190 X DESTDIR= \ X204d197 X DESTDIR=${WORLDTMP} \ X208c201 X WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 X--- X WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=${WORLDTMP} X669c662 X cd ${.CURDIR}; ${CVS} -R -q update -rRELENG_5_3 -P -d X--- X cd ${.CURDIR}; ${CVS} -R -q update -rRELENG_5 -P -d END-of-Makefile.inc1.diff exit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dvd ram on 5.3Beta4 (write protected?)
I have access to a stack of blank dvd-ram disks, so I'm trying to learn how to use them in my IBM t42p with a dvd-multi burner. This is (I think) the burner that I have: http://www-306.ibm.com/common/ssi/OIX.wss?DocURL=http://d03xhttpcl001g.boulder.ibm.com/common/ssi/rep_ca/0/897/ENUS904-200/../../../4/897/ENUS104-214/../../../6/897/ENUS103-066/index.htmlInfoType=AN I've built a kernel w/ atapicam support, and can burn cd's and dvd-r's (via growisofs). When I put a disk in the drive, it says: ([EMAIL PROTECTED])[10:19am]~dvd+rw-mediainfo /dev/cd0 INQUIRY:[MATSHITA][DVD-RAM UJ-812 ][K103] GET [CURRENT] CONFIGURATION: Mounted Media: 12h, DVD-RAM Current Write Speed: 1.0x1385=1385KB/s Write Speed #0:1.0x1385=1385KB/s Speed Descriptor#0:01/1218959 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s READ DVD STRUCTURE[#0h]: Media Book Type: 11h, DVD-RAM book [revision 1] Legacy lead-out at:1287296*2KB=2636382208 DVD-RAM SPARE AREA INFORMATION: Primary SA:65072/12800=508.4% free READ DISC INFORMATION: Disc status: other Number of Sessions:1 State of Last Session: complete Next Track: 1 Number of Tracks: 1 READ FORMAT CAPACITIES: :-( allocation length isn't sane 8 FABRICATED TOC: Track#1 : [EMAIL PROTECTED] Track#AA : [EMAIL PROTECTED] Multi-session Info:[EMAIL PROTECTED] READ CAPACITY: 1218960*2048=2496430080 But if I try to put a label on the disk, it says: (satchel)[10:20am]~sudo disklabel -A cd0 disklabel: /dev/cd0: no valid label found (satchel)[10:20am]~sudo disklabel -w cd0 disklabel: write /dev/cd0: Permission denied (satchel)[10:20am]~ And I see the following in /var/log/messages: Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 0 0 0 4 0 Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): DATA PROTECT asc:27,0 Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): Write protected Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): Unretryable error Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): cddone: got error 0xd back Is there something that I need to do to make the disk usable? I've tried various incantations of dvd+rw-format, but I don't know what I'm doing and none of them seemed to work. g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help w/ make release on 4.9-RELEASE
I'd like to make a custom live CD-2 of a -STABLE release (I want to include the asr-tools on it, so that I can tweak my raid which is normally running 5.2.1) I've been doing this from /usr/src/release sudo make release CHROOTDIR=/opus/release CVSROOT=/home/ncvs BUILDNAME=GH NODOC= It runs for a while and finally dies. The last few things it says are: touch release.1 cd /usr/src/release/../etc make distrib-dirs DESTDIR=/R/stage/trees/base mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p /R/stage/trees/base/ mtree: /R/stage/trees/base/: No such file or directory *** Error code 1 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src/release. *** Error code 1 Stop in /usr/src/release. I've added the following symlink (thinking it was a missing factoid): (ghost)[1:32pm]releasels -l /R lrwxr-xr-x 1 root wheel 15 Aug 4 07:31 /R - /opus/release/R but still get the same result. Is this supposed to work? Am I missing something obvious? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
building bootable 4.10 cd to support asr-utils configuration tools?
Hi, This is one of those Stop me before I waste my time. questions I have a box w/ a dpt raid controller (DPT PM3755U2B) that I set up with raidutils from the asr-utils port back when the machine was running -STABLE. I've since migrated the machine to -CURRENT, and followed the various threads about the asr-utils not working with sadness but understanding. I'd like to be able to use occasionally the raidutils tool, and am considering buidling some sort of bootable -STABLE system. One thought would be to just use an IDE disk, but even better would be to build a bootable cd that includes the asr-utils port. Does the thought of building a bootable -STABLE cd that includes the asr-tools raise a red flag for anyone? What's the state of the art for making bootable cd's. Google shows a bunch of pages for older 4-series releases, e.g.: http://www.sfc.wide.ad.jp/~watari/FreeBSD/boot.html and I've found cdroot in the ports tree. Is one of these worth diving into? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
recording from a dlink dsb-r100 usb radio.
I'm trying to become sound savy. I have a D-Link DSB-R100 usb radio, and Sony Vaio PCG-Z505-JE laptop running: FreeBSD rosebud.alerce.com 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #20: Tue Apr 20 10:02:23 PDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ROSEBUD i386 I kldload the ufm.ko module, plug it in, and I can control it with Warner's (I think) little ufmctl program. It tunes, mutes, etc... just fine. In particular, it sounds perfectly reasonable for an fm radio. I'm trying to record stuff, and the results that I'm getting sound like crap. I've been using sox, in two configurations I cribbed from the web: sox -v 1.0 -t ossdsp /dev/dsp -w -r 44100 -t cdr - sox -t ossdsp /dev/audio -t .wav -r 44100 -c 2 - Both of them end up sounds lousy when I play them back in xmms, much worse than listening to it directly. Can anyone comment on how I might get better recordings? I'll happily supply more information on request (I'm not sure what else to supply though...). g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Should /nonexistent home dir actually exist?
I just noticed a) that several accounts (from ports stuff, it seems) on a -stable system use /nonexistent as their home directory (ghost)[9:50am]loggrep nonexist /etc/passwd pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin and b) that it seems to exist (ghost)[9:50am]logls -la /nonexistent/ total 20 drwxr-xr-x 2 ftp ftp 512 Jun 1 2003 . drwxr-xr-x 20 rootwheel 512 Jan 15 12:07 .. -rw-r--r-- 1 dnslog dnslog 771 Jun 1 2003 .cshrc -rw-r--r-- 1 dnslog dnslog 255 Jun 1 2003 .login -rw-r--r-- 1 dnslog dnslog 165 Jun 1 2003 .login_conf -rw--- 1 dnslog dnslog 371 Jun 1 2003 .mail_aliases -rw-r--r-- 1 dnslog dnslog 331 Jun 1 2003 .mailrc -rw-r--r-- 1 dnslog dnslog 801 Jun 1 2003 .profile -rw--- 1 dnslog dnslog 276 Jun 1 2003 .rhosts -rw-r--r-- 1 dnslog dnslog 852 Jun 1 2003 .shrc The name suggests that it shouldn't actually exist, presumably as a security measure. Should I leave it as is, blow away the /nonexistent homedir, is it a ports problem, or ??? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More info [was Re: Sony PCG-GRX570 laptop, panic on boot w/ 5.1R...]
Remington writes: George Hartzell wrote: George Hartzell writes: I've been trying to install something 5-ish on a Sony PCG-GRX570 laptop. I started off trying to boot off of the 5.1 release CD, normally, w/out acpi, and safe. Every option panic-ed, with essentially the same message (see below), although it followed a different driver depending on how it was booted. [...] [...] I have a GRX570, the problem can be fixed by adding the following to your device.hints hw.pci.allow_unsupported_io_range=1 Yay! That got it. Thanks! g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions about bootable raid 1 using atacontrol.
Hi, I have a server running 4.8 on a single disk. I'd like to set it up to mirror and be bootable. Killer performance isn't critical, but maximal flexibility to frankenstein it together from spare parts is. So, I'm shying away from hardware raids, and even the pseudo-hardware raids. I'd like to just stuff two ata drives in there and use atacontrol to set them up. I gather that I can't just cram a second disk into the existing system, rather I'll have to do dumps to somewhere, set up a raid, disklabel/newfs, then restore the dumps onto the raid. Is that an accurate summary. Once it's running, how do I recover if/when a disk pukes. It sounds like atacontrol's rebuild command only works w/ real controllers. Do I need to boot from a cd and then dd onto the new disk, or??? Do I need to add the new disk into the raid somehow? Thanks! g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about bootable raid 1 using atacontrol.
Joshua Oreman writes: On Wed, Jun 25, 2003 at 08:04:38PM -0700 or thereabouts, George Hartzell wrote: [...] Once it's running, how do I recover if/when a disk pukes. It sounds like atacontrol's rebuild command only works w/ real controllers. Do I need to boot from a cd and then dd onto the new disk, or??? Do I need to add the new disk into the raid somehow? I think Vinum or RAIDframe would be better if you want software RAID. Both support booting from the RAID. I don't think RAIDframe is supported in Stable, is it? Is there a particular advantage to Vinum over the atacontrol stuff? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using kevent to catch laptop disk I/O culprit?
I'm working on keeping my laptop disk spun down and am using the process of elimination to figure out who's always spinning up the disk. So far, I've put /tmp on an mfs, and I just installed Robert Sexton's hw.ata.suspend patch from the freebsd-mobile archives. I'm slowly killing off and/or fine tuning various daemons to see if they're responsible for all of the IO, and it occured to me that the kevent/kqueue stuff might be a great way to actually see who's writing what, when. Has anyone written the necessary parts to get this kind of a simple filesystem trace? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTLDR missing after 5-RELEASE install
Andrew Boothman writes: [...] It's possible I guess that we both suffered from the same problem. I'd be inclined to think that it must be operator error over something wrong with sysinstall since I've not seen people complaining of these problems before, yet there must be loads of people dual-booting. Having said that, I still can't understand what I did differently or how to prevent the same thing from happening in the future. I guess I'll just use GRUB or something instead. Looks like my Windows drive is heading for a reformat :-/ I'm pretty sure that it's not operator error on my part, since it happened several times. I suspect that there aren't that many people playing with 5.0 that don't install the standard boot stuff, and so that path isn't exercised too much. It happened repeatedly for me, and one of the things that's on my list of things to do is to recreate it and file a PR, but it hasn't risen to the top of the queue yet. It's a bit problematic because I don't really want to loose the contents of that drive (it takes *forever* to get windows and office updated after the intial installs: reboot, reboot, reboot...) and it's not hard to imagine that whatever's bitten me the past few times might get me irrecoverably the next time... GRUB is cool. Backup's of your partition/slice/disklabel info are extra cool. g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NTLDR missing after 5-RELEASE install
Andrew Boothman writes: [...] I didn't really change much about my system when I installed FreeBSD. Windows is installed on the whole of the first HDD, and FreeBSD on the whole of the second. Prior to installing 5.0, the second disc had an old installation of 4.6 that I wasn't using. When installing, I asked sysinstall to install booteasy on the first drive, but otherwise leave it unchanged. I removed the existing slice on the second drive and got sysinstall to create a new slice filling the drive, I then allowed sysinstall to auto-size the partitions and complete the installation. I've tried every repair option that I can find on the Win2k CD. I've tried the fixboot and fixmbr commands in the recovery console many times, and despite fixmbr complaining about an unusual mbr every time, installing a new one apparently makes no difference. I eventually managed to remove booteasy from the first drive so that NTLDR is missing appears straight away, but that is hardly a victory. I even followed Microsoft's instructions in knowledgebase article 318728 and performed a brand new installation of windows into c:\tempwin but even this new installation failed to boot with the same problem. Therefore it would seem that whatever the problem is, Win2k's setup prog either can't fix it or is oblivious to it. It's looking more and more like I'm going to have to reformat this drive as I seem to have no way of getting Win2k operating again, but I'd _really_ like to understand what happened here, not least to ensure I don't repeat the same problems when I come to try and dual- boot again! Apologies for this getting increasingly off-topic, but I can't understand what I've done wrong here as I've done this many times before with 4.x. As ever, any light-shedding would be much appricated :) I had several problems installing 5.0 release onto my sandbox machine, and the solution might be relevant. My sandbox machine had a single disk, uses a stock (what came on the drive) master boot record, and had several primary partitions (aka slices). The first partition/slice contained a windows2000 install, the second partition had a linux installation w/ the GRUB boot loader installed in the beginning of the partition. The linux parition is marked active (using Partition Magic from windows), so the normal boot sequence goes: MBR -- GRUB ---+-- Linux | +-- Windows depending on the choice made in grub. I boot this way because the sandbox machine is a test environment for my laptop, and suspend to disk stuff doesn't seem to work on the laptop unless the vendor's MBR is in place. My intent was to add Freebsd to the third partition. I ran through the install and told the installer to just leave the MBR alone. Among the things that I discovered were: - both the linux partition *AND* the newly installed FreeBSD partition ended up marked active. - There was a problem with data somewhere in the BIOS/DOS partition table concerning CHS values and LBA values for various parts of the partition. (might have the acronym's wrong). Both of these rendered the machine unable to boot, I recovered it once by booting from a floppy, getting into windows, and running partition magic, and on a separate test run by booting from a live linux cd and playing with various fdisk-oid programs available there. So, all that said, maybe your partition table is slightly scrod, not so badly that it won't get through the MBR but badly enough that it can't find the NT partition? It'd be interesting to see what parition magic had to say about it. g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Almost there [was Re: FreeBSD 4.7-REL-p3 and an ... Linksys BEFVP41]
George Hartzell writes: I'd like to set up an IPsec connection between my laptop running FreeBSD 4.7-REL-p3 and a Linksys BEFVP41 router w/ built in IPsec capability. [...] I almost have things working! I've fallen back to a very simple solution, it took me a while to separate the fancy footwork in the various examples (the gif tunnels and the fancy-dancing to support/enable NAT, etc...), but I finally realized that what I needed was just pretty simple. /usr/sbin/setkey -FP /usr/sbin/setkey -F /usr/sbin/setkey -c EOF spdadd LAPTOP_IP/32 192.168.1.0/24 any -P out ipsec esp/tunnel/LAPTOP_IP-LINKSYS_IP/require; spdadd 192.168.1.0/24 LAPTOP_IP/32 any -P out ipsec esp/tunnel/LINKSYS_IP-LAPTOP_IP/require; EOF and a racoon.conf that's almost exactly the example from the racoon.conf man page. Now I get the key exchange established, with racoon saying IPsec-SA established: ESP/Tunnel 64.1.164.95-64.1.164.92 spi=387448327(0x1717fe07) and the Linksys logging (in blue!) that the tunnel's been established. Still, it doesn't quite work. If I sit on my laptop and ping a machine on the private network, I never see any replies. But, a tcpdump on the private network machine shows the icmp requests and replies in the clear, and tcpdump on the laptop shows the replies coming back through the ipsec gateway (foo is the laptop, blah is the Linksys). 09:09:09.739914 foo.bar.com blah.bar.com: ESP(spi=0x1a1ef0f9,seq=0x111) 09:09:09.742049 blah.bar.com foo.bar.com: ESP(spi=0x0c053b00,seq=0x11f) So, it seems that the replies are making it back to the laptop (or close enough that the laptop can tcpdump them. Anyone have any suggestions on where they might be getting stuck and/or dropped on the floor? Suggestions on tools to dig around and understand what's up? g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Almost there [was Re: FreeBSD 4.7-REL-p3 and an ... Linksys BEFVP41]
Stacy Millions writes: George Hartzell wrote: [...] I almost have things working! I've fallen back to a very simple solution, [...] /usr/sbin/setkey -FP /usr/sbin/setkey -F /usr/sbin/setkey -c EOF spdadd LAPTOP_IP/32 192.168.1.0/24 any -P out ipsec esp/tunnel/LAPTOP_IP-LINKSYS_IP/require; spdadd 192.168.1.0/24 LAPTOP_IP/32 any -P out ipsec esp/tunnel/LINKSYS_IP-LAPTOP_IP/require; EOF That should be spdadd 192.168.1.0/24 LAPTOP_IP/32 any -P in ipsec ... [...] You need an inbound tunnel and an outbound tunnel. Fixing the policy statement above, should do it. Stacy wins the prize. I fixed the typo on the second line, changing the out to an in and things are working swimingly! Thanks! g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 4.7-REL-p3 and an IPsec connection to Linksys BEFVP41
David Cramblett writes: Just a quick note, what Linksys box do you have? Are you sure it supports IPsec? I have seen many that support IPsec pass through, but I have not seen any that support IPsec. Yes, it actually supports IPsec itself, with encryption hardware and everything. It's a BEFVP41. g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD 4.7-REL-p3 and an IPsec connection to Linksys BEFVP41
I'd like to set up an IPsec connection between my laptop running FreeBSD 4.7-REL-p3 and a Linksys BEFVP41 router w/ built in IPsec capability. I've found a number of sites w/ information on setting up ipsec between a pair of FreeBSD machines, including: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html http://www.freebsddiary.org/ipsec-tunnel.php http://www.daemonnews.org/200101/ipsec-howto.html http://www.bsdtoday.com/2002/April/Features671.html But none that talk about getting FreeBSD's IPsec talking to anything non-FreeBSD. All of the methods are based on setting up a gif tunnel and passing the packets over that. I've tried a number of variations on the recommended recipes, and at best I can watch the isakmp packet going from the laptop towards the router and get see an icmp packet back from the router that suggests the the gif tunnel isn't what it wants to see (sadly, I didn't save the exact message, but can recreate it if it's important enough). So, the quick question is, has anyone set up a FreeBSD laptop as a road warrior to an IPsec router? I'd appreciate any pointers. If not, I'll post more information about what I've tried and see if y'all can help me crawl towards a solution. THanks! g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
help with Lexar JumpDrive keychain USB device?
Hi all, I have a Lexar 128Mb JumpDrive USB keychain thingy. It works beatifully on a RedHat Linux system and a Windows 2000 system. When I plug it into a FreeBSD 4.7 release system I get the following: [...] Jan 5 14:01:33 redtail login: ROOT LOGIN (root) ON ttyv0 Jan 5 14:01:54 redtail /kernel: umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2 Jan 5 14:01:54 redtail /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jan 5 14:01:54 redtail /kernel: da0: LEXAR DIGITAL FILM /W1. Removable Direct Access SCSI-2 device Jan 5 14:01:54 redtail /kernel: da0: 650KB/s transfers Jan 5 14:01:54 redtail /kernel: da0: 123MB (251904 512 byte sectors: 64H 32S/T 123C) Jan 5 14:03:26 redtail /kernel: da0: reading primary partition table: error reading fsbn 0 [...] I've tried mounting /dev/da0{,a,b,c,d,e,s1,s2,...} and can't find anything that doesn't generate the error reading fsbn 0 message. The hardware is a Dell OptiPlex GX110, and the USB hardware says this via dmesg: [...] Jan 5 12:50:31 redtail /kernel: uhci0: Intel 82801AA (ICH) USB controller port 0xff80-0xff9f irq 11 at device 31.2 on pci0 Jan 5 12:50:31 redtail /kernel: usb0: Intel 82801AA (ICH) USB controller on uhci0 Jan 5 12:50:31 redtail /kernel: usb0: USB revision 1.0 Jan 5 12:50:31 redtail /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jan 5 12:50:31 redtail /kernel: uhub0: 2 ports with 2 removable, self powered [...] The key arrived with a VFAT16 filesystem, and it now has a VFAT32 filesystem (built via windows 2000). Can anyone suggest something a next step? g. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message